2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for GNU Fortran Runtime Library 0.3.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev
/null
; then :
213 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
225 for as_base
in sh bash ksh sh5
; do
226 # Try only shells that exist, to save several forks.
227 as_shell
=$as_dir/$as_base
228 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 CONFIG_SHELL
=$as_shell as_have_required
=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
239 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
241 CONFIG_SHELL
=$SHELL as_have_required
=yes
246 if test "x$CONFIG_SHELL" != x
; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
256 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x
$as_have_required = xno
; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x
${ZSH_VERSION+set} = xset
; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL
=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE
= GREP_OPTIONS
=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir
=.
/$as_dir;;
329 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
333 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs
="'$as_qdir' $as_dirs"
337 as_dir
=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
363 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p
()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
406 as_val
=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status
=$1; test $as_status -eq 0 && as_status
=1
420 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit
$as_status
427 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
434 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
446 as_me
=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits
='0123456789'
470 as_cr_alnum
=$as_cr_Letters$as_cr_digits
473 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
474 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x
"$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec
=no
; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C
= ECHO_N
= ECHO_T
=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
521 rm -f conf$$ conf$$.exe conf$$.
file
522 if test -d conf$$.dir
; then
523 rm -f conf$$.dir
/conf$$.
file
526 mkdir conf$$.dir
2>/dev
/null
528 if (echo >conf$$.
file) 2>/dev
/null
; then
529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
545 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
546 rmdir conf$$.dir
2>/dev
/null
548 if mkdir
-p .
2>/dev
/null
; then
549 as_mkdir_p
='mkdir -p "$as_dir"'
551 test -d .
/-p && rmdir .
/-p
556 as_executable_p
=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL
=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix
=/usr
/local
580 ac_config_libobj_dir
=.
587 # Identity of this package.
588 PACKAGE_NAME
='GNU Fortran Runtime Library'
589 PACKAGE_TARNAME
='libgfortran'
590 PACKAGE_VERSION
='0.3'
591 PACKAGE_STRING
='GNU Fortran Runtime Library 0.3'
593 PACKAGE_URL
='http://www.gnu.org/software/libgfortran/'
595 # Factoring default headers for most tests.
596 ac_includes_default
="\
598 #ifdef HAVE_SYS_TYPES_H
599 # include <sys/types.h>
601 #ifdef HAVE_SYS_STAT_H
602 # include <sys/stat.h>
608 # ifdef HAVE_STDLIB_H
613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 #ifdef HAVE_STRINGS_H
619 # include <strings.h>
621 #ifdef HAVE_INTTYPES_H
622 # include <inttypes.h>
635 ac_subst_vars
='am__EXEEXT_FALSE
648 LIBGFOR_BUILD_QUAD_FALSE
649 LIBGFOR_BUILD_QUAD_TRUE
654 extra_ldflags_libgfortran
683 LIBGOMP_CHECKED_REAL_KINDS
684 LIBGOMP_CHECKED_INT_KINDS
685 LIBGFOR_MINIMAL_FALSE
687 LIBGFOR_USE_SYMVER_SUN_FALSE
688 LIBGFOR_USE_SYMVER_SUN_TRUE
689 LIBGFOR_USE_SYMVER_GNU_FALSE
690 LIBGFOR_USE_SYMVER_GNU_TRUE
691 LIBGFOR_USE_SYMVER_FALSE
692 LIBGFOR_USE_SYMVER_TRUE
719 MAINTAINER_MODE_FALSE
733 INSTALL_STRIP_PROGRAM
795 program_transform_name
808 enable_option_checking
810 enable_version_specific_runtime_libs
813 enable_maintainer_mode
815 enable_dependency_tracking
826 enable_libquadmath_support
827 with_gcc_major_version_only
829 ac_precious_vars
='build_alias
842 # Initialize some variables set by options.
844 ac_init_version
=false
845 ac_unrecognized_opts
=
847 # The variables have the same names as the options, with
848 # dashes changed to underlines.
856 program_transform_name
=s
,x
,x
,
864 # Installation directory options.
865 # These are left unexpanded so users can "make install exec_prefix=/foo"
866 # and all the variables that are supposed to be based on exec_prefix
867 # by default will actually change.
868 # Use braces instead of parens because sh, perl, etc. also accept them.
869 # (The list follows the same order as the GNU Coding Standards.)
870 bindir
='${exec_prefix}/bin'
871 sbindir
='${exec_prefix}/sbin'
872 libexecdir
='${exec_prefix}/libexec'
873 datarootdir
='${prefix}/share'
874 datadir
='${datarootdir}'
875 sysconfdir
='${prefix}/etc'
876 sharedstatedir
='${prefix}/com'
877 localstatedir
='${prefix}/var'
878 includedir
='${prefix}/include'
879 oldincludedir
='/usr/include'
880 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
881 infodir
='${datarootdir}/info'
886 libdir
='${exec_prefix}/lib'
887 localedir
='${datarootdir}/locale'
888 mandir
='${datarootdir}/man'
894 # If the previous option needs an argument, assign it.
895 if test -n "$ac_prev"; then
896 eval $ac_prev=\
$ac_option
902 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
907 # Accept the important Cygnus configure options, so we can diagnose typos.
909 case $ac_dashdash$ac_option in
913 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
915 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
918 -build |
--build |
--buil |
--bui |
--bu)
919 ac_prev
=build_alias
;;
920 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
921 build_alias
=$ac_optarg ;;
923 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
924 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
925 ac_prev
=cache_file
;;
926 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
927 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
928 cache_file
=$ac_optarg ;;
931 cache_file
=config.cache
;;
933 -datadir |
--datadir |
--datadi |
--datad)
935 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
936 datadir
=$ac_optarg ;;
938 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
939 |
--dataroo |
--dataro |
--datar)
940 ac_prev
=datarootdir
;;
941 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
942 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
943 datarootdir
=$ac_optarg ;;
945 -disable-* |
--disable-*)
946 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
947 # Reject names that are not valid shell variable names.
948 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
949 as_fn_error $?
"invalid feature name: $ac_useropt"
950 ac_useropt_orig
=$ac_useropt
951 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
952 case $ac_user_opts in
956 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
957 ac_unrecognized_sep
=', ';;
959 eval enable_
$ac_useropt=no
;;
961 -docdir |
--docdir |
--docdi |
--doc |
--do)
963 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
966 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
968 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
971 -enable-* |
--enable-*)
972 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
973 # Reject names that are not valid shell variable names.
974 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
975 as_fn_error $?
"invalid feature name: $ac_useropt"
976 ac_useropt_orig
=$ac_useropt
977 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
978 case $ac_user_opts in
982 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
983 ac_unrecognized_sep
=', ';;
985 eval enable_
$ac_useropt=\
$ac_optarg ;;
987 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
988 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
989 |
--exec |
--exe |
--ex)
990 ac_prev
=exec_prefix
;;
991 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
992 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
993 |
--exec=* |
--exe=* |
--ex=*)
994 exec_prefix
=$ac_optarg ;;
996 -gas |
--gas |
--ga |
--g)
997 # Obsolete; use --with-gas.
1000 -help |
--help |
--hel |
--he |
-h)
1001 ac_init_help
=long
;;
1002 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1003 ac_init_help
=recursive
;;
1004 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1005 ac_init_help
=short
;;
1007 -host |
--host |
--hos |
--ho)
1008 ac_prev
=host_alias
;;
1009 -host=* |
--host=* |
--hos=* |
--ho=*)
1010 host_alias
=$ac_optarg ;;
1012 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1014 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1016 htmldir
=$ac_optarg ;;
1018 -includedir |
--includedir |
--includedi |
--included |
--include \
1019 |
--includ |
--inclu |
--incl |
--inc)
1020 ac_prev
=includedir
;;
1021 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1022 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1023 includedir
=$ac_optarg ;;
1025 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1027 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1028 infodir
=$ac_optarg ;;
1030 -libdir |
--libdir |
--libdi |
--libd)
1032 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1033 libdir
=$ac_optarg ;;
1035 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1036 |
--libexe |
--libex |
--libe)
1037 ac_prev
=libexecdir
;;
1038 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1039 |
--libexe=* |
--libex=* |
--libe=*)
1040 libexecdir
=$ac_optarg ;;
1042 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1043 ac_prev
=localedir
;;
1044 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1045 localedir
=$ac_optarg ;;
1047 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1048 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1049 ac_prev
=localstatedir
;;
1050 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1051 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1052 localstatedir
=$ac_optarg ;;
1054 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1056 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1057 mandir
=$ac_optarg ;;
1059 -nfp |
--nfp |
--nf)
1060 # Obsolete; use --without-fp.
1063 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1064 |
--no-cr |
--no-c |
-n)
1067 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1068 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1071 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1072 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1073 |
--oldin |
--oldi |
--old |
--ol |
--o)
1074 ac_prev
=oldincludedir
;;
1075 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1076 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1077 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1078 oldincludedir
=$ac_optarg ;;
1080 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1082 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1083 prefix
=$ac_optarg ;;
1085 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1086 |
--program-pre |
--program-pr |
--program-p)
1087 ac_prev
=program_prefix
;;
1088 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1089 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1090 program_prefix
=$ac_optarg ;;
1092 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1093 |
--program-suf |
--program-su |
--program-s)
1094 ac_prev
=program_suffix
;;
1095 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1096 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1097 program_suffix
=$ac_optarg ;;
1099 -program-transform-name |
--program-transform-name \
1100 |
--program-transform-nam |
--program-transform-na \
1101 |
--program-transform-n |
--program-transform- \
1102 |
--program-transform |
--program-transfor \
1103 |
--program-transfo |
--program-transf \
1104 |
--program-trans |
--program-tran \
1105 |
--progr-tra |
--program-tr |
--program-t)
1106 ac_prev
=program_transform_name
;;
1107 -program-transform-name=* |
--program-transform-name=* \
1108 |
--program-transform-nam=* |
--program-transform-na=* \
1109 |
--program-transform-n=* |
--program-transform-=* \
1110 |
--program-transform=* |
--program-transfor=* \
1111 |
--program-transfo=* |
--program-transf=* \
1112 |
--program-trans=* |
--program-tran=* \
1113 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1114 program_transform_name
=$ac_optarg ;;
1116 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1118 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1119 pdfdir
=$ac_optarg ;;
1121 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1123 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1126 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1127 |
-silent |
--silent |
--silen |
--sile |
--sil)
1130 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1132 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1134 sbindir
=$ac_optarg ;;
1136 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1137 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1138 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1140 ac_prev
=sharedstatedir
;;
1141 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1142 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1143 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1145 sharedstatedir
=$ac_optarg ;;
1147 -site |
--site |
--sit)
1149 -site=* |
--site=* |
--sit=*)
1152 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1154 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1155 srcdir
=$ac_optarg ;;
1157 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1158 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1159 ac_prev
=sysconfdir
;;
1160 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1161 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1162 sysconfdir
=$ac_optarg ;;
1164 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1165 ac_prev
=target_alias
;;
1166 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1167 target_alias
=$ac_optarg ;;
1169 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1172 -version |
--version |
--versio |
--versi |
--vers |
-V)
1173 ac_init_version
=: ;;
1176 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1177 # Reject names that are not valid shell variable names.
1178 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1179 as_fn_error $?
"invalid package name: $ac_useropt"
1180 ac_useropt_orig
=$ac_useropt
1181 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1182 case $ac_user_opts in
1186 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1187 ac_unrecognized_sep
=', ';;
1189 eval with_
$ac_useropt=\
$ac_optarg ;;
1191 -without-* |
--without-*)
1192 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1193 # Reject names that are not valid shell variable names.
1194 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1195 as_fn_error $?
"invalid package name: $ac_useropt"
1196 ac_useropt_orig
=$ac_useropt
1197 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1198 case $ac_user_opts in
1202 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1203 ac_unrecognized_sep
=', ';;
1205 eval with_
$ac_useropt=no
;;
1208 # Obsolete; use --with-x.
1211 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1212 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1213 ac_prev
=x_includes
;;
1214 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1215 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1216 x_includes
=$ac_optarg ;;
1218 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1219 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1220 ac_prev
=x_libraries
;;
1221 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1222 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1223 x_libraries
=$ac_optarg ;;
1225 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1226 Try \`$0 --help' for more information"
1230 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1231 # Reject names that are not valid shell variable names.
1232 case $ac_envvar in #(
1233 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1234 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1236 eval $ac_envvar=\
$ac_optarg
1237 export $ac_envvar ;;
1240 # FIXME: should be removed in autoconf 3.0.
1241 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1242 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1243 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1244 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1250 if test -n "$ac_prev"; then
1251 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1252 as_fn_error $?
"missing argument to $ac_option"
1255 if test -n "$ac_unrecognized_opts"; then
1256 case $enable_option_checking in
1258 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1259 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1263 # Check all directory arguments for consistency.
1264 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1265 datadir sysconfdir sharedstatedir localstatedir includedir \
1266 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1267 libdir localedir mandir
1269 eval ac_val
=\$
$ac_var
1270 # Remove trailing slashes.
1273 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1274 eval $ac_var=\
$ac_val;;
1276 # Be sure to have absolute directory names.
1278 [\\/$
]* | ?
:[\\/]* ) continue;;
1279 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1281 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1284 # There might be people who depend on the old broken behavior: `$host'
1285 # used to hold the argument of --host etc.
1286 # FIXME: To remove some day.
1289 target
=$target_alias
1291 # FIXME: To remove some day.
1292 if test "x$host_alias" != x
; then
1293 if test "x$build_alias" = x
; then
1294 cross_compiling
=maybe
1295 elif test "x$build_alias" != "x$host_alias"; then
1301 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1303 test "$silent" = yes && exec 6>/dev
/null
1306 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1307 ac_ls_di
=`ls -di .` &&
1308 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1309 as_fn_error $?
"working directory cannot be determined"
1310 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1311 as_fn_error $?
"pwd does not report name of working directory"
1314 # Find the source files, if location was not specified.
1315 if test -z "$srcdir"; then
1316 ac_srcdir_defaulted
=yes
1317 # Try the directory containing this script, then the parent directory.
1318 ac_confdir
=`$as_dirname -- "$as_myself" ||
1319 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1320 X"$as_myself" : 'X\(//\)[^/]' \| \
1321 X"$as_myself" : 'X\(//\)$' \| \
1322 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1323 $as_echo X"$as_myself" |
1324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1342 if test ! -r "$srcdir/$ac_unique_file"; then
1346 ac_srcdir_defaulted
=no
1348 if test ! -r "$srcdir/$ac_unique_file"; then
1349 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1350 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1352 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1354 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1356 # When building in place, set srcdir=.
1357 if test "$ac_abs_confdir" = "$ac_pwd"; then
1360 # Remove unnecessary trailing slashes from srcdir.
1361 # Double slashes in file names in object file debugging info
1362 # mess up M-x gdb in Emacs.
1364 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1366 for ac_var
in $ac_precious_vars; do
1367 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1368 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1369 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1370 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1374 # Report the --help message.
1376 if test "$ac_init_help" = "long"; then
1377 # Omit some internal or obsolete options to make the list less imposing.
1378 # This message is too long to be a string in the A/UX 3.1 sh.
1380 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1382 Usage: $0 [OPTION]... [VAR=VALUE]...
1384 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1385 VAR=VALUE. See below for descriptions of some of the useful variables.
1387 Defaults for the options are specified in brackets.
1390 -h, --help display this help and exit
1391 --help=short display options specific to this package
1392 --help=recursive display the short help of all the included packages
1393 -V, --version display version information and exit
1394 -q, --quiet, --silent do not print \`checking ...' messages
1395 --cache-file=FILE cache test results in FILE [disabled]
1396 -C, --config-cache alias for \`--cache-file=config.cache'
1397 -n, --no-create do not create output files
1398 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1400 Installation directories:
1401 --prefix=PREFIX install architecture-independent files in PREFIX
1402 [$ac_default_prefix]
1403 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1406 By default, \`make install' will install all the files in
1407 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1408 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1409 for instance \`--prefix=\$HOME'.
1411 For better control, use the options below.
1413 Fine tuning of the installation directories:
1414 --bindir=DIR user executables [EPREFIX/bin]
1415 --sbindir=DIR system admin executables [EPREFIX/sbin]
1416 --libexecdir=DIR program executables [EPREFIX/libexec]
1417 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1418 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1419 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1420 --libdir=DIR object code libraries [EPREFIX/lib]
1421 --includedir=DIR C header files [PREFIX/include]
1422 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1423 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1424 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1425 --infodir=DIR info documentation [DATAROOTDIR/info]
1426 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1427 --mandir=DIR man documentation [DATAROOTDIR/man]
1428 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1429 --htmldir=DIR html documentation [DOCDIR]
1430 --dvidir=DIR dvi documentation [DOCDIR]
1431 --pdfdir=DIR pdf documentation [DOCDIR]
1432 --psdir=DIR ps documentation [DOCDIR]
1438 --program-prefix=PREFIX prepend PREFIX to installed program names
1439 --program-suffix=SUFFIX append SUFFIX to installed program names
1440 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1443 --build=BUILD configure
for building on BUILD
[guessed
]
1444 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1445 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1449 if test -n "$ac_init_help"; then
1450 case $ac_init_help in
1451 short | recursive
) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1456 --disable-option-checking ignore unrecognized
--enable/--with options
1457 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1458 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1459 --enable-version-specific-runtime-libs
1460 specify that runtime libraries should be installed
1461 in a compiler-specific directory
1462 --enable-intermodule build the library
in one step
1463 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1464 --disable-silent-rules verbose build output
(undo
: "make V=0")
1465 --enable-maintainer-mode
1466 enable make rules and dependencies not useful
(and
1467 sometimes confusing
) to the casual installer
1468 --enable-multilib build many library versions
(default
)
1469 --enable-dependency-tracking
1470 do not reject slow dependency extractors
1471 --disable-dependency-tracking
1472 speeds up one-time build
1473 --enable-cet enable Intel CET
in target libraries
[default
=auto
]
1474 --disable-symvers disable symbol versioning
for libgfortran
1475 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1476 --enable-static[=PKGS
] build static libraries
[default
=yes]
1477 --enable-fast-install[=PKGS
]
1478 optimize
for fast installation
[default
=yes]
1479 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1480 --disable-largefile omit support
for large files
1481 --disable-libquadmath-support
1482 disable libquadmath support
for Fortran
1485 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1486 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1487 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1488 --with-toolexeclibdir=DIR
1489 install libraries built with a cross compiler within
1491 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1492 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1494 --with-gcc-major-version-only
1495 use only GCC major number
in filesystem paths
1497 Some influential environment variables
:
1498 CC C compiler
command
1499 CFLAGS C compiler flags
1500 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1501 nonstandard directory
<lib dir
>
1502 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1503 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1504 you have headers
in a nonstandard directory
<include dir
>
1506 FC Fortran compiler
command
1507 FCFLAGS Fortran compiler flags
1509 Use these variables to override the choices made by
`configure' or to help
1510 it to find libraries and programs with nonstandard names/locations.
1512 Report bugs to the package provider.
1513 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1514 General help using GNU software: <http://www.gnu.org/gethelp/>.
1519 if test "$ac_init_help" = "recursive"; then
1520 # If there are subdirs, report their specific --help.
1521 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1522 test -d "$ac_dir" ||
1523 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1528 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1530 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1531 # A ".." for each directory in $ac_dir_suffix.
1532 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1533 case $ac_top_builddir_sub in
1534 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1535 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1538 ac_abs_top_builddir=$ac_pwd
1539 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1540 # for backward compatibility:
1541 ac_top_builddir=$ac_top_build_prefix
1544 .) # We are building in place.
1546 ac_top_srcdir=$ac_top_builddir_sub
1547 ac_abs_top_srcdir=$ac_pwd ;;
1548 [\\/]* | ?:[\\/]* ) # Absolute name.
1549 ac_srcdir=$srcdir$ac_dir_suffix;
1550 ac_top_srcdir=$srcdir
1551 ac_abs_top_srcdir=$srcdir ;;
1553 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1554 ac_top_srcdir=$ac_top_build_prefix$srcdir
1555 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1557 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1559 cd "$ac_dir" || { ac_status=$?; continue; }
1560 # Check for guested configure.
1561 if test -f "$ac_srcdir/configure.gnu"; then
1563 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1564 elif test -f "$ac_srcdir/configure"; then
1566 $SHELL "$ac_srcdir/configure" --help=recursive
1568 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1570 cd "$ac_pwd" || { ac_status=$?; break; }
1574 test -n "$ac_init_help" && exit $ac_status
1575 if $ac_init_version; then
1577 GNU Fortran Runtime Library configure 0.3
1578 generated by GNU Autoconf 2.69
1580 Copyright (C) 2012 Free Software Foundation, Inc.
1581 This configure script is free software; the Free Software Foundation
1582 gives unlimited permission to copy, distribute and modify it.
1587 ## ------------------------ ##
1588 ## Autoconf initialization. ##
1589 ## ------------------------ ##
1591 # ac_fn_c_try_compile LINENO
1592 # --------------------------
1593 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1594 ac_fn_c_try_compile ()
1596 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1597 rm -f conftest.$ac_objext
1598 if { { ac_try="$ac_compile"
1600 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1601 *) ac_try_echo
=$ac_try;;
1603 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1604 $as_echo "$ac_try_echo"; } >&5
1605 (eval "$ac_compile") 2>conftest.err
1607 if test -s conftest.err
; then
1608 grep -v '^ *+' conftest.err
>conftest.er1
1609 cat conftest.er1
>&5
1610 mv -f conftest.er1 conftest.err
1612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1613 test $ac_status = 0; } && {
1614 test -z "$ac_c_werror_flag" ||
1615 test ! -s conftest.err
1616 } && test -s conftest.
$ac_objext; then :
1619 $as_echo "$as_me: failed program was:" >&5
1620 sed 's/^/| /' conftest.
$ac_ext >&5
1624 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1625 as_fn_set_status
$ac_retval
1627 } # ac_fn_c_try_compile
1629 # ac_fn_c_try_cpp LINENO
1630 # ----------------------
1631 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1634 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1635 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1637 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1638 *) ac_try_echo=$ac_try;;
1640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1641 $as_echo "$ac_try_echo"; } >&5
1642 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1644 if test -s conftest.err; then
1645 grep -v '^ *+' conftest.err >conftest.er1
1646 cat conftest.er1 >&5
1647 mv -f conftest.er1 conftest.err
1649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1650 test $ac_status = 0; } > conftest.i && {
1651 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1652 test ! -s conftest.err
1656 $as_echo "$as_me: failed program was:" >&5
1657 sed 's/^/| /' conftest.$ac_ext >&5
1661 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1662 as_fn_set_status $ac_retval
1666 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1667 # -------------------------------------------------------
1668 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1669 # the include files in INCLUDES and setting the cache variable VAR
1671 ac_fn_c_check_header_mongrel ()
1673 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1674 if eval \${$3+:} false; then :
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1676 $as_echo_n "checking for $2... " >&6; }
1677 if eval \${$3+:} false; then :
1678 $as_echo_n "(cached) " >&6
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1682 $as_echo "$ac_res" >&6; }
1684 # Is the header compilable?
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1686 $as_echo_n "checking $2 usability... " >&6; }
1687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1688 /* end confdefs.h. */
1692 if ac_fn_c_try_compile "$LINENO"; then :
1693 ac_header_compiler=yes
1695 ac_header_compiler=no
1697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1699 $as_echo "$ac_header_compiler" >&6; }
1701 # Is the header present?
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1703 $as_echo_n "checking $2 presence... " >&6; }
1704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1705 /* end confdefs.h. */
1708 if ac_fn_c_try_cpp "$LINENO"; then :
1709 ac_header_preproc=yes
1711 ac_header_preproc=no
1713 rm -f conftest.err conftest.i conftest.$ac_ext
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1715 $as_echo "$ac_header_preproc" >&6; }
1717 # So? What about this header?
1718 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1721 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1723 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1727 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1729 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1731 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1733 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1735 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1739 $as_echo_n "checking for $2... " >&6; }
1740 if eval \${$3+:} false; then :
1741 $as_echo_n "(cached) " >&6
1743 eval "$3=\$ac_header_compiler"
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1747 $as_echo "$ac_res" >&6; }
1749 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1751 } # ac_fn_c_check_header_mongrel
1753 # ac_fn_c_try_run LINENO
1754 # ----------------------
1755 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1756 # that executables *can* be run.
1759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760 if { { ac_try="$ac_link"
1762 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1763 *) ac_try_echo
=$ac_try;;
1765 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1766 $as_echo "$ac_try_echo"; } >&5
1767 (eval "$ac_link") 2>&5
1769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1770 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1771 { { case "(($ac_try" in
1772 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1773 *) ac_try_echo=$ac_try;;
1775 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1776 $as_echo "$ac_try_echo"; } >&5
1777 (eval "$ac_try") 2>&5
1779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1780 test $ac_status = 0; }; }; then :
1783 $as_echo "$as_me: program exited with status $ac_status" >&5
1784 $as_echo "$as_me: failed program was:" >&5
1785 sed 's/^/| /' conftest.$ac_ext >&5
1787 ac_retval=$ac_status
1789 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1791 as_fn_set_status $ac_retval
1795 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1796 # -------------------------------------------------------
1797 # Tests whether HEADER exists and can be compiled using the include files in
1798 # INCLUDES, setting the cache variable VAR accordingly.
1799 ac_fn_c_check_header_compile ()
1801 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1803 $as_echo_n "checking for $2... " >&6; }
1804 if eval \${$3+:} false; then :
1805 $as_echo_n "(cached) " >&6
1807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1808 /* end confdefs.h. */
1812 if ac_fn_c_try_compile "$LINENO"; then :
1817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1821 $as_echo "$ac_res" >&6; }
1822 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1824 } # ac_fn_c_check_header_compile
1826 # ac_fn_c_try_link LINENO
1827 # -----------------------
1828 # Try to link conftest.$ac_ext, and return whether this succeeded.
1831 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1832 rm -f conftest.$ac_objext conftest$ac_exeext
1833 if { { ac_try="$ac_link"
1835 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1836 *) ac_try_echo
=$ac_try;;
1838 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1839 $as_echo "$ac_try_echo"; } >&5
1840 (eval "$ac_link") 2>conftest.err
1842 if test -s conftest.err
; then
1843 grep -v '^ *+' conftest.err
>conftest.er1
1844 cat conftest.er1
>&5
1845 mv -f conftest.er1 conftest.err
1847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1848 test $ac_status = 0; } && {
1849 test -z "$ac_c_werror_flag" ||
1850 test ! -s conftest.err
1851 } && test -s conftest
$ac_exeext && {
1852 test "$cross_compiling" = yes ||
1853 test -x conftest
$ac_exeext
1857 $as_echo "$as_me: failed program was:" >&5
1858 sed 's/^/| /' conftest.
$ac_ext >&5
1862 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1863 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1864 # interfere with the next link command; also delete a directory that is
1865 # left behind by Apple's compiler. We do this before executing the actions.
1866 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1867 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1868 as_fn_set_status
$ac_retval
1870 } # ac_fn_c_try_link
1872 # ac_fn_c_check_func LINENO FUNC VAR
1873 # ----------------------------------
1874 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1875 ac_fn_c_check_func
()
1877 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1879 $as_echo_n "checking for $2... " >&6; }
1880 if eval \
${$3+:} false
; then :
1881 $as_echo_n "(cached) " >&6
1883 if test x
$gcc_no_link = xyes
; then
1884 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1887 /* end confdefs.h. */
1888 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1890 #define $2 innocuous_$2
1892 /* System header to define __stub macros and hopefully few prototypes,
1893 which can conflict with char $2 (); below.
1894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1895 <limits.h> exists even on freestanding compilers. */
1898 # include <limits.h>
1900 # include <assert.h>
1905 /* Override any GCC internal prototype to avoid an error.
1906 Use char because int might match the return type of a GCC
1907 builtin and then its argument prototype would still apply. */
1912 /* The GNU C library defines this for functions which it implements
1913 to always fail with ENOSYS. Some functions are actually named
1914 something starting with __ and the normal name is an alias. */
1915 #if defined __stub_$2 || defined __stub___$2
1927 if ac_fn_c_try_link
"$LINENO"; then :
1932 rm -f core conftest.err conftest.
$ac_objext \
1933 conftest
$ac_exeext conftest.
$ac_ext
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1937 $as_echo "$ac_res" >&6; }
1938 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1940 } # ac_fn_c_check_func
1942 # ac_fn_fc_try_compile LINENO
1943 # ---------------------------
1944 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1945 ac_fn_fc_try_compile
()
1947 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1948 rm -f conftest.
$ac_objext
1949 if { { ac_try
="$ac_compile"
1951 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1952 *) ac_try_echo=$ac_try;;
1954 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1955 $as_echo "$ac_try_echo"; } >&5
1956 (eval "$ac_compile") 2>conftest.err
1958 if test -s conftest.err; then
1959 grep -v '^ *+' conftest.err >conftest.er1
1960 cat conftest.er1 >&5
1961 mv -f conftest.er1 conftest.err
1963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1964 test $ac_status = 0; } && {
1965 test -z "$ac_fc_werror_flag" ||
1966 test ! -s conftest.err
1967 } && test -s conftest.$ac_objext; then :
1970 $as_echo "$as_me: failed program was:" >&5
1971 sed 's/^/| /' conftest.$ac_ext >&5
1975 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1976 as_fn_set_status $ac_retval
1978 } # ac_fn_fc_try_compile
1980 # ac_fn_fc_try_link LINENO
1981 # ------------------------
1982 # Try to link conftest.$ac_ext, and return whether this succeeded.
1983 ac_fn_fc_try_link ()
1985 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1986 rm -f conftest.$ac_objext conftest$ac_exeext
1987 if { { ac_try="$ac_link"
1989 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1990 *) ac_try_echo
=$ac_try;;
1992 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1993 $as_echo "$ac_try_echo"; } >&5
1994 (eval "$ac_link") 2>conftest.err
1996 if test -s conftest.err
; then
1997 grep -v '^ *+' conftest.err
>conftest.er1
1998 cat conftest.er1
>&5
1999 mv -f conftest.er1 conftest.err
2001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2002 test $ac_status = 0; } && {
2003 test -z "$ac_fc_werror_flag" ||
2004 test ! -s conftest.err
2005 } && test -s conftest
$ac_exeext && {
2006 test "$cross_compiling" = yes ||
2007 test -x conftest
$ac_exeext
2011 $as_echo "$as_me: failed program was:" >&5
2012 sed 's/^/| /' conftest.
$ac_ext >&5
2016 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2017 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2018 # interfere with the next link command; also delete a directory that is
2019 # left behind by Apple's compiler. We do this before executing the actions.
2020 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2021 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2022 as_fn_set_status
$ac_retval
2024 } # ac_fn_fc_try_link
2026 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2027 # -------------------------------------------
2028 # Tests whether TYPE exists after having included INCLUDES, setting cache
2029 # variable VAR accordingly.
2030 ac_fn_c_check_type
()
2032 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2034 $as_echo_n "checking for $2... " >&6; }
2035 if eval \
${$3+:} false
; then :
2036 $as_echo_n "(cached) " >&6
2039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2040 /* end confdefs.h. */
2051 if ac_fn_c_try_compile
"$LINENO"; then :
2052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2053 /* end confdefs.h. */
2064 if ac_fn_c_try_compile
"$LINENO"; then :
2069 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2075 $as_echo "$ac_res" >&6; }
2076 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2078 } # ac_fn_c_check_type
2080 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2081 # --------------------------------------------
2082 # Tries to find the compile-time value of EXPR in a program that includes
2083 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2085 ac_fn_c_compute_int
()
2087 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2088 if test "$cross_compiling" = yes; then
2089 # Depending upon the size, compute the lo and hi bounds.
2090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2091 /* end confdefs.h. */
2096 static int test_array [1 - 2 * !(($2) >= 0)];
2098 return test_array [0];
2104 if ac_fn_c_try_compile
"$LINENO"; then :
2107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2108 /* end confdefs.h. */
2113 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2115 return test_array [0];
2121 if ac_fn_c_try_compile
"$LINENO"; then :
2122 ac_hi
=$ac_mid; break
2124 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2125 if test $ac_lo -le $ac_mid; then
2129 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2135 /* end confdefs.h. */
2140 static int test_array [1 - 2 * !(($2) < 0)];
2142 return test_array [0];
2148 if ac_fn_c_try_compile
"$LINENO"; then :
2151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2152 /* end confdefs.h. */
2157 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2159 return test_array [0];
2165 if ac_fn_c_try_compile
"$LINENO"; then :
2166 ac_lo
=$ac_mid; break
2168 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2169 if test $ac_mid -le $ac_hi; then
2173 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2180 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2182 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2183 # Binary search between lo and hi bounds.
2184 while test "x$ac_lo" != "x$ac_hi"; do
2185 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2187 /* end confdefs.h. */
2192 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2194 return test_array [0];
2200 if ac_fn_c_try_compile
"$LINENO"; then :
2203 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2205 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2208 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2213 /* end confdefs.h. */
2215 static long int longval () { return $2; }
2216 static unsigned long int ulongval () { return $2; }
2223 FILE *f = fopen ("conftest.val", "w");
2228 long int i = longval ();
2231 fprintf (f, "%ld", i);
2235 unsigned long int i = ulongval ();
2238 fprintf (f, "%lu", i);
2240 /* Do not output a trailing newline, as this causes \r\n confusion
2241 on some platforms. */
2242 return ferror (f) || fclose (f) != 0;
2248 if ac_fn_c_try_run
"$LINENO"; then :
2249 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2253 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2254 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2258 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2259 as_fn_set_status
$ac_retval
2261 } # ac_fn_c_compute_int
2263 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2264 # ----------------------------------------------------
2265 # Tries to find if the field MEMBER exists in type AGGR, after including
2266 # INCLUDES, setting cache variable VAR accordingly.
2267 ac_fn_c_check_member
()
2269 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2271 $as_echo_n "checking for $2.$3... " >&6; }
2272 if eval \
${$4+:} false
; then :
2273 $as_echo_n "(cached) " >&6
2275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2276 /* end confdefs.h. */
2288 if ac_fn_c_try_compile
"$LINENO"; then :
2291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2292 /* end confdefs.h. */
2298 if (sizeof ac_aggr.$3)
2304 if ac_fn_c_try_compile
"$LINENO"; then :
2309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2311 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2315 $as_echo "$ac_res" >&6; }
2316 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2318 } # ac_fn_c_check_member
2319 cat >config.log
<<_ACEOF
2320 This file contains any messages produced by compilers while
2321 running configure, to aid debugging if configure makes a mistake.
2323 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2324 generated by GNU Autoconf 2.69. Invocation command line was
2336 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2337 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2338 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2339 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2340 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2342 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2343 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2345 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2346 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2347 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2348 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2349 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2350 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2351 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2359 test -z "$as_dir" && as_dir
=.
2360 $as_echo "PATH: $as_dir"
2376 # Keep a trace of the command line.
2377 # Strip out --no-create and --no-recursion so they do not pile up.
2378 # Strip out --silent because we don't want to record it for future runs.
2379 # Also quote any args containing shell meta-characters.
2380 # Make two passes to allow for proper duplicate-argument suppression.
2384 ac_must_keep_next
=false
2390 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2391 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2392 |
-silent |
--silent |
--silen |
--sile |
--sil)
2395 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2398 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2400 as_fn_append ac_configure_args1
" '$ac_arg'"
2401 if test $ac_must_keep_next = true
; then
2402 ac_must_keep_next
=false
# Got value, back to normal.
2405 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2406 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2407 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2408 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2409 case "$ac_configure_args0 " in
2410 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2413 -* ) ac_must_keep_next
=true
;;
2416 as_fn_append ac_configure_args
" '$ac_arg'"
2421 { ac_configure_args0
=; unset ac_configure_args0
;}
2422 { ac_configure_args1
=; unset ac_configure_args1
;}
2424 # When interrupted or exit'd, cleanup temporary files, and complete
2425 # config.log. We remove comments because anyway the quotes in there
2426 # would cause problems or look ugly.
2427 # WARNING: Use '\'' to represent an apostrophe within the trap.
2428 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2429 trap 'exit_status=$?
2430 # Save into config.log some information that might help in debugging.
2434 $as_echo "## ---------------- ##
2435 ## Cache variables. ##
2436 ## ---------------- ##"
2438 # The following way of writing the cache mishandles newlines in values,
2440 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2441 eval ac_val=\$$ac_var
2445 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2446 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2449 _ | IFS | as_nl) ;; #(
2450 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2451 *) { eval $ac_var=; unset $ac_var;} ;;
2456 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2457 *${as_nl}ac_space=\ *)
2459 "s/'\''/'\''\\\\'\'''\''/g;
2460 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2463 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2470 $as_echo "## ----------------- ##
2471 ## Output variables. ##
2472 ## ----------------- ##"
2474 for ac_var in $ac_subst_vars
2476 eval ac_val=\$$ac_var
2478 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2480 $as_echo "$ac_var='\''$ac_val'\''"
2484 if test -n "$ac_subst_files"; then
2485 $as_echo "## ------------------- ##
2486 ## File substitutions. ##
2487 ## ------------------- ##"
2489 for ac_var
in $ac_subst_files
2491 eval ac_val
=\$
$ac_var
2493 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2495 $as_echo "$ac_var='\''$ac_val'\''"
2500 if test -s confdefs.h; then
2501 $as_echo "## ----------- ##
2508 test "$ac_signal" != 0 &&
2509 $as_echo "$as_me: caught signal $ac_signal"
2510 $as_echo "$as_me: exit $exit_status"
2512 rm -f core *.core core.conftest.* &&
2513 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2516 for ac_signal
in 1 2 13 15; do
2517 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2521 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2522 rm -f -r conftest
* confdefs.h
2524 $as_echo "/* confdefs.h */" > confdefs.h
2526 # Predefined preprocessor variables.
2528 cat >>confdefs.h
<<_ACEOF
2529 #define PACKAGE_NAME "$PACKAGE_NAME"
2532 cat >>confdefs.h
<<_ACEOF
2533 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2536 cat >>confdefs.h
<<_ACEOF
2537 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2540 cat >>confdefs.h
<<_ACEOF
2541 #define PACKAGE_STRING "$PACKAGE_STRING"
2544 cat >>confdefs.h
<<_ACEOF
2545 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2548 cat >>confdefs.h
<<_ACEOF
2549 #define PACKAGE_URL "$PACKAGE_URL"
2553 # Let the site file select an alternate cache file if it wants to.
2554 # Prefer an explicitly selected file to automatically selected ones.
2557 if test -n "$CONFIG_SITE"; then
2558 # We do not want a PATH search for config.site.
2559 case $CONFIG_SITE in #((
2560 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2561 */*) ac_site_file1
=$CONFIG_SITE;;
2562 *) ac_site_file1
=.
/$CONFIG_SITE;;
2564 elif test "x$prefix" != xNONE
; then
2565 ac_site_file1
=$prefix/share
/config.site
2566 ac_site_file2
=$prefix/etc
/config.site
2568 ac_site_file1
=$ac_default_prefix/share
/config.site
2569 ac_site_file2
=$ac_default_prefix/etc
/config.site
2571 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2573 test "x$ac_site_file" = xNONE
&& continue
2574 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2576 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2577 sed 's/^/| /' "$ac_site_file" >&5
2579 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2580 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2581 as_fn_error $?
"failed to load site script $ac_site_file
2582 See \`config.log' for more details" "$LINENO" 5; }
2586 if test -r "$cache_file"; then
2587 # Some versions of bash will fail to source /dev/null (special files
2588 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2589 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2591 $as_echo "$as_me: loading cache $cache_file" >&6;}
2593 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2594 *) .
"./$cache_file";;
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2599 $as_echo "$as_me: creating cache $cache_file" >&6;}
2603 as_fn_append ac_header_list
" unistd.h"
2604 as_fn_append ac_header_list
" sys/random.h"
2605 as_fn_append ac_header_list
" sys/time.h"
2606 as_fn_append ac_header_list
" sys/times.h"
2607 as_fn_append ac_header_list
" sys/resource.h"
2608 as_fn_append ac_header_list
" sys/types.h"
2609 as_fn_append ac_header_list
" sys/stat.h"
2610 as_fn_append ac_header_list
" sys/uio.h"
2611 as_fn_append ac_header_list
" sys/wait.h"
2612 as_fn_append ac_header_list
" floatingpoint.h"
2613 as_fn_append ac_header_list
" ieeefp.h"
2614 as_fn_append ac_header_list
" fenv.h"
2615 as_fn_append ac_header_list
" fptrap.h"
2616 as_fn_append ac_header_list
" fpxcp.h"
2617 as_fn_append ac_header_list
" pwd.h"
2618 as_fn_append ac_header_list
" complex.h"
2619 as_fn_append ac_header_list
" xlocale.h"
2620 as_fn_append ac_func_list
" getrusage"
2621 as_fn_append ac_func_list
" times"
2622 as_fn_append ac_func_list
" mkstemp"
2623 as_fn_append ac_func_list
" strtof"
2624 as_fn_append ac_func_list
" strtold"
2625 as_fn_append ac_func_list
" snprintf"
2626 as_fn_append ac_func_list
" ftruncate"
2627 as_fn_append ac_func_list
" chsize"
2628 as_fn_append ac_func_list
" chdir"
2629 as_fn_append ac_func_list
" getentropy"
2630 as_fn_append ac_func_list
" getlogin"
2631 as_fn_append ac_func_list
" gethostname"
2632 as_fn_append ac_func_list
" kill"
2633 as_fn_append ac_func_list
" link"
2634 as_fn_append ac_func_list
" symlink"
2635 as_fn_append ac_func_list
" sleep"
2636 as_fn_append ac_func_list
" ttyname"
2637 as_fn_append ac_func_list
" sigaction"
2638 as_fn_append ac_func_list
" waitpid"
2639 as_fn_append ac_func_list
" alarm"
2640 as_fn_append ac_func_list
" access"
2641 as_fn_append ac_func_list
" fork"
2642 as_fn_append ac_func_list
" posix_spawn"
2643 as_fn_append ac_func_list
" setmode"
2644 as_fn_append ac_func_list
" fcntl"
2645 as_fn_append ac_func_list
" writev"
2646 as_fn_append ac_func_list
" gettimeofday"
2647 as_fn_append ac_func_list
" stat"
2648 as_fn_append ac_func_list
" fstat"
2649 as_fn_append ac_func_list
" lstat"
2650 as_fn_append ac_func_list
" getpwuid"
2651 as_fn_append ac_func_list
" vsnprintf"
2652 as_fn_append ac_func_list
" dup"
2653 as_fn_append ac_func_list
" getcwd"
2654 as_fn_append ac_func_list
" localtime_r"
2655 as_fn_append ac_func_list
" gmtime_r"
2656 as_fn_append ac_func_list
" getpwuid_r"
2657 as_fn_append ac_func_list
" ttyname_r"
2658 as_fn_append ac_func_list
" clock_gettime"
2659 as_fn_append ac_func_list
" getgid"
2660 as_fn_append ac_func_list
" getpid"
2661 as_fn_append ac_func_list
" getuid"
2662 as_fn_append ac_func_list
" geteuid"
2663 as_fn_append ac_func_list
" umask"
2664 as_fn_append ac_func_list
" getegid"
2665 as_fn_append ac_func_list
" secure_getenv"
2666 as_fn_append ac_func_list
" __secure_getenv"
2667 as_fn_append ac_func_list
" mkostemp"
2668 as_fn_append ac_func_list
" strnlen"
2669 as_fn_append ac_func_list
" strndup"
2670 as_fn_append ac_func_list
" newlocale"
2671 as_fn_append ac_func_list
" freelocale"
2672 as_fn_append ac_func_list
" uselocale"
2673 as_fn_append ac_func_list
" strerror_l"
2674 as_fn_append ac_header_list
" math.h"
2675 # Check that the precious variables saved in the cache have kept the same
2677 ac_cache_corrupted
=false
2678 for ac_var
in $ac_precious_vars; do
2679 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2680 eval ac_new_set
=\
$ac_env_${ac_var}_set
2681 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2682 eval ac_new_val
=\
$ac_env_${ac_var}_value
2683 case $ac_old_set,$ac_new_set in
2685 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2686 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2687 ac_cache_corrupted
=: ;;
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2690 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2691 ac_cache_corrupted
=: ;;
2694 if test "x$ac_old_val" != "x$ac_new_val"; then
2695 # differences in whitespace do not lead to failure.
2696 ac_old_val_w
=`echo x $ac_old_val`
2697 ac_new_val_w
=`echo x $ac_new_val`
2698 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2700 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2701 ac_cache_corrupted
=:
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2704 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2705 eval $ac_var=\
$ac_old_val
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2708 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2710 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2713 # Pass precious variables to config.status.
2714 if test "$ac_new_set" = set; then
2716 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2717 *) ac_arg
=$ac_var=$ac_new_val ;;
2719 case " $ac_configure_args " in
2720 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2721 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2725 if $ac_cache_corrupted; then
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2727 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2729 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2730 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2732 ## -------------------- ##
2733 ## Main body of script. ##
2734 ## -------------------- ##
2737 ac_cpp
='$CPP $CPPFLAGS'
2738 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2739 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2740 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2746 ac_config_headers
="$ac_config_headers config.h"
2749 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2750 if test -f "$ac_dir/install-sh"; then
2752 ac_install_sh
="$ac_aux_dir/install-sh -c"
2754 elif test -f "$ac_dir/install.sh"; then
2756 ac_install_sh
="$ac_aux_dir/install.sh -c"
2758 elif test -f "$ac_dir/shtool"; then
2760 ac_install_sh
="$ac_aux_dir/shtool install -c"
2764 if test -z "$ac_aux_dir"; then
2765 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2768 # These three variables are undocumented and unsupported,
2769 # and are intended to be withdrawn in a future Autoconf release.
2770 # They can cause serious problems if a builder's source tree is in a directory
2771 # whose full name contains unusual characters.
2772 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2773 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2774 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2777 # Make sure we can run config.sub.
2778 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2779 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2782 $as_echo_n "checking build system type... " >&6; }
2783 if ${ac_cv_build+:} false
; then :
2784 $as_echo_n "(cached) " >&6
2786 ac_build_alias
=$build_alias
2787 test "x$ac_build_alias" = x
&&
2788 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2789 test "x$ac_build_alias" = x
&&
2790 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2791 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2792 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2796 $as_echo "$ac_cv_build" >&6; }
2797 case $ac_cv_build in
2799 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2802 ac_save_IFS
=$IFS; IFS
='-'
2808 # Remember, the first character of IFS is used to create $*,
2809 # except with old shells:
2812 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2815 case ${build_alias} in
2816 "") build_noncanonical
=${build} ;;
2817 *) build_noncanonical
=${build_alias} ;;
2820 case ${host_alias} in
2821 "") host_noncanonical
=${build_noncanonical} ;;
2822 *) host_noncanonical
=${host_alias} ;;
2825 case ${target_alias} in
2826 "") target_noncanonical
=${host_noncanonical} ;;
2827 *) target_noncanonical
=${target_alias} ;;
2831 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2832 # have matching libraries, they should use host libraries: Makefile.tpl
2833 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2834 # However, they still use the build modules, because the corresponding
2835 # host modules (e.g. bison) are only built for the host when bootstrap
2837 # - build_subdir is where we find build modules, and never changes.
2838 # - build_libsubdir is where we find build libraries, and can be overridden.
2840 # Prefix 'build-' so this never conflicts with target_subdir.
2841 build_subdir
="build-${build_noncanonical}"
2843 # Check whether --with-build-libsubdir was given.
2844 if test "${with_build_libsubdir+set}" = set; then :
2845 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2847 build_libsubdir
="$build_subdir"
2850 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2851 if ( test $srcdir = .
&& test -d gcc
) \
2852 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2853 host_subdir
="host-${host_noncanonical}"
2858 target_subdir
=${target_noncanonical}
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2866 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2867 # Check whether --enable-version-specific-runtime-libs was given.
2868 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2869 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2870 yes) version_specific_libs
=yes ;;
2871 no
) version_specific_libs
=no
;;
2872 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2875 version_specific_libs
=no
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2879 $as_echo "$version_specific_libs" >&6; }
2881 # Build with intermodule optimisations
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2883 $as_echo_n "checking for --enable-intermodule... " >&6; }
2884 # Check whether --enable-intermodule was given.
2885 if test "${enable_intermodule+set}" = set; then :
2886 enableval
=$enable_intermodule; case "$enable_intermodule" in
2887 yes) onestep
="-onestep";;
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2895 $as_echo "$enable_intermodule" >&6; }
2896 if test x
$onestep = x-onestep
; then
2906 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2908 # You will slowly go insane if you do not grok the following fact: when
2909 # building this library, the top-level /target/ becomes the library's /host/.
2911 # configure then causes --target to default to --host, exactly like any
2912 # other package using autoconf. Therefore, 'target' and 'host' will
2913 # always be the same. This makes sense both for native and cross compilers
2914 # just think about it for a little while. :-)
2916 # Also, if this library is being configured as part of a cross compiler, the
2917 # top-level configure script will pass the "real" host as $with_cross_host.
2919 # Do not delete or change the following two lines. For why, see
2920 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2922 $as_echo_n "checking host system type... " >&6; }
2923 if ${ac_cv_host+:} false
; then :
2924 $as_echo_n "(cached) " >&6
2926 if test "x$host_alias" = x
; then
2927 ac_cv_host
=$ac_cv_build
2929 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2930 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2935 $as_echo "$ac_cv_host" >&6; }
2938 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2941 ac_save_IFS
=$IFS; IFS
='-'
2947 # Remember, the first character of IFS is used to create $*,
2948 # except with old shells:
2951 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2955 $as_echo_n "checking target system type... " >&6; }
2956 if ${ac_cv_target+:} false
; then :
2957 $as_echo_n "(cached) " >&6
2959 if test "x$target_alias" = x
; then
2960 ac_cv_target
=$ac_cv_host
2962 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2963 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2968 $as_echo "$ac_cv_target" >&6; }
2969 case $ac_cv_target in
2971 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2973 target
=$ac_cv_target
2974 ac_save_IFS
=$IFS; IFS
='-'
2980 # Remember, the first character of IFS is used to create $*,
2981 # except with old shells:
2984 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2987 # The aliases save the names the user supplied, while $host etc.
2988 # will get canonicalized.
2989 test -n "$target_alias" &&
2990 test "$program_prefix$program_suffix$program_transform_name" = \
2992 program_prefix
=${target_alias}-
2997 target_alias
=${target_alias-$host_alias}
3000 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3001 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3002 # 1.9.6: minimum required version
3003 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3004 # of other PACKAGE_* variables will, however, and there's nothing
3005 # we can do about that; they come from AC_INIT).
3006 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3007 # file in the top srcdir, etc, etc), so stop complaining.
3008 # no-dist: we don't want 'dist' and related rules.
3009 # -Wall: turns on all automake warnings...
3010 # -Wno-portability: ...except this one, since GNU make is required.
3011 am__api_version
='1.15'
3013 # Find a good install program. We prefer a C program (faster),
3014 # so one script is as good as another. But avoid the broken or
3015 # incompatible versions:
3016 # SysV /etc/install, /usr/sbin/install
3017 # SunOS /usr/etc/install
3018 # IRIX /sbin/install
3020 # AmigaOS /C/install, which installs bootblocks on floppy discs
3021 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3022 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3023 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3024 # OS/2's system install, which has a completely different semantic
3025 # ./install, which can be erroneously created by make from ./install.sh.
3026 # Reject install programs that cannot install multiple files.
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3028 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3029 if test -z "$INSTALL"; then
3030 if ${ac_cv_path_install+:} false
; then :
3031 $as_echo_n "(cached) " >&6
3033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3037 test -z "$as_dir" && as_dir
=.
3038 # Account for people who put trailing slashes in PATH elements.
3039 case $as_dir/ in #((
3040 .
/ | .
// |
/[cC
]/* | \
3041 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3042 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3045 # OSF1 and SCO ODT 3.0 have their own names for install.
3046 # Don't use installbsd from OSF since it installs stuff as root
3048 for ac_prog
in ginstall scoinst
install; do
3049 for ac_exec_ext
in '' $ac_executable_extensions; do
3050 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3051 if test $ac_prog = install &&
3052 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3053 # AIX install. It has an incompatible calling convention.
3055 elif test $ac_prog = install &&
3056 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3057 # program-specific install script used by HP pwplus--don't use.
3060 rm -rf conftest.one conftest.two conftest.dir
3061 echo one
> conftest.one
3062 echo two
> conftest.two
3064 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3065 test -s conftest.one
&& test -s conftest.two
&&
3066 test -s conftest.dir
/conftest.one
&&
3067 test -s conftest.dir
/conftest.two
3069 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3082 rm -rf conftest.one conftest.two conftest.dir
3085 if test "${ac_cv_path_install+set}" = set; then
3086 INSTALL
=$ac_cv_path_install
3088 # As a last resort, use the slow shell script. Don't cache a
3089 # value for INSTALL within a source directory, because that will
3090 # break other packages using the cache if that directory is
3091 # removed, or if the value is a relative name.
3092 INSTALL
=$ac_install_sh
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3096 $as_echo "$INSTALL" >&6; }
3098 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3099 # It thinks the first close brace ends the variable substitution.
3100 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3102 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3104 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3107 $as_echo_n "checking whether build environment is sane... " >&6; }
3108 # Reject unsafe characters in $srcdir or the absolute working directory
3109 # name. Accept space and tab only in the latter.
3113 *[\\\"\
#\$\&\'\`$am_lf]*)
3114 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3117 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3118 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3121 # Do 'set' in a subshell so we don't clobber the current shell's
3122 # arguments. Must try -L first in case configure is actually a
3123 # symlink; some systems play weird games with the mod time of symlinks
3124 # (eg FreeBSD returns the mod time of the symlink's containing
3128 for am_try
in 1 2; do
3129 echo "timestamp, slept: $am_has_slept" > conftest.
file
3130 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3131 if test "$*" = "X"; then
3133 set X
`ls -t "$srcdir/configure" conftest.file`
3135 if test "$*" != "X $srcdir/configure conftest.file" \
3136 && test "$*" != "X conftest.file $srcdir/configure"; then
3138 # If neither matched, then we have a broken ls. This can happen
3139 # if, for instance, CONFIG_SHELL is bash and it inherits a
3140 # broken ls alias from the environment. This has actually
3141 # happened. Such a system could not be considered "sane".
3142 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3143 alias in your environment" "$LINENO" 5
3145 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3152 test "$2" = conftest.
file
3158 as_fn_error $?
"newly created file is older than distributed files!
3159 Check your system clock" "$LINENO" 5
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3162 $as_echo "yes" >&6; }
3163 # If we didn't sleep, we still need to ensure time stamps of config.status and
3164 # generated files are strictly newer.
3166 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3173 test "$program_prefix" != NONE
&&
3174 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3175 # Use a double $ so make ignores it.
3176 test "$program_suffix" != NONE
&&
3177 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3178 # Double any \ or $.
3179 # By default was `s,x,x', remove it if useless.
3180 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3181 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3183 # Expand $ac_aux_dir to an absolute path.
3184 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3186 if test x
"${MISSING+set}" != xset
; then
3189 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3191 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3194 # Use eval to expand $SHELL
3195 if eval "$MISSING --is-lightweight"; then
3196 am_missing_run
="$MISSING "
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3200 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3203 if test x
"${install_sh+set}" != xset
; then
3206 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3208 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3212 # Installed binaries are usually stripped using 'strip' when the user
3213 # run "make install-strip". However 'strip' might not be the right
3214 # tool to use in cross-compilation environments, therefore Automake
3215 # will honor the 'STRIP' environment variable to overrule this program.
3216 if test "$cross_compiling" != no
; then
3217 if test -n "$ac_tool_prefix"; then
3218 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3219 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3221 $as_echo_n "checking for $ac_word... " >&6; }
3222 if ${ac_cv_prog_STRIP+:} false
; then :
3223 $as_echo_n "(cached) " >&6
3225 if test -n "$STRIP"; then
3226 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3232 test -z "$as_dir" && as_dir
=.
3233 for ac_exec_ext
in '' $ac_executable_extensions; do
3234 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3235 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3245 STRIP
=$ac_cv_prog_STRIP
3246 if test -n "$STRIP"; then
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3248 $as_echo "$STRIP" >&6; }
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3251 $as_echo "no" >&6; }
3256 if test -z "$ac_cv_prog_STRIP"; then
3258 # Extract the first word of "strip", so it can be a program name with args.
3259 set dummy strip
; ac_word
=$2
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3261 $as_echo_n "checking for $ac_word... " >&6; }
3262 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3263 $as_echo_n "(cached) " >&6
3265 if test -n "$ac_ct_STRIP"; then
3266 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3272 test -z "$as_dir" && as_dir
=.
3273 for ac_exec_ext
in '' $ac_executable_extensions; do
3274 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3275 ac_cv_prog_ac_ct_STRIP
="strip"
3276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3285 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3286 if test -n "$ac_ct_STRIP"; then
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3288 $as_echo "$ac_ct_STRIP" >&6; }
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3291 $as_echo "no" >&6; }
3294 if test "x$ac_ct_STRIP" = x
; then
3297 case $cross_compiling:$ac_tool_warned in
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3300 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3301 ac_tool_warned
=yes ;;
3306 STRIP
="$ac_cv_prog_STRIP"
3310 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3313 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3314 if test -z "$MKDIR_P"; then
3315 if ${ac_cv_path_mkdir+:} false
; then :
3316 $as_echo_n "(cached) " >&6
3318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3319 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3322 test -z "$as_dir" && as_dir
=.
3323 for ac_prog
in mkdir gmkdir
; do
3324 for ac_exec_ext
in '' $ac_executable_extensions; do
3325 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3326 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3327 'mkdir (GNU coreutils) '* | \
3328 'mkdir (coreutils) '* | \
3329 'mkdir (fileutils) '4.1*)
3330 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3340 test -d .
/--version && rmdir .
/--version
3341 if test "${ac_cv_path_mkdir+set}" = set; then
3342 MKDIR_P
="$ac_cv_path_mkdir -p"
3344 # As a last resort, use the slow shell script. Don't cache a
3345 # value for MKDIR_P within a source directory, because that will
3346 # break other packages using the cache if that directory is
3347 # removed, or if the value is a relative name.
3348 MKDIR_P
="$ac_install_sh -d"
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3352 $as_echo "$MKDIR_P" >&6; }
3354 for ac_prog
in gawk mawk nawk
awk
3356 # Extract the first word of "$ac_prog", so it can be a program name with args.
3357 set dummy
$ac_prog; ac_word
=$2
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3359 $as_echo_n "checking for $ac_word... " >&6; }
3360 if ${ac_cv_prog_AWK+:} false
; then :
3361 $as_echo_n "(cached) " >&6
3363 if test -n "$AWK"; then
3364 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3370 test -z "$as_dir" && as_dir
=.
3371 for ac_exec_ext
in '' $ac_executable_extensions; do
3372 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3373 ac_cv_prog_AWK
="$ac_prog"
3374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3384 if test -n "$AWK"; then
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3386 $as_echo "$AWK" >&6; }
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3389 $as_echo "no" >&6; }
3393 test -n "$AWK" && break
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3397 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3399 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3400 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3401 $as_echo_n "(cached) " >&6
3403 cat >conftest.
make <<\_ACEOF
3406 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3408 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3409 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3411 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3413 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3417 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3419 $as_echo "yes" >&6; }
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3423 $as_echo "no" >&6; }
3424 SET_MAKE
="MAKE=${MAKE-make}"
3427 rm -rf .tst
2>/dev
/null
3428 mkdir .tst
2>/dev
/null
3429 if test -d .tst
; then
3434 rmdir .tst
2>/dev
/null
3436 # Check whether --enable-silent-rules was given.
3437 if test "${enable_silent_rules+set}" = set; then :
3438 enableval
=$enable_silent_rules;
3441 case $enable_silent_rules in # (((
3442 yes) AM_DEFAULT_VERBOSITY
=0;;
3443 no
) AM_DEFAULT_VERBOSITY
=1;;
3444 *) AM_DEFAULT_VERBOSITY
=1;;
3446 am_make
=${MAKE-make}
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3448 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3449 if ${am_cv_make_support_nested_variables+:} false
; then :
3450 $as_echo_n "(cached) " >&6
3452 if $as_echo 'TRUE=$(BAR$(V))
3458 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3459 am_cv_make_support_nested_variables
=yes
3461 am_cv_make_support_nested_variables
=no
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3465 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3466 if test $am_cv_make_support_nested_variables = yes; then
3468 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3470 AM_V
=$AM_DEFAULT_VERBOSITY
3471 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3475 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3476 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3477 # is not polluted with repeated "-I."
3478 am__isrc
=' -I$(srcdir)'
3479 # test to see if srcdir already configured
3480 if test -f $srcdir/config.status
; then
3481 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3485 # test whether we have cygpath
3486 if test -z "$CYGPATH_W"; then
3487 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3488 CYGPATH_W
='cygpath -w'
3495 # Define the identity of the package.
3496 PACKAGE
='libgfortran'
3500 # Some tools Automake needs.
3502 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3505 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3508 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3511 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3514 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3516 # For better backward compatibility. To be removed once Automake 1.9.x
3517 # dies out for good. For more background, see:
3518 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3519 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3520 mkdir_p
='$(MKDIR_P)'
3522 # We need awk for the "check" target (and possibly the TAP driver). The
3523 # system "awk" is bad on some platforms.
3524 # Always define AMTAR for backward compatibility. Yes, it's still used
3525 # in the wild :-( We should find a proper way to deprecate it ...
3529 # We'll loop over all known methods to create a tar archive until one works.
3530 _am_tools
='gnutar pax cpio none'
3532 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3539 # POSIX will say in a future version that running "rm -f" with no argument
3540 # is OK; and we want to be able to make that assumption in our Makefile
3541 # recipes. So use an aggressive probe to check that the usage we want is
3542 # actually supported "in the wild" to an acceptable degree.
3543 # See automake bug#10828.
3544 # To make any issue more visible, cause the running configure to be aborted
3545 # by default if the 'rm' program in use doesn't match our expectations; the
3546 # user can still override this though.
3547 if rm -f && rm -fr && rm -rf; then : OK
; else
3551 Your 'rm' program seems unable to run without file operands specified
3552 on the command line, even when the '-f' option is present. This is contrary
3553 to the behaviour of most rm programs out there, and not conforming with
3554 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3556 Please tell bug-automake@gnu.org about your system, including the value
3557 of your $PATH and any error possibly output before this message. This
3558 can help us improve future automake versions.
3561 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3562 echo 'Configuration will proceed anyway, since you have set the' >&2
3563 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3567 Aborting the configuration process, to ensure you take notice of the issue.
3569 You can download and install GNU coreutils to get an 'rm' implementation
3570 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3572 If you want to complete the configuration process using your problematic
3573 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3574 to "yes", and re-run configure.
3577 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3584 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3585 # Check whether --enable-maintainer-mode was given.
3586 if test "${enable_maintainer_mode+set}" = set; then :
3587 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3589 USE_MAINTAINER_MODE
=no
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3593 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3594 if test $USE_MAINTAINER_MODE = yes; then
3595 MAINTAINER_MODE_TRUE
=
3596 MAINTAINER_MODE_FALSE
='#'
3598 MAINTAINER_MODE_TRUE
='#'
3599 MAINTAINER_MODE_FALSE
=
3602 MAINT
=$MAINTAINER_MODE_TRUE
3605 # Default to --enable-multilib
3606 # Check whether --enable-multilib was given.
3607 if test "${enable_multilib+set}" = set; then :
3608 enableval
=$enable_multilib; case "$enableval" in
3609 yes) multilib
=yes ;;
3611 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3618 # We may get other options which we leave undocumented:
3619 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3620 # See config-ml.in if you want the gory details.
3622 if test "$srcdir" = "."; then
3623 if test "$with_target_subdir" != "."; then
3624 multi_basedir
="$srcdir/$with_multisrctop../.."
3626 multi_basedir
="$srcdir/$with_multisrctop.."
3629 multi_basedir
="$srcdir/.."
3633 # Even if the default multilib is not a cross compilation,
3634 # it may be that some of the other multilibs are.
3635 if test $cross_compiling = no
&& test $multilib = yes \
3636 && test "x${with_multisubdir}" != x
; then
3637 cross_compiling
=maybe
3640 ac_config_commands
="$ac_config_commands default-1"
3643 # Handy for debugging:
3644 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3646 # Are we being configured with some form of cross compiler?
3647 # NB: We don't actually need to know this just now, but when, say, a test
3648 # suite is included, we'll have to know.
3649 if test "$build" != "$host"; then
3650 LIBGFOR_IS_NATIVE
=false
3653 LIBGFOR_IS_NATIVE
=true
3656 DEPDIR
="${am__leading_dot}deps"
3658 ac_config_commands
="$ac_config_commands depfiles"
3661 am_make
=${MAKE-make}
3662 cat > confinc
<< 'END'
3664 @
echo this is the am__doit target
3667 # If we don't find an include directive, just comment out the code.
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3669 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3673 # First try GNU make style include.
3674 echo "include confinc" > confmf
3675 # Ignore all kinds of additional output from 'make'.
3676 case `$am_make -s -f confmf 2> /dev/null` in #(
3677 *the\ am__doit\ target
*)
3683 # Now try BSD make style include.
3684 if test "$am__include" = "#"; then
3685 echo '.include "confinc"' > confmf
3686 case `$am_make -s -f confmf 2> /dev/null` in #(
3687 *the\ am__doit\ target
*)
3688 am__include
=.include
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3697 $as_echo "$_am_result" >&6; }
3698 rm -f confinc confmf
3700 # Check whether --enable-dependency-tracking was given.
3701 if test "${enable_dependency_tracking+set}" = set; then :
3702 enableval
=$enable_dependency_tracking;
3705 if test "x$enable_dependency_tracking" != xno
; then
3706 am_depcomp
="$ac_aux_dir/depcomp"
3710 if test "x$enable_dependency_tracking" != xno; then
3720 ac_cpp
='$CPP $CPPFLAGS'
3721 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3722 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3723 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3724 if test -n "$ac_tool_prefix"; then
3725 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3726 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3728 $as_echo_n "checking for $ac_word... " >&6; }
3729 if ${ac_cv_prog_CC+:} false
; then :
3730 $as_echo_n "(cached) " >&6
3732 if test -n "$CC"; then
3733 ac_cv_prog_CC
="$CC" # Let the user override the test.
3735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3739 test -z "$as_dir" && as_dir
=.
3740 for ac_exec_ext
in '' $ac_executable_extensions; do
3741 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3742 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3753 if test -n "$CC"; then
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3755 $as_echo "$CC" >&6; }
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3758 $as_echo "no" >&6; }
3763 if test -z "$ac_cv_prog_CC"; then
3765 # Extract the first word of "gcc", so it can be a program name with args.
3766 set dummy gcc
; ac_word
=$2
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3768 $as_echo_n "checking for $ac_word... " >&6; }
3769 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3770 $as_echo_n "(cached) " >&6
3772 if test -n "$ac_ct_CC"; then
3773 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3779 test -z "$as_dir" && as_dir
=.
3780 for ac_exec_ext
in '' $ac_executable_extensions; do
3781 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3782 ac_cv_prog_ac_ct_CC
="gcc"
3783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3792 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3793 if test -n "$ac_ct_CC"; then
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3795 $as_echo "$ac_ct_CC" >&6; }
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3798 $as_echo "no" >&6; }
3801 if test "x$ac_ct_CC" = x
; then
3804 case $cross_compiling:$ac_tool_warned in
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3807 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3808 ac_tool_warned
=yes ;;
3816 if test -z "$CC"; then
3817 if test -n "$ac_tool_prefix"; then
3818 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3819 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3821 $as_echo_n "checking for $ac_word... " >&6; }
3822 if ${ac_cv_prog_CC+:} false
; then :
3823 $as_echo_n "(cached) " >&6
3825 if test -n "$CC"; then
3826 ac_cv_prog_CC
="$CC" # Let the user override the test.
3828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3832 test -z "$as_dir" && as_dir
=.
3833 for ac_exec_ext
in '' $ac_executable_extensions; do
3834 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3835 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3846 if test -n "$CC"; then
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3848 $as_echo "$CC" >&6; }
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3851 $as_echo "no" >&6; }
3857 if test -z "$CC"; then
3858 # Extract the first word of "cc", so it can be a program name with args.
3859 set dummy cc
; ac_word
=$2
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3861 $as_echo_n "checking for $ac_word... " >&6; }
3862 if ${ac_cv_prog_CC+:} false
; then :
3863 $as_echo_n "(cached) " >&6
3865 if test -n "$CC"; then
3866 ac_cv_prog_CC
="$CC" # Let the user override the test.
3869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3873 test -z "$as_dir" && as_dir
=.
3874 for ac_exec_ext
in '' $ac_executable_extensions; do
3875 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3876 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3877 ac_prog_rejected
=yes
3881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3888 if test $ac_prog_rejected = yes; then
3889 # We found a bogon in the path, so make sure we never use it.
3890 set dummy
$ac_cv_prog_CC
3892 if test $# != 0; then
3893 # We chose a different compiler from the bogus one.
3894 # However, it has the same basename, so the bogon will be chosen
3895 # first if we set CC to just the basename; use the full file name.
3897 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3903 if test -n "$CC"; then
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3905 $as_echo "$CC" >&6; }
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3908 $as_echo "no" >&6; }
3913 if test -z "$CC"; then
3914 if test -n "$ac_tool_prefix"; then
3915 for ac_prog
in cl.exe
3917 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3918 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3920 $as_echo_n "checking for $ac_word... " >&6; }
3921 if ${ac_cv_prog_CC+:} false
; then :
3922 $as_echo_n "(cached) " >&6
3924 if test -n "$CC"; then
3925 ac_cv_prog_CC
="$CC" # Let the user override the test.
3927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3931 test -z "$as_dir" && as_dir
=.
3932 for ac_exec_ext
in '' $ac_executable_extensions; do
3933 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3934 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3945 if test -n "$CC"; then
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3947 $as_echo "$CC" >&6; }
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3950 $as_echo "no" >&6; }
3954 test -n "$CC" && break
3957 if test -z "$CC"; then
3959 for ac_prog
in cl.exe
3961 # Extract the first word of "$ac_prog", so it can be a program name with args.
3962 set dummy
$ac_prog; ac_word
=$2
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3964 $as_echo_n "checking for $ac_word... " >&6; }
3965 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3966 $as_echo_n "(cached) " >&6
3968 if test -n "$ac_ct_CC"; then
3969 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3975 test -z "$as_dir" && as_dir
=.
3976 for ac_exec_ext
in '' $ac_executable_extensions; do
3977 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3978 ac_cv_prog_ac_ct_CC
="$ac_prog"
3979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3988 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3989 if test -n "$ac_ct_CC"; then
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3991 $as_echo "$ac_ct_CC" >&6; }
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3994 $as_echo "no" >&6; }
3998 test -n "$ac_ct_CC" && break
4001 if test "x$ac_ct_CC" = x
; then
4004 case $cross_compiling:$ac_tool_warned in
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4008 ac_tool_warned
=yes ;;
4017 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4018 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4019 as_fn_error $?
"no acceptable C compiler found in \$PATH
4020 See \`config.log' for more details" "$LINENO" 5; }
4022 # Provide some information about the compiler.
4023 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4026 for ac_option
in --version -v -V -qversion; do
4027 { { ac_try
="$ac_compiler $ac_option >&5"
4029 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4030 *) ac_try_echo=$ac_try;;
4032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4033 $as_echo "$ac_try_echo"; } >&5
4034 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4036 if test -s conftest.err; then
4038 ... rest of stderr output deleted ...
4039 10q' conftest.err >conftest.er1
4040 cat conftest.er1 >&5
4042 rm -f conftest.er1 conftest.err
4043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4044 test $ac_status = 0; }
4047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4048 /* end confdefs.h. */
4053 printf ("hello world\n");
4059 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4060 (eval $ac_link) 2>&5
4062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4063 test $ac_status = 0; }; then :
4068 if test x$gcc_no_link = xyes; then
4069 # Setting cross_compile will disable run tests; it will
4070 # also disable AC_CHECK_FILE but that's generally
4071 # correct if we can't link.
4075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4076 /* end confdefs.h. */
4086 ac_clean_files_save=$ac_clean_files
4087 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4088 # Try to create an executable without -o first, disregard a.out.
4089 # It will help us diagnose broken compilers, and finding out an intuition
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4092 $as_echo_n "checking whether the C compiler works... " >&6; }
4093 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4095 # The possible output files:
4096 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4099 for ac_file in $ac_files
4102 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4103 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4108 if { { ac_try="$ac_link_default"
4110 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4111 *) ac_try_echo
=$ac_try;;
4113 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4114 $as_echo "$ac_try_echo"; } >&5
4115 (eval "$ac_link_default") 2>&5
4117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4118 test $ac_status = 0; }; then :
4119 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4120 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4121 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4122 # so that the user can short-circuit this test for compilers unknown to
4124 for ac_file
in $ac_files ''
4126 test -f "$ac_file" ||
continue
4128 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4131 # We found the default executable, but exeext='' is most
4135 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4137 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4139 # We set ac_cv_exeext here because the later test for it is not
4140 # safe: cross compilers may not add the suffix if given an `-o'
4141 # argument, so we may need to know it at that point already.
4142 # Even if this section looks crufty: it has the advantage of
4149 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4154 if test -z "$ac_file"; then :
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4156 $as_echo "no" >&6; }
4157 $as_echo "$as_me: failed program was:" >&5
4158 sed 's/^/| /' conftest.
$ac_ext >&5
4160 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4161 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4162 as_fn_error
77 "C compiler cannot create executables
4163 See \`config.log' for more details" "$LINENO" 5; }
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4166 $as_echo "yes" >&6; }
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4169 $as_echo_n "checking for C compiler default output file name... " >&6; }
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4171 $as_echo "$ac_file" >&6; }
4172 ac_exeext
=$ac_cv_exeext
4174 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4175 ac_clean_files
=$ac_clean_files_save
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4177 $as_echo_n "checking for suffix of executables... " >&6; }
4178 if { { ac_try
="$ac_link"
4180 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4181 *) ac_try_echo=$ac_try;;
4183 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4184 $as_echo "$ac_try_echo"; } >&5
4185 (eval "$ac_link") 2>&5
4187 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4188 test $ac_status = 0; }; then :
4189 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4190 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4191 # work properly (i.e., refer to `conftest.exe'), while it won't with
4193 for ac_file
in conftest.exe conftest conftest.
*; do
4194 test -f "$ac_file" ||
continue
4196 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4197 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4203 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4204 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4205 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4206 See \`config.log' for more details" "$LINENO" 5; }
4208 rm -f conftest conftest
$ac_cv_exeext
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4210 $as_echo "$ac_cv_exeext" >&6; }
4212 rm -f conftest.
$ac_ext
4213 EXEEXT
=$ac_cv_exeext
4215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4216 /* end confdefs.h. */
4221 FILE *f = fopen ("conftest.out", "w");
4222 return ferror (f) || fclose (f) != 0;
4228 ac_clean_files
="$ac_clean_files conftest.out"
4229 # Check that the compiler produces executables we can run. If not, either
4230 # the compiler is broken, or we cross compile.
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4232 $as_echo_n "checking whether we are cross compiling... " >&6; }
4233 if test "$cross_compiling" != yes; then
4234 { { ac_try
="$ac_link"
4236 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4237 *) ac_try_echo=$ac_try;;
4239 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4240 $as_echo "$ac_try_echo"; } >&5
4241 (eval "$ac_link") 2>&5
4243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4244 test $ac_status = 0; }
4245 if { ac_try='./conftest$ac_cv_exeext'
4246 { { case "(($ac_try" in
4247 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4248 *) ac_try_echo
=$ac_try;;
4250 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4251 $as_echo "$ac_try_echo"; } >&5
4252 (eval "$ac_try") 2>&5
4254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4255 test $ac_status = 0; }; }; then
4258 if test "$cross_compiling" = maybe
; then
4261 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4262 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4263 as_fn_error $?
"cannot run C compiled programs.
4264 If you meant to cross compile, use \`--host'.
4265 See \`config.log' for more details" "$LINENO" 5; }
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4270 $as_echo "$cross_compiling" >&6; }
4272 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4273 ac_clean_files
=$ac_clean_files_save
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4276 $as_echo_n "checking for suffix of object files... " >&6; }
4277 if ${ac_cv_objext+:} false
; then :
4278 $as_echo_n "(cached) " >&6
4280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4281 /* end confdefs.h. */
4291 rm -f conftest.o conftest.obj
4292 if { { ac_try
="$ac_compile"
4294 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4295 *) ac_try_echo=$ac_try;;
4297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4298 $as_echo "$ac_try_echo"; } >&5
4299 (eval "$ac_compile") 2>&5
4301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4302 test $ac_status = 0; }; then :
4303 for ac_file in conftest.o conftest.obj conftest.*; do
4304 test -f "$ac_file" || continue;
4306 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4307 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4312 $as_echo "$as_me: failed program was:" >&5
4313 sed 's/^/| /' conftest.$ac_ext >&5
4315 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4316 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4317 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4318 See \
`config.log' for more details" "$LINENO" 5; }
4320 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4323 $as_echo "$ac_cv_objext" >&6; }
4324 OBJEXT=$ac_cv_objext
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4327 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4328 if ${ac_cv_c_compiler_gnu+:} false; then :
4329 $as_echo_n "(cached) " >&6
4331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4332 /* end confdefs.h. */
4345 if ac_fn_c_try_compile "$LINENO"; then :
4350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4351 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4355 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4356 if test $ac_compiler_gnu = yes; then
4361 ac_test_CFLAGS=${CFLAGS+set}
4362 ac_save_CFLAGS=$CFLAGS
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4364 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4365 if ${ac_cv_prog_cc_g+:} false; then :
4366 $as_echo_n "(cached) " >&6
4368 ac_save_c_werror_flag=$ac_c_werror_flag
4369 ac_c_werror_flag=yes
4372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4373 /* end confdefs.h. */
4383 if ac_fn_c_try_compile "$LINENO"; then :
4387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4388 /* end confdefs.h. */
4398 if ac_fn_c_try_compile "$LINENO"; then :
4401 ac_c_werror_flag=$ac_save_c_werror_flag
4403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4404 /* end confdefs.h. */
4414 if ac_fn_c_try_compile "$LINENO"; then :
4417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4422 ac_c_werror_flag=$ac_save_c_werror_flag
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4425 $as_echo "$ac_cv_prog_cc_g" >&6; }
4426 if test "$ac_test_CFLAGS" = set; then
4427 CFLAGS=$ac_save_CFLAGS
4428 elif test $ac_cv_prog_cc_g = yes; then
4429 if test "$GCC" = yes; then
4435 if test "$GCC" = yes; then
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4442 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4443 if ${ac_cv_prog_cc_c89+:} false; then :
4444 $as_echo_n "(cached) " >&6
4446 ac_cv_prog_cc_c89=no
4448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4449 /* end confdefs.h. */
4453 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4454 struct buf { int x; };
4455 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4456 static char *e (p, i)
4462 static char *f (char * (*g) (char **, int), char **p, ...)
4467 s = g (p, va_arg (v,int));
4472 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4473 function prototypes and stuff, but not '\xHH' hex character constants.
4474 These don't provoke an error unfortunately, instead are silently treated
4475 as 'x'. The following induces an error, until -std is added to get
4476 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4477 array size at least. It's necessary to write '\x00'==0 to get something
4478 that's true only with -std. */
4479 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4481 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4482 inside strings and character constants. */
4484 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4486 int test (int i, double x);
4487 struct s1 {int (*f) (int a);};
4488 struct s2 {int (*f) (double a);};
4489 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4495 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4500 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4501 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4503 CC="$ac_save_CC $ac_arg"
4504 if ac_fn_c_try_compile "$LINENO"; then :
4505 ac_cv_prog_cc_c89=$ac_arg
4507 rm -f core conftest.err conftest.$ac_objext
4508 test "x$ac_cv_prog_cc_c89" != "xno" && break
4510 rm -f conftest.$ac_ext
4515 case "x$ac_cv_prog_cc_c89" in
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4518 $as_echo "none needed" >&6; } ;;
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4521 $as_echo "unsupported" >&6; } ;;
4523 CC="$CC $ac_cv_prog_cc_c89"
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4525 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4527 if test "x$ac_cv_prog_cc_c89" != xno; then :
4532 ac_cpp='$CPP $CPPFLAGS'
4533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4538 ac_cpp='$CPP $CPPFLAGS'
4539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4543 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4544 if ${am_cv_prog_cc_c_o+:} false; then :
4545 $as_echo_n "(cached) " >&6
4547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4548 /* end confdefs.h. */
4558 # Make sure it works both with $CC and with simple cc.
4559 # Following AC_PROG_CC_C_O, we do the test twice because some
4560 # compilers refuse to overwrite an existing .o file with -o,
4561 # though they will create one.
4562 am_cv_prog_cc_c_o=yes
4564 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4565 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568 (exit $ac_status); } \
4569 && test -f conftest2.$ac_objext; then
4572 am_cv_prog_cc_c_o=no
4576 rm -f core conftest*
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4580 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4581 if test "$am_cv_prog_cc_c_o" != yes; then
4582 # Losing compiler, so override with the script.
4583 # FIXME: It is wrong to rewrite CC.
4584 # But if we don't then we get into trouble of one sort or another.
4585 # A longer-term fix would be to have automake use am__CC in this case,
4586 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4587 CC="$am_aux_dir/compile $CC"
4590 ac_cpp='$CPP $CPPFLAGS'
4591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4596 depcc="$CC" am_compiler_list=
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4599 $as_echo_n "checking dependency style of $depcc... " >&6; }
4600 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4601 $as_echo_n "(cached) " >&6
4603 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4604 # We make a subdir and do the tests there. Otherwise we can end up
4605 # making bogus files that we don't know about and never remove. For
4606 # instance it was reported that on HP-UX the gcc test will end up
4607 # making a dummy file named 'D' -- because '-MD' means "put the output
4611 # Copy depcomp to subdir because otherwise we won't find it if we're
4612 # using a relative directory.
4613 cp "$am_depcomp" conftest.dir
4615 # We will build objects and dependencies in a subdirectory because
4616 # it helps to detect inapplicable dependency modes. For instance
4617 # both Tru64's cc and ICC support -MD to output dependencies as a
4618 # side effect of compilation, but ICC will put the dependencies in
4619 # the current directory while Tru64 will put them in the object
4623 am_cv_CC_dependencies_compiler_type=none
4624 if test "$am_compiler_list" = ""; then
4625 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4628 case " $depcc " in #(
4629 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4632 for depmode in $am_compiler_list; do
4633 # Setup a source with many dependencies, because some compilers
4634 # like to wrap large dependency lists on column 80 (with \), and
4635 # we should not choose a depcomp mode which is confused by this.
4637 # We need to recreate these files for each test, as the compiler may
4638 # overwrite some of them when testing with obscure command lines.
4639 # This happens at least with the AIX C compiler.
4641 for i in 1 2 3 4 5 6; do
4642 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4643 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4644 # Solaris 10 /bin/sh.
4645 echo '/* dummy */' > sub/conftst$i.h
4647 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4649 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4650 # mode. It turns out that the SunPro C++ compiler does not properly
4651 # handle '-M -o', and we need to detect this. Also, some Intel
4652 # versions had trouble with output in subdirs.
4653 am__obj=sub/conftest.${OBJEXT-o}
4654 am__minus_obj="-o $am__obj"
4657 # This depmode causes a compiler race in universal mode.
4658 test "$am__universal" = false || continue
4661 # After this tag, mechanisms are not by side-effect, so they'll
4662 # only be used when explicitly requested.
4663 if test "x$enable_dependency_tracking" = xyes; then
4669 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4670 # This compiler won't grok '-c -o', but also, the minuso test has
4671 # not run yet. These depmodes are late enough in the game, and
4672 # so weak that their functioning should not be impacted.
4673 am__obj=conftest.${OBJEXT-o}
4678 if depmode=$depmode \
4679 source=sub/conftest.c object=$am__obj \
4680 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4681 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4682 >/dev/null 2>conftest.err &&
4683 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4684 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4685 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4686 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4687 # icc doesn't choke on unknown options, it will just issue warnings
4688 # or remarks (even with -Werror). So we grep stderr for any message
4689 # that says an option was ignored or not supported.
4690 # When given -MP, icc 7.0 and 7.1 complain thusly:
4691 # icc: Command line warning: ignoring option '-M'; no argument required
4692 # The diagnosis changed in icc 8.0:
4693 # icc: Command line remark: option '-MP' not supported
4694 if (grep 'ignoring option' conftest.err ||
4695 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4696 am_cv_CC_dependencies_compiler_type=$depmode
4705 am_cv_CC_dependencies_compiler_type=none
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4710 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4711 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4714 test "x$enable_dependency_tracking" != xno \
4715 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4717 am__fastdepCC_FALSE='#'
4719 am__fastdepCC_TRUE='#'
4720 am__fastdepCC_FALSE=
4726 ac_cpp='$CPP $CPPFLAGS'
4727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4731 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4732 # On Suns, sometimes $CPP names a directory.
4733 if test -n "$CPP" && test -d "$CPP"; then
4736 if test -z "$CPP"; then
4737 if ${ac_cv_prog_CPP+:} false; then :
4738 $as_echo_n "(cached) " >&6
4740 # Double quotes because CPP needs to be expanded
4741 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4744 for ac_c_preproc_warn_flag in '' yes
4746 # Use a header file that comes with gcc, so configuring glibc
4747 # with a fresh cross-compiler works.
4748 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4749 # <limits.h> exists even on freestanding compilers.
4750 # On the NeXT, cc -E runs the code through the compiler's parser,
4751 # not just through cpp. "Syntax error" is here to catch this case.
4752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4753 /* end confdefs.h. */
4755 # include <limits.h>
4757 # include <assert.h>
4761 if ac_fn_c_try_cpp "$LINENO"; then :
4764 # Broken: fails on valid input.
4767 rm -f conftest.err conftest.i conftest.$ac_ext
4769 # OK, works on sane cases. Now check whether nonexistent headers
4770 # can be detected and how.
4771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4772 /* end confdefs.h. */
4773 #include <ac_nonexistent.h>
4775 if ac_fn_c_try_cpp "$LINENO"; then :
4776 # Broken: success on invalid input.
4779 # Passes both tests.
4783 rm -f conftest.err conftest.i conftest.$ac_ext
4786 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4787 rm -f conftest.i conftest.err conftest.
$ac_ext
4788 if $ac_preproc_ok; then :
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4801 $as_echo "$CPP" >&6; }
4803 for ac_c_preproc_warn_flag
in '' yes
4805 # Use a header file that comes with gcc, so configuring glibc
4806 # with a fresh cross-compiler works.
4807 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4808 # <limits.h> exists even on freestanding compilers.
4809 # On the NeXT, cc -E runs the code through the compiler's parser,
4810 # not just through cpp. "Syntax error" is here to catch this case.
4811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4812 /* end confdefs.h. */
4814 # include <limits.h>
4816 # include <assert.h>
4820 if ac_fn_c_try_cpp
"$LINENO"; then :
4823 # Broken: fails on valid input.
4826 rm -f conftest.err conftest.i conftest.
$ac_ext
4828 # OK, works on sane cases. Now check whether nonexistent headers
4829 # can be detected and how.
4830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4831 /* end confdefs.h. */
4832 #include <ac_nonexistent.h>
4834 if ac_fn_c_try_cpp
"$LINENO"; then :
4835 # Broken: success on invalid input.
4838 # Passes both tests.
4842 rm -f conftest.err conftest.i conftest.
$ac_ext
4845 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4846 rm -f conftest.i conftest.err conftest.
$ac_ext
4847 if $ac_preproc_ok; then :
4850 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4851 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4852 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4853 See \`config.log' for more details" "$LINENO" 5; }
4857 ac_cpp
='$CPP $CPPFLAGS'
4858 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4859 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4860 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4864 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4865 if ${ac_cv_path_GREP+:} false
; then :
4866 $as_echo_n "(cached) " >&6
4868 if test -z "$GREP"; then
4869 ac_path_GREP_found
=false
4870 # Loop through the user's path and test for each of PROGNAME-LIST
4871 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4872 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4875 test -z "$as_dir" && as_dir
=.
4876 for ac_prog
in grep ggrep
; do
4877 for ac_exec_ext
in '' $ac_executable_extensions; do
4878 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4879 as_fn_executable_p
"$ac_path_GREP" ||
continue
4880 # Check for GNU ac_path_GREP and select it if it is found.
4881 # Check for GNU $ac_path_GREP
4882 case `"$ac_path_GREP" --version 2>&1` in
4884 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4887 $as_echo_n 0123456789 >"conftest.in"
4890 cat "conftest.in" "conftest.in" >"conftest.tmp"
4891 mv "conftest.tmp" "conftest.in"
4892 cp "conftest.in" "conftest.nl"
4893 $as_echo 'GREP' >> "conftest.nl"
4894 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4895 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4896 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4897 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4898 # Best one so far, save it but keep looking for a better one
4899 ac_cv_path_GREP
="$ac_path_GREP"
4900 ac_path_GREP_max
=$ac_count
4902 # 10*(2^10) chars as input seems more than enough
4903 test $ac_count -gt 10 && break
4905 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4908 $ac_path_GREP_found && break 3
4913 if test -z "$ac_cv_path_GREP"; then
4914 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4917 ac_cv_path_GREP
=$GREP
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4922 $as_echo "$ac_cv_path_GREP" >&6; }
4923 GREP
="$ac_cv_path_GREP"
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4927 $as_echo_n "checking for egrep... " >&6; }
4928 if ${ac_cv_path_EGREP+:} false
; then :
4929 $as_echo_n "(cached) " >&6
4931 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4932 then ac_cv_path_EGREP
="$GREP -E"
4934 if test -z "$EGREP"; then
4935 ac_path_EGREP_found
=false
4936 # Loop through the user's path and test for each of PROGNAME-LIST
4937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4938 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4941 test -z "$as_dir" && as_dir
=.
4942 for ac_prog
in egrep; do
4943 for ac_exec_ext
in '' $ac_executable_extensions; do
4944 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4945 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4946 # Check for GNU ac_path_EGREP and select it if it is found.
4947 # Check for GNU $ac_path_EGREP
4948 case `"$ac_path_EGREP" --version 2>&1` in
4950 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4953 $as_echo_n 0123456789 >"conftest.in"
4956 cat "conftest.in" "conftest.in" >"conftest.tmp"
4957 mv "conftest.tmp" "conftest.in"
4958 cp "conftest.in" "conftest.nl"
4959 $as_echo 'EGREP' >> "conftest.nl"
4960 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4961 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4962 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4963 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4964 # Best one so far, save it but keep looking for a better one
4965 ac_cv_path_EGREP
="$ac_path_EGREP"
4966 ac_path_EGREP_max
=$ac_count
4968 # 10*(2^10) chars as input seems more than enough
4969 test $ac_count -gt 10 && break
4971 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4974 $ac_path_EGREP_found && break 3
4979 if test -z "$ac_cv_path_EGREP"; then
4980 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4983 ac_cv_path_EGREP
=$EGREP
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4989 $as_echo "$ac_cv_path_EGREP" >&6; }
4990 EGREP
="$ac_cv_path_EGREP"
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4994 $as_echo_n "checking for ANSI C header files... " >&6; }
4995 if ${ac_cv_header_stdc+:} false
; then :
4996 $as_echo_n "(cached) " >&6
4998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4999 /* end confdefs.h. */
5013 if ac_fn_c_try_compile
"$LINENO"; then :
5014 ac_cv_header_stdc
=yes
5016 ac_cv_header_stdc
=no
5018 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5020 if test $ac_cv_header_stdc = yes; then
5021 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5023 /* end confdefs.h. */
5027 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5028 $EGREP "memchr" >/dev
/null
2>&1; then :
5031 ac_cv_header_stdc
=no
5037 if test $ac_cv_header_stdc = yes; then
5038 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5040 /* end confdefs.h. */
5044 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5045 $EGREP "free" >/dev
/null
2>&1; then :
5048 ac_cv_header_stdc
=no
5054 if test $ac_cv_header_stdc = yes; then
5055 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5056 if test "$cross_compiling" = yes; then :
5059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5060 /* end confdefs.h. */
5063 #if ((' ' & 0x0FF) == 0x020)
5064 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5065 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5067 # define ISLOWER(c) \
5068 (('a' <= (c) && (c) <= 'i') \
5069 || ('j' <= (c) && (c) <= 'r') \
5070 || ('s' <= (c) && (c) <= 'z'))
5071 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5074 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5079 for (i = 0; i < 256; i++)
5080 if (XOR (islower (i), ISLOWER (i))
5081 || toupper (i) != TOUPPER (i))
5086 if ac_fn_c_try_run
"$LINENO"; then :
5089 ac_cv_header_stdc
=no
5091 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5092 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5098 $as_echo "$ac_cv_header_stdc" >&6; }
5099 if test $ac_cv_header_stdc = yes; then
5101 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5105 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5106 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5107 inttypes.h stdint.h unistd.h
5109 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5110 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5112 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5113 cat >>confdefs.h
<<_ACEOF
5114 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5123 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5124 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
5131 if test "$MINIX" = yes; then
5133 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5136 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5139 $as_echo "#define _MINIX 1" >>confdefs.h
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5145 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5146 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
5147 $as_echo_n "(cached) " >&6
5149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5150 /* end confdefs.h. */
5152 # define __EXTENSIONS__ 1
5153 $ac_includes_default
5162 if ac_fn_c_try_compile
"$LINENO"; then :
5163 ac_cv_safe_to_define___extensions__
=yes
5165 ac_cv_safe_to_define___extensions__
=no
5167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5170 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5171 test $ac_cv_safe_to_define___extensions__ = yes &&
5172 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5174 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5176 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5178 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5180 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5185 # Check whether --with-toolexeclibdir was given.
5186 if test "${with_toolexeclibdir+set}" = set; then :
5187 withval
=$with_toolexeclibdir; case ${with_toolexeclibdir} in
5191 with_toolexeclibdir
=`echo $with_toolexeclibdir | sed 's,/$,,'`
5195 with_toolexeclibdir
=no
5200 # Calculate toolexeclibdir
5201 # Also toolexecdir, though it's only used in toolexeclibdir
5202 case ${version_specific_libs} in
5204 # Need the gcc compiler version to know where to install libraries
5205 # and header files if --enable-version-specific-runtime-libs option
5207 toolexecdir
='$(libdir)/gcc/$(target_alias)'
5208 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5211 if test -n "$with_cross_host" &&
5212 test x
"$with_cross_host" != x
"no"; then
5213 # Install a library built with a cross compiler in tooldir, not libdir.
5214 toolexecdir
='$(exec_prefix)/$(target_alias)'
5215 case ${with_toolexeclibdir} in
5217 toolexeclibdir
='$(toolexecdir)/lib'
5220 toolexeclibdir
=${with_toolexeclibdir}
5224 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
5225 toolexeclibdir
='$(libdir)'
5227 multi_os_directory
=`$CC -print-multi-os-directory`
5228 case $multi_os_directory in
5229 .
) ;; # Avoid trailing /.
5230 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
5237 # Create a spec file, so that compile/link tests don't fail
5238 test -f libgfortran.spec ||
touch libgfortran.spec
5241 ac_cpp
='$CPP $CPPFLAGS'
5242 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5243 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5244 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5246 # Check the compiler.
5247 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
5248 # We must force CC to /not/ be precious variables; otherwise
5249 # the wrong, non-multilib-adjusted value will be used in multilibs.
5250 # As a side effect, we have to subst CFLAGS ourselves.
5255 ac_cpp
='$CPP $CPPFLAGS'
5256 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5257 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5258 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5259 if test -n "$ac_tool_prefix"; then
5260 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5261 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5263 $as_echo_n "checking for $ac_word... " >&6; }
5264 if ${ac_cv_prog_CC+:} false
; then :
5265 $as_echo_n "(cached) " >&6
5267 if test -n "$CC"; then
5268 ac_cv_prog_CC
="$CC" # Let the user override the test.
5270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5274 test -z "$as_dir" && as_dir
=.
5275 for ac_exec_ext
in '' $ac_executable_extensions; do
5276 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5277 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5288 if test -n "$CC"; then
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5290 $as_echo "$CC" >&6; }
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5293 $as_echo "no" >&6; }
5298 if test -z "$ac_cv_prog_CC"; then
5300 # Extract the first word of "gcc", so it can be a program name with args.
5301 set dummy gcc
; ac_word
=$2
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5303 $as_echo_n "checking for $ac_word... " >&6; }
5304 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5305 $as_echo_n "(cached) " >&6
5307 if test -n "$ac_ct_CC"; then
5308 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5314 test -z "$as_dir" && as_dir
=.
5315 for ac_exec_ext
in '' $ac_executable_extensions; do
5316 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5317 ac_cv_prog_ac_ct_CC
="gcc"
5318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5327 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5328 if test -n "$ac_ct_CC"; then
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5330 $as_echo "$ac_ct_CC" >&6; }
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5333 $as_echo "no" >&6; }
5336 if test "x$ac_ct_CC" = x
; then
5339 case $cross_compiling:$ac_tool_warned in
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5342 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5343 ac_tool_warned
=yes ;;
5351 if test -z "$CC"; then
5352 if test -n "$ac_tool_prefix"; then
5353 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5354 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5356 $as_echo_n "checking for $ac_word... " >&6; }
5357 if ${ac_cv_prog_CC+:} false
; then :
5358 $as_echo_n "(cached) " >&6
5360 if test -n "$CC"; then
5361 ac_cv_prog_CC
="$CC" # Let the user override the test.
5363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5367 test -z "$as_dir" && as_dir
=.
5368 for ac_exec_ext
in '' $ac_executable_extensions; do
5369 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5370 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5381 if test -n "$CC"; then
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5383 $as_echo "$CC" >&6; }
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5386 $as_echo "no" >&6; }
5392 if test -z "$CC"; then
5393 # Extract the first word of "cc", so it can be a program name with args.
5394 set dummy cc
; ac_word
=$2
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5396 $as_echo_n "checking for $ac_word... " >&6; }
5397 if ${ac_cv_prog_CC+:} false
; then :
5398 $as_echo_n "(cached) " >&6
5400 if test -n "$CC"; then
5401 ac_cv_prog_CC
="$CC" # Let the user override the test.
5404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5408 test -z "$as_dir" && as_dir
=.
5409 for ac_exec_ext
in '' $ac_executable_extensions; do
5410 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5411 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5412 ac_prog_rejected
=yes
5416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5423 if test $ac_prog_rejected = yes; then
5424 # We found a bogon in the path, so make sure we never use it.
5425 set dummy
$ac_cv_prog_CC
5427 if test $# != 0; then
5428 # We chose a different compiler from the bogus one.
5429 # However, it has the same basename, so the bogon will be chosen
5430 # first if we set CC to just the basename; use the full file name.
5432 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5438 if test -n "$CC"; then
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5440 $as_echo "$CC" >&6; }
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5443 $as_echo "no" >&6; }
5448 if test -z "$CC"; then
5449 if test -n "$ac_tool_prefix"; then
5450 for ac_prog
in cl.exe
5452 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5453 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5455 $as_echo_n "checking for $ac_word... " >&6; }
5456 if ${ac_cv_prog_CC+:} false
; then :
5457 $as_echo_n "(cached) " >&6
5459 if test -n "$CC"; then
5460 ac_cv_prog_CC
="$CC" # Let the user override the test.
5462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5466 test -z "$as_dir" && as_dir
=.
5467 for ac_exec_ext
in '' $ac_executable_extensions; do
5468 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5469 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5480 if test -n "$CC"; then
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5482 $as_echo "$CC" >&6; }
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5485 $as_echo "no" >&6; }
5489 test -n "$CC" && break
5492 if test -z "$CC"; then
5494 for ac_prog
in cl.exe
5496 # Extract the first word of "$ac_prog", so it can be a program name with args.
5497 set dummy
$ac_prog; ac_word
=$2
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5499 $as_echo_n "checking for $ac_word... " >&6; }
5500 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5501 $as_echo_n "(cached) " >&6
5503 if test -n "$ac_ct_CC"; then
5504 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5510 test -z "$as_dir" && as_dir
=.
5511 for ac_exec_ext
in '' $ac_executable_extensions; do
5512 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5513 ac_cv_prog_ac_ct_CC
="$ac_prog"
5514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5523 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5524 if test -n "$ac_ct_CC"; then
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5526 $as_echo "$ac_ct_CC" >&6; }
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5529 $as_echo "no" >&6; }
5533 test -n "$ac_ct_CC" && break
5536 if test "x$ac_ct_CC" = x
; then
5539 case $cross_compiling:$ac_tool_warned in
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5542 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5543 ac_tool_warned
=yes ;;
5552 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5553 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5554 as_fn_error $?
"no acceptable C compiler found in \$PATH
5555 See \`config.log' for more details" "$LINENO" 5; }
5557 # Provide some information about the compiler.
5558 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5561 for ac_option
in --version -v -V -qversion; do
5562 { { ac_try
="$ac_compiler $ac_option >&5"
5564 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5565 *) ac_try_echo=$ac_try;;
5567 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5568 $as_echo "$ac_try_echo"; } >&5
5569 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5571 if test -s conftest.err; then
5573 ... rest of stderr output deleted ...
5574 10q' conftest.err >conftest.er1
5575 cat conftest.er1 >&5
5577 rm -f conftest.er1 conftest.err
5578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5579 test $ac_status = 0; }
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5583 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5584 if ${ac_cv_c_compiler_gnu+:} false; then :
5585 $as_echo_n "(cached) " >&6
5587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5588 /* end confdefs.h. */
5601 if ac_fn_c_try_compile "$LINENO"; then :
5606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5607 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5611 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5612 if test $ac_compiler_gnu = yes; then
5617 ac_test_CFLAGS=${CFLAGS+set}
5618 ac_save_CFLAGS=$CFLAGS
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5620 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5621 if ${ac_cv_prog_cc_g+:} false; then :
5622 $as_echo_n "(cached) " >&6
5624 ac_save_c_werror_flag=$ac_c_werror_flag
5625 ac_c_werror_flag=yes
5628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5629 /* end confdefs.h. */
5639 if ac_fn_c_try_compile "$LINENO"; then :
5643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5644 /* end confdefs.h. */
5654 if ac_fn_c_try_compile "$LINENO"; then :
5657 ac_c_werror_flag=$ac_save_c_werror_flag
5659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5660 /* end confdefs.h. */
5670 if ac_fn_c_try_compile "$LINENO"; then :
5673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5678 ac_c_werror_flag=$ac_save_c_werror_flag
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5681 $as_echo "$ac_cv_prog_cc_g" >&6; }
5682 if test "$ac_test_CFLAGS" = set; then
5683 CFLAGS=$ac_save_CFLAGS
5684 elif test $ac_cv_prog_cc_g = yes; then
5685 if test "$GCC" = yes; then
5691 if test "$GCC" = yes; then
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5698 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5699 if ${ac_cv_prog_cc_c89+:} false; then :
5700 $as_echo_n "(cached) " >&6
5702 ac_cv_prog_cc_c89=no
5704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5705 /* end confdefs.h. */
5709 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5710 struct buf { int x; };
5711 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5712 static char *e (p, i)
5718 static char *f (char * (*g) (char **, int), char **p, ...)
5723 s = g (p, va_arg (v,int));
5728 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5729 function prototypes and stuff, but not '\xHH' hex character constants.
5730 These don't provoke an error unfortunately, instead are silently treated
5731 as 'x'. The following induces an error, until -std is added to get
5732 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5733 array size at least. It's necessary to write '\x00'==0 to get something
5734 that's true only with -std. */
5735 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5737 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5738 inside strings and character constants. */
5740 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5742 int test (int i, double x);
5743 struct s1 {int (*f) (int a);};
5744 struct s2 {int (*f) (double a);};
5745 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5751 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5756 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5757 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5759 CC="$ac_save_CC $ac_arg"
5760 if ac_fn_c_try_compile "$LINENO"; then :
5761 ac_cv_prog_cc_c89=$ac_arg
5763 rm -f core conftest.err conftest.$ac_objext
5764 test "x$ac_cv_prog_cc_c89" != "xno" && break
5766 rm -f conftest.$ac_ext
5771 case "x$ac_cv_prog_cc_c89" in
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5774 $as_echo "none needed" >&6; } ;;
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5777 $as_echo "unsupported" >&6; } ;;
5779 CC="$CC $ac_cv_prog_cc_c89"
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5781 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5783 if test "x$ac_cv_prog_cc_c89" != xno; then :
5788 ac_cpp='$CPP $CPPFLAGS'
5789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5794 ac_cpp='$CPP $CPPFLAGS'
5795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5799 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5800 if ${am_cv_prog_cc_c_o+:} false; then :
5801 $as_echo_n "(cached) " >&6
5803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5804 /* end confdefs.h. */
5814 # Make sure it works both with $CC and with simple cc.
5815 # Following AC_PROG_CC_C_O, we do the test twice because some
5816 # compilers refuse to overwrite an existing .o file with -o,
5817 # though they will create one.
5818 am_cv_prog_cc_c_o=yes
5820 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5821 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5824 (exit $ac_status); } \
5825 && test -f conftest2.$ac_objext; then
5828 am_cv_prog_cc_c_o=no
5832 rm -f core conftest*
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5836 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5837 if test "$am_cv_prog_cc_c_o" != yes; then
5838 # Losing compiler, so override with the script.
5839 # FIXME: It is wrong to rewrite CC.
5840 # But if we don't then we get into trouble of one sort or another.
5841 # A longer-term fix would be to have automake use am__CC in this case,
5842 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5843 CC="$am_aux_dir/compile $CC"
5846 ac_cpp='$CPP $CPPFLAGS'
5847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5852 depcc="$CC" am_compiler_list=
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5855 $as_echo_n "checking dependency style of $depcc... " >&6; }
5856 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5857 $as_echo_n "(cached) " >&6
5859 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5860 # We make a subdir and do the tests there. Otherwise we can end up
5861 # making bogus files that we don't know about and never remove. For
5862 # instance it was reported that on HP-UX the gcc test will end up
5863 # making a dummy file named 'D' -- because '-MD' means "put the output
5867 # Copy depcomp to subdir because otherwise we won't find it if we're
5868 # using a relative directory.
5869 cp "$am_depcomp" conftest.dir
5871 # We will build objects and dependencies in a subdirectory because
5872 # it helps to detect inapplicable dependency modes. For instance
5873 # both Tru64's cc and ICC support -MD to output dependencies as a
5874 # side effect of compilation, but ICC will put the dependencies in
5875 # the current directory while Tru64 will put them in the object
5879 am_cv_CC_dependencies_compiler_type=none
5880 if test "$am_compiler_list" = ""; then
5881 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5884 case " $depcc " in #(
5885 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5888 for depmode in $am_compiler_list; do
5889 # Setup a source with many dependencies, because some compilers
5890 # like to wrap large dependency lists on column 80 (with \), and
5891 # we should not choose a depcomp mode which is confused by this.
5893 # We need to recreate these files for each test, as the compiler may
5894 # overwrite some of them when testing with obscure command lines.
5895 # This happens at least with the AIX C compiler.
5897 for i in 1 2 3 4 5 6; do
5898 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5899 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5900 # Solaris 10 /bin/sh.
5901 echo '/* dummy */' > sub/conftst$i.h
5903 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5905 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5906 # mode. It turns out that the SunPro C++ compiler does not properly
5907 # handle '-M -o', and we need to detect this. Also, some Intel
5908 # versions had trouble with output in subdirs.
5909 am__obj=sub/conftest.${OBJEXT-o}
5910 am__minus_obj="-o $am__obj"
5913 # This depmode causes a compiler race in universal mode.
5914 test "$am__universal" = false || continue
5917 # After this tag, mechanisms are not by side-effect, so they'll
5918 # only be used when explicitly requested.
5919 if test "x$enable_dependency_tracking" = xyes; then
5925 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5926 # This compiler won't grok '-c -o', but also, the minuso test has
5927 # not run yet. These depmodes are late enough in the game, and
5928 # so weak that their functioning should not be impacted.
5929 am__obj=conftest.${OBJEXT-o}
5934 if depmode=$depmode \
5935 source=sub/conftest.c object=$am__obj \
5936 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5937 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5938 >/dev/null 2>conftest.err &&
5939 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5940 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5941 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5942 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5943 # icc doesn't choke on unknown options, it will just issue warnings
5944 # or remarks (even with -Werror). So we grep stderr for any message
5945 # that says an option was ignored or not supported.
5946 # When given -MP, icc 7.0 and 7.1 complain thusly:
5947 # icc: Command line warning: ignoring option '-M'; no argument required
5948 # The diagnosis changed in icc 8.0:
5949 # icc: Command line remark: option '-MP' not supported
5950 if (grep 'ignoring option' conftest.err ||
5951 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5952 am_cv_CC_dependencies_compiler_type=$depmode
5961 am_cv_CC_dependencies_compiler_type=none
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5966 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5967 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5970 test "x$enable_dependency_tracking" != xno \
5971 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5973 am__fastdepCC_FALSE='#'
5975 am__fastdepCC_TRUE='#'
5976 am__fastdepCC_FALSE=
5986 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5987 if test "x$GCC" = "xyes"; then
5988 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5989 ## We like to use C11 and C99 routines when available. This makes
5991 ## __STDC_VERSION__ is set such that libc includes make them available.
5992 AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla"
5993 ## Compile the following tests with the same system header contents
5994 ## that we'll encounter when compiling our own source files.
5995 CFLAGS="-std=gnu11 $CFLAGS"
5998 # Add CET specific flags if CET is enabled
5999 # Check whether --enable-cet was given.
6000 if test "${enable_cet+set}" = set; then :
6001 enableval=$enable_cet;
6002 case "$enableval" in
6004 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
6013 $as_echo_n "checking for CET support... " >&6; }
6015 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
6017 i[34567]86-*-linux* | x86_64-*-linux*)
6018 case "$enable_cet" in
6020 # Check if target supports multi-byte NOPs
6021 # and if compiler and assembler support CET insn.
6022 cet_save_CFLAGS="$CFLAGS"
6023 CFLAGS="$CFLAGS -fcf-protection"
6024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6025 /* end confdefs.h. */
6031 #if !defined(__SSE2__)
6032 #error target does not support multi-byte NOPs
6041 if ac_fn_c_try_compile "$LINENO"; then :
6046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6047 CFLAGS="$cet_save_CFLAGS"
6050 # Check if assembler supports CET.
6051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6052 /* end confdefs.h. */
6062 if ac_fn_c_try_compile "$LINENO"; then :
6065 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
6067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6075 if test x$enable_cet = xyes; then
6076 CET_FLAGS="-fcf-protection -mshstk"
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6078 $as_echo "yes" >&6; }
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6081 $as_echo "no" >&6; }
6084 AM_FCFLAGS="$AM_FCFLAGS $CET_FLAGS"
6085 AM_CFLAGS="$AM_CFLAGS $CET_FLAGS"
6086 CFLAGS="$CFLAGS $CET_FLAGS"
6092 # Check for symbol versioning (copied from libssp).
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
6094 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
6095 # Check whether --enable-symvers was given.
6096 if test "${enable_symvers+set}" = set; then :
6097 enableval=$enable_symvers; gfortran_use_symver=$enableval
6099 gfortran_use_symver=yes
6102 if test "x$gfortran_use_symver" != xno; then
6103 save_LDFLAGS="$LDFLAGS"
6104 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
6105 cat > conftest.map <<EOF
6107 global: *foo*; bar; local: *;
6110 if test x$gcc_no_link = xyes; then
6111 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6114 /* end confdefs.h. */
6124 if ac_fn_c_try_link "$LINENO"; then :
6125 gfortran_use_symver=gnu
6127 gfortran_use_symver=no
6129 rm -f core conftest.err conftest.$ac_objext \
6130 conftest$ac_exeext conftest.$ac_ext
6131 if test x$gfortran_use_symver = xno; then
6132 case "$target_os" in
6134 LDFLAGS="$save_LDFLAGS"
6135 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
6136 # Sun ld cannot handle wildcards and treats all entries as undefined.
6137 cat > conftest.map <<EOF
6139 global: foo; local: *;
6142 if test x$gcc_no_link = xyes; then
6143 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6146 /* end confdefs.h. */
6156 if ac_fn_c_try_link "$LINENO"; then :
6157 gfortran_use_symver=sun
6159 gfortran_use_symver=no
6161 rm -f core conftest.err conftest.$ac_objext \
6162 conftest$ac_exeext conftest.$ac_ext
6166 LDFLAGS="$save_LDFLAGS"
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
6169 $as_echo "$gfortran_use_symver" >&6; }
6170 if test "x$gfortran_use_symver" != xno; then
6171 LIBGFOR_USE_SYMVER_TRUE=
6172 LIBGFOR_USE_SYMVER_FALSE='#'
6174 LIBGFOR_USE_SYMVER_TRUE='#'
6175 LIBGFOR_USE_SYMVER_FALSE=
6178 if test "x$gfortran_use_symver" = xgnu; then
6179 LIBGFOR_USE_SYMVER_GNU_TRUE=
6180 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
6182 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
6183 LIBGFOR_USE_SYMVER_GNU_FALSE=
6186 if test "x$gfortran_use_symver" = xsun; then
6187 LIBGFOR_USE_SYMVER_SUN_TRUE=
6188 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
6190 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
6191 LIBGFOR_USE_SYMVER_SUN_FALSE=
6195 # For GPU offloading, not everything in libfortran can be supported.
6196 # Currently, the only target that has this problem is nvptx. The
6197 # following is a (partial) list of features that are unsupportable on
6198 # this particular target:
6201 # * C library support for I/O, with printf as the one notable exception
6202 # * C library support for other features such as signal, environment
6203 # variables, time functions
6205 if test "x${target_cpu}" = xnvptx; then
6206 LIBGFOR_MINIMAL_TRUE=
6207 LIBGFOR_MINIMAL_FALSE='#'
6209 LIBGFOR_MINIMAL_TRUE='#'
6210 LIBGFOR_MINIMAL_FALSE=
6214 # Some compiler target support may have limited support for integer
6215 # or floating point numbers – or may want to reduce the libgfortran size
6216 # although they do have the support.
6217 LIBGOMP_CHECKED_INT_KINDS="1 2 4 8 16"
6218 LIBGOMP_CHECKED_REAL_KINDS="4 8 10 16"
6223 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
6224 # similarly to how libstdc++ does it
6225 ac_test_CFLAGS="${CFLAGS+set}"
6226 ac_save_CFLAGS="$CFLAGS"
6228 # Check for -ffunction-sections -fdata-sections
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
6230 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
6231 CFLAGS='-Werror -ffunction-sections -fdata-sections'
6232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6233 /* end confdefs.h. */
6243 if ac_fn_c_try_compile "$LINENO"; then :
6248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6249 if test "$ac_test_CFLAGS" = set; then
6250 CFLAGS="$ac_save_CFLAGS"
6252 # this is the suspicious part
6255 if test x"$ac_fdsections" = x"yes"; then
6256 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
6259 $as_echo "$ac_fdsections" >&6; }
6262 # Check linker hardware capability support.
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6264 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6265 if ${ac_cv_path_SED+:} false; then :
6266 $as_echo_n "(cached) " >&6
6268 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6269 for ac_i in 1 2 3 4 5 6 7; do
6270 ac_script="$ac_script$as_nl$ac_script"
6272 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6273 { ac_script=; unset ac_script;}
6274 if test -z "$SED"; then
6275 ac_path_SED_found=false
6276 # Loop through the user's path and test for each of PROGNAME-LIST
6277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6281 test -z "$as_dir" && as_dir=.
6282 for ac_prog in sed gsed; do
6283 for ac_exec_ext in '' $ac_executable_extensions; do
6284 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6285 as_fn_executable_p "$ac_path_SED" || continue
6286 # Check for GNU ac_path_SED and select it if it is found.
6287 # Check for GNU $ac_path_SED
6288 case `"$ac_path_SED" --version 2>&1` in
6290 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6293 $as_echo_n 0123456789 >"conftest.in"
6296 cat "conftest.in" "conftest.in" >"conftest.tmp"
6297 mv "conftest.tmp" "conftest.in"
6298 cp "conftest.in" "conftest.nl"
6299 $as_echo '' >> "conftest.nl"
6300 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6301 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6302 as_fn_arith $ac_count + 1 && ac_count=$as_val
6303 if test $ac_count -gt ${ac_path_SED_max-0}; then
6304 # Best one so far, save it but keep looking for a better one
6305 ac_cv_path_SED="$ac_path_SED"
6306 ac_path_SED_max=$ac_count
6308 # 10*(2^10) chars as input seems more than enough
6309 test $ac_count -gt 10 && break
6311 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6314 $ac_path_SED_found && break 3
6319 if test -z "$ac_cv_path_SED"; then
6320 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6328 $as_echo "$ac_cv_path_SED" >&6; }
6329 SED="$ac_cv_path_SED"
6332 test -z "$SED" && SED=sed
6333 Xsed="$SED -e 1s/^X//"
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6346 $as_echo_n "checking for fgrep... " >&6; }
6347 if ${ac_cv_path_FGREP+:} false; then :
6348 $as_echo_n "(cached) " >&6
6350 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6351 then ac_cv_path_FGREP="$GREP -F"
6353 if test -z "$FGREP"; then
6354 ac_path_FGREP_found=false
6355 # Loop through the user's path and test for each of PROGNAME-LIST
6356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6357 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6360 test -z "$as_dir" && as_dir=.
6361 for ac_prog in fgrep; do
6362 for ac_exec_ext in '' $ac_executable_extensions; do
6363 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6364 as_fn_executable_p "$ac_path_FGREP" || continue
6365 # Check for GNU ac_path_FGREP and select it if it is found.
6366 # Check for GNU $ac_path_FGREP
6367 case `"$ac_path_FGREP" --version 2>&1` in
6369 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6372 $as_echo_n 0123456789 >"conftest.in"
6375 cat "conftest.in" "conftest.in" >"conftest.tmp"
6376 mv "conftest.tmp" "conftest.in"
6377 cp "conftest.in" "conftest.nl"
6378 $as_echo 'FGREP' >> "conftest.nl"
6379 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6380 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6381 as_fn_arith $ac_count + 1 && ac_count=$as_val
6382 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6383 # Best one so far, save it but keep looking for a better one
6384 ac_cv_path_FGREP="$ac_path_FGREP"
6385 ac_path_FGREP_max=$ac_count
6387 # 10*(2^10) chars as input seems more than enough
6388 test $ac_count -gt 10 && break
6390 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6393 $ac_path_FGREP_found && break 3
6398 if test -z "$ac_cv_path_FGREP"; then
6399 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6402 ac_cv_path_FGREP=$FGREP
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6408 $as_echo "$ac_cv_path_FGREP" >&6; }
6409 FGREP="$ac_cv_path_FGREP"
6412 test -z "$GREP" && GREP=grep
6430 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6431 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6432 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6435 $as_echo_n "checking how to print strings... " >&6; }
6436 # Test print first, because it will be a builtin if present.
6437 if test "X`print
-r -- -n 2>/dev
/null
`" = X-n && \
6438 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
6440 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
6443 # Use this function as a fallback that always works.
6444 func_fallback_echo ()
6446 eval 'cat <<_LTECHO_EOF
6450 ECHO='func_fallback_echo'
6453 # func_echo_all arg...
6454 # Invoke $ECHO with all args, space-separated.
6461 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6462 $as_echo "printf" >&6; } ;;
6463 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6464 $as_echo "print -r" >&6; } ;;
6465 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6466 $as_echo "cat" >&6; } ;;
6484 # Check whether --with-gnu-ld was given.
6485 if test "${with_gnu_ld+set}" = set; then :
6486 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6492 if test "$GCC" = yes; then
6493 # Check if gcc -print-prog-name=ld gives a path.
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6495 $as_echo_n "checking for ld used by $CC... " >&6; }
6498 # gcc leaves a trailing carriage return which upsets mingw
6499 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
6501 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
6504 # Accept absolute paths.
6506 re_direlt='/[^/][^/]*/\.\./'
6507 # Canonicalize the pathname of ld
6508 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
6509 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6510 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
6512 test -z "$LD" && LD="$ac_prog"
6515 # If it fails, then pretend we aren't using GCC.
6519 # If it is relative, then search for the first ld in PATH.
6523 elif test "$with_gnu_ld" = yes; then
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6525 $as_echo_n "checking for GNU ld... " >&6; }
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6528 $as_echo_n "checking for non-GNU ld... " >&6; }
6530 if ${lt_cv_path_LD+:} false; then :
6531 $as_echo_n "(cached) " >&6
6533 if test -z "$LD"; then
6534 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6535 for ac_dir in $PATH; do
6537 test -z "$ac_dir" && ac_dir=.
6538 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6539 lt_cv_path_LD="$ac_dir/$ac_prog"
6540 # Check to see if the program is GNU ld. I'd rather use --version,
6541 # but apparently some variants of GNU ld only accept -v.
6542 # Break only if it was the GNU/non-GNU ld that we prefer.
6543 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
6544 *GNU* | *'with BFD'*)
6545 test "$with_gnu_ld" != no && break
6548 test "$with_gnu_ld" != yes && break
6555 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6560 if test -n "$LD"; then
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6562 $as_echo "$LD" >&6; }
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6565 $as_echo "no" >&6; }
6567 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6569 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6570 if ${lt_cv_prog_gnu_ld+:} false; then :
6571 $as_echo_n "(cached) " >&6
6573 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6574 case `$LD -v 2>&1 </dev
/null
` in
6575 *GNU* | *'with BFD'*)
6576 lt_cv_prog_gnu_ld=yes
6579 lt_cv_prog_gnu_ld=no
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6584 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6585 with_gnu_ld=$lt_cv_prog_gnu_ld
6596 test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS=''
6599 ac_save_LDFLAGS="$LDFLAGS"
6600 LDFLAGS="$LFLAGS -mclear-hwcap"
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5
6603 $as_echo_n "checking for -mclear-hwcap... " >&6; }
6604 if test x$gcc_no_link = xyes; then
6605 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6608 /* end confdefs.h. */
6618 if ac_fn_c_try_link "$LINENO"; then :
6619 ac_hwcap_ldflags=yes
6623 rm -f core conftest.err conftest.$ac_objext \
6624 conftest$ac_exeext conftest.$ac_ext
6625 if test "$ac_hwcap_ldflags" = "yes"; then
6626 HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS"
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5
6629 $as_echo "$ac_hwcap_ldflags" >&6; }
6631 LDFLAGS="$ac_save_LDFLAGS"
6635 if test $ac_hwcap_ldflags != no; then
6637 HAVE_HWCAP_FALSE='#'
6645 # Find other programs we need.
6646 if test -n "$ac_tool_prefix"; then
6647 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6648 set dummy ${ac_tool_prefix}as; ac_word=$2
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6650 $as_echo_n "checking for $ac_word... " >&6; }
6651 if ${ac_cv_prog_AS+:} false; then :
6652 $as_echo_n "(cached) " >&6
6654 if test -n "$AS"; then
6655 ac_cv_prog_AS="$AS" # Let the user override the test.
6657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6661 test -z "$as_dir" && as_dir=.
6662 for ac_exec_ext in '' $ac_executable_extensions; do
6663 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6664 ac_cv_prog_AS="${ac_tool_prefix}as"
6665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6675 if test -n "$AS"; then
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6677 $as_echo "$AS" >&6; }
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6680 $as_echo "no" >&6; }
6685 if test -z "$ac_cv_prog_AS"; then
6687 # Extract the first word of "as", so it can be a program name with args.
6688 set dummy as; ac_word=$2
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6690 $as_echo_n "checking for $ac_word... " >&6; }
6691 if ${ac_cv_prog_ac_ct_AS+:} false; then :
6692 $as_echo_n "(cached) " >&6
6694 if test -n "$ac_ct_AS"; then
6695 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6701 test -z "$as_dir" && as_dir=.
6702 for ac_exec_ext in '' $ac_executable_extensions; do
6703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6704 ac_cv_prog_ac_ct_AS="as"
6705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6714 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6715 if test -n "$ac_ct_AS"; then
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6717 $as_echo "$ac_ct_AS" >&6; }
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6720 $as_echo "no" >&6; }
6723 if test "x$ac_ct_AS" = x; then
6726 case $cross_compiling:$ac_tool_warned in
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6729 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6730 ac_tool_warned=yes ;;
6738 if test -n "$ac_tool_prefix"; then
6739 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6740 set dummy ${ac_tool_prefix}ar; ac_word=$2
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6742 $as_echo_n "checking for $ac_word... " >&6; }
6743 if ${ac_cv_prog_AR+:} false; then :
6744 $as_echo_n "(cached) " >&6
6746 if test -n "$AR"; then
6747 ac_cv_prog_AR="$AR" # Let the user override the test.
6749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6753 test -z "$as_dir" && as_dir=.
6754 for ac_exec_ext in '' $ac_executable_extensions; do
6755 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6756 ac_cv_prog_AR="${ac_tool_prefix}ar"
6757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6767 if test -n "$AR"; then
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6769 $as_echo "$AR" >&6; }
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6772 $as_echo "no" >&6; }
6777 if test -z "$ac_cv_prog_AR"; then
6779 # Extract the first word of "ar", so it can be a program name with args.
6780 set dummy ar; ac_word=$2
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6782 $as_echo_n "checking for $ac_word... " >&6; }
6783 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6784 $as_echo_n "(cached) " >&6
6786 if test -n "$ac_ct_AR"; then
6787 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6793 test -z "$as_dir" && as_dir=.
6794 for ac_exec_ext in '' $ac_executable_extensions; do
6795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6796 ac_cv_prog_ac_ct_AR="ar"
6797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6806 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6807 if test -n "$ac_ct_AR"; then
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6809 $as_echo "$ac_ct_AR" >&6; }
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6812 $as_echo "no" >&6; }
6815 if test "x$ac_ct_AR" = x; then
6818 case $cross_compiling:$ac_tool_warned in
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6822 ac_tool_warned=yes ;;
6830 if test -n "$ac_tool_prefix"; then
6831 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6832 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6834 $as_echo_n "checking for $ac_word... " >&6; }
6835 if ${ac_cv_prog_RANLIB+:} false; then :
6836 $as_echo_n "(cached) " >&6
6838 if test -n "$RANLIB"; then
6839 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6845 test -z "$as_dir" && as_dir=.
6846 for ac_exec_ext in '' $ac_executable_extensions; do
6847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6848 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6858 RANLIB=$ac_cv_prog_RANLIB
6859 if test -n "$RANLIB"; then
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6861 $as_echo "$RANLIB" >&6; }
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6864 $as_echo "no" >&6; }
6869 if test -z "$ac_cv_prog_RANLIB"; then
6870 ac_ct_RANLIB=$RANLIB
6871 # Extract the first word of "ranlib", so it can be a program name with args.
6872 set dummy ranlib; ac_word=$2
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6874 $as_echo_n "checking for $ac_word... " >&6; }
6875 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6876 $as_echo_n "(cached) " >&6
6878 if test -n "$ac_ct_RANLIB"; then
6879 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6885 test -z "$as_dir" && as_dir=.
6886 for ac_exec_ext in '' $ac_executable_extensions; do
6887 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6888 ac_cv_prog_ac_ct_RANLIB="ranlib"
6889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6898 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6899 if test -n "$ac_ct_RANLIB"; then
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6901 $as_echo "$ac_ct_RANLIB" >&6; }
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6904 $as_echo "no" >&6; }
6907 if test "x$ac_ct_RANLIB" = x; then
6908 RANLIB="ranlib-not-found-in-path-error"
6910 case $cross_compiling:$ac_tool_warned in
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6913 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6914 ac_tool_warned=yes ;;
6916 RANLIB=$ac_ct_RANLIB
6919 RANLIB="$ac_cv_prog_RANLIB"
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6923 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6925 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6926 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6927 $as_echo_n "(cached) " >&6
6929 cat >conftest.make <<\_ACEOF
6932 @echo '@@@%%%=$(MAKE)=@@@%%%'
6934 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6935 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
6937 eval ac_cv_prog_make_${ac_make}_set=yes;;
6939 eval ac_cv_prog_make_${ac_make}_set=no;;
6943 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6945 $as_echo "yes" >&6; }
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6949 $as_echo "no" >&6; }
6950 SET_MAKE="MAKE=${MAKE-make}"
6956 #AC_MSG_NOTICE([====== Starting libtool configuration])
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
6964 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
6969 macro_version='2.2.7a'
6970 macro_revision='1.3134'
6984 ltmain="$ac_aux_dir/ltmain.sh"
6986 # Backslashify metacharacters that are still active within
6987 # double-quoted strings.
6988 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6990 # Same as above, but do not quote variable references.
6991 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6993 # Sed substitution to delay expansion of an escaped shell variable in a
6994 # double_quote_subst'ed string.
6995 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6997 # Sed substitution to delay expansion of an escaped single quote.
6998 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7000 # Sed substitution to avoid accidental globbing in evaled expressions
7001 no_glob_subst='s/\*/\\\*/g'
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
7004 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
7005 if ${lt_cv_path_NM+:} false; then :
7006 $as_echo_n "(cached
) " >&6
7008 if test -n "$NM"; then
7009 # Let the user override the test.
7012 lt_nm_to_check="${ac_tool_prefix}nm
"
7013 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7014 lt_nm_to_check="$lt_nm_to_check nm
"
7016 for lt_tmp_nm in $lt_nm_to_check; do
7017 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7018 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7020 test -z "$ac_dir" && ac_dir=.
7021 tmp_nm="$ac_dir/$lt_tmp_nm"
7022 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7023 # Check to see if the nm accepts a BSD-compat flag.
7024 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7025 # nm: unknown option "B
" ignored
7026 # Tru64's nm complains that /dev/null is an invalid object file
7027 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7028 */dev/null* | *'Invalid file or object type'*)
7029 lt_cv_path_NM="$tmp_nm -B"
7033 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7035 lt_cv_path_NM="$tmp_nm -p"
7039 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7040 continue # so that we can try to find one that supports BSD flags
7049 : ${lt_cv_path_NM=no}
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
7053 $as_echo "$lt_cv_path_NM" >&6; }
7054 if test "$lt_cv_path_NM" != "no
"; then
7057 # Didn't find any BSD compatible name lister, look for dumpbin.
7058 if test -n "$DUMPBIN"; then :
7059 # Let the user override the test.
7061 if test -n "$ac_tool_prefix"; then
7062 for ac_prog in dumpbin "link
-dump"
7064 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7065 set dummy $ac_tool_prefix$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_DUMPBIN+:} false; then :
7069 $as_echo_n "(cached
) " >&6
7071 if test -n "$DUMPBIN"; then
7072 ac_cv_prog_DUMPBIN="$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_DUMPBIN="$ac_tool_prefix$ac_prog"
7082 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7091 DUMPBIN=$ac_cv_prog_DUMPBIN
7092 if test -n "$DUMPBIN"; then
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
7094 $as_echo "$DUMPBIN" >&6; }
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7097 $as_echo "no
" >&6; }
7101 test -n "$DUMPBIN" && break
7104 if test -z "$DUMPBIN"; then
7105 ac_ct_DUMPBIN=$DUMPBIN
7106 for ac_prog in dumpbin "link
-dump"
7108 # Extract the first word of "$ac_prog", so it can be a program name with args.
7109 set dummy $ac_prog; ac_word=$2
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7111 $as_echo_n "checking
for $ac_word...
" >&6; }
7112 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7113 $as_echo_n "(cached
) " >&6
7115 if test -n "$ac_ct_DUMPBIN"; then
7116 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7122 test -z "$as_dir" && as_dir=.
7123 for ac_exec_ext in '' $ac_executable_extensions; do
7124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7125 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7126 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7135 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7136 if test -n "$ac_ct_DUMPBIN"; then
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
7138 $as_echo "$ac_ct_DUMPBIN" >&6; }
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7141 $as_echo "no
" >&6; }
7145 test -n "$ac_ct_DUMPBIN" && break
7148 if test "x
$ac_ct_DUMPBIN" = x; then
7151 case $cross_compiling:$ac_tool_warned in
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7154 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7155 ac_tool_warned=yes ;;
7157 DUMPBIN=$ac_ct_DUMPBIN
7161 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7163 DUMPBIN="$DUMPBIN -symbols"
7171 if test "$DUMPBIN" != ":"; then
7175 test -z "$NM" && NM=nm
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
7183 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
7184 if ${lt_cv_nm_interface+:} false; then :
7185 $as_echo_n "(cached
) " >&6
7187 lt_cv_nm_interface="BSD nm
"
7188 echo "int some_variable
= 0;" > conftest.$ac_ext
7189 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
7190 (eval "$ac_compile" 2>conftest.err)
7191 cat conftest.err >&5
7192 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
7193 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
7194 cat conftest.err >&5
7195 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
7196 cat conftest.out >&5
7197 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7198 lt_cv_nm_interface="MS dumpbin
"
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
7203 $as_echo "$lt_cv_nm_interface" >&6; }
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
7206 $as_echo_n "checking whether
ln -s works...
" >&6; }
7208 if test "$LN_S" = "ln -s"; then
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
7210 $as_echo "yes" >&6; }
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
7213 $as_echo "no
, using
$LN_S" >&6; }
7216 # find the maximum length of command line arguments
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
7218 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
7219 if ${lt_cv_sys_max_cmd_len+:} false; then :
7220 $as_echo_n "(cached
) " >&6
7227 # On DJGPP, this test can blow up pretty badly due to problems in libc
7228 # (any single argument exceeding 2000 bytes causes a buffer overrun
7229 # during glob expansion). Even if it were fixed, the result of this
7230 # check would be larger than it should be.
7231 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7235 # Under GNU Hurd, this test is not required because there is
7236 # no limit to the length of command line arguments.
7237 # Libtool will interpret -1 as no limit whatsoever
7238 lt_cv_sys_max_cmd_len=-1;
7241 cygwin* | mingw* | cegcc*)
7242 # On Win9x/ME, this test blows up -- it succeeds, but takes
7243 # about 5 minutes as the teststring grows exponentially.
7244 # Worse, since 9x/ME are not pre-emptively multitasking,
7245 # you end up with a "frozen
" computer, even though with patience
7246 # the test eventually succeeds (with a max line length of 256k).
7247 # Instead, let's just punt: use the minimum linelength reported by
7248 # all of the supported platforms: 8192 (on NT/2K/XP).
7249 lt_cv_sys_max_cmd_len=8192;
7253 # On MiNT this can take a long time and run out of memory.
7254 lt_cv_sys_max_cmd_len=8192;
7258 # On AmigaOS with pdksh, this test takes hours, literally.
7259 # So we just punt and use a minimum line length of 8192.
7260 lt_cv_sys_max_cmd_len=8192;
7263 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7264 # This has been around since 386BSD, at least. Likely further.
7265 if test -x /sbin/sysctl; then
7266 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7267 elif test -x /usr/sbin/sysctl; then
7268 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7270 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7272 # And add a safety zone
7273 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7274 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7278 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7279 lt_cv_sys_max_cmd_len=196608
7283 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7284 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7285 # nice to cause kernel panics so lets avoid the loop below.
7286 # First set a reasonable default.
7287 lt_cv_sys_max_cmd_len=16384
7289 if test -x /sbin/sysconfig; then
7290 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7291 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7296 lt_cv_sys_max_cmd_len=102400
7298 sysv5* | sco5v6* | sysv4.2uw2*)
7299 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7300 if test -n "$kargmax"; then
7301 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7303 lt_cv_sys_max_cmd_len=32768
7307 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7308 if test -n "$lt_cv_sys_max_cmd_len"; then
7309 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7310 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7312 # Make teststring a little bigger before we do anything with it.
7313 # a 1K string should be a reasonable start.
7314 for i in 1 2 3 4 5 6 7 8 ; do
7315 teststring=$teststring$teststring
7317 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7318 # If test is not a shell built-in, we'll probably end up computing a
7319 # maximum length that is only half of the actual maximum length, but
7321 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7322 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
7323 test $i != 17 # 1/2 MB should be enough
7326 teststring=$teststring$teststring
7328 # Only check the string length outside the loop.
7329 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
7331 # Add a significant safety factor because C++ compilers can tack on
7332 # massive amounts of additional arguments before passing them to the
7333 # linker. It appears as though 1/2 is a usable value.
7334 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7341 if test -n $lt_cv_sys_max_cmd_len ; then
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
7343 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
7346 $as_echo "none
" >&6; }
7348 max_cmd_len=$lt_cv_sys_max_cmd_len
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
7360 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
7361 # Try some XSI features
7364 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7366 && eval 'test $(( 1 + 1 )) -eq 2 \
7367 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7370 $as_echo "$xsi_shell" >&6; }
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7374 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7376 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
7378 && lt_shell_append
=yes
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7380 $as_echo "$lt_shell_append" >&6; }
7383 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7393 # test EBCDIC or ASCII
7394 case `echo X|tr X '\101'` in
7395 A
) # ASCII based system
7396 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7397 lt_SP2NL
='tr \040 \012'
7398 lt_NL2SP
='tr \015\012 \040\040'
7400 *) # EBCDIC based system
7401 lt_SP2NL
='tr \100 \n'
7402 lt_NL2SP
='tr \r\n \100\100'
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7415 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7416 if ${lt_cv_ld_reload_flag+:} false
; then :
7417 $as_echo_n "(cached) " >&6
7419 lt_cv_ld_reload_flag
='-r'
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7422 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7423 reload_flag
=$lt_cv_ld_reload_flag
7424 case $reload_flag in
7426 *) reload_flag
=" $reload_flag" ;;
7428 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7431 if test "$GCC" = yes; then
7432 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7434 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7447 if test -n "$ac_tool_prefix"; then
7448 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7449 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7451 $as_echo_n "checking for $ac_word... " >&6; }
7452 if ${ac_cv_prog_OBJDUMP+:} false
; then :
7453 $as_echo_n "(cached) " >&6
7455 if test -n "$OBJDUMP"; then
7456 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7462 test -z "$as_dir" && as_dir
=.
7463 for ac_exec_ext
in '' $ac_executable_extensions; do
7464 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7465 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7475 OBJDUMP
=$ac_cv_prog_OBJDUMP
7476 if test -n "$OBJDUMP"; then
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7478 $as_echo "$OBJDUMP" >&6; }
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7481 $as_echo "no" >&6; }
7486 if test -z "$ac_cv_prog_OBJDUMP"; then
7487 ac_ct_OBJDUMP
=$OBJDUMP
7488 # Extract the first word of "objdump", so it can be a program name with args.
7489 set dummy objdump
; ac_word
=$2
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7491 $as_echo_n "checking for $ac_word... " >&6; }
7492 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
7493 $as_echo_n "(cached) " >&6
7495 if test -n "$ac_ct_OBJDUMP"; then
7496 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7502 test -z "$as_dir" && as_dir
=.
7503 for ac_exec_ext
in '' $ac_executable_extensions; do
7504 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7505 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7515 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7516 if test -n "$ac_ct_OBJDUMP"; then
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7518 $as_echo "$ac_ct_OBJDUMP" >&6; }
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7521 $as_echo "no" >&6; }
7524 if test "x$ac_ct_OBJDUMP" = x
; then
7527 case $cross_compiling:$ac_tool_warned in
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7530 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7531 ac_tool_warned
=yes ;;
7533 OBJDUMP
=$ac_ct_OBJDUMP
7536 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7539 test -z "$OBJDUMP" && OBJDUMP
=objdump
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7550 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7551 if ${lt_cv_deplibs_check_method+:} false
; then :
7552 $as_echo_n "(cached) " >&6
7554 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7555 lt_cv_file_magic_test_file
=
7556 lt_cv_deplibs_check_method
='unknown'
7557 # Need to set the preceding variable on all platforms that support
7558 # interlibrary dependencies.
7559 # 'none' -- dependencies not supported.
7560 # `unknown' -- same as none, but documents that we really don't know.
7561 # 'pass_all' -- all dependencies passed with no checks.
7562 # 'test_compile' -- check by making test program.
7563 # 'file_magic [[regex]]' -- check by looking for files in library path
7564 # which responds to the $file_magic_cmd with a given extended regex.
7565 # If you have `file' or equivalent on your system and you're not sure
7566 # whether `pass_all' will *always* work, you probably want this one.
7570 lt_cv_deplibs_check_method
=pass_all
7574 lt_cv_deplibs_check_method
=pass_all
7578 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7579 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7580 lt_cv_file_magic_test_file
=/shlib
/libc.so
7584 # func_win32_libid is a shell function defined in ltmain.sh
7585 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7586 lt_cv_file_magic_cmd
='func_win32_libid'
7590 # Base MSYS/MinGW do not provide the 'file' command needed by
7591 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7592 # unless we find 'file', for example because we are cross-compiling.
7593 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7594 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
7595 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7596 lt_cv_file_magic_cmd
='func_win32_libid'
7598 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
7599 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7604 # use the weaker test based on 'objdump'. See mingw*.
7605 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7606 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7609 darwin
* | rhapsody
*)
7610 lt_cv_deplibs_check_method
=pass_all
7613 freebsd
* | dragonfly
*)
7614 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7617 # Not sure whether the presence of OpenBSD here was a mistake.
7618 # Let's accept both of them until this is cleared up.
7619 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7620 lt_cv_file_magic_cmd
=/usr
/bin
/file
7621 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7625 lt_cv_deplibs_check_method
=pass_all
7630 lt_cv_deplibs_check_method
=pass_all
7634 lt_cv_deplibs_check_method
=pass_all
7637 hpux10.20
* | hpux11
*)
7638 lt_cv_file_magic_cmd
=/usr
/bin
/file
7641 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7642 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7645 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]'
7646 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7649 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7650 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7656 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7657 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7660 irix5
* | irix6
* | nonstopux
*)
7662 *-32|
*"-32 ") libmagic
=32-bit;;
7663 *-n32|
*"-n32 ") libmagic
=N32
;;
7664 *-64|
*"-64 ") libmagic
=64-bit;;
7665 *) libmagic
=never-match
;;
7667 lt_cv_deplibs_check_method
=pass_all
7670 # This must be Linux ELF.
7671 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
7672 lt_cv_deplibs_check_method
=pass_all
7676 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7677 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7679 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7684 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7685 lt_cv_file_magic_cmd
=/usr
/bin
/file
7686 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7690 lt_cv_deplibs_check_method
=pass_all
7694 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7695 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7697 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7701 osf3
* | osf4
* | osf5
*)
7702 lt_cv_deplibs_check_method
=pass_all
7706 lt_cv_deplibs_check_method
=pass_all
7710 lt_cv_deplibs_check_method
=pass_all
7713 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7714 lt_cv_deplibs_check_method
=pass_all
7718 case $host_vendor in
7720 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]'
7721 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7724 lt_cv_deplibs_check_method
=pass_all
7727 lt_cv_file_magic_cmd
='/bin/file'
7728 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7731 lt_cv_file_magic_cmd
='/bin/file'
7732 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7733 lt_cv_file_magic_test_file
=/lib
/libc.so
7736 lt_cv_deplibs_check_method
=pass_all
7739 lt_cv_deplibs_check_method
=pass_all
7745 lt_cv_deplibs_check_method
=pass_all
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7751 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7752 file_magic_cmd
=$lt_cv_file_magic_cmd
7753 deplibs_check_method
=$lt_cv_deplibs_check_method
7754 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7767 if test -n "$ac_tool_prefix"; then
7768 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7769 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7771 $as_echo_n "checking for $ac_word... " >&6; }
7772 if ${ac_cv_prog_AR+:} false
; then :
7773 $as_echo_n "(cached) " >&6
7775 if test -n "$AR"; then
7776 ac_cv_prog_AR
="$AR" # Let the user override the test.
7778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7782 test -z "$as_dir" && as_dir
=.
7783 for ac_exec_ext
in '' $ac_executable_extensions; do
7784 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7785 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7796 if test -n "$AR"; then
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7798 $as_echo "$AR" >&6; }
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7801 $as_echo "no" >&6; }
7806 if test -z "$ac_cv_prog_AR"; then
7808 # Extract the first word of "ar", so it can be a program name with args.
7809 set dummy
ar; ac_word
=$2
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7811 $as_echo_n "checking for $ac_word... " >&6; }
7812 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
7813 $as_echo_n "(cached) " >&6
7815 if test -n "$ac_ct_AR"; then
7816 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7822 test -z "$as_dir" && as_dir
=.
7823 for ac_exec_ext
in '' $ac_executable_extensions; do
7824 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7825 ac_cv_prog_ac_ct_AR
="ar"
7826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7835 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7836 if test -n "$ac_ct_AR"; then
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7838 $as_echo "$ac_ct_AR" >&6; }
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7841 $as_echo "no" >&6; }
7844 if test "x$ac_ct_AR" = x
; then
7847 case $cross_compiling:$ac_tool_warned in
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7850 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7851 ac_tool_warned
=yes ;;
7859 test -z "$AR" && AR
=ar
7860 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7872 if test -n "$ac_tool_prefix"; then
7873 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7874 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7876 $as_echo_n "checking for $ac_word... " >&6; }
7877 if ${ac_cv_prog_STRIP+:} false
; then :
7878 $as_echo_n "(cached) " >&6
7880 if test -n "$STRIP"; then
7881 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7887 test -z "$as_dir" && as_dir
=.
7888 for ac_exec_ext
in '' $ac_executable_extensions; do
7889 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7890 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7900 STRIP
=$ac_cv_prog_STRIP
7901 if test -n "$STRIP"; then
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7903 $as_echo "$STRIP" >&6; }
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7906 $as_echo "no" >&6; }
7911 if test -z "$ac_cv_prog_STRIP"; then
7913 # Extract the first word of "strip", so it can be a program name with args.
7914 set dummy strip
; ac_word
=$2
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7916 $as_echo_n "checking for $ac_word... " >&6; }
7917 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
7918 $as_echo_n "(cached) " >&6
7920 if test -n "$ac_ct_STRIP"; then
7921 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7927 test -z "$as_dir" && as_dir
=.
7928 for ac_exec_ext
in '' $ac_executable_extensions; do
7929 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7930 ac_cv_prog_ac_ct_STRIP
="strip"
7931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7940 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7941 if test -n "$ac_ct_STRIP"; then
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7943 $as_echo "$ac_ct_STRIP" >&6; }
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7946 $as_echo "no" >&6; }
7949 if test "x$ac_ct_STRIP" = x
; then
7952 case $cross_compiling:$ac_tool_warned in
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7955 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7956 ac_tool_warned
=yes ;;
7961 STRIP
="$ac_cv_prog_STRIP"
7964 test -z "$STRIP" && STRIP
=:
7971 if test -n "$ac_tool_prefix"; then
7972 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7973 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7975 $as_echo_n "checking for $ac_word... " >&6; }
7976 if ${ac_cv_prog_RANLIB+:} false
; then :
7977 $as_echo_n "(cached) " >&6
7979 if test -n "$RANLIB"; then
7980 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7986 test -z "$as_dir" && as_dir
=.
7987 for ac_exec_ext
in '' $ac_executable_extensions; do
7988 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7989 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7999 RANLIB
=$ac_cv_prog_RANLIB
8000 if test -n "$RANLIB"; then
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8002 $as_echo "$RANLIB" >&6; }
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8005 $as_echo "no" >&6; }
8010 if test -z "$ac_cv_prog_RANLIB"; then
8011 ac_ct_RANLIB
=$RANLIB
8012 # Extract the first word of "ranlib", so it can be a program name with args.
8013 set dummy ranlib
; ac_word
=$2
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8015 $as_echo_n "checking for $ac_word... " >&6; }
8016 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
8017 $as_echo_n "(cached) " >&6
8019 if test -n "$ac_ct_RANLIB"; then
8020 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8026 test -z "$as_dir" && as_dir
=.
8027 for ac_exec_ext
in '' $ac_executable_extensions; do
8028 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8029 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8039 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8040 if test -n "$ac_ct_RANLIB"; then
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8042 $as_echo "$ac_ct_RANLIB" >&6; }
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8045 $as_echo "no" >&6; }
8048 if test "x$ac_ct_RANLIB" = x
; then
8051 case $cross_compiling:$ac_tool_warned in
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8055 ac_tool_warned
=yes ;;
8057 RANLIB
=$ac_ct_RANLIB
8060 RANLIB
="$ac_cv_prog_RANLIB"
8063 test -z "$RANLIB" && RANLIB
=:
8070 # Determine commands to create old-style static archives.
8071 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
8072 old_postinstall_cmds
='chmod 644 $oldlib'
8073 old_postuninstall_cmds
=
8075 if test -n "$RANLIB"; then
8078 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8081 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
8084 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
8089 lock_old_archive_extraction
=yes ;;
8091 lock_old_archive_extraction
=no
;;
8132 # If no C compiler was specified, use CC.
8135 # If no C compiler flags were specified, use CFLAGS.
8136 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8138 # Allow CC to be a program name with arguments.
8142 # Check for command to grab the raw symbol name followed by C symbol from nm.
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8144 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8145 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
8146 $as_echo_n "(cached) " >&6
8149 # These are sane defaults that work on at least a few old systems.
8150 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8152 # Character class describing NM global symbol codes.
8153 symcode
='[BCDEGRST]'
8155 # Regexp to match symbols that can be accessed directly from C.
8156 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
8158 # Define system-specific variables.
8163 cygwin
* | mingw
* | pw32
* | cegcc
*)
8164 symcode
='[ABCDGISTW]'
8167 if test "$host_cpu" = ia64
; then
8168 symcode
='[ABCDEGRST]'
8172 symcode
='[BCDEGRST]'
8175 symcode
='[BCDEGQRST]'
8186 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8194 # If we're using GNU nm, then use its standard symbol codes.
8195 case `$NM -V 2>&1` in
8196 *GNU
* |
*'with BFD'*)
8197 symcode
='[ABCDGIRSTW]' ;;
8200 # Transform an extracted symbol line into a proper C declaration.
8201 # Some systems (esp. on ia64) link data and code symbols differently,
8202 # so use this general approach.
8203 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8205 # Transform an extracted symbol line into symbol name and symbol address
8206 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8207 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'"
8209 # Handle CRLF in mingw tool chain
8213 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8217 # Try without a prefix underscore, then with it.
8218 for ac_symprfx
in "" "_"; do
8220 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8221 symxfrm
="\\1 $ac_symprfx\\2 \\2"
8223 # Write the raw and C identifiers.
8224 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8225 # Fake it for dumpbin and say T for any non-static function
8226 # and D for any global variable.
8227 # Also find C++ and __fastcall symbols from MSVC++,
8228 # which start with @ or ?.
8229 lt_cv_sys_global_symbol_pipe
="$AWK '"\
8230 " {last_section=section; section=\$ 3};"\
8231 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8232 " \$ 0!~/External *\|/{next};"\
8233 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8234 " {if(hide[section]) next};"\
8235 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8236 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8237 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8238 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8239 " ' prfx=^$ac_symprfx"
8241 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8244 # Check to see that the pipe works correctly.
8248 cat > conftest.
$ac_ext <<_LT_EOF
8253 void nm_test_func(void);
8254 void nm_test_func(void){}
8258 int main(){nm_test_var='a';nm_test_func();return(0);}
8261 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8262 (eval $ac_compile) 2>&5
8264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8265 test $ac_status = 0; }; then
8266 # Now try to grab the symbols.
8268 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8269 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
8271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8272 test $ac_status = 0; } && test -s "$nlist"; then
8273 # Try sorting and uniquifying the output.
8274 if sort "$nlist" |
uniq > "$nlist"T
; then
8275 mv -f "$nlist"T
"$nlist"
8280 # Make sure that we snagged all the symbols we need.
8281 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
8282 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
8283 cat <<_LT_EOF > conftest.$ac_ext
8289 # Now generate the symbol file.
8290 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8292 cat <<_LT_EOF >> conftest.$ac_ext
8294 /* The mapping between symbol names and symbols. */
8299 lt__PROGRAM__LTX_preloaded_symbols[] =
8301 { "@PROGRAM@", (void *) 0 },
8303 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
8304 cat <<\_LT_EOF
>> conftest.
$ac_ext
8308 /* This works around a problem
in FreeBSD linker
*/
8309 #ifdef FREEBSD_WORKAROUND
8310 static const void
*lt_preloaded_setup
() {
8311 return lt__PROGRAM__LTX_preloaded_symbols
;
8319 # Now try linking the two files.
8320 mv conftest.
$ac_objext conftstm.
$ac_objext
8321 lt_save_LIBS
="$LIBS"
8322 lt_save_CFLAGS
="$CFLAGS"
8323 LIBS
="conftstm.$ac_objext"
8324 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8325 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8326 (eval $ac_link) 2>&5
8328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8329 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
8332 LIBS
="$lt_save_LIBS"
8333 CFLAGS
="$lt_save_CFLAGS"
8335 echo "cannot find nm_test_func in $nlist" >&5
8338 echo "cannot find nm_test_var in $nlist" >&5
8341 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8344 echo "$progname: failed program was:" >&5
8345 cat conftest.
$ac_ext >&5
8347 rm -rf conftest
* conftst
*
8349 # Do not use the global_symbol_pipe unless it works.
8350 if test "$pipe_works" = yes; then
8353 lt_cv_sys_global_symbol_pipe
=
8359 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8360 lt_cv_sys_global_symbol_to_cdecl
=
8362 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8364 $as_echo "failed" >&6; }
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8367 $as_echo "ok" >&6; }
8391 # Check whether --enable-libtool-lock was given.
8392 if test "${enable_libtool_lock+set}" = set; then :
8393 enableval
=$enable_libtool_lock;
8396 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8398 # Some flags need to be propagated to the compiler or linker for good
8402 # Find out which ABI we are using.
8403 echo 'int i;' > conftest.
$ac_ext
8404 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8405 (eval $ac_compile) 2>&5
8407 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8408 test $ac_status = 0; }; then
8409 case `/usr/bin/file conftest.$ac_objext` in
8421 # Find out which ABI we are using.
8422 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8423 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8424 (eval $ac_compile) 2>&5
8426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8427 test $ac_status = 0; }; then
8428 if test "$lt_cv_prog_gnu_ld" = yes; then
8429 case `/usr/bin/file conftest.$ac_objext` in
8431 LD
="${LD-ld} -melf32bsmip"
8434 LD
="${LD-ld} -melf32bmipn32"
8437 LD
="${LD-ld} -melf64bmip"
8441 case `/usr/bin/file conftest.$ac_objext` in
8457 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
8458 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8459 # Find out which ABI we are using.
8460 echo 'int i;' > conftest.
$ac_ext
8461 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8462 (eval $ac_compile) 2>&5
8464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8465 test $ac_status = 0; }; then
8466 case `/usr/bin/file conftest.o` in
8469 x86_64-
*kfreebsd
*-gnu)
8470 LD
="${LD-ld} -m elf_i386_fbsd"
8473 case `/usr/bin/file conftest.o` in
8475 LD
="${LD-ld} -m elf32_x86_64"
8478 LD
="${LD-ld} -m elf_i386"
8482 powerpc64le-
*linux
*)
8483 LD
="${LD-ld} -m elf32lppclinux"
8486 LD
="${LD-ld} -m elf32ppclinux"
8489 LD
="${LD-ld} -m elf_s390"
8492 LD
="${LD-ld} -m elf32_sparc"
8498 x86_64-
*kfreebsd
*-gnu)
8499 LD
="${LD-ld} -m elf_x86_64_fbsd"
8502 LD
="${LD-ld} -m elf_x86_64"
8505 LD
="${LD-ld} -m elf64lppc"
8508 LD
="${LD-ld} -m elf64ppc"
8510 s390
*-*linux
*|s390
*-*tpf
*)
8511 LD
="${LD-ld} -m elf64_s390"
8514 LD
="${LD-ld} -m elf64_sparc"
8524 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8525 SAVE_CFLAGS
="$CFLAGS"
8526 CFLAGS
="$CFLAGS -belf"
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8528 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8529 if ${lt_cv_cc_needs_belf+:} false
; then :
8530 $as_echo_n "(cached) " >&6
8533 ac_cpp
='$CPP $CPPFLAGS'
8534 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8535 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8536 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8538 if test x
$gcc_no_link = xyes
; then
8539 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8542 /* end confdefs.h. */
8552 if ac_fn_c_try_link
"$LINENO"; then :
8553 lt_cv_cc_needs_belf
=yes
8555 lt_cv_cc_needs_belf
=no
8557 rm -f core conftest.err conftest.
$ac_objext \
8558 conftest
$ac_exeext conftest.
$ac_ext
8560 ac_cpp
='$CPP $CPPFLAGS'
8561 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8562 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8563 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8567 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8568 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
8569 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8570 CFLAGS
="$SAVE_CFLAGS"
8574 # Find out which ABI we are using.
8575 echo 'int i;' > conftest.
$ac_ext
8576 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8577 (eval $ac_compile) 2>&5
8579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8580 test $ac_status = 0; }; then
8581 case `/usr/bin/file conftest.o` in
8583 case $lt_cv_prog_gnu_ld in
8584 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8586 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8598 need_locks
="$enable_libtool_lock"
8602 rhapsody
* | darwin
*)
8603 if test -n "$ac_tool_prefix"; then
8604 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8605 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8607 $as_echo_n "checking for $ac_word... " >&6; }
8608 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
8609 $as_echo_n "(cached) " >&6
8611 if test -n "$DSYMUTIL"; then
8612 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8618 test -z "$as_dir" && as_dir
=.
8619 for ac_exec_ext
in '' $ac_executable_extensions; do
8620 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8621 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8631 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8632 if test -n "$DSYMUTIL"; then
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8634 $as_echo "$DSYMUTIL" >&6; }
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8637 $as_echo "no" >&6; }
8642 if test -z "$ac_cv_prog_DSYMUTIL"; then
8643 ac_ct_DSYMUTIL
=$DSYMUTIL
8644 # Extract the first word of "dsymutil", so it can be a program name with args.
8645 set dummy dsymutil
; ac_word
=$2
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8647 $as_echo_n "checking for $ac_word... " >&6; }
8648 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
8649 $as_echo_n "(cached) " >&6
8651 if test -n "$ac_ct_DSYMUTIL"; then
8652 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8658 test -z "$as_dir" && as_dir
=.
8659 for ac_exec_ext
in '' $ac_executable_extensions; do
8660 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8661 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8671 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8672 if test -n "$ac_ct_DSYMUTIL"; then
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8674 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8677 $as_echo "no" >&6; }
8680 if test "x$ac_ct_DSYMUTIL" = x
; then
8683 case $cross_compiling:$ac_tool_warned in
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8687 ac_tool_warned
=yes ;;
8689 DSYMUTIL
=$ac_ct_DSYMUTIL
8692 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8695 if test -n "$ac_tool_prefix"; then
8696 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8697 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8699 $as_echo_n "checking for $ac_word... " >&6; }
8700 if ${ac_cv_prog_NMEDIT+:} false
; then :
8701 $as_echo_n "(cached) " >&6
8703 if test -n "$NMEDIT"; then
8704 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8710 test -z "$as_dir" && as_dir
=.
8711 for ac_exec_ext
in '' $ac_executable_extensions; do
8712 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8713 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8723 NMEDIT
=$ac_cv_prog_NMEDIT
8724 if test -n "$NMEDIT"; then
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8726 $as_echo "$NMEDIT" >&6; }
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8729 $as_echo "no" >&6; }
8734 if test -z "$ac_cv_prog_NMEDIT"; then
8735 ac_ct_NMEDIT
=$NMEDIT
8736 # Extract the first word of "nmedit", so it can be a program name with args.
8737 set dummy nmedit
; ac_word
=$2
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8739 $as_echo_n "checking for $ac_word... " >&6; }
8740 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
8741 $as_echo_n "(cached) " >&6
8743 if test -n "$ac_ct_NMEDIT"; then
8744 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8750 test -z "$as_dir" && as_dir
=.
8751 for ac_exec_ext
in '' $ac_executable_extensions; do
8752 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8753 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8763 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8764 if test -n "$ac_ct_NMEDIT"; then
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8766 $as_echo "$ac_ct_NMEDIT" >&6; }
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8769 $as_echo "no" >&6; }
8772 if test "x$ac_ct_NMEDIT" = x
; then
8775 case $cross_compiling:$ac_tool_warned in
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8778 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8779 ac_tool_warned
=yes ;;
8781 NMEDIT
=$ac_ct_NMEDIT
8784 NMEDIT
="$ac_cv_prog_NMEDIT"
8787 if test -n "$ac_tool_prefix"; then
8788 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8789 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8791 $as_echo_n "checking for $ac_word... " >&6; }
8792 if ${ac_cv_prog_LIPO+:} false
; then :
8793 $as_echo_n "(cached) " >&6
8795 if test -n "$LIPO"; then
8796 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8802 test -z "$as_dir" && as_dir
=.
8803 for ac_exec_ext
in '' $ac_executable_extensions; do
8804 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8805 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8815 LIPO
=$ac_cv_prog_LIPO
8816 if test -n "$LIPO"; then
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8818 $as_echo "$LIPO" >&6; }
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8821 $as_echo "no" >&6; }
8826 if test -z "$ac_cv_prog_LIPO"; then
8828 # Extract the first word of "lipo", so it can be a program name with args.
8829 set dummy lipo
; ac_word
=$2
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8831 $as_echo_n "checking for $ac_word... " >&6; }
8832 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
8833 $as_echo_n "(cached) " >&6
8835 if test -n "$ac_ct_LIPO"; then
8836 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8842 test -z "$as_dir" && as_dir
=.
8843 for ac_exec_ext
in '' $ac_executable_extensions; do
8844 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8845 ac_cv_prog_ac_ct_LIPO
="lipo"
8846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8855 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8856 if test -n "$ac_ct_LIPO"; then
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8858 $as_echo "$ac_ct_LIPO" >&6; }
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8861 $as_echo "no" >&6; }
8864 if test "x$ac_ct_LIPO" = x
; then
8867 case $cross_compiling:$ac_tool_warned in
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8870 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8871 ac_tool_warned
=yes ;;
8876 LIPO
="$ac_cv_prog_LIPO"
8879 if test -n "$ac_tool_prefix"; then
8880 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8881 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8883 $as_echo_n "checking for $ac_word... " >&6; }
8884 if ${ac_cv_prog_OTOOL+:} false
; then :
8885 $as_echo_n "(cached) " >&6
8887 if test -n "$OTOOL"; then
8888 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8894 test -z "$as_dir" && as_dir
=.
8895 for ac_exec_ext
in '' $ac_executable_extensions; do
8896 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8897 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8907 OTOOL
=$ac_cv_prog_OTOOL
8908 if test -n "$OTOOL"; then
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8910 $as_echo "$OTOOL" >&6; }
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8913 $as_echo "no" >&6; }
8918 if test -z "$ac_cv_prog_OTOOL"; then
8920 # Extract the first word of "otool", so it can be a program name with args.
8921 set dummy otool
; ac_word
=$2
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8923 $as_echo_n "checking for $ac_word... " >&6; }
8924 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
8925 $as_echo_n "(cached) " >&6
8927 if test -n "$ac_ct_OTOOL"; then
8928 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8934 test -z "$as_dir" && as_dir
=.
8935 for ac_exec_ext
in '' $ac_executable_extensions; do
8936 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8937 ac_cv_prog_ac_ct_OTOOL
="otool"
8938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8947 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8948 if test -n "$ac_ct_OTOOL"; then
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8950 $as_echo "$ac_ct_OTOOL" >&6; }
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8953 $as_echo "no" >&6; }
8956 if test "x$ac_ct_OTOOL" = x
; then
8959 case $cross_compiling:$ac_tool_warned in
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8962 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8963 ac_tool_warned
=yes ;;
8968 OTOOL
="$ac_cv_prog_OTOOL"
8971 if test -n "$ac_tool_prefix"; then
8972 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8973 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8975 $as_echo_n "checking for $ac_word... " >&6; }
8976 if ${ac_cv_prog_OTOOL64+:} false
; then :
8977 $as_echo_n "(cached) " >&6
8979 if test -n "$OTOOL64"; then
8980 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8986 test -z "$as_dir" && as_dir
=.
8987 for ac_exec_ext
in '' $ac_executable_extensions; do
8988 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8989 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8999 OTOOL64
=$ac_cv_prog_OTOOL64
9000 if test -n "$OTOOL64"; then
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9002 $as_echo "$OTOOL64" >&6; }
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9005 $as_echo "no" >&6; }
9010 if test -z "$ac_cv_prog_OTOOL64"; then
9011 ac_ct_OTOOL64
=$OTOOL64
9012 # Extract the first word of "otool64", so it can be a program name with args.
9013 set dummy otool64
; ac_word
=$2
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9015 $as_echo_n "checking for $ac_word... " >&6; }
9016 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
9017 $as_echo_n "(cached) " >&6
9019 if test -n "$ac_ct_OTOOL64"; then
9020 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
9022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9026 test -z "$as_dir" && as_dir
=.
9027 for ac_exec_ext
in '' $ac_executable_extensions; do
9028 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9029 ac_cv_prog_ac_ct_OTOOL64
="otool64"
9030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9039 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
9040 if test -n "$ac_ct_OTOOL64"; then
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9042 $as_echo "$ac_ct_OTOOL64" >&6; }
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9045 $as_echo "no" >&6; }
9048 if test "x$ac_ct_OTOOL64" = x
; then
9051 case $cross_compiling:$ac_tool_warned in
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9055 ac_tool_warned
=yes ;;
9057 OTOOL64
=$ac_ct_OTOOL64
9060 OTOOL64
="$ac_cv_prog_OTOOL64"
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9090 $as_echo_n "checking for -single_module linker flag... " >&6; }
9091 if ${lt_cv_apple_cc_single_mod+:} false
; then :
9092 $as_echo_n "(cached) " >&6
9094 lt_cv_apple_cc_single_mod
=no
9095 if test -z "${LT_MULTI_MODULE}"; then
9096 # By default we will add the -single_module flag. You can override
9097 # by either setting the environment variable LT_MULTI_MODULE
9098 # non-empty at configure time, or by adding -multi_module to the
9100 rm -rf libconftest.dylib
*
9101 echo "int foo(void){return 1;}" > conftest.c
9102 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9103 -dynamiclib -Wl,-single_module conftest.c" >&5
9104 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9105 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
9107 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
9108 lt_cv_apple_cc_single_mod
=yes
9110 cat conftest.err
>&5
9112 rm -rf libconftest.dylib
*
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9117 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9119 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9120 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
9121 $as_echo_n "(cached) " >&6
9123 lt_cv_ld_exported_symbols_list
=no
9124 save_LDFLAGS
=$LDFLAGS
9125 echo "_main" > conftest.sym
9126 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9127 if test x
$gcc_no_link = xyes
; then
9128 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9131 /* end confdefs.h. */
9141 if ac_fn_c_try_link
"$LINENO"; then :
9142 lt_cv_ld_exported_symbols_list
=yes
9144 lt_cv_ld_exported_symbols_list
=no
9146 rm -f core conftest.err conftest.
$ac_objext \
9147 conftest
$ac_exeext conftest.
$ac_ext
9148 LDFLAGS
="$save_LDFLAGS"
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9152 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9154 $as_echo_n "checking for -force_load linker flag... " >&6; }
9155 if ${lt_cv_ld_force_load+:} false
; then :
9156 $as_echo_n "(cached) " >&6
9158 lt_cv_ld_force_load
=no
9159 cat > conftest.c
<< _LT_EOF
9160 int forced_loaded() { return 2;}
9162 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9163 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
9164 echo "$AR cru libconftest.a conftest.o" >&5
9165 $AR cru libconftest.a conftest.o
2>&5
9166 cat > conftest.c
<< _LT_EOF
9167 int main() { return 0;}
9169 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9170 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
9172 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
9173 lt_cv_ld_force_load
=yes
9175 cat conftest.err
>&5
9177 rm -f conftest.err libconftest.a conftest conftest.c
9178 rm -rf conftest.dSYM
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9182 $as_echo "$lt_cv_ld_force_load" >&6; }
9183 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
9184 # build without first building modern cctools / linker.
9185 case $host_cpu-$host_os in
9186 *-rhapsody* |
*-darwin1.
[012])
9187 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
9189 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9191 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
9192 # deployment target is forced to an earlier version.
9193 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
9194 UNSET
,*-darwin[89]*|UNSET
,*-darwin[12][0123456789]*)
9197 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9204 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9205 _lt_dar_single_mod
='$single_module'
9207 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9208 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9210 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9212 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9213 _lt_dsymutil
='~$DSYMUTIL $lib || :'
9220 for ac_header
in dlfcn.h
9222 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9224 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
9225 cat >>confdefs.h
<<_ACEOF
9226 #define HAVE_DLFCN_H 1
9245 # Check whether --enable-shared was given.
9246 if test "${enable_shared+set}" = set; then :
9247 enableval
=$enable_shared; p
=${PACKAGE-default}
9249 yes) enable_shared
=yes ;;
9250 no
) enable_shared
=no
;;
9253 # Look at the argument we got. We use all the common list separators.
9254 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9255 for pkg
in $enableval; do
9257 if test "X$pkg" = "X$p"; then
9276 # Check whether --enable-static was given.
9277 if test "${enable_static+set}" = set; then :
9278 enableval
=$enable_static; p
=${PACKAGE-default}
9280 yes) enable_static
=yes ;;
9281 no
) enable_static
=no
;;
9284 # Look at the argument we got. We use all the common list separators.
9285 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9286 for pkg
in $enableval; do
9288 if test "X$pkg" = "X$p"; then
9308 # Check whether --with-pic was given.
9309 if test "${with_pic+set}" = set; then :
9310 withval
=$with_pic; pic_mode
="$withval"
9316 test -z "$pic_mode" && pic_mode
=default
9324 # Check whether --enable-fast-install was given.
9325 if test "${enable_fast_install+set}" = set; then :
9326 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9328 yes) enable_fast_install
=yes ;;
9329 no
) enable_fast_install
=no
;;
9331 enable_fast_install
=no
9332 # Look at the argument we got. We use all the common list separators.
9333 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9334 for pkg
in $enableval; do
9336 if test "X$pkg" = "X$p"; then
9337 enable_fast_install
=yes
9344 enable_fast_install
=yes
9357 # This can be used to rebuild libtool when needed
9358 LIBTOOL_DEPS
="$ltmain"
9360 # Always use our own libtool.
9361 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9388 test -z "$LN_S" && LN_S
="ln -s"
9403 if test -n "${ZSH_VERSION+set}" ; then
9404 setopt NO_GLOB_SUBST
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9408 $as_echo_n "checking for objdir... " >&6; }
9409 if ${lt_cv_objdir+:} false
; then :
9410 $as_echo_n "(cached) " >&6
9412 rm -f .libs
2>/dev
/null
9413 mkdir .libs
2>/dev
/null
9414 if test -d .libs
; then
9417 # MS-DOS does not allow filenames that begin with a dot.
9420 rmdir .libs
2>/dev
/null
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9423 $as_echo "$lt_cv_objdir" >&6; }
9424 objdir
=$lt_cv_objdir
9430 cat >>confdefs.h
<<_ACEOF
9431 #define LT_OBJDIR "$lt_cv_objdir/"
9439 # AIX sometimes has problems with the GCC collect2 program. For some
9440 # reason, if we set the COLLECT_NAMES environment variable, the problems
9441 # vanish in a puff of smoke.
9442 if test "X${COLLECT_NAMES+set}" != Xset
; then
9444 export COLLECT_NAMES
9451 can_build_shared
=yes
9453 # All known linkers require a `.a' archive for static linking (except MSVC,
9454 # which needs '.lib').
9457 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9460 old_CFLAGS
="$CFLAGS"
9462 # Set sane defaults for various variables
9463 test -z "$CC" && CC
=cc
9464 test -z "$LTCC" && LTCC
=$CC
9465 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9466 test -z "$LD" && LD
=ld
9467 test -z "$ac_objext" && ac_objext
=o
9469 for cc_temp
in $compiler""; do
9471 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9472 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9477 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9480 # Only perform the check for file, if the check method requires it
9481 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9482 case $deplibs_check_method in
9484 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9486 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9487 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9488 $as_echo_n "(cached) " >&6
9492 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9495 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9496 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9497 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9498 for ac_dir
in $ac_dummy; do
9500 test -z "$ac_dir" && ac_dir
=.
9501 if test -f $ac_dir/${ac_tool_prefix}file; then
9502 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9503 if test -n "$file_magic_test_file"; then
9504 case $deplibs_check_method in
9506 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9507 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9508 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9509 $EGREP "$file_magic_regex" > /dev
/null
; then
9514 *** Warning: the command libtool uses to detect shared libraries,
9515 *** $file_magic_cmd, produces output that libtool cannot recognize.
9516 *** The result is that libtool may fail to recognize shared libraries
9517 *** as such. This will affect the creation of libtool libraries that
9518 *** depend on shared libraries, but programs linked with such libtool
9519 *** libraries will work regardless of this problem. Nevertheless, you
9520 *** may want to report the problem to your system manager and/or to
9521 *** bug-libtool@gnu.org
9531 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9536 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9537 if test -n "$MAGIC_CMD"; then
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9539 $as_echo "$MAGIC_CMD" >&6; }
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9542 $as_echo "no" >&6; }
9549 if test -z "$lt_cv_path_MAGIC_CMD"; then
9550 if test -n "$ac_tool_prefix"; then
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9552 $as_echo_n "checking for file... " >&6; }
9553 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9554 $as_echo_n "(cached) " >&6
9558 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9561 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9562 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9563 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9564 for ac_dir
in $ac_dummy; do
9566 test -z "$ac_dir" && ac_dir
=.
9567 if test -f $ac_dir/file; then
9568 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9569 if test -n "$file_magic_test_file"; then
9570 case $deplibs_check_method in
9572 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9573 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9574 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9575 $EGREP "$file_magic_regex" > /dev
/null
; then
9580 *** Warning: the command libtool uses to detect shared libraries,
9581 *** $file_magic_cmd, produces output that libtool cannot recognize.
9582 *** The result is that libtool may fail to recognize shared libraries
9583 *** as such. This will affect the creation of libtool libraries that
9584 *** depend on shared libraries, but programs linked with such libtool
9585 *** libraries will work regardless of this problem. Nevertheless, you
9586 *** may want to report the problem to your system manager and/or to
9587 *** bug-libtool@gnu.org
9597 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9602 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9603 if test -n "$MAGIC_CMD"; then
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9605 $as_echo "$MAGIC_CMD" >&6; }
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9608 $as_echo "no" >&6; }
9621 # Use C for the default configuration in the libtool script
9625 ac_cpp
='$CPP $CPPFLAGS'
9626 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9627 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9628 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9631 # Source file extension for C test sources.
9634 # Object file extension for compiled C test sources.
9638 # Code to be used in simple compile tests
9639 lt_simple_compile_test_code
="int some_variable = 0;"
9641 # Code to be used in simple link tests
9642 lt_simple_link_test_code
='int main(){return(0);}'
9650 # If no C compiler was specified, use CC.
9653 # If no C compiler flags were specified, use CFLAGS.
9654 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9656 # Allow CC to be a program name with arguments.
9659 # Save the default compiler, since it gets overwritten when the other
9660 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9661 compiler_DEFAULT
=$CC
9663 # save warnings/boilerplate of simple test code
9664 ac_outfile
=conftest.
$ac_objext
9665 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9666 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9667 _lt_compiler_boilerplate
=`cat conftest.err`
9670 ac_outfile
=conftest.
$ac_objext
9671 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9672 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9673 _lt_linker_boilerplate
=`cat conftest.err`
9678 ## There is no encapsulation within the following macros, do not change
9679 ## the running order or otherwise move them around unless you know exactly
9680 ## what you are doing...
9681 if test -n "$compiler"; then
9683 lt_prog_compiler_no_builtin_flag
=
9685 if test "$GCC" = yes; then
9686 case $cc_basename in
9688 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9690 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9694 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9695 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9696 $as_echo_n "(cached) " >&6
9698 lt_cv_prog_compiler_rtti_exceptions
=no
9699 ac_outfile
=conftest.
$ac_objext
9700 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9701 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9702 # Insert the option either (1) after the last *FLAGS variable, or
9703 # (2) before a word containing "conftest.", or (3) at the end.
9704 # Note that $ac_compile itself does not contain backslashes and begins
9705 # with a dollar sign (not a hyphen), so the echo should work correctly.
9706 # The option is referenced via a variable to avoid confusing sed.
9707 lt_compile
=`echo "$ac_compile" | $SED \
9708 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9709 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9710 -e 's:$: $lt_compiler_flag:'`
9711 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9712 (eval "$lt_compile" 2>conftest.err
)
9714 cat conftest.err
>&5
9715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9716 if (exit $ac_status) && test -s "$ac_outfile"; then
9717 # The compiler can only warn and ignore the option if not recognized
9718 # So say no if there are warnings other than the usual output.
9719 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9720 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9721 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9722 lt_cv_prog_compiler_rtti_exceptions
=yes
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9729 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9731 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9732 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9744 lt_prog_compiler_wl
=
9745 lt_prog_compiler_pic
=
9746 lt_prog_compiler_static
=
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9749 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9751 if test "$GCC" = yes; then
9752 lt_prog_compiler_wl
='-Wl,'
9753 lt_prog_compiler_static
='-static'
9757 # All AIX code is PIC.
9758 if test "$host_cpu" = ia64
; then
9759 # AIX 5 now supports IA64 processor
9760 lt_prog_compiler_static
='-Bstatic'
9762 lt_prog_compiler_pic
='-fPIC'
9768 # see comment about AmigaOS4 .so support
9769 lt_prog_compiler_pic
='-fPIC'
9772 # FIXME: we need at least 68020 code to build shared libraries, but
9773 # adding the `-m68020' flag to GCC prevents building anything better,
9775 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9780 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9781 # PIC is the default for these OSes.
9784 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9785 # This hack is so that the source file can tell whether it is being
9786 # built for inclusion in a dll (and should export symbols for example).
9787 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9788 # (--disable-auto-import) libraries
9789 lt_prog_compiler_pic
='-DDLL_EXPORT'
9792 darwin
* | rhapsody
*)
9793 # PIC is the default on this platform
9794 # Common symbols not allowed in MH_DYLIB files
9795 lt_prog_compiler_pic
='-fno-common'
9799 # PIC is the default for Haiku.
9800 # The "-static" flag exists, but is broken.
9801 lt_prog_compiler_static
=
9805 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9806 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9807 # sets the default TLS model and affects inlining.
9813 lt_prog_compiler_pic
='-fPIC'
9819 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9820 # Instead, we relocate shared libraries at runtime.
9824 # Just because we use GCC doesn't mean we suddenly get shared libraries
9825 # on systems that don't support them.
9826 lt_prog_compiler_can_build_shared
=no
9831 # QNX uses GNU C++, but need to define -shared option too, otherwise
9833 lt_prog_compiler_pic
='-fPIC -shared'
9837 if test -d /usr
/nec
; then
9838 lt_prog_compiler_pic
=-Kconform_pic
9843 lt_prog_compiler_pic
='-fPIC'
9847 case $cc_basename in
9848 nvcc
*) # Cuda Compiler Driver 2.2
9849 lt_prog_compiler_wl
='-Xlinker '
9850 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9854 # PORTME Check for flag to pass linker flags through the system compiler.
9857 lt_prog_compiler_wl
='-Wl,'
9858 if test "$host_cpu" = ia64
; then
9859 # AIX 5 now supports IA64 processor
9860 lt_prog_compiler_static
='-Bstatic'
9862 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9866 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9867 # This hack is so that the source file can tell whether it is being
9868 # built for inclusion in a dll (and should export symbols for example).
9869 lt_prog_compiler_pic
='-DDLL_EXPORT'
9872 hpux9
* | hpux10
* | hpux11
*)
9873 lt_prog_compiler_wl
='-Wl,'
9874 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9881 lt_prog_compiler_pic
='+Z'
9884 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9885 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9888 irix5
* | irix6
* | nonstopux
*)
9889 lt_prog_compiler_wl
='-Wl,'
9890 # PIC (with -KPIC) is the default.
9891 lt_prog_compiler_static
='-non_shared'
9894 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9895 case $cc_basename in
9896 # old Intel for x86_64 which still supported -KPIC.
9898 lt_prog_compiler_wl
='-Wl,'
9899 lt_prog_compiler_pic
='-KPIC'
9900 lt_prog_compiler_static
='-static'
9902 # icc used to be incompatible with GCC.
9903 # ICC 10 doesn't accept -KPIC any more.
9905 lt_prog_compiler_wl
='-Wl,'
9906 lt_prog_compiler_pic
='-fPIC'
9907 lt_prog_compiler_static
='-static'
9909 # Lahey Fortran 8.1.
9911 lt_prog_compiler_wl
='-Wl,'
9912 lt_prog_compiler_pic
='--shared'
9913 lt_prog_compiler_static
='--static'
9915 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9916 # Portland Group compilers (*not* the Pentium gcc compiler,
9917 # which looks to be a dead project)
9918 lt_prog_compiler_wl
='-Wl,'
9919 lt_prog_compiler_pic
='-fpic'
9920 lt_prog_compiler_static
='-Bstatic'
9923 lt_prog_compiler_wl
='-Wl,'
9924 # All Alpha code is PIC.
9925 lt_prog_compiler_static
='-non_shared'
9927 xl
* | bgxl
* | bgf
* | mpixl
*)
9928 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9929 lt_prog_compiler_wl
='-Wl,'
9930 lt_prog_compiler_pic
='-qpic'
9931 lt_prog_compiler_static
='-qstaticlink'
9934 case `$CC -V 2>&1 | sed 5q` in
9935 *Sun\ F
* |
*Sun
*Fortran
*)
9936 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9937 lt_prog_compiler_pic
='-KPIC'
9938 lt_prog_compiler_static
='-Bstatic'
9939 lt_prog_compiler_wl
=''
9943 lt_prog_compiler_pic
='-KPIC'
9944 lt_prog_compiler_static
='-Bstatic'
9945 lt_prog_compiler_wl
='-Wl,'
9953 lt_prog_compiler_pic
='-KPIC'
9954 lt_prog_compiler_static
='-Bstatic'
9958 # QNX uses GNU C++, but need to define -shared option too, otherwise
9960 lt_prog_compiler_pic
='-fPIC -shared'
9963 osf3
* | osf4
* | osf5
*)
9964 lt_prog_compiler_wl
='-Wl,'
9965 # All OSF/1 code is PIC.
9966 lt_prog_compiler_static
='-non_shared'
9970 lt_prog_compiler_static
='-non_shared'
9974 lt_prog_compiler_pic
='-KPIC'
9975 lt_prog_compiler_static
='-Bstatic'
9976 case $cc_basename in
9978 lt_prog_compiler_wl
='-Qoption ld ';;
9980 lt_prog_compiler_wl
='-Wl,';;
9985 lt_prog_compiler_wl
='-Qoption ld '
9986 lt_prog_compiler_pic
='-PIC'
9987 lt_prog_compiler_static
='-Bstatic'
9990 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9991 lt_prog_compiler_wl
='-Wl,'
9992 lt_prog_compiler_pic
='-KPIC'
9993 lt_prog_compiler_static
='-Bstatic'
9997 if test -d /usr
/nec
;then
9998 lt_prog_compiler_pic
='-Kconform_pic'
9999 lt_prog_compiler_static
='-Bstatic'
10003 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10004 lt_prog_compiler_wl
='-Wl,'
10005 lt_prog_compiler_pic
='-KPIC'
10006 lt_prog_compiler_static
='-Bstatic'
10010 lt_prog_compiler_wl
='-Wl,'
10011 lt_prog_compiler_can_build_shared
=no
10015 lt_prog_compiler_pic
='-pic'
10016 lt_prog_compiler_static
='-Bstatic'
10020 lt_prog_compiler_can_build_shared
=no
10026 # For platforms which do not support PIC, -DPIC is meaningless:
10028 lt_prog_compiler_pic
=
10031 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10035 $as_echo "$lt_prog_compiler_pic" >&6; }
10043 # Check to make sure the PIC flag actually works.
10045 if test -n "$lt_prog_compiler_pic"; then
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10047 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10048 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
10049 $as_echo_n "(cached) " >&6
10051 lt_cv_prog_compiler_pic_works
=no
10052 ac_outfile
=conftest.
$ac_objext
10053 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10054 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
10055 # Insert the option either (1) after the last *FLAGS variable, or
10056 # (2) before a word containing "conftest.", or (3) at the end.
10057 # Note that $ac_compile itself does not contain backslashes and begins
10058 # with a dollar sign (not a hyphen), so the echo should work correctly.
10059 # The option is referenced via a variable to avoid confusing sed.
10060 lt_compile
=`echo "$ac_compile" | $SED \
10061 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10062 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10063 -e 's:$: $lt_compiler_flag:'`
10064 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10065 (eval "$lt_compile" 2>conftest.err
)
10067 cat conftest.err
>&5
10068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10069 if (exit $ac_status) && test -s "$ac_outfile"; then
10070 # The compiler can only warn and ignore the option if not recognized
10071 # So say no if there are warnings other than the usual output.
10072 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10073 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10074 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10075 lt_cv_prog_compiler_pic_works
=yes
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10082 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10084 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
10085 case $lt_prog_compiler_pic in
10087 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10090 lt_prog_compiler_pic
=
10091 lt_prog_compiler_can_build_shared
=no
10102 # Check to make sure the static flag actually works.
10104 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10106 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10107 if ${lt_cv_prog_compiler_static_works+:} false
; then :
10108 $as_echo_n "(cached) " >&6
10110 lt_cv_prog_compiler_static_works
=no
10111 save_LDFLAGS
="$LDFLAGS"
10112 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10113 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10114 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10115 # The linker can only warn and ignore the option if not recognized
10116 # So say no if there are warnings
10117 if test -s conftest.err
; then
10118 # Append any errors to the config.log.
10119 cat conftest.err
1>&5
10120 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10121 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10122 if diff conftest.exp conftest.er2
>/dev
/null
; then
10123 lt_cv_prog_compiler_static_works
=yes
10126 lt_cv_prog_compiler_static_works
=yes
10130 LDFLAGS
="$save_LDFLAGS"
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10134 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10136 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
10139 lt_prog_compiler_static
=
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10149 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10150 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10151 $as_echo_n "(cached) " >&6
10153 lt_cv_prog_compiler_c_o
=no
10154 $RM -r conftest
2>/dev
/null
10158 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10160 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10161 # Insert the option either (1) after the last *FLAGS variable, or
10162 # (2) before a word containing "conftest.", or (3) at the end.
10163 # Note that $ac_compile itself does not contain backslashes and begins
10164 # with a dollar sign (not a hyphen), so the echo should work correctly.
10165 lt_compile
=`echo "$ac_compile" | $SED \
10166 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10167 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10168 -e 's:$: $lt_compiler_flag:'`
10169 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10170 (eval "$lt_compile" 2>out
/conftest.err
)
10172 cat out
/conftest.err
>&5
10173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10174 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10176 # The compiler can only warn and ignore the option if not recognized
10177 # So say no if there are warnings
10178 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10179 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10180 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10181 lt_cv_prog_compiler_c_o
=yes
10186 # SGI C++ compiler will create directory out/ii_files/ for
10187 # template instantiation
10188 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10189 $RM out
/* && rmdir out
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10196 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10204 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10205 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10206 $as_echo_n "(cached) " >&6
10208 lt_cv_prog_compiler_c_o
=no
10209 $RM -r conftest
2>/dev
/null
10213 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10215 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10216 # Insert the option either (1) after the last *FLAGS variable, or
10217 # (2) before a word containing "conftest.", or (3) at the end.
10218 # Note that $ac_compile itself does not contain backslashes and begins
10219 # with a dollar sign (not a hyphen), so the echo should work correctly.
10220 lt_compile
=`echo "$ac_compile" | $SED \
10221 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10222 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10223 -e 's:$: $lt_compiler_flag:'`
10224 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10225 (eval "$lt_compile" 2>out
/conftest.err
)
10227 cat out
/conftest.err
>&5
10228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10229 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10231 # The compiler can only warn and ignore the option if not recognized
10232 # So say no if there are warnings
10233 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10234 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10235 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10236 lt_cv_prog_compiler_c_o
=yes
10241 # SGI C++ compiler will create directory out/ii_files/ for
10242 # template instantiation
10243 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10244 $RM out
/* && rmdir out
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10251 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10256 hard_links
="nottested"
10257 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
10258 # do not overwrite the value of need_locks provided by the user
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10260 $as_echo_n "checking if we can lock with hard links... " >&6; }
10263 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10265 ln conftest.a conftest.b
2>&5 || hard_links
=no
10266 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10268 $as_echo "$hard_links" >&6; }
10269 if test "$hard_links" = no
; then
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10271 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10284 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10287 allow_undefined_flag
=
10288 always_export_symbols
=no
10290 archive_expsym_cmds
=
10291 compiler_needs_object
=no
10292 enable_shared_with_static_runtimes
=no
10293 export_dynamic_flag_spec
=
10294 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10295 hardcode_automatic
=no
10297 hardcode_direct_absolute
=no
10298 hardcode_libdir_flag_spec
=
10299 hardcode_libdir_flag_spec_ld
=
10300 hardcode_libdir_separator
=
10301 hardcode_minus_L
=no
10302 hardcode_shlibpath_var
=unsupported
10304 link_all_deplibs
=unknown
10306 module_expsym_cmds
=
10307 old_archive_from_new_cmds
=
10308 old_archive_from_expsyms_cmds
=
10309 thread_safe_flag_spec
=
10310 whole_archive_flag_spec
=
10311 # include_expsyms should be a list of space-separated symbols to be *always*
10312 # included in the symbol list
10314 # exclude_expsyms can be an extended regexp of symbols to exclude
10315 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10316 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10317 # as well as any symbol that contains `d'.
10318 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10319 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10320 # platforms (ab)use it in PIC code, but their linkers get confused if
10321 # the symbol is explicitly referenced. Since portable code cannot
10322 # rely on this symbol name, it's probably fine to never include it in
10323 # preloaded symbol tables.
10324 # Exclude shared library initialization/finalization symbols.
10325 extract_expsyms_cmds
=
10328 cygwin
* | mingw
* | pw32
* | cegcc
*)
10329 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10330 # When not using gcc, we currently assume that we are using
10331 # Microsoft Visual C++.
10332 if test "$GCC" != yes; then
10337 # we just hope/assume this is gcc and not c89 (= MSVC++)
10347 # On some targets, GNU ld is compatible enough with the native linker
10348 # that we're better off using the native interface for both.
10349 lt_use_gnu_ld_interface
=no
10350 if test "$with_gnu_ld" = yes; then
10353 # The AIX port of GNU ld has always aspired to compatibility
10354 # with the native linker. However, as the warning in the GNU ld
10355 # block says, versions before 2.19.5* couldn't really create working
10356 # shared libraries, regardless of the interface used.
10357 case `$LD -v 2>&1` in
10358 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10359 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10360 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10362 lt_use_gnu_ld_interface
=yes
10367 lt_use_gnu_ld_interface
=yes
10372 if test "$lt_use_gnu_ld_interface" = yes; then
10373 # If archive_cmds runs LD, not CC, wlarc should be empty
10376 # Set some defaults for GNU ld with shared library support. These
10377 # are reset later if shared libraries are not supported. Putting them
10378 # here allows them to be overridden if necessary.
10379 runpath_var
=LD_RUN_PATH
10380 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10381 export_dynamic_flag_spec
='${wl}--export-dynamic'
10382 # ancient GNU ld didn't support --whole-archive et. al.
10383 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10384 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10386 whole_archive_flag_spec
=
10388 supports_anon_versioning
=no
10389 case `$LD -v 2>&1` in
10390 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10391 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10392 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10393 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10394 *\
2.11.
*) ;; # other 2.11 versions
10395 *) supports_anon_versioning
=yes ;;
10398 # See if GNU ld supports shared libraries.
10401 # On AIX/PPC, the GNU linker is very broken
10402 if test "$host_cpu" != ia64
; then
10406 *** Warning: the GNU linker, at least up to release 2.19, is reported
10407 *** to be unable to reliably create shared libraries on AIX.
10408 *** Therefore, libtool is disabling shared libraries support. If you
10409 *** really care for shared libraries, you may want to install binutils
10410 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10411 *** You will then need to restart the configuration process.
10420 # see comment about AmigaOS4 .so support
10421 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10422 archive_expsym_cmds
=''
10425 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)'
10426 hardcode_libdir_flag_spec
='-L$libdir'
10427 hardcode_minus_L
=yes
10433 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10434 allow_undefined_flag
=unsupported
10435 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10436 # support --undefined. This deserves some investigation. FIXME
10437 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10443 cygwin
* | mingw
* | pw32
* | cegcc
*)
10444 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10445 # as there is no search path for DLLs.
10446 hardcode_libdir_flag_spec
='-L$libdir'
10447 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10448 allow_undefined_flag
=unsupported
10449 always_export_symbols
=no
10450 enable_shared_with_static_runtimes
=yes
10451 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10453 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10454 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10455 # If the export-symbols file already is a .def file (1st line
10456 # is EXPORTS), use it as is; otherwise, prepend...
10457 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10458 cp $export_symbols $output_objdir/$soname.def;
10460 echo EXPORTS > $output_objdir/$soname.def;
10461 cat $export_symbols >> $output_objdir/$soname.def;
10463 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10470 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10471 link_all_deplibs
=yes
10476 hardcode_shlibpath_var
=no
10477 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10478 export_dynamic_flag_spec
='${wl}-E'
10479 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10480 # Instead, shared libraries are loaded at an image base (0x10000000 by
10481 # default) and relocated if they conflict, which is a slow very memory
10482 # consuming and fragmenting process. To avoid this, we pick a random,
10483 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10484 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10485 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10486 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'
10489 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
10491 if test "$host_os" = linux-dietlibc
; then
10492 case $cc_basename in
10493 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10496 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10497 && test "$tmp_diet" = no
10499 tmp_addflag
=' $pic_flag'
10500 tmp_sharedflag
='-shared'
10501 case $cc_basename,$host_cpu in
10502 pgcc
*) # Portland Group C compiler
10503 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'
10504 tmp_addflag
=' $pic_flag'
10506 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10507 # Portland Group f77 and f90 compilers
10508 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'
10509 tmp_addflag
=' $pic_flag -Mnomain' ;;
10510 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10511 tmp_addflag
=' -i_dynamic' ;;
10512 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10513 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10514 ifc
* | ifort
*) # Intel Fortran compiler
10515 tmp_addflag
=' -nofor_main' ;;
10516 lf95
*) # Lahey Fortran 8.1
10517 whole_archive_flag_spec
=
10518 tmp_sharedflag
='--shared' ;;
10519 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10520 tmp_sharedflag
='-qmkshrobj'
10522 nvcc
*) # Cuda Compiler Driver 2.2
10523 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'
10524 compiler_needs_object
=yes
10527 case `$CC -V 2>&1 | sed 5q` in
10528 *Sun\ C
*) # Sun C 5.9
10529 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'
10530 compiler_needs_object
=yes
10531 tmp_sharedflag
='-G' ;;
10532 *Sun\ F
*) # Sun Fortran 8.3
10533 tmp_sharedflag
='-G' ;;
10535 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10537 if test "x$supports_anon_versioning" = xyes
; then
10538 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10539 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10540 echo "local: *; };" >> $output_objdir/$libname.ver~
10541 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10544 case $cc_basename in
10545 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10546 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10547 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10548 hardcode_libdir_flag_spec
=
10549 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10550 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10551 if test "x$supports_anon_versioning" = xyes
; then
10552 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10553 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10554 echo "local: *; };" >> $output_objdir/$libname.ver~
10555 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10565 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10566 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10569 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10570 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10575 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10579 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10580 *** create shared libraries on Solaris systems. Therefore, libtool
10581 *** is disabling shared libraries support. We urge you to upgrade GNU
10582 *** binutils to release 2.9.1 or newer. Another option is to modify
10583 *** your PATH or compiler configuration so that the native linker is
10584 *** used, and then restart.
10587 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10588 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10589 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10595 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10596 case `$LD -v 2>&1` in
10597 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10601 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10602 *** reliably create shared libraries on SCO systems. Therefore, libtool
10603 *** is disabling shared libraries support. We urge you to upgrade GNU
10604 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10605 *** your PATH or compiler configuration so that the native linker is
10606 *** used, and then restart.
10611 # For security reasons, it is highly recommended that you always
10612 # use absolute paths for naming shared libraries, and exclude the
10613 # DT_RUNPATH tag from executables and libraries. But doing so
10614 # requires that you compile everything twice, which is a pain.
10615 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10616 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10617 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10618 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10627 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10629 hardcode_direct
=yes
10630 hardcode_shlibpath_var
=no
10634 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10635 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10636 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10643 if test "$ld_shlibs" = no
; then
10645 hardcode_libdir_flag_spec
=
10646 export_dynamic_flag_spec
=
10647 whole_archive_flag_spec
=
10650 # PORTME fill in a description of your system's linker (not GNU ld)
10653 allow_undefined_flag
=unsupported
10654 always_export_symbols
=yes
10655 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'
10656 # Note: this linker hardcodes the directories in LIBPATH if there
10657 # are no directories specified by -L.
10658 hardcode_minus_L
=yes
10659 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10660 # Neither direct hardcoding nor static linking is supported with a
10662 hardcode_direct
=unsupported
10667 if test "$host_cpu" = ia64
; then
10668 # On IA64, the linker does run time linking by default, so we don't
10669 # have to do anything special.
10670 aix_use_runtimelinking
=no
10671 exp_sym_flag
='-Bexport'
10674 # If we're using GNU nm, then we don't want the "-C" option.
10675 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10676 # Also, AIX nm treats weak defined symbols like other global
10677 # defined symbols, whereas GNU nm marks them as "W".
10678 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10679 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'
10681 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'
10683 aix_use_runtimelinking
=no
10685 # Test if we are trying to use run time linking or normal
10686 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10687 # need to do runtime linking.
10688 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10689 for ld_flag
in $LDFLAGS; do
10690 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10691 aix_use_runtimelinking
=yes
10698 exp_sym_flag
='-bexport'
10699 no_entry_flag
='-bnoentry'
10702 # When large executables or shared objects are built, AIX ld can
10703 # have problems creating the table of contents. If linking a library
10704 # or program results in "error TOC overflow" add -mminimal-toc to
10705 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10706 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10709 hardcode_direct
=yes
10710 hardcode_direct_absolute
=yes
10711 hardcode_libdir_separator
=':'
10712 link_all_deplibs
=yes
10713 file_list_spec
='${wl}-f,'
10715 if test "$GCC" = yes; then
10716 case $host_os in aix4.
[012]|aix4.
[012].
*)
10717 # We only want to do this on AIX 4.2 and lower, the check
10718 # below for broken collect2 doesn't work under 4.3+
10719 collect2name
=`${CC} -print-prog-name=collect2`
10720 if test -f "$collect2name" &&
10721 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10723 # We have reworked collect2
10726 # We have old collect2
10727 hardcode_direct
=unsupported
10728 # It fails to find uninstalled libraries when the uninstalled
10729 # path is not listed in the libpath. Setting hardcode_minus_L
10730 # to unsupported forces relinking
10731 hardcode_minus_L
=yes
10732 hardcode_libdir_flag_spec
='-L$libdir'
10733 hardcode_libdir_separator
=
10737 shared_flag
='-shared'
10738 if test "$aix_use_runtimelinking" = yes; then
10739 shared_flag
="$shared_flag "'${wl}-G'
10743 if test "$host_cpu" = ia64
; then
10744 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10745 # chokes on -Wl,-G. The following line is correct:
10748 if test "$aix_use_runtimelinking" = yes; then
10749 shared_flag
='${wl}-G'
10751 shared_flag
='${wl}-bM:SRE'
10756 export_dynamic_flag_spec
='${wl}-bexpall'
10757 # It seems that -bexpall does not export symbols beginning with
10758 # underscore (_), so it is better to generate a list of symbols to export.
10759 always_export_symbols
=yes
10760 if test "$aix_use_runtimelinking" = yes; then
10761 # Warning - without using the other runtime loading flags (-brtl),
10762 # -berok will link without error, but may produce a broken library.
10763 allow_undefined_flag
='-berok'
10764 # Determine the default libpath from the value encoded in an
10765 # empty executable.
10766 if test x
$gcc_no_link = xyes
; then
10767 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10770 /* end confdefs.h. */
10780 if ac_fn_c_try_link
"$LINENO"; then :
10782 lt_aix_libpath_sed
='
10783 /Import File Strings/,/^$/ {
10789 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10790 # Check for a 64-bit object if we didn't find anything.
10791 if test -z "$aix_libpath"; then
10792 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10795 rm -f core conftest.err conftest.
$ac_objext \
10796 conftest
$ac_exeext conftest.
$ac_ext
10797 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10799 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10800 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"
10802 if test "$host_cpu" = ia64
; then
10803 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10804 allow_undefined_flag
="-z nodefs"
10805 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"
10807 # Determine the default libpath from the value encoded in an
10808 # empty executable.
10809 if test x
$gcc_no_link = xyes
; then
10810 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10813 /* end confdefs.h. */
10823 if ac_fn_c_try_link
"$LINENO"; then :
10825 lt_aix_libpath_sed
='
10826 /Import File Strings/,/^$/ {
10832 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10833 # Check for a 64-bit object if we didn't find anything.
10834 if test -z "$aix_libpath"; then
10835 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10838 rm -f core conftest.err conftest.
$ac_objext \
10839 conftest
$ac_exeext conftest.
$ac_ext
10840 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10842 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10843 # Warning - without using the other run time loading flags,
10844 # -berok will link without error, but may produce a broken library.
10845 no_undefined_flag
=' ${wl}-bernotok'
10846 allow_undefined_flag
=' ${wl}-berok'
10847 if test "$with_gnu_ld" = yes; then
10848 # We only use this code for GNU lds that support --whole-archive.
10849 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10851 # Exported symbols can be pulled into shared objects from archives
10852 whole_archive_flag_spec
='$convenience'
10854 archive_cmds_need_lc
=yes
10855 # This is similar to how AIX traditionally builds its shared libraries.
10856 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'
10864 # see comment about AmigaOS4 .so support
10865 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10866 archive_expsym_cmds
=''
10869 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)'
10870 hardcode_libdir_flag_spec
='-L$libdir'
10871 hardcode_minus_L
=yes
10877 export_dynamic_flag_spec
=-rdynamic
10880 cygwin
* | mingw
* | pw32
* | cegcc
*)
10881 # When not using gcc, we currently assume that we are using
10882 # Microsoft Visual C++.
10883 # hardcode_libdir_flag_spec is actually meaningless, as there is
10884 # no search path for DLLs.
10885 hardcode_libdir_flag_spec
=' '
10886 allow_undefined_flag
=unsupported
10887 # Tell ltmain to make .lib files, not .a files.
10889 # Tell ltmain to make .dll files, not .so files.
10891 # FIXME: Setting linknames here is a bad hack.
10892 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10893 # The linker will automatically build a .lib file if we build a DLL.
10894 old_archive_from_new_cmds
='true'
10895 # FIXME: Should let the user specify the lib program.
10896 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10897 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10898 enable_shared_with_static_runtimes
=yes
10901 darwin
* | rhapsody
*)
10904 archive_cmds_need_lc
=no
10906 hardcode_automatic
=yes
10907 hardcode_shlibpath_var
=unsupported
10908 if test "$lt_cv_ld_force_load" = "yes"; then
10909 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\"`'
10911 whole_archive_flag_spec
=''
10913 link_all_deplibs
=yes
10914 allow_undefined_flag
="$_lt_dar_allow_undefined"
10915 case $cc_basename in
10916 ifort
*) _lt_dar_can_shared
=yes ;;
10917 *) _lt_dar_can_shared
=$GCC ;;
10919 if test "$_lt_dar_can_shared" = "yes"; then
10920 output_verbose_link_cmd
=func_echo_all
10921 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10922 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10923 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}"
10924 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}"
10933 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10934 hardcode_libdir_flag_spec
='-L$libdir'
10935 hardcode_shlibpath_var
=no
10938 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10939 # support. Future versions do this automatically, but an explicit c++rt0.o
10940 # does not break anything, and helps significantly (at the cost of a little
10943 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10944 hardcode_libdir_flag_spec
='-R$libdir'
10945 hardcode_direct
=yes
10946 hardcode_shlibpath_var
=no
10949 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10951 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10952 hardcode_direct
=yes
10953 hardcode_minus_L
=yes
10954 hardcode_shlibpath_var
=no
10957 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10958 freebsd
* | dragonfly
*)
10959 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10960 hardcode_libdir_flag_spec
='-R$libdir'
10961 hardcode_direct
=yes
10962 hardcode_shlibpath_var
=no
10966 if test "$GCC" = yes; then
10967 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'
10969 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'
10971 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10972 hardcode_libdir_separator
=:
10973 hardcode_direct
=yes
10975 # hardcode_minus_L: Not really in the search PATH,
10976 # but as the default location of the library.
10977 hardcode_minus_L
=yes
10978 export_dynamic_flag_spec
='${wl}-E'
10982 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10983 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10985 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10987 if test "$with_gnu_ld" = no
; then
10988 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10989 hardcode_libdir_flag_spec_ld
='+b $libdir'
10990 hardcode_libdir_separator
=:
10991 hardcode_direct
=yes
10992 hardcode_direct_absolute
=yes
10993 export_dynamic_flag_spec
='${wl}-E'
10994 # hardcode_minus_L: Not really in the search PATH,
10995 # but as the default location of the library.
10996 hardcode_minus_L
=yes
11001 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11004 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11007 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11010 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11016 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11019 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11023 # Older versions of the 11.00 compiler do not understand -b yet
11024 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11026 $as_echo_n "checking if $CC understands -b... " >&6; }
11027 if ${lt_cv_prog_compiler__b+:} false
; then :
11028 $as_echo_n "(cached) " >&6
11030 lt_cv_prog_compiler__b
=no
11031 save_LDFLAGS
="$LDFLAGS"
11032 LDFLAGS
="$LDFLAGS -b"
11033 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11034 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11035 # The linker can only warn and ignore the option if not recognized
11036 # So say no if there are warnings
11037 if test -s conftest.err
; then
11038 # Append any errors to the config.log.
11039 cat conftest.err
1>&5
11040 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11041 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11042 if diff conftest.exp conftest.er2
>/dev
/null
; then
11043 lt_cv_prog_compiler__b
=yes
11046 lt_cv_prog_compiler__b
=yes
11050 LDFLAGS
="$save_LDFLAGS"
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11054 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11056 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
11057 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11059 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11065 if test "$with_gnu_ld" = no
; then
11066 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11067 hardcode_libdir_separator
=:
11072 hardcode_shlibpath_var
=no
11075 hardcode_direct
=yes
11076 hardcode_direct_absolute
=yes
11077 export_dynamic_flag_spec
='${wl}-E'
11079 # hardcode_minus_L: Not really in the search PATH,
11080 # but as the default location of the library.
11081 hardcode_minus_L
=yes
11087 irix5
* | irix6
* | nonstopux
*)
11088 if test "$GCC" = yes; then
11089 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'
11090 # Try to use the -exported_symbol ld option, if it does not
11091 # work, assume that -exports_file does not work either and
11092 # implicitly export all symbols.
11093 save_LDFLAGS
="$LDFLAGS"
11094 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11095 if test x
$gcc_no_link = xyes
; then
11096 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11099 /* end confdefs.h. */
11102 if ac_fn_c_try_link
"$LINENO"; then :
11103 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'
11106 rm -f core conftest.err conftest.
$ac_objext \
11107 conftest
$ac_exeext conftest.
$ac_ext
11108 LDFLAGS
="$save_LDFLAGS"
11110 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'
11111 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'
11113 archive_cmds_need_lc
='no'
11114 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11115 hardcode_libdir_separator
=:
11117 link_all_deplibs
=yes
11121 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11122 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11124 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11126 hardcode_libdir_flag_spec
='-R$libdir'
11127 hardcode_direct
=yes
11128 hardcode_shlibpath_var
=no
11132 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11133 hardcode_direct
=yes
11134 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11135 hardcode_libdir_separator
=:
11136 hardcode_shlibpath_var
=no
11143 if test -f /usr
/libexec
/ld.so
; then
11144 hardcode_direct
=yes
11145 hardcode_shlibpath_var
=no
11146 hardcode_direct_absolute
=yes
11147 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11148 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11149 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11150 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11151 export_dynamic_flag_spec
='${wl}-E'
11154 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11155 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11156 hardcode_libdir_flag_spec
='-R$libdir'
11159 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11160 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11170 hardcode_libdir_flag_spec
='-L$libdir'
11171 hardcode_minus_L
=yes
11172 allow_undefined_flag
=unsupported
11173 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'
11174 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11178 if test "$GCC" = yes; then
11179 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11180 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'
11182 allow_undefined_flag
=' -expect_unresolved \*'
11183 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'
11185 archive_cmds_need_lc
='no'
11186 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11187 hardcode_libdir_separator
=:
11190 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11191 if test "$GCC" = yes; then
11192 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11193 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'
11194 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11196 allow_undefined_flag
=' -expect_unresolved \*'
11197 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'
11198 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~
11199 $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'
11201 # Both c and cxx compiler support -rpath directly
11202 hardcode_libdir_flag_spec
='-rpath $libdir'
11204 archive_cmds_need_lc
='no'
11205 hardcode_libdir_separator
=:
11209 no_undefined_flag
=' -z defs'
11210 if test "$GCC" = yes; then
11212 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11213 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11214 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11216 case `$CC -V 2>&1` in
11219 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11220 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11221 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11225 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11226 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11227 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11231 hardcode_libdir_flag_spec
='-R$libdir'
11232 hardcode_shlibpath_var
=no
11234 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11236 # The compiler driver will combine and reorder linker options,
11237 # but understands `-z linker_flag'. GCC discards it without `$wl',
11238 # but is careful enough not to reorder.
11239 # Supported since Solaris 2.6 (maybe 2.5.1?)
11240 if test "$GCC" = yes; then
11241 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11243 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11247 link_all_deplibs
=yes
11251 if test "x$host_vendor" = xsequent
; then
11252 # Use $CC to link under sequent, because it throws in some extra .o
11253 # files that make .init and .fini sections work.
11254 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11256 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11258 hardcode_libdir_flag_spec
='-L$libdir'
11259 hardcode_direct
=yes
11260 hardcode_minus_L
=yes
11261 hardcode_shlibpath_var
=no
11265 case $host_vendor in
11267 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11268 hardcode_direct
=yes # is this really true???
11271 ## LD is ld it makes a PLAMLIB
11272 ## CC just makes a GrossModule.
11273 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11274 reload_cmds
='$CC -r -o $output$reload_objs'
11278 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11279 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11282 runpath_var
='LD_RUN_PATH'
11283 hardcode_shlibpath_var
=no
11287 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11288 hardcode_shlibpath_var
=no
11289 export_dynamic_flag_spec
='-Bexport'
11293 if test -d /usr
/nec
; then
11294 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11295 hardcode_shlibpath_var
=no
11296 runpath_var
=LD_RUN_PATH
11297 hardcode_runpath_var
=yes
11302 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11303 no_undefined_flag
='${wl}-z,text'
11304 archive_cmds_need_lc
=no
11305 hardcode_shlibpath_var
=no
11306 runpath_var
='LD_RUN_PATH'
11308 if test "$GCC" = yes; then
11309 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11310 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11312 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11313 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11317 sysv5
* | sco3.2v5
* | sco5v6
*)
11318 # Note: We can NOT use -z defs as we might desire, because we do not
11319 # link with -lc, and that would cause any symbols used from libc to
11320 # always be unresolved, which means just about no library would
11321 # ever link correctly. If we're not using GNU ld we use -z text
11322 # though, which does catch some bad symbols but isn't as heavy-handed
11324 no_undefined_flag
='${wl}-z,text'
11325 allow_undefined_flag
='${wl}-z,nodefs'
11326 archive_cmds_need_lc
=no
11327 hardcode_shlibpath_var
=no
11328 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11329 hardcode_libdir_separator
=':'
11330 link_all_deplibs
=yes
11331 export_dynamic_flag_spec
='${wl}-Bexport'
11332 runpath_var
='LD_RUN_PATH'
11334 if test "$GCC" = yes; then
11335 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11336 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11338 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11339 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11344 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11345 hardcode_libdir_flag_spec
='-L$libdir'
11346 hardcode_shlibpath_var
=no
11354 if test x
$host_vendor = xsni
; then
11356 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11357 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11364 $as_echo "$ld_shlibs" >&6; }
11365 test "$ld_shlibs" = no
&& can_build_shared
=no
11367 with_gnu_ld
=$with_gnu_ld
11384 # Do we need to explicitly link libc?
11386 case "x$archive_cmds_need_lc" in
11388 # Assume -lc should be added
11389 archive_cmds_need_lc
=yes
11391 if test "$enable_shared" = yes && test "$GCC" = yes; then
11392 case $archive_cmds in
11394 # FIXME: we may have to deal with multi-command sequences.
11397 # Test whether the compiler implicitly links with -lc since on some
11398 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11399 # to ld, don't add -lc before -lgcc.
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11401 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11402 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11403 $as_echo_n "(cached) " >&6
11406 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11408 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11409 (eval $ac_compile) 2>&5
11411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11412 test $ac_status = 0; } 2>conftest.err
; then
11415 libobjs
=conftest.
$ac_objext
11417 wl
=$lt_prog_compiler_wl
11418 pic_flag
=$lt_prog_compiler_pic
11424 lt_save_allow_undefined_flag
=$allow_undefined_flag
11425 allow_undefined_flag
=
11426 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11427 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11430 test $ac_status = 0; }
11432 lt_cv_archive_cmds_need_lc
=no
11434 lt_cv_archive_cmds_need_lc
=yes
11436 allow_undefined_flag
=$lt_save_allow_undefined_flag
11438 cat conftest.err
1>&5
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11444 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11445 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11609 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11611 if test "$GCC" = yes; then
11613 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11614 *) lt_awk_arg
="/^libraries:/" ;;
11617 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11618 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11620 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11621 case $lt_search_path_spec in
11623 # if the path contains ";" then we assume it to be the separator
11624 # otherwise default to the standard path separator (i.e. ":") - it is
11625 # assumed that no part of a normal pathname contains ";" but that should
11626 # okay in the real world where ";" in dirpaths is itself problematic.
11627 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11630 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11633 # Ok, now we have the path, separated by spaces, we can step through it
11634 # and add multilib dir if necessary.
11635 lt_tmp_lt_search_path_spec
=
11636 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11637 for lt_sys_path
in $lt_search_path_spec; do
11638 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11639 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11641 test -d "$lt_sys_path" && \
11642 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11645 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11646 BEGIN {RS=" "; FS="/|\n";} {
11649 for (lt_i = NF; lt_i > 0; lt_i--) {
11650 if ($lt_i != "" && $lt_i != ".") {
11651 if ($lt_i == "..") {
11654 if (lt_count == 0) {
11655 lt_foo="/" $lt_i lt_foo;
11662 if (lt_foo != "") { lt_freq[lt_foo]++; }
11663 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11665 # AWK program above erroneously prepends '/' to C:/dos/paths
11668 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11669 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11671 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11673 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11675 library_names_spec
=
11676 libname_spec
='lib$name'
11680 postuninstall_cmds
=
11684 shlibpath_overrides_runpath
=unknown
11686 dynamic_linker
="$host_os ld.so"
11687 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11688 need_lib_prefix
=unknown
11689 hardcode_into_libs
=no
11691 # when you set need_version to no, make sure it does not cause -set_version
11692 # flags to be left without arguments
11693 need_version
=unknown
11698 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11699 shlibpath_var
=LIBPATH
11701 # AIX 3 has no versioning support, so we append a major version to the name.
11702 soname_spec
='${libname}${release}${shared_ext}$major'
11709 hardcode_into_libs
=yes
11710 if test "$host_cpu" = ia64
; then
11711 # AIX 5 supports IA64
11712 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11713 shlibpath_var
=LD_LIBRARY_PATH
11715 # With GCC up to 2.95.x, collect2 would create an import file
11716 # for dependence libraries. The import file would start with
11717 # the line `#! .'. This would cause the generated library to
11718 # depend on `.', always an invalid library. This was fixed in
11719 # development snapshots of GCC prior to 3.0.
11721 aix4 | aix4.
[01] | aix4.
[01].
*)
11722 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11724 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11727 can_build_shared
=no
11731 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11732 # soname into executable. Probably we can add versioning support to
11733 # collect2, so additional links can be useful in future.
11734 if test "$aix_use_runtimelinking" = yes; then
11735 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11736 # instead of lib<name>.a to let people know that these are not
11737 # typical AIX shared libraries.
11738 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11740 # We preserve .a as extension for shared libraries through AIX4.2
11741 # and later when we are not doing run time linking.
11742 library_names_spec
='${libname}${release}.a $libname.a'
11743 soname_spec
='${libname}${release}${shared_ext}$major'
11745 shlibpath_var
=LIBPATH
11752 # Since July 2007 AmigaOS4 officially supports .so libraries.
11753 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11754 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11757 library_names_spec
='$libname.ixlibrary $libname.a'
11758 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11759 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'
11765 library_names_spec
='${libname}${shared_ext}'
11766 dynamic_linker
="$host_os ld.so"
11767 shlibpath_var
=LIBRARY_PATH
11773 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11774 soname_spec
='${libname}${release}${shared_ext}$major'
11775 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11776 shlibpath_var
=LD_LIBRARY_PATH
11777 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11778 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11779 # the default ld.so.conf also contains /usr/contrib/lib and
11780 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11781 # libtool to hard-code these into programs
11784 cygwin
* | mingw
* | pw32
* | cegcc
*)
11785 version_type
=windows
11790 case $GCC,$host_os in
11791 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11792 library_names_spec
='$libname.dll.a'
11793 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11794 postinstall_cmds
='base_file=`basename \${file}`~
11795 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11796 dldir=$destdir/`dirname \$dlpath`~
11797 test -d \$dldir || mkdir -p \$dldir~
11798 $install_prog $dir/$dlname \$dldir/$dlname~
11799 chmod a+x \$dldir/$dlname~
11800 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11801 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11803 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11804 dlpath=$dir/\$dldll~
11806 shlibpath_overrides_runpath
=yes
11810 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11811 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11813 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11816 # MinGW DLLs use traditional 'lib' prefix
11817 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11820 # pw32 DLLs use 'pw' prefix rather than 'lib'
11821 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11827 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11830 dynamic_linker
='Win32 ld.exe'
11831 # FIXME: first we should search . and the directory the executable is in
11835 darwin
* | rhapsody
*)
11836 dynamic_linker
="$host_os dyld"
11837 version_type
=darwin
11840 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11841 soname_spec
='${libname}${release}${major}$shared_ext'
11842 shlibpath_overrides_runpath
=yes
11843 shlibpath_var
=DYLD_LIBRARY_PATH
11844 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11846 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11847 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11854 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11855 soname_spec
='${libname}${release}${shared_ext}$major'
11856 shlibpath_var
=LD_LIBRARY_PATH
11859 freebsd
* | dragonfly
*)
11860 # DragonFly does not have aout. When/if they implement a new
11861 # versioning mechanism, adjust this.
11862 if test -x /usr
/bin
/objformat
; then
11863 objformat
=`/usr/bin/objformat`
11866 freebsd
[23].
*) objformat
=aout
;;
11867 *) objformat
=elf
;;
11870 version_type
=freebsd-
$objformat
11871 case $version_type in
11873 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11878 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11882 shlibpath_var
=LD_LIBRARY_PATH
11885 shlibpath_overrides_runpath
=yes
11887 freebsd3.
[01]* | freebsdelf3.
[01]*)
11888 shlibpath_overrides_runpath
=yes
11889 hardcode_into_libs
=yes
11891 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11892 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11893 shlibpath_overrides_runpath
=no
11894 hardcode_into_libs
=yes
11896 *) # from 4.6 on, and DragonFly
11897 shlibpath_overrides_runpath
=yes
11898 hardcode_into_libs
=yes
11907 dynamic_linker
="$host_os runtime_loader"
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 shlibpath_var
=LIBRARY_PATH
11911 shlibpath_overrides_runpath
=yes
11912 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11913 hardcode_into_libs
=yes
11916 hpux9
* | hpux10
* | hpux11
*)
11917 # Give a soname corresponding to the major version so that dld.sl refuses to
11918 # link against other versions.
11925 hardcode_into_libs
=yes
11926 dynamic_linker
="$host_os dld.so"
11927 shlibpath_var
=LD_LIBRARY_PATH
11928 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11929 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11930 soname_spec
='${libname}${release}${shared_ext}$major'
11931 if test "X$HPUX_IA64_MODE" = X32
; then
11932 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11934 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11936 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11940 hardcode_into_libs
=yes
11941 dynamic_linker
="$host_os dld.sl"
11942 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11943 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11944 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11945 soname_spec
='${libname}${release}${shared_ext}$major'
11946 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11947 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11951 dynamic_linker
="$host_os dld.sl"
11952 shlibpath_var
=SHLIB_PATH
11953 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11954 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11955 soname_spec
='${libname}${release}${shared_ext}$major'
11958 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11959 postinstall_cmds
='chmod 555 $lib'
11960 # or fails outright, so override atomically:
11961 install_override_mode
=555
11968 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11969 soname_spec
='${libname}${release}${shared_ext}$major'
11970 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11971 shlibpath_var
=LD_LIBRARY_PATH
11972 shlibpath_overrides_runpath
=no
11973 hardcode_into_libs
=yes
11976 irix5
* | irix6
* | nonstopux
*)
11978 nonstopux
*) version_type
=nonstopux
;;
11980 if test "$lt_cv_prog_gnu_ld" = yes; then
11988 soname_spec
='${libname}${release}${shared_ext}$major'
11989 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11991 irix5
* | nonstopux
*)
11992 libsuff
= shlibsuff
=
11995 case $LD in # libtool.m4 will add one of these switches to LD
11996 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11997 libsuff
= shlibsuff
= libmagic
=32-bit;;
11998 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11999 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12000 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12001 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12002 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12006 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12007 shlibpath_overrides_runpath
=no
12008 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12009 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12010 hardcode_into_libs
=yes
12013 # No shared lib support for Linux oldld, aout, or coff.
12014 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12018 # This must be Linux ELF.
12020 # uclinux* changes (here and below) have been submitted to the libtool
12021 # project, but have not yet been accepted: they are GCC-local changes
12022 # for the time being. (See
12023 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
12024 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
12028 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12029 soname_spec
='${libname}${release}${shared_ext}$major'
12030 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12031 shlibpath_var
=LD_LIBRARY_PATH
12032 shlibpath_overrides_runpath
=no
12034 # Some binutils ld are patched to set DT_RUNPATH
12035 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12036 $as_echo_n "(cached) " >&6
12038 lt_cv_shlibpath_overrides_runpath
=no
12039 save_LDFLAGS
=$LDFLAGS
12040 save_libdir
=$libdir
12041 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12042 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12043 if test x
$gcc_no_link = xyes
; then
12044 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12047 /* end confdefs.h. */
12057 if ac_fn_c_try_link
"$LINENO"; then :
12058 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12059 lt_cv_shlibpath_overrides_runpath
=yes
12062 rm -f core conftest.err conftest.
$ac_objext \
12063 conftest
$ac_exeext conftest.
$ac_ext
12064 LDFLAGS
=$save_LDFLAGS
12065 libdir
=$save_libdir
12069 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12071 # This implies no fast_install, which is unacceptable.
12072 # Some rework will be needed to allow for fast_install
12073 # before this can be enabled.
12074 hardcode_into_libs
=yes
12076 # Append ld.so.conf contents to the search path
12077 if test -f /etc
/ld.so.conf
; then
12078 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' ' '`
12079 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12082 # We used to test for /lib/ld.so.1 and disable shared libraries on
12083 # powerpc, because MkLinux only supported shared libraries with the
12084 # GNU dynamic linker. Since this was broken with cross compilers,
12085 # most powerpc-linux boxes support dynamic linking these days and
12086 # people can always --disable-shared, the test was removed, and we
12087 # assume the GNU/Linux dynamic linker is in use.
12088 dynamic_linker
='GNU/Linux ld.so'
12095 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12096 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12097 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12098 dynamic_linker
='NetBSD (a.out) ld.so'
12100 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12101 soname_spec
='${libname}${release}${shared_ext}$major'
12102 dynamic_linker
='NetBSD ld.elf_so'
12104 shlibpath_var
=LD_LIBRARY_PATH
12105 shlibpath_overrides_runpath
=yes
12106 hardcode_into_libs
=yes
12111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12112 shlibpath_var
=LD_LIBRARY_PATH
12113 shlibpath_overrides_runpath
=yes
12120 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12121 soname_spec
='${libname}${release}${shared_ext}$major'
12122 shlibpath_var
=LD_LIBRARY_PATH
12123 shlibpath_overrides_runpath
=no
12124 hardcode_into_libs
=yes
12125 dynamic_linker
='ldqnx.so'
12130 sys_lib_dlsearch_path_spec
="/usr/lib"
12132 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12134 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12135 *) need_version
=no
;;
12137 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12138 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12139 shlibpath_var
=LD_LIBRARY_PATH
12140 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12142 openbsd2.
[89] | openbsd2.
[89].
*)
12143 shlibpath_overrides_runpath
=no
12146 shlibpath_overrides_runpath
=yes
12150 shlibpath_overrides_runpath
=yes
12155 libname_spec
='$name'
12158 library_names_spec
='$libname${shared_ext} $libname.a'
12159 dynamic_linker
='OS/2 ld.exe'
12160 shlibpath_var
=LIBPATH
12163 osf3
* | osf4
* | osf5
*)
12167 soname_spec
='${libname}${release}${shared_ext}$major'
12168 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12169 shlibpath_var
=LD_LIBRARY_PATH
12170 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12171 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12182 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12183 soname_spec
='${libname}${release}${shared_ext}$major'
12184 shlibpath_var
=LD_LIBRARY_PATH
12185 shlibpath_overrides_runpath
=yes
12186 hardcode_into_libs
=yes
12187 # ldd complains unless libraries are executable
12188 postinstall_cmds
='chmod +x $lib'
12193 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12194 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12195 shlibpath_var
=LD_LIBRARY_PATH
12196 shlibpath_overrides_runpath
=yes
12197 if test "$with_gnu_ld" = yes; then
12205 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12206 soname_spec
='${libname}${release}${shared_ext}$major'
12207 shlibpath_var
=LD_LIBRARY_PATH
12208 case $host_vendor in
12210 shlibpath_overrides_runpath
=no
12212 runpath_var
=LD_RUN_PATH
12220 shlibpath_overrides_runpath
=no
12221 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12227 if test -d /usr
/nec
;then
12229 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12230 soname_spec
='$libname${shared_ext}.$major'
12231 shlibpath_var
=LD_LIBRARY_PATH
12235 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12236 version_type
=freebsd-elf
12239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12240 soname_spec
='${libname}${release}${shared_ext}$major'
12241 shlibpath_var
=LD_LIBRARY_PATH
12242 shlibpath_overrides_runpath
=yes
12243 hardcode_into_libs
=yes
12244 if test "$with_gnu_ld" = yes; then
12245 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12247 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12250 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12254 sys_lib_dlsearch_path_spec
='/usr/lib'
12258 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12262 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12263 shlibpath_var
=LD_LIBRARY_PATH
12264 shlibpath_overrides_runpath
=no
12265 hardcode_into_libs
=yes
12270 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12271 soname_spec
='${libname}${release}${shared_ext}$major'
12272 shlibpath_var
=LD_LIBRARY_PATH
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12280 $as_echo "$dynamic_linker" >&6; }
12281 test "$dynamic_linker" = no
&& can_build_shared
=no
12283 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12284 if test "$GCC" = yes; then
12285 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12288 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12289 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12291 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12292 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12387 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12389 if test -n "$hardcode_libdir_flag_spec" ||
12390 test -n "$runpath_var" ||
12391 test "X$hardcode_automatic" = "Xyes" ; then
12393 # We can hardcode non-existent directories.
12394 if test "$hardcode_direct" != no
&&
12395 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12396 # have to relink, otherwise we might link with an installed library
12397 # when we should be linking with a yet-to-be-installed one
12398 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12399 test "$hardcode_minus_L" != no
; then
12400 # Linking always hardcodes the temporary library directory.
12401 hardcode_action
=relink
12403 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12404 hardcode_action
=immediate
12407 # We cannot hardcode anything, or else we can only hardcode existing
12409 hardcode_action
=unsupported
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12412 $as_echo "$hardcode_action" >&6; }
12414 if test "$hardcode_action" = relink ||
12415 test "$inherit_rpath" = yes; then
12416 # Fast installation is not supported
12417 enable_fast_install
=no
12418 elif test "$shlibpath_overrides_runpath" = yes ||
12419 test "$enable_shared" = no
; then
12420 # Fast installation is not necessary
12421 enable_fast_install
=needless
12429 if test "x$enable_dlopen" != xyes
; then
12430 enable_dlopen
=unknown
12431 enable_dlopen_self
=unknown
12432 enable_dlopen_self_static
=unknown
12439 lt_cv_dlopen
="load_add_on"
12441 lt_cv_dlopen_self
=yes
12444 mingw
* | pw32
* | cegcc
*)
12445 lt_cv_dlopen
="LoadLibrary"
12450 lt_cv_dlopen
="dlopen"
12455 # if libdl is installed we need to link against it
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12457 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12458 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12459 $as_echo_n "(cached) " >&6
12461 ac_check_lib_save_LIBS
=$LIBS
12463 if test x
$gcc_no_link = xyes
; then
12464 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12467 /* end confdefs.h. */
12469 /* Override any GCC internal prototype to avoid an error.
12470 Use char because int might match the return type of a GCC
12471 builtin and then its argument prototype would still apply. */
12484 if ac_fn_c_try_link
"$LINENO"; then :
12485 ac_cv_lib_dl_dlopen
=yes
12487 ac_cv_lib_dl_dlopen
=no
12489 rm -f core conftest.err conftest.
$ac_objext \
12490 conftest
$ac_exeext conftest.
$ac_ext
12491 LIBS
=$ac_check_lib_save_LIBS
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12494 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12495 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12496 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12499 lt_cv_dlopen
="dyld"
12501 lt_cv_dlopen_self
=yes
12508 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12509 if test "x$ac_cv_func_shl_load" = xyes
; then :
12510 lt_cv_dlopen
="shl_load"
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12513 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12514 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12515 $as_echo_n "(cached) " >&6
12517 ac_check_lib_save_LIBS
=$LIBS
12519 if test x
$gcc_no_link = xyes
; then
12520 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12523 /* end confdefs.h. */
12525 /* Override any GCC internal prototype to avoid an error.
12526 Use char because int might match the return type of a GCC
12527 builtin and then its argument prototype would still apply. */
12535 return shl_load ();
12540 if ac_fn_c_try_link
"$LINENO"; then :
12541 ac_cv_lib_dld_shl_load
=yes
12543 ac_cv_lib_dld_shl_load
=no
12545 rm -f core conftest.err conftest.
$ac_objext \
12546 conftest
$ac_exeext conftest.
$ac_ext
12547 LIBS
=$ac_check_lib_save_LIBS
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12550 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12551 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12552 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12554 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12555 if test "x$ac_cv_func_dlopen" = xyes
; then :
12556 lt_cv_dlopen
="dlopen"
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12559 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12560 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12561 $as_echo_n "(cached) " >&6
12563 ac_check_lib_save_LIBS
=$LIBS
12565 if test x
$gcc_no_link = xyes
; then
12566 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12569 /* end confdefs.h. */
12571 /* Override any GCC internal prototype to avoid an error.
12572 Use char because int might match the return type of a GCC
12573 builtin and then its argument prototype would still apply. */
12586 if ac_fn_c_try_link
"$LINENO"; then :
12587 ac_cv_lib_dl_dlopen
=yes
12589 ac_cv_lib_dl_dlopen
=no
12591 rm -f core conftest.err conftest.
$ac_objext \
12592 conftest
$ac_exeext conftest.
$ac_ext
12593 LIBS
=$ac_check_lib_save_LIBS
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12596 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12597 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12598 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12601 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12602 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12603 $as_echo_n "(cached) " >&6
12605 ac_check_lib_save_LIBS
=$LIBS
12606 LIBS
="-lsvld $LIBS"
12607 if test x
$gcc_no_link = xyes
; then
12608 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12611 /* end confdefs.h. */
12613 /* Override any GCC internal prototype to avoid an error.
12614 Use char because int might match the return type of a GCC
12615 builtin and then its argument prototype would still apply. */
12628 if ac_fn_c_try_link
"$LINENO"; then :
12629 ac_cv_lib_svld_dlopen
=yes
12631 ac_cv_lib_svld_dlopen
=no
12633 rm -f core conftest.err conftest.
$ac_objext \
12634 conftest
$ac_exeext conftest.
$ac_ext
12635 LIBS
=$ac_check_lib_save_LIBS
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12638 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12639 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12640 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12643 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12644 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12645 $as_echo_n "(cached) " >&6
12647 ac_check_lib_save_LIBS
=$LIBS
12649 if test x
$gcc_no_link = xyes
; then
12650 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12653 /* end confdefs.h. */
12655 /* Override any GCC internal prototype to avoid an error.
12656 Use char because int might match the return type of a GCC
12657 builtin and then its argument prototype would still apply. */
12665 return dld_link ();
12670 if ac_fn_c_try_link
"$LINENO"; then :
12671 ac_cv_lib_dld_dld_link
=yes
12673 ac_cv_lib_dld_dld_link
=no
12675 rm -f core conftest.err conftest.
$ac_objext \
12676 conftest
$ac_exeext conftest.
$ac_ext
12677 LIBS
=$ac_check_lib_save_LIBS
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12680 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12681 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12682 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12703 if test "x$lt_cv_dlopen" != xno
; then
12709 case $lt_cv_dlopen in
12711 save_CPPFLAGS
="$CPPFLAGS"
12712 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12714 save_LDFLAGS
="$LDFLAGS"
12715 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12718 LIBS
="$lt_cv_dlopen_libs $LIBS"
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12721 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12722 if ${lt_cv_dlopen_self+:} false
; then :
12723 $as_echo_n "(cached) " >&6
12725 if test "$cross_compiling" = yes; then :
12726 lt_cv_dlopen_self
=cross
12728 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12729 lt_status
=$lt_dlunknown
12730 cat > conftest.
$ac_ext <<_LT_EOF
12731 #line 12731 "configure"
12732 #include "confdefs.h"
12741 # define LT_DLGLOBAL RTLD_GLOBAL
12744 # define LT_DLGLOBAL DL_GLOBAL
12746 # define LT_DLGLOBAL 0
12750 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12751 find out it does not work in some platform. */
12752 #ifndef LT_DLLAZY_OR_NOW
12754 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12757 # define LT_DLLAZY_OR_NOW DL_LAZY
12760 # define LT_DLLAZY_OR_NOW RTLD_NOW
12763 # define LT_DLLAZY_OR_NOW DL_NOW
12765 # define LT_DLLAZY_OR_NOW 0
12772 /* When -fvisbility=hidden is used, assume the code has been annotated
12773 correspondingly for the symbols needed. */
12774 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12775 void fnord () __attribute__((visibility("default")));
12778 void fnord () { int i=42; }
12781 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12782 int status = $lt_dlunknown;
12786 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12789 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12790 else puts (dlerror ());
12792 /* dlclose (self); */
12800 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12801 (eval $ac_link) 2>&5
12803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12804 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12805 (.
/conftest
; exit; ) >&5 2>/dev
/null
12807 case x
$lt_status in
12808 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12809 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12810 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12813 # compilation failed
12814 lt_cv_dlopen_self
=no
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12822 $as_echo "$lt_cv_dlopen_self" >&6; }
12824 if test "x$lt_cv_dlopen_self" = xyes
; then
12825 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12827 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12828 if ${lt_cv_dlopen_self_static+:} false
; then :
12829 $as_echo_n "(cached) " >&6
12831 if test "$cross_compiling" = yes; then :
12832 lt_cv_dlopen_self_static
=cross
12834 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12835 lt_status
=$lt_dlunknown
12836 cat > conftest.
$ac_ext <<_LT_EOF
12837 #line 12837 "configure"
12838 #include "confdefs.h"
12847 # define LT_DLGLOBAL RTLD_GLOBAL
12850 # define LT_DLGLOBAL DL_GLOBAL
12852 # define LT_DLGLOBAL 0
12856 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12857 find out it does not work in some platform. */
12858 #ifndef LT_DLLAZY_OR_NOW
12860 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12863 # define LT_DLLAZY_OR_NOW DL_LAZY
12866 # define LT_DLLAZY_OR_NOW RTLD_NOW
12869 # define LT_DLLAZY_OR_NOW DL_NOW
12871 # define LT_DLLAZY_OR_NOW 0
12878 /* When -fvisbility=hidden is used, assume the code has been annotated
12879 correspondingly for the symbols needed. */
12880 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12881 void fnord () __attribute__((visibility("default")));
12884 void fnord () { int i=42; }
12887 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12888 int status = $lt_dlunknown;
12892 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12895 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12896 else puts (dlerror ());
12898 /* dlclose (self); */
12906 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12907 (eval $ac_link) 2>&5
12909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12910 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12911 (.
/conftest
; exit; ) >&5 2>/dev
/null
12913 case x
$lt_status in
12914 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12915 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12916 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12919 # compilation failed
12920 lt_cv_dlopen_self_static
=no
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12928 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12931 CPPFLAGS
="$save_CPPFLAGS"
12932 LDFLAGS
="$save_LDFLAGS"
12937 case $lt_cv_dlopen_self in
12938 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12939 *) enable_dlopen_self
=unknown
;;
12942 case $lt_cv_dlopen_self_static in
12943 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12944 *) enable_dlopen_self_static
=unknown
;;
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12967 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12968 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12969 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12970 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12972 $as_echo "yes" >&6; }
12974 # FIXME - insert some real tests, host_os isn't really good enough
12977 if test -n "$STRIP" ; then
12978 striplib
="$STRIP -x"
12979 old_striplib
="$STRIP -S"
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12981 $as_echo "yes" >&6; }
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12984 $as_echo "no" >&6; }
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12989 $as_echo "no" >&6; }
13005 # Report which library types will actually be built
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13007 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13009 $as_echo "$can_build_shared" >&6; }
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13012 $as_echo_n "checking whether to build shared libraries... " >&6; }
13013 test "$can_build_shared" = "no" && enable_shared
=no
13015 # On AIX, shared libraries and static libraries use the same namespace, and
13016 # are all built from PIC.
13019 test "$enable_shared" = yes && enable_static
=no
13020 if test -n "$RANLIB"; then
13021 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13022 postinstall_cmds
='$RANLIB $lib'
13027 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13028 test "$enable_shared" = yes && enable_static
=no
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13033 $as_echo "$enable_shared" >&6; }
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13036 $as_echo_n "checking whether to build static libraries... " >&6; }
13037 # Make sure either enable_shared or enable_static is yes.
13038 test "$enable_shared" = yes || enable_static
=yes
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13040 $as_echo "$enable_static" >&6; }
13047 ac_cpp
='$CPP $CPPFLAGS'
13048 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13049 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13050 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13066 ac_config_commands
="$ac_config_commands libtool"
13071 # Only expand once:
13076 *-*-beos* |
*-*-cegcc* |
*-*-cygwin* |
*-*-haiku* |
*-*-pw32* |
*-*-darwin*)
13077 # These system don't have libm, or don't need it
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
13081 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
13082 if ${ac_cv_lib_mw__mwvalidcheckl+:} false
; then :
13083 $as_echo_n "(cached) " >&6
13085 ac_check_lib_save_LIBS
=$LIBS
13087 if test x
$gcc_no_link = xyes
; then
13088 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13091 /* end confdefs.h. */
13093 /* Override any GCC internal prototype to avoid an error.
13094 Use char because int might match the return type of a GCC
13095 builtin and then its argument prototype would still apply. */
13099 char _mwvalidcheckl ();
13103 return _mwvalidcheckl ();
13108 if ac_fn_c_try_link
"$LINENO"; then :
13109 ac_cv_lib_mw__mwvalidcheckl
=yes
13111 ac_cv_lib_mw__mwvalidcheckl
=no
13113 rm -f core conftest.err conftest.
$ac_objext \
13114 conftest
$ac_exeext conftest.
$ac_ext
13115 LIBS
=$ac_check_lib_save_LIBS
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
13118 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
13119 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes
; then :
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13124 $as_echo_n "checking for cos in -lm... " >&6; }
13125 if ${ac_cv_lib_m_cos+:} false
; then :
13126 $as_echo_n "(cached) " >&6
13128 ac_check_lib_save_LIBS
=$LIBS
13130 if test x
$gcc_no_link = xyes
; then
13131 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13134 /* end confdefs.h. */
13136 /* Override any GCC internal prototype to avoid an error.
13137 Use char because int might match the return type of a GCC
13138 builtin and then its argument prototype would still apply. */
13151 if ac_fn_c_try_link
"$LINENO"; then :
13152 ac_cv_lib_m_cos
=yes
13156 rm -f core conftest.err conftest.
$ac_objext \
13157 conftest
$ac_exeext conftest.
$ac_ext
13158 LIBS
=$ac_check_lib_save_LIBS
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13161 $as_echo "$ac_cv_lib_m_cos" >&6; }
13162 if test "x$ac_cv_lib_m_cos" = xyes
; then :
13168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13169 $as_echo_n "checking for cos in -lm... " >&6; }
13170 if ${ac_cv_lib_m_cos+:} false
; then :
13171 $as_echo_n "(cached) " >&6
13173 ac_check_lib_save_LIBS
=$LIBS
13175 if test x
$gcc_no_link = xyes
; then
13176 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13179 /* end confdefs.h. */
13181 /* Override any GCC internal prototype to avoid an error.
13182 Use char because int might match the return type of a GCC
13183 builtin and then its argument prototype would still apply. */
13196 if ac_fn_c_try_link
"$LINENO"; then :
13197 ac_cv_lib_m_cos
=yes
13201 rm -f core conftest.err conftest.
$ac_objext \
13202 conftest
$ac_exeext conftest.
$ac_ext
13203 LIBS
=$ac_check_lib_save_LIBS
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13206 $as_echo "$ac_cv_lib_m_cos" >&6; }
13207 if test "x$ac_cv_lib_m_cos" = xyes
; then :
13219 *-cygwin* |
*-mingw*)
13220 # 'host' will be top-level target in the case of a target lib,
13221 # we must compare to with_cross_host to decide if this is a native
13222 # or cross-compiler and select where to install dlls appropriately.
13223 if test -n "$with_cross_host" &&
13224 test x
"$with_cross_host" != x
"no"; then
13225 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
13227 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
13239 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
13241 # We need gfortran to compile parts of the library
13242 #AC_PROG_FC(gfortran)
13244 ac_ext
=${ac_fc_srcext-f}
13245 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13246 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13247 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
13248 if test -n "$ac_tool_prefix"; then
13249 for ac_prog
in gfortran
13251 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13252 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13254 $as_echo_n "checking for $ac_word... " >&6; }
13255 if ${ac_cv_prog_FC+:} false
; then :
13256 $as_echo_n "(cached) " >&6
13258 if test -n "$FC"; then
13259 ac_cv_prog_FC
="$FC" # Let the user override the test.
13261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13262 for as_dir
in $PATH
13265 test -z "$as_dir" && as_dir
=.
13266 for ac_exec_ext
in '' $ac_executable_extensions; do
13267 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13268 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
13269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13279 if test -n "$FC"; then
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
13281 $as_echo "$FC" >&6; }
13283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13284 $as_echo "no" >&6; }
13288 test -n "$FC" && break
13291 if test -z "$FC"; then
13293 for ac_prog
in gfortran
13295 # Extract the first word of "$ac_prog", so it can be a program name with args.
13296 set dummy
$ac_prog; ac_word
=$2
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13298 $as_echo_n "checking for $ac_word... " >&6; }
13299 if ${ac_cv_prog_ac_ct_FC+:} false
; then :
13300 $as_echo_n "(cached) " >&6
13302 if test -n "$ac_ct_FC"; then
13303 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
13305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13306 for as_dir
in $PATH
13309 test -z "$as_dir" && as_dir
=.
13310 for ac_exec_ext
in '' $ac_executable_extensions; do
13311 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13312 ac_cv_prog_ac_ct_FC
="$ac_prog"
13313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13322 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
13323 if test -n "$ac_ct_FC"; then
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
13325 $as_echo "$ac_ct_FC" >&6; }
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13328 $as_echo "no" >&6; }
13332 test -n "$ac_ct_FC" && break
13335 if test "x$ac_ct_FC" = x
; then
13338 case $cross_compiling:$ac_tool_warned in
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13342 ac_tool_warned
=yes ;;
13349 # Provide some information about the compiler.
13350 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
13353 for ac_option
in --version -v -V -qversion; do
13354 { { ac_try
="$ac_compiler $ac_option >&5"
13355 case "(($ac_try" in
13356 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13357 *) ac_try_echo=$ac_try;;
13359 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13360 $as_echo "$ac_try_echo"; } >&5
13361 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13363 if test -s conftest.err; then
13365 ... rest of stderr output deleted ...
13366 10q' conftest.err >conftest.er1
13367 cat conftest.er1 >&5
13369 rm -f conftest.er1 conftest.err
13370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13371 test $ac_status = 0; }
13375 # If we don't use `.F
' as extension, the preprocessor is not run on the
13376 # input file. (Note that this only needs to work for GNU compilers.)
13377 ac_save_ext=$ac_ext
13379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
13380 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
13381 if ${ac_cv_fc_compiler_gnu+:} false; then :
13382 $as_echo_n "(cached) " >&6
13384 cat > conftest.$ac_ext <<_ACEOF
13392 if ac_fn_fc_try_compile "$LINENO"; then :
13393 ac_compiler_gnu=yes
13397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13398 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
13402 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
13403 ac_ext=$ac_save_ext
13404 ac_test_FCFLAGS=${FCFLAGS+set}
13405 ac_save_FCFLAGS=$FCFLAGS
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
13408 $as_echo_n "checking whether $FC accepts -g... " >&6; }
13409 if ${ac_cv_prog_fc_g+:} false; then :
13410 $as_echo_n "(cached) " >&6
13413 cat > conftest.$ac_ext <<_ACEOF
13418 if ac_fn_fc_try_compile "$LINENO"; then :
13419 ac_cv_prog_fc_g=yes
13423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
13427 $as_echo "$ac_cv_prog_fc_g" >&6; }
13428 if test "$ac_test_FCFLAGS" = set; then
13429 FCFLAGS=$ac_save_FCFLAGS
13430 elif test $ac_cv_prog_fc_g = yes; then
13431 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13437 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13444 if test $ac_compiler_gnu = yes; then
13450 ac_cpp='$CPP $CPPFLAGS'
13451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
13452 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13455 ac_ext=${ac_fc_srcext-f}
13456 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
13457 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
13458 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13461 if test -z "$FC" || test "X$FC" = "Xno"; then
13465 archive_cmds_need_lc_FC=no
13466 allow_undefined_flag_FC=
13467 always_export_symbols_FC=no
13468 archive_expsym_cmds_FC=
13469 export_dynamic_flag_spec_FC=
13470 hardcode_direct_FC=no
13471 hardcode_direct_absolute_FC=no
13472 hardcode_libdir_flag_spec_FC=
13473 hardcode_libdir_flag_spec_ld_FC=
13474 hardcode_libdir_separator_FC=
13475 hardcode_minus_L_FC=no
13476 hardcode_automatic_FC=no
13477 inherit_rpath_FC=no
13479 module_expsym_cmds_FC=
13480 link_all_deplibs_FC=unknown
13481 old_archive_cmds_FC=$old_archive_cmds
13482 reload_flag_FC=$reload_flag
13483 reload_cmds_FC=$reload_cmds
13484 no_undefined_flag_FC=
13485 whole_archive_flag_spec_FC=
13486 enable_shared_with_static_runtimes_FC=no
13488 # Source file extension for fc test sources.
13489 ac_ext=${ac_fc_srcext-f}
13491 # Object file extension for compiled fc test sources.
13495 # No sense in running all these tests if we already determined that
13496 # the FC compiler isn't working. Some variables
(like enable_shared
)
13497 # are currently assumed to apply to all compilers on this platform,
13498 # and will be corrupted by setting them based on a non-working compiler.
13499 if test "$_lt_disable_FC" != yes; then
13500 # Code to be used in simple compile tests
13501 lt_simple_compile_test_code
="\
13507 # Code to be used in simple link tests
13508 lt_simple_link_test_code
="\
13513 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13520 # If no C compiler was specified, use CC.
13523 # If no C compiler flags were specified, use CFLAGS.
13524 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13526 # Allow CC to be a program name with arguments.
13530 # save warnings/boilerplate of simple test code
13531 ac_outfile
=conftest.
$ac_objext
13532 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13533 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13534 _lt_compiler_boilerplate
=`cat conftest.err`
13537 ac_outfile
=conftest.
$ac_objext
13538 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13539 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13540 _lt_linker_boilerplate
=`cat conftest.err`
13544 # Allow CC to be a program name with arguments.
13549 GCC
=$ac_cv_fc_compiler_gnu
13552 for cc_temp
in $compiler""; do
13554 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13555 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13560 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13563 if test -n "$compiler"; then
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13565 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13567 $as_echo "$can_build_shared" >&6; }
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13570 $as_echo_n "checking whether to build shared libraries... " >&6; }
13571 test "$can_build_shared" = "no" && enable_shared
=no
13573 # On AIX, shared libraries and static libraries use the same namespace, and
13574 # are all built from PIC.
13577 test "$enable_shared" = yes && enable_static
=no
13578 if test -n "$RANLIB"; then
13579 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13580 postinstall_cmds
='$RANLIB $lib'
13584 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13585 test "$enable_shared" = yes && enable_static
=no
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13590 $as_echo "$enable_shared" >&6; }
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13593 $as_echo_n "checking whether to build static libraries... " >&6; }
13594 # Make sure either enable_shared or enable_static is yes.
13595 test "$enable_shared" = yes || enable_static
=yes
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13597 $as_echo "$enable_static" >&6; }
13599 GCC_FC
="$ac_cv_fc_compiler_gnu"
13603 ## There is no encapsulation within the following macros, do not change
13604 ## the running order or otherwise move them around unless you know exactly
13605 ## what you are doing...
13606 # Dependencies to place before and after the object being linked:
13608 postdep_objects_FC
=
13611 compiler_lib_search_path_FC
=
13613 cat > conftest.
$ac_ext <<_LT_EOF
13622 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13623 (eval $ac_compile) 2>&5
13625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13626 test $ac_status = 0; }; then
13627 # Parse the compiler output and extract the necessary
13628 # objects, libraries and library flags.
13630 # Sentinel used to keep track of whether or not we are before
13631 # the conftest object file.
13632 pre_test_object_deps_done
=no
13634 for p
in `eval "$output_verbose_link_cmd"`; do
13638 # Some compilers place space between "-{L,R}" and the path.
13639 # Remove the space.
13640 if test $p = "-L" ||
13641 test $p = "-R"; then
13648 if test "$pre_test_object_deps_done" = no
; then
13651 # Internal compiler library paths should come after those
13652 # provided the user. The postdeps already come after the
13653 # user supplied libs so there is no need to process them.
13654 if test -z "$compiler_lib_search_path_FC"; then
13655 compiler_lib_search_path_FC
="${prev}${p}"
13657 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
13660 # The "-l" case would never come before the object being
13661 # linked, so don't bother handling this case.
13664 if test -z "$postdeps_FC"; then
13665 postdeps_FC
="${prev}${p}"
13667 postdeps_FC
="${postdeps_FC} ${prev}${p}"
13673 # This assumes that the test object file only shows up
13674 # once in the compiler output.
13675 if test "$p" = "conftest.$objext"; then
13676 pre_test_object_deps_done
=yes
13680 if test "$pre_test_object_deps_done" = no
; then
13681 if test -z "$predep_objects_FC"; then
13682 predep_objects_FC
="$p"
13684 predep_objects_FC
="$predep_objects_FC $p"
13687 if test -z "$postdep_objects_FC"; then
13688 postdep_objects_FC
="$p"
13690 postdep_objects_FC
="$postdep_objects_FC $p"
13695 *) ;; # Ignore the rest.
13703 echo "libtool.m4: error: problem compiling FC test program"
13706 $RM -f confest.
$objext
13708 # PORTME: override above test on systems where it is broken
13711 case " $postdeps_FC " in
13712 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
13714 compiler_lib_search_dirs_FC
=
13715 if test -n "${compiler_lib_search_path_FC}"; then
13716 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13749 lt_prog_compiler_wl_FC
=
13750 lt_prog_compiler_pic_FC
=
13751 lt_prog_compiler_static_FC
=
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13754 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13756 if test "$GCC" = yes; then
13757 lt_prog_compiler_wl_FC
='-Wl,'
13758 lt_prog_compiler_static_FC
='-static'
13762 # All AIX code is PIC.
13763 if test "$host_cpu" = ia64
; then
13764 # AIX 5 now supports IA64 processor
13765 lt_prog_compiler_static_FC
='-Bstatic'
13767 lt_prog_compiler_pic_FC
='-fPIC'
13773 # see comment about AmigaOS4 .so support
13774 lt_prog_compiler_pic_FC
='-fPIC'
13777 # FIXME: we need at least 68020 code to build shared libraries, but
13778 # adding the `-m68020' flag to GCC prevents building anything better,
13780 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
13785 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13786 # PIC is the default for these OSes.
13789 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13790 # This hack is so that the source file can tell whether it is being
13791 # built for inclusion in a dll (and should export symbols for example).
13792 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13793 # (--disable-auto-import) libraries
13794 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13797 darwin
* | rhapsody
*)
13798 # PIC is the default on this platform
13799 # Common symbols not allowed in MH_DYLIB files
13800 lt_prog_compiler_pic_FC
='-fno-common'
13804 # PIC is the default for Haiku.
13805 # The "-static" flag exists, but is broken.
13806 lt_prog_compiler_static_FC
=
13810 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13811 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13812 # sets the default TLS model and affects inlining.
13818 lt_prog_compiler_pic_FC
='-fPIC'
13824 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13825 # Instead, we relocate shared libraries at runtime.
13829 # Just because we use GCC doesn't mean we suddenly get shared libraries
13830 # on systems that don't support them.
13831 lt_prog_compiler_can_build_shared_FC
=no
13836 # QNX uses GNU C++, but need to define -shared option too, otherwise
13837 # it will coredump.
13838 lt_prog_compiler_pic_FC
='-fPIC -shared'
13842 if test -d /usr
/nec
; then
13843 lt_prog_compiler_pic_FC
=-Kconform_pic
13848 lt_prog_compiler_pic_FC
='-fPIC'
13852 case $cc_basename in
13853 nvcc
*) # Cuda Compiler Driver 2.2
13854 lt_prog_compiler_wl_FC
='-Xlinker '
13855 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
13859 # PORTME Check for flag to pass linker flags through the system compiler.
13862 lt_prog_compiler_wl_FC
='-Wl,'
13863 if test "$host_cpu" = ia64
; then
13864 # AIX 5 now supports IA64 processor
13865 lt_prog_compiler_static_FC
='-Bstatic'
13867 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
13871 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13872 # This hack is so that the source file can tell whether it is being
13873 # built for inclusion in a dll (and should export symbols for example).
13874 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13877 hpux9
* | hpux10
* | hpux11
*)
13878 lt_prog_compiler_wl_FC
='-Wl,'
13879 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13880 # not for PA HP-UX.
13886 lt_prog_compiler_pic_FC
='+Z'
13889 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13890 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
13893 irix5
* | irix6
* | nonstopux
*)
13894 lt_prog_compiler_wl_FC
='-Wl,'
13895 # PIC (with -KPIC) is the default.
13896 lt_prog_compiler_static_FC
='-non_shared'
13899 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13900 case $cc_basename in
13901 # old Intel for x86_64 which still supported -KPIC.
13903 lt_prog_compiler_wl_FC
='-Wl,'
13904 lt_prog_compiler_pic_FC
='-KPIC'
13905 lt_prog_compiler_static_FC
='-static'
13907 # icc used to be incompatible with GCC.
13908 # ICC 10 doesn't accept -KPIC any more.
13910 lt_prog_compiler_wl_FC
='-Wl,'
13911 lt_prog_compiler_pic_FC
='-fPIC'
13912 lt_prog_compiler_static_FC
='-static'
13914 # Lahey Fortran 8.1.
13916 lt_prog_compiler_wl_FC
='-Wl,'
13917 lt_prog_compiler_pic_FC
='--shared'
13918 lt_prog_compiler_static_FC
='--static'
13920 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13921 # Portland Group compilers (*not* the Pentium gcc compiler,
13922 # which looks to be a dead project)
13923 lt_prog_compiler_wl_FC
='-Wl,'
13924 lt_prog_compiler_pic_FC
='-fpic'
13925 lt_prog_compiler_static_FC
='-Bstatic'
13928 lt_prog_compiler_wl_FC
='-Wl,'
13929 # All Alpha code is PIC.
13930 lt_prog_compiler_static_FC
='-non_shared'
13932 xl
* | bgxl
* | bgf
* | mpixl
*)
13933 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13934 lt_prog_compiler_wl_FC
='-Wl,'
13935 lt_prog_compiler_pic_FC
='-qpic'
13936 lt_prog_compiler_static_FC
='-qstaticlink'
13939 case `$CC -V 2>&1 | sed 5q` in
13940 *Sun\ F
* |
*Sun
*Fortran
*)
13941 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13942 lt_prog_compiler_pic_FC
='-KPIC'
13943 lt_prog_compiler_static_FC
='-Bstatic'
13944 lt_prog_compiler_wl_FC
=''
13948 lt_prog_compiler_pic_FC
='-KPIC'
13949 lt_prog_compiler_static_FC
='-Bstatic'
13950 lt_prog_compiler_wl_FC
='-Wl,'
13958 lt_prog_compiler_pic_FC
='-KPIC'
13959 lt_prog_compiler_static_FC
='-Bstatic'
13963 # QNX uses GNU C++, but need to define -shared option too, otherwise
13964 # it will coredump.
13965 lt_prog_compiler_pic_FC
='-fPIC -shared'
13968 osf3
* | osf4
* | osf5
*)
13969 lt_prog_compiler_wl_FC
='-Wl,'
13970 # All OSF/1 code is PIC.
13971 lt_prog_compiler_static_FC
='-non_shared'
13975 lt_prog_compiler_static_FC
='-non_shared'
13979 lt_prog_compiler_pic_FC
='-KPIC'
13980 lt_prog_compiler_static_FC
='-Bstatic'
13981 case $cc_basename in
13982 f77
* | f90
* | f95
*)
13983 lt_prog_compiler_wl_FC
='-Qoption ld ';;
13985 lt_prog_compiler_wl_FC
='-Wl,';;
13990 lt_prog_compiler_wl_FC
='-Qoption ld '
13991 lt_prog_compiler_pic_FC
='-PIC'
13992 lt_prog_compiler_static_FC
='-Bstatic'
13995 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13996 lt_prog_compiler_wl_FC
='-Wl,'
13997 lt_prog_compiler_pic_FC
='-KPIC'
13998 lt_prog_compiler_static_FC
='-Bstatic'
14002 if test -d /usr
/nec
;then
14003 lt_prog_compiler_pic_FC
='-Kconform_pic'
14004 lt_prog_compiler_static_FC
='-Bstatic'
14008 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14009 lt_prog_compiler_wl_FC
='-Wl,'
14010 lt_prog_compiler_pic_FC
='-KPIC'
14011 lt_prog_compiler_static_FC
='-Bstatic'
14015 lt_prog_compiler_wl_FC
='-Wl,'
14016 lt_prog_compiler_can_build_shared_FC
=no
14020 lt_prog_compiler_pic_FC
='-pic'
14021 lt_prog_compiler_static_FC
='-Bstatic'
14025 lt_prog_compiler_can_build_shared_FC
=no
14031 # For platforms which do not support PIC, -DPIC is meaningless:
14033 lt_prog_compiler_pic_FC
=
14036 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
14040 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
14045 # Check to make sure the PIC flag actually works.
14047 if test -n "$lt_prog_compiler_pic_FC"; then
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
14049 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
14050 if ${lt_cv_prog_compiler_pic_works_FC+:} false
; then :
14051 $as_echo_n "(cached) " >&6
14053 lt_cv_prog_compiler_pic_works_FC
=no
14054 ac_outfile
=conftest.
$ac_objext
14055 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14056 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
14057 # Insert the option either (1) after the last *FLAGS variable, or
14058 # (2) before a word containing "conftest.", or (3) at the end.
14059 # Note that $ac_compile itself does not contain backslashes and begins
14060 # with a dollar sign (not a hyphen), so the echo should work correctly.
14061 # The option is referenced via a variable to avoid confusing sed.
14062 lt_compile
=`echo "$ac_compile" | $SED \
14063 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14064 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14065 -e 's:$: $lt_compiler_flag:'`
14066 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14067 (eval "$lt_compile" 2>conftest.err
)
14069 cat conftest.err
>&5
14070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14071 if (exit $ac_status) && test -s "$ac_outfile"; then
14072 # The compiler can only warn and ignore the option if not recognized
14073 # So say no if there are warnings other than the usual output.
14074 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14075 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14076 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14077 lt_cv_prog_compiler_pic_works_FC
=yes
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
14084 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
14086 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
14087 case $lt_prog_compiler_pic_FC in
14089 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
14092 lt_prog_compiler_pic_FC
=
14093 lt_prog_compiler_can_build_shared_FC
=no
14101 # Check to make sure the static flag actually works.
14103 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14105 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14106 if ${lt_cv_prog_compiler_static_works_FC+:} false
; then :
14107 $as_echo_n "(cached) " >&6
14109 lt_cv_prog_compiler_static_works_FC
=no
14110 save_LDFLAGS
="$LDFLAGS"
14111 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14112 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14113 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14114 # The linker can only warn and ignore the option if not recognized
14115 # So say no if there are warnings
14116 if test -s conftest.err
; then
14117 # Append any errors to the config.log.
14118 cat conftest.err
1>&5
14119 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14120 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14121 if diff conftest.exp conftest.er2
>/dev
/null
; then
14122 lt_cv_prog_compiler_static_works_FC
=yes
14125 lt_cv_prog_compiler_static_works_FC
=yes
14129 LDFLAGS
="$save_LDFLAGS"
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
14133 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
14135 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
14138 lt_prog_compiler_static_FC
=
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14145 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14146 if ${lt_cv_prog_compiler_c_o_FC+:} false
; then :
14147 $as_echo_n "(cached) " >&6
14149 lt_cv_prog_compiler_c_o_FC
=no
14150 $RM -r conftest
2>/dev
/null
14154 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14156 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14157 # Insert the option either (1) after the last *FLAGS variable, or
14158 # (2) before a word containing "conftest.", or (3) at the end.
14159 # Note that $ac_compile itself does not contain backslashes and begins
14160 # with a dollar sign (not a hyphen), so the echo should work correctly.
14161 lt_compile
=`echo "$ac_compile" | $SED \
14162 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14163 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14164 -e 's:$: $lt_compiler_flag:'`
14165 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14166 (eval "$lt_compile" 2>out
/conftest.err
)
14168 cat out
/conftest.err
>&5
14169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14170 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14172 # The compiler can only warn and ignore the option if not recognized
14173 # So say no if there are warnings
14174 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14175 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14176 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14177 lt_cv_prog_compiler_c_o_FC
=yes
14182 # SGI C++ compiler will create directory out/ii_files/ for
14183 # template instantiation
14184 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14185 $RM out
/* && rmdir out
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14192 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14197 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14198 if ${lt_cv_prog_compiler_c_o_FC+:} false
; then :
14199 $as_echo_n "(cached) " >&6
14201 lt_cv_prog_compiler_c_o_FC
=no
14202 $RM -r conftest
2>/dev
/null
14206 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14208 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14209 # Insert the option either (1) after the last *FLAGS variable, or
14210 # (2) before a word containing "conftest.", or (3) at the end.
14211 # Note that $ac_compile itself does not contain backslashes and begins
14212 # with a dollar sign (not a hyphen), so the echo should work correctly.
14213 lt_compile
=`echo "$ac_compile" | $SED \
14214 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14215 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14216 -e 's:$: $lt_compiler_flag:'`
14217 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14218 (eval "$lt_compile" 2>out
/conftest.err
)
14220 cat out
/conftest.err
>&5
14221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14222 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14224 # The compiler can only warn and ignore the option if not recognized
14225 # So say no if there are warnings
14226 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14227 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14228 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14229 lt_cv_prog_compiler_c_o_FC
=yes
14234 # SGI C++ compiler will create directory out/ii_files/ for
14235 # template instantiation
14236 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14237 $RM out
/* && rmdir out
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14244 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14249 hard_links
="nottested"
14250 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
14251 # do not overwrite the value of need_locks provided by the user
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14253 $as_echo_n "checking if we can lock with hard links... " >&6; }
14256 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14258 ln conftest.a conftest.b
2>&5 || hard_links
=no
14259 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14261 $as_echo "$hard_links" >&6; }
14262 if test "$hard_links" = no
; then
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14264 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14274 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14277 allow_undefined_flag_FC
=
14278 always_export_symbols_FC
=no
14280 archive_expsym_cmds_FC
=
14281 compiler_needs_object_FC
=no
14282 enable_shared_with_static_runtimes_FC
=no
14283 export_dynamic_flag_spec_FC
=
14284 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14285 hardcode_automatic_FC
=no
14286 hardcode_direct_FC
=no
14287 hardcode_direct_absolute_FC
=no
14288 hardcode_libdir_flag_spec_FC
=
14289 hardcode_libdir_flag_spec_ld_FC
=
14290 hardcode_libdir_separator_FC
=
14291 hardcode_minus_L_FC
=no
14292 hardcode_shlibpath_var_FC
=unsupported
14293 inherit_rpath_FC
=no
14294 link_all_deplibs_FC
=unknown
14296 module_expsym_cmds_FC
=
14297 old_archive_from_new_cmds_FC
=
14298 old_archive_from_expsyms_cmds_FC
=
14299 thread_safe_flag_spec_FC
=
14300 whole_archive_flag_spec_FC
=
14301 # include_expsyms should be a list of space-separated symbols to be *always*
14302 # included in the symbol list
14303 include_expsyms_FC
=
14304 # exclude_expsyms can be an extended regexp of symbols to exclude
14305 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14306 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14307 # as well as any symbol that contains `d'.
14308 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14309 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14310 # platforms (ab)use it in PIC code, but their linkers get confused if
14311 # the symbol is explicitly referenced. Since portable code cannot
14312 # rely on this symbol name, it's probably fine to never include it in
14313 # preloaded symbol tables.
14314 # Exclude shared library initialization/finalization symbols.
14315 extract_expsyms_cmds
=
14318 cygwin
* | mingw
* | pw32
* | cegcc
*)
14319 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14320 # When not using gcc, we currently assume that we are using
14321 # Microsoft Visual C++.
14322 if test "$GCC" != yes; then
14327 # we just hope/assume this is gcc and not c89 (= MSVC++)
14337 # On some targets, GNU ld is compatible enough with the native linker
14338 # that we're better off using the native interface for both.
14339 lt_use_gnu_ld_interface
=no
14340 if test "$with_gnu_ld" = yes; then
14343 # The AIX port of GNU ld has always aspired to compatibility
14344 # with the native linker. However, as the warning in the GNU ld
14345 # block says, versions before 2.19.5* couldn't really create working
14346 # shared libraries, regardless of the interface used.
14347 case `$LD -v 2>&1` in
14348 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
14349 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
14350 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
14352 lt_use_gnu_ld_interface
=yes
14357 lt_use_gnu_ld_interface
=yes
14362 if test "$lt_use_gnu_ld_interface" = yes; then
14363 # If archive_cmds runs LD, not CC, wlarc should be empty
14366 # Set some defaults for GNU ld with shared library support. These
14367 # are reset later if shared libraries are not supported. Putting them
14368 # here allows them to be overridden if necessary.
14369 runpath_var
=LD_RUN_PATH
14370 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14371 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
14372 # ancient GNU ld didn't support --whole-archive et. al.
14373 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
14374 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14376 whole_archive_flag_spec_FC
=
14378 supports_anon_versioning
=no
14379 case `$LD -v 2>&1` in
14380 *GNU\ gold
*) supports_anon_versioning
=yes ;;
14381 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14382 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14383 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14384 *\
2.11.
*) ;; # other 2.11 versions
14385 *) supports_anon_versioning
=yes ;;
14388 # See if GNU ld supports shared libraries.
14391 # On AIX/PPC, the GNU linker is very broken
14392 if test "$host_cpu" != ia64
; then
14396 *** Warning: the GNU linker, at least up to release 2.19, is reported
14397 *** to be unable to reliably create shared libraries on AIX.
14398 *** Therefore, libtool is disabling shared libraries support. If you
14399 *** really care for shared libraries, you may want to install binutils
14400 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
14401 *** You will then need to restart the configuration process.
14410 # see comment about AmigaOS4 .so support
14411 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14412 archive_expsym_cmds_FC
=''
14415 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)'
14416 hardcode_libdir_flag_spec_FC
='-L$libdir'
14417 hardcode_minus_L_FC
=yes
14423 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14424 allow_undefined_flag_FC
=unsupported
14425 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14426 # support --undefined. This deserves some investigation. FIXME
14427 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14433 cygwin
* | mingw
* | pw32
* | cegcc
*)
14434 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
14435 # as there is no search path for DLLs.
14436 hardcode_libdir_flag_spec_FC
='-L$libdir'
14437 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
14438 allow_undefined_flag_FC
=unsupported
14439 always_export_symbols_FC
=no
14440 enable_shared_with_static_runtimes_FC
=yes
14441 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14443 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14444 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14445 # If the export-symbols file already is a .def file (1st line
14446 # is EXPORTS), use it as is; otherwise, prepend...
14447 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14448 cp $export_symbols $output_objdir/$soname.def;
14450 echo EXPORTS > $output_objdir/$soname.def;
14451 cat $export_symbols >> $output_objdir/$soname.def;
14453 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14460 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14461 link_all_deplibs_FC
=yes
14465 hardcode_direct_FC
=no
14466 hardcode_shlibpath_var_FC
=no
14467 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14468 export_dynamic_flag_spec_FC
='${wl}-E'
14469 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14470 # Instead, shared libraries are loaded at an image base (0x10000000 by
14471 # default) and relocated if they conflict, which is a slow very memory
14472 # consuming and fragmenting process. To avoid this, we pick a random,
14473 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14474 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14475 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'
14476 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'
14479 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
14481 if test "$host_os" = linux-dietlibc
; then
14482 case $cc_basename in
14483 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
14486 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
14487 && test "$tmp_diet" = no
14489 tmp_addflag
=' $pic_flag'
14490 tmp_sharedflag
='-shared'
14491 case $cc_basename,$host_cpu in
14492 pgcc
*) # Portland Group C compiler
14493 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'
14494 tmp_addflag
=' $pic_flag'
14496 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
14497 # Portland Group f77 and f90 compilers
14498 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'
14499 tmp_addflag
=' $pic_flag -Mnomain' ;;
14500 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14501 tmp_addflag
=' -i_dynamic' ;;
14502 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14503 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14504 ifc
* | ifort
*) # Intel Fortran compiler
14505 tmp_addflag
=' -nofor_main' ;;
14506 lf95
*) # Lahey Fortran 8.1
14507 whole_archive_flag_spec_FC
=
14508 tmp_sharedflag
='--shared' ;;
14509 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14510 tmp_sharedflag
='-qmkshrobj'
14512 nvcc
*) # Cuda Compiler Driver 2.2
14513 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'
14514 compiler_needs_object_FC
=yes
14517 case `$CC -V 2>&1 | sed 5q` in
14518 *Sun\ C
*) # Sun C 5.9
14519 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'
14520 compiler_needs_object_FC
=yes
14521 tmp_sharedflag
='-G' ;;
14522 *Sun\ F
*) # Sun Fortran 8.3
14523 tmp_sharedflag
='-G' ;;
14525 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14527 if test "x$supports_anon_versioning" = xyes
; then
14528 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14529 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14530 echo "local: *; };" >> $output_objdir/$libname.ver~
14531 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14534 case $cc_basename in
14535 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
14536 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14537 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
14538 hardcode_libdir_flag_spec_FC
=
14539 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
14540 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14541 if test "x$supports_anon_versioning" = xyes
; then
14542 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14543 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14544 echo "local: *; };" >> $output_objdir/$libname.ver~
14545 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14555 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14556 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14559 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14560 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14565 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
14569 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14570 *** create shared libraries on Solaris systems. Therefore, libtool
14571 *** is disabling shared libraries support. We urge you to upgrade GNU
14572 *** binutils to release 2.9.1 or newer. Another option is to modify
14573 *** your PATH or compiler configuration so that the native linker is
14574 *** used, and then restart.
14577 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14578 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14579 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14585 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14586 case `$LD -v 2>&1` in
14587 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14591 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14592 *** reliably create shared libraries on SCO systems. Therefore, libtool
14593 *** is disabling shared libraries support. We urge you to upgrade GNU
14594 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14595 *** your PATH or compiler configuration so that the native linker is
14596 *** used, and then restart.
14601 # For security reasons, it is highly recommended that you always
14602 # use absolute paths for naming shared libraries, and exclude the
14603 # DT_RUNPATH tag from executables and libraries. But doing so
14604 # requires that you compile everything twice, which is a pain.
14605 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14606 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14607 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14608 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14617 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14619 hardcode_direct_FC
=yes
14620 hardcode_shlibpath_var_FC
=no
14624 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14625 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14626 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14633 if test "$ld_shlibs_FC" = no
; then
14635 hardcode_libdir_flag_spec_FC
=
14636 export_dynamic_flag_spec_FC
=
14637 whole_archive_flag_spec_FC
=
14640 # PORTME fill in a description of your system's linker (not GNU ld)
14643 allow_undefined_flag_FC
=unsupported
14644 always_export_symbols_FC
=yes
14645 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'
14646 # Note: this linker hardcodes the directories in LIBPATH if there
14647 # are no directories specified by -L.
14648 hardcode_minus_L_FC
=yes
14649 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14650 # Neither direct hardcoding nor static linking is supported with a
14652 hardcode_direct_FC
=unsupported
14657 if test "$host_cpu" = ia64
; then
14658 # On IA64, the linker does run time linking by default, so we don't
14659 # have to do anything special.
14660 aix_use_runtimelinking
=no
14661 exp_sym_flag
='-Bexport'
14664 # If we're using GNU nm, then we don't want the "-C" option.
14665 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14666 # Also, AIX nm treats weak defined symbols like other global
14667 # defined symbols, whereas GNU nm marks them as "W".
14668 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14669 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'
14671 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'
14673 aix_use_runtimelinking
=no
14675 # Test if we are trying to use run time linking or normal
14676 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14677 # need to do runtime linking.
14678 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14679 for ld_flag
in $LDFLAGS; do
14680 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14681 aix_use_runtimelinking
=yes
14688 exp_sym_flag
='-bexport'
14689 no_entry_flag
='-bnoentry'
14692 # When large executables or shared objects are built, AIX ld can
14693 # have problems creating the table of contents. If linking a library
14694 # or program results in "error TOC overflow" add -mminimal-toc to
14695 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14696 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14699 hardcode_direct_FC
=yes
14700 hardcode_direct_absolute_FC
=yes
14701 hardcode_libdir_separator_FC
=':'
14702 link_all_deplibs_FC
=yes
14703 file_list_spec_FC
='${wl}-f,'
14705 if test "$GCC" = yes; then
14706 case $host_os in aix4.
[012]|aix4.
[012].
*)
14707 # We only want to do this on AIX 4.2 and lower, the check
14708 # below for broken collect2 doesn't work under 4.3+
14709 collect2name
=`${CC} -print-prog-name=collect2`
14710 if test -f "$collect2name" &&
14711 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14713 # We have reworked collect2
14716 # We have old collect2
14717 hardcode_direct_FC
=unsupported
14718 # It fails to find uninstalled libraries when the uninstalled
14719 # path is not listed in the libpath. Setting hardcode_minus_L
14720 # to unsupported forces relinking
14721 hardcode_minus_L_FC
=yes
14722 hardcode_libdir_flag_spec_FC
='-L$libdir'
14723 hardcode_libdir_separator_FC
=
14727 shared_flag
='-shared'
14728 if test "$aix_use_runtimelinking" = yes; then
14729 shared_flag
="$shared_flag "'${wl}-G'
14733 if test "$host_cpu" = ia64
; then
14734 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14735 # chokes on -Wl,-G. The following line is correct:
14738 if test "$aix_use_runtimelinking" = yes; then
14739 shared_flag
='${wl}-G'
14741 shared_flag
='${wl}-bM:SRE'
14746 export_dynamic_flag_spec_FC
='${wl}-bexpall'
14747 # It seems that -bexpall does not export symbols beginning with
14748 # underscore (_), so it is better to generate a list of symbols to export.
14749 always_export_symbols_FC
=yes
14750 if test "$aix_use_runtimelinking" = yes; then
14751 # Warning - without using the other runtime loading flags (-brtl),
14752 # -berok will link without error, but may produce a broken library.
14753 allow_undefined_flag_FC
='-berok'
14754 # Determine the default libpath from the value encoded in an
14755 # empty executable.
14756 if test x
$gcc_no_link = xyes
; then
14757 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14759 cat > conftest.
$ac_ext <<_ACEOF
14764 if ac_fn_fc_try_link
"$LINENO"; then :
14766 lt_aix_libpath_sed
='
14767 /Import File Strings/,/^$/ {
14773 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14774 # Check for a 64-bit object if we didn't find anything.
14775 if test -z "$aix_libpath"; then
14776 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14779 rm -f core conftest.err conftest.
$ac_objext \
14780 conftest
$ac_exeext conftest.
$ac_ext
14781 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14783 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14784 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"
14786 if test "$host_cpu" = ia64
; then
14787 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
14788 allow_undefined_flag_FC
="-z nodefs"
14789 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"
14791 # Determine the default libpath from the value encoded in an
14792 # empty executable.
14793 if test x
$gcc_no_link = xyes
; then
14794 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14796 cat > conftest.
$ac_ext <<_ACEOF
14801 if ac_fn_fc_try_link
"$LINENO"; then :
14803 lt_aix_libpath_sed
='
14804 /Import File Strings/,/^$/ {
14810 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14811 # Check for a 64-bit object if we didn't find anything.
14812 if test -z "$aix_libpath"; then
14813 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14816 rm -f core conftest.err conftest.
$ac_objext \
14817 conftest
$ac_exeext conftest.
$ac_ext
14818 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14820 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14821 # Warning - without using the other run time loading flags,
14822 # -berok will link without error, but may produce a broken library.
14823 no_undefined_flag_FC
=' ${wl}-bernotok'
14824 allow_undefined_flag_FC
=' ${wl}-berok'
14825 if test "$with_gnu_ld" = yes; then
14826 # We only use this code for GNU lds that support --whole-archive.
14827 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14829 # Exported symbols can be pulled into shared objects from archives
14830 whole_archive_flag_spec_FC
='$convenience'
14832 archive_cmds_need_lc_FC
=yes
14833 # This is similar to how AIX traditionally builds its shared libraries.
14834 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'
14842 # see comment about AmigaOS4 .so support
14843 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14844 archive_expsym_cmds_FC
=''
14847 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)'
14848 hardcode_libdir_flag_spec_FC
='-L$libdir'
14849 hardcode_minus_L_FC
=yes
14855 export_dynamic_flag_spec_FC
=-rdynamic
14858 cygwin
* | mingw
* | pw32
* | cegcc
*)
14859 # When not using gcc, we currently assume that we are using
14860 # Microsoft Visual C++.
14861 # hardcode_libdir_flag_spec is actually meaningless, as there is
14862 # no search path for DLLs.
14863 hardcode_libdir_flag_spec_FC
=' '
14864 allow_undefined_flag_FC
=unsupported
14865 # Tell ltmain to make .lib files, not .a files.
14867 # Tell ltmain to make .dll files, not .so files.
14869 # FIXME: Setting linknames here is a bad hack.
14870 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14871 # The linker will automatically build a .lib file if we build a DLL.
14872 old_archive_from_new_cmds_FC
='true'
14873 # FIXME: Should let the user specify the lib program.
14874 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14875 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
14876 enable_shared_with_static_runtimes_FC
=yes
14879 darwin
* | rhapsody
*)
14882 archive_cmds_need_lc_FC
=no
14883 hardcode_direct_FC
=no
14884 hardcode_automatic_FC
=yes
14885 hardcode_shlibpath_var_FC
=unsupported
14886 if test "$lt_cv_ld_force_load" = "yes"; then
14887 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\"`'
14889 whole_archive_flag_spec_FC
=''
14891 link_all_deplibs_FC
=yes
14892 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
14893 case $cc_basename in
14894 ifort
*) _lt_dar_can_shared
=yes ;;
14895 *) _lt_dar_can_shared
=$GCC ;;
14897 if test "$_lt_dar_can_shared" = "yes"; then
14898 output_verbose_link_cmd
=func_echo_all
14899 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}"
14900 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14901 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}"
14902 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}"
14911 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14912 hardcode_libdir_flag_spec_FC
='-L$libdir'
14913 hardcode_shlibpath_var_FC
=no
14916 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14917 # support. Future versions do this automatically, but an explicit c++rt0.o
14918 # does not break anything, and helps significantly (at the cost of a little
14921 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14922 hardcode_libdir_flag_spec_FC
='-R$libdir'
14923 hardcode_direct_FC
=yes
14924 hardcode_shlibpath_var_FC
=no
14927 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14929 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14930 hardcode_direct_FC
=yes
14931 hardcode_minus_L_FC
=yes
14932 hardcode_shlibpath_var_FC
=no
14935 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14936 freebsd
* | dragonfly
*)
14937 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14938 hardcode_libdir_flag_spec_FC
='-R$libdir'
14939 hardcode_direct_FC
=yes
14940 hardcode_shlibpath_var_FC
=no
14944 if test "$GCC" = yes; then
14945 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'
14947 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'
14949 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14950 hardcode_libdir_separator_FC
=:
14951 hardcode_direct_FC
=yes
14953 # hardcode_minus_L: Not really in the search PATH,
14954 # but as the default location of the library.
14955 hardcode_minus_L_FC
=yes
14956 export_dynamic_flag_spec_FC
='${wl}-E'
14960 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14961 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14963 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14965 if test "$with_gnu_ld" = no
; then
14966 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14967 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
14968 hardcode_libdir_separator_FC
=:
14969 hardcode_direct_FC
=yes
14970 hardcode_direct_absolute_FC
=yes
14971 export_dynamic_flag_spec_FC
='${wl}-E'
14972 # hardcode_minus_L: Not really in the search PATH,
14973 # but as the default location of the library.
14974 hardcode_minus_L_FC
=yes
14979 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14982 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14985 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14988 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14994 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14997 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15000 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15004 if test "$with_gnu_ld" = no
; then
15005 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
15006 hardcode_libdir_separator_FC
=:
15010 hardcode_direct_FC
=no
15011 hardcode_shlibpath_var_FC
=no
15014 hardcode_direct_FC
=yes
15015 hardcode_direct_absolute_FC
=yes
15016 export_dynamic_flag_spec_FC
='${wl}-E'
15018 # hardcode_minus_L: Not really in the search PATH,
15019 # but as the default location of the library.
15020 hardcode_minus_L_FC
=yes
15026 irix5
* | irix6
* | nonstopux
*)
15027 if test "$GCC" = yes; then
15028 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'
15029 # Try to use the -exported_symbol ld option, if it does not
15030 # work, assume that -exports_file does not work either and
15031 # implicitly export all symbols.
15032 save_LDFLAGS
="$LDFLAGS"
15033 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
15034 if test x
$gcc_no_link = xyes
; then
15035 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15037 cat > conftest.
$ac_ext <<_ACEOF
15040 if ac_fn_fc_try_link
"$LINENO"; then :
15041 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'
15044 rm -f core conftest.err conftest.
$ac_objext \
15045 conftest
$ac_exeext conftest.
$ac_ext
15046 LDFLAGS
="$save_LDFLAGS"
15048 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'
15049 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'
15051 archive_cmds_need_lc_FC
='no'
15052 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15053 hardcode_libdir_separator_FC
=:
15054 inherit_rpath_FC
=yes
15055 link_all_deplibs_FC
=yes
15059 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15060 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15062 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15064 hardcode_libdir_flag_spec_FC
='-R$libdir'
15065 hardcode_direct_FC
=yes
15066 hardcode_shlibpath_var_FC
=no
15070 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15071 hardcode_direct_FC
=yes
15072 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15073 hardcode_libdir_separator_FC
=:
15074 hardcode_shlibpath_var_FC
=no
15081 if test -f /usr
/libexec
/ld.so
; then
15082 hardcode_direct_FC
=yes
15083 hardcode_shlibpath_var_FC
=no
15084 hardcode_direct_absolute_FC
=yes
15085 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15086 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15087 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15088 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
15089 export_dynamic_flag_spec_FC
='${wl}-E'
15092 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15093 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15094 hardcode_libdir_flag_spec_FC
='-R$libdir'
15097 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15098 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
15108 hardcode_libdir_flag_spec_FC
='-L$libdir'
15109 hardcode_minus_L_FC
=yes
15110 allow_undefined_flag_FC
=unsupported
15111 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'
15112 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15116 if test "$GCC" = yes; then
15117 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
15118 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'
15120 allow_undefined_flag_FC
=' -expect_unresolved \*'
15121 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'
15123 archive_cmds_need_lc_FC
='no'
15124 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15125 hardcode_libdir_separator_FC
=:
15128 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15129 if test "$GCC" = yes; then
15130 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
15131 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'
15132 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15134 allow_undefined_flag_FC
=' -expect_unresolved \*'
15135 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'
15136 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~
15137 $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'
15139 # Both c and cxx compiler support -rpath directly
15140 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
15142 archive_cmds_need_lc_FC
='no'
15143 hardcode_libdir_separator_FC
=:
15147 no_undefined_flag_FC
=' -z defs'
15148 if test "$GCC" = yes; then
15150 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15151 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15152 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15154 case `$CC -V 2>&1` in
15157 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15158 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15159 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
15163 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
15164 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15165 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15169 hardcode_libdir_flag_spec_FC
='-R$libdir'
15170 hardcode_shlibpath_var_FC
=no
15172 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15174 # The compiler driver will combine and reorder linker options,
15175 # but understands `-z linker_flag'. GCC discards it without `$wl',
15176 # but is careful enough not to reorder.
15177 # Supported since Solaris 2.6 (maybe 2.5.1?)
15178 if test "$GCC" = yes; then
15179 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15181 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
15185 link_all_deplibs_FC
=yes
15189 if test "x$host_vendor" = xsequent
; then
15190 # Use $CC to link under sequent, because it throws in some extra .o
15191 # files that make .init and .fini sections work.
15192 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15194 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15196 hardcode_libdir_flag_spec_FC
='-L$libdir'
15197 hardcode_direct_FC
=yes
15198 hardcode_minus_L_FC
=yes
15199 hardcode_shlibpath_var_FC
=no
15203 case $host_vendor in
15205 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15206 hardcode_direct_FC
=yes # is this really true???
15209 ## LD is ld it makes a PLAMLIB
15210 ## CC just makes a GrossModule.
15211 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15212 reload_cmds_FC
='$CC -r -o $output$reload_objs'
15213 hardcode_direct_FC
=no
15216 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15217 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
15220 runpath_var
='LD_RUN_PATH'
15221 hardcode_shlibpath_var_FC
=no
15225 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15226 hardcode_shlibpath_var_FC
=no
15227 export_dynamic_flag_spec_FC
='-Bexport'
15231 if test -d /usr
/nec
; then
15232 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15233 hardcode_shlibpath_var_FC
=no
15234 runpath_var
=LD_RUN_PATH
15235 hardcode_runpath_var
=yes
15240 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15241 no_undefined_flag_FC
='${wl}-z,text'
15242 archive_cmds_need_lc_FC
=no
15243 hardcode_shlibpath_var_FC
=no
15244 runpath_var
='LD_RUN_PATH'
15246 if test "$GCC" = yes; then
15247 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15248 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15250 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15251 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15255 sysv5
* | sco3.2v5
* | sco5v6
*)
15256 # Note: We can NOT use -z defs as we might desire, because we do not
15257 # link with -lc, and that would cause any symbols used from libc to
15258 # always be unresolved, which means just about no library would
15259 # ever link correctly. If we're not using GNU ld we use -z text
15260 # though, which does catch some bad symbols but isn't as heavy-handed
15262 no_undefined_flag_FC
='${wl}-z,text'
15263 allow_undefined_flag_FC
='${wl}-z,nodefs'
15264 archive_cmds_need_lc_FC
=no
15265 hardcode_shlibpath_var_FC
=no
15266 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
15267 hardcode_libdir_separator_FC
=':'
15268 link_all_deplibs_FC
=yes
15269 export_dynamic_flag_spec_FC
='${wl}-Bexport'
15270 runpath_var
='LD_RUN_PATH'
15272 if test "$GCC" = yes; then
15273 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15274 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15276 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15277 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15282 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15283 hardcode_libdir_flag_spec_FC
='-L$libdir'
15284 hardcode_shlibpath_var_FC
=no
15292 if test x
$host_vendor = xsni
; then
15294 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15295 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
15301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
15302 $as_echo "$ld_shlibs_FC" >&6; }
15303 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
15305 with_gnu_ld_FC
=$with_gnu_ld
15313 # Do we need to explicitly link libc?
15315 case "x$archive_cmds_need_lc_FC" in
15317 # Assume -lc should be added
15318 archive_cmds_need_lc_FC
=yes
15320 if test "$enable_shared" = yes && test "$GCC" = yes; then
15321 case $archive_cmds_FC in
15323 # FIXME: we may have to deal with multi-command sequences.
15326 # Test whether the compiler implicitly links with -lc since on some
15327 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15328 # to ld, don't add -lc before -lgcc.
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15330 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15331 if ${lt_cv_archive_cmds_need_lc_FC+:} false
; then :
15332 $as_echo_n "(cached) " >&6
15335 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15337 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15338 (eval $ac_compile) 2>&5
15340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15341 test $ac_status = 0; } 2>conftest.err
; then
15344 libobjs
=conftest.
$ac_objext
15346 wl
=$lt_prog_compiler_wl_FC
15347 pic_flag
=$lt_prog_compiler_pic_FC
15353 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
15354 allow_undefined_flag_FC
=
15355 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15356 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15359 test $ac_status = 0; }
15361 lt_cv_archive_cmds_need_lc_FC
=no
15363 lt_cv_archive_cmds_need_lc_FC
=yes
15365 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
15367 cat conftest.err
1>&5
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
15373 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
15374 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15445 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15447 library_names_spec
=
15448 libname_spec
='lib$name'
15452 postuninstall_cmds
=
15456 shlibpath_overrides_runpath
=unknown
15458 dynamic_linker
="$host_os ld.so"
15459 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15460 need_lib_prefix
=unknown
15461 hardcode_into_libs
=no
15463 # when you set need_version to no, make sure it does not cause -set_version
15464 # flags to be left without arguments
15465 need_version
=unknown
15470 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15471 shlibpath_var
=LIBPATH
15473 # AIX 3 has no versioning support, so we append a major version to the name.
15474 soname_spec
='${libname}${release}${shared_ext}$major'
15481 hardcode_into_libs
=yes
15482 if test "$host_cpu" = ia64
; then
15483 # AIX 5 supports IA64
15484 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15485 shlibpath_var
=LD_LIBRARY_PATH
15487 # With GCC up to 2.95.x, collect2 would create an import file
15488 # for dependence libraries. The import file would start with
15489 # the line `#! .'. This would cause the generated library to
15490 # depend on `.', always an invalid library. This was fixed in
15491 # development snapshots of GCC prior to 3.0.
15493 aix4 | aix4.
[01] | aix4.
[01].
*)
15494 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15496 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15499 can_build_shared
=no
15503 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15504 # soname into executable. Probably we can add versioning support to
15505 # collect2, so additional links can be useful in future.
15506 if test "$aix_use_runtimelinking" = yes; then
15507 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15508 # instead of lib<name>.a to let people know that these are not
15509 # typical AIX shared libraries.
15510 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15512 # We preserve .a as extension for shared libraries through AIX4.2
15513 # and later when we are not doing run time linking.
15514 library_names_spec
='${libname}${release}.a $libname.a'
15515 soname_spec
='${libname}${release}${shared_ext}$major'
15517 shlibpath_var
=LIBPATH
15524 # Since July 2007 AmigaOS4 officially supports .so libraries.
15525 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15526 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15529 library_names_spec
='$libname.ixlibrary $libname.a'
15530 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15531 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'
15537 library_names_spec
='${libname}${shared_ext}'
15538 dynamic_linker
="$host_os ld.so"
15539 shlibpath_var
=LIBRARY_PATH
15545 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15546 soname_spec
='${libname}${release}${shared_ext}$major'
15547 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15548 shlibpath_var
=LD_LIBRARY_PATH
15549 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15550 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15551 # the default ld.so.conf also contains /usr/contrib/lib and
15552 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15553 # libtool to hard-code these into programs
15556 cygwin
* | mingw
* | pw32
* | cegcc
*)
15557 version_type
=windows
15562 case $GCC,$host_os in
15563 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15564 library_names_spec
='$libname.dll.a'
15565 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15566 postinstall_cmds
='base_file=`basename \${file}`~
15567 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15568 dldir=$destdir/`dirname \$dlpath`~
15569 test -d \$dldir || mkdir -p \$dldir~
15570 $install_prog $dir/$dlname \$dldir/$dlname~
15571 chmod a+x \$dldir/$dlname~
15572 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15573 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15575 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15576 dlpath=$dir/\$dldll~
15578 shlibpath_overrides_runpath
=yes
15582 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15583 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15587 # MinGW DLLs use traditional 'lib' prefix
15588 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15591 # pw32 DLLs use 'pw' prefix rather than 'lib'
15592 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15598 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15601 dynamic_linker
='Win32 ld.exe'
15602 # FIXME: first we should search . and the directory the executable is in
15606 darwin
* | rhapsody
*)
15607 dynamic_linker
="$host_os dyld"
15608 version_type
=darwin
15611 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15612 soname_spec
='${libname}${release}${major}$shared_ext'
15613 shlibpath_overrides_runpath
=yes
15614 shlibpath_var
=DYLD_LIBRARY_PATH
15615 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15617 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15624 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15625 soname_spec
='${libname}${release}${shared_ext}$major'
15626 shlibpath_var
=LD_LIBRARY_PATH
15629 freebsd
* | dragonfly
*)
15630 # DragonFly does not have aout. When/if they implement a new
15631 # versioning mechanism, adjust this.
15632 if test -x /usr
/bin
/objformat
; then
15633 objformat
=`/usr/bin/objformat`
15636 freebsd
[23].
*) objformat
=aout
;;
15637 *) objformat
=elf
;;
15640 version_type
=freebsd-
$objformat
15641 case $version_type in
15643 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15648 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15652 shlibpath_var
=LD_LIBRARY_PATH
15655 shlibpath_overrides_runpath
=yes
15657 freebsd3.
[01]* | freebsdelf3.
[01]*)
15658 shlibpath_overrides_runpath
=yes
15659 hardcode_into_libs
=yes
15661 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15662 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15663 shlibpath_overrides_runpath
=no
15664 hardcode_into_libs
=yes
15666 *) # from 4.6 on, and DragonFly
15667 shlibpath_overrides_runpath
=yes
15668 hardcode_into_libs
=yes
15677 dynamic_linker
="$host_os runtime_loader"
15678 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15679 soname_spec
='${libname}${release}${shared_ext}$major'
15680 shlibpath_var
=LIBRARY_PATH
15681 shlibpath_overrides_runpath
=yes
15682 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15683 hardcode_into_libs
=yes
15686 hpux9
* | hpux10
* | hpux11
*)
15687 # Give a soname corresponding to the major version so that dld.sl refuses to
15688 # link against other versions.
15695 hardcode_into_libs
=yes
15696 dynamic_linker
="$host_os dld.so"
15697 shlibpath_var
=LD_LIBRARY_PATH
15698 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15699 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15700 soname_spec
='${libname}${release}${shared_ext}$major'
15701 if test "X$HPUX_IA64_MODE" = X32
; then
15702 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15704 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15706 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15710 hardcode_into_libs
=yes
15711 dynamic_linker
="$host_os dld.sl"
15712 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15713 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15714 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15715 soname_spec
='${libname}${release}${shared_ext}$major'
15716 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15717 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15721 dynamic_linker
="$host_os dld.sl"
15722 shlibpath_var
=SHLIB_PATH
15723 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15724 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15725 soname_spec
='${libname}${release}${shared_ext}$major'
15728 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15729 postinstall_cmds
='chmod 555 $lib'
15730 # or fails outright, so override atomically:
15731 install_override_mode
=555
15738 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15739 soname_spec
='${libname}${release}${shared_ext}$major'
15740 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15741 shlibpath_var
=LD_LIBRARY_PATH
15742 shlibpath_overrides_runpath
=no
15743 hardcode_into_libs
=yes
15746 irix5
* | irix6
* | nonstopux
*)
15748 nonstopux
*) version_type
=nonstopux
;;
15750 if test "$lt_cv_prog_gnu_ld" = yes; then
15758 soname_spec
='${libname}${release}${shared_ext}$major'
15759 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15761 irix5
* | nonstopux
*)
15762 libsuff
= shlibsuff
=
15765 case $LD in # libtool.m4 will add one of these switches to LD
15766 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15767 libsuff
= shlibsuff
= libmagic
=32-bit;;
15768 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15769 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15770 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15771 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15772 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15776 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15777 shlibpath_overrides_runpath
=no
15778 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15779 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15780 hardcode_into_libs
=yes
15783 # No shared lib support for Linux oldld, aout, or coff.
15784 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15788 # This must be Linux ELF.
15790 # uclinux* changes (here and below) have been submitted to the libtool
15791 # project, but have not yet been accepted: they are GCC-local changes
15792 # for the time being. (See
15793 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15794 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
15798 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15799 soname_spec
='${libname}${release}${shared_ext}$major'
15800 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15801 shlibpath_var
=LD_LIBRARY_PATH
15802 shlibpath_overrides_runpath
=no
15804 # Some binutils ld are patched to set DT_RUNPATH
15805 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15806 $as_echo_n "(cached) " >&6
15808 lt_cv_shlibpath_overrides_runpath
=no
15809 save_LDFLAGS
=$LDFLAGS
15810 save_libdir
=$libdir
15811 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15812 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15813 if test x
$gcc_no_link = xyes
; then
15814 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15816 cat > conftest.
$ac_ext <<_ACEOF
15821 if ac_fn_fc_try_link
"$LINENO"; then :
15822 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15823 lt_cv_shlibpath_overrides_runpath
=yes
15826 rm -f core conftest.err conftest.
$ac_objext \
15827 conftest
$ac_exeext conftest.
$ac_ext
15828 LDFLAGS
=$save_LDFLAGS
15829 libdir
=$save_libdir
15833 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15835 # This implies no fast_install, which is unacceptable.
15836 # Some rework will be needed to allow for fast_install
15837 # before this can be enabled.
15838 hardcode_into_libs
=yes
15840 # Append ld.so.conf contents to the search path
15841 if test -f /etc
/ld.so.conf
; then
15842 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' ' '`
15843 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15846 # We used to test for /lib/ld.so.1 and disable shared libraries on
15847 # powerpc, because MkLinux only supported shared libraries with the
15848 # GNU dynamic linker. Since this was broken with cross compilers,
15849 # most powerpc-linux boxes support dynamic linking these days and
15850 # people can always --disable-shared, the test was removed, and we
15851 # assume the GNU/Linux dynamic linker is in use.
15852 dynamic_linker
='GNU/Linux ld.so'
15859 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15860 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15861 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15862 dynamic_linker
='NetBSD (a.out) ld.so'
15864 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15865 soname_spec
='${libname}${release}${shared_ext}$major'
15866 dynamic_linker
='NetBSD ld.elf_so'
15868 shlibpath_var
=LD_LIBRARY_PATH
15869 shlibpath_overrides_runpath
=yes
15870 hardcode_into_libs
=yes
15875 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15876 shlibpath_var
=LD_LIBRARY_PATH
15877 shlibpath_overrides_runpath
=yes
15884 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15885 soname_spec
='${libname}${release}${shared_ext}$major'
15886 shlibpath_var
=LD_LIBRARY_PATH
15887 shlibpath_overrides_runpath
=no
15888 hardcode_into_libs
=yes
15889 dynamic_linker
='ldqnx.so'
15894 sys_lib_dlsearch_path_spec
="/usr/lib"
15896 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15898 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15899 *) need_version
=no
;;
15901 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15902 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15903 shlibpath_var
=LD_LIBRARY_PATH
15904 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15906 openbsd2.
[89] | openbsd2.
[89].
*)
15907 shlibpath_overrides_runpath
=no
15910 shlibpath_overrides_runpath
=yes
15914 shlibpath_overrides_runpath
=yes
15919 libname_spec
='$name'
15922 library_names_spec
='$libname${shared_ext} $libname.a'
15923 dynamic_linker
='OS/2 ld.exe'
15924 shlibpath_var
=LIBPATH
15927 osf3
* | osf4
* | osf5
*)
15931 soname_spec
='${libname}${release}${shared_ext}$major'
15932 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15933 shlibpath_var
=LD_LIBRARY_PATH
15934 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15935 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15946 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15947 soname_spec
='${libname}${release}${shared_ext}$major'
15948 shlibpath_var
=LD_LIBRARY_PATH
15949 shlibpath_overrides_runpath
=yes
15950 hardcode_into_libs
=yes
15951 # ldd complains unless libraries are executable
15952 postinstall_cmds
='chmod +x $lib'
15957 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15958 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15959 shlibpath_var
=LD_LIBRARY_PATH
15960 shlibpath_overrides_runpath
=yes
15961 if test "$with_gnu_ld" = yes; then
15969 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15970 soname_spec
='${libname}${release}${shared_ext}$major'
15971 shlibpath_var
=LD_LIBRARY_PATH
15972 case $host_vendor in
15974 shlibpath_overrides_runpath
=no
15976 runpath_var
=LD_RUN_PATH
15984 shlibpath_overrides_runpath
=no
15985 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15991 if test -d /usr
/nec
;then
15993 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15994 soname_spec
='$libname${shared_ext}.$major'
15995 shlibpath_var
=LD_LIBRARY_PATH
15999 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16000 version_type
=freebsd-elf
16003 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16004 soname_spec
='${libname}${release}${shared_ext}$major'
16005 shlibpath_var
=LD_LIBRARY_PATH
16006 shlibpath_overrides_runpath
=yes
16007 hardcode_into_libs
=yes
16008 if test "$with_gnu_ld" = yes; then
16009 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16011 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16014 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16018 sys_lib_dlsearch_path_spec
='/usr/lib'
16022 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16026 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16027 shlibpath_var
=LD_LIBRARY_PATH
16028 shlibpath_overrides_runpath
=no
16029 hardcode_into_libs
=yes
16034 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16035 soname_spec
='${libname}${release}${shared_ext}$major'
16036 shlibpath_var
=LD_LIBRARY_PATH
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16044 $as_echo "$dynamic_linker" >&6; }
16045 test "$dynamic_linker" = no
&& can_build_shared
=no
16047 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16048 if test "$GCC" = yes; then
16049 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16052 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16053 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16055 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16056 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16097 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16098 hardcode_action_FC
=
16099 if test -n "$hardcode_libdir_flag_spec_FC" ||
16100 test -n "$runpath_var_FC" ||
16101 test "X$hardcode_automatic_FC" = "Xyes" ; then
16103 # We can hardcode non-existent directories.
16104 if test "$hardcode_direct_FC" != no
&&
16105 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16106 # have to relink, otherwise we might link with an installed library
16107 # when we should be linking with a yet-to-be-installed one
16108 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
16109 test "$hardcode_minus_L_FC" != no
; then
16110 # Linking always hardcodes the temporary library directory.
16111 hardcode_action_FC
=relink
16113 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16114 hardcode_action_FC
=immediate
16117 # We cannot hardcode anything, or else we can only hardcode existing
16119 hardcode_action_FC
=unsupported
16121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
16122 $as_echo "$hardcode_action_FC" >&6; }
16124 if test "$hardcode_action_FC" = relink ||
16125 test "$inherit_rpath_FC" = yes; then
16126 # Fast installation is not supported
16127 enable_fast_install
=no
16128 elif test "$shlibpath_overrides_runpath" = yes ||
16129 test "$enable_shared" = no
; then
16130 # Fast installation is not necessary
16131 enable_fast_install
=needless
16140 fi # test -n "$compiler"
16144 fi # test "$_lt_disable_FC" != yes
16147 ac_cpp
='$CPP $CPPFLAGS'
16148 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16149 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16150 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16154 # extra LD Flags which are required for targets
16157 # Darwin needs -single_module when linking libgfortran
16158 extra_ldflags_libgfortran
=-Wl,-single_module
16163 # We need a working compiler at that point, otherwise give a clear
16164 # error message and bail out.
16166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
16167 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
16168 ac_ext
=${ac_fc_srcext-f}
16169 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
16170 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
16171 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
16173 cat > conftest.
$ac_ext <<_ACEOF
16176 real, parameter :: bar = sin (12.34 / 2.5)
16179 if ac_fn_fc_try_compile
"$LINENO"; then :
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16181 $as_echo "yes" >&6; }
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16184 $as_echo "no" >&6; }
16185 as_fn_error $?
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
16188 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16190 ac_cpp
='$CPP $CPPFLAGS'
16191 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16192 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16193 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16197 # Check whether --enable-largefile was given.
16198 if test "${enable_largefile+set}" = set; then :
16199 enableval
=$enable_largefile;
16202 if test "$enable_largefile" != no
; then
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16205 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16206 if ${ac_cv_sys_largefile_CC+:} false
; then :
16207 $as_echo_n "(cached) " >&6
16209 ac_cv_sys_largefile_CC
=no
16210 if test "$GCC" != yes; then
16213 # IRIX 6.2 and later do not support large files by default,
16214 # so use the C compiler's -n32 option if that helps.
16215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16216 /* end confdefs.h. */
16217 #include <sys/types.h>
16218 /* Check that off_t can represent 2**63 - 1 correctly.
16219 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16220 since some C++ compilers masquerading as C compilers
16221 incorrectly reject 9223372036854775807. */
16222 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16223 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16224 && LARGE_OFF_T % 2147483647 == 1)
16234 if ac_fn_c_try_compile
"$LINENO"; then :
16237 rm -f core conftest.err conftest.
$ac_objext
16239 if ac_fn_c_try_compile
"$LINENO"; then :
16240 ac_cv_sys_largefile_CC
=' -n32'; break
16242 rm -f core conftest.err conftest.
$ac_objext
16246 rm -f conftest.
$ac_ext
16249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16250 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
16251 if test "$ac_cv_sys_largefile_CC" != no
; then
16252 CC
=$CC$ac_cv_sys_largefile_CC
16255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16256 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16257 if ${ac_cv_sys_file_offset_bits+:} false
; then :
16258 $as_echo_n "(cached) " >&6
16261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16262 /* end confdefs.h. */
16263 #include <sys/types.h>
16264 /* Check that off_t can represent 2**63 - 1 correctly.
16265 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16266 since some C++ compilers masquerading as C compilers
16267 incorrectly reject 9223372036854775807. */
16268 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16269 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16270 && LARGE_OFF_T % 2147483647 == 1)
16280 if ac_fn_c_try_compile
"$LINENO"; then :
16281 ac_cv_sys_file_offset_bits
=no
; break
16283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16285 /* end confdefs.h. */
16286 #define _FILE_OFFSET_BITS 64
16287 #include <sys/types.h>
16288 /* Check that off_t can represent 2**63 - 1 correctly.
16289 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16290 since some C++ compilers masquerading as C compilers
16291 incorrectly reject 9223372036854775807. */
16292 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16293 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16294 && LARGE_OFF_T % 2147483647 == 1)
16304 if ac_fn_c_try_compile
"$LINENO"; then :
16305 ac_cv_sys_file_offset_bits
=64; break
16307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16308 ac_cv_sys_file_offset_bits
=unknown
16312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16313 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16314 case $ac_cv_sys_file_offset_bits in #(
16317 cat >>confdefs.h
<<_ACEOF
16318 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16323 if test $ac_cv_sys_file_offset_bits = unknown
; then
16324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16325 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16326 if ${ac_cv_sys_large_files+:} false
; then :
16327 $as_echo_n "(cached) " >&6
16330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16331 /* end confdefs.h. */
16332 #include <sys/types.h>
16333 /* Check that off_t can represent 2**63 - 1 correctly.
16334 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16335 since some C++ compilers masquerading as C compilers
16336 incorrectly reject 9223372036854775807. */
16337 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16338 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16339 && LARGE_OFF_T % 2147483647 == 1)
16349 if ac_fn_c_try_compile
"$LINENO"; then :
16350 ac_cv_sys_large_files
=no
; break
16352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16354 /* end confdefs.h. */
16355 #define _LARGE_FILES 1
16356 #include <sys/types.h>
16357 /* Check that off_t can represent 2**63 - 1 correctly.
16358 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16359 since some C++ compilers masquerading as C compilers
16360 incorrectly reject 9223372036854775807. */
16361 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16362 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16363 && LARGE_OFF_T % 2147483647 == 1)
16373 if ac_fn_c_try_compile
"$LINENO"; then :
16374 ac_cv_sys_large_files
=1; break
16376 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16377 ac_cv_sys_large_files
=unknown
16381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16382 $as_echo "$ac_cv_sys_large_files" >&6; }
16383 case $ac_cv_sys_large_files in #(
16386 cat >>confdefs.h
<<_ACEOF
16387 #define _LARGE_FILES $ac_cv_sys_large_files
16399 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16400 if test "x$ac_cv_type_off_t" = xyes
; then :
16404 cat >>confdefs.h
<<_ACEOF
16405 #define off_t long int
16411 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
16412 if test "x$ac_cv_type_intptr_t" = xyes
; then :
16414 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
16417 for ac_type
in 'int' 'long int' 'long long int'; do
16418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16419 /* end confdefs.h. */
16420 $ac_includes_default
16424 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16425 test_array [0] = 0;
16426 return test_array [0];
16432 if ac_fn_c_try_compile
"$LINENO"; then :
16434 cat >>confdefs.h
<<_ACEOF
16435 #define intptr_t $ac_type
16440 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16441 test -z "$ac_type" && break
16447 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16448 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16450 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
16453 for ac_type
in 'unsigned int' 'unsigned long int' \
16454 'unsigned long long int'; do
16455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16456 /* end confdefs.h. */
16457 $ac_includes_default
16461 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16462 test_array [0] = 0;
16463 return test_array [0];
16469 if ac_fn_c_try_compile
"$LINENO"; then :
16471 cat >>confdefs.h
<<_ACEOF
16472 #define uintptr_t $ac_type
16477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16478 test -z "$ac_type" && break
16483 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16484 if test "x$ac_cv_type_ptrdiff_t" = xyes
; then :
16486 cat >>confdefs.h
<<_ACEOF
16487 #define HAVE_PTRDIFF_T 1
16494 # check header files (we assume C89 is available, so don't check for that)
16498 for ac_header
in $ac_header_list
16500 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16501 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16503 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16504 cat >>confdefs.h
<<_ACEOF
16505 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16550 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16552 acx_cv_header_stdint
=stddef.h
16553 acx_cv_header_stdint_kind
="(already complete)"
16554 for i
in stdint.h
$inttype_headers; do
16555 unset ac_cv_type_uintptr_t
16556 unset ac_cv_type_uintmax_t
16557 unset ac_cv_type_int_least32_t
16558 unset ac_cv_type_int_fast32_t
16559 unset ac_cv_type_uint64_t
16560 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16561 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16564 if test "x$ac_cv_type_uintmax_t" = xyes
; then :
16565 acx_cv_header_stdint
=$i
16570 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16573 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16576 acx_cv_header_stdint_kind
="(mostly complete)"
16579 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16582 if test "x$ac_cv_type_int_least32_t" = xyes
; then :
16585 acx_cv_header_stdint_kind
="(mostly complete)"
16588 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16591 if test "x$ac_cv_type_int_fast32_t" = xyes
; then :
16594 acx_cv_header_stdint_kind
="(mostly complete)"
16597 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16600 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16603 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16608 if test "$acx_cv_header_stdint" = stddef.h
; then
16609 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16610 for i
in stdint.h
$inttype_headers; do
16611 unset ac_cv_type_uintptr_t
16612 unset ac_cv_type_uint32_t
16613 unset ac_cv_type_uint64_t
16614 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16615 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16618 if test "x$ac_cv_type_uint32_t" = xyes
; then :
16619 acx_cv_header_stdint
=$i
16624 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16627 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16631 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16634 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16641 if test "$acx_cv_header_stdint" = stddef.h
; then
16642 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16643 for i
in sys
/types.h
$inttype_headers; do
16644 unset ac_cv_type_u_int32_t
16645 unset ac_cv_type_u_int64_t
16646 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16647 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16650 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
16651 acx_cv_header_stdint
=$i
16656 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16659 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
16666 if test "$acx_cv_header_stdint" = stddef.h
; then
16667 acx_cv_header_stdint_kind
="(using manual detection)"
16670 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16671 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16672 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16673 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16674 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16676 # ----------------- Summarize what we found so far
16678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16679 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16681 case `$as_basename -- gstdint.h ||
16682 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16683 Xgstdint.h : 'X\(//\)$' \| \
16684 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16685 $as_echo X/gstdint.h |
16686 sed '/^.*\/\([^/][^/]*\)\/*$/{
16699 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16700 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16701 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16702 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16707 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16709 # ----------------- done included file, check C basic types --------
16711 # Lacking an uintptr_t? Test size of void *
16712 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16713 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16714 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16715 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16716 # This bug is HP SR number 8606223364.
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16718 $as_echo_n "checking size of void *... " >&6; }
16719 if ${ac_cv_sizeof_void_p+:} false
; then :
16720 $as_echo_n "(cached) " >&6
16722 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16725 if test "$ac_cv_type_void_p" = yes; then
16726 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16727 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16728 as_fn_error
77 "cannot compute sizeof (void *)
16729 See \`config.log' for more details" "$LINENO" 5; }
16731 ac_cv_sizeof_void_p
=0
16736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16737 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16741 cat >>confdefs.h
<<_ACEOF
16742 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16748 # Lacking an uint64_t? Test size of long
16749 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16750 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16751 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16752 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16753 # This bug is HP SR number 8606223364.
16754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16755 $as_echo_n "checking size of long... " >&6; }
16756 if ${ac_cv_sizeof_long+:} false
; then :
16757 $as_echo_n "(cached) " >&6
16759 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16762 if test "$ac_cv_type_long" = yes; then
16763 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16764 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16765 as_fn_error
77 "cannot compute sizeof (long)
16766 See \`config.log' for more details" "$LINENO" 5; }
16768 ac_cv_sizeof_long
=0
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16774 $as_echo "$ac_cv_sizeof_long" >&6; }
16778 cat >>confdefs.h
<<_ACEOF
16779 #define SIZEOF_LONG $ac_cv_sizeof_long
16785 if test $acx_cv_header_stdint = stddef.h
; then
16786 # Lacking a good header? Test size of everything and deduce all types.
16787 # The cast to long int works around a bug in the HP C Compiler
16788 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16789 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16790 # This bug is HP SR number 8606223364.
16791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16792 $as_echo_n "checking size of int... " >&6; }
16793 if ${ac_cv_sizeof_int+:} false
; then :
16794 $as_echo_n "(cached) " >&6
16796 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16799 if test "$ac_cv_type_int" = yes; then
16800 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16801 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16802 as_fn_error
77 "cannot compute sizeof (int)
16803 See \`config.log' for more details" "$LINENO" 5; }
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16811 $as_echo "$ac_cv_sizeof_int" >&6; }
16815 cat >>confdefs.h
<<_ACEOF
16816 #define SIZEOF_INT $ac_cv_sizeof_int
16820 # The cast to long int works around a bug in the HP C Compiler
16821 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16822 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16823 # This bug is HP SR number 8606223364.
16824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16825 $as_echo_n "checking size of short... " >&6; }
16826 if ${ac_cv_sizeof_short+:} false
; then :
16827 $as_echo_n "(cached) " >&6
16829 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16832 if test "$ac_cv_type_short" = yes; then
16833 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16834 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16835 as_fn_error
77 "cannot compute sizeof (short)
16836 See \`config.log' for more details" "$LINENO" 5; }
16838 ac_cv_sizeof_short
=0
16843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16844 $as_echo "$ac_cv_sizeof_short" >&6; }
16848 cat >>confdefs.h
<<_ACEOF
16849 #define SIZEOF_SHORT $ac_cv_sizeof_short
16853 # The cast to long int works around a bug in the HP C Compiler
16854 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16855 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16856 # This bug is HP SR number 8606223364.
16857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16858 $as_echo_n "checking size of char... " >&6; }
16859 if ${ac_cv_sizeof_char+:} false
; then :
16860 $as_echo_n "(cached) " >&6
16862 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16865 if test "$ac_cv_type_char" = yes; then
16866 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16867 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16868 as_fn_error
77 "cannot compute sizeof (char)
16869 See \`config.log' for more details" "$LINENO" 5; }
16871 ac_cv_sizeof_char
=0
16876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16877 $as_echo "$ac_cv_sizeof_char" >&6; }
16881 cat >>confdefs.h
<<_ACEOF
16882 #define SIZEOF_CHAR $ac_cv_sizeof_char
16887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16888 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16889 case "$ac_cv_sizeof_char" in
16890 1) acx_cv_type_int8_t
=char
;;
16891 *) as_fn_error $?
"no 8-bit type, please report a bug" "$LINENO" 5
16893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16894 $as_echo "$acx_cv_type_int8_t" >&6; }
16896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16897 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16898 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16899 2:*) acx_cv_type_int16_t
=int
;;
16900 *:2) acx_cv_type_int16_t
=short
;;
16901 *) as_fn_error $?
"no 16-bit type, please report a bug" "$LINENO" 5
16903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16904 $as_echo "$acx_cv_type_int16_t" >&6; }
16906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16907 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16908 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16909 4:*) acx_cv_type_int32_t
=int
;;
16910 *:4) acx_cv_type_int32_t
=long
;;
16911 *) as_fn_error $?
"no 32-bit type, please report a bug" "$LINENO" 5
16913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16914 $as_echo "$acx_cv_type_int32_t" >&6; }
16917 # These tests are here to make the output prettier
16919 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16920 case "$ac_cv_sizeof_long" in
16921 8) acx_cv_type_int64_t
=long
;;
16923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16924 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16926 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16929 # Now we can use the above types
16931 if test "$ac_cv_type_uintptr_t" != yes; then
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16933 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16934 case $ac_cv_sizeof_void_p in
16935 2) acx_cv_type_intptr_t
=int16_t
;;
16936 4) acx_cv_type_intptr_t
=int32_t
;;
16937 8) acx_cv_type_intptr_t
=int64_t
;;
16938 *) as_fn_error $?
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16941 $as_echo "$acx_cv_type_intptr_t" >&6; }
16944 # ----------------- done all checks, emit header -------------
16945 ac_config_commands
="$ac_config_commands gstdint.h"
16950 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16951 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
16953 cat >>confdefs.h
<<_ACEOF
16954 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16959 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16960 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16962 cat >>confdefs.h
<<_ACEOF
16963 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16968 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16969 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
16971 cat >>confdefs.h
<<_ACEOF
16972 #define HAVE_STRUCT_STAT_ST_RDEV 1
16979 case "${host}--x${with_newlib}" in
16981 hardwire_newlib
=1;;
16983 hardwire_newlib
=1;;
16986 # Check for library functions.
16987 if test "${hardwire_newlib:-0}" -eq 1; then
16988 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
16989 # may not work correctly, because the compiler may not be able to
16990 # link executables.
16992 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
16995 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
16998 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
17001 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
17004 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
17007 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
17010 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
17013 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
17016 # At some point, we should differentiate between architectures
17017 # like x86, which have long double versions, and alpha/powerpc/etc.,
17018 # which don't. For the time being, punt.
17019 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
17021 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
17028 for ac_func
in $ac_func_list
17030 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17031 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17032 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17033 cat >>confdefs.h
<<_ACEOF
17034 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17151 # Check strerror_r, cannot be above as versions with two and three arguments exist
17153 ac_save_CFLAGS
="$CFLAGS"
17154 CFLAGS
="-Wimplicit-function-declaration -Werror"
17155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17156 /* end confdefs.h. */
17157 #define _GNU_SOURCE 1
17158 #include <string.h>
17159 #include <locale.h>
17163 char s[128]; strerror_r(5, s, 128);
17168 if ac_fn_c_try_compile
"$LINENO"; then :
17170 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
17173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17174 CFLAGS
="$ac_save_CFLAGS"
17176 ac_save_CFLAGS
="$CFLAGS"
17177 CFLAGS
="-Wimplicit-function-declaration -Werror"
17178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17179 /* end confdefs.h. */
17180 #define _GNU_SOURCE 1
17181 #include <string.h>
17182 #include <locale.h>
17186 char s[128]; strerror_r(5, s);
17191 if ac_fn_c_try_compile
"$LINENO"; then :
17193 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
17196 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17197 CFLAGS
="$ac_save_CFLAGS"
17200 # Check for C99 (and other IEEE) math functions
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17202 $as_echo_n "checking for sin in -lm... " >&6; }
17203 if ${ac_cv_lib_m_sin+:} false
; then :
17204 $as_echo_n "(cached) " >&6
17206 ac_check_lib_save_LIBS
=$LIBS
17208 if test x
$gcc_no_link = xyes
; then
17209 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17212 /* end confdefs.h. */
17214 /* Override any GCC internal prototype to avoid an error.
17215 Use char because int might match the return type of a GCC
17216 builtin and then its argument prototype would still apply. */
17229 if ac_fn_c_try_link
"$LINENO"; then :
17230 ac_cv_lib_m_sin
=yes
17234 rm -f core conftest.err conftest.
$ac_objext \
17235 conftest
$ac_exeext conftest.
$ac_ext
17236 LIBS
=$ac_check_lib_save_LIBS
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17239 $as_echo "$ac_cv_lib_m_sin" >&6; }
17240 if test "x$ac_cv_lib_m_sin" = xyes
; then :
17241 cat >>confdefs.h
<<_ACEOF
17242 #define HAVE_LIBM 1
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
17256 $as_echo_n "checking for acosf... " >&6; }
17257 if ${gcc_cv_math_func_acosf+:} false
; then :
17258 $as_echo_n "(cached) " >&6
17260 if test x
$gcc_no_link = xyes
; then
17261 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17264 /* end confdefs.h. */
17266 #ifdef HAVE_COMPLEX_H
17267 #include <complex.h>
17273 int (*ptr)() = (int (*)())acosf;
17282 if ac_fn_c_try_link
"$LINENO"; then :
17283 gcc_cv_math_func_acosf
=yes
17285 gcc_cv_math_func_acosf
=no
17287 rm -f core conftest.err conftest.
$ac_objext \
17288 conftest
$ac_exeext conftest.
$ac_ext
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
17291 $as_echo "$gcc_cv_math_func_acosf" >&6; }
17292 if test $gcc_cv_math_func_acosf = yes; then
17294 cat >>confdefs.h
<<_ACEOF
17295 #define HAVE_ACOSF 1
17303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
17304 $as_echo_n "checking for acos... " >&6; }
17305 if ${gcc_cv_math_func_acos+:} false
; then :
17306 $as_echo_n "(cached) " >&6
17308 if test x
$gcc_no_link = xyes
; then
17309 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17312 /* end confdefs.h. */
17314 #ifdef HAVE_COMPLEX_H
17315 #include <complex.h>
17321 int (*ptr)() = (int (*)())acos;
17330 if ac_fn_c_try_link
"$LINENO"; then :
17331 gcc_cv_math_func_acos
=yes
17333 gcc_cv_math_func_acos
=no
17335 rm -f core conftest.err conftest.
$ac_objext \
17336 conftest
$ac_exeext conftest.
$ac_ext
17338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
17339 $as_echo "$gcc_cv_math_func_acos" >&6; }
17340 if test $gcc_cv_math_func_acos = yes; then
17342 cat >>confdefs.h
<<_ACEOF
17343 #define HAVE_ACOS 1
17351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
17352 $as_echo_n "checking for acosl... " >&6; }
17353 if ${gcc_cv_math_func_acosl+:} false
; then :
17354 $as_echo_n "(cached) " >&6
17356 if test x
$gcc_no_link = xyes
; then
17357 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17360 /* end confdefs.h. */
17362 #ifdef HAVE_COMPLEX_H
17363 #include <complex.h>
17369 int (*ptr)() = (int (*)())acosl;
17378 if ac_fn_c_try_link
"$LINENO"; then :
17379 gcc_cv_math_func_acosl
=yes
17381 gcc_cv_math_func_acosl
=no
17383 rm -f core conftest.err conftest.
$ac_objext \
17384 conftest
$ac_exeext conftest.
$ac_ext
17386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
17387 $as_echo "$gcc_cv_math_func_acosl" >&6; }
17388 if test $gcc_cv_math_func_acosl = yes; then
17390 cat >>confdefs.h
<<_ACEOF
17391 #define HAVE_ACOSL 1
17399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
17400 $as_echo_n "checking for acoshf... " >&6; }
17401 if ${gcc_cv_math_func_acoshf+:} false
; then :
17402 $as_echo_n "(cached) " >&6
17404 if test x
$gcc_no_link = xyes
; then
17405 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17408 /* end confdefs.h. */
17410 #ifdef HAVE_COMPLEX_H
17411 #include <complex.h>
17417 int (*ptr)() = (int (*)())acoshf;
17426 if ac_fn_c_try_link
"$LINENO"; then :
17427 gcc_cv_math_func_acoshf
=yes
17429 gcc_cv_math_func_acoshf
=no
17431 rm -f core conftest.err conftest.
$ac_objext \
17432 conftest
$ac_exeext conftest.
$ac_ext
17434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
17435 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
17436 if test $gcc_cv_math_func_acoshf = yes; then
17438 cat >>confdefs.h
<<_ACEOF
17439 #define HAVE_ACOSHF 1
17447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
17448 $as_echo_n "checking for acosh... " >&6; }
17449 if ${gcc_cv_math_func_acosh+:} false
; then :
17450 $as_echo_n "(cached) " >&6
17452 if test x
$gcc_no_link = xyes
; then
17453 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17456 /* end confdefs.h. */
17458 #ifdef HAVE_COMPLEX_H
17459 #include <complex.h>
17465 int (*ptr)() = (int (*)())acosh;
17474 if ac_fn_c_try_link
"$LINENO"; then :
17475 gcc_cv_math_func_acosh
=yes
17477 gcc_cv_math_func_acosh
=no
17479 rm -f core conftest.err conftest.
$ac_objext \
17480 conftest
$ac_exeext conftest.
$ac_ext
17482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
17483 $as_echo "$gcc_cv_math_func_acosh" >&6; }
17484 if test $gcc_cv_math_func_acosh = yes; then
17486 cat >>confdefs.h
<<_ACEOF
17487 #define HAVE_ACOSH 1
17495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
17496 $as_echo_n "checking for acoshl... " >&6; }
17497 if ${gcc_cv_math_func_acoshl+:} false
; then :
17498 $as_echo_n "(cached) " >&6
17500 if test x
$gcc_no_link = xyes
; then
17501 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17504 /* end confdefs.h. */
17506 #ifdef HAVE_COMPLEX_H
17507 #include <complex.h>
17513 int (*ptr)() = (int (*)())acoshl;
17522 if ac_fn_c_try_link
"$LINENO"; then :
17523 gcc_cv_math_func_acoshl
=yes
17525 gcc_cv_math_func_acoshl
=no
17527 rm -f core conftest.err conftest.
$ac_objext \
17528 conftest
$ac_exeext conftest.
$ac_ext
17530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17531 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17532 if test $gcc_cv_math_func_acoshl = yes; then
17534 cat >>confdefs.h
<<_ACEOF
17535 #define HAVE_ACOSHL 1
17543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17544 $as_echo_n "checking for asinf... " >&6; }
17545 if ${gcc_cv_math_func_asinf+:} false
; then :
17546 $as_echo_n "(cached) " >&6
17548 if test x
$gcc_no_link = xyes
; then
17549 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17552 /* end confdefs.h. */
17554 #ifdef HAVE_COMPLEX_H
17555 #include <complex.h>
17561 int (*ptr)() = (int (*)())asinf;
17570 if ac_fn_c_try_link
"$LINENO"; then :
17571 gcc_cv_math_func_asinf
=yes
17573 gcc_cv_math_func_asinf
=no
17575 rm -f core conftest.err conftest.
$ac_objext \
17576 conftest
$ac_exeext conftest.
$ac_ext
17578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17579 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17580 if test $gcc_cv_math_func_asinf = yes; then
17582 cat >>confdefs.h
<<_ACEOF
17583 #define HAVE_ASINF 1
17591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17592 $as_echo_n "checking for asin... " >&6; }
17593 if ${gcc_cv_math_func_asin+:} false
; then :
17594 $as_echo_n "(cached) " >&6
17596 if test x
$gcc_no_link = xyes
; then
17597 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17600 /* end confdefs.h. */
17602 #ifdef HAVE_COMPLEX_H
17603 #include <complex.h>
17609 int (*ptr)() = (int (*)())asin;
17618 if ac_fn_c_try_link
"$LINENO"; then :
17619 gcc_cv_math_func_asin
=yes
17621 gcc_cv_math_func_asin
=no
17623 rm -f core conftest.err conftest.
$ac_objext \
17624 conftest
$ac_exeext conftest.
$ac_ext
17626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17627 $as_echo "$gcc_cv_math_func_asin" >&6; }
17628 if test $gcc_cv_math_func_asin = yes; then
17630 cat >>confdefs.h
<<_ACEOF
17631 #define HAVE_ASIN 1
17639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17640 $as_echo_n "checking for asinl... " >&6; }
17641 if ${gcc_cv_math_func_asinl+:} false
; then :
17642 $as_echo_n "(cached) " >&6
17644 if test x
$gcc_no_link = xyes
; then
17645 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17648 /* end confdefs.h. */
17650 #ifdef HAVE_COMPLEX_H
17651 #include <complex.h>
17657 int (*ptr)() = (int (*)())asinl;
17666 if ac_fn_c_try_link
"$LINENO"; then :
17667 gcc_cv_math_func_asinl
=yes
17669 gcc_cv_math_func_asinl
=no
17671 rm -f core conftest.err conftest.
$ac_objext \
17672 conftest
$ac_exeext conftest.
$ac_ext
17674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17675 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17676 if test $gcc_cv_math_func_asinl = yes; then
17678 cat >>confdefs.h
<<_ACEOF
17679 #define HAVE_ASINL 1
17687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17688 $as_echo_n "checking for asinhf... " >&6; }
17689 if ${gcc_cv_math_func_asinhf+:} false
; then :
17690 $as_echo_n "(cached) " >&6
17692 if test x
$gcc_no_link = xyes
; then
17693 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17696 /* end confdefs.h. */
17698 #ifdef HAVE_COMPLEX_H
17699 #include <complex.h>
17705 int (*ptr)() = (int (*)())asinhf;
17714 if ac_fn_c_try_link
"$LINENO"; then :
17715 gcc_cv_math_func_asinhf
=yes
17717 gcc_cv_math_func_asinhf
=no
17719 rm -f core conftest.err conftest.
$ac_objext \
17720 conftest
$ac_exeext conftest.
$ac_ext
17722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17723 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17724 if test $gcc_cv_math_func_asinhf = yes; then
17726 cat >>confdefs.h
<<_ACEOF
17727 #define HAVE_ASINHF 1
17735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17736 $as_echo_n "checking for asinh... " >&6; }
17737 if ${gcc_cv_math_func_asinh+:} false
; then :
17738 $as_echo_n "(cached) " >&6
17740 if test x
$gcc_no_link = xyes
; then
17741 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17744 /* end confdefs.h. */
17746 #ifdef HAVE_COMPLEX_H
17747 #include <complex.h>
17753 int (*ptr)() = (int (*)())asinh;
17762 if ac_fn_c_try_link
"$LINENO"; then :
17763 gcc_cv_math_func_asinh
=yes
17765 gcc_cv_math_func_asinh
=no
17767 rm -f core conftest.err conftest.
$ac_objext \
17768 conftest
$ac_exeext conftest.
$ac_ext
17770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17771 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17772 if test $gcc_cv_math_func_asinh = yes; then
17774 cat >>confdefs.h
<<_ACEOF
17775 #define HAVE_ASINH 1
17783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17784 $as_echo_n "checking for asinhl... " >&6; }
17785 if ${gcc_cv_math_func_asinhl+:} false
; then :
17786 $as_echo_n "(cached) " >&6
17788 if test x
$gcc_no_link = xyes
; then
17789 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17792 /* end confdefs.h. */
17794 #ifdef HAVE_COMPLEX_H
17795 #include <complex.h>
17801 int (*ptr)() = (int (*)())asinhl;
17810 if ac_fn_c_try_link
"$LINENO"; then :
17811 gcc_cv_math_func_asinhl
=yes
17813 gcc_cv_math_func_asinhl
=no
17815 rm -f core conftest.err conftest.
$ac_objext \
17816 conftest
$ac_exeext conftest.
$ac_ext
17818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17819 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17820 if test $gcc_cv_math_func_asinhl = yes; then
17822 cat >>confdefs.h
<<_ACEOF
17823 #define HAVE_ASINHL 1
17831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17832 $as_echo_n "checking for atan2f... " >&6; }
17833 if ${gcc_cv_math_func_atan2f+:} false
; then :
17834 $as_echo_n "(cached) " >&6
17836 if test x
$gcc_no_link = xyes
; then
17837 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17840 /* end confdefs.h. */
17842 #ifdef HAVE_COMPLEX_H
17843 #include <complex.h>
17849 int (*ptr)() = (int (*)())atan2f;
17858 if ac_fn_c_try_link
"$LINENO"; then :
17859 gcc_cv_math_func_atan2f
=yes
17861 gcc_cv_math_func_atan2f
=no
17863 rm -f core conftest.err conftest.
$ac_objext \
17864 conftest
$ac_exeext conftest.
$ac_ext
17866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17867 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17868 if test $gcc_cv_math_func_atan2f = yes; then
17870 cat >>confdefs.h
<<_ACEOF
17871 #define HAVE_ATAN2F 1
17879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17880 $as_echo_n "checking for atan2... " >&6; }
17881 if ${gcc_cv_math_func_atan2+:} false
; then :
17882 $as_echo_n "(cached) " >&6
17884 if test x
$gcc_no_link = xyes
; then
17885 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17888 /* end confdefs.h. */
17890 #ifdef HAVE_COMPLEX_H
17891 #include <complex.h>
17897 int (*ptr)() = (int (*)())atan2;
17906 if ac_fn_c_try_link
"$LINENO"; then :
17907 gcc_cv_math_func_atan2
=yes
17909 gcc_cv_math_func_atan2
=no
17911 rm -f core conftest.err conftest.
$ac_objext \
17912 conftest
$ac_exeext conftest.
$ac_ext
17914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17915 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17916 if test $gcc_cv_math_func_atan2 = yes; then
17918 cat >>confdefs.h
<<_ACEOF
17919 #define HAVE_ATAN2 1
17927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17928 $as_echo_n "checking for atan2l... " >&6; }
17929 if ${gcc_cv_math_func_atan2l+:} false
; then :
17930 $as_echo_n "(cached) " >&6
17932 if test x
$gcc_no_link = xyes
; then
17933 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17936 /* end confdefs.h. */
17938 #ifdef HAVE_COMPLEX_H
17939 #include <complex.h>
17945 int (*ptr)() = (int (*)())atan2l;
17954 if ac_fn_c_try_link
"$LINENO"; then :
17955 gcc_cv_math_func_atan2l
=yes
17957 gcc_cv_math_func_atan2l
=no
17959 rm -f core conftest.err conftest.
$ac_objext \
17960 conftest
$ac_exeext conftest.
$ac_ext
17962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17963 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17964 if test $gcc_cv_math_func_atan2l = yes; then
17966 cat >>confdefs.h
<<_ACEOF
17967 #define HAVE_ATAN2L 1
17975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17976 $as_echo_n "checking for atanf... " >&6; }
17977 if ${gcc_cv_math_func_atanf+:} false
; then :
17978 $as_echo_n "(cached) " >&6
17980 if test x
$gcc_no_link = xyes
; then
17981 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17984 /* end confdefs.h. */
17986 #ifdef HAVE_COMPLEX_H
17987 #include <complex.h>
17993 int (*ptr)() = (int (*)())atanf;
18002 if ac_fn_c_try_link
"$LINENO"; then :
18003 gcc_cv_math_func_atanf
=yes
18005 gcc_cv_math_func_atanf
=no
18007 rm -f core conftest.err conftest.
$ac_objext \
18008 conftest
$ac_exeext conftest.
$ac_ext
18010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
18011 $as_echo "$gcc_cv_math_func_atanf" >&6; }
18012 if test $gcc_cv_math_func_atanf = yes; then
18014 cat >>confdefs.h
<<_ACEOF
18015 #define HAVE_ATANF 1
18023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
18024 $as_echo_n "checking for atan... " >&6; }
18025 if ${gcc_cv_math_func_atan+:} false
; then :
18026 $as_echo_n "(cached) " >&6
18028 if test x
$gcc_no_link = xyes
; then
18029 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18032 /* end confdefs.h. */
18034 #ifdef HAVE_COMPLEX_H
18035 #include <complex.h>
18041 int (*ptr)() = (int (*)())atan;
18050 if ac_fn_c_try_link
"$LINENO"; then :
18051 gcc_cv_math_func_atan
=yes
18053 gcc_cv_math_func_atan
=no
18055 rm -f core conftest.err conftest.
$ac_objext \
18056 conftest
$ac_exeext conftest.
$ac_ext
18058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
18059 $as_echo "$gcc_cv_math_func_atan" >&6; }
18060 if test $gcc_cv_math_func_atan = yes; then
18062 cat >>confdefs.h
<<_ACEOF
18063 #define HAVE_ATAN 1
18071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
18072 $as_echo_n "checking for atanl... " >&6; }
18073 if ${gcc_cv_math_func_atanl+:} false
; then :
18074 $as_echo_n "(cached) " >&6
18076 if test x
$gcc_no_link = xyes
; then
18077 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18080 /* end confdefs.h. */
18082 #ifdef HAVE_COMPLEX_H
18083 #include <complex.h>
18089 int (*ptr)() = (int (*)())atanl;
18098 if ac_fn_c_try_link
"$LINENO"; then :
18099 gcc_cv_math_func_atanl
=yes
18101 gcc_cv_math_func_atanl
=no
18103 rm -f core conftest.err conftest.
$ac_objext \
18104 conftest
$ac_exeext conftest.
$ac_ext
18106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
18107 $as_echo "$gcc_cv_math_func_atanl" >&6; }
18108 if test $gcc_cv_math_func_atanl = yes; then
18110 cat >>confdefs.h
<<_ACEOF
18111 #define HAVE_ATANL 1
18119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
18120 $as_echo_n "checking for atanhf... " >&6; }
18121 if ${gcc_cv_math_func_atanhf+:} false
; then :
18122 $as_echo_n "(cached) " >&6
18124 if test x
$gcc_no_link = xyes
; then
18125 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18128 /* end confdefs.h. */
18130 #ifdef HAVE_COMPLEX_H
18131 #include <complex.h>
18137 int (*ptr)() = (int (*)())atanhf;
18146 if ac_fn_c_try_link
"$LINENO"; then :
18147 gcc_cv_math_func_atanhf
=yes
18149 gcc_cv_math_func_atanhf
=no
18151 rm -f core conftest.err conftest.
$ac_objext \
18152 conftest
$ac_exeext conftest.
$ac_ext
18154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
18155 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
18156 if test $gcc_cv_math_func_atanhf = yes; then
18158 cat >>confdefs.h
<<_ACEOF
18159 #define HAVE_ATANHF 1
18167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
18168 $as_echo_n "checking for atanh... " >&6; }
18169 if ${gcc_cv_math_func_atanh+:} false
; then :
18170 $as_echo_n "(cached) " >&6
18172 if test x
$gcc_no_link = xyes
; then
18173 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18176 /* end confdefs.h. */
18178 #ifdef HAVE_COMPLEX_H
18179 #include <complex.h>
18185 int (*ptr)() = (int (*)())atanh;
18194 if ac_fn_c_try_link
"$LINENO"; then :
18195 gcc_cv_math_func_atanh
=yes
18197 gcc_cv_math_func_atanh
=no
18199 rm -f core conftest.err conftest.
$ac_objext \
18200 conftest
$ac_exeext conftest.
$ac_ext
18202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
18203 $as_echo "$gcc_cv_math_func_atanh" >&6; }
18204 if test $gcc_cv_math_func_atanh = yes; then
18206 cat >>confdefs.h
<<_ACEOF
18207 #define HAVE_ATANH 1
18215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
18216 $as_echo_n "checking for atanhl... " >&6; }
18217 if ${gcc_cv_math_func_atanhl+:} false
; then :
18218 $as_echo_n "(cached) " >&6
18220 if test x
$gcc_no_link = xyes
; then
18221 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18224 /* end confdefs.h. */
18226 #ifdef HAVE_COMPLEX_H
18227 #include <complex.h>
18233 int (*ptr)() = (int (*)())atanhl;
18242 if ac_fn_c_try_link
"$LINENO"; then :
18243 gcc_cv_math_func_atanhl
=yes
18245 gcc_cv_math_func_atanhl
=no
18247 rm -f core conftest.err conftest.
$ac_objext \
18248 conftest
$ac_exeext conftest.
$ac_ext
18250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
18251 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
18252 if test $gcc_cv_math_func_atanhl = yes; then
18254 cat >>confdefs.h
<<_ACEOF
18255 #define HAVE_ATANHL 1
18263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
18264 $as_echo_n "checking for cargf... " >&6; }
18265 if ${gcc_cv_math_func_cargf+:} false
; then :
18266 $as_echo_n "(cached) " >&6
18268 if test x
$gcc_no_link = xyes
; then
18269 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18272 /* end confdefs.h. */
18274 #ifdef HAVE_COMPLEX_H
18275 #include <complex.h>
18281 int (*ptr)() = (int (*)())cargf;
18290 if ac_fn_c_try_link
"$LINENO"; then :
18291 gcc_cv_math_func_cargf
=yes
18293 gcc_cv_math_func_cargf
=no
18295 rm -f core conftest.err conftest.
$ac_objext \
18296 conftest
$ac_exeext conftest.
$ac_ext
18298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
18299 $as_echo "$gcc_cv_math_func_cargf" >&6; }
18300 if test $gcc_cv_math_func_cargf = yes; then
18302 cat >>confdefs.h
<<_ACEOF
18303 #define HAVE_CARGF 1
18311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
18312 $as_echo_n "checking for carg... " >&6; }
18313 if ${gcc_cv_math_func_carg+:} false
; then :
18314 $as_echo_n "(cached) " >&6
18316 if test x
$gcc_no_link = xyes
; then
18317 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18320 /* end confdefs.h. */
18322 #ifdef HAVE_COMPLEX_H
18323 #include <complex.h>
18329 int (*ptr)() = (int (*)())carg;
18338 if ac_fn_c_try_link
"$LINENO"; then :
18339 gcc_cv_math_func_carg
=yes
18341 gcc_cv_math_func_carg
=no
18343 rm -f core conftest.err conftest.
$ac_objext \
18344 conftest
$ac_exeext conftest.
$ac_ext
18346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
18347 $as_echo "$gcc_cv_math_func_carg" >&6; }
18348 if test $gcc_cv_math_func_carg = yes; then
18350 cat >>confdefs.h
<<_ACEOF
18351 #define HAVE_CARG 1
18359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
18360 $as_echo_n "checking for cargl... " >&6; }
18361 if ${gcc_cv_math_func_cargl+:} false
; then :
18362 $as_echo_n "(cached) " >&6
18364 if test x
$gcc_no_link = xyes
; then
18365 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18368 /* end confdefs.h. */
18370 #ifdef HAVE_COMPLEX_H
18371 #include <complex.h>
18377 int (*ptr)() = (int (*)())cargl;
18386 if ac_fn_c_try_link
"$LINENO"; then :
18387 gcc_cv_math_func_cargl
=yes
18389 gcc_cv_math_func_cargl
=no
18391 rm -f core conftest.err conftest.
$ac_objext \
18392 conftest
$ac_exeext conftest.
$ac_ext
18394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
18395 $as_echo "$gcc_cv_math_func_cargl" >&6; }
18396 if test $gcc_cv_math_func_cargl = yes; then
18398 cat >>confdefs.h
<<_ACEOF
18399 #define HAVE_CARGL 1
18407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
18408 $as_echo_n "checking for ceilf... " >&6; }
18409 if ${gcc_cv_math_func_ceilf+:} false
; then :
18410 $as_echo_n "(cached) " >&6
18412 if test x
$gcc_no_link = xyes
; then
18413 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18416 /* end confdefs.h. */
18418 #ifdef HAVE_COMPLEX_H
18419 #include <complex.h>
18425 int (*ptr)() = (int (*)())ceilf;
18434 if ac_fn_c_try_link
"$LINENO"; then :
18435 gcc_cv_math_func_ceilf
=yes
18437 gcc_cv_math_func_ceilf
=no
18439 rm -f core conftest.err conftest.
$ac_objext \
18440 conftest
$ac_exeext conftest.
$ac_ext
18442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
18443 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
18444 if test $gcc_cv_math_func_ceilf = yes; then
18446 cat >>confdefs.h
<<_ACEOF
18447 #define HAVE_CEILF 1
18455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
18456 $as_echo_n "checking for ceil... " >&6; }
18457 if ${gcc_cv_math_func_ceil+:} false
; then :
18458 $as_echo_n "(cached) " >&6
18460 if test x
$gcc_no_link = xyes
; then
18461 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18464 /* end confdefs.h. */
18466 #ifdef HAVE_COMPLEX_H
18467 #include <complex.h>
18473 int (*ptr)() = (int (*)())ceil;
18482 if ac_fn_c_try_link
"$LINENO"; then :
18483 gcc_cv_math_func_ceil
=yes
18485 gcc_cv_math_func_ceil
=no
18487 rm -f core conftest.err conftest.
$ac_objext \
18488 conftest
$ac_exeext conftest.
$ac_ext
18490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
18491 $as_echo "$gcc_cv_math_func_ceil" >&6; }
18492 if test $gcc_cv_math_func_ceil = yes; then
18494 cat >>confdefs.h
<<_ACEOF
18495 #define HAVE_CEIL 1
18503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18504 $as_echo_n "checking for ceill... " >&6; }
18505 if ${gcc_cv_math_func_ceill+:} false
; then :
18506 $as_echo_n "(cached) " >&6
18508 if test x
$gcc_no_link = xyes
; then
18509 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18512 /* end confdefs.h. */
18514 #ifdef HAVE_COMPLEX_H
18515 #include <complex.h>
18521 int (*ptr)() = (int (*)())ceill;
18530 if ac_fn_c_try_link
"$LINENO"; then :
18531 gcc_cv_math_func_ceill
=yes
18533 gcc_cv_math_func_ceill
=no
18535 rm -f core conftest.err conftest.
$ac_objext \
18536 conftest
$ac_exeext conftest.
$ac_ext
18538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18539 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18540 if test $gcc_cv_math_func_ceill = yes; then
18542 cat >>confdefs.h
<<_ACEOF
18543 #define HAVE_CEILL 1
18551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18552 $as_echo_n "checking for copysignf... " >&6; }
18553 if ${gcc_cv_math_func_copysignf+:} false
; then :
18554 $as_echo_n "(cached) " >&6
18556 if test x
$gcc_no_link = xyes
; then
18557 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18560 /* end confdefs.h. */
18562 #ifdef HAVE_COMPLEX_H
18563 #include <complex.h>
18569 int (*ptr)() = (int (*)())copysignf;
18578 if ac_fn_c_try_link
"$LINENO"; then :
18579 gcc_cv_math_func_copysignf
=yes
18581 gcc_cv_math_func_copysignf
=no
18583 rm -f core conftest.err conftest.
$ac_objext \
18584 conftest
$ac_exeext conftest.
$ac_ext
18586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18587 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18588 if test $gcc_cv_math_func_copysignf = yes; then
18590 cat >>confdefs.h
<<_ACEOF
18591 #define HAVE_COPYSIGNF 1
18599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18600 $as_echo_n "checking for copysign... " >&6; }
18601 if ${gcc_cv_math_func_copysign+:} false
; then :
18602 $as_echo_n "(cached) " >&6
18604 if test x
$gcc_no_link = xyes
; then
18605 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18608 /* end confdefs.h. */
18610 #ifdef HAVE_COMPLEX_H
18611 #include <complex.h>
18617 int (*ptr)() = (int (*)())copysign;
18626 if ac_fn_c_try_link
"$LINENO"; then :
18627 gcc_cv_math_func_copysign
=yes
18629 gcc_cv_math_func_copysign
=no
18631 rm -f core conftest.err conftest.
$ac_objext \
18632 conftest
$ac_exeext conftest.
$ac_ext
18634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18635 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18636 if test $gcc_cv_math_func_copysign = yes; then
18638 cat >>confdefs.h
<<_ACEOF
18639 #define HAVE_COPYSIGN 1
18647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18648 $as_echo_n "checking for copysignl... " >&6; }
18649 if ${gcc_cv_math_func_copysignl+:} false
; then :
18650 $as_echo_n "(cached) " >&6
18652 if test x
$gcc_no_link = xyes
; then
18653 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18656 /* end confdefs.h. */
18658 #ifdef HAVE_COMPLEX_H
18659 #include <complex.h>
18665 int (*ptr)() = (int (*)())copysignl;
18674 if ac_fn_c_try_link
"$LINENO"; then :
18675 gcc_cv_math_func_copysignl
=yes
18677 gcc_cv_math_func_copysignl
=no
18679 rm -f core conftest.err conftest.
$ac_objext \
18680 conftest
$ac_exeext conftest.
$ac_ext
18682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18683 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18684 if test $gcc_cv_math_func_copysignl = yes; then
18686 cat >>confdefs.h
<<_ACEOF
18687 #define HAVE_COPYSIGNL 1
18695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18696 $as_echo_n "checking for cosf... " >&6; }
18697 if ${gcc_cv_math_func_cosf+:} false
; then :
18698 $as_echo_n "(cached) " >&6
18700 if test x
$gcc_no_link = xyes
; then
18701 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18704 /* end confdefs.h. */
18706 #ifdef HAVE_COMPLEX_H
18707 #include <complex.h>
18713 int (*ptr)() = (int (*)())cosf;
18722 if ac_fn_c_try_link
"$LINENO"; then :
18723 gcc_cv_math_func_cosf
=yes
18725 gcc_cv_math_func_cosf
=no
18727 rm -f core conftest.err conftest.
$ac_objext \
18728 conftest
$ac_exeext conftest.
$ac_ext
18730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18731 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18732 if test $gcc_cv_math_func_cosf = yes; then
18734 cat >>confdefs.h
<<_ACEOF
18735 #define HAVE_COSF 1
18743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18744 $as_echo_n "checking for cos... " >&6; }
18745 if ${gcc_cv_math_func_cos+:} false
; then :
18746 $as_echo_n "(cached) " >&6
18748 if test x
$gcc_no_link = xyes
; then
18749 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18752 /* end confdefs.h. */
18754 #ifdef HAVE_COMPLEX_H
18755 #include <complex.h>
18761 int (*ptr)() = (int (*)())cos;
18770 if ac_fn_c_try_link
"$LINENO"; then :
18771 gcc_cv_math_func_cos
=yes
18773 gcc_cv_math_func_cos
=no
18775 rm -f core conftest.err conftest.
$ac_objext \
18776 conftest
$ac_exeext conftest.
$ac_ext
18778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18779 $as_echo "$gcc_cv_math_func_cos" >&6; }
18780 if test $gcc_cv_math_func_cos = yes; then
18782 cat >>confdefs.h
<<_ACEOF
18791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18792 $as_echo_n "checking for cosl... " >&6; }
18793 if ${gcc_cv_math_func_cosl+:} false
; then :
18794 $as_echo_n "(cached) " >&6
18796 if test x
$gcc_no_link = xyes
; then
18797 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18800 /* end confdefs.h. */
18802 #ifdef HAVE_COMPLEX_H
18803 #include <complex.h>
18809 int (*ptr)() = (int (*)())cosl;
18818 if ac_fn_c_try_link
"$LINENO"; then :
18819 gcc_cv_math_func_cosl
=yes
18821 gcc_cv_math_func_cosl
=no
18823 rm -f core conftest.err conftest.
$ac_objext \
18824 conftest
$ac_exeext conftest.
$ac_ext
18826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18827 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18828 if test $gcc_cv_math_func_cosl = yes; then
18830 cat >>confdefs.h
<<_ACEOF
18831 #define HAVE_COSL 1
18839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18840 $as_echo_n "checking for ccosf... " >&6; }
18841 if ${gcc_cv_math_func_ccosf+:} false
; then :
18842 $as_echo_n "(cached) " >&6
18844 if test x
$gcc_no_link = xyes
; then
18845 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18848 /* end confdefs.h. */
18850 #ifdef HAVE_COMPLEX_H
18851 #include <complex.h>
18857 int (*ptr)() = (int (*)())ccosf;
18866 if ac_fn_c_try_link
"$LINENO"; then :
18867 gcc_cv_math_func_ccosf
=yes
18869 gcc_cv_math_func_ccosf
=no
18871 rm -f core conftest.err conftest.
$ac_objext \
18872 conftest
$ac_exeext conftest.
$ac_ext
18874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18875 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18876 if test $gcc_cv_math_func_ccosf = yes; then
18878 cat >>confdefs.h
<<_ACEOF
18879 #define HAVE_CCOSF 1
18887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18888 $as_echo_n "checking for ccos... " >&6; }
18889 if ${gcc_cv_math_func_ccos+:} false
; then :
18890 $as_echo_n "(cached) " >&6
18892 if test x
$gcc_no_link = xyes
; then
18893 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18896 /* end confdefs.h. */
18898 #ifdef HAVE_COMPLEX_H
18899 #include <complex.h>
18905 int (*ptr)() = (int (*)())ccos;
18914 if ac_fn_c_try_link
"$LINENO"; then :
18915 gcc_cv_math_func_ccos
=yes
18917 gcc_cv_math_func_ccos
=no
18919 rm -f core conftest.err conftest.
$ac_objext \
18920 conftest
$ac_exeext conftest.
$ac_ext
18922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18923 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18924 if test $gcc_cv_math_func_ccos = yes; then
18926 cat >>confdefs.h
<<_ACEOF
18927 #define HAVE_CCOS 1
18935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18936 $as_echo_n "checking for ccosl... " >&6; }
18937 if ${gcc_cv_math_func_ccosl+:} false
; then :
18938 $as_echo_n "(cached) " >&6
18940 if test x
$gcc_no_link = xyes
; then
18941 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18944 /* end confdefs.h. */
18946 #ifdef HAVE_COMPLEX_H
18947 #include <complex.h>
18953 int (*ptr)() = (int (*)())ccosl;
18962 if ac_fn_c_try_link
"$LINENO"; then :
18963 gcc_cv_math_func_ccosl
=yes
18965 gcc_cv_math_func_ccosl
=no
18967 rm -f core conftest.err conftest.
$ac_objext \
18968 conftest
$ac_exeext conftest.
$ac_ext
18970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18971 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18972 if test $gcc_cv_math_func_ccosl = yes; then
18974 cat >>confdefs.h
<<_ACEOF
18975 #define HAVE_CCOSL 1
18983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18984 $as_echo_n "checking for coshf... " >&6; }
18985 if ${gcc_cv_math_func_coshf+:} false
; then :
18986 $as_echo_n "(cached) " >&6
18988 if test x
$gcc_no_link = xyes
; then
18989 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18992 /* end confdefs.h. */
18994 #ifdef HAVE_COMPLEX_H
18995 #include <complex.h>
19001 int (*ptr)() = (int (*)())coshf;
19010 if ac_fn_c_try_link
"$LINENO"; then :
19011 gcc_cv_math_func_coshf
=yes
19013 gcc_cv_math_func_coshf
=no
19015 rm -f core conftest.err conftest.
$ac_objext \
19016 conftest
$ac_exeext conftest.
$ac_ext
19018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
19019 $as_echo "$gcc_cv_math_func_coshf" >&6; }
19020 if test $gcc_cv_math_func_coshf = yes; then
19022 cat >>confdefs.h
<<_ACEOF
19023 #define HAVE_COSHF 1
19031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
19032 $as_echo_n "checking for cosh... " >&6; }
19033 if ${gcc_cv_math_func_cosh+:} false
; then :
19034 $as_echo_n "(cached) " >&6
19036 if test x
$gcc_no_link = xyes
; then
19037 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19040 /* end confdefs.h. */
19042 #ifdef HAVE_COMPLEX_H
19043 #include <complex.h>
19049 int (*ptr)() = (int (*)())cosh;
19058 if ac_fn_c_try_link
"$LINENO"; then :
19059 gcc_cv_math_func_cosh
=yes
19061 gcc_cv_math_func_cosh
=no
19063 rm -f core conftest.err conftest.
$ac_objext \
19064 conftest
$ac_exeext conftest.
$ac_ext
19066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
19067 $as_echo "$gcc_cv_math_func_cosh" >&6; }
19068 if test $gcc_cv_math_func_cosh = yes; then
19070 cat >>confdefs.h
<<_ACEOF
19071 #define HAVE_COSH 1
19079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
19080 $as_echo_n "checking for coshl... " >&6; }
19081 if ${gcc_cv_math_func_coshl+:} false
; then :
19082 $as_echo_n "(cached) " >&6
19084 if test x
$gcc_no_link = xyes
; then
19085 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19088 /* end confdefs.h. */
19090 #ifdef HAVE_COMPLEX_H
19091 #include <complex.h>
19097 int (*ptr)() = (int (*)())coshl;
19106 if ac_fn_c_try_link
"$LINENO"; then :
19107 gcc_cv_math_func_coshl
=yes
19109 gcc_cv_math_func_coshl
=no
19111 rm -f core conftest.err conftest.
$ac_objext \
19112 conftest
$ac_exeext conftest.
$ac_ext
19114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
19115 $as_echo "$gcc_cv_math_func_coshl" >&6; }
19116 if test $gcc_cv_math_func_coshl = yes; then
19118 cat >>confdefs.h
<<_ACEOF
19119 #define HAVE_COSHL 1
19127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
19128 $as_echo_n "checking for ccoshf... " >&6; }
19129 if ${gcc_cv_math_func_ccoshf+:} false
; then :
19130 $as_echo_n "(cached) " >&6
19132 if test x
$gcc_no_link = xyes
; then
19133 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19136 /* end confdefs.h. */
19138 #ifdef HAVE_COMPLEX_H
19139 #include <complex.h>
19145 int (*ptr)() = (int (*)())ccoshf;
19154 if ac_fn_c_try_link
"$LINENO"; then :
19155 gcc_cv_math_func_ccoshf
=yes
19157 gcc_cv_math_func_ccoshf
=no
19159 rm -f core conftest.err conftest.
$ac_objext \
19160 conftest
$ac_exeext conftest.
$ac_ext
19162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
19163 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
19164 if test $gcc_cv_math_func_ccoshf = yes; then
19166 cat >>confdefs.h
<<_ACEOF
19167 #define HAVE_CCOSHF 1
19175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
19176 $as_echo_n "checking for ccosh... " >&6; }
19177 if ${gcc_cv_math_func_ccosh+:} false
; then :
19178 $as_echo_n "(cached) " >&6
19180 if test x
$gcc_no_link = xyes
; then
19181 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19184 /* end confdefs.h. */
19186 #ifdef HAVE_COMPLEX_H
19187 #include <complex.h>
19193 int (*ptr)() = (int (*)())ccosh;
19202 if ac_fn_c_try_link
"$LINENO"; then :
19203 gcc_cv_math_func_ccosh
=yes
19205 gcc_cv_math_func_ccosh
=no
19207 rm -f core conftest.err conftest.
$ac_objext \
19208 conftest
$ac_exeext conftest.
$ac_ext
19210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
19211 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
19212 if test $gcc_cv_math_func_ccosh = yes; then
19214 cat >>confdefs.h
<<_ACEOF
19215 #define HAVE_CCOSH 1
19223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
19224 $as_echo_n "checking for ccoshl... " >&6; }
19225 if ${gcc_cv_math_func_ccoshl+:} false
; then :
19226 $as_echo_n "(cached) " >&6
19228 if test x
$gcc_no_link = xyes
; then
19229 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19232 /* end confdefs.h. */
19234 #ifdef HAVE_COMPLEX_H
19235 #include <complex.h>
19241 int (*ptr)() = (int (*)())ccoshl;
19250 if ac_fn_c_try_link
"$LINENO"; then :
19251 gcc_cv_math_func_ccoshl
=yes
19253 gcc_cv_math_func_ccoshl
=no
19255 rm -f core conftest.err conftest.
$ac_objext \
19256 conftest
$ac_exeext conftest.
$ac_ext
19258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
19259 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
19260 if test $gcc_cv_math_func_ccoshl = yes; then
19262 cat >>confdefs.h
<<_ACEOF
19263 #define HAVE_CCOSHL 1
19271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
19272 $as_echo_n "checking for expf... " >&6; }
19273 if ${gcc_cv_math_func_expf+:} false
; then :
19274 $as_echo_n "(cached) " >&6
19276 if test x
$gcc_no_link = xyes
; then
19277 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19280 /* end confdefs.h. */
19282 #ifdef HAVE_COMPLEX_H
19283 #include <complex.h>
19289 int (*ptr)() = (int (*)())expf;
19298 if ac_fn_c_try_link
"$LINENO"; then :
19299 gcc_cv_math_func_expf
=yes
19301 gcc_cv_math_func_expf
=no
19303 rm -f core conftest.err conftest.
$ac_objext \
19304 conftest
$ac_exeext conftest.
$ac_ext
19306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
19307 $as_echo "$gcc_cv_math_func_expf" >&6; }
19308 if test $gcc_cv_math_func_expf = yes; then
19310 cat >>confdefs.h
<<_ACEOF
19311 #define HAVE_EXPF 1
19319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
19320 $as_echo_n "checking for exp... " >&6; }
19321 if ${gcc_cv_math_func_exp+:} false
; then :
19322 $as_echo_n "(cached) " >&6
19324 if test x
$gcc_no_link = xyes
; then
19325 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19328 /* end confdefs.h. */
19330 #ifdef HAVE_COMPLEX_H
19331 #include <complex.h>
19337 int (*ptr)() = (int (*)())exp;
19346 if ac_fn_c_try_link
"$LINENO"; then :
19347 gcc_cv_math_func_exp
=yes
19349 gcc_cv_math_func_exp
=no
19351 rm -f core conftest.err conftest.
$ac_objext \
19352 conftest
$ac_exeext conftest.
$ac_ext
19354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
19355 $as_echo "$gcc_cv_math_func_exp" >&6; }
19356 if test $gcc_cv_math_func_exp = yes; then
19358 cat >>confdefs.h
<<_ACEOF
19367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
19368 $as_echo_n "checking for expl... " >&6; }
19369 if ${gcc_cv_math_func_expl+:} false
; then :
19370 $as_echo_n "(cached) " >&6
19372 if test x
$gcc_no_link = xyes
; then
19373 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19376 /* end confdefs.h. */
19378 #ifdef HAVE_COMPLEX_H
19379 #include <complex.h>
19385 int (*ptr)() = (int (*)())expl;
19394 if ac_fn_c_try_link
"$LINENO"; then :
19395 gcc_cv_math_func_expl
=yes
19397 gcc_cv_math_func_expl
=no
19399 rm -f core conftest.err conftest.
$ac_objext \
19400 conftest
$ac_exeext conftest.
$ac_ext
19402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
19403 $as_echo "$gcc_cv_math_func_expl" >&6; }
19404 if test $gcc_cv_math_func_expl = yes; then
19406 cat >>confdefs.h
<<_ACEOF
19407 #define HAVE_EXPL 1
19415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
19416 $as_echo_n "checking for cexpf... " >&6; }
19417 if ${gcc_cv_math_func_cexpf+:} false
; then :
19418 $as_echo_n "(cached) " >&6
19420 if test x
$gcc_no_link = xyes
; then
19421 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19424 /* end confdefs.h. */
19426 #ifdef HAVE_COMPLEX_H
19427 #include <complex.h>
19433 int (*ptr)() = (int (*)())cexpf;
19442 if ac_fn_c_try_link
"$LINENO"; then :
19443 gcc_cv_math_func_cexpf
=yes
19445 gcc_cv_math_func_cexpf
=no
19447 rm -f core conftest.err conftest.
$ac_objext \
19448 conftest
$ac_exeext conftest.
$ac_ext
19450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
19451 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
19452 if test $gcc_cv_math_func_cexpf = yes; then
19454 cat >>confdefs.h
<<_ACEOF
19455 #define HAVE_CEXPF 1
19463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
19464 $as_echo_n "checking for cexp... " >&6; }
19465 if ${gcc_cv_math_func_cexp+:} false
; then :
19466 $as_echo_n "(cached) " >&6
19468 if test x
$gcc_no_link = xyes
; then
19469 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19472 /* end confdefs.h. */
19474 #ifdef HAVE_COMPLEX_H
19475 #include <complex.h>
19481 int (*ptr)() = (int (*)())cexp;
19490 if ac_fn_c_try_link
"$LINENO"; then :
19491 gcc_cv_math_func_cexp
=yes
19493 gcc_cv_math_func_cexp
=no
19495 rm -f core conftest.err conftest.
$ac_objext \
19496 conftest
$ac_exeext conftest.
$ac_ext
19498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
19499 $as_echo "$gcc_cv_math_func_cexp" >&6; }
19500 if test $gcc_cv_math_func_cexp = yes; then
19502 cat >>confdefs.h
<<_ACEOF
19503 #define HAVE_CEXP 1
19511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19512 $as_echo_n "checking for cexpl... " >&6; }
19513 if ${gcc_cv_math_func_cexpl+:} false
; then :
19514 $as_echo_n "(cached) " >&6
19516 if test x
$gcc_no_link = xyes
; then
19517 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19520 /* end confdefs.h. */
19522 #ifdef HAVE_COMPLEX_H
19523 #include <complex.h>
19529 int (*ptr)() = (int (*)())cexpl;
19538 if ac_fn_c_try_link
"$LINENO"; then :
19539 gcc_cv_math_func_cexpl
=yes
19541 gcc_cv_math_func_cexpl
=no
19543 rm -f core conftest.err conftest.
$ac_objext \
19544 conftest
$ac_exeext conftest.
$ac_ext
19546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19547 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19548 if test $gcc_cv_math_func_cexpl = yes; then
19550 cat >>confdefs.h
<<_ACEOF
19551 #define HAVE_CEXPL 1
19559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19560 $as_echo_n "checking for fabsf... " >&6; }
19561 if ${gcc_cv_math_func_fabsf+:} false
; then :
19562 $as_echo_n "(cached) " >&6
19564 if test x
$gcc_no_link = xyes
; then
19565 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19568 /* end confdefs.h. */
19570 #ifdef HAVE_COMPLEX_H
19571 #include <complex.h>
19577 int (*ptr)() = (int (*)())fabsf;
19586 if ac_fn_c_try_link
"$LINENO"; then :
19587 gcc_cv_math_func_fabsf
=yes
19589 gcc_cv_math_func_fabsf
=no
19591 rm -f core conftest.err conftest.
$ac_objext \
19592 conftest
$ac_exeext conftest.
$ac_ext
19594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19595 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19596 if test $gcc_cv_math_func_fabsf = yes; then
19598 cat >>confdefs.h
<<_ACEOF
19599 #define HAVE_FABSF 1
19607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19608 $as_echo_n "checking for fabs... " >&6; }
19609 if ${gcc_cv_math_func_fabs+:} false
; then :
19610 $as_echo_n "(cached) " >&6
19612 if test x
$gcc_no_link = xyes
; then
19613 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19616 /* end confdefs.h. */
19618 #ifdef HAVE_COMPLEX_H
19619 #include <complex.h>
19625 int (*ptr)() = (int (*)())fabs;
19634 if ac_fn_c_try_link
"$LINENO"; then :
19635 gcc_cv_math_func_fabs
=yes
19637 gcc_cv_math_func_fabs
=no
19639 rm -f core conftest.err conftest.
$ac_objext \
19640 conftest
$ac_exeext conftest.
$ac_ext
19642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19643 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19644 if test $gcc_cv_math_func_fabs = yes; then
19646 cat >>confdefs.h
<<_ACEOF
19647 #define HAVE_FABS 1
19655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19656 $as_echo_n "checking for fabsl... " >&6; }
19657 if ${gcc_cv_math_func_fabsl+:} false
; then :
19658 $as_echo_n "(cached) " >&6
19660 if test x
$gcc_no_link = xyes
; then
19661 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19664 /* end confdefs.h. */
19666 #ifdef HAVE_COMPLEX_H
19667 #include <complex.h>
19673 int (*ptr)() = (int (*)())fabsl;
19682 if ac_fn_c_try_link
"$LINENO"; then :
19683 gcc_cv_math_func_fabsl
=yes
19685 gcc_cv_math_func_fabsl
=no
19687 rm -f core conftest.err conftest.
$ac_objext \
19688 conftest
$ac_exeext conftest.
$ac_ext
19690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19691 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19692 if test $gcc_cv_math_func_fabsl = yes; then
19694 cat >>confdefs.h
<<_ACEOF
19695 #define HAVE_FABSL 1
19703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19704 $as_echo_n "checking for cabsf... " >&6; }
19705 if ${gcc_cv_math_func_cabsf+:} false
; then :
19706 $as_echo_n "(cached) " >&6
19708 if test x
$gcc_no_link = xyes
; then
19709 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19712 /* end confdefs.h. */
19714 #ifdef HAVE_COMPLEX_H
19715 #include <complex.h>
19721 int (*ptr)() = (int (*)())cabsf;
19730 if ac_fn_c_try_link
"$LINENO"; then :
19731 gcc_cv_math_func_cabsf
=yes
19733 gcc_cv_math_func_cabsf
=no
19735 rm -f core conftest.err conftest.
$ac_objext \
19736 conftest
$ac_exeext conftest.
$ac_ext
19738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19739 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19740 if test $gcc_cv_math_func_cabsf = yes; then
19742 cat >>confdefs.h
<<_ACEOF
19743 #define HAVE_CABSF 1
19751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19752 $as_echo_n "checking for cabs... " >&6; }
19753 if ${gcc_cv_math_func_cabs+:} false
; then :
19754 $as_echo_n "(cached) " >&6
19756 if test x
$gcc_no_link = xyes
; then
19757 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19760 /* end confdefs.h. */
19762 #ifdef HAVE_COMPLEX_H
19763 #include <complex.h>
19769 int (*ptr)() = (int (*)())cabs;
19778 if ac_fn_c_try_link
"$LINENO"; then :
19779 gcc_cv_math_func_cabs
=yes
19781 gcc_cv_math_func_cabs
=no
19783 rm -f core conftest.err conftest.
$ac_objext \
19784 conftest
$ac_exeext conftest.
$ac_ext
19786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19787 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19788 if test $gcc_cv_math_func_cabs = yes; then
19790 cat >>confdefs.h
<<_ACEOF
19791 #define HAVE_CABS 1
19799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19800 $as_echo_n "checking for cabsl... " >&6; }
19801 if ${gcc_cv_math_func_cabsl+:} false
; then :
19802 $as_echo_n "(cached) " >&6
19804 if test x
$gcc_no_link = xyes
; then
19805 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19808 /* end confdefs.h. */
19810 #ifdef HAVE_COMPLEX_H
19811 #include <complex.h>
19817 int (*ptr)() = (int (*)())cabsl;
19826 if ac_fn_c_try_link
"$LINENO"; then :
19827 gcc_cv_math_func_cabsl
=yes
19829 gcc_cv_math_func_cabsl
=no
19831 rm -f core conftest.err conftest.
$ac_objext \
19832 conftest
$ac_exeext conftest.
$ac_ext
19834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19835 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19836 if test $gcc_cv_math_func_cabsl = yes; then
19838 cat >>confdefs.h
<<_ACEOF
19839 #define HAVE_CABSL 1
19847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19848 $as_echo_n "checking for floorf... " >&6; }
19849 if ${gcc_cv_math_func_floorf+:} false
; then :
19850 $as_echo_n "(cached) " >&6
19852 if test x
$gcc_no_link = xyes
; then
19853 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19856 /* end confdefs.h. */
19858 #ifdef HAVE_COMPLEX_H
19859 #include <complex.h>
19865 int (*ptr)() = (int (*)())floorf;
19874 if ac_fn_c_try_link
"$LINENO"; then :
19875 gcc_cv_math_func_floorf
=yes
19877 gcc_cv_math_func_floorf
=no
19879 rm -f core conftest.err conftest.
$ac_objext \
19880 conftest
$ac_exeext conftest.
$ac_ext
19882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19883 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19884 if test $gcc_cv_math_func_floorf = yes; then
19886 cat >>confdefs.h
<<_ACEOF
19887 #define HAVE_FLOORF 1
19895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19896 $as_echo_n "checking for floor... " >&6; }
19897 if ${gcc_cv_math_func_floor+:} false
; then :
19898 $as_echo_n "(cached) " >&6
19900 if test x
$gcc_no_link = xyes
; then
19901 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19904 /* end confdefs.h. */
19906 #ifdef HAVE_COMPLEX_H
19907 #include <complex.h>
19913 int (*ptr)() = (int (*)())floor;
19922 if ac_fn_c_try_link
"$LINENO"; then :
19923 gcc_cv_math_func_floor
=yes
19925 gcc_cv_math_func_floor
=no
19927 rm -f core conftest.err conftest.
$ac_objext \
19928 conftest
$ac_exeext conftest.
$ac_ext
19930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19931 $as_echo "$gcc_cv_math_func_floor" >&6; }
19932 if test $gcc_cv_math_func_floor = yes; then
19934 cat >>confdefs.h
<<_ACEOF
19935 #define HAVE_FLOOR 1
19943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19944 $as_echo_n "checking for floorl... " >&6; }
19945 if ${gcc_cv_math_func_floorl+:} false
; then :
19946 $as_echo_n "(cached) " >&6
19948 if test x
$gcc_no_link = xyes
; then
19949 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19952 /* end confdefs.h. */
19954 #ifdef HAVE_COMPLEX_H
19955 #include <complex.h>
19961 int (*ptr)() = (int (*)())floorl;
19970 if ac_fn_c_try_link
"$LINENO"; then :
19971 gcc_cv_math_func_floorl
=yes
19973 gcc_cv_math_func_floorl
=no
19975 rm -f core conftest.err conftest.
$ac_objext \
19976 conftest
$ac_exeext conftest.
$ac_ext
19978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19979 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19980 if test $gcc_cv_math_func_floorl = yes; then
19982 cat >>confdefs.h
<<_ACEOF
19983 #define HAVE_FLOORL 1
19991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf" >&5
19992 $as_echo_n "checking for fmaf... " >&6; }
19993 if ${gcc_cv_math_func_fmaf+:} false
; then :
19994 $as_echo_n "(cached) " >&6
19996 if test x
$gcc_no_link = xyes
; then
19997 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20000 /* end confdefs.h. */
20002 #ifdef HAVE_COMPLEX_H
20003 #include <complex.h>
20009 int (*ptr)() = (int (*)())fmaf;
20018 if ac_fn_c_try_link
"$LINENO"; then :
20019 gcc_cv_math_func_fmaf
=yes
20021 gcc_cv_math_func_fmaf
=no
20023 rm -f core conftest.err conftest.
$ac_objext \
20024 conftest
$ac_exeext conftest.
$ac_ext
20026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf" >&5
20027 $as_echo "$gcc_cv_math_func_fmaf" >&6; }
20028 if test $gcc_cv_math_func_fmaf = yes; then
20030 cat >>confdefs.h
<<_ACEOF
20031 #define HAVE_FMAF 1
20039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fma" >&5
20040 $as_echo_n "checking for fma... " >&6; }
20041 if ${gcc_cv_math_func_fma+:} false
; then :
20042 $as_echo_n "(cached) " >&6
20044 if test x
$gcc_no_link = xyes
; then
20045 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20048 /* end confdefs.h. */
20050 #ifdef HAVE_COMPLEX_H
20051 #include <complex.h>
20057 int (*ptr)() = (int (*)())fma;
20066 if ac_fn_c_try_link
"$LINENO"; then :
20067 gcc_cv_math_func_fma
=yes
20069 gcc_cv_math_func_fma
=no
20071 rm -f core conftest.err conftest.
$ac_objext \
20072 conftest
$ac_exeext conftest.
$ac_ext
20074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fma" >&5
20075 $as_echo "$gcc_cv_math_func_fma" >&6; }
20076 if test $gcc_cv_math_func_fma = yes; then
20078 cat >>confdefs.h
<<_ACEOF
20087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmal" >&5
20088 $as_echo_n "checking for fmal... " >&6; }
20089 if ${gcc_cv_math_func_fmal+:} false
; then :
20090 $as_echo_n "(cached) " >&6
20092 if test x
$gcc_no_link = xyes
; then
20093 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20096 /* end confdefs.h. */
20098 #ifdef HAVE_COMPLEX_H
20099 #include <complex.h>
20105 int (*ptr)() = (int (*)())fmal;
20114 if ac_fn_c_try_link
"$LINENO"; then :
20115 gcc_cv_math_func_fmal
=yes
20117 gcc_cv_math_func_fmal
=no
20119 rm -f core conftest.err conftest.
$ac_objext \
20120 conftest
$ac_exeext conftest.
$ac_ext
20122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmal" >&5
20123 $as_echo "$gcc_cv_math_func_fmal" >&6; }
20124 if test $gcc_cv_math_func_fmal = yes; then
20126 cat >>confdefs.h
<<_ACEOF
20127 #define HAVE_FMAL 1
20135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
20136 $as_echo_n "checking for fmodf... " >&6; }
20137 if ${gcc_cv_math_func_fmodf+:} false
; then :
20138 $as_echo_n "(cached) " >&6
20140 if test x
$gcc_no_link = xyes
; then
20141 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20144 /* end confdefs.h. */
20146 #ifdef HAVE_COMPLEX_H
20147 #include <complex.h>
20153 int (*ptr)() = (int (*)())fmodf;
20162 if ac_fn_c_try_link
"$LINENO"; then :
20163 gcc_cv_math_func_fmodf
=yes
20165 gcc_cv_math_func_fmodf
=no
20167 rm -f core conftest.err conftest.
$ac_objext \
20168 conftest
$ac_exeext conftest.
$ac_ext
20170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
20171 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
20172 if test $gcc_cv_math_func_fmodf = yes; then
20174 cat >>confdefs.h
<<_ACEOF
20175 #define HAVE_FMODF 1
20183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
20184 $as_echo_n "checking for fmod... " >&6; }
20185 if ${gcc_cv_math_func_fmod+:} false
; then :
20186 $as_echo_n "(cached) " >&6
20188 if test x
$gcc_no_link = xyes
; then
20189 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20192 /* end confdefs.h. */
20194 #ifdef HAVE_COMPLEX_H
20195 #include <complex.h>
20201 int (*ptr)() = (int (*)())fmod;
20210 if ac_fn_c_try_link
"$LINENO"; then :
20211 gcc_cv_math_func_fmod
=yes
20213 gcc_cv_math_func_fmod
=no
20215 rm -f core conftest.err conftest.
$ac_objext \
20216 conftest
$ac_exeext conftest.
$ac_ext
20218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
20219 $as_echo "$gcc_cv_math_func_fmod" >&6; }
20220 if test $gcc_cv_math_func_fmod = yes; then
20222 cat >>confdefs.h
<<_ACEOF
20223 #define HAVE_FMOD 1
20231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
20232 $as_echo_n "checking for fmodl... " >&6; }
20233 if ${gcc_cv_math_func_fmodl+:} false
; then :
20234 $as_echo_n "(cached) " >&6
20236 if test x
$gcc_no_link = xyes
; then
20237 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20240 /* end confdefs.h. */
20242 #ifdef HAVE_COMPLEX_H
20243 #include <complex.h>
20249 int (*ptr)() = (int (*)())fmodl;
20258 if ac_fn_c_try_link
"$LINENO"; then :
20259 gcc_cv_math_func_fmodl
=yes
20261 gcc_cv_math_func_fmodl
=no
20263 rm -f core conftest.err conftest.
$ac_objext \
20264 conftest
$ac_exeext conftest.
$ac_ext
20266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
20267 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
20268 if test $gcc_cv_math_func_fmodl = yes; then
20270 cat >>confdefs.h
<<_ACEOF
20271 #define HAVE_FMODL 1
20279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
20280 $as_echo_n "checking for frexpf... " >&6; }
20281 if ${gcc_cv_math_func_frexpf+:} false
; then :
20282 $as_echo_n "(cached) " >&6
20284 if test x
$gcc_no_link = xyes
; then
20285 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20288 /* end confdefs.h. */
20290 #ifdef HAVE_COMPLEX_H
20291 #include <complex.h>
20297 int (*ptr)() = (int (*)())frexpf;
20306 if ac_fn_c_try_link
"$LINENO"; then :
20307 gcc_cv_math_func_frexpf
=yes
20309 gcc_cv_math_func_frexpf
=no
20311 rm -f core conftest.err conftest.
$ac_objext \
20312 conftest
$ac_exeext conftest.
$ac_ext
20314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
20315 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
20316 if test $gcc_cv_math_func_frexpf = yes; then
20318 cat >>confdefs.h
<<_ACEOF
20319 #define HAVE_FREXPF 1
20327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
20328 $as_echo_n "checking for frexp... " >&6; }
20329 if ${gcc_cv_math_func_frexp+:} false
; then :
20330 $as_echo_n "(cached) " >&6
20332 if test x
$gcc_no_link = xyes
; then
20333 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20336 /* end confdefs.h. */
20338 #ifdef HAVE_COMPLEX_H
20339 #include <complex.h>
20345 int (*ptr)() = (int (*)())frexp;
20354 if ac_fn_c_try_link
"$LINENO"; then :
20355 gcc_cv_math_func_frexp
=yes
20357 gcc_cv_math_func_frexp
=no
20359 rm -f core conftest.err conftest.
$ac_objext \
20360 conftest
$ac_exeext conftest.
$ac_ext
20362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
20363 $as_echo "$gcc_cv_math_func_frexp" >&6; }
20364 if test $gcc_cv_math_func_frexp = yes; then
20366 cat >>confdefs.h
<<_ACEOF
20367 #define HAVE_FREXP 1
20375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
20376 $as_echo_n "checking for frexpl... " >&6; }
20377 if ${gcc_cv_math_func_frexpl+:} false
; then :
20378 $as_echo_n "(cached) " >&6
20380 if test x
$gcc_no_link = xyes
; then
20381 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20384 /* end confdefs.h. */
20386 #ifdef HAVE_COMPLEX_H
20387 #include <complex.h>
20393 int (*ptr)() = (int (*)())frexpl;
20402 if ac_fn_c_try_link
"$LINENO"; then :
20403 gcc_cv_math_func_frexpl
=yes
20405 gcc_cv_math_func_frexpl
=no
20407 rm -f core conftest.err conftest.
$ac_objext \
20408 conftest
$ac_exeext conftest.
$ac_ext
20410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
20411 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
20412 if test $gcc_cv_math_func_frexpl = yes; then
20414 cat >>confdefs.h
<<_ACEOF
20415 #define HAVE_FREXPL 1
20423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
20424 $as_echo_n "checking for hypotf... " >&6; }
20425 if ${gcc_cv_math_func_hypotf+:} false
; then :
20426 $as_echo_n "(cached) " >&6
20428 if test x
$gcc_no_link = xyes
; then
20429 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20432 /* end confdefs.h. */
20434 #ifdef HAVE_COMPLEX_H
20435 #include <complex.h>
20441 int (*ptr)() = (int (*)())hypotf;
20450 if ac_fn_c_try_link
"$LINENO"; then :
20451 gcc_cv_math_func_hypotf
=yes
20453 gcc_cv_math_func_hypotf
=no
20455 rm -f core conftest.err conftest.
$ac_objext \
20456 conftest
$ac_exeext conftest.
$ac_ext
20458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
20459 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
20460 if test $gcc_cv_math_func_hypotf = yes; then
20462 cat >>confdefs.h
<<_ACEOF
20463 #define HAVE_HYPOTF 1
20471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
20472 $as_echo_n "checking for hypot... " >&6; }
20473 if ${gcc_cv_math_func_hypot+:} false
; then :
20474 $as_echo_n "(cached) " >&6
20476 if test x
$gcc_no_link = xyes
; then
20477 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20480 /* end confdefs.h. */
20482 #ifdef HAVE_COMPLEX_H
20483 #include <complex.h>
20489 int (*ptr)() = (int (*)())hypot;
20498 if ac_fn_c_try_link
"$LINENO"; then :
20499 gcc_cv_math_func_hypot
=yes
20501 gcc_cv_math_func_hypot
=no
20503 rm -f core conftest.err conftest.
$ac_objext \
20504 conftest
$ac_exeext conftest.
$ac_ext
20506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
20507 $as_echo "$gcc_cv_math_func_hypot" >&6; }
20508 if test $gcc_cv_math_func_hypot = yes; then
20510 cat >>confdefs.h
<<_ACEOF
20511 #define HAVE_HYPOT 1
20519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
20520 $as_echo_n "checking for hypotl... " >&6; }
20521 if ${gcc_cv_math_func_hypotl+:} false
; then :
20522 $as_echo_n "(cached) " >&6
20524 if test x
$gcc_no_link = xyes
; then
20525 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20528 /* end confdefs.h. */
20530 #ifdef HAVE_COMPLEX_H
20531 #include <complex.h>
20537 int (*ptr)() = (int (*)())hypotl;
20546 if ac_fn_c_try_link
"$LINENO"; then :
20547 gcc_cv_math_func_hypotl
=yes
20549 gcc_cv_math_func_hypotl
=no
20551 rm -f core conftest.err conftest.
$ac_objext \
20552 conftest
$ac_exeext conftest.
$ac_ext
20554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
20555 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
20556 if test $gcc_cv_math_func_hypotl = yes; then
20558 cat >>confdefs.h
<<_ACEOF
20559 #define HAVE_HYPOTL 1
20567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
20568 $as_echo_n "checking for ldexpf... " >&6; }
20569 if ${gcc_cv_math_func_ldexpf+:} false
; then :
20570 $as_echo_n "(cached) " >&6
20572 if test x
$gcc_no_link = xyes
; then
20573 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20576 /* end confdefs.h. */
20578 #ifdef HAVE_COMPLEX_H
20579 #include <complex.h>
20585 int (*ptr)() = (int (*)())ldexpf;
20594 if ac_fn_c_try_link
"$LINENO"; then :
20595 gcc_cv_math_func_ldexpf
=yes
20597 gcc_cv_math_func_ldexpf
=no
20599 rm -f core conftest.err conftest.
$ac_objext \
20600 conftest
$ac_exeext conftest.
$ac_ext
20602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
20603 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
20604 if test $gcc_cv_math_func_ldexpf = yes; then
20606 cat >>confdefs.h
<<_ACEOF
20607 #define HAVE_LDEXPF 1
20615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
20616 $as_echo_n "checking for ldexp... " >&6; }
20617 if ${gcc_cv_math_func_ldexp+:} false
; then :
20618 $as_echo_n "(cached) " >&6
20620 if test x
$gcc_no_link = xyes
; then
20621 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20624 /* end confdefs.h. */
20626 #ifdef HAVE_COMPLEX_H
20627 #include <complex.h>
20633 int (*ptr)() = (int (*)())ldexp;
20642 if ac_fn_c_try_link
"$LINENO"; then :
20643 gcc_cv_math_func_ldexp
=yes
20645 gcc_cv_math_func_ldexp
=no
20647 rm -f core conftest.err conftest.
$ac_objext \
20648 conftest
$ac_exeext conftest.
$ac_ext
20650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20651 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
20652 if test $gcc_cv_math_func_ldexp = yes; then
20654 cat >>confdefs.h
<<_ACEOF
20655 #define HAVE_LDEXP 1
20663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20664 $as_echo_n "checking for ldexpl... " >&6; }
20665 if ${gcc_cv_math_func_ldexpl+:} false
; then :
20666 $as_echo_n "(cached) " >&6
20668 if test x
$gcc_no_link = xyes
; then
20669 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20672 /* end confdefs.h. */
20674 #ifdef HAVE_COMPLEX_H
20675 #include <complex.h>
20681 int (*ptr)() = (int (*)())ldexpl;
20690 if ac_fn_c_try_link
"$LINENO"; then :
20691 gcc_cv_math_func_ldexpl
=yes
20693 gcc_cv_math_func_ldexpl
=no
20695 rm -f core conftest.err conftest.
$ac_objext \
20696 conftest
$ac_exeext conftest.
$ac_ext
20698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20699 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20700 if test $gcc_cv_math_func_ldexpl = yes; then
20702 cat >>confdefs.h
<<_ACEOF
20703 #define HAVE_LDEXPL 1
20711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20712 $as_echo_n "checking for logf... " >&6; }
20713 if ${gcc_cv_math_func_logf+:} false
; then :
20714 $as_echo_n "(cached) " >&6
20716 if test x
$gcc_no_link = xyes
; then
20717 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20720 /* end confdefs.h. */
20722 #ifdef HAVE_COMPLEX_H
20723 #include <complex.h>
20729 int (*ptr)() = (int (*)())logf;
20738 if ac_fn_c_try_link
"$LINENO"; then :
20739 gcc_cv_math_func_logf
=yes
20741 gcc_cv_math_func_logf
=no
20743 rm -f core conftest.err conftest.
$ac_objext \
20744 conftest
$ac_exeext conftest.
$ac_ext
20746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20747 $as_echo "$gcc_cv_math_func_logf" >&6; }
20748 if test $gcc_cv_math_func_logf = yes; then
20750 cat >>confdefs.h
<<_ACEOF
20751 #define HAVE_LOGF 1
20759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20760 $as_echo_n "checking for log... " >&6; }
20761 if ${gcc_cv_math_func_log+:} false
; then :
20762 $as_echo_n "(cached) " >&6
20764 if test x
$gcc_no_link = xyes
; then
20765 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20768 /* end confdefs.h. */
20770 #ifdef HAVE_COMPLEX_H
20771 #include <complex.h>
20777 int (*ptr)() = (int (*)())log;
20786 if ac_fn_c_try_link
"$LINENO"; then :
20787 gcc_cv_math_func_log
=yes
20789 gcc_cv_math_func_log
=no
20791 rm -f core conftest.err conftest.
$ac_objext \
20792 conftest
$ac_exeext conftest.
$ac_ext
20794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20795 $as_echo "$gcc_cv_math_func_log" >&6; }
20796 if test $gcc_cv_math_func_log = yes; then
20798 cat >>confdefs.h
<<_ACEOF
20807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20808 $as_echo_n "checking for logl... " >&6; }
20809 if ${gcc_cv_math_func_logl+:} false
; then :
20810 $as_echo_n "(cached) " >&6
20812 if test x
$gcc_no_link = xyes
; then
20813 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20816 /* end confdefs.h. */
20818 #ifdef HAVE_COMPLEX_H
20819 #include <complex.h>
20825 int (*ptr)() = (int (*)())logl;
20834 if ac_fn_c_try_link
"$LINENO"; then :
20835 gcc_cv_math_func_logl
=yes
20837 gcc_cv_math_func_logl
=no
20839 rm -f core conftest.err conftest.
$ac_objext \
20840 conftest
$ac_exeext conftest.
$ac_ext
20842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20843 $as_echo "$gcc_cv_math_func_logl" >&6; }
20844 if test $gcc_cv_math_func_logl = yes; then
20846 cat >>confdefs.h
<<_ACEOF
20847 #define HAVE_LOGL 1
20855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20856 $as_echo_n "checking for clogf... " >&6; }
20857 if ${gcc_cv_math_func_clogf+:} false
; then :
20858 $as_echo_n "(cached) " >&6
20860 if test x
$gcc_no_link = xyes
; then
20861 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20864 /* end confdefs.h. */
20866 #ifdef HAVE_COMPLEX_H
20867 #include <complex.h>
20873 int (*ptr)() = (int (*)())clogf;
20882 if ac_fn_c_try_link
"$LINENO"; then :
20883 gcc_cv_math_func_clogf
=yes
20885 gcc_cv_math_func_clogf
=no
20887 rm -f core conftest.err conftest.
$ac_objext \
20888 conftest
$ac_exeext conftest.
$ac_ext
20890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20891 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20892 if test $gcc_cv_math_func_clogf = yes; then
20894 cat >>confdefs.h
<<_ACEOF
20895 #define HAVE_CLOGF 1
20903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20904 $as_echo_n "checking for clog... " >&6; }
20905 if ${gcc_cv_math_func_clog+:} false
; then :
20906 $as_echo_n "(cached) " >&6
20908 if test x
$gcc_no_link = xyes
; then
20909 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20912 /* end confdefs.h. */
20914 #ifdef HAVE_COMPLEX_H
20915 #include <complex.h>
20921 int (*ptr)() = (int (*)())clog;
20930 if ac_fn_c_try_link
"$LINENO"; then :
20931 gcc_cv_math_func_clog
=yes
20933 gcc_cv_math_func_clog
=no
20935 rm -f core conftest.err conftest.
$ac_objext \
20936 conftest
$ac_exeext conftest.
$ac_ext
20938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20939 $as_echo "$gcc_cv_math_func_clog" >&6; }
20940 if test $gcc_cv_math_func_clog = yes; then
20942 cat >>confdefs.h
<<_ACEOF
20943 #define HAVE_CLOG 1
20951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20952 $as_echo_n "checking for clogl... " >&6; }
20953 if ${gcc_cv_math_func_clogl+:} false
; then :
20954 $as_echo_n "(cached) " >&6
20956 if test x
$gcc_no_link = xyes
; then
20957 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20960 /* end confdefs.h. */
20962 #ifdef HAVE_COMPLEX_H
20963 #include <complex.h>
20969 int (*ptr)() = (int (*)())clogl;
20978 if ac_fn_c_try_link
"$LINENO"; then :
20979 gcc_cv_math_func_clogl
=yes
20981 gcc_cv_math_func_clogl
=no
20983 rm -f core conftest.err conftest.
$ac_objext \
20984 conftest
$ac_exeext conftest.
$ac_ext
20986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20987 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20988 if test $gcc_cv_math_func_clogl = yes; then
20990 cat >>confdefs.h
<<_ACEOF
20991 #define HAVE_CLOGL 1
20999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
21000 $as_echo_n "checking for log10f... " >&6; }
21001 if ${gcc_cv_math_func_log10f+:} false
; then :
21002 $as_echo_n "(cached) " >&6
21004 if test x
$gcc_no_link = xyes
; then
21005 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21008 /* end confdefs.h. */
21010 #ifdef HAVE_COMPLEX_H
21011 #include <complex.h>
21017 int (*ptr)() = (int (*)())log10f;
21026 if ac_fn_c_try_link
"$LINENO"; then :
21027 gcc_cv_math_func_log10f
=yes
21029 gcc_cv_math_func_log10f
=no
21031 rm -f core conftest.err conftest.
$ac_objext \
21032 conftest
$ac_exeext conftest.
$ac_ext
21034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
21035 $as_echo "$gcc_cv_math_func_log10f" >&6; }
21036 if test $gcc_cv_math_func_log10f = yes; then
21038 cat >>confdefs.h
<<_ACEOF
21039 #define HAVE_LOG10F 1
21047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
21048 $as_echo_n "checking for log10... " >&6; }
21049 if ${gcc_cv_math_func_log10+:} false
; then :
21050 $as_echo_n "(cached) " >&6
21052 if test x
$gcc_no_link = xyes
; then
21053 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21056 /* end confdefs.h. */
21058 #ifdef HAVE_COMPLEX_H
21059 #include <complex.h>
21065 int (*ptr)() = (int (*)())log10;
21074 if ac_fn_c_try_link
"$LINENO"; then :
21075 gcc_cv_math_func_log10
=yes
21077 gcc_cv_math_func_log10
=no
21079 rm -f core conftest.err conftest.
$ac_objext \
21080 conftest
$ac_exeext conftest.
$ac_ext
21082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
21083 $as_echo "$gcc_cv_math_func_log10" >&6; }
21084 if test $gcc_cv_math_func_log10 = yes; then
21086 cat >>confdefs.h
<<_ACEOF
21087 #define HAVE_LOG10 1
21095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
21096 $as_echo_n "checking for log10l... " >&6; }
21097 if ${gcc_cv_math_func_log10l+:} false
; then :
21098 $as_echo_n "(cached) " >&6
21100 if test x
$gcc_no_link = xyes
; then
21101 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21104 /* end confdefs.h. */
21106 #ifdef HAVE_COMPLEX_H
21107 #include <complex.h>
21113 int (*ptr)() = (int (*)())log10l;
21122 if ac_fn_c_try_link
"$LINENO"; then :
21123 gcc_cv_math_func_log10l
=yes
21125 gcc_cv_math_func_log10l
=no
21127 rm -f core conftest.err conftest.
$ac_objext \
21128 conftest
$ac_exeext conftest.
$ac_ext
21130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
21131 $as_echo "$gcc_cv_math_func_log10l" >&6; }
21132 if test $gcc_cv_math_func_log10l = yes; then
21134 cat >>confdefs.h
<<_ACEOF
21135 #define HAVE_LOG10L 1
21143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
21144 $as_echo_n "checking for clog10f... " >&6; }
21145 if ${gcc_cv_math_func_clog10f+:} false
; then :
21146 $as_echo_n "(cached) " >&6
21148 if test x
$gcc_no_link = xyes
; then
21149 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21152 /* end confdefs.h. */
21154 #ifdef HAVE_COMPLEX_H
21155 #include <complex.h>
21161 int (*ptr)() = (int (*)())clog10f;
21170 if ac_fn_c_try_link
"$LINENO"; then :
21171 gcc_cv_math_func_clog10f
=yes
21173 gcc_cv_math_func_clog10f
=no
21175 rm -f core conftest.err conftest.
$ac_objext \
21176 conftest
$ac_exeext conftest.
$ac_ext
21178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
21179 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
21180 if test $gcc_cv_math_func_clog10f = yes; then
21182 cat >>confdefs.h
<<_ACEOF
21183 #define HAVE_CLOG10F 1
21191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
21192 $as_echo_n "checking for clog10... " >&6; }
21193 if ${gcc_cv_math_func_clog10+:} false
; then :
21194 $as_echo_n "(cached) " >&6
21196 if test x
$gcc_no_link = xyes
; then
21197 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21200 /* end confdefs.h. */
21202 #ifdef HAVE_COMPLEX_H
21203 #include <complex.h>
21209 int (*ptr)() = (int (*)())clog10;
21218 if ac_fn_c_try_link
"$LINENO"; then :
21219 gcc_cv_math_func_clog10
=yes
21221 gcc_cv_math_func_clog10
=no
21223 rm -f core conftest.err conftest.
$ac_objext \
21224 conftest
$ac_exeext conftest.
$ac_ext
21226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
21227 $as_echo "$gcc_cv_math_func_clog10" >&6; }
21228 if test $gcc_cv_math_func_clog10 = yes; then
21230 cat >>confdefs.h
<<_ACEOF
21231 #define HAVE_CLOG10 1
21239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
21240 $as_echo_n "checking for clog10l... " >&6; }
21241 if ${gcc_cv_math_func_clog10l+:} false
; then :
21242 $as_echo_n "(cached) " >&6
21244 if test x
$gcc_no_link = xyes
; then
21245 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21248 /* end confdefs.h. */
21250 #ifdef HAVE_COMPLEX_H
21251 #include <complex.h>
21257 int (*ptr)() = (int (*)())clog10l;
21266 if ac_fn_c_try_link
"$LINENO"; then :
21267 gcc_cv_math_func_clog10l
=yes
21269 gcc_cv_math_func_clog10l
=no
21271 rm -f core conftest.err conftest.
$ac_objext \
21272 conftest
$ac_exeext conftest.
$ac_ext
21274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
21275 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
21276 if test $gcc_cv_math_func_clog10l = yes; then
21278 cat >>confdefs.h
<<_ACEOF
21279 #define HAVE_CLOG10L 1
21287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
21288 $as_echo_n "checking for nextafterf... " >&6; }
21289 if ${gcc_cv_math_func_nextafterf+:} false
; then :
21290 $as_echo_n "(cached) " >&6
21292 if test x
$gcc_no_link = xyes
; then
21293 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21296 /* end confdefs.h. */
21298 #ifdef HAVE_COMPLEX_H
21299 #include <complex.h>
21305 int (*ptr)() = (int (*)())nextafterf;
21314 if ac_fn_c_try_link
"$LINENO"; then :
21315 gcc_cv_math_func_nextafterf
=yes
21317 gcc_cv_math_func_nextafterf
=no
21319 rm -f core conftest.err conftest.
$ac_objext \
21320 conftest
$ac_exeext conftest.
$ac_ext
21322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
21323 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
21324 if test $gcc_cv_math_func_nextafterf = yes; then
21326 cat >>confdefs.h
<<_ACEOF
21327 #define HAVE_NEXTAFTERF 1
21335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
21336 $as_echo_n "checking for nextafter... " >&6; }
21337 if ${gcc_cv_math_func_nextafter+:} false
; then :
21338 $as_echo_n "(cached) " >&6
21340 if test x
$gcc_no_link = xyes
; then
21341 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21344 /* end confdefs.h. */
21346 #ifdef HAVE_COMPLEX_H
21347 #include <complex.h>
21353 int (*ptr)() = (int (*)())nextafter;
21362 if ac_fn_c_try_link
"$LINENO"; then :
21363 gcc_cv_math_func_nextafter
=yes
21365 gcc_cv_math_func_nextafter
=no
21367 rm -f core conftest.err conftest.
$ac_objext \
21368 conftest
$ac_exeext conftest.
$ac_ext
21370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
21371 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
21372 if test $gcc_cv_math_func_nextafter = yes; then
21374 cat >>confdefs.h
<<_ACEOF
21375 #define HAVE_NEXTAFTER 1
21383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
21384 $as_echo_n "checking for nextafterl... " >&6; }
21385 if ${gcc_cv_math_func_nextafterl+:} false
; then :
21386 $as_echo_n "(cached) " >&6
21388 if test x
$gcc_no_link = xyes
; then
21389 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21392 /* end confdefs.h. */
21394 #ifdef HAVE_COMPLEX_H
21395 #include <complex.h>
21401 int (*ptr)() = (int (*)())nextafterl;
21410 if ac_fn_c_try_link
"$LINENO"; then :
21411 gcc_cv_math_func_nextafterl
=yes
21413 gcc_cv_math_func_nextafterl
=no
21415 rm -f core conftest.err conftest.
$ac_objext \
21416 conftest
$ac_exeext conftest.
$ac_ext
21418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
21419 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
21420 if test $gcc_cv_math_func_nextafterl = yes; then
21422 cat >>confdefs.h
<<_ACEOF
21423 #define HAVE_NEXTAFTERL 1
21431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
21432 $as_echo_n "checking for powf... " >&6; }
21433 if ${gcc_cv_math_func_powf+:} false
; then :
21434 $as_echo_n "(cached) " >&6
21436 if test x
$gcc_no_link = xyes
; then
21437 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21440 /* end confdefs.h. */
21442 #ifdef HAVE_COMPLEX_H
21443 #include <complex.h>
21449 int (*ptr)() = (int (*)())powf;
21458 if ac_fn_c_try_link
"$LINENO"; then :
21459 gcc_cv_math_func_powf
=yes
21461 gcc_cv_math_func_powf
=no
21463 rm -f core conftest.err conftest.
$ac_objext \
21464 conftest
$ac_exeext conftest.
$ac_ext
21466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
21467 $as_echo "$gcc_cv_math_func_powf" >&6; }
21468 if test $gcc_cv_math_func_powf = yes; then
21470 cat >>confdefs.h
<<_ACEOF
21471 #define HAVE_POWF 1
21479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
21480 $as_echo_n "checking for pow... " >&6; }
21481 if ${gcc_cv_math_func_pow+:} false
; then :
21482 $as_echo_n "(cached) " >&6
21484 if test x
$gcc_no_link = xyes
; then
21485 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21488 /* end confdefs.h. */
21490 #ifdef HAVE_COMPLEX_H
21491 #include <complex.h>
21497 int (*ptr)() = (int (*)())pow;
21506 if ac_fn_c_try_link
"$LINENO"; then :
21507 gcc_cv_math_func_pow
=yes
21509 gcc_cv_math_func_pow
=no
21511 rm -f core conftest.err conftest.
$ac_objext \
21512 conftest
$ac_exeext conftest.
$ac_ext
21514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
21515 $as_echo "$gcc_cv_math_func_pow" >&6; }
21516 if test $gcc_cv_math_func_pow = yes; then
21518 cat >>confdefs.h
<<_ACEOF
21527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
21528 $as_echo_n "checking for cpowf... " >&6; }
21529 if ${gcc_cv_math_func_cpowf+:} false
; then :
21530 $as_echo_n "(cached) " >&6
21532 if test x
$gcc_no_link = xyes
; then
21533 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21536 /* end confdefs.h. */
21538 #ifdef HAVE_COMPLEX_H
21539 #include <complex.h>
21545 int (*ptr)() = (int (*)())cpowf;
21554 if ac_fn_c_try_link
"$LINENO"; then :
21555 gcc_cv_math_func_cpowf
=yes
21557 gcc_cv_math_func_cpowf
=no
21559 rm -f core conftest.err conftest.
$ac_objext \
21560 conftest
$ac_exeext conftest.
$ac_ext
21562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
21563 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
21564 if test $gcc_cv_math_func_cpowf = yes; then
21566 cat >>confdefs.h
<<_ACEOF
21567 #define HAVE_CPOWF 1
21575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
21576 $as_echo_n "checking for cpow... " >&6; }
21577 if ${gcc_cv_math_func_cpow+:} false
; then :
21578 $as_echo_n "(cached) " >&6
21580 if test x
$gcc_no_link = xyes
; then
21581 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21584 /* end confdefs.h. */
21586 #ifdef HAVE_COMPLEX_H
21587 #include <complex.h>
21593 int (*ptr)() = (int (*)())cpow;
21602 if ac_fn_c_try_link
"$LINENO"; then :
21603 gcc_cv_math_func_cpow
=yes
21605 gcc_cv_math_func_cpow
=no
21607 rm -f core conftest.err conftest.
$ac_objext \
21608 conftest
$ac_exeext conftest.
$ac_ext
21610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21611 $as_echo "$gcc_cv_math_func_cpow" >&6; }
21612 if test $gcc_cv_math_func_cpow = yes; then
21614 cat >>confdefs.h
<<_ACEOF
21615 #define HAVE_CPOW 1
21623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21624 $as_echo_n "checking for cpowl... " >&6; }
21625 if ${gcc_cv_math_func_cpowl+:} false
; then :
21626 $as_echo_n "(cached) " >&6
21628 if test x
$gcc_no_link = xyes
; then
21629 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21632 /* end confdefs.h. */
21634 #ifdef HAVE_COMPLEX_H
21635 #include <complex.h>
21641 int (*ptr)() = (int (*)())cpowl;
21650 if ac_fn_c_try_link
"$LINENO"; then :
21651 gcc_cv_math_func_cpowl
=yes
21653 gcc_cv_math_func_cpowl
=no
21655 rm -f core conftest.err conftest.
$ac_objext \
21656 conftest
$ac_exeext conftest.
$ac_ext
21658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21659 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21660 if test $gcc_cv_math_func_cpowl = yes; then
21662 cat >>confdefs.h
<<_ACEOF
21663 #define HAVE_CPOWL 1
21671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21672 $as_echo_n "checking for roundf... " >&6; }
21673 if ${gcc_cv_math_func_roundf+:} false
; then :
21674 $as_echo_n "(cached) " >&6
21676 if test x
$gcc_no_link = xyes
; then
21677 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21680 /* end confdefs.h. */
21682 #ifdef HAVE_COMPLEX_H
21683 #include <complex.h>
21689 int (*ptr)() = (int (*)())roundf;
21698 if ac_fn_c_try_link
"$LINENO"; then :
21699 gcc_cv_math_func_roundf
=yes
21701 gcc_cv_math_func_roundf
=no
21703 rm -f core conftest.err conftest.
$ac_objext \
21704 conftest
$ac_exeext conftest.
$ac_ext
21706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21707 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21708 if test $gcc_cv_math_func_roundf = yes; then
21710 cat >>confdefs.h
<<_ACEOF
21711 #define HAVE_ROUNDF 1
21719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21720 $as_echo_n "checking for round... " >&6; }
21721 if ${gcc_cv_math_func_round+:} false
; then :
21722 $as_echo_n "(cached) " >&6
21724 if test x
$gcc_no_link = xyes
; then
21725 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21728 /* end confdefs.h. */
21730 #ifdef HAVE_COMPLEX_H
21731 #include <complex.h>
21737 int (*ptr)() = (int (*)())round;
21746 if ac_fn_c_try_link
"$LINENO"; then :
21747 gcc_cv_math_func_round
=yes
21749 gcc_cv_math_func_round
=no
21751 rm -f core conftest.err conftest.
$ac_objext \
21752 conftest
$ac_exeext conftest.
$ac_ext
21754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21755 $as_echo "$gcc_cv_math_func_round" >&6; }
21756 if test $gcc_cv_math_func_round = yes; then
21758 cat >>confdefs.h
<<_ACEOF
21759 #define HAVE_ROUND 1
21767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21768 $as_echo_n "checking for roundl... " >&6; }
21769 if ${gcc_cv_math_func_roundl+:} false
; then :
21770 $as_echo_n "(cached) " >&6
21772 if test x
$gcc_no_link = xyes
; then
21773 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21776 /* end confdefs.h. */
21778 #ifdef HAVE_COMPLEX_H
21779 #include <complex.h>
21785 int (*ptr)() = (int (*)())roundl;
21794 if ac_fn_c_try_link
"$LINENO"; then :
21795 gcc_cv_math_func_roundl
=yes
21797 gcc_cv_math_func_roundl
=no
21799 rm -f core conftest.err conftest.
$ac_objext \
21800 conftest
$ac_exeext conftest.
$ac_ext
21802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21803 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21804 if test $gcc_cv_math_func_roundl = yes; then
21806 cat >>confdefs.h
<<_ACEOF
21807 #define HAVE_ROUNDL 1
21815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21816 $as_echo_n "checking for lroundf... " >&6; }
21817 if ${gcc_cv_math_func_lroundf+:} false
; then :
21818 $as_echo_n "(cached) " >&6
21820 if test x
$gcc_no_link = xyes
; then
21821 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21824 /* end confdefs.h. */
21826 #ifdef HAVE_COMPLEX_H
21827 #include <complex.h>
21833 int (*ptr)() = (int (*)())lroundf;
21842 if ac_fn_c_try_link
"$LINENO"; then :
21843 gcc_cv_math_func_lroundf
=yes
21845 gcc_cv_math_func_lroundf
=no
21847 rm -f core conftest.err conftest.
$ac_objext \
21848 conftest
$ac_exeext conftest.
$ac_ext
21850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21851 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21852 if test $gcc_cv_math_func_lroundf = yes; then
21854 cat >>confdefs.h
<<_ACEOF
21855 #define HAVE_LROUNDF 1
21863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21864 $as_echo_n "checking for lround... " >&6; }
21865 if ${gcc_cv_math_func_lround+:} false
; then :
21866 $as_echo_n "(cached) " >&6
21868 if test x
$gcc_no_link = xyes
; then
21869 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21872 /* end confdefs.h. */
21874 #ifdef HAVE_COMPLEX_H
21875 #include <complex.h>
21881 int (*ptr)() = (int (*)())lround;
21890 if ac_fn_c_try_link
"$LINENO"; then :
21891 gcc_cv_math_func_lround
=yes
21893 gcc_cv_math_func_lround
=no
21895 rm -f core conftest.err conftest.
$ac_objext \
21896 conftest
$ac_exeext conftest.
$ac_ext
21898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21899 $as_echo "$gcc_cv_math_func_lround" >&6; }
21900 if test $gcc_cv_math_func_lround = yes; then
21902 cat >>confdefs.h
<<_ACEOF
21903 #define HAVE_LROUND 1
21911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21912 $as_echo_n "checking for lroundl... " >&6; }
21913 if ${gcc_cv_math_func_lroundl+:} false
; then :
21914 $as_echo_n "(cached) " >&6
21916 if test x
$gcc_no_link = xyes
; then
21917 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21920 /* end confdefs.h. */
21922 #ifdef HAVE_COMPLEX_H
21923 #include <complex.h>
21929 int (*ptr)() = (int (*)())lroundl;
21938 if ac_fn_c_try_link
"$LINENO"; then :
21939 gcc_cv_math_func_lroundl
=yes
21941 gcc_cv_math_func_lroundl
=no
21943 rm -f core conftest.err conftest.
$ac_objext \
21944 conftest
$ac_exeext conftest.
$ac_ext
21946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21947 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21948 if test $gcc_cv_math_func_lroundl = yes; then
21950 cat >>confdefs.h
<<_ACEOF
21951 #define HAVE_LROUNDL 1
21959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21960 $as_echo_n "checking for llroundf... " >&6; }
21961 if ${gcc_cv_math_func_llroundf+:} false
; then :
21962 $as_echo_n "(cached) " >&6
21964 if test x
$gcc_no_link = xyes
; then
21965 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21968 /* end confdefs.h. */
21970 #ifdef HAVE_COMPLEX_H
21971 #include <complex.h>
21977 int (*ptr)() = (int (*)())llroundf;
21986 if ac_fn_c_try_link
"$LINENO"; then :
21987 gcc_cv_math_func_llroundf
=yes
21989 gcc_cv_math_func_llroundf
=no
21991 rm -f core conftest.err conftest.
$ac_objext \
21992 conftest
$ac_exeext conftest.
$ac_ext
21994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21995 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21996 if test $gcc_cv_math_func_llroundf = yes; then
21998 cat >>confdefs.h
<<_ACEOF
21999 #define HAVE_LLROUNDF 1
22007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
22008 $as_echo_n "checking for llround... " >&6; }
22009 if ${gcc_cv_math_func_llround+:} false
; then :
22010 $as_echo_n "(cached) " >&6
22012 if test x
$gcc_no_link = xyes
; then
22013 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22016 /* end confdefs.h. */
22018 #ifdef HAVE_COMPLEX_H
22019 #include <complex.h>
22025 int (*ptr)() = (int (*)())llround;
22034 if ac_fn_c_try_link
"$LINENO"; then :
22035 gcc_cv_math_func_llround
=yes
22037 gcc_cv_math_func_llround
=no
22039 rm -f core conftest.err conftest.
$ac_objext \
22040 conftest
$ac_exeext conftest.
$ac_ext
22042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
22043 $as_echo "$gcc_cv_math_func_llround" >&6; }
22044 if test $gcc_cv_math_func_llround = yes; then
22046 cat >>confdefs.h
<<_ACEOF
22047 #define HAVE_LLROUND 1
22055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
22056 $as_echo_n "checking for llroundl... " >&6; }
22057 if ${gcc_cv_math_func_llroundl+:} false
; then :
22058 $as_echo_n "(cached) " >&6
22060 if test x
$gcc_no_link = xyes
; then
22061 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22064 /* end confdefs.h. */
22066 #ifdef HAVE_COMPLEX_H
22067 #include <complex.h>
22073 int (*ptr)() = (int (*)())llroundl;
22082 if ac_fn_c_try_link
"$LINENO"; then :
22083 gcc_cv_math_func_llroundl
=yes
22085 gcc_cv_math_func_llroundl
=no
22087 rm -f core conftest.err conftest.
$ac_objext \
22088 conftest
$ac_exeext conftest.
$ac_ext
22090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
22091 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
22092 if test $gcc_cv_math_func_llroundl = yes; then
22094 cat >>confdefs.h
<<_ACEOF
22095 #define HAVE_LLROUNDL 1
22103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
22104 $as_echo_n "checking for scalbnf... " >&6; }
22105 if ${gcc_cv_math_func_scalbnf+:} false
; then :
22106 $as_echo_n "(cached) " >&6
22108 if test x
$gcc_no_link = xyes
; then
22109 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22112 /* end confdefs.h. */
22114 #ifdef HAVE_COMPLEX_H
22115 #include <complex.h>
22121 int (*ptr)() = (int (*)())scalbnf;
22130 if ac_fn_c_try_link
"$LINENO"; then :
22131 gcc_cv_math_func_scalbnf
=yes
22133 gcc_cv_math_func_scalbnf
=no
22135 rm -f core conftest.err conftest.
$ac_objext \
22136 conftest
$ac_exeext conftest.
$ac_ext
22138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
22139 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
22140 if test $gcc_cv_math_func_scalbnf = yes; then
22142 cat >>confdefs.h
<<_ACEOF
22143 #define HAVE_SCALBNF 1
22151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
22152 $as_echo_n "checking for scalbn... " >&6; }
22153 if ${gcc_cv_math_func_scalbn+:} false
; then :
22154 $as_echo_n "(cached) " >&6
22156 if test x
$gcc_no_link = xyes
; then
22157 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22160 /* end confdefs.h. */
22162 #ifdef HAVE_COMPLEX_H
22163 #include <complex.h>
22169 int (*ptr)() = (int (*)())scalbn;
22178 if ac_fn_c_try_link
"$LINENO"; then :
22179 gcc_cv_math_func_scalbn
=yes
22181 gcc_cv_math_func_scalbn
=no
22183 rm -f core conftest.err conftest.
$ac_objext \
22184 conftest
$ac_exeext conftest.
$ac_ext
22186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
22187 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
22188 if test $gcc_cv_math_func_scalbn = yes; then
22190 cat >>confdefs.h
<<_ACEOF
22191 #define HAVE_SCALBN 1
22199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
22200 $as_echo_n "checking for scalbnl... " >&6; }
22201 if ${gcc_cv_math_func_scalbnl+:} false
; then :
22202 $as_echo_n "(cached) " >&6
22204 if test x
$gcc_no_link = xyes
; then
22205 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22208 /* end confdefs.h. */
22210 #ifdef HAVE_COMPLEX_H
22211 #include <complex.h>
22217 int (*ptr)() = (int (*)())scalbnl;
22226 if ac_fn_c_try_link
"$LINENO"; then :
22227 gcc_cv_math_func_scalbnl
=yes
22229 gcc_cv_math_func_scalbnl
=no
22231 rm -f core conftest.err conftest.
$ac_objext \
22232 conftest
$ac_exeext conftest.
$ac_ext
22234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
22235 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
22236 if test $gcc_cv_math_func_scalbnl = yes; then
22238 cat >>confdefs.h
<<_ACEOF
22239 #define HAVE_SCALBNL 1
22247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
22248 $as_echo_n "checking for sinf... " >&6; }
22249 if ${gcc_cv_math_func_sinf+:} false
; then :
22250 $as_echo_n "(cached) " >&6
22252 if test x
$gcc_no_link = xyes
; then
22253 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22256 /* end confdefs.h. */
22258 #ifdef HAVE_COMPLEX_H
22259 #include <complex.h>
22265 int (*ptr)() = (int (*)())sinf;
22274 if ac_fn_c_try_link
"$LINENO"; then :
22275 gcc_cv_math_func_sinf
=yes
22277 gcc_cv_math_func_sinf
=no
22279 rm -f core conftest.err conftest.
$ac_objext \
22280 conftest
$ac_exeext conftest.
$ac_ext
22282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
22283 $as_echo "$gcc_cv_math_func_sinf" >&6; }
22284 if test $gcc_cv_math_func_sinf = yes; then
22286 cat >>confdefs.h
<<_ACEOF
22287 #define HAVE_SINF 1
22295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
22296 $as_echo_n "checking for sin... " >&6; }
22297 if ${gcc_cv_math_func_sin+:} false
; then :
22298 $as_echo_n "(cached) " >&6
22300 if test x
$gcc_no_link = xyes
; then
22301 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22304 /* end confdefs.h. */
22306 #ifdef HAVE_COMPLEX_H
22307 #include <complex.h>
22313 int (*ptr)() = (int (*)())sin;
22322 if ac_fn_c_try_link
"$LINENO"; then :
22323 gcc_cv_math_func_sin
=yes
22325 gcc_cv_math_func_sin
=no
22327 rm -f core conftest.err conftest.
$ac_objext \
22328 conftest
$ac_exeext conftest.
$ac_ext
22330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
22331 $as_echo "$gcc_cv_math_func_sin" >&6; }
22332 if test $gcc_cv_math_func_sin = yes; then
22334 cat >>confdefs.h
<<_ACEOF
22343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
22344 $as_echo_n "checking for sinl... " >&6; }
22345 if ${gcc_cv_math_func_sinl+:} false
; then :
22346 $as_echo_n "(cached) " >&6
22348 if test x
$gcc_no_link = xyes
; then
22349 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22352 /* end confdefs.h. */
22354 #ifdef HAVE_COMPLEX_H
22355 #include <complex.h>
22361 int (*ptr)() = (int (*)())sinl;
22370 if ac_fn_c_try_link
"$LINENO"; then :
22371 gcc_cv_math_func_sinl
=yes
22373 gcc_cv_math_func_sinl
=no
22375 rm -f core conftest.err conftest.
$ac_objext \
22376 conftest
$ac_exeext conftest.
$ac_ext
22378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
22379 $as_echo "$gcc_cv_math_func_sinl" >&6; }
22380 if test $gcc_cv_math_func_sinl = yes; then
22382 cat >>confdefs.h
<<_ACEOF
22383 #define HAVE_SINL 1
22391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
22392 $as_echo_n "checking for csinf... " >&6; }
22393 if ${gcc_cv_math_func_csinf+:} false
; then :
22394 $as_echo_n "(cached) " >&6
22396 if test x
$gcc_no_link = xyes
; then
22397 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22400 /* end confdefs.h. */
22402 #ifdef HAVE_COMPLEX_H
22403 #include <complex.h>
22409 int (*ptr)() = (int (*)())csinf;
22418 if ac_fn_c_try_link
"$LINENO"; then :
22419 gcc_cv_math_func_csinf
=yes
22421 gcc_cv_math_func_csinf
=no
22423 rm -f core conftest.err conftest.
$ac_objext \
22424 conftest
$ac_exeext conftest.
$ac_ext
22426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
22427 $as_echo "$gcc_cv_math_func_csinf" >&6; }
22428 if test $gcc_cv_math_func_csinf = yes; then
22430 cat >>confdefs.h
<<_ACEOF
22431 #define HAVE_CSINF 1
22439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
22440 $as_echo_n "checking for csin... " >&6; }
22441 if ${gcc_cv_math_func_csin+:} false
; then :
22442 $as_echo_n "(cached) " >&6
22444 if test x
$gcc_no_link = xyes
; then
22445 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22448 /* end confdefs.h. */
22450 #ifdef HAVE_COMPLEX_H
22451 #include <complex.h>
22457 int (*ptr)() = (int (*)())csin;
22466 if ac_fn_c_try_link
"$LINENO"; then :
22467 gcc_cv_math_func_csin
=yes
22469 gcc_cv_math_func_csin
=no
22471 rm -f core conftest.err conftest.
$ac_objext \
22472 conftest
$ac_exeext conftest.
$ac_ext
22474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
22475 $as_echo "$gcc_cv_math_func_csin" >&6; }
22476 if test $gcc_cv_math_func_csin = yes; then
22478 cat >>confdefs.h
<<_ACEOF
22479 #define HAVE_CSIN 1
22487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
22488 $as_echo_n "checking for csinl... " >&6; }
22489 if ${gcc_cv_math_func_csinl+:} false
; then :
22490 $as_echo_n "(cached) " >&6
22492 if test x
$gcc_no_link = xyes
; then
22493 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22496 /* end confdefs.h. */
22498 #ifdef HAVE_COMPLEX_H
22499 #include <complex.h>
22505 int (*ptr)() = (int (*)())csinl;
22514 if ac_fn_c_try_link
"$LINENO"; then :
22515 gcc_cv_math_func_csinl
=yes
22517 gcc_cv_math_func_csinl
=no
22519 rm -f core conftest.err conftest.
$ac_objext \
22520 conftest
$ac_exeext conftest.
$ac_ext
22522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
22523 $as_echo "$gcc_cv_math_func_csinl" >&6; }
22524 if test $gcc_cv_math_func_csinl = yes; then
22526 cat >>confdefs.h
<<_ACEOF
22527 #define HAVE_CSINL 1
22535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
22536 $as_echo_n "checking for sinhf... " >&6; }
22537 if ${gcc_cv_math_func_sinhf+:} false
; then :
22538 $as_echo_n "(cached) " >&6
22540 if test x
$gcc_no_link = xyes
; then
22541 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22544 /* end confdefs.h. */
22546 #ifdef HAVE_COMPLEX_H
22547 #include <complex.h>
22553 int (*ptr)() = (int (*)())sinhf;
22562 if ac_fn_c_try_link
"$LINENO"; then :
22563 gcc_cv_math_func_sinhf
=yes
22565 gcc_cv_math_func_sinhf
=no
22567 rm -f core conftest.err conftest.
$ac_objext \
22568 conftest
$ac_exeext conftest.
$ac_ext
22570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
22571 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
22572 if test $gcc_cv_math_func_sinhf = yes; then
22574 cat >>confdefs.h
<<_ACEOF
22575 #define HAVE_SINHF 1
22583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
22584 $as_echo_n "checking for sinh... " >&6; }
22585 if ${gcc_cv_math_func_sinh+:} false
; then :
22586 $as_echo_n "(cached) " >&6
22588 if test x
$gcc_no_link = xyes
; then
22589 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22592 /* end confdefs.h. */
22594 #ifdef HAVE_COMPLEX_H
22595 #include <complex.h>
22601 int (*ptr)() = (int (*)())sinh;
22610 if ac_fn_c_try_link
"$LINENO"; then :
22611 gcc_cv_math_func_sinh
=yes
22613 gcc_cv_math_func_sinh
=no
22615 rm -f core conftest.err conftest.
$ac_objext \
22616 conftest
$ac_exeext conftest.
$ac_ext
22618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22619 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22620 if test $gcc_cv_math_func_sinh = yes; then
22622 cat >>confdefs.h
<<_ACEOF
22623 #define HAVE_SINH 1
22631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22632 $as_echo_n "checking for sinhl... " >&6; }
22633 if ${gcc_cv_math_func_sinhl+:} false
; then :
22634 $as_echo_n "(cached) " >&6
22636 if test x
$gcc_no_link = xyes
; then
22637 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22640 /* end confdefs.h. */
22642 #ifdef HAVE_COMPLEX_H
22643 #include <complex.h>
22649 int (*ptr)() = (int (*)())sinhl;
22658 if ac_fn_c_try_link
"$LINENO"; then :
22659 gcc_cv_math_func_sinhl
=yes
22661 gcc_cv_math_func_sinhl
=no
22663 rm -f core conftest.err conftest.
$ac_objext \
22664 conftest
$ac_exeext conftest.
$ac_ext
22666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22667 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22668 if test $gcc_cv_math_func_sinhl = yes; then
22670 cat >>confdefs.h
<<_ACEOF
22671 #define HAVE_SINHL 1
22679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22680 $as_echo_n "checking for csinhf... " >&6; }
22681 if ${gcc_cv_math_func_csinhf+:} false
; then :
22682 $as_echo_n "(cached) " >&6
22684 if test x
$gcc_no_link = xyes
; then
22685 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22688 /* end confdefs.h. */
22690 #ifdef HAVE_COMPLEX_H
22691 #include <complex.h>
22697 int (*ptr)() = (int (*)())csinhf;
22706 if ac_fn_c_try_link
"$LINENO"; then :
22707 gcc_cv_math_func_csinhf
=yes
22709 gcc_cv_math_func_csinhf
=no
22711 rm -f core conftest.err conftest.
$ac_objext \
22712 conftest
$ac_exeext conftest.
$ac_ext
22714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22715 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22716 if test $gcc_cv_math_func_csinhf = yes; then
22718 cat >>confdefs.h
<<_ACEOF
22719 #define HAVE_CSINHF 1
22727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22728 $as_echo_n "checking for csinh... " >&6; }
22729 if ${gcc_cv_math_func_csinh+:} false
; then :
22730 $as_echo_n "(cached) " >&6
22732 if test x
$gcc_no_link = xyes
; then
22733 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22736 /* end confdefs.h. */
22738 #ifdef HAVE_COMPLEX_H
22739 #include <complex.h>
22745 int (*ptr)() = (int (*)())csinh;
22754 if ac_fn_c_try_link
"$LINENO"; then :
22755 gcc_cv_math_func_csinh
=yes
22757 gcc_cv_math_func_csinh
=no
22759 rm -f core conftest.err conftest.
$ac_objext \
22760 conftest
$ac_exeext conftest.
$ac_ext
22762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22763 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22764 if test $gcc_cv_math_func_csinh = yes; then
22766 cat >>confdefs.h
<<_ACEOF
22767 #define HAVE_CSINH 1
22775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22776 $as_echo_n "checking for csinhl... " >&6; }
22777 if ${gcc_cv_math_func_csinhl+:} false
; then :
22778 $as_echo_n "(cached) " >&6
22780 if test x
$gcc_no_link = xyes
; then
22781 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22784 /* end confdefs.h. */
22786 #ifdef HAVE_COMPLEX_H
22787 #include <complex.h>
22793 int (*ptr)() = (int (*)())csinhl;
22802 if ac_fn_c_try_link
"$LINENO"; then :
22803 gcc_cv_math_func_csinhl
=yes
22805 gcc_cv_math_func_csinhl
=no
22807 rm -f core conftest.err conftest.
$ac_objext \
22808 conftest
$ac_exeext conftest.
$ac_ext
22810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22811 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22812 if test $gcc_cv_math_func_csinhl = yes; then
22814 cat >>confdefs.h
<<_ACEOF
22815 #define HAVE_CSINHL 1
22823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22824 $as_echo_n "checking for sqrtf... " >&6; }
22825 if ${gcc_cv_math_func_sqrtf+:} false
; then :
22826 $as_echo_n "(cached) " >&6
22828 if test x
$gcc_no_link = xyes
; then
22829 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22832 /* end confdefs.h. */
22834 #ifdef HAVE_COMPLEX_H
22835 #include <complex.h>
22841 int (*ptr)() = (int (*)())sqrtf;
22850 if ac_fn_c_try_link
"$LINENO"; then :
22851 gcc_cv_math_func_sqrtf
=yes
22853 gcc_cv_math_func_sqrtf
=no
22855 rm -f core conftest.err conftest.
$ac_objext \
22856 conftest
$ac_exeext conftest.
$ac_ext
22858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22859 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22860 if test $gcc_cv_math_func_sqrtf = yes; then
22862 cat >>confdefs.h
<<_ACEOF
22863 #define HAVE_SQRTF 1
22871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22872 $as_echo_n "checking for sqrt... " >&6; }
22873 if ${gcc_cv_math_func_sqrt+:} false
; then :
22874 $as_echo_n "(cached) " >&6
22876 if test x
$gcc_no_link = xyes
; then
22877 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22880 /* end confdefs.h. */
22882 #ifdef HAVE_COMPLEX_H
22883 #include <complex.h>
22889 int (*ptr)() = (int (*)())sqrt;
22898 if ac_fn_c_try_link
"$LINENO"; then :
22899 gcc_cv_math_func_sqrt
=yes
22901 gcc_cv_math_func_sqrt
=no
22903 rm -f core conftest.err conftest.
$ac_objext \
22904 conftest
$ac_exeext conftest.
$ac_ext
22906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22907 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22908 if test $gcc_cv_math_func_sqrt = yes; then
22910 cat >>confdefs.h
<<_ACEOF
22911 #define HAVE_SQRT 1
22919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22920 $as_echo_n "checking for sqrtl... " >&6; }
22921 if ${gcc_cv_math_func_sqrtl+:} false
; then :
22922 $as_echo_n "(cached) " >&6
22924 if test x
$gcc_no_link = xyes
; then
22925 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22928 /* end confdefs.h. */
22930 #ifdef HAVE_COMPLEX_H
22931 #include <complex.h>
22937 int (*ptr)() = (int (*)())sqrtl;
22946 if ac_fn_c_try_link
"$LINENO"; then :
22947 gcc_cv_math_func_sqrtl
=yes
22949 gcc_cv_math_func_sqrtl
=no
22951 rm -f core conftest.err conftest.
$ac_objext \
22952 conftest
$ac_exeext conftest.
$ac_ext
22954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22955 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22956 if test $gcc_cv_math_func_sqrtl = yes; then
22958 cat >>confdefs.h
<<_ACEOF
22959 #define HAVE_SQRTL 1
22967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22968 $as_echo_n "checking for csqrtf... " >&6; }
22969 if ${gcc_cv_math_func_csqrtf+:} false
; then :
22970 $as_echo_n "(cached) " >&6
22972 if test x
$gcc_no_link = xyes
; then
22973 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22976 /* end confdefs.h. */
22978 #ifdef HAVE_COMPLEX_H
22979 #include <complex.h>
22985 int (*ptr)() = (int (*)())csqrtf;
22994 if ac_fn_c_try_link
"$LINENO"; then :
22995 gcc_cv_math_func_csqrtf
=yes
22997 gcc_cv_math_func_csqrtf
=no
22999 rm -f core conftest.err conftest.
$ac_objext \
23000 conftest
$ac_exeext conftest.
$ac_ext
23002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
23003 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
23004 if test $gcc_cv_math_func_csqrtf = yes; then
23006 cat >>confdefs.h
<<_ACEOF
23007 #define HAVE_CSQRTF 1
23015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
23016 $as_echo_n "checking for csqrt... " >&6; }
23017 if ${gcc_cv_math_func_csqrt+:} false
; then :
23018 $as_echo_n "(cached) " >&6
23020 if test x
$gcc_no_link = xyes
; then
23021 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23024 /* end confdefs.h. */
23026 #ifdef HAVE_COMPLEX_H
23027 #include <complex.h>
23033 int (*ptr)() = (int (*)())csqrt;
23042 if ac_fn_c_try_link
"$LINENO"; then :
23043 gcc_cv_math_func_csqrt
=yes
23045 gcc_cv_math_func_csqrt
=no
23047 rm -f core conftest.err conftest.
$ac_objext \
23048 conftest
$ac_exeext conftest.
$ac_ext
23050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
23051 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
23052 if test $gcc_cv_math_func_csqrt = yes; then
23054 cat >>confdefs.h
<<_ACEOF
23055 #define HAVE_CSQRT 1
23063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
23064 $as_echo_n "checking for csqrtl... " >&6; }
23065 if ${gcc_cv_math_func_csqrtl+:} false
; then :
23066 $as_echo_n "(cached) " >&6
23068 if test x
$gcc_no_link = xyes
; then
23069 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23072 /* end confdefs.h. */
23074 #ifdef HAVE_COMPLEX_H
23075 #include <complex.h>
23081 int (*ptr)() = (int (*)())csqrtl;
23090 if ac_fn_c_try_link
"$LINENO"; then :
23091 gcc_cv_math_func_csqrtl
=yes
23093 gcc_cv_math_func_csqrtl
=no
23095 rm -f core conftest.err conftest.
$ac_objext \
23096 conftest
$ac_exeext conftest.
$ac_ext
23098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
23099 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
23100 if test $gcc_cv_math_func_csqrtl = yes; then
23102 cat >>confdefs.h
<<_ACEOF
23103 #define HAVE_CSQRTL 1
23111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
23112 $as_echo_n "checking for tanf... " >&6; }
23113 if ${gcc_cv_math_func_tanf+:} false
; then :
23114 $as_echo_n "(cached) " >&6
23116 if test x
$gcc_no_link = xyes
; then
23117 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23120 /* end confdefs.h. */
23122 #ifdef HAVE_COMPLEX_H
23123 #include <complex.h>
23129 int (*ptr)() = (int (*)())tanf;
23138 if ac_fn_c_try_link
"$LINENO"; then :
23139 gcc_cv_math_func_tanf
=yes
23141 gcc_cv_math_func_tanf
=no
23143 rm -f core conftest.err conftest.
$ac_objext \
23144 conftest
$ac_exeext conftest.
$ac_ext
23146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
23147 $as_echo "$gcc_cv_math_func_tanf" >&6; }
23148 if test $gcc_cv_math_func_tanf = yes; then
23150 cat >>confdefs.h
<<_ACEOF
23151 #define HAVE_TANF 1
23159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
23160 $as_echo_n "checking for tan... " >&6; }
23161 if ${gcc_cv_math_func_tan+:} false
; then :
23162 $as_echo_n "(cached) " >&6
23164 if test x
$gcc_no_link = xyes
; then
23165 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23168 /* end confdefs.h. */
23170 #ifdef HAVE_COMPLEX_H
23171 #include <complex.h>
23177 int (*ptr)() = (int (*)())tan;
23186 if ac_fn_c_try_link
"$LINENO"; then :
23187 gcc_cv_math_func_tan
=yes
23189 gcc_cv_math_func_tan
=no
23191 rm -f core conftest.err conftest.
$ac_objext \
23192 conftest
$ac_exeext conftest.
$ac_ext
23194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
23195 $as_echo "$gcc_cv_math_func_tan" >&6; }
23196 if test $gcc_cv_math_func_tan = yes; then
23198 cat >>confdefs.h
<<_ACEOF
23207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
23208 $as_echo_n "checking for tanl... " >&6; }
23209 if ${gcc_cv_math_func_tanl+:} false
; then :
23210 $as_echo_n "(cached) " >&6
23212 if test x
$gcc_no_link = xyes
; then
23213 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23216 /* end confdefs.h. */
23218 #ifdef HAVE_COMPLEX_H
23219 #include <complex.h>
23225 int (*ptr)() = (int (*)())tanl;
23234 if ac_fn_c_try_link
"$LINENO"; then :
23235 gcc_cv_math_func_tanl
=yes
23237 gcc_cv_math_func_tanl
=no
23239 rm -f core conftest.err conftest.
$ac_objext \
23240 conftest
$ac_exeext conftest.
$ac_ext
23242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
23243 $as_echo "$gcc_cv_math_func_tanl" >&6; }
23244 if test $gcc_cv_math_func_tanl = yes; then
23246 cat >>confdefs.h
<<_ACEOF
23247 #define HAVE_TANL 1
23255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
23256 $as_echo_n "checking for ctanf... " >&6; }
23257 if ${gcc_cv_math_func_ctanf+:} false
; then :
23258 $as_echo_n "(cached) " >&6
23260 if test x
$gcc_no_link = xyes
; then
23261 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23264 /* end confdefs.h. */
23266 #ifdef HAVE_COMPLEX_H
23267 #include <complex.h>
23273 int (*ptr)() = (int (*)())ctanf;
23282 if ac_fn_c_try_link
"$LINENO"; then :
23283 gcc_cv_math_func_ctanf
=yes
23285 gcc_cv_math_func_ctanf
=no
23287 rm -f core conftest.err conftest.
$ac_objext \
23288 conftest
$ac_exeext conftest.
$ac_ext
23290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
23291 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
23292 if test $gcc_cv_math_func_ctanf = yes; then
23294 cat >>confdefs.h
<<_ACEOF
23295 #define HAVE_CTANF 1
23303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
23304 $as_echo_n "checking for ctan... " >&6; }
23305 if ${gcc_cv_math_func_ctan+:} false
; then :
23306 $as_echo_n "(cached) " >&6
23308 if test x
$gcc_no_link = xyes
; then
23309 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23312 /* end confdefs.h. */
23314 #ifdef HAVE_COMPLEX_H
23315 #include <complex.h>
23321 int (*ptr)() = (int (*)())ctan;
23330 if ac_fn_c_try_link
"$LINENO"; then :
23331 gcc_cv_math_func_ctan
=yes
23333 gcc_cv_math_func_ctan
=no
23335 rm -f core conftest.err conftest.
$ac_objext \
23336 conftest
$ac_exeext conftest.
$ac_ext
23338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
23339 $as_echo "$gcc_cv_math_func_ctan" >&6; }
23340 if test $gcc_cv_math_func_ctan = yes; then
23342 cat >>confdefs.h
<<_ACEOF
23343 #define HAVE_CTAN 1
23351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
23352 $as_echo_n "checking for ctanl... " >&6; }
23353 if ${gcc_cv_math_func_ctanl+:} false
; then :
23354 $as_echo_n "(cached) " >&6
23356 if test x
$gcc_no_link = xyes
; then
23357 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23360 /* end confdefs.h. */
23362 #ifdef HAVE_COMPLEX_H
23363 #include <complex.h>
23369 int (*ptr)() = (int (*)())ctanl;
23378 if ac_fn_c_try_link
"$LINENO"; then :
23379 gcc_cv_math_func_ctanl
=yes
23381 gcc_cv_math_func_ctanl
=no
23383 rm -f core conftest.err conftest.
$ac_objext \
23384 conftest
$ac_exeext conftest.
$ac_ext
23386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
23387 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
23388 if test $gcc_cv_math_func_ctanl = yes; then
23390 cat >>confdefs.h
<<_ACEOF
23391 #define HAVE_CTANL 1
23399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
23400 $as_echo_n "checking for tanhf... " >&6; }
23401 if ${gcc_cv_math_func_tanhf+:} false
; then :
23402 $as_echo_n "(cached) " >&6
23404 if test x
$gcc_no_link = xyes
; then
23405 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23408 /* end confdefs.h. */
23410 #ifdef HAVE_COMPLEX_H
23411 #include <complex.h>
23417 int (*ptr)() = (int (*)())tanhf;
23426 if ac_fn_c_try_link
"$LINENO"; then :
23427 gcc_cv_math_func_tanhf
=yes
23429 gcc_cv_math_func_tanhf
=no
23431 rm -f core conftest.err conftest.
$ac_objext \
23432 conftest
$ac_exeext conftest.
$ac_ext
23434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
23435 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
23436 if test $gcc_cv_math_func_tanhf = yes; then
23438 cat >>confdefs.h
<<_ACEOF
23439 #define HAVE_TANHF 1
23447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
23448 $as_echo_n "checking for tanh... " >&6; }
23449 if ${gcc_cv_math_func_tanh+:} false
; then :
23450 $as_echo_n "(cached) " >&6
23452 if test x
$gcc_no_link = xyes
; then
23453 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23456 /* end confdefs.h. */
23458 #ifdef HAVE_COMPLEX_H
23459 #include <complex.h>
23465 int (*ptr)() = (int (*)())tanh;
23474 if ac_fn_c_try_link
"$LINENO"; then :
23475 gcc_cv_math_func_tanh
=yes
23477 gcc_cv_math_func_tanh
=no
23479 rm -f core conftest.err conftest.
$ac_objext \
23480 conftest
$ac_exeext conftest.
$ac_ext
23482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
23483 $as_echo "$gcc_cv_math_func_tanh" >&6; }
23484 if test $gcc_cv_math_func_tanh = yes; then
23486 cat >>confdefs.h
<<_ACEOF
23487 #define HAVE_TANH 1
23495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
23496 $as_echo_n "checking for tanhl... " >&6; }
23497 if ${gcc_cv_math_func_tanhl+:} false
; then :
23498 $as_echo_n "(cached) " >&6
23500 if test x
$gcc_no_link = xyes
; then
23501 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23504 /* end confdefs.h. */
23506 #ifdef HAVE_COMPLEX_H
23507 #include <complex.h>
23513 int (*ptr)() = (int (*)())tanhl;
23522 if ac_fn_c_try_link
"$LINENO"; then :
23523 gcc_cv_math_func_tanhl
=yes
23525 gcc_cv_math_func_tanhl
=no
23527 rm -f core conftest.err conftest.
$ac_objext \
23528 conftest
$ac_exeext conftest.
$ac_ext
23530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
23531 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
23532 if test $gcc_cv_math_func_tanhl = yes; then
23534 cat >>confdefs.h
<<_ACEOF
23535 #define HAVE_TANHL 1
23543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
23544 $as_echo_n "checking for ctanhf... " >&6; }
23545 if ${gcc_cv_math_func_ctanhf+:} false
; then :
23546 $as_echo_n "(cached) " >&6
23548 if test x
$gcc_no_link = xyes
; then
23549 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23552 /* end confdefs.h. */
23554 #ifdef HAVE_COMPLEX_H
23555 #include <complex.h>
23561 int (*ptr)() = (int (*)())ctanhf;
23570 if ac_fn_c_try_link
"$LINENO"; then :
23571 gcc_cv_math_func_ctanhf
=yes
23573 gcc_cv_math_func_ctanhf
=no
23575 rm -f core conftest.err conftest.
$ac_objext \
23576 conftest
$ac_exeext conftest.
$ac_ext
23578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
23579 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
23580 if test $gcc_cv_math_func_ctanhf = yes; then
23582 cat >>confdefs.h
<<_ACEOF
23583 #define HAVE_CTANHF 1
23591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
23592 $as_echo_n "checking for ctanh... " >&6; }
23593 if ${gcc_cv_math_func_ctanh+:} false
; then :
23594 $as_echo_n "(cached) " >&6
23596 if test x
$gcc_no_link = xyes
; then
23597 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23600 /* end confdefs.h. */
23602 #ifdef HAVE_COMPLEX_H
23603 #include <complex.h>
23609 int (*ptr)() = (int (*)())ctanh;
23618 if ac_fn_c_try_link
"$LINENO"; then :
23619 gcc_cv_math_func_ctanh
=yes
23621 gcc_cv_math_func_ctanh
=no
23623 rm -f core conftest.err conftest.
$ac_objext \
23624 conftest
$ac_exeext conftest.
$ac_ext
23626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23627 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23628 if test $gcc_cv_math_func_ctanh = yes; then
23630 cat >>confdefs.h
<<_ACEOF
23631 #define HAVE_CTANH 1
23639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23640 $as_echo_n "checking for ctanhl... " >&6; }
23641 if ${gcc_cv_math_func_ctanhl+:} false
; then :
23642 $as_echo_n "(cached) " >&6
23644 if test x
$gcc_no_link = xyes
; then
23645 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23648 /* end confdefs.h. */
23650 #ifdef HAVE_COMPLEX_H
23651 #include <complex.h>
23657 int (*ptr)() = (int (*)())ctanhl;
23666 if ac_fn_c_try_link
"$LINENO"; then :
23667 gcc_cv_math_func_ctanhl
=yes
23669 gcc_cv_math_func_ctanhl
=no
23671 rm -f core conftest.err conftest.
$ac_objext \
23672 conftest
$ac_exeext conftest.
$ac_ext
23674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23675 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23676 if test $gcc_cv_math_func_ctanhl = yes; then
23678 cat >>confdefs.h
<<_ACEOF
23679 #define HAVE_CTANHL 1
23687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23688 $as_echo_n "checking for truncf... " >&6; }
23689 if ${gcc_cv_math_func_truncf+:} false
; then :
23690 $as_echo_n "(cached) " >&6
23692 if test x
$gcc_no_link = xyes
; then
23693 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23696 /* end confdefs.h. */
23698 #ifdef HAVE_COMPLEX_H
23699 #include <complex.h>
23705 int (*ptr)() = (int (*)())truncf;
23714 if ac_fn_c_try_link
"$LINENO"; then :
23715 gcc_cv_math_func_truncf
=yes
23717 gcc_cv_math_func_truncf
=no
23719 rm -f core conftest.err conftest.
$ac_objext \
23720 conftest
$ac_exeext conftest.
$ac_ext
23722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23723 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23724 if test $gcc_cv_math_func_truncf = yes; then
23726 cat >>confdefs.h
<<_ACEOF
23727 #define HAVE_TRUNCF 1
23735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23736 $as_echo_n "checking for trunc... " >&6; }
23737 if ${gcc_cv_math_func_trunc+:} false
; then :
23738 $as_echo_n "(cached) " >&6
23740 if test x
$gcc_no_link = xyes
; then
23741 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23744 /* end confdefs.h. */
23746 #ifdef HAVE_COMPLEX_H
23747 #include <complex.h>
23753 int (*ptr)() = (int (*)())trunc;
23762 if ac_fn_c_try_link
"$LINENO"; then :
23763 gcc_cv_math_func_trunc
=yes
23765 gcc_cv_math_func_trunc
=no
23767 rm -f core conftest.err conftest.
$ac_objext \
23768 conftest
$ac_exeext conftest.
$ac_ext
23770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23771 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23772 if test $gcc_cv_math_func_trunc = yes; then
23774 cat >>confdefs.h
<<_ACEOF
23775 #define HAVE_TRUNC 1
23783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23784 $as_echo_n "checking for truncl... " >&6; }
23785 if ${gcc_cv_math_func_truncl+:} false
; then :
23786 $as_echo_n "(cached) " >&6
23788 if test x
$gcc_no_link = xyes
; then
23789 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23792 /* end confdefs.h. */
23794 #ifdef HAVE_COMPLEX_H
23795 #include <complex.h>
23801 int (*ptr)() = (int (*)())truncl;
23810 if ac_fn_c_try_link
"$LINENO"; then :
23811 gcc_cv_math_func_truncl
=yes
23813 gcc_cv_math_func_truncl
=no
23815 rm -f core conftest.err conftest.
$ac_objext \
23816 conftest
$ac_exeext conftest.
$ac_ext
23818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23819 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23820 if test $gcc_cv_math_func_truncl = yes; then
23822 cat >>confdefs.h
<<_ACEOF
23823 #define HAVE_TRUNCL 1
23831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23832 $as_echo_n "checking for erff... " >&6; }
23833 if ${gcc_cv_math_func_erff+:} false
; then :
23834 $as_echo_n "(cached) " >&6
23836 if test x
$gcc_no_link = xyes
; then
23837 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23840 /* end confdefs.h. */
23842 #ifdef HAVE_COMPLEX_H
23843 #include <complex.h>
23849 int (*ptr)() = (int (*)())erff;
23858 if ac_fn_c_try_link
"$LINENO"; then :
23859 gcc_cv_math_func_erff
=yes
23861 gcc_cv_math_func_erff
=no
23863 rm -f core conftest.err conftest.
$ac_objext \
23864 conftest
$ac_exeext conftest.
$ac_ext
23866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23867 $as_echo "$gcc_cv_math_func_erff" >&6; }
23868 if test $gcc_cv_math_func_erff = yes; then
23870 cat >>confdefs.h
<<_ACEOF
23871 #define HAVE_ERFF 1
23879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23880 $as_echo_n "checking for erf... " >&6; }
23881 if ${gcc_cv_math_func_erf+:} false
; then :
23882 $as_echo_n "(cached) " >&6
23884 if test x
$gcc_no_link = xyes
; then
23885 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23888 /* end confdefs.h. */
23890 #ifdef HAVE_COMPLEX_H
23891 #include <complex.h>
23897 int (*ptr)() = (int (*)())erf;
23906 if ac_fn_c_try_link
"$LINENO"; then :
23907 gcc_cv_math_func_erf
=yes
23909 gcc_cv_math_func_erf
=no
23911 rm -f core conftest.err conftest.
$ac_objext \
23912 conftest
$ac_exeext conftest.
$ac_ext
23914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23915 $as_echo "$gcc_cv_math_func_erf" >&6; }
23916 if test $gcc_cv_math_func_erf = yes; then
23918 cat >>confdefs.h
<<_ACEOF
23927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23928 $as_echo_n "checking for erfcf... " >&6; }
23929 if ${gcc_cv_math_func_erfcf+:} false
; then :
23930 $as_echo_n "(cached) " >&6
23932 if test x
$gcc_no_link = xyes
; then
23933 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23936 /* end confdefs.h. */
23938 #ifdef HAVE_COMPLEX_H
23939 #include <complex.h>
23945 int (*ptr)() = (int (*)())erfcf;
23954 if ac_fn_c_try_link
"$LINENO"; then :
23955 gcc_cv_math_func_erfcf
=yes
23957 gcc_cv_math_func_erfcf
=no
23959 rm -f core conftest.err conftest.
$ac_objext \
23960 conftest
$ac_exeext conftest.
$ac_ext
23962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23963 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23964 if test $gcc_cv_math_func_erfcf = yes; then
23966 cat >>confdefs.h
<<_ACEOF
23967 #define HAVE_ERFCF 1
23975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23976 $as_echo_n "checking for erfc... " >&6; }
23977 if ${gcc_cv_math_func_erfc+:} false
; then :
23978 $as_echo_n "(cached) " >&6
23980 if test x
$gcc_no_link = xyes
; then
23981 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23984 /* end confdefs.h. */
23986 #ifdef HAVE_COMPLEX_H
23987 #include <complex.h>
23993 int (*ptr)() = (int (*)())erfc;
24002 if ac_fn_c_try_link
"$LINENO"; then :
24003 gcc_cv_math_func_erfc
=yes
24005 gcc_cv_math_func_erfc
=no
24007 rm -f core conftest.err conftest.
$ac_objext \
24008 conftest
$ac_exeext conftest.
$ac_ext
24010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
24011 $as_echo "$gcc_cv_math_func_erfc" >&6; }
24012 if test $gcc_cv_math_func_erfc = yes; then
24014 cat >>confdefs.h
<<_ACEOF
24015 #define HAVE_ERFC 1
24023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
24024 $as_echo_n "checking for erfcl... " >&6; }
24025 if ${gcc_cv_math_func_erfcl+:} false
; then :
24026 $as_echo_n "(cached) " >&6
24028 if test x
$gcc_no_link = xyes
; then
24029 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24032 /* end confdefs.h. */
24034 #ifdef HAVE_COMPLEX_H
24035 #include <complex.h>
24041 int (*ptr)() = (int (*)())erfcl;
24050 if ac_fn_c_try_link
"$LINENO"; then :
24051 gcc_cv_math_func_erfcl
=yes
24053 gcc_cv_math_func_erfcl
=no
24055 rm -f core conftest.err conftest.
$ac_objext \
24056 conftest
$ac_exeext conftest.
$ac_ext
24058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
24059 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
24060 if test $gcc_cv_math_func_erfcl = yes; then
24062 cat >>confdefs.h
<<_ACEOF
24063 #define HAVE_ERFCL 1
24071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
24072 $as_echo_n "checking for j0f... " >&6; }
24073 if ${gcc_cv_math_func_j0f+:} false
; then :
24074 $as_echo_n "(cached) " >&6
24076 if test x
$gcc_no_link = xyes
; then
24077 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24080 /* end confdefs.h. */
24082 #ifdef HAVE_COMPLEX_H
24083 #include <complex.h>
24089 int (*ptr)() = (int (*)())j0f;
24098 if ac_fn_c_try_link
"$LINENO"; then :
24099 gcc_cv_math_func_j0f
=yes
24101 gcc_cv_math_func_j0f
=no
24103 rm -f core conftest.err conftest.
$ac_objext \
24104 conftest
$ac_exeext conftest.
$ac_ext
24106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
24107 $as_echo "$gcc_cv_math_func_j0f" >&6; }
24108 if test $gcc_cv_math_func_j0f = yes; then
24110 cat >>confdefs.h
<<_ACEOF
24119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
24120 $as_echo_n "checking for j0... " >&6; }
24121 if ${gcc_cv_math_func_j0+:} false
; then :
24122 $as_echo_n "(cached) " >&6
24124 if test x
$gcc_no_link = xyes
; then
24125 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24128 /* end confdefs.h. */
24130 #ifdef HAVE_COMPLEX_H
24131 #include <complex.h>
24137 int (*ptr)() = (int (*)())j0;
24146 if ac_fn_c_try_link
"$LINENO"; then :
24147 gcc_cv_math_func_j0
=yes
24149 gcc_cv_math_func_j0
=no
24151 rm -f core conftest.err conftest.
$ac_objext \
24152 conftest
$ac_exeext conftest.
$ac_ext
24154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
24155 $as_echo "$gcc_cv_math_func_j0" >&6; }
24156 if test $gcc_cv_math_func_j0 = yes; then
24158 cat >>confdefs.h
<<_ACEOF
24167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
24168 $as_echo_n "checking for j1f... " >&6; }
24169 if ${gcc_cv_math_func_j1f+:} false
; then :
24170 $as_echo_n "(cached) " >&6
24172 if test x
$gcc_no_link = xyes
; then
24173 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24176 /* end confdefs.h. */
24178 #ifdef HAVE_COMPLEX_H
24179 #include <complex.h>
24185 int (*ptr)() = (int (*)())j1f;
24194 if ac_fn_c_try_link
"$LINENO"; then :
24195 gcc_cv_math_func_j1f
=yes
24197 gcc_cv_math_func_j1f
=no
24199 rm -f core conftest.err conftest.
$ac_objext \
24200 conftest
$ac_exeext conftest.
$ac_ext
24202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
24203 $as_echo "$gcc_cv_math_func_j1f" >&6; }
24204 if test $gcc_cv_math_func_j1f = yes; then
24206 cat >>confdefs.h
<<_ACEOF
24215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
24216 $as_echo_n "checking for j1... " >&6; }
24217 if ${gcc_cv_math_func_j1+:} false
; then :
24218 $as_echo_n "(cached) " >&6
24220 if test x
$gcc_no_link = xyes
; then
24221 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24224 /* end confdefs.h. */
24226 #ifdef HAVE_COMPLEX_H
24227 #include <complex.h>
24233 int (*ptr)() = (int (*)())j1;
24242 if ac_fn_c_try_link
"$LINENO"; then :
24243 gcc_cv_math_func_j1
=yes
24245 gcc_cv_math_func_j1
=no
24247 rm -f core conftest.err conftest.
$ac_objext \
24248 conftest
$ac_exeext conftest.
$ac_ext
24250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
24251 $as_echo "$gcc_cv_math_func_j1" >&6; }
24252 if test $gcc_cv_math_func_j1 = yes; then
24254 cat >>confdefs.h
<<_ACEOF
24263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
24264 $as_echo_n "checking for jnf... " >&6; }
24265 if ${gcc_cv_math_func_jnf+:} false
; then :
24266 $as_echo_n "(cached) " >&6
24268 if test x
$gcc_no_link = xyes
; then
24269 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24272 /* end confdefs.h. */
24274 #ifdef HAVE_COMPLEX_H
24275 #include <complex.h>
24281 int (*ptr)() = (int (*)())jnf;
24290 if ac_fn_c_try_link
"$LINENO"; then :
24291 gcc_cv_math_func_jnf
=yes
24293 gcc_cv_math_func_jnf
=no
24295 rm -f core conftest.err conftest.
$ac_objext \
24296 conftest
$ac_exeext conftest.
$ac_ext
24298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
24299 $as_echo "$gcc_cv_math_func_jnf" >&6; }
24300 if test $gcc_cv_math_func_jnf = yes; then
24302 cat >>confdefs.h
<<_ACEOF
24311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
24312 $as_echo_n "checking for jn... " >&6; }
24313 if ${gcc_cv_math_func_jn+:} false
; then :
24314 $as_echo_n "(cached) " >&6
24316 if test x
$gcc_no_link = xyes
; then
24317 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24320 /* end confdefs.h. */
24322 #ifdef HAVE_COMPLEX_H
24323 #include <complex.h>
24329 int (*ptr)() = (int (*)())jn;
24338 if ac_fn_c_try_link
"$LINENO"; then :
24339 gcc_cv_math_func_jn
=yes
24341 gcc_cv_math_func_jn
=no
24343 rm -f core conftest.err conftest.
$ac_objext \
24344 conftest
$ac_exeext conftest.
$ac_ext
24346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
24347 $as_echo "$gcc_cv_math_func_jn" >&6; }
24348 if test $gcc_cv_math_func_jn = yes; then
24350 cat >>confdefs.h
<<_ACEOF
24359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
24360 $as_echo_n "checking for jnl... " >&6; }
24361 if ${gcc_cv_math_func_jnl+:} false
; then :
24362 $as_echo_n "(cached) " >&6
24364 if test x
$gcc_no_link = xyes
; then
24365 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24368 /* end confdefs.h. */
24370 #ifdef HAVE_COMPLEX_H
24371 #include <complex.h>
24377 int (*ptr)() = (int (*)())jnl;
24386 if ac_fn_c_try_link
"$LINENO"; then :
24387 gcc_cv_math_func_jnl
=yes
24389 gcc_cv_math_func_jnl
=no
24391 rm -f core conftest.err conftest.
$ac_objext \
24392 conftest
$ac_exeext conftest.
$ac_ext
24394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
24395 $as_echo "$gcc_cv_math_func_jnl" >&6; }
24396 if test $gcc_cv_math_func_jnl = yes; then
24398 cat >>confdefs.h
<<_ACEOF
24407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
24408 $as_echo_n "checking for y0f... " >&6; }
24409 if ${gcc_cv_math_func_y0f+:} false
; then :
24410 $as_echo_n "(cached) " >&6
24412 if test x
$gcc_no_link = xyes
; then
24413 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24416 /* end confdefs.h. */
24418 #ifdef HAVE_COMPLEX_H
24419 #include <complex.h>
24425 int (*ptr)() = (int (*)())y0f;
24434 if ac_fn_c_try_link
"$LINENO"; then :
24435 gcc_cv_math_func_y0f
=yes
24437 gcc_cv_math_func_y0f
=no
24439 rm -f core conftest.err conftest.
$ac_objext \
24440 conftest
$ac_exeext conftest.
$ac_ext
24442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
24443 $as_echo "$gcc_cv_math_func_y0f" >&6; }
24444 if test $gcc_cv_math_func_y0f = yes; then
24446 cat >>confdefs.h
<<_ACEOF
24455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
24456 $as_echo_n "checking for y0... " >&6; }
24457 if ${gcc_cv_math_func_y0+:} false
; then :
24458 $as_echo_n "(cached) " >&6
24460 if test x
$gcc_no_link = xyes
; then
24461 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24464 /* end confdefs.h. */
24466 #ifdef HAVE_COMPLEX_H
24467 #include <complex.h>
24473 int (*ptr)() = (int (*)())y0;
24482 if ac_fn_c_try_link
"$LINENO"; then :
24483 gcc_cv_math_func_y0
=yes
24485 gcc_cv_math_func_y0
=no
24487 rm -f core conftest.err conftest.
$ac_objext \
24488 conftest
$ac_exeext conftest.
$ac_ext
24490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24491 $as_echo "$gcc_cv_math_func_y0" >&6; }
24492 if test $gcc_cv_math_func_y0 = yes; then
24494 cat >>confdefs.h
<<_ACEOF
24503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24504 $as_echo_n "checking for y1f... " >&6; }
24505 if ${gcc_cv_math_func_y1f+:} false
; then :
24506 $as_echo_n "(cached) " >&6
24508 if test x
$gcc_no_link = xyes
; then
24509 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24512 /* end confdefs.h. */
24514 #ifdef HAVE_COMPLEX_H
24515 #include <complex.h>
24521 int (*ptr)() = (int (*)())y1f;
24530 if ac_fn_c_try_link
"$LINENO"; then :
24531 gcc_cv_math_func_y1f
=yes
24533 gcc_cv_math_func_y1f
=no
24535 rm -f core conftest.err conftest.
$ac_objext \
24536 conftest
$ac_exeext conftest.
$ac_ext
24538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24539 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24540 if test $gcc_cv_math_func_y1f = yes; then
24542 cat >>confdefs.h
<<_ACEOF
24551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24552 $as_echo_n "checking for y1... " >&6; }
24553 if ${gcc_cv_math_func_y1+:} false
; then :
24554 $as_echo_n "(cached) " >&6
24556 if test x
$gcc_no_link = xyes
; then
24557 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24560 /* end confdefs.h. */
24562 #ifdef HAVE_COMPLEX_H
24563 #include <complex.h>
24569 int (*ptr)() = (int (*)())y1;
24578 if ac_fn_c_try_link
"$LINENO"; then :
24579 gcc_cv_math_func_y1
=yes
24581 gcc_cv_math_func_y1
=no
24583 rm -f core conftest.err conftest.
$ac_objext \
24584 conftest
$ac_exeext conftest.
$ac_ext
24586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24587 $as_echo "$gcc_cv_math_func_y1" >&6; }
24588 if test $gcc_cv_math_func_y1 = yes; then
24590 cat >>confdefs.h
<<_ACEOF
24599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24600 $as_echo_n "checking for ynf... " >&6; }
24601 if ${gcc_cv_math_func_ynf+:} false
; then :
24602 $as_echo_n "(cached) " >&6
24604 if test x
$gcc_no_link = xyes
; then
24605 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24608 /* end confdefs.h. */
24610 #ifdef HAVE_COMPLEX_H
24611 #include <complex.h>
24617 int (*ptr)() = (int (*)())ynf;
24626 if ac_fn_c_try_link
"$LINENO"; then :
24627 gcc_cv_math_func_ynf
=yes
24629 gcc_cv_math_func_ynf
=no
24631 rm -f core conftest.err conftest.
$ac_objext \
24632 conftest
$ac_exeext conftest.
$ac_ext
24634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24635 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24636 if test $gcc_cv_math_func_ynf = yes; then
24638 cat >>confdefs.h
<<_ACEOF
24647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24648 $as_echo_n "checking for yn... " >&6; }
24649 if ${gcc_cv_math_func_yn+:} false
; then :
24650 $as_echo_n "(cached) " >&6
24652 if test x
$gcc_no_link = xyes
; then
24653 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24656 /* end confdefs.h. */
24658 #ifdef HAVE_COMPLEX_H
24659 #include <complex.h>
24665 int (*ptr)() = (int (*)())yn;
24674 if ac_fn_c_try_link
"$LINENO"; then :
24675 gcc_cv_math_func_yn
=yes
24677 gcc_cv_math_func_yn
=no
24679 rm -f core conftest.err conftest.
$ac_objext \
24680 conftest
$ac_exeext conftest.
$ac_ext
24682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24683 $as_echo "$gcc_cv_math_func_yn" >&6; }
24684 if test $gcc_cv_math_func_yn = yes; then
24686 cat >>confdefs.h
<<_ACEOF
24695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24696 $as_echo_n "checking for ynl... " >&6; }
24697 if ${gcc_cv_math_func_ynl+:} false
; then :
24698 $as_echo_n "(cached) " >&6
24700 if test x
$gcc_no_link = xyes
; then
24701 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24704 /* end confdefs.h. */
24706 #ifdef HAVE_COMPLEX_H
24707 #include <complex.h>
24713 int (*ptr)() = (int (*)())ynl;
24722 if ac_fn_c_try_link
"$LINENO"; then :
24723 gcc_cv_math_func_ynl
=yes
24725 gcc_cv_math_func_ynl
=no
24727 rm -f core conftest.err conftest.
$ac_objext \
24728 conftest
$ac_exeext conftest.
$ac_ext
24730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24731 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24732 if test $gcc_cv_math_func_ynl = yes; then
24734 cat >>confdefs.h
<<_ACEOF
24743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24744 $as_echo_n "checking for tgamma... " >&6; }
24745 if ${gcc_cv_math_func_tgamma+:} false
; then :
24746 $as_echo_n "(cached) " >&6
24748 if test x
$gcc_no_link = xyes
; then
24749 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24752 /* end confdefs.h. */
24754 #ifdef HAVE_COMPLEX_H
24755 #include <complex.h>
24761 int (*ptr)() = (int (*)())tgamma;
24770 if ac_fn_c_try_link
"$LINENO"; then :
24771 gcc_cv_math_func_tgamma
=yes
24773 gcc_cv_math_func_tgamma
=no
24775 rm -f core conftest.err conftest.
$ac_objext \
24776 conftest
$ac_exeext conftest.
$ac_ext
24778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24779 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24780 if test $gcc_cv_math_func_tgamma = yes; then
24782 cat >>confdefs.h
<<_ACEOF
24783 #define HAVE_TGAMMA 1
24791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24792 $as_echo_n "checking for tgammaf... " >&6; }
24793 if ${gcc_cv_math_func_tgammaf+:} false
; then :
24794 $as_echo_n "(cached) " >&6
24796 if test x
$gcc_no_link = xyes
; then
24797 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24800 /* end confdefs.h. */
24802 #ifdef HAVE_COMPLEX_H
24803 #include <complex.h>
24809 int (*ptr)() = (int (*)())tgammaf;
24818 if ac_fn_c_try_link
"$LINENO"; then :
24819 gcc_cv_math_func_tgammaf
=yes
24821 gcc_cv_math_func_tgammaf
=no
24823 rm -f core conftest.err conftest.
$ac_objext \
24824 conftest
$ac_exeext conftest.
$ac_ext
24826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24827 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24828 if test $gcc_cv_math_func_tgammaf = yes; then
24830 cat >>confdefs.h
<<_ACEOF
24831 #define HAVE_TGAMMAF 1
24839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24840 $as_echo_n "checking for lgamma... " >&6; }
24841 if ${gcc_cv_math_func_lgamma+:} false
; then :
24842 $as_echo_n "(cached) " >&6
24844 if test x
$gcc_no_link = xyes
; then
24845 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24848 /* end confdefs.h. */
24850 #ifdef HAVE_COMPLEX_H
24851 #include <complex.h>
24857 int (*ptr)() = (int (*)())lgamma;
24866 if ac_fn_c_try_link
"$LINENO"; then :
24867 gcc_cv_math_func_lgamma
=yes
24869 gcc_cv_math_func_lgamma
=no
24871 rm -f core conftest.err conftest.
$ac_objext \
24872 conftest
$ac_exeext conftest.
$ac_ext
24874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24875 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24876 if test $gcc_cv_math_func_lgamma = yes; then
24878 cat >>confdefs.h
<<_ACEOF
24879 #define HAVE_LGAMMA 1
24887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24888 $as_echo_n "checking for lgammaf... " >&6; }
24889 if ${gcc_cv_math_func_lgammaf+:} false
; then :
24890 $as_echo_n "(cached) " >&6
24892 if test x
$gcc_no_link = xyes
; then
24893 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24896 /* end confdefs.h. */
24898 #ifdef HAVE_COMPLEX_H
24899 #include <complex.h>
24905 int (*ptr)() = (int (*)())lgammaf;
24914 if ac_fn_c_try_link
"$LINENO"; then :
24915 gcc_cv_math_func_lgammaf
=yes
24917 gcc_cv_math_func_lgammaf
=no
24919 rm -f core conftest.err conftest.
$ac_objext \
24920 conftest
$ac_exeext conftest.
$ac_ext
24922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24923 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24924 if test $gcc_cv_math_func_lgammaf = yes; then
24926 cat >>confdefs.h
<<_ACEOF
24927 #define HAVE_LGAMMAF 1
24933 # Check for GFORTRAN_C99_1.1 funcs
24937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24938 $as_echo_n "checking for cacos... " >&6; }
24939 if ${gcc_cv_math_func_cacos+:} false
; then :
24940 $as_echo_n "(cached) " >&6
24942 if test x
$gcc_no_link = xyes
; then
24943 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24946 /* end confdefs.h. */
24948 #ifdef HAVE_COMPLEX_H
24949 #include <complex.h>
24955 int (*ptr)() = (int (*)())cacos;
24964 if ac_fn_c_try_link
"$LINENO"; then :
24965 gcc_cv_math_func_cacos
=yes
24967 gcc_cv_math_func_cacos
=no
24969 rm -f core conftest.err conftest.
$ac_objext \
24970 conftest
$ac_exeext conftest.
$ac_ext
24972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24973 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24974 if test $gcc_cv_math_func_cacos = yes; then
24976 cat >>confdefs.h
<<_ACEOF
24977 #define HAVE_CACOS 1
24985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24986 $as_echo_n "checking for cacosf... " >&6; }
24987 if ${gcc_cv_math_func_cacosf+:} false
; then :
24988 $as_echo_n "(cached) " >&6
24990 if test x
$gcc_no_link = xyes
; then
24991 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24994 /* end confdefs.h. */
24996 #ifdef HAVE_COMPLEX_H
24997 #include <complex.h>
25003 int (*ptr)() = (int (*)())cacosf;
25012 if ac_fn_c_try_link
"$LINENO"; then :
25013 gcc_cv_math_func_cacosf
=yes
25015 gcc_cv_math_func_cacosf
=no
25017 rm -f core conftest.err conftest.
$ac_objext \
25018 conftest
$ac_exeext conftest.
$ac_ext
25020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
25021 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
25022 if test $gcc_cv_math_func_cacosf = yes; then
25024 cat >>confdefs.h
<<_ACEOF
25025 #define HAVE_CACOSF 1
25033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
25034 $as_echo_n "checking for cacosh... " >&6; }
25035 if ${gcc_cv_math_func_cacosh+:} false
; then :
25036 $as_echo_n "(cached) " >&6
25038 if test x
$gcc_no_link = xyes
; then
25039 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25042 /* end confdefs.h. */
25044 #ifdef HAVE_COMPLEX_H
25045 #include <complex.h>
25051 int (*ptr)() = (int (*)())cacosh;
25060 if ac_fn_c_try_link
"$LINENO"; then :
25061 gcc_cv_math_func_cacosh
=yes
25063 gcc_cv_math_func_cacosh
=no
25065 rm -f core conftest.err conftest.
$ac_objext \
25066 conftest
$ac_exeext conftest.
$ac_ext
25068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
25069 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
25070 if test $gcc_cv_math_func_cacosh = yes; then
25072 cat >>confdefs.h
<<_ACEOF
25073 #define HAVE_CACOSH 1
25081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
25082 $as_echo_n "checking for cacoshf... " >&6; }
25083 if ${gcc_cv_math_func_cacoshf+:} false
; then :
25084 $as_echo_n "(cached) " >&6
25086 if test x
$gcc_no_link = xyes
; then
25087 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25090 /* end confdefs.h. */
25092 #ifdef HAVE_COMPLEX_H
25093 #include <complex.h>
25099 int (*ptr)() = (int (*)())cacoshf;
25108 if ac_fn_c_try_link
"$LINENO"; then :
25109 gcc_cv_math_func_cacoshf
=yes
25111 gcc_cv_math_func_cacoshf
=no
25113 rm -f core conftest.err conftest.
$ac_objext \
25114 conftest
$ac_exeext conftest.
$ac_ext
25116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
25117 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
25118 if test $gcc_cv_math_func_cacoshf = yes; then
25120 cat >>confdefs.h
<<_ACEOF
25121 #define HAVE_CACOSHF 1
25129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
25130 $as_echo_n "checking for cacoshl... " >&6; }
25131 if ${gcc_cv_math_func_cacoshl+:} false
; then :
25132 $as_echo_n "(cached) " >&6
25134 if test x
$gcc_no_link = xyes
; then
25135 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25138 /* end confdefs.h. */
25140 #ifdef HAVE_COMPLEX_H
25141 #include <complex.h>
25147 int (*ptr)() = (int (*)())cacoshl;
25156 if ac_fn_c_try_link
"$LINENO"; then :
25157 gcc_cv_math_func_cacoshl
=yes
25159 gcc_cv_math_func_cacoshl
=no
25161 rm -f core conftest.err conftest.
$ac_objext \
25162 conftest
$ac_exeext conftest.
$ac_ext
25164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
25165 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
25166 if test $gcc_cv_math_func_cacoshl = yes; then
25168 cat >>confdefs.h
<<_ACEOF
25169 #define HAVE_CACOSHL 1
25177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
25178 $as_echo_n "checking for cacosl... " >&6; }
25179 if ${gcc_cv_math_func_cacosl+:} false
; then :
25180 $as_echo_n "(cached) " >&6
25182 if test x
$gcc_no_link = xyes
; then
25183 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25186 /* end confdefs.h. */
25188 #ifdef HAVE_COMPLEX_H
25189 #include <complex.h>
25195 int (*ptr)() = (int (*)())cacosl;
25204 if ac_fn_c_try_link
"$LINENO"; then :
25205 gcc_cv_math_func_cacosl
=yes
25207 gcc_cv_math_func_cacosl
=no
25209 rm -f core conftest.err conftest.
$ac_objext \
25210 conftest
$ac_exeext conftest.
$ac_ext
25212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
25213 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
25214 if test $gcc_cv_math_func_cacosl = yes; then
25216 cat >>confdefs.h
<<_ACEOF
25217 #define HAVE_CACOSL 1
25225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
25226 $as_echo_n "checking for casin... " >&6; }
25227 if ${gcc_cv_math_func_casin+:} false
; then :
25228 $as_echo_n "(cached) " >&6
25230 if test x
$gcc_no_link = xyes
; then
25231 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25234 /* end confdefs.h. */
25236 #ifdef HAVE_COMPLEX_H
25237 #include <complex.h>
25243 int (*ptr)() = (int (*)())casin;
25252 if ac_fn_c_try_link
"$LINENO"; then :
25253 gcc_cv_math_func_casin
=yes
25255 gcc_cv_math_func_casin
=no
25257 rm -f core conftest.err conftest.
$ac_objext \
25258 conftest
$ac_exeext conftest.
$ac_ext
25260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
25261 $as_echo "$gcc_cv_math_func_casin" >&6; }
25262 if test $gcc_cv_math_func_casin = yes; then
25264 cat >>confdefs.h
<<_ACEOF
25265 #define HAVE_CASIN 1
25273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
25274 $as_echo_n "checking for casinf... " >&6; }
25275 if ${gcc_cv_math_func_casinf+:} false
; then :
25276 $as_echo_n "(cached) " >&6
25278 if test x
$gcc_no_link = xyes
; then
25279 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25282 /* end confdefs.h. */
25284 #ifdef HAVE_COMPLEX_H
25285 #include <complex.h>
25291 int (*ptr)() = (int (*)())casinf;
25300 if ac_fn_c_try_link
"$LINENO"; then :
25301 gcc_cv_math_func_casinf
=yes
25303 gcc_cv_math_func_casinf
=no
25305 rm -f core conftest.err conftest.
$ac_objext \
25306 conftest
$ac_exeext conftest.
$ac_ext
25308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25309 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25310 if test $gcc_cv_math_func_casinf = yes; then
25312 cat >>confdefs.h
<<_ACEOF
25313 #define HAVE_CASINF 1
25321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25322 $as_echo_n "checking for casinh... " >&6; }
25323 if ${gcc_cv_math_func_casinh+:} false
; then :
25324 $as_echo_n "(cached) " >&6
25326 if test x
$gcc_no_link = xyes
; then
25327 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25330 /* end confdefs.h. */
25332 #ifdef HAVE_COMPLEX_H
25333 #include <complex.h>
25339 int (*ptr)() = (int (*)())casinh;
25348 if ac_fn_c_try_link
"$LINENO"; then :
25349 gcc_cv_math_func_casinh
=yes
25351 gcc_cv_math_func_casinh
=no
25353 rm -f core conftest.err conftest.
$ac_objext \
25354 conftest
$ac_exeext conftest.
$ac_ext
25356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25357 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25358 if test $gcc_cv_math_func_casinh = yes; then
25360 cat >>confdefs.h
<<_ACEOF
25361 #define HAVE_CASINH 1
25369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25370 $as_echo_n "checking for casinhf... " >&6; }
25371 if ${gcc_cv_math_func_casinhf+:} false
; then :
25372 $as_echo_n "(cached) " >&6
25374 if test x
$gcc_no_link = xyes
; then
25375 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25378 /* end confdefs.h. */
25380 #ifdef HAVE_COMPLEX_H
25381 #include <complex.h>
25387 int (*ptr)() = (int (*)())casinhf;
25396 if ac_fn_c_try_link
"$LINENO"; then :
25397 gcc_cv_math_func_casinhf
=yes
25399 gcc_cv_math_func_casinhf
=no
25401 rm -f core conftest.err conftest.
$ac_objext \
25402 conftest
$ac_exeext conftest.
$ac_ext
25404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25405 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25406 if test $gcc_cv_math_func_casinhf = yes; then
25408 cat >>confdefs.h
<<_ACEOF
25409 #define HAVE_CASINHF 1
25417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25418 $as_echo_n "checking for casinhl... " >&6; }
25419 if ${gcc_cv_math_func_casinhl+:} false
; then :
25420 $as_echo_n "(cached) " >&6
25422 if test x
$gcc_no_link = xyes
; then
25423 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25426 /* end confdefs.h. */
25428 #ifdef HAVE_COMPLEX_H
25429 #include <complex.h>
25435 int (*ptr)() = (int (*)())casinhl;
25444 if ac_fn_c_try_link
"$LINENO"; then :
25445 gcc_cv_math_func_casinhl
=yes
25447 gcc_cv_math_func_casinhl
=no
25449 rm -f core conftest.err conftest.
$ac_objext \
25450 conftest
$ac_exeext conftest.
$ac_ext
25452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25453 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25454 if test $gcc_cv_math_func_casinhl = yes; then
25456 cat >>confdefs.h
<<_ACEOF
25457 #define HAVE_CASINHL 1
25465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25466 $as_echo_n "checking for casinl... " >&6; }
25467 if ${gcc_cv_math_func_casinl+:} false
; then :
25468 $as_echo_n "(cached) " >&6
25470 if test x
$gcc_no_link = xyes
; then
25471 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25474 /* end confdefs.h. */
25476 #ifdef HAVE_COMPLEX_H
25477 #include <complex.h>
25483 int (*ptr)() = (int (*)())casinl;
25492 if ac_fn_c_try_link
"$LINENO"; then :
25493 gcc_cv_math_func_casinl
=yes
25495 gcc_cv_math_func_casinl
=no
25497 rm -f core conftest.err conftest.
$ac_objext \
25498 conftest
$ac_exeext conftest.
$ac_ext
25500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25501 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25502 if test $gcc_cv_math_func_casinl = yes; then
25504 cat >>confdefs.h
<<_ACEOF
25505 #define HAVE_CASINL 1
25513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25514 $as_echo_n "checking for catan... " >&6; }
25515 if ${gcc_cv_math_func_catan+:} false
; then :
25516 $as_echo_n "(cached) " >&6
25518 if test x
$gcc_no_link = xyes
; then
25519 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25522 /* end confdefs.h. */
25524 #ifdef HAVE_COMPLEX_H
25525 #include <complex.h>
25531 int (*ptr)() = (int (*)())catan;
25540 if ac_fn_c_try_link
"$LINENO"; then :
25541 gcc_cv_math_func_catan
=yes
25543 gcc_cv_math_func_catan
=no
25545 rm -f core conftest.err conftest.
$ac_objext \
25546 conftest
$ac_exeext conftest.
$ac_ext
25548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25549 $as_echo "$gcc_cv_math_func_catan" >&6; }
25550 if test $gcc_cv_math_func_catan = yes; then
25552 cat >>confdefs.h
<<_ACEOF
25553 #define HAVE_CATAN 1
25561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25562 $as_echo_n "checking for catanf... " >&6; }
25563 if ${gcc_cv_math_func_catanf+:} false
; then :
25564 $as_echo_n "(cached) " >&6
25566 if test x
$gcc_no_link = xyes
; then
25567 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25570 /* end confdefs.h. */
25572 #ifdef HAVE_COMPLEX_H
25573 #include <complex.h>
25579 int (*ptr)() = (int (*)())catanf;
25588 if ac_fn_c_try_link
"$LINENO"; then :
25589 gcc_cv_math_func_catanf
=yes
25591 gcc_cv_math_func_catanf
=no
25593 rm -f core conftest.err conftest.
$ac_objext \
25594 conftest
$ac_exeext conftest.
$ac_ext
25596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25597 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25598 if test $gcc_cv_math_func_catanf = yes; then
25600 cat >>confdefs.h
<<_ACEOF
25601 #define HAVE_CATANF 1
25609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25610 $as_echo_n "checking for catanh... " >&6; }
25611 if ${gcc_cv_math_func_catanh+:} false
; then :
25612 $as_echo_n "(cached) " >&6
25614 if test x
$gcc_no_link = xyes
; then
25615 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25618 /* end confdefs.h. */
25620 #ifdef HAVE_COMPLEX_H
25621 #include <complex.h>
25627 int (*ptr)() = (int (*)())catanh;
25636 if ac_fn_c_try_link
"$LINENO"; then :
25637 gcc_cv_math_func_catanh
=yes
25639 gcc_cv_math_func_catanh
=no
25641 rm -f core conftest.err conftest.
$ac_objext \
25642 conftest
$ac_exeext conftest.
$ac_ext
25644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25645 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25646 if test $gcc_cv_math_func_catanh = yes; then
25648 cat >>confdefs.h
<<_ACEOF
25649 #define HAVE_CATANH 1
25657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25658 $as_echo_n "checking for catanhf... " >&6; }
25659 if ${gcc_cv_math_func_catanhf+:} false
; then :
25660 $as_echo_n "(cached) " >&6
25662 if test x
$gcc_no_link = xyes
; then
25663 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25666 /* end confdefs.h. */
25668 #ifdef HAVE_COMPLEX_H
25669 #include <complex.h>
25675 int (*ptr)() = (int (*)())catanhf;
25684 if ac_fn_c_try_link
"$LINENO"; then :
25685 gcc_cv_math_func_catanhf
=yes
25687 gcc_cv_math_func_catanhf
=no
25689 rm -f core conftest.err conftest.
$ac_objext \
25690 conftest
$ac_exeext conftest.
$ac_ext
25692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25693 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25694 if test $gcc_cv_math_func_catanhf = yes; then
25696 cat >>confdefs.h
<<_ACEOF
25697 #define HAVE_CATANHF 1
25705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25706 $as_echo_n "checking for catanhl... " >&6; }
25707 if ${gcc_cv_math_func_catanhl+:} false
; then :
25708 $as_echo_n "(cached) " >&6
25710 if test x
$gcc_no_link = xyes
; then
25711 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25714 /* end confdefs.h. */
25716 #ifdef HAVE_COMPLEX_H
25717 #include <complex.h>
25723 int (*ptr)() = (int (*)())catanhl;
25732 if ac_fn_c_try_link
"$LINENO"; then :
25733 gcc_cv_math_func_catanhl
=yes
25735 gcc_cv_math_func_catanhl
=no
25737 rm -f core conftest.err conftest.
$ac_objext \
25738 conftest
$ac_exeext conftest.
$ac_ext
25740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25741 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25742 if test $gcc_cv_math_func_catanhl = yes; then
25744 cat >>confdefs.h
<<_ACEOF
25745 #define HAVE_CATANHL 1
25753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25754 $as_echo_n "checking for catanl... " >&6; }
25755 if ${gcc_cv_math_func_catanl+:} false
; then :
25756 $as_echo_n "(cached) " >&6
25758 if test x
$gcc_no_link = xyes
; then
25759 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25762 /* end confdefs.h. */
25764 #ifdef HAVE_COMPLEX_H
25765 #include <complex.h>
25771 int (*ptr)() = (int (*)())catanl;
25780 if ac_fn_c_try_link
"$LINENO"; then :
25781 gcc_cv_math_func_catanl
=yes
25783 gcc_cv_math_func_catanl
=no
25785 rm -f core conftest.err conftest.
$ac_objext \
25786 conftest
$ac_exeext conftest.
$ac_ext
25788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25789 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25790 if test $gcc_cv_math_func_catanl = yes; then
25792 cat >>confdefs.h
<<_ACEOF
25793 #define HAVE_CATANL 1
25799 # On AIX, clog is present in libm as __clog
25800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25801 $as_echo_n "checking for __clog in -lm... " >&6; }
25802 if ${ac_cv_lib_m___clog+:} false
; then :
25803 $as_echo_n "(cached) " >&6
25805 ac_check_lib_save_LIBS
=$LIBS
25807 if test x
$gcc_no_link = xyes
; then
25808 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25811 /* end confdefs.h. */
25813 /* Override any GCC internal prototype to avoid an error.
25814 Use char because int might match the return type of a GCC
25815 builtin and then its argument prototype would still apply. */
25828 if ac_fn_c_try_link
"$LINENO"; then :
25829 ac_cv_lib_m___clog
=yes
25831 ac_cv_lib_m___clog
=no
25833 rm -f core conftest.err conftest.
$ac_objext \
25834 conftest
$ac_exeext conftest.
$ac_ext
25835 LIBS
=$ac_check_lib_save_LIBS
25837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25838 $as_echo "$ac_cv_lib_m___clog" >&6; }
25839 if test "x$ac_cv_lib_m___clog" = xyes
; then :
25841 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25848 if test $gcc_cv_math_func_copysign = no
; then
25849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysign" >&5
25850 $as_echo_n "checking for inline __builtin_copysign... " >&6; }
25851 if ${gcc_cv_math_inline_builtin_copysign+:} false
; then :
25852 $as_echo_n "(cached) " >&6
25854 if test x
$gcc_no_link = xyes
; then
25855 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25858 /* end confdefs.h. */
25861 copysign_fallback (double x, double y)
25863 return __builtin_copysign (x, y);
25873 if ac_fn_c_try_link
"$LINENO"; then :
25874 gcc_cv_math_inline_builtin_copysign
=yes
25876 gcc_cv_math_inline_builtin_copysign
=no
25878 rm -f core conftest.err conftest.
$ac_objext \
25879 conftest
$ac_exeext conftest.
$ac_ext
25881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysign" >&5
25882 $as_echo "$gcc_cv_math_inline_builtin_copysign" >&6; }
25883 if test $gcc_cv_math_inline_builtin_copysign = yes; then
25885 cat >>confdefs.h
<<_ACEOF
25886 #define HAVE_INLINE_BUILTIN_COPYSIGN 1
25893 if test $gcc_cv_math_func_copysignl = no
; then
25894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysignl" >&5
25895 $as_echo_n "checking for inline __builtin_copysignl... " >&6; }
25896 if ${gcc_cv_math_inline_builtin_copysignl+:} false
; then :
25897 $as_echo_n "(cached) " >&6
25899 if test x
$gcc_no_link = xyes
; then
25900 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25903 /* end confdefs.h. */
25906 copysignl_fallback (long double x, long double y)
25908 return __builtin_copysignl (x, y);
25918 if ac_fn_c_try_link
"$LINENO"; then :
25919 gcc_cv_math_inline_builtin_copysignl
=yes
25921 gcc_cv_math_inline_builtin_copysignl
=no
25923 rm -f core conftest.err conftest.
$ac_objext \
25924 conftest
$ac_exeext conftest.
$ac_ext
25926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysignl" >&5
25927 $as_echo "$gcc_cv_math_inline_builtin_copysignl" >&6; }
25928 if test $gcc_cv_math_inline_builtin_copysignl = yes; then
25930 cat >>confdefs.h
<<_ACEOF
25931 #define HAVE_INLINE_BUILTIN_COPYSIGNL 1
25938 if test $gcc_cv_math_func_fabs = no
; then
25939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabs" >&5
25940 $as_echo_n "checking for inline __builtin_fabs... " >&6; }
25941 if ${gcc_cv_math_inline_builtin_fabs+:} false
; then :
25942 $as_echo_n "(cached) " >&6
25944 if test x
$gcc_no_link = xyes
; then
25945 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25948 /* end confdefs.h. */
25951 fabs_fallback (double x)
25953 return __builtin_fabs (x);
25963 if ac_fn_c_try_link
"$LINENO"; then :
25964 gcc_cv_math_inline_builtin_fabs
=yes
25966 gcc_cv_math_inline_builtin_fabs
=no
25968 rm -f core conftest.err conftest.
$ac_objext \
25969 conftest
$ac_exeext conftest.
$ac_ext
25971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabs" >&5
25972 $as_echo "$gcc_cv_math_inline_builtin_fabs" >&6; }
25973 if test $gcc_cv_math_inline_builtin_fabs = yes; then
25975 cat >>confdefs.h
<<_ACEOF
25976 #define HAVE_INLINE_BUILTIN_FABS 1
25983 if test $gcc_cv_math_func_fabsl = no
; then
25984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabsl" >&5
25985 $as_echo_n "checking for inline __builtin_fabsl... " >&6; }
25986 if ${gcc_cv_math_inline_builtin_fabsl+:} false
; then :
25987 $as_echo_n "(cached) " >&6
25989 if test x
$gcc_no_link = xyes
; then
25990 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25993 /* end confdefs.h. */
25996 fabsl_fallback (long double x)
25998 return __builtin_fabsl (x);
26008 if ac_fn_c_try_link
"$LINENO"; then :
26009 gcc_cv_math_inline_builtin_fabsl
=yes
26011 gcc_cv_math_inline_builtin_fabsl
=no
26013 rm -f core conftest.err conftest.
$ac_objext \
26014 conftest
$ac_exeext conftest.
$ac_ext
26016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabsl" >&5
26017 $as_echo "$gcc_cv_math_inline_builtin_fabsl" >&6; }
26018 if test $gcc_cv_math_inline_builtin_fabsl = yes; then
26020 cat >>confdefs.h
<<_ACEOF
26021 #define HAVE_INLINE_BUILTIN_FABSL 1
26027 # Check whether the system has a working stat()
26029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
26030 $as_echo_n "checking whether the target stat is reliable... " >&6; }
26031 if ${libgfor_cv_have_working_stat+:} false
; then :
26032 $as_echo_n "(cached) " >&6
26035 if test "$cross_compiling" = yes; then :
26037 case "${target}" in
26038 *mingw
*) libgfor_cv_have_working_stat
=no
;;
26039 *) libgfor_cv_have_working_stat
=yes;;
26042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26043 /* end confdefs.h. */
26046 #include <sys/types.h>
26047 #include <sys/stat.h>
26048 #include <unistd.h>
26053 struct stat st1, st2;
26055 f = fopen ("foo", "w");
26056 g = fopen ("bar", "w");
26057 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
26059 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
26066 if ac_fn_c_try_run
"$LINENO"; then :
26067 libgfor_cv_have_working_stat
=yes
26069 libgfor_cv_have_working_stat
=no
26071 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26072 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
26077 $as_echo "$libgfor_cv_have_working_stat" >&6; }
26078 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
26080 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
26084 # Check whether __mingw_snprintf() is present
26086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
26087 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
26088 if ${libgfor_cv_have_mingw_snprintf+:} false
; then :
26089 $as_echo_n "(cached) " >&6
26092 if test x
$gcc_no_link = xyes
; then
26093 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26096 /* end confdefs.h. */
26099 extern int __mingw_snprintf (char *, size_t, const char *, ...);
26105 __mingw_snprintf (NULL, 0, "%d\n", 1);
26111 if ac_fn_c_try_link
"$LINENO"; then :
26112 eval "libgfor_cv_have_mingw_snprintf=yes"
26114 eval "libgfor_cv_have_mingw_snprintf=no"
26116 rm -f core conftest.err conftest.
$ac_objext \
26117 conftest
$ac_exeext conftest.
$ac_ext
26120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
26121 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
26122 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
26124 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
26129 # Check whether libquadmath should be used
26130 # Check whether --enable-libquadmath-support was given.
26131 if test "${enable_libquadmath_support+set}" = set; then :
26132 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
26134 ENABLE_LIBQUADMATH_SUPPORT
=yes
26137 enable_libquadmath_support
=
26138 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
26139 enable_libquadmath_support
=no
26142 # Check whether we have a __float128 type, depends on enable_libquadmath_support
26146 if test "x$enable_libquadmath_support" != xno
; then
26148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
26149 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
26150 if ${libgfor_cv_have_float128+:} false
; then :
26151 $as_echo_n "(cached) " >&6
26154 if test x
$gcc_no_link = xyes
; then
26155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26156 /* end confdefs.h. */
26158 typedef _Complex float __attribute__((mode(TC))) __complex128;
26160 __float128 foo (__float128 x)
26163 __complex128 z1, z2;
26169 return (__float128) z2;
26172 __float128 bar (__float128 x)
26174 return x * __builtin_huge_valq ();
26188 if ac_fn_c_try_compile
"$LINENO"; then :
26190 libgfor_cv_have_float128
=yes
26194 libgfor_cv_have_float128
=no
26197 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26199 if test x
$gcc_no_link = xyes
; then
26200 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26203 /* end confdefs.h. */
26205 typedef _Complex float __attribute__((mode(TC))) __complex128;
26207 __float128 foo (__float128 x)
26210 __complex128 z1, z2;
26216 return (__float128) z2;
26219 __float128 bar (__float128 x)
26221 return x * __builtin_huge_valq ();
26235 if ac_fn_c_try_link
"$LINENO"; then :
26237 libgfor_cv_have_float128
=yes
26241 libgfor_cv_have_float128
=no
26244 rm -f core conftest.err conftest.
$ac_objext \
26245 conftest
$ac_exeext conftest.
$ac_ext
26248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
26249 $as_echo "$libgfor_cv_have_float128" >&6; }
26251 if test "x$libgfor_cv_have_float128" = xyes
; then
26253 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
26256 ac_xsave_c_werror_flag
=$ac_c_werror_flag
26257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
26258 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
26259 if ${libgfor_cv_have_as_needed+:} false
; then :
26260 $as_echo_n "(cached) " >&6
26263 # Test for native Solaris options first.
26264 # No whitespace after -z to pass it through -Wl.
26265 libgfor_cv_as_needed_option
="-zignore"
26266 libgfor_cv_no_as_needed_option
="-zrecord"
26267 save_LDFLAGS
="$LDFLAGS"
26268 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
26269 libgfor_cv_have_as_needed
=no
26271 ac_c_werror_flag
=yes
26272 if test x
$gcc_no_link = xyes
; then
26273 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26276 /* end confdefs.h. */
26286 if ac_fn_c_try_link
"$LINENO"; then :
26287 libgfor_cv_have_as_needed
=yes
26289 libgfor_cv_have_as_needed
=no
26291 rm -f core conftest.err conftest.
$ac_objext \
26292 conftest
$ac_exeext conftest.
$ac_ext
26293 LDFLAGS
="$save_LDFLAGS"
26294 if test "x$libgfor_cv_have_as_needed" = xno
; then
26295 libgfor_cv_as_needed_option
="--as-needed"
26296 libgfor_cv_no_as_needed_option
="--no-as-needed"
26297 save_LDFLAGS
="$LDFLAGS"
26298 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
26299 libgfor_cv_have_as_needed
=no
26301 ac_c_werror_flag
=yes
26302 if test x
$gcc_no_link = xyes
; then
26303 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26306 /* end confdefs.h. */
26316 if ac_fn_c_try_link
"$LINENO"; then :
26317 libgfor_cv_have_as_needed
=yes
26319 libgfor_cv_have_as_needed
=no
26321 rm -f core conftest.err conftest.
$ac_objext \
26322 conftest
$ac_exeext conftest.
$ac_ext
26323 LDFLAGS
="$save_LDFLAGS"
26325 ac_c_werror_flag
=$ac_xsave_c_werror_flag
26328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
26329 $as_echo "$libgfor_cv_have_as_needed" >&6; }
26331 if test "x$libgfor_cv_have_as_needed" = xyes
; then
26332 LIBQUADSPEC
="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
26334 LIBQUADSPEC
="-lquadmath"
26336 if test -f ..
/libquadmath
/libquadmath.la
; then
26337 LIBQUADLIB
=..
/libquadmath
/libquadmath.la
26338 LIBQUADLIB_DEP
=..
/libquadmath
/libquadmath.la
26339 LIBQUADINCLUDE
='-I$(srcdir)/../libquadmath'
26341 LIBQUADLIB
="-lquadmath"
26347 # for --disable-quadmath
26358 if test "x$libgfor_cv_have_float128" = xyes
; then
26359 LIBGFOR_BUILD_QUAD_TRUE
=
26360 LIBGFOR_BUILD_QUAD_FALSE
='#'
26362 LIBGFOR_BUILD_QUAD_TRUE
='#'
26363 LIBGFOR_BUILD_QUAD_FALSE
=
26368 # Check for GNU libc feenableexcept
26369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
26370 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
26371 if ${ac_cv_lib_m_feenableexcept+:} false
; then :
26372 $as_echo_n "(cached) " >&6
26374 ac_check_lib_save_LIBS
=$LIBS
26376 if test x
$gcc_no_link = xyes
; then
26377 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26380 /* end confdefs.h. */
26382 /* Override any GCC internal prototype to avoid an error.
26383 Use char because int might match the return type of a GCC
26384 builtin and then its argument prototype would still apply. */
26388 char feenableexcept ();
26392 return feenableexcept ();
26397 if ac_fn_c_try_link
"$LINENO"; then :
26398 ac_cv_lib_m_feenableexcept
=yes
26400 ac_cv_lib_m_feenableexcept
=no
26402 rm -f core conftest.err conftest.
$ac_objext \
26403 conftest
$ac_exeext conftest.
$ac_ext
26404 LIBS
=$ac_check_lib_save_LIBS
26406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
26407 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
26408 if test "x$ac_cv_lib_m_feenableexcept" = xyes
; then :
26409 have_feenableexcept
=yes
26410 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
26415 # At least for glibc, clock_gettime is in librt. But don't
26416 # pull that in if it still doesn't give us the function we want. This
26417 # test is copied from libgomp, and modified to not link in -lrt as
26418 # libgfortran calls clock_gettime via a weak reference if it's found
26420 if test "$ac_cv_func_clock_gettime" = no
; then
26421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
26422 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
26423 if ${ac_cv_lib_rt_clock_gettime+:} false
; then :
26424 $as_echo_n "(cached) " >&6
26426 ac_check_lib_save_LIBS
=$LIBS
26428 if test x
$gcc_no_link = xyes
; then
26429 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26432 /* end confdefs.h. */
26434 /* Override any GCC internal prototype to avoid an error.
26435 Use char because int might match the return type of a GCC
26436 builtin and then its argument prototype would still apply. */
26440 char clock_gettime ();
26444 return clock_gettime ();
26449 if ac_fn_c_try_link
"$LINENO"; then :
26450 ac_cv_lib_rt_clock_gettime
=yes
26452 ac_cv_lib_rt_clock_gettime
=no
26454 rm -f core conftest.err conftest.
$ac_objext \
26455 conftest
$ac_exeext conftest.
$ac_ext
26456 LIBS
=$ac_check_lib_save_LIBS
26458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
26459 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
26460 if test "x$ac_cv_lib_rt_clock_gettime" = xyes
; then :
26462 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
26468 # Check for SysV fpsetmask
26470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
26471 $as_echo_n "checking whether fpsetmask is present... " >&6; }
26472 if ${libgfor_cv_have_fpsetmask+:} false
; then :
26473 $as_echo_n "(cached) " >&6
26476 if test x
$gcc_no_link = xyes
; then
26477 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26480 /* end confdefs.h. */
26482 #if HAVE_FLOATINGPOINT_H
26483 # include <floatingpoint.h>
26484 #endif /* HAVE_FLOATINGPOINT_H */
26486 # include <ieeefp.h>
26487 #endif /* HAVE_IEEEFP_H */
26496 if ac_fn_c_try_link
"$LINENO"; then :
26497 eval "libgfor_cv_have_fpsetmask=yes"
26499 eval "libgfor_cv_have_fpsetmask=no"
26501 rm -f core conftest.err conftest.
$ac_objext \
26502 conftest
$ac_exeext conftest.
$ac_ext
26505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
26506 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
26507 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
26510 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
26514 ac_fn_c_check_type
"$LINENO" "fp_except" "ac_cv_type_fp_except" "
26515 #ifdef HAVE_IEEEFP_H
26516 #include <ieeefp.h>
26521 if test "x$ac_cv_type_fp_except" = xyes
; then :
26523 cat >>confdefs.h
<<_ACEOF
26524 #define HAVE_FP_EXCEPT 1
26529 ac_fn_c_check_type
"$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
26530 #ifdef HAVE_IEEEFP_H
26531 #include <ieeefp.h>
26536 if test "x$ac_cv_type_fp_except_t" = xyes
; then :
26538 cat >>confdefs.h
<<_ACEOF
26539 #define HAVE_FP_EXCEPT_T 1
26545 ac_fn_c_check_type
"$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
26546 #ifdef HAVE_IEEEFP_H
26547 #include <ieeefp.h>
26552 if test "x$ac_cv_type_fp_rnd" = xyes
; then :
26554 cat >>confdefs.h
<<_ACEOF
26555 #define HAVE_FP_RND 1
26560 ac_fn_c_check_type
"$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
26561 #ifdef HAVE_IEEEFP_H
26562 #include <ieeefp.h>
26567 if test "x$ac_cv_type_fp_rnd_t" = xyes
; then :
26569 cat >>confdefs.h
<<_ACEOF
26570 #define HAVE_FP_RND_T 1
26577 # Check whether we have fpsetsticky or fpresetsticky
26578 ac_fn_c_check_func
"$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
26579 if test "x$ac_cv_func_fpsetsticky" = xyes
; then :
26580 have_fpsetsticky
=yes
26581 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
26585 ac_fn_c_check_func
"$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
26586 if test "x$ac_cv_func_fpresetsticky" = xyes
; then :
26587 have_fpresetsticky
=yes
26588 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
26593 # Check for AIX fp_trap and fp_enable
26594 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
26595 if test "x$ac_cv_func_fp_trap" = xyes
; then :
26597 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
26601 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
26602 if test "x$ac_cv_func_fp_enable" = xyes
; then :
26604 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
26609 # Check if _SOFT_FLOAT is defined
26611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5
26612 $as_echo_n "checking for _SOFT_FLOAT defined... " >&6; }
26613 if ${ac_cv_defined__SOFT_FLOAT+:} false
; then :
26614 $as_echo_n "(cached) " >&6
26616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26617 /* end confdefs.h. */
26633 if ac_fn_c_try_compile
"$LINENO"; then :
26634 ac_cv_defined__SOFT_FLOAT
=yes
26636 ac_cv_defined__SOFT_FLOAT
=no
26638 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5
26641 $as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; }
26642 if test $ac_cv_defined__SOFT_FLOAT != "no"; then :
26643 have_soft_float
=yes
26646 # Runs configure.host to set up necessary host-dependent shell variables.
26647 # We then display a message about it, and propagate them through the
26649 .
${srcdir}/configure.
host
26650 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
26651 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
26652 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
26653 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
26654 FPU_HOST_HEADER
=config
/${fpu_host}.h
26657 # Whether we will build the IEEE modules
26658 if test x
${ieee_support} = xyes
; then
26660 IEEE_SUPPORT_FALSE
='#'
26662 IEEE_SUPPORT_TRUE
='#'
26663 IEEE_SUPPORT_FALSE
=
26668 # Some targets require additional compiler options for IEEE compatibility.
26669 IEEE_FLAGS
="${ieee_flags}"
26672 # Conditionalize the makefile for this target machine.
26674 for f
in ${tmake_file}
26676 if test -f ${srcdir}/config
/$f
26678 tmake_file_
="${tmake_file_} \$(srcdir)/config/$f"
26681 tmake_file
="${tmake_file_}"
26685 # Check for POSIX getpwuid_r
26687 # There are two versions of getpwuid_r, the POSIX one with 5
26688 # arguments, and another one with 4 arguments used by at least HP-UX
26690 if test "$ac_cv_func_getpwuid_r" = "yes"; then
26691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
26692 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
26693 if ${libgfor_cv_posix_getpwuid_r+:} false
; then :
26694 $as_echo_n "(cached) " >&6
26697 if test x
$gcc_no_link = xyes
; then
26698 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26701 /* end confdefs.h. */
26704 #include <sys/types.h>
26710 getpwuid_r(0, NULL, NULL, 0, NULL);
26716 if ac_fn_c_try_link
"$LINENO"; then :
26717 libgfor_cv_posix_getpwuid_r
="yes"
26719 libgfor_cv_posix_getpwuid_r
="no"
26721 rm -f core conftest.err conftest.
$ac_objext \
26722 conftest
$ac_exeext conftest.
$ac_ext
26724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
26725 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
26727 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
26729 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
26734 # Check out attribute support.
26736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
26737 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
26738 if ${libgfor_cv_have_attribute_visibility+:} false
; then :
26739 $as_echo_n "(cached) " >&6
26742 save_CFLAGS
="$CFLAGS"
26743 CFLAGS
="$CFLAGS -Werror"
26744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26745 /* end confdefs.h. */
26746 void __attribute__((visibility("hidden"))) foo(void) { }
26755 if ac_fn_c_try_compile
"$LINENO"; then :
26756 libgfor_cv_have_attribute_visibility
=yes
26758 libgfor_cv_have_attribute_visibility
=no
26760 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26761 CFLAGS
="$save_CFLAGS"
26763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26764 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26765 if test $libgfor_cv_have_attribute_visibility = yes; then
26767 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26772 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26773 if ${libgfor_cv_have_attribute_alias+:} false
; then :
26774 $as_echo_n "(cached) " >&6
26777 if test x
$gcc_no_link = xyes
; then
26778 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26781 /* end confdefs.h. */
26784 extern void bar(void) __attribute__((alias("foo")));
26793 if ac_fn_c_try_link
"$LINENO"; then :
26794 libgfor_cv_have_attribute_alias
=yes
26796 libgfor_cv_have_attribute_alias
=no
26798 rm -f core conftest.err conftest.
$ac_objext \
26799 conftest
$ac_exeext conftest.
$ac_ext
26801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26802 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26803 if test $libgfor_cv_have_attribute_alias = yes; then
26805 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26809 # Check out atomic builtins support.
26811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __atomic_fetch_add" >&5
26812 $as_echo_n "checking whether the target supports __atomic_fetch_add... " >&6; }
26813 if ${libgfor_cv_have_atomic_fetch_add+:} false
; then :
26814 $as_echo_n "(cached) " >&6
26817 if test x
$gcc_no_link = xyes
; then
26818 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26821 /* end confdefs.h. */
26827 if (foovar <= 0) return __atomic_fetch_add (&foovar, 1, __ATOMIC_ACQ_REL);
26828 if (foovar > 10) return __atomic_add_fetch (&foovar, -1, __ATOMIC_ACQ_REL);
26833 if ac_fn_c_try_link
"$LINENO"; then :
26834 libgfor_cv_have_atomic_fetch_add
=yes
26836 libgfor_cv_have_atomic_fetch_add
=no
26838 rm -f core conftest.err conftest.
$ac_objext \
26839 conftest
$ac_exeext conftest.
$ac_ext
26841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_atomic_fetch_add" >&5
26842 $as_echo "$libgfor_cv_have_atomic_fetch_add" >&6; }
26843 if test $libgfor_cv_have_atomic_fetch_add = yes; then
26845 $as_echo "#define HAVE_ATOMIC_FETCH_ADD 1" >>confdefs.h
26849 # Check out #pragma weak.
26851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26852 $as_echo_n "checking whether pragma weak works... " >&6; }
26853 if ${libgfor_cv_have_pragma_weak+:} false
; then :
26854 $as_echo_n "(cached) " >&6
26857 gfor_save_CFLAGS
="$CFLAGS"
26858 CFLAGS
="$CFLAGS -Wunknown-pragmas"
26859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26860 /* end confdefs.h. */
26873 if ac_fn_c_try_compile
"$LINENO"; then :
26874 libgfor_cv_have_pragma_weak
=yes
26876 libgfor_cv_have_pragma_weak
=no
26878 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26881 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26882 if test $libgfor_cv_have_pragma_weak = yes; then
26884 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26888 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* |
*-*-musl* )
26890 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26895 # Check out weakref support.
26897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
26898 $as_echo_n "checking whether the target supports weakref... " >&6; }
26899 if ${libgfor_cv_have_weakref+:} false
; then :
26900 $as_echo_n "(cached) " >&6
26903 save_CFLAGS
="$CFLAGS"
26904 CFLAGS
="$CFLAGS -Wunknown-pragmas -Werror"
26905 if test x
$gcc_no_link = xyes
; then
26906 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26909 /* end confdefs.h. */
26911 static int mytoto (int) __attribute__((__weakref__("toto")));
26916 return (mytoto != 0);
26921 if ac_fn_c_try_link
"$LINENO"; then :
26922 libgfor_cv_have_weakref
=yes
26924 libgfor_cv_have_weakref
=no
26926 rm -f core conftest.err conftest.
$ac_objext \
26927 conftest
$ac_exeext conftest.
$ac_ext
26928 CFLAGS
="$save_CFLAGS"
26930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
26931 $as_echo "$libgfor_cv_have_weakref" >&6; }
26932 if test $libgfor_cv_have_weakref = yes; then
26934 $as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
26938 # Various other checks on target
26940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26941 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26942 if ${libgfor_cv_have_unlink_open_file+:} false
; then :
26943 $as_echo_n "(cached) " >&6
26946 if test "$cross_compiling" = yes; then :
26948 case "${target}" in
26949 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
26950 *) libgfor_cv_have_unlink_open_file
=yes;;
26953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26954 /* end confdefs.h. */
26958 #include <unistd.h>
26959 #include <sys/stat.h>
26965 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26968 if (unlink ("testfile") == -1)
26970 write (fd, "This is a test\n", 15);
26973 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26979 if ac_fn_c_try_run
"$LINENO"; then :
26980 libgfor_cv_have_unlink_open_file
=yes
26982 libgfor_cv_have_unlink_open_file
=no
26984 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26985 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26990 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26991 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
26993 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26997 # Check whether line terminator is LF or CRLF
26999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
27000 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
27001 if ${libgfor_cv_have_crlf+:} false
; then :
27002 $as_echo_n "(cached) " >&6
27005 if test "$cross_compiling" = yes; then :
27007 case "${target}" in
27008 *mingw
*) libgfor_cv_have_crlf
=yes ;;
27009 *) libgfor_cv_have_crlf
=no
;;
27012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27013 /* end confdefs.h. */
27015 /* This test program should exit with status 0 if system uses a CRLF as
27016 line terminator, and status 1 otherwise.
27017 Since it is used to check for mingw systems, and should return 0 in any
27018 other case, in case of a failure we will not use CRLF. */
27019 #include <sys/stat.h>
27020 #include <stdlib.h>
27032 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
27035 if (write (fd, "\n", 1) < 0)
27040 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
27042 bytes = read (fd, buff, 5);
27043 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
27050 if ac_fn_c_try_run
"$LINENO"; then :
27051 libgfor_cv_have_crlf
=yes
27053 libgfor_cv_have_crlf
=no
27055 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
27056 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
27060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
27061 $as_echo "$libgfor_cv_have_crlf" >&6; }
27062 if test x
"$libgfor_cv_have_crlf" = xyes
; then
27064 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
27068 # Check whether we support AVX extensions
27070 ac_save_CFLAGS
="$CFLAGS"
27072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27073 /* end confdefs.h. */
27075 void _mm256_zeroall (void)
27077 __builtin_ia32_vzeroall ();
27087 if ac_fn_c_try_compile
"$LINENO"; then :
27089 $as_echo "#define HAVE_AVX 1" >>confdefs.h
27092 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27093 CFLAGS
="$ac_save_CFLAGS"
27096 # Check wether we support AVX2 extensions
27098 ac_save_CFLAGS
="$CFLAGS"
27099 CFLAGS
="-O2 -mavx2"
27100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27101 /* end confdefs.h. */
27103 typedef long long __v4di __attribute__ ((__vector_size__ (32)));
27105 mm256_is32_andnotsi256 (__v4di __X, __v4di __Y)
27107 return __builtin_ia32_andnotsi256 (__X, __Y);
27117 if ac_fn_c_try_compile
"$LINENO"; then :
27119 $as_echo "#define HAVE_AVX2 1" >>confdefs.h
27122 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27123 CFLAGS
="$ac_save_CFLAGS"
27126 # Check wether we support AVX512f extensions
27128 ac_save_CFLAGS
="$CFLAGS"
27129 CFLAGS
="-O2 -mavx512f"
27130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27131 /* end confdefs.h. */
27133 typedef double __m512d __attribute__ ((__vector_size__ (64)));
27134 __m512d _mm512_add (__m512d a)
27136 __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
27137 /* For -m64/-mx32 also verify that code will work even if
27138 the target uses call saved zmm16+ and needs to emit
27139 unwind info for them (e.g. on mingw). See PR79127. */
27141 asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19");
27153 if ac_fn_c_try_compile
"$LINENO"; then :
27155 $as_echo "#define HAVE_AVX512F 1" >>confdefs.h
27158 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27159 CFLAGS
="$ac_save_CFLAGS"
27162 # Check for FMA3 extensions
27164 ac_save_CFLAGS
="$CFLAGS"
27165 CFLAGS
="-O2 -mfma -mno-fma4"
27166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27167 /* end confdefs.h. */
27169 typedef float __m128 __attribute__ ((__vector_size__ (16)));
27170 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
27171 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
27173 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
27185 if ac_fn_c_try_compile
"$LINENO"; then :
27187 $as_echo "#define HAVE_FMA3 1" >>confdefs.h
27190 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27191 CFLAGS
="$ac_save_CFLAGS"
27194 # Check for FMA4 extensions
27196 ac_save_CFLAGS
="$CFLAGS"
27197 CFLAGS
="-O2 -mfma4 -mno-fma"
27198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27199 /* end confdefs.h. */
27201 typedef float __m128 __attribute__ ((__vector_size__ (16)));
27202 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
27203 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
27205 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
27217 if ac_fn_c_try_compile
"$LINENO"; then :
27219 $as_echo "#define HAVE_FMA4 1" >>confdefs.h
27222 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27223 CFLAGS
="$ac_save_CFLAGS"
27226 # Check if AVX128 works
27228 ac_save_CFLAGS
="$CFLAGS"
27229 CFLAGS
="-O2 -mavx -mprefer-avx128"
27230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27231 /* end confdefs.h. */
27244 if ac_fn_c_try_compile
"$LINENO"; then :
27246 $as_echo "#define HAVE_AVX128 1" >>confdefs.h
27250 HAVE_AVX128_FALSE
='#'
27252 HAVE_AVX128_TRUE
='#'
27259 HAVE_AVX128_FALSE
='#'
27261 HAVE_AVX128_TRUE
='#'
27266 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27267 CFLAGS
="$ac_save_CFLAGS"
27270 # Determine what GCC version number to use in filesystem paths.
27272 get_gcc_base_ver
="cat"
27274 # Check whether --with-gcc-major-version-only was given.
27275 if test "${with_gcc_major_version_only+set}" = set; then :
27276 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
27277 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
27285 cat >confcache
<<\_ACEOF
27286 # This file is a shell script that caches the results of configure
27287 # tests run on this system so they can be shared between configure
27288 # scripts and configure runs, see configure's option --config-cache.
27289 # It is not useful on other systems. If it contains results you don't
27290 # want to keep, you may remove or edit it.
27292 # config.status only pays attention to the cache file if you give it
27293 # the --recheck option to rerun configure.
27295 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27296 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27297 # following values.
27301 # The following way of writing the cache mishandles newlines in values,
27302 # but we know of no workaround that is simple, portable, and efficient.
27303 # So, we kill variables containing newlines.
27304 # Ultrix sh set writes to stderr and can't be redirected directly,
27305 # and sets the high bit in the cache file unless we assign to the vars.
27307 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27308 eval ac_val
=\$
$ac_var
27312 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
27313 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
27316 _ | IFS | as_nl
) ;; #(
27317 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
27318 *) { eval $ac_var=; unset $ac_var;} ;;
27324 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27325 *${as_nl}ac_space
=\
*)
27326 # `set' does not quote correctly, so add quotes: double-quote
27327 # substitution turns \\\\ into \\, and sed turns \\ into \.
27330 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27333 # `set' quotes correctly as required by POSIX, so do not add quotes.
27334 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27343 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27345 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27347 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
27348 if test -w "$cache_file"; then
27349 if test "x$cache_file" != "x/dev/null"; then
27350 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
27351 $as_echo "$as_me: updating cache $cache_file" >&6;}
27352 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
27353 cat confcache
>"$cache_file"
27355 case $cache_file in #(
27357 mv -f confcache
"$cache_file"$$
&&
27358 mv -f "$cache_file"$$
"$cache_file" ;; #(
27360 mv -f confcache
"$cache_file" ;;
27365 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
27366 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27371 if test ${multilib} = yes; then
27372 multilib_arg
="--enable-multilib"
27377 # Write our Makefile and spec file.
27378 ac_config_files
="$ac_config_files Makefile libgfortran.spec"
27380 cat >confcache
<<\_ACEOF
27381 # This file is a shell script that caches the results of configure
27382 # tests run on this system so they can be shared between configure
27383 # scripts and configure runs, see configure's option --config-cache.
27384 # It is not useful on other systems. If it contains results you don't
27385 # want to keep, you may remove or edit it.
27387 # config.status only pays attention to the cache file if you give it
27388 # the --recheck option to rerun configure.
27390 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27391 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27392 # following values.
27396 # The following way of writing the cache mishandles newlines in values,
27397 # but we know of no workaround that is simple, portable, and efficient.
27398 # So, we kill variables containing newlines.
27399 # Ultrix sh set writes to stderr and can't be redirected directly,
27400 # and sets the high bit in the cache file unless we assign to the vars.
27402 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27403 eval ac_val
=\$
$ac_var
27407 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
27408 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
27411 _ | IFS | as_nl
) ;; #(
27412 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
27413 *) { eval $ac_var=; unset $ac_var;} ;;
27419 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27420 *${as_nl}ac_space
=\
*)
27421 # `set' does not quote correctly, so add quotes: double-quote
27422 # substitution turns \\\\ into \\, and sed turns \\ into \.
27425 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27428 # `set' quotes correctly as required by POSIX, so do not add quotes.
27429 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27438 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27440 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27442 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
27443 if test -w "$cache_file"; then
27444 if test "x$cache_file" != "x/dev/null"; then
27445 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
27446 $as_echo "$as_me: updating cache $cache_file" >&6;}
27447 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
27448 cat confcache
>"$cache_file"
27450 case $cache_file in #(
27452 mv -f confcache
"$cache_file"$$
&&
27453 mv -f "$cache_file"$$
"$cache_file" ;; #(
27455 mv -f confcache
"$cache_file" ;;
27460 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
27461 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27466 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
27467 # Let make expand exec_prefix.
27468 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
27470 DEFS
=-DHAVE_CONFIG_H
27475 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
27476 # 1. Remove the extension, and $U if already installed.
27477 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
27478 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
27479 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
27480 # will be set to the directory where LIBOBJS objects are built.
27481 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
27482 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
27484 LIBOBJS
=$ac_libobjs
27486 LTLIBOBJS
=$ac_ltlibobjs
27489 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
27490 as_fn_error $?
"conditional \"onestep\" was never defined.
27491 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
27494 $as_echo_n "checking that generated files are newer than configure... " >&6; }
27495 if test -n "$am_sleep_pid"; then
27496 # Hide warnings about reused PIDs.
27497 wait $am_sleep_pid 2>/dev
/null
27499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
27500 $as_echo "done" >&6; }
27501 if test -n "$EXEEXT"; then
27503 am__EXEEXT_FALSE
='#'
27505 am__EXEEXT_TRUE
='#'
27509 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
27510 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
27511 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27513 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
27514 as_fn_error $?
"conditional \"AMDEP\" was never defined.
27515 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27517 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27518 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
27519 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27521 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27522 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
27523 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27525 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
27526 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
27527 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27529 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
27530 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
27531 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27533 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
27534 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
27535 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27537 if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
27538 as_fn_error $?
"conditional \"LIBGFOR_MINIMAL\" was never defined.
27539 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27541 if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
27542 as_fn_error $?
"conditional \"HAVE_HWCAP\" was never defined.
27543 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27545 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
27546 as_fn_error $?
"conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
27547 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27549 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
27550 as_fn_error $?
"conditional \"IEEE_SUPPORT\" was never defined.
27551 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27553 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
27554 as_fn_error $?
"conditional \"HAVE_AVX128\" was never defined.
27555 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27557 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
27558 as_fn_error $?
"conditional \"HAVE_AVX128\" was never defined.
27559 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27562 : "${CONFIG_STATUS=./config.status}"
27564 ac_clean_files_save
=$ac_clean_files
27565 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
27566 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
27567 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
27569 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
27571 # Generated by $as_me.
27572 # Run this file to recreate the current configuration.
27573 # Compiler output produced by configure, useful for debugging
27574 # configure, is in config.log if it exists.
27577 ac_cs_recheck=false
27580 SHELL=\${CONFIG_SHELL-$SHELL}
27583 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
27584 ## -------------------- ##
27585 ## M4sh Initialization. ##
27586 ## -------------------- ##
27588 # Be more Bourne compatible
27589 DUALCASE
=1; export DUALCASE
# for MKS sh
27590 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
27593 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27594 # is contrary to our usage. Disable this feature.
27595 alias -g '${1+"$@"}'='"$@"'
27596 setopt NO_GLOB_SUBST
27598 case `(set -o) 2>/dev/null` in #(
27610 # Printing a long string crashes Solaris 7 /usr/bin/printf.
27611 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
27612 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
27613 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
27614 # Prefer a ksh shell builtin over an external printf program on Solaris,
27615 # but without wasting forks for bash or zsh.
27616 if test -z "$BASH_VERSION$ZSH_VERSION" \
27617 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
27618 as_echo='print
-r --'
27619 as_echo_n='print
-rn --'
27620 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
27621 as_echo='printf %s
\n'
27622 as_echo_n='printf %s
'
27624 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
27625 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
27626 as_echo_n='/usr
/ucb
/echo -n'
27628 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
27629 as_echo_n_body='eval
27633 expr "X$arg" : "X\\(.*\\)$as_nl";
27634 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
27636 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
27638 export as_echo_n_body
27639 as_echo_n='sh
-c $as_echo_n_body as_echo
'
27641 export as_echo_body
27642 as_echo='sh
-c $as_echo_body as_echo
'
27645 # The user is always right.
27646 if test "${PATH_SEPARATOR+set}" != set; then
27648 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
27649 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
27656 # We need space, tab and new line, in precisely that order. Quoting is
27657 # there to prevent editors from complaining about space-tab.
27658 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
27659 # splitting by setting IFS to empty value.)
27662 # Find who we are. Look in the path if we contain no directory separator.
27665 *[\\/]* ) as_myself=$0 ;;
27666 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27667 for as_dir in $PATH
27670 test -z "$as_dir" && as_dir=.
27671 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
27677 # We did not find ourselves, most probably we were run as `sh COMMAND'
27678 # in which case we are not to be found in the path.
27679 if test "x$as_myself" = x
; then
27682 if test ! -f "$as_myself"; then
27683 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
27687 # Unset variables that we do not need and which cause bugs (e.g. in
27688 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
27689 # suppresses any "Segmentation fault" message there. '((' could
27690 # trigger a bug in pdksh 5.2.14.
27691 for as_var
in BASH_ENV ENV MAIL MAILPATH
27692 do eval test x\
${$as_var+set} = xset \
27693 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
27706 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
27709 # as_fn_error STATUS ERROR [LINENO LOG_FD]
27710 # ----------------------------------------
27711 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
27712 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
27713 # script with STATUS, using 1 if that was 0.
27716 as_status
=$1; test $as_status -eq 0 && as_status
=1
27718 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
27719 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
27721 $as_echo "$as_me: error: $2" >&2
27722 as_fn_exit
$as_status
27726 # as_fn_set_status STATUS
27727 # -----------------------
27728 # Set $? to STATUS, without forking.
27729 as_fn_set_status
()
27732 } # as_fn_set_status
27734 # as_fn_exit STATUS
27735 # -----------------
27736 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
27740 as_fn_set_status
$1
27746 # Portably unset VAR.
27749 { eval $1=; unset $1;}
27751 as_unset
=as_fn_unset
27752 # as_fn_append VAR VALUE
27753 # ----------------------
27754 # Append the text in VALUE to the end of the definition contained in VAR. Take
27755 # advantage of any shell optimizations that allow amortized linear growth over
27756 # repeated appends, instead of the typical quadratic growth present in naive
27758 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
27759 eval 'as_fn_append ()
27770 # as_fn_arith ARG...
27771 # ------------------
27772 # Perform arithmetic evaluation on the ARGs, and store the result in the
27773 # global $as_val. Take advantage of shells that can avoid forks. The arguments
27774 # must be portable across $(()) and expr.
27775 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
27776 eval 'as_fn_arith ()
27783 as_val
=`expr "$@" || test $? -eq 1`
27788 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
27789 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
27795 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
27796 as_basename
=basename
27801 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
27807 as_me
=`$as_basename -- "$0" ||
27808 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27809 X"$0" : 'X\(//\)$' \| \
27810 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27812 sed '/^.*\/\([^/][^/]*\)\/*$/{
27826 # Avoid depending upon Character Ranges.
27827 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
27828 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27829 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
27830 as_cr_digits
='0123456789'
27831 as_cr_alnum
=$as_cr_Letters$as_cr_digits
27833 ECHO_C
= ECHO_N
= ECHO_T
=
27834 case `echo -n x` in #(((((
27836 case `echo 'xy\c'` in
27837 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
27839 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
27846 rm -f conf$$ conf$$.exe conf$$.
file
27847 if test -d conf$$.dir
; then
27848 rm -f conf$$.dir
/conf$$.
file
27851 mkdir conf$$.dir
2>/dev
/null
27853 if (echo >conf$$.
file) 2>/dev
/null
; then
27854 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
27856 # ... but there are two gotchas:
27857 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27858 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27859 # In both cases, we have to default to `cp -pR'.
27860 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
27862 elif ln conf$$.
file conf$$
2>/dev
/null
; then
27870 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
27871 rmdir conf$$.dir
2>/dev
/null
27876 # Create "$as_dir" as a directory, including parents if necessary.
27881 -*) as_dir
=.
/$as_dir;;
27883 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
27887 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27888 *) as_qdir
=$as_dir;;
27890 as_dirs
="'$as_qdir' $as_dirs"
27891 as_dir
=`$as_dirname -- "$as_dir" ||
27892 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27893 X"$as_dir" : 'X\(//\)[^/]' \| \
27894 X"$as_dir" : 'X\(//\)$' \| \
27895 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27896 $as_echo X"$as_dir" |
27897 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27901 /^X\(\/\/\)[^/].*/{
27914 test -d "$as_dir" && break
27916 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
27917 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
27921 if mkdir
-p .
2>/dev
/null
; then
27922 as_mkdir_p
='mkdir -p "$as_dir"'
27924 test -d .
/-p && rmdir .
/-p
27929 # as_fn_executable_p FILE
27930 # -----------------------
27931 # Test if FILE is an executable regular file.
27932 as_fn_executable_p
()
27934 test -f "$1" && test -x "$1"
27935 } # as_fn_executable_p
27936 as_test_x
='test -x'
27937 as_executable_p
=as_fn_executable_p
27939 # Sed expression to map a string onto a valid CPP name.
27940 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27942 # Sed expression to map a string onto a valid variable name.
27943 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27947 ## ----------------------------------- ##
27948 ## Main body of $CONFIG_STATUS script. ##
27949 ## ----------------------------------- ##
27951 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
27953 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27954 # Save the log message, to keep $0 and so on meaningful, and to
27955 # report actual input values of CONFIG_FILES etc. instead of their
27956 # values after options handling.
27958 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27959 generated by GNU Autoconf 2.69. Invocation command line was
27961 CONFIG_FILES = $CONFIG_FILES
27962 CONFIG_HEADERS = $CONFIG_HEADERS
27963 CONFIG_LINKS = $CONFIG_LINKS
27964 CONFIG_COMMANDS = $CONFIG_COMMANDS
27967 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27972 case $ac_config_files in *"
27973 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
27976 case $ac_config_headers in *"
27977 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
27981 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27982 # Files that config.status was made for.
27983 config_files="$ac_config_files"
27984 config_headers="$ac_config_headers"
27985 config_commands="$ac_config_commands"
27989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27991 \`$as_me' instantiates files and other configuration actions
27992 from templates according to the current configuration. Unless the files
27993 and actions are specified as TAGs, all are instantiated by default.
27995 Usage: $0 [OPTION]... [TAG]...
27997 -h, --help print this help, then exit
27998 -V, --version print version number and configuration settings, then exit
27999 --config print configuration, then exit
28000 -q, --quiet, --silent
28001 do not print progress messages
28002 -d, --debug don't remove temporary files
28003 --recheck update $as_me by reconfiguring in the same conditions
28004 --file=FILE[:TEMPLATE]
28005 instantiate the configuration file FILE
28006 --header=FILE[:TEMPLATE]
28007 instantiate the configuration header FILE
28009 Configuration files:
28012 Configuration headers:
28015 Configuration commands:
28018 Report bugs to the package provider.
28019 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
28020 General help using GNU software: <http://www.gnu.org/gethelp/>."
28023 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28024 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
28026 GNU Fortran Runtime Library config.status 0.3
28027 configured by $0, generated by GNU Autoconf 2.69,
28028 with options \\"\$ac_cs_config\\"
28030 Copyright (C) 2012 Free Software Foundation, Inc.
28031 This config.status script is free software; the Free Software Foundation
28032 gives unlimited permission to copy, distribute and modify it."
28039 test -n "\$AWK" || AWK=awk
28042 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28043 # The default lists apply if the user does not specify any file.
28049 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
28050 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
28054 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
28066 # Handling of the options.
28067 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
28069 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
28070 $as_echo "$ac_cs_version"; exit ;;
28071 --config |
--confi |
--conf |
--con |
--co |
--c )
28072 $as_echo "$ac_cs_config"; exit ;;
28073 --debug |
--debu |
--deb |
--de |
--d |
-d )
28075 --file |
--fil |
--fi |
--f )
28078 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
28079 '') as_fn_error $?
"missing file argument" ;;
28081 as_fn_append CONFIG_FILES
" '$ac_optarg'"
28082 ac_need_defaults
=false
;;
28083 --header |
--heade |
--head |
--hea )
28086 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
28088 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
28089 ac_need_defaults
=false
;;
28091 # Conflict between --help and --header
28092 as_fn_error $?
"ambiguous option: \`$1'
28093 Try \`$0 --help' for more information.";;
28094 --help |
--hel |
-h )
28095 $as_echo "$ac_cs_usage"; exit ;;
28096 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
28097 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
28100 # This is an error.
28101 -*) as_fn_error $?
"unrecognized option: \`$1'
28102 Try \`$0 --help' for more information." ;;
28104 *) as_fn_append ac_config_targets
" $1"
28105 ac_need_defaults
=false
;;
28111 ac_configure_extra_args
=
28113 if $ac_cs_silent; then
28115 ac_configure_extra_args
="$ac_configure_extra_args --silent"
28119 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28120 if \$ac_cs_recheck; then
28121 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
28123 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
28124 CONFIG_SHELL='$SHELL'
28125 export CONFIG_SHELL
28130 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28134 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
28135 ## Running $as_me. ##
28141 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28149 with_multisubdir="$with_multisubdir"
28150 with_multisrctop="$with_multisrctop"
28151 with_target_subdir="$with_target_subdir"
28152 ac_configure_args="${multilib_arg} ${ac_configure_args}"
28153 multi_basedir="$multi_basedir"
28154 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
28157 GFORTRAN="$GFORTRAN"
28159 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
28162 # The HP-UX ksh and POSIX shell print the target directory to stdout
28163 # if CDPATH is set.
28164 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
28166 sed_quote_subst='$sed_quote_subst'
28167 double_quote_subst='$double_quote_subst'
28168 delay_variable_subst='$delay_variable_subst'
28169 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
28170 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
28171 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
28172 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
28173 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
28174 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
28175 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
28176 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
28177 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
28178 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
28179 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
28180 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
28181 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
28182 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
28183 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
28184 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
28185 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
28186 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
28187 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
28188 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
28189 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
28190 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
28191 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
28192 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
28193 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
28194 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
28195 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
28196 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
28197 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
28198 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
28199 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
28200 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
28201 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
28202 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
28203 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
28204 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
28205 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
28206 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
28207 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
28208 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
28209 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
28210 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
28211 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
28212 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
28213 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
28214 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
28215 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
28216 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
28217 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"`'
28218 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
28219 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
28220 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
28221 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
28222 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
28223 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
28224 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
28225 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
28226 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
28227 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
28228 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
28229 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
28230 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
28231 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
28232 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
28233 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
28234 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
28235 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
28236 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
28237 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
28238 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
28239 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
28240 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
28241 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
28242 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
28243 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
28244 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
28245 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
28246 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
28247 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
28248 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
28249 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
28250 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
28251 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
28252 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
28253 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
28254 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
28255 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
28256 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
28257 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
28258 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
28259 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
28260 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
28261 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
28262 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
28263 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
28264 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
28265 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
28266 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
28267 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
28268 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
28269 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
28270 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
28271 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
28272 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
28273 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
28274 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
28275 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
28276 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
28277 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
28278 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
28279 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
28280 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
28281 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
28282 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
28283 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
28284 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
28285 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
28286 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
28287 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
28288 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
28289 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
28290 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
28291 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
28292 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
28293 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
28294 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
28295 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
28296 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
28297 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
28298 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
28299 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
28300 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
28301 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
28302 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
28303 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
28304 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
28305 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
28306 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
28307 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
28308 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
28309 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
28310 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
28311 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
28312 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
28313 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
28314 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
28315 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
28316 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
28317 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
28318 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
28319 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
28320 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
28321 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
28322 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
28323 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
28324 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
28325 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
28326 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
28327 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
28328 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
28329 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
28330 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
28331 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
28332 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
28333 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
28334 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
28335 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
28336 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
28337 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
28338 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
28339 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
28340 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
28341 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
28342 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
28343 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
28346 LTCFLAGS='$LTCFLAGS'
28347 compiler='$compiler_DEFAULT'
28349 # A function that is used when there is no print builtin or printf.
28350 func_fallback_echo ()
28352 eval 'cat <<_LTECHO_EOF
28357 # Quote evaled strings.
28371 deplibs_check_method \
28380 lt_cv_sys_global_symbol_pipe \
28381 lt_cv_sys_global_symbol_to_cdecl \
28382 lt_cv_sys_global_symbol_to_c_name_address \
28383 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
28384 lt_prog_compiler_no_builtin_flag \
28385 lt_prog_compiler_wl \
28386 lt_prog_compiler_pic \
28387 lt_prog_compiler_static \
28388 lt_cv_prog_compiler_c_o \
28396 export_dynamic_flag_spec \
28397 whole_archive_flag_spec \
28398 compiler_needs_object \
28400 allow_undefined_flag \
28401 no_undefined_flag \
28402 hardcode_libdir_flag_spec \
28403 hardcode_libdir_flag_spec_ld \
28404 hardcode_libdir_separator \
28409 variables_saved_for_relink \
28411 library_names_spec \
28413 install_override_mode \
28417 compiler_lib_search_dirs \
28422 compiler_lib_search_path \
28426 lt_prog_compiler_no_builtin_flag_FC \
28427 lt_prog_compiler_wl_FC \
28428 lt_prog_compiler_pic_FC \
28429 lt_prog_compiler_static_FC \
28430 lt_cv_prog_compiler_c_o_FC \
28431 export_dynamic_flag_spec_FC \
28432 whole_archive_flag_spec_FC \
28433 compiler_needs_object_FC \
28435 allow_undefined_flag_FC \
28436 no_undefined_flag_FC \
28437 hardcode_libdir_flag_spec_FC \
28438 hardcode_libdir_flag_spec_ld_FC \
28439 hardcode_libdir_separator_FC \
28440 fix_srcfile_path_FC \
28441 exclude_expsyms_FC \
28442 include_expsyms_FC \
28443 file_list_spec_FC \
28444 compiler_lib_search_dirs_FC \
28445 predep_objects_FC \
28446 postdep_objects_FC \
28449 compiler_lib_search_path_FC; do
28450 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
28451 *[\\\\\\\`\\"\\\$]*)
28452 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
28455 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
28460 # Double-quote double-evaled strings.
28461 for var in reload_cmds \
28462 old_postinstall_cmds \
28463 old_postuninstall_cmds \
28465 extract_expsyms_cmds \
28466 old_archive_from_new_cmds \
28467 old_archive_from_expsyms_cmds \
28469 archive_expsym_cmds \
28471 module_expsym_cmds \
28472 export_symbols_cmds \
28475 postuninstall_cmds \
28477 sys_lib_search_path_spec \
28478 sys_lib_dlsearch_path_spec \
28480 old_archive_cmds_FC \
28481 old_archive_from_new_cmds_FC \
28482 old_archive_from_expsyms_cmds_FC \
28484 archive_expsym_cmds_FC \
28486 module_expsym_cmds_FC \
28487 export_symbols_cmds_FC \
28488 prelink_cmds_FC; do
28489 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
28490 *[\\\\\\\`\\"\\\$]*)
28491 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
28494 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
28499 ac_aux_dir='$ac_aux_dir'
28500 xsi_shell='$xsi_shell'
28501 lt_shell_append='$lt_shell_append'
28503 # See if we are running on zsh, and set the options which allow our
28504 # commands through without removal of \ escapes INIT.
28505 if test -n "\${ZSH_VERSION+set}" ; then
28506 setopt NO_GLOB_SUBST
28512 TIMESTAMP='$TIMESTAMP'
28523 acx_cv_header_stdint="$acx_cv_header_stdint"
28524 acx_cv_type_int8_t="$acx_cv_type_int8_t"
28525 acx_cv_type_int16_t="$acx_cv_type_int16_t"
28526 acx_cv_type_int32_t="$acx_cv_type_int32_t"
28527 acx_cv_type_int64_t="$acx_cv_type_int64_t"
28528 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
28529 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
28530 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
28531 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
28532 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
28533 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
28534 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
28535 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
28536 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
28541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28543 # Handling of arguments.
28544 for ac_config_target
in $ac_config_targets
28546 case $ac_config_target in
28547 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
28548 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
28549 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
28550 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
28551 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
28552 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
28553 "libgfortran.spec") CONFIG_FILES
="$CONFIG_FILES libgfortran.spec" ;;
28555 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
28560 # If the user did not use the arguments to specify the items to instantiate,
28561 # then the envvar interface is used. Set only those that are not.
28562 # We use the long form for the default assignment because of an extremely
28563 # bizarre bug on SunOS 4.1.3.
28564 if $ac_need_defaults; then
28565 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
28566 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
28567 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
28570 # Have a temporary directory for convenience. Make it in the build tree
28571 # simply because there is no reason against having it here, and in addition,
28572 # creating and moving files from /tmp can sometimes cause problems.
28573 # Hook for its removal unless debugging.
28574 # Note that there is a small window in which the directory will not be cleaned:
28575 # after its creation but before its name has been assigned to `$tmp'.
28579 trap 'exit_status=$?
28580 : "${ac_tmp:=$tmp}"
28581 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
28583 trap 'as_fn_exit 1' 1 2 13 15
28585 # Create a (secure) tmp directory for tmp files.
28588 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
28592 tmp
=.
/conf$$
-$RANDOM
28593 (umask 077 && mkdir
"$tmp")
28594 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
28597 # Set up the scripts for CONFIG_FILES section.
28598 # No need to generate them if there are no CONFIG_FILES.
28599 # This happens for instance with `./config.status config.h'.
28600 if test -n "$CONFIG_FILES"; then
28603 ac_cr
=`echo X | tr X '\015'`
28604 # On cygwin, bash can eat \r inside `` if the user requested igncr.
28605 # But we know of no other shell where ac_cr would be empty at this
28606 # point, so we can use a bashism as a fallback.
28607 if test "x$ac_cr" = x
; then
28608 eval ac_cr
=\$
\'\\r
\'
28610 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
28611 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
28614 ac_cs_awk_cr
=$ac_cr
28617 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
28622 echo "cat >conf$$subs.awk <<_ACEOF" &&
28623 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
28625 } >conf$$subs.sh ||
28626 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
28627 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
28629 for ac_last_try in false false false false false :; do
28630 . ./conf$$subs.sh ||
28631 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
28633 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
28634 if test $ac_delim_n = $ac_delim_num; then
28636 elif $ac_last_try; then
28637 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
28639 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
28642 rm -f conf$$subs.sh
28644 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28645 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
28649 s/^/S["/; s
/!.
*/"]=/
28659 s/\(.\{148\}\)..*/\1/
28661 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
28666 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
28673 s/\(.\{148\}\)..*/\1/
28675 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
28679 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
28684 ' <conf$$subs.awk | sed '
28689 ' >>$CONFIG_STATUS || ac_write_fail=1
28690 rm -f conf$$subs.awk
28691 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28693 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
28694 for (key in S) S_is_set[key] = 1
28700 nfields = split(line, field, "@
")
28702 len = length(field[1])
28703 for (i = 2; i < nfields; i++) {
28705 keylen = length(key)
28706 if (S_is_set[key]) {
28708 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
28709 len += length(value) + length(field[++i])
28720 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28721 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
28722 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
28725 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
28726 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
28729 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
28730 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
28731 # trailing colons and then remove the whole line if VPATH becomes empty
28732 # (actually we leave an empty line to preserve line numbers).
28733 if test "x
$srcdir" = x.; then
28734 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
28752 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28753 fi # test -n "$CONFIG_FILES"
28755 # Set up the scripts for CONFIG_HEADERS section.
28756 # No need to generate them if there are no CONFIG_HEADERS.
28757 # This happens for instance with `./config.status Makefile'.
28758 if test -n "$CONFIG_HEADERS"; then
28759 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
28763 # Transform confdefs.h into an awk script `defines.awk', embedded as
28764 # here-document in config.status, that substitutes the proper values into
28765 # config.h.in to produce config.h.
28767 # Create a delimiter string that does not exist in confdefs.h, to ease
28768 # handling of long lines.
28770 for ac_last_try in false false :; do
28771 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
28772 if test -z "$ac_tt"; then
28774 elif $ac_last_try; then
28775 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
28777 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
28781 # For the awk script, D is an array of macro values keyed by name,
28782 # likewise P contains macro parameters if any. Preserve backslash
28783 # newline sequences.
28785 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
28787 s/.\{148\}/&'"$ac_delim"'/g
28790 s/^[ ]*#[ ]*define[ ][ ]*/ /
28797 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
28799 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
28803 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
28804 D["\
1"]=" \
3\\\\\\n
"\\/p
28806 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
28811 s/.\{148\}/&'"$ac_delim"'/g
28816 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
28819 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
28821 ' <confdefs.h | sed '
28822 s/'"$ac_delim"'/"\\\
28823 "/g' >>$CONFIG_STATUS || ac_write_fail=1
28825 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28826 for (key in D) D_is_set[key] = 1
28829 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
28831 split(line, arg, " ")
28832 if (arg[1] == "#") {
28836 defundef
= substr
(arg
[1], 2)
28839 split(mac1
, mac2
, "(") #)
28841 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
28842 if (D_is_set
[macro
]) {
28843 # Preserve the white space surrounding the "#".
28844 print prefix
"define", macro P
[macro
] D
[macro
]
28847 # Replace #undef with comments. This is necessary, for example,
28848 # in the case of _POSIX_SOURCE, which is predefined and required
28849 # on some systems where configure will not decide to define it.
28850 if (defundef
== "undef") {
28851 print
"/*", prefix defundef
, macro
, "*/"
28859 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28860 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
28861 fi # test -n "$CONFIG_HEADERS"
28864 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
28869 :[FHLC
]) ac_mode
=$ac_tag; continue;;
28871 case $ac_mode$ac_tag in
28873 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
28874 :[FH
]-) ac_tag
=-:-;;
28875 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
28892 -) ac_f
="$ac_tmp/stdin";;
28893 *) # Look for the file first in the build tree, then in the source tree
28894 # (if the path is not absolute). The absolute path cannot be DOS-style,
28895 # because $ac_f cannot contain `:'.
28899 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
28901 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
28903 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28904 as_fn_append ac_file_inputs
" '$ac_f'"
28907 # Let's still pretend it is `configure' which instantiates (i.e., don't
28908 # use $as_me), people would be surprised to read:
28909 # /* config.h. Generated by config.status. */
28910 configure_input
='Generated from '`
28911 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28913 if test x
"$ac_file" != x-
; then
28914 configure_input
="$ac_file. $configure_input"
28915 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
28916 $as_echo "$as_me: creating $ac_file" >&6;}
28918 # Neutralize special characters interpreted by sed in replacement strings.
28919 case $configure_input in #(
28920 *\
&* |
*\|
* |
*\\* )
28921 ac_sed_conf_input
=`$as_echo "$configure_input" |
28922 sed 's/[\\\\&|]/\\\\&/g'`;; #(
28923 *) ac_sed_conf_input
=$configure_input;;
28927 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
28928 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
28933 ac_dir
=`$as_dirname -- "$ac_file" ||
28934 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28935 X"$ac_file" : 'X\(//\)[^/]' \| \
28936 X"$ac_file" : 'X\(//\)$' \| \
28937 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28938 $as_echo X"$ac_file" |
28939 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28943 /^X\(\/\/\)[^/].*/{
28956 as_dir
="$ac_dir"; as_fn_mkdir_p
28960 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28962 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28963 # A ".." for each directory in $ac_dir_suffix.
28964 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28965 case $ac_top_builddir_sub in
28966 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28967 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
28970 ac_abs_top_builddir
=$ac_pwd
28971 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
28972 # for backward compatibility:
28973 ac_top_builddir
=$ac_top_build_prefix
28976 .
) # We are building in place.
28978 ac_top_srcdir
=$ac_top_builddir_sub
28979 ac_abs_top_srcdir
=$ac_pwd ;;
28980 [\\/]* | ?
:[\\/]* ) # Absolute name.
28981 ac_srcdir
=$srcdir$ac_dir_suffix;
28982 ac_top_srcdir
=$srcdir
28983 ac_abs_top_srcdir
=$srcdir ;;
28984 *) # Relative name.
28985 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
28986 ac_top_srcdir
=$ac_top_build_prefix$srcdir
28987 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
28989 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
28999 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
29000 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
29002 ac_MKDIR_P
=$MKDIR_P
29004 [\\/$
]* | ?
:[\\/]* ) ;;
29005 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
29009 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
29010 # If the template does not know about datarootdir, expand it.
29011 # FIXME: This hack should be removed a few years after 2.60.
29012 ac_datarootdir_hack
=; ac_datarootdir_seen
=
29023 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
29024 *datarootdir
*) ac_datarootdir_seen
=yes;;
29025 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
29026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
29027 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
29029 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29030 ac_datarootdir_hack='
29031 s&@datadir@&$datadir&g
29032 s&@docdir@&$docdir&g
29033 s&@infodir@&$infodir&g
29034 s&@localedir@&$localedir&g
29035 s&@mandir@&$mandir&g
29036 s&\\\${datarootdir}&$datarootdir&g' ;;
29040 # Neutralize VPATH when `$srcdir' = `.'.
29041 # Shell code in configure.ac might set extrasub.
29042 # FIXME: do we really want to maintain this feature?
29043 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29044 ac_sed_extra="$ac_vpsub
29047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
29049 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
29050 s|@configure_input@|
$ac_sed_conf_input|
;t t
29051 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
29052 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
29053 s
&@srcdir@
&$ac_srcdir&;t t
29054 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
29055 s
&@top_srcdir@
&$ac_top_srcdir&;t t
29056 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
29057 s
&@builddir@
&$ac_builddir&;t t
29058 s
&@abs_builddir@
&$ac_abs_builddir&;t t
29059 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
29060 s
&@INSTALL@
&$ac_INSTALL&;t t
29061 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
29062 $ac_datarootdir_hack
29064 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
29065 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
29067 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
29068 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
29069 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
29070 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
29071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
29072 which seems to be undefined. Please make sure it is defined" >&5
29073 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
29074 which seems to be undefined. Please make sure it is defined" >&2;}
29076 rm -f "$ac_tmp/stdin"
29078 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
29079 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
29081 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
29087 if test x"$ac_file" != x-; then
29089 $as_echo "/* $configure_input */" \
29090 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
29091 } >"$ac_tmp/config.h" \
29092 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
29093 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
29094 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
29095 $as_echo "$as_me: $ac_file is unchanged" >&6;}
29098 mv "$ac_tmp/config.h" "$ac_file" \
29099 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
29102 $as_echo "/* $configure_input */" \
29103 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
29104 || as_fn_error $? "could not create -" "$LINENO" 5
29106 # Compute "$ac_file"'s index
in $config_headers.
29109 for _am_header
in $config_headers :; do
29110 case $_am_header in
29111 $_am_arg |
$_am_arg:* )
29114 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
29117 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
29118 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29119 X"$_am_arg" : 'X\(//\)[^/]' \| \
29120 X"$_am_arg" : 'X\(//\)$' \| \
29121 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
29122 $as_echo X"$_am_arg" |
29123 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29127 /^X\(\/\/\)[^/].*/{
29139 s/.*/./; q'`/stamp-h
$_am_stamp_count
29142 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
29143 $as_echo "$as_me: executing $ac_file commands" >&6;}
29148 case $ac_file$ac_mode in
29150 # Only add multilib support code if we just rebuilt the top-level
29152 case " $CONFIG_FILES " in
29154 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
29157 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
29158 # Older Autoconf quotes --file arguments for eval, but not when files
29159 # are listed without --file. Let's play safe and only enable the eval
29160 # if we detect the quoting.
29161 case $CONFIG_FILES in
29162 *\'*) eval set x
"$CONFIG_FILES" ;;
29163 *) set x
$CONFIG_FILES ;;
29168 # Strip MF so we end up with the name of the file.
29169 mf
=`echo "$mf" | sed -e 's/:.*$//'`
29170 # Check whether this is an Automake generated Makefile or not.
29171 # We used to match only the files named 'Makefile.in', but
29172 # some people rename them; so instead we look at the file content.
29173 # Grep'ing the first line is not enough: some people post-process
29174 # each Makefile.in and add a new line on top of each file to say so.
29175 # Grep'ing the whole file is not good either: AIX grep has a line
29176 # limit of 2048, but all sed's we know have understand at least 4000.
29177 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
29178 dirpart
=`$as_dirname -- "$mf" ||
29179 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29180 X"$mf" : 'X\(//\)[^/]' \| \
29181 X"$mf" : 'X\(//\)$' \| \
29182 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
29184 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29188 /^X\(\/\/\)[^/].*/{
29204 # Extract the definition of DEPDIR, am__include, and am__quote
29205 # from the Makefile without running 'make'.
29206 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
29207 test -z "$DEPDIR" && continue
29208 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
29209 test -z "$am__include" && continue
29210 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
29211 # Find all dependency output files, they are included files with
29212 # $(DEPDIR) in their names. We invoke sed twice because it is the
29213 # simplest approach to changing $(DEPDIR) to its actual value in the
29215 for file in `sed -n "
29216 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
29217 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
29218 # Make sure the directory exists.
29219 test -f "$dirpart/$file" && continue
29220 fdir
=`$as_dirname -- "$file" ||
29221 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29222 X"$file" : 'X\(//\)[^/]' \| \
29223 X"$file" : 'X\(//\)$' \| \
29224 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
29225 $as_echo X"$file" |
29226 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29230 /^X\(\/\/\)[^/].*/{
29243 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
29244 # echo "creating $dirpart/$file"
29245 echo '# dummy' > "$dirpart/$file"
29252 # See if we are running on zsh, and set the options which allow our
29253 # commands through without removal of \ escapes.
29254 if test -n "${ZSH_VERSION+set}" ; then
29255 setopt NO_GLOB_SUBST
29258 cfgfile
="${ofile}T"
29259 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
29262 cat <<_LT_EOF >> "$cfgfile"
29265 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
29266 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
29267 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
29268 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
29270 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
29271 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
29272 # Written by Gordon Matzigkeit, 1996
29274 # This file is part of GNU Libtool.
29276 # GNU Libtool is free software; you can redistribute it and/or
29277 # modify it under the terms of the GNU General Public License as
29278 # published by the Free Software Foundation; either version 2 of
29279 # the License, or (at your option) any later version.
29281 # As a special exception to the GNU General Public License,
29282 # if you distribute this file as part of a program or library that
29283 # is built using GNU Libtool, you may include this file under the
29284 # same distribution terms that you use for the rest of that program.
29286 # GNU Libtool is distributed in the hope that it will be useful,
29287 # but WITHOUT ANY WARRANTY; without even the implied warranty of
29288 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29289 # GNU General Public License for more details.
29291 # You should have received a copy of the GNU General Public License
29292 # along with GNU Libtool; see the file COPYING. If not, a copy
29293 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
29294 # obtained by writing to the Free Software Foundation, Inc.,
29295 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
29298 # The names of the tagged configurations supported by this script.
29299 available_tags="FC "
29301 # ### BEGIN LIBTOOL CONFIG
29303 # A sed program that does not truncate output.
29306 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
29307 Xsed="\$SED -e 1s/^X//"
29309 # A grep program that handles long lines.
29315 # A literal string matcher.
29318 # Shell to use when invoking shell scripts.
29321 # An echo program that protects backslashes.
29324 # Which release of libtool.m4 was used?
29325 macro_version=$macro_version
29326 macro_revision=$macro_revision
29328 # Whether or not to build shared libraries.
29329 build_libtool_libs=$enable_shared
29331 # Whether or not to build static libraries.
29332 build_old_libs=$enable_static
29334 # What type of objects to build.
29337 # Whether or not to optimize for fast installation.
29338 fast_install=$enable_fast_install
29341 host_alias=$host_alias
29345 # The build system.
29346 build_alias=$build_alias
29350 # A BSD- or MS-compatible name lister.
29353 # Whether we need soft or hard links.
29356 # What is the maximum length of a command?
29357 max_cmd_len=$max_cmd_len
29359 # Object file suffix (normally "o").
29362 # Executable file suffix (normally "").
29365 # whether the shell understands "unset".
29368 # turn spaces into newlines.
29371 # turn newlines into spaces.
29374 # An object symbol dumper.
29375 OBJDUMP=$lt_OBJDUMP
29377 # Method to check whether dependent libraries are shared objects.
29378 deplibs_check_method=$lt_deplibs_check_method
29380 # Command to use when deplibs_check_method == "file_magic".
29381 file_magic_cmd=$lt_file_magic_cmd
29385 AR_FLAGS=$lt_AR_FLAGS
29387 # A symbol stripping program.
29390 # Commands used to install an old-style archive.
29392 old_postinstall_cmds=$lt_old_postinstall_cmds
29393 old_postuninstall_cmds=$lt_old_postuninstall_cmds
29395 # Whether to use a lock for old archive extraction.
29396 lock_old_archive_extraction=$lock_old_archive_extraction
29401 # LTCC compiler flags.
29402 LTCFLAGS=$lt_CFLAGS
29404 # Take the output of nm and produce a listing of raw symbols and C names.
29405 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
29407 # Transform the output of nm in a proper C declaration.
29408 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
29410 # Transform the output of nm in a C name address pair.
29411 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
29413 # Transform the output of nm in a C name address pair when lib prefix is needed.
29414 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
29416 # The name of the directory that contains temporary libtool files.
29419 # Used to examine libraries when file_magic_cmd begins with "file".
29420 MAGIC_CMD=$MAGIC_CMD
29422 # Must we lock files when doing compilation?
29423 need_locks=$lt_need_locks
29425 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
29426 DSYMUTIL=$lt_DSYMUTIL
29428 # Tool to change global to local symbols on Mac OS X.
29431 # Tool to manipulate fat objects and archives on Mac OS X.
29434 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
29437 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
29438 OTOOL64=$lt_OTOOL64
29440 # Old archive suffix (normally "a").
29443 # Shared library suffix (normally ".so").
29444 shrext_cmds=$lt_shrext_cmds
29446 # The commands to extract the exported symbol list from a shared archive.
29447 extract_expsyms_cmds=$lt_extract_expsyms_cmds
29449 # Variables whose values should be saved in libtool wrapper scripts and
29450 # restored at link time.
29451 variables_saved_for_relink=$lt_variables_saved_for_relink
29453 # Do we need the "lib" prefix for modules?
29454 need_lib_prefix=$need_lib_prefix
29456 # Do we need a version for libraries?
29457 need_version=$need_version
29459 # Library versioning type.
29460 version_type=$version_type
29462 # Shared library runtime path variable.
29463 runpath_var=$runpath_var
29465 # Shared library path variable.
29466 shlibpath_var=$shlibpath_var
29468 # Is shlibpath searched before the hard-coded library search path?
29469 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
29471 # Format of library name prefix.
29472 libname_spec=$lt_libname_spec
29474 # List of archive names. First name is the real one, the rest are links.
29475 # The last name is the one that the linker finds with -lNAME
29476 library_names_spec=$lt_library_names_spec
29478 # The coded name of the library, if different from the real name.
29479 soname_spec=$lt_soname_spec
29481 # Permission mode override for installation of shared libraries.
29482 install_override_mode=$lt_install_override_mode
29484 # Command to use after installation of a shared archive.
29485 postinstall_cmds=$lt_postinstall_cmds
29487 # Command to use after uninstallation of a shared archive.
29488 postuninstall_cmds=$lt_postuninstall_cmds
29490 # Commands used to finish a libtool library installation in a directory.
29491 finish_cmds=$lt_finish_cmds
29493 # As "finish_cmds", except a single script fragment to be evaled but
29495 finish_eval=$lt_finish_eval
29497 # Whether we should hardcode library paths into libraries.
29498 hardcode_into_libs=$hardcode_into_libs
29500 # Compile-time system search path for libraries.
29501 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
29503 # Run-time system search path for libraries.
29504 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
29506 # Whether dlopen is supported.
29507 dlopen_support=$enable_dlopen
29509 # Whether dlopen of programs is supported.
29510 dlopen_self=$enable_dlopen_self
29512 # Whether dlopen of statically linked programs is supported.
29513 dlopen_self_static=$enable_dlopen_self_static
29515 # Commands to strip libraries.
29516 old_striplib=$lt_old_striplib
29517 striplib=$lt_striplib
29520 # The linker used to build libraries.
29523 # How to create reloadable object files.
29524 reload_flag=$lt_reload_flag
29525 reload_cmds=$lt_reload_cmds
29527 # Commands used to build an old-style archive.
29528 old_archive_cmds=$lt_old_archive_cmds
29530 # A language specific compiler.
29533 # Is the compiler the GNU compiler?
29536 # Compiler flag to turn off builtin functions.
29537 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
29539 # How to pass a linker flag through the compiler.
29540 wl=$lt_lt_prog_compiler_wl
29542 # Additional compiler flags for building library objects.
29543 pic_flag=$lt_lt_prog_compiler_pic
29545 # Compiler flag to prevent dynamic linking.
29546 link_static_flag=$lt_lt_prog_compiler_static
29548 # Does compiler simultaneously support -c and -o options?
29549 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
29551 # Whether or not to add -lc for building shared libraries.
29552 build_libtool_need_lc=$archive_cmds_need_lc
29554 # Whether or not to disallow shared libs when runtime libs are static.
29555 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
29557 # Compiler flag to allow reflexive dlopens.
29558 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
29560 # Compiler flag to generate shared objects directly from archives.
29561 whole_archive_flag_spec=$lt_whole_archive_flag_spec
29563 # Whether the compiler copes with passing no objects directly.
29564 compiler_needs_object=$lt_compiler_needs_object
29566 # Create an old-style archive from a shared archive.
29567 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
29569 # Create a temporary old-style archive to link instead of a shared archive.
29570 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
29572 # Commands used to build a shared archive.
29573 archive_cmds=$lt_archive_cmds
29574 archive_expsym_cmds=$lt_archive_expsym_cmds
29576 # Commands used to build a loadable module if different from building
29577 # a shared archive.
29578 module_cmds=$lt_module_cmds
29579 module_expsym_cmds=$lt_module_expsym_cmds
29581 # Whether we are building with GNU ld or not.
29582 with_gnu_ld=$lt_with_gnu_ld
29584 # Flag that allows shared libraries with undefined symbols to be built.
29585 allow_undefined_flag=$lt_allow_undefined_flag
29587 # Flag that enforces no undefined symbols.
29588 no_undefined_flag=$lt_no_undefined_flag
29590 # Flag to hardcode \$libdir into a binary during linking.
29591 # This must work even if \$libdir does not exist
29592 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
29594 # If ld is used when linking, flag to hardcode \$libdir into a binary
29595 # during linking. This must work even if \$libdir does not exist.
29596 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
29598 # Whether we need a single "-rpath" flag with a separated argument.
29599 hardcode_libdir_separator=$lt_hardcode_libdir_separator
29601 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29602 # DIR into the resulting binary.
29603 hardcode_direct=$hardcode_direct
29605 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29606 # DIR into the resulting binary and the resulting library dependency is
29607 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29608 # library is relocated.
29609 hardcode_direct_absolute=$hardcode_direct_absolute
29611 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29612 # into the resulting binary.
29613 hardcode_minus_L=$hardcode_minus_L
29615 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29616 # into the resulting binary.
29617 hardcode_shlibpath_var=$hardcode_shlibpath_var
29619 # Set to "yes" if building a shared library automatically hardcodes DIR
29620 # into the library and all subsequent libraries and executables linked
29622 hardcode_automatic=$hardcode_automatic
29624 # Set to yes if linker adds runtime paths of dependent libraries
29625 # to runtime path list.
29626 inherit_rpath=$inherit_rpath
29628 # Whether libtool must link a program against all its dependency libraries.
29629 link_all_deplibs=$link_all_deplibs
29631 # Fix the shell variable \$srcfile for the compiler.
29632 fix_srcfile_path=$lt_fix_srcfile_path
29634 # Set to "yes" if exported symbols are required.
29635 always_export_symbols=$always_export_symbols
29637 # The commands to list exported symbols.
29638 export_symbols_cmds=$lt_export_symbols_cmds
29640 # Symbols that should not be listed in the preloaded symbols.
29641 exclude_expsyms=$lt_exclude_expsyms
29643 # Symbols that must always be exported.
29644 include_expsyms=$lt_include_expsyms
29646 # Commands necessary for linking programs (against libraries) with templates.
29647 prelink_cmds=$lt_prelink_cmds
29649 # Specify filename containing input files.
29650 file_list_spec=$lt_file_list_spec
29652 # How to hardcode a shared library path into an executable.
29653 hardcode_action=$hardcode_action
29655 # The directories searched by this compiler when creating a shared library.
29656 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
29658 # Dependencies to place before and after the objects being linked to
29659 # create a shared library.
29660 predep_objects=$lt_predep_objects
29661 postdep_objects=$lt_postdep_objects
29662 predeps=$lt_predeps
29663 postdeps=$lt_postdeps
29665 # The library search path used internally by the compiler when linking
29666 # a shared library.
29667 compiler_lib_search_path=$lt_compiler_lib_search_path
29669 # ### END LIBTOOL CONFIG
29675 cat <<\_LT_EOF
>> "$cfgfile"
29676 # AIX sometimes has problems with the GCC collect2 program. For some
29677 # reason, if we set the COLLECT_NAMES environment variable, the problems
29678 # vanish in a puff of smoke.
29679 if test "X${COLLECT_NAMES+set}" != Xset
; then
29681 export COLLECT_NAMES
29688 ltmain
="$ac_aux_dir/ltmain.sh"
29691 # We use sed instead of cat because bash on DJGPP gets confused if
29692 # if finds mixed CR/LF and LF-only lines. Since sed operates in
29693 # text mode, it properly converts lines to CR/LF. This bash problem
29694 # is reportedly fixed, but why not run on old versions too?
29695 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
29696 ||
(rm -f "$cfgfile"; exit 1)
29700 cat << \_LT_EOF
>> "$cfgfile"
29702 # func_dirname file append nondir_replacement
29703 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
29704 # otherwise set result to NONDIR_REPLACEMENT.
29708 */*) func_dirname_result
="${1%/*}${2}" ;;
29709 * ) func_dirname_result
="${3}" ;;
29713 # func_basename file
29716 func_basename_result
="${1##*/}"
29719 # func_dirname_and_basename file append nondir_replacement
29720 # perform func_basename and func_dirname in a single function
29722 # dirname: Compute the dirname of FILE. If nonempty,
29723 # add APPEND to the result, otherwise set result
29724 # to NONDIR_REPLACEMENT.
29725 # value returned in "$func_dirname_result"
29726 # basename: Compute filename of FILE.
29727 # value retuned in "$func_basename_result"
29728 # Implementation must be kept synchronized with func_dirname
29729 # and func_basename. For efficiency, we do not delegate to
29730 # those functions but instead duplicate the functionality here.
29731 func_dirname_and_basename
()
29734 */*) func_dirname_result
="${1%/*}${2}" ;;
29735 * ) func_dirname_result
="${3}" ;;
29737 func_basename_result
="${1##*/}"
29740 # func_stripname prefix suffix name
29741 # strip PREFIX and SUFFIX off of NAME.
29742 # PREFIX and SUFFIX must not contain globbing or regex special
29743 # characters, hashes, percent signs, but SUFFIX may contain a leading
29744 # dot (in which case that matches only a dot).
29747 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
29748 # positional parameters, so assign one to ordinary parameter first.
29749 func_stripname_result
=${3}
29750 func_stripname_result
=${func_stripname_result#"${1}"}
29751 func_stripname_result
=${func_stripname_result%"${2}"}
29757 func_opt_split_opt
=${1%%=*}
29758 func_opt_split_arg
=${1#*=}
29765 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
29766 *) func_lo2o_result
=${1} ;;
29770 # func_xform libobj-or-source
29773 func_xform_result
=${1%.*}.lo
29776 # func_arith arithmetic-term...
29779 func_arith_result
=$
(( $
* ))
29783 # STRING may not start with a hyphen.
29786 func_len_result
=${#1}
29791 *) # Bourne compatible functions.
29792 cat << \_LT_EOF
>> "$cfgfile"
29794 # func_dirname file append nondir_replacement
29795 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
29796 # otherwise set result to NONDIR_REPLACEMENT.
29799 # Extract subdirectory from the argument.
29800 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
29801 if test "X$func_dirname_result" = "X${1}"; then
29802 func_dirname_result
="${3}"
29804 func_dirname_result
="$func_dirname_result${2}"
29808 # func_basename file
29811 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
29815 # func_stripname prefix suffix name
29816 # strip PREFIX and SUFFIX off of NAME.
29817 # PREFIX and SUFFIX must not contain globbing or regex special
29818 # characters, hashes, percent signs, but SUFFIX may contain a leading
29819 # dot (in which case that matches only a dot).
29820 # func_strip_suffix prefix name
29824 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
29825 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
29830 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
29831 my_sed_long_arg
='1s/^-[^=]*=//'
29836 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
29837 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
29843 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
29846 # func_xform libobj-or-source
29849 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
29852 # func_arith arithmetic-term...
29855 func_arith_result
=`expr "$@"`
29859 # STRING may not start with a hyphen.
29862 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
29868 case $lt_shell_append in
29870 cat << \_LT_EOF
>> "$cfgfile"
29872 # func_append var value
29873 # Append VALUE to the end of shell variable VAR.
29881 cat << \_LT_EOF
>> "$cfgfile"
29883 # func_append var value
29884 # Append VALUE to the end of shell variable VAR.
29895 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
29896 ||
(rm -f "$cfgfile"; exit 1)
29898 mv -f "$cfgfile" "$ofile" ||
29899 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29903 cat <<_LT_EOF >> "$ofile"
29905 # ### BEGIN LIBTOOL TAG CONFIG: FC
29907 # The linker used to build libraries.
29910 # How to create reloadable object files.
29911 reload_flag=$lt_reload_flag_FC
29912 reload_cmds=$lt_reload_cmds_FC
29914 # Commands used to build an old-style archive.
29915 old_archive_cmds=$lt_old_archive_cmds_FC
29917 # A language specific compiler.
29920 # Is the compiler the GNU compiler?
29923 # Compiler flag to turn off builtin functions.
29924 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
29926 # How to pass a linker flag through the compiler.
29927 wl=$lt_lt_prog_compiler_wl_FC
29929 # Additional compiler flags for building library objects.
29930 pic_flag=$lt_lt_prog_compiler_pic_FC
29932 # Compiler flag to prevent dynamic linking.
29933 link_static_flag=$lt_lt_prog_compiler_static_FC
29935 # Does compiler simultaneously support -c and -o options?
29936 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
29938 # Whether or not to add -lc for building shared libraries.
29939 build_libtool_need_lc=$archive_cmds_need_lc_FC
29941 # Whether or not to disallow shared libs when runtime libs are static.
29942 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
29944 # Compiler flag to allow reflexive dlopens.
29945 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
29947 # Compiler flag to generate shared objects directly from archives.
29948 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29950 # Whether the compiler copes with passing no objects directly.
29951 compiler_needs_object=$lt_compiler_needs_object_FC
29953 # Create an old-style archive from a shared archive.
29954 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29956 # Create a temporary old-style archive to link instead of a shared archive.
29957 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29959 # Commands used to build a shared archive.
29960 archive_cmds=$lt_archive_cmds_FC
29961 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29963 # Commands used to build a loadable module if different from building
29964 # a shared archive.
29965 module_cmds=$lt_module_cmds_FC
29966 module_expsym_cmds=$lt_module_expsym_cmds_FC
29968 # Whether we are building with GNU ld or not.
29969 with_gnu_ld=$lt_with_gnu_ld_FC
29971 # Flag that allows shared libraries with undefined symbols to be built.
29972 allow_undefined_flag=$lt_allow_undefined_flag_FC
29974 # Flag that enforces no undefined symbols.
29975 no_undefined_flag=$lt_no_undefined_flag_FC
29977 # Flag to hardcode \$libdir into a binary during linking.
29978 # This must work even if \$libdir does not exist
29979 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29981 # If ld is used when linking, flag to hardcode \$libdir into a binary
29982 # during linking. This must work even if \$libdir does not exist.
29983 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29985 # Whether we need a single "-rpath" flag with a separated argument.
29986 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29988 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29989 # DIR into the resulting binary.
29990 hardcode_direct=$hardcode_direct_FC
29992 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29993 # DIR into the resulting binary and the resulting library dependency is
29994 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29995 # library is relocated.
29996 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29998 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29999 # into the resulting binary.
30000 hardcode_minus_L=$hardcode_minus_L_FC
30002 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
30003 # into the resulting binary.
30004 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
30006 # Set to "yes" if building a shared library automatically hardcodes DIR
30007 # into the library and all subsequent libraries and executables linked
30009 hardcode_automatic=$hardcode_automatic_FC
30011 # Set to yes if linker adds runtime paths of dependent libraries
30012 # to runtime path list.
30013 inherit_rpath=$inherit_rpath_FC
30015 # Whether libtool must link a program against all its dependency libraries.
30016 link_all_deplibs=$link_all_deplibs_FC
30018 # Fix the shell variable \$srcfile for the compiler.
30019 fix_srcfile_path=$lt_fix_srcfile_path_FC
30021 # Set to "yes" if exported symbols are required.
30022 always_export_symbols=$always_export_symbols_FC
30024 # The commands to list exported symbols.
30025 export_symbols_cmds=$lt_export_symbols_cmds_FC
30027 # Symbols that should not be listed in the preloaded symbols.
30028 exclude_expsyms=$lt_exclude_expsyms_FC
30030 # Symbols that must always be exported.
30031 include_expsyms=$lt_include_expsyms_FC
30033 # Commands necessary for linking programs (against libraries) with templates.
30034 prelink_cmds=$lt_prelink_cmds_FC
30036 # Specify filename containing input files.
30037 file_list_spec=$lt_file_list_spec_FC
30039 # How to hardcode a shared library path into an executable.
30040 hardcode_action=$hardcode_action_FC
30042 # The directories searched by this compiler when creating a shared library.
30043 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
30045 # Dependencies to place before and after the objects being linked to
30046 # create a shared library.
30047 predep_objects=$lt_predep_objects_FC
30048 postdep_objects=$lt_postdep_objects_FC
30049 predeps=$lt_predeps_FC
30050 postdeps=$lt_postdeps_FC
30052 # The library search path used internally by the compiler when linking
30053 # a shared library.
30054 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
30056 # ### END LIBTOOL TAG CONFIG: FC
30061 if test "$GCC" = yes; then
30062 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
30064 echo "/* generated for $CC */" > tmp-stdint.h
30067 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30069 #ifndef GCC_GENERATED_STDINT_H
30070 #define GCC_GENERATED_STDINT_H 1
30072 #include <sys/types.h>
30075 if test "$acx_cv_header_stdint" != stdint.h
; then
30076 echo "#include <stddef.h>" >> tmp-stdint.h
30078 if test "$acx_cv_header_stdint" != stddef.h
; then
30079 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
30082 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30083 /* glibc uses these symbols as guards to prevent redefinitions. */
30084 #ifdef __int8_t_defined
30089 #ifdef __uint32_t_defined
30095 # ----------------- done header, emit basic int types -------------
30096 if test "$acx_cv_header_stdint" = stddef.h
; then
30097 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30101 #ifndef __uint8_t_defined
30102 #define __uint8_t_defined
30104 typedef unsigned $acx_cv_type_int8_t uint8_t;
30111 #ifndef __uint16_t_defined
30112 #define __uint16_t_defined
30114 typedef unsigned $acx_cv_type_int16_t uint16_t;
30121 #ifndef __uint32_t_defined
30122 #define __uint32_t_defined
30124 typedef unsigned $acx_cv_type_int32_t uint32_t;
30131 #ifndef __int8_t_defined
30132 #define __int8_t_defined
30134 typedef $acx_cv_type_int8_t int8_t;
30141 #ifndef __int16_t_defined
30142 #define __int16_t_defined
30144 typedef $acx_cv_type_int16_t int16_t;
30151 #ifndef __int32_t_defined
30152 #define __int32_t_defined
30154 typedef $acx_cv_type_int32_t int32_t;
30159 elif test "$ac_cv_type_u_int32_t" = yes; then
30160 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30162 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
30175 #ifndef __uint8_t_defined
30176 #define __uint8_t_defined
30178 typedef u_int8_t uint8_t;
30185 #ifndef __uint16_t_defined
30186 #define __uint16_t_defined
30188 typedef u_int16_t uint16_t;
30195 #ifndef __uint32_t_defined
30196 #define __uint32_t_defined
30198 typedef u_int32_t uint32_t;
30204 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30206 /* Some systems have guard macros to prevent redefinitions, define them. */
30228 # ------------- done basic int types, emit int64_t types ------------
30229 if test "$ac_cv_type_uint64_t" = yes; then
30230 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30232 /* system headers have good uint64_t and int64_t */
30240 elif test "$ac_cv_type_u_int64_t" = yes; then
30241 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30243 /* system headers have an u_int64_t (and int64_t) */
30249 #ifndef __uint64_t_defined
30250 #define __uint64_t_defined
30252 typedef u_int64_t uint64_t;
30257 elif test -n "$acx_cv_type_int64_t"; then
30258 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30260 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
30264 typedef $acx_cv_type_int64_t int64_t;
30269 #ifndef __uint64_t_defined
30270 #define __uint64_t_defined
30272 typedef unsigned $acx_cv_type_int64_t uint64_t;
30278 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30280 /* some common heuristics for int64_t, using compiler-specific tests */
30281 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
30284 #ifndef __int64_t_defined
30286 typedef long long int64_t;
30293 typedef unsigned long long uint64_t;
30297 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
30298 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
30299 does not implement __extension__. But that compiler doesn't define
30301 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
30302 # define __extension__
30308 __extension__ typedef long long int64_t;
30314 __extension__ typedef unsigned long long uint64_t;
30318 #elif !defined __STRICT_ANSI__
30319 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
30324 typedef __int64 int64_t;
30330 typedef unsigned __int64 uint64_t;
30333 # endif /* compiler */
30335 #endif /* ANSI version */
30339 # ------------- done int64_t types, emit intptr types ------------
30340 if test "$ac_cv_type_uintptr_t" != yes; then
30341 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30343 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
30344 #ifndef __uintptr_t_defined
30346 typedef u$acx_cv_type_intptr_t uintptr_t;
30349 #ifndef __intptr_t_defined
30351 typedef $acx_cv_type_intptr_t intptr_t;
30357 # ------------- done intptr types, emit int_least types ------------
30358 if test "$ac_cv_type_int_least32_t" != yes; then
30359 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30361 /* Define int_least types */
30362 typedef int8_t int_least8_t;
30363 typedef int16_t int_least16_t;
30364 typedef int32_t int_least32_t;
30366 typedef int64_t int_least64_t;
30369 typedef uint8_t uint_least8_t;
30370 typedef uint16_t uint_least16_t;
30371 typedef uint32_t uint_least32_t;
30373 typedef uint64_t uint_least64_t;
30378 # ------------- done intptr types, emit int_fast types ------------
30379 if test "$ac_cv_type_int_fast32_t" != yes; then
30380 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30382 /* Define int_fast types. short is often slow */
30383 typedef int8_t int_fast8_t;
30384 typedef int int_fast16_t;
30385 typedef int32_t int_fast32_t;
30387 typedef int64_t int_fast64_t;
30390 typedef uint8_t uint_fast8_t;
30391 typedef unsigned int uint_fast16_t;
30392 typedef uint32_t uint_fast32_t;
30394 typedef uint64_t uint_fast64_t;
30399 if test "$ac_cv_type_uintmax_t" != yes; then
30400 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30402 /* Define intmax based on what we found */
30405 typedef int64_t intmax_t;
30407 typedef long intmax_t;
30412 typedef uint64_t uintmax_t;
30414 typedef unsigned long uintmax_t;
30420 sed 's/^ *//' >> tmp-stdint.h
<<EOF
30422 #endif /* GCC_GENERATED_STDINT_H */
30425 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
30428 mv -f tmp-stdint.h gstdint.h
30439 ac_clean_files
=$ac_clean_files_save
30441 test $ac_write_fail = 0 ||
30442 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
30445 # configure is writing to config.log, and then calls config.status.
30446 # config.status does its own redirection, appending to config.log.
30447 # Unfortunately, on DOS this fails, as config.log is still kept open
30448 # by configure, so config.status won't be able to write to it; its
30449 # output is simply discarded. So we exec the FD to /dev/null,
30450 # effectively closing config.log, so it can be properly (re)opened and
30451 # appended to by config.status. When coming back to configure, we
30452 # need to make the FD available again.
30453 if test "$no_create" != yes; then
30455 ac_config_status_args
=
30456 test "$silent" = yes &&
30457 ac_config_status_args
="$ac_config_status_args --quiet"
30459 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
30461 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
30462 # would make configure fail if this is the last instruction.
30463 $ac_cs_success || as_fn_exit
1
30465 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
30466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
30467 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}