2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for GNU Fortran Runtime Library 0.3.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev
/null
; then :
213 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
225 for as_base
in sh bash ksh sh5
; do
226 # Try only shells that exist, to save several forks.
227 as_shell
=$as_dir/$as_base
228 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 CONFIG_SHELL
=$as_shell as_have_required
=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
239 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
241 CONFIG_SHELL
=$SHELL as_have_required
=yes
246 if test "x$CONFIG_SHELL" != x
; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
256 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x
$as_have_required = xno
; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x
${ZSH_VERSION+set} = xset
; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL
=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE
= GREP_OPTIONS
=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir
=.
/$as_dir;;
329 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
333 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs
="'$as_qdir' $as_dirs"
337 as_dir
=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
363 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p
()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
406 as_val
=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status
=$1; test $as_status -eq 0 && as_status
=1
420 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit
$as_status
427 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
434 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
446 as_me
=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits
='0123456789'
470 as_cr_alnum
=$as_cr_Letters$as_cr_digits
473 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
474 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x
"$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec
=no
; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C
= ECHO_N
= ECHO_T
=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
521 rm -f conf$$ conf$$.exe conf$$.
file
522 if test -d conf$$.dir
; then
523 rm -f conf$$.dir
/conf$$.
file
526 mkdir conf$$.dir
2>/dev
/null
528 if (echo >conf$$.
file) 2>/dev
/null
; then
529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
545 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
546 rmdir conf$$.dir
2>/dev
/null
548 if mkdir
-p .
2>/dev
/null
; then
549 as_mkdir_p
='mkdir -p "$as_dir"'
551 test -d .
/-p && rmdir .
/-p
556 as_executable_p
=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL
=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix
=/usr
/local
580 ac_config_libobj_dir
=.
587 # Identity of this package.
588 PACKAGE_NAME
='GNU Fortran Runtime Library'
589 PACKAGE_TARNAME
='libgfortran'
590 PACKAGE_VERSION
='0.3'
591 PACKAGE_STRING
='GNU Fortran Runtime Library 0.3'
593 PACKAGE_URL
='http://www.gnu.org/software/libgfortran/'
595 # Factoring default headers for most tests.
596 ac_includes_default
="\
598 #ifdef HAVE_SYS_TYPES_H
599 # include <sys/types.h>
601 #ifdef HAVE_SYS_STAT_H
602 # include <sys/stat.h>
608 # ifdef HAVE_STDLIB_H
613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 #ifdef HAVE_STRINGS_H
619 # include <strings.h>
621 #ifdef HAVE_INTTYPES_H
622 # include <inttypes.h>
635 ac_subst_vars
='am__EXEEXT_FALSE
647 LIBGFOR_BUILD_QUAD_FALSE
648 LIBGFOR_BUILD_QUAD_TRUE
653 extra_ldflags_libgfortran
681 LIBGFOR_MINIMAL_FALSE
683 LIBGFOR_USE_SYMVER_SUN_FALSE
684 LIBGFOR_USE_SYMVER_SUN_TRUE
685 LIBGFOR_USE_SYMVER_GNU_FALSE
686 LIBGFOR_USE_SYMVER_GNU_TRUE
687 LIBGFOR_USE_SYMVER_FALSE
688 LIBGFOR_USE_SYMVER_TRUE
715 MAINTAINER_MODE_FALSE
729 INSTALL_STRIP_PROGRAM
792 program_transform_name
805 enable_option_checking
807 enable_version_specific_runtime_libs
810 enable_maintainer_mode
812 enable_dependency_tracking
822 enable_libquadmath_support
823 with_gcc_major_version_only
825 ac_precious_vars
='build_alias
838 # Initialize some variables set by options.
840 ac_init_version
=false
841 ac_unrecognized_opts
=
843 # The variables have the same names as the options, with
844 # dashes changed to underlines.
852 program_transform_name
=s
,x
,x
,
860 # Installation directory options.
861 # These are left unexpanded so users can "make install exec_prefix=/foo"
862 # and all the variables that are supposed to be based on exec_prefix
863 # by default will actually change.
864 # Use braces instead of parens because sh, perl, etc. also accept them.
865 # (The list follows the same order as the GNU Coding Standards.)
866 bindir
='${exec_prefix}/bin'
867 sbindir
='${exec_prefix}/sbin'
868 libexecdir
='${exec_prefix}/libexec'
869 datarootdir
='${prefix}/share'
870 datadir
='${datarootdir}'
871 sysconfdir
='${prefix}/etc'
872 sharedstatedir
='${prefix}/com'
873 localstatedir
='${prefix}/var'
874 runstatedir
='${localstatedir}/run'
875 includedir
='${prefix}/include'
876 oldincludedir
='/usr/include'
877 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
878 infodir
='${datarootdir}/info'
883 libdir
='${exec_prefix}/lib'
884 localedir
='${datarootdir}/locale'
885 mandir
='${datarootdir}/man'
891 # If the previous option needs an argument, assign it.
892 if test -n "$ac_prev"; then
893 eval $ac_prev=\
$ac_option
899 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
904 # Accept the important Cygnus configure options, so we can diagnose typos.
906 case $ac_dashdash$ac_option in
910 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
912 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
915 -build |
--build |
--buil |
--bui |
--bu)
916 ac_prev
=build_alias
;;
917 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
918 build_alias
=$ac_optarg ;;
920 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
921 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
922 ac_prev
=cache_file
;;
923 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
924 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
925 cache_file
=$ac_optarg ;;
928 cache_file
=config.cache
;;
930 -datadir |
--datadir |
--datadi |
--datad)
932 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
933 datadir
=$ac_optarg ;;
935 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
936 |
--dataroo |
--dataro |
--datar)
937 ac_prev
=datarootdir
;;
938 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
939 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
940 datarootdir
=$ac_optarg ;;
942 -disable-* |
--disable-*)
943 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
944 # Reject names that are not valid shell variable names.
945 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
946 as_fn_error $?
"invalid feature name: $ac_useropt"
947 ac_useropt_orig
=$ac_useropt
948 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
949 case $ac_user_opts in
953 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
954 ac_unrecognized_sep
=', ';;
956 eval enable_
$ac_useropt=no
;;
958 -docdir |
--docdir |
--docdi |
--doc |
--do)
960 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
963 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
965 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
968 -enable-* |
--enable-*)
969 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
970 # Reject names that are not valid shell variable names.
971 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
972 as_fn_error $?
"invalid feature name: $ac_useropt"
973 ac_useropt_orig
=$ac_useropt
974 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
975 case $ac_user_opts in
979 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
980 ac_unrecognized_sep
=', ';;
982 eval enable_
$ac_useropt=\
$ac_optarg ;;
984 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
985 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
986 |
--exec |
--exe |
--ex)
987 ac_prev
=exec_prefix
;;
988 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
989 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
990 |
--exec=* |
--exe=* |
--ex=*)
991 exec_prefix
=$ac_optarg ;;
993 -gas |
--gas |
--ga |
--g)
994 # Obsolete; use --with-gas.
997 -help |
--help |
--hel |
--he |
-h)
999 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1000 ac_init_help
=recursive
;;
1001 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1002 ac_init_help
=short
;;
1004 -host |
--host |
--hos |
--ho)
1005 ac_prev
=host_alias
;;
1006 -host=* |
--host=* |
--hos=* |
--ho=*)
1007 host_alias
=$ac_optarg ;;
1009 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1011 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1013 htmldir
=$ac_optarg ;;
1015 -includedir |
--includedir |
--includedi |
--included |
--include \
1016 |
--includ |
--inclu |
--incl |
--inc)
1017 ac_prev
=includedir
;;
1018 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1019 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1020 includedir
=$ac_optarg ;;
1022 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1024 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1025 infodir
=$ac_optarg ;;
1027 -libdir |
--libdir |
--libdi |
--libd)
1029 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1030 libdir
=$ac_optarg ;;
1032 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1033 |
--libexe |
--libex |
--libe)
1034 ac_prev
=libexecdir
;;
1035 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1036 |
--libexe=* |
--libex=* |
--libe=*)
1037 libexecdir
=$ac_optarg ;;
1039 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1040 ac_prev
=localedir
;;
1041 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1042 localedir
=$ac_optarg ;;
1044 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1045 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1046 ac_prev
=localstatedir
;;
1047 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1048 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1049 localstatedir
=$ac_optarg ;;
1051 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1053 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1054 mandir
=$ac_optarg ;;
1056 -nfp |
--nfp |
--nf)
1057 # Obsolete; use --without-fp.
1060 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1061 |
--no-cr |
--no-c |
-n)
1064 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1065 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1068 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1069 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1070 |
--oldin |
--oldi |
--old |
--ol |
--o)
1071 ac_prev
=oldincludedir
;;
1072 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1073 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1074 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1075 oldincludedir
=$ac_optarg ;;
1077 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1079 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1080 prefix
=$ac_optarg ;;
1082 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1083 |
--program-pre |
--program-pr |
--program-p)
1084 ac_prev
=program_prefix
;;
1085 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1086 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1087 program_prefix
=$ac_optarg ;;
1089 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1090 |
--program-suf |
--program-su |
--program-s)
1091 ac_prev
=program_suffix
;;
1092 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1093 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1094 program_suffix
=$ac_optarg ;;
1096 -program-transform-name |
--program-transform-name \
1097 |
--program-transform-nam |
--program-transform-na \
1098 |
--program-transform-n |
--program-transform- \
1099 |
--program-transform |
--program-transfor \
1100 |
--program-transfo |
--program-transf \
1101 |
--program-trans |
--program-tran \
1102 |
--progr-tra |
--program-tr |
--program-t)
1103 ac_prev
=program_transform_name
;;
1104 -program-transform-name=* |
--program-transform-name=* \
1105 |
--program-transform-nam=* |
--program-transform-na=* \
1106 |
--program-transform-n=* |
--program-transform-=* \
1107 |
--program-transform=* |
--program-transfor=* \
1108 |
--program-transfo=* |
--program-transf=* \
1109 |
--program-trans=* |
--program-tran=* \
1110 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1111 program_transform_name
=$ac_optarg ;;
1113 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1115 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1116 pdfdir
=$ac_optarg ;;
1118 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1120 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1123 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1124 |
-silent |
--silent |
--silen |
--sile |
--sil)
1127 -runstatedir |
--runstatedir |
--runstatedi |
--runstated \
1128 |
--runstate |
--runstat |
--runsta |
--runst |
--runs \
1129 |
--run |
--ru |
--r)
1130 ac_prev
=runstatedir
;;
1131 -runstatedir=* |
--runstatedir=* |
--runstatedi=* |
--runstated=* \
1132 |
--runstate=* |
--runstat=* |
--runsta=* |
--runst=* |
--runs=* \
1133 |
--run=* |
--ru=* |
--r=*)
1134 runstatedir
=$ac_optarg ;;
1136 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1138 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1140 sbindir
=$ac_optarg ;;
1142 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1143 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1144 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1146 ac_prev
=sharedstatedir
;;
1147 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1148 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1149 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1151 sharedstatedir
=$ac_optarg ;;
1153 -site |
--site |
--sit)
1155 -site=* |
--site=* |
--sit=*)
1158 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1160 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1161 srcdir
=$ac_optarg ;;
1163 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1164 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1165 ac_prev
=sysconfdir
;;
1166 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1167 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1168 sysconfdir
=$ac_optarg ;;
1170 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1171 ac_prev
=target_alias
;;
1172 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1173 target_alias
=$ac_optarg ;;
1175 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1178 -version |
--version |
--versio |
--versi |
--vers |
-V)
1179 ac_init_version
=: ;;
1182 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1183 # Reject names that are not valid shell variable names.
1184 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1185 as_fn_error $?
"invalid package name: $ac_useropt"
1186 ac_useropt_orig
=$ac_useropt
1187 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1188 case $ac_user_opts in
1192 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1193 ac_unrecognized_sep
=', ';;
1195 eval with_
$ac_useropt=\
$ac_optarg ;;
1197 -without-* |
--without-*)
1198 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1199 # Reject names that are not valid shell variable names.
1200 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1201 as_fn_error $?
"invalid package name: $ac_useropt"
1202 ac_useropt_orig
=$ac_useropt
1203 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1204 case $ac_user_opts in
1208 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1209 ac_unrecognized_sep
=', ';;
1211 eval with_
$ac_useropt=no
;;
1214 # Obsolete; use --with-x.
1217 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1218 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1219 ac_prev
=x_includes
;;
1220 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1221 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1222 x_includes
=$ac_optarg ;;
1224 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1225 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1226 ac_prev
=x_libraries
;;
1227 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1228 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1229 x_libraries
=$ac_optarg ;;
1231 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1232 Try \`$0 --help' for more information"
1236 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1237 # Reject names that are not valid shell variable names.
1238 case $ac_envvar in #(
1239 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1240 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1242 eval $ac_envvar=\
$ac_optarg
1243 export $ac_envvar ;;
1246 # FIXME: should be removed in autoconf 3.0.
1247 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1248 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1249 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1250 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1256 if test -n "$ac_prev"; then
1257 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1258 as_fn_error $?
"missing argument to $ac_option"
1261 if test -n "$ac_unrecognized_opts"; then
1262 case $enable_option_checking in
1264 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1265 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1269 # Check all directory arguments for consistency.
1270 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1271 datadir sysconfdir sharedstatedir localstatedir includedir \
1272 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1273 libdir localedir mandir runstatedir
1275 eval ac_val
=\$
$ac_var
1276 # Remove trailing slashes.
1279 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1280 eval $ac_var=\
$ac_val;;
1282 # Be sure to have absolute directory names.
1284 [\\/$
]* | ?
:[\\/]* ) continue;;
1285 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1287 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1290 # There might be people who depend on the old broken behavior: `$host'
1291 # used to hold the argument of --host etc.
1292 # FIXME: To remove some day.
1295 target
=$target_alias
1297 # FIXME: To remove some day.
1298 if test "x$host_alias" != x
; then
1299 if test "x$build_alias" = x
; then
1300 cross_compiling
=maybe
1301 elif test "x$build_alias" != "x$host_alias"; then
1307 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1309 test "$silent" = yes && exec 6>/dev
/null
1312 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1313 ac_ls_di
=`ls -di .` &&
1314 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1315 as_fn_error $?
"working directory cannot be determined"
1316 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1317 as_fn_error $?
"pwd does not report name of working directory"
1320 # Find the source files, if location was not specified.
1321 if test -z "$srcdir"; then
1322 ac_srcdir_defaulted
=yes
1323 # Try the directory containing this script, then the parent directory.
1324 ac_confdir
=`$as_dirname -- "$as_myself" ||
1325 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1326 X"$as_myself" : 'X\(//\)[^/]' \| \
1327 X"$as_myself" : 'X\(//\)$' \| \
1328 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1329 $as_echo X"$as_myself" |
1330 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1348 if test ! -r "$srcdir/$ac_unique_file"; then
1352 ac_srcdir_defaulted
=no
1354 if test ! -r "$srcdir/$ac_unique_file"; then
1355 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1356 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1358 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1360 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1362 # When building in place, set srcdir=.
1363 if test "$ac_abs_confdir" = "$ac_pwd"; then
1366 # Remove unnecessary trailing slashes from srcdir.
1367 # Double slashes in file names in object file debugging info
1368 # mess up M-x gdb in Emacs.
1370 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1372 for ac_var
in $ac_precious_vars; do
1373 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1374 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1375 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1376 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1380 # Report the --help message.
1382 if test "$ac_init_help" = "long"; then
1383 # Omit some internal or obsolete options to make the list less imposing.
1384 # This message is too long to be a string in the A/UX 3.1 sh.
1386 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1388 Usage: $0 [OPTION]... [VAR=VALUE]...
1390 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1391 VAR=VALUE. See below for descriptions of some of the useful variables.
1393 Defaults for the options are specified in brackets.
1396 -h, --help display this help and exit
1397 --help=short display options specific to this package
1398 --help=recursive display the short help of all the included packages
1399 -V, --version display version information and exit
1400 -q, --quiet, --silent do not print \`checking ...' messages
1401 --cache-file=FILE cache test results in FILE [disabled]
1402 -C, --config-cache alias for \`--cache-file=config.cache'
1403 -n, --no-create do not create output files
1404 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1406 Installation directories:
1407 --prefix=PREFIX install architecture-independent files in PREFIX
1408 [$ac_default_prefix]
1409 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1412 By default, \`make install' will install all the files in
1413 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1414 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1415 for instance \`--prefix=\$HOME'.
1417 For better control, use the options below.
1419 Fine tuning of the installation directories:
1420 --bindir=DIR user executables [EPREFIX/bin]
1421 --sbindir=DIR system admin executables [EPREFIX/sbin]
1422 --libexecdir=DIR program executables [EPREFIX/libexec]
1423 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1424 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1425 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1426 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1427 --libdir=DIR object code libraries [EPREFIX/lib]
1428 --includedir=DIR C header files [PREFIX/include]
1429 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1430 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1431 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1432 --infodir=DIR info documentation [DATAROOTDIR/info]
1433 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1434 --mandir=DIR man documentation [DATAROOTDIR/man]
1435 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1436 --htmldir=DIR html documentation [DOCDIR]
1437 --dvidir=DIR dvi documentation [DOCDIR]
1438 --pdfdir=DIR pdf documentation [DOCDIR]
1439 --psdir=DIR ps documentation [DOCDIR]
1445 --program-prefix=PREFIX prepend PREFIX to installed program names
1446 --program-suffix=SUFFIX append SUFFIX to installed program names
1447 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1450 --build=BUILD configure
for building on BUILD
[guessed
]
1451 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1452 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1456 if test -n "$ac_init_help"; then
1457 case $ac_init_help in
1458 short | recursive
) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1463 --disable-option-checking ignore unrecognized
--enable/--with options
1464 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1465 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1466 --enable-version-specific-runtime-libs
1467 specify that runtime libraries should be installed
1468 in a compiler-specific directory
1469 --enable-intermodule build the library
in one step
1470 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1471 --disable-silent-rules verbose build output
(undo
: "make V=0")
1472 --enable-maintainer-mode
1473 enable make rules and dependencies not useful
(and
1474 sometimes confusing
) to the casual installer
1475 --enable-multilib build many library versions
(default
)
1476 --enable-dependency-tracking
1477 do not reject slow dependency extractors
1478 --disable-dependency-tracking
1479 speeds up one-time build
1480 --enable-cet enable Intel CET
in target libraries
[default
=no
]
1481 --disable-symvers disable symbol versioning
for libgfortran
1482 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1483 --enable-static[=PKGS
] build static libraries
[default
=yes]
1484 --enable-fast-install[=PKGS
]
1485 optimize
for fast installation
[default
=yes]
1486 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1487 --disable-largefile omit support
for large files
1488 --disable-libquadmath-support
1489 disable libquadmath support
for Fortran
1492 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1493 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1494 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1495 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1496 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1498 --with-gcc-major-version-only
1499 use only GCC major number
in filesystem paths
1501 Some influential environment variables
:
1502 CC C compiler
command
1503 CFLAGS C compiler flags
1504 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1505 nonstandard directory
<lib dir
>
1506 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1507 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1508 you have headers
in a nonstandard directory
<include dir
>
1510 FC Fortran compiler
command
1511 FCFLAGS Fortran compiler flags
1513 Use these variables to override the choices made by
`configure' or to help
1514 it to find libraries and programs with nonstandard names/locations.
1516 Report bugs to the package provider.
1517 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1518 General help using GNU software: <http://www.gnu.org/gethelp/>.
1523 if test "$ac_init_help" = "recursive"; then
1524 # If there are subdirs, report their specific --help.
1525 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1526 test -d "$ac_dir" ||
1527 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1532 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1534 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1535 # A ".." for each directory in $ac_dir_suffix.
1536 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1537 case $ac_top_builddir_sub in
1538 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1539 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1542 ac_abs_top_builddir=$ac_pwd
1543 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1544 # for backward compatibility:
1545 ac_top_builddir=$ac_top_build_prefix
1548 .) # We are building in place.
1550 ac_top_srcdir=$ac_top_builddir_sub
1551 ac_abs_top_srcdir=$ac_pwd ;;
1552 [\\/]* | ?:[\\/]* ) # Absolute name.
1553 ac_srcdir=$srcdir$ac_dir_suffix;
1554 ac_top_srcdir=$srcdir
1555 ac_abs_top_srcdir=$srcdir ;;
1557 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1558 ac_top_srcdir=$ac_top_build_prefix$srcdir
1559 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1561 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1563 cd "$ac_dir" || { ac_status=$?; continue; }
1564 # Check for guested configure.
1565 if test -f "$ac_srcdir/configure.gnu"; then
1567 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1568 elif test -f "$ac_srcdir/configure"; then
1570 $SHELL "$ac_srcdir/configure" --help=recursive
1572 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1574 cd "$ac_pwd" || { ac_status=$?; break; }
1578 test -n "$ac_init_help" && exit $ac_status
1579 if $ac_init_version; then
1581 GNU Fortran Runtime Library configure 0.3
1582 generated by GNU Autoconf 2.69
1584 Copyright (C) 2012 Free Software Foundation, Inc.
1585 This configure script is free software; the Free Software Foundation
1586 gives unlimited permission to copy, distribute and modify it.
1591 ## ------------------------ ##
1592 ## Autoconf initialization. ##
1593 ## ------------------------ ##
1595 # ac_fn_c_try_compile LINENO
1596 # --------------------------
1597 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1598 ac_fn_c_try_compile ()
1600 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1601 rm -f conftest.$ac_objext
1602 if { { ac_try="$ac_compile"
1604 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1605 *) ac_try_echo
=$ac_try;;
1607 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1608 $as_echo "$ac_try_echo"; } >&5
1609 (eval "$ac_compile") 2>conftest.err
1611 if test -s conftest.err
; then
1612 grep -v '^ *+' conftest.err
>conftest.er1
1613 cat conftest.er1
>&5
1614 mv -f conftest.er1 conftest.err
1616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1617 test $ac_status = 0; } && {
1618 test -z "$ac_c_werror_flag" ||
1619 test ! -s conftest.err
1620 } && test -s conftest.
$ac_objext; then :
1623 $as_echo "$as_me: failed program was:" >&5
1624 sed 's/^/| /' conftest.
$ac_ext >&5
1628 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1629 as_fn_set_status
$ac_retval
1631 } # ac_fn_c_try_compile
1633 # ac_fn_c_try_cpp LINENO
1634 # ----------------------
1635 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1638 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1639 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1641 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1642 *) ac_try_echo=$ac_try;;
1644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1645 $as_echo "$ac_try_echo"; } >&5
1646 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1648 if test -s conftest.err; then
1649 grep -v '^ *+' conftest.err >conftest.er1
1650 cat conftest.er1 >&5
1651 mv -f conftest.er1 conftest.err
1653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1654 test $ac_status = 0; } > conftest.i && {
1655 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1656 test ! -s conftest.err
1660 $as_echo "$as_me: failed program was:" >&5
1661 sed 's/^/| /' conftest.$ac_ext >&5
1665 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1666 as_fn_set_status $ac_retval
1670 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1671 # -------------------------------------------------------
1672 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1673 # the include files in INCLUDES and setting the cache variable VAR
1675 ac_fn_c_check_header_mongrel ()
1677 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1678 if eval \${$3+:} false; then :
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1680 $as_echo_n "checking for $2... " >&6; }
1681 if eval \${$3+:} false; then :
1682 $as_echo_n "(cached) " >&6
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1686 $as_echo "$ac_res" >&6; }
1688 # Is the header compilable?
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1690 $as_echo_n "checking $2 usability... " >&6; }
1691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1692 /* end confdefs.h. */
1696 if ac_fn_c_try_compile "$LINENO"; then :
1697 ac_header_compiler=yes
1699 ac_header_compiler=no
1701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1703 $as_echo "$ac_header_compiler" >&6; }
1705 # Is the header present?
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1707 $as_echo_n "checking $2 presence... " >&6; }
1708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1709 /* end confdefs.h. */
1712 if ac_fn_c_try_cpp "$LINENO"; then :
1713 ac_header_preproc=yes
1715 ac_header_preproc=no
1717 rm -f conftest.err conftest.i conftest.$ac_ext
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1719 $as_echo "$ac_header_preproc" >&6; }
1721 # So? What about this header?
1722 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1725 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1727 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1731 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1733 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1735 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1737 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1739 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1743 $as_echo_n "checking for $2... " >&6; }
1744 if eval \${$3+:} false; then :
1745 $as_echo_n "(cached) " >&6
1747 eval "$3=\$ac_header_compiler"
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1751 $as_echo "$ac_res" >&6; }
1753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1755 } # ac_fn_c_check_header_mongrel
1757 # ac_fn_c_try_run LINENO
1758 # ----------------------
1759 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1760 # that executables *can* be run.
1763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1764 if { { ac_try="$ac_link"
1766 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1767 *) ac_try_echo
=$ac_try;;
1769 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1770 $as_echo "$ac_try_echo"; } >&5
1771 (eval "$ac_link") 2>&5
1773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1774 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1775 { { case "(($ac_try" in
1776 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1777 *) ac_try_echo=$ac_try;;
1779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1780 $as_echo "$ac_try_echo"; } >&5
1781 (eval "$ac_try") 2>&5
1783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784 test $ac_status = 0; }; }; then :
1787 $as_echo "$as_me: program exited with status $ac_status" >&5
1788 $as_echo "$as_me: failed program was:" >&5
1789 sed 's/^/| /' conftest.$ac_ext >&5
1791 ac_retval=$ac_status
1793 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1794 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1795 as_fn_set_status $ac_retval
1799 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1800 # -------------------------------------------------------
1801 # Tests whether HEADER exists and can be compiled using the include files in
1802 # INCLUDES, setting the cache variable VAR accordingly.
1803 ac_fn_c_check_header_compile ()
1805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1807 $as_echo_n "checking for $2... " >&6; }
1808 if eval \${$3+:} false; then :
1809 $as_echo_n "(cached) " >&6
1811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1812 /* end confdefs.h. */
1816 if ac_fn_c_try_compile "$LINENO"; then :
1821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1825 $as_echo "$ac_res" >&6; }
1826 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1828 } # ac_fn_c_check_header_compile
1830 # ac_fn_c_try_link LINENO
1831 # -----------------------
1832 # Try to link conftest.$ac_ext, and return whether this succeeded.
1835 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1836 rm -f conftest.$ac_objext conftest$ac_exeext
1837 if { { ac_try="$ac_link"
1839 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1840 *) ac_try_echo
=$ac_try;;
1842 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1843 $as_echo "$ac_try_echo"; } >&5
1844 (eval "$ac_link") 2>conftest.err
1846 if test -s conftest.err
; then
1847 grep -v '^ *+' conftest.err
>conftest.er1
1848 cat conftest.er1
>&5
1849 mv -f conftest.er1 conftest.err
1851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1852 test $ac_status = 0; } && {
1853 test -z "$ac_c_werror_flag" ||
1854 test ! -s conftest.err
1855 } && test -s conftest
$ac_exeext && {
1856 test "$cross_compiling" = yes ||
1857 test -x conftest
$ac_exeext
1861 $as_echo "$as_me: failed program was:" >&5
1862 sed 's/^/| /' conftest.
$ac_ext >&5
1866 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1867 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1868 # interfere with the next link command; also delete a directory that is
1869 # left behind by Apple's compiler. We do this before executing the actions.
1870 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1871 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1872 as_fn_set_status
$ac_retval
1874 } # ac_fn_c_try_link
1876 # ac_fn_c_check_func LINENO FUNC VAR
1877 # ----------------------------------
1878 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1879 ac_fn_c_check_func
()
1881 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1883 $as_echo_n "checking for $2... " >&6; }
1884 if eval \
${$3+:} false
; then :
1885 $as_echo_n "(cached) " >&6
1887 if test x
$gcc_no_link = xyes
; then
1888 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1891 /* end confdefs.h. */
1892 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1894 #define $2 innocuous_$2
1896 /* System header to define __stub macros and hopefully few prototypes,
1897 which can conflict with char $2 (); below.
1898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1899 <limits.h> exists even on freestanding compilers. */
1902 # include <limits.h>
1904 # include <assert.h>
1909 /* Override any GCC internal prototype to avoid an error.
1910 Use char because int might match the return type of a GCC
1911 builtin and then its argument prototype would still apply. */
1916 /* The GNU C library defines this for functions which it implements
1917 to always fail with ENOSYS. Some functions are actually named
1918 something starting with __ and the normal name is an alias. */
1919 #if defined __stub_$2 || defined __stub___$2
1931 if ac_fn_c_try_link
"$LINENO"; then :
1936 rm -f core conftest.err conftest.
$ac_objext \
1937 conftest
$ac_exeext conftest.
$ac_ext
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1941 $as_echo "$ac_res" >&6; }
1942 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1944 } # ac_fn_c_check_func
1946 # ac_fn_fc_try_compile LINENO
1947 # ---------------------------
1948 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1949 ac_fn_fc_try_compile
()
1951 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1952 rm -f conftest.
$ac_objext
1953 if { { ac_try
="$ac_compile"
1955 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1956 *) ac_try_echo=$ac_try;;
1958 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1959 $as_echo "$ac_try_echo"; } >&5
1960 (eval "$ac_compile") 2>conftest.err
1962 if test -s conftest.err; then
1963 grep -v '^ *+' conftest.err >conftest.er1
1964 cat conftest.er1 >&5
1965 mv -f conftest.er1 conftest.err
1967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1968 test $ac_status = 0; } && {
1969 test -z "$ac_fc_werror_flag" ||
1970 test ! -s conftest.err
1971 } && test -s conftest.$ac_objext; then :
1974 $as_echo "$as_me: failed program was:" >&5
1975 sed 's/^/| /' conftest.$ac_ext >&5
1979 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1980 as_fn_set_status $ac_retval
1982 } # ac_fn_fc_try_compile
1984 # ac_fn_fc_try_link LINENO
1985 # ------------------------
1986 # Try to link conftest.$ac_ext, and return whether this succeeded.
1987 ac_fn_fc_try_link ()
1989 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1990 rm -f conftest.$ac_objext conftest$ac_exeext
1991 if { { ac_try="$ac_link"
1993 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1994 *) ac_try_echo
=$ac_try;;
1996 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1997 $as_echo "$ac_try_echo"; } >&5
1998 (eval "$ac_link") 2>conftest.err
2000 if test -s conftest.err
; then
2001 grep -v '^ *+' conftest.err
>conftest.er1
2002 cat conftest.er1
>&5
2003 mv -f conftest.er1 conftest.err
2005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2006 test $ac_status = 0; } && {
2007 test -z "$ac_fc_werror_flag" ||
2008 test ! -s conftest.err
2009 } && test -s conftest
$ac_exeext && {
2010 test "$cross_compiling" = yes ||
2011 test -x conftest
$ac_exeext
2015 $as_echo "$as_me: failed program was:" >&5
2016 sed 's/^/| /' conftest.
$ac_ext >&5
2020 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2021 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2022 # interfere with the next link command; also delete a directory that is
2023 # left behind by Apple's compiler. We do this before executing the actions.
2024 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2025 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2026 as_fn_set_status
$ac_retval
2028 } # ac_fn_fc_try_link
2030 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2031 # -------------------------------------------
2032 # Tests whether TYPE exists after having included INCLUDES, setting cache
2033 # variable VAR accordingly.
2034 ac_fn_c_check_type
()
2036 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2038 $as_echo_n "checking for $2... " >&6; }
2039 if eval \
${$3+:} false
; then :
2040 $as_echo_n "(cached) " >&6
2043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2044 /* end confdefs.h. */
2055 if ac_fn_c_try_compile
"$LINENO"; then :
2056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2057 /* end confdefs.h. */
2068 if ac_fn_c_try_compile
"$LINENO"; then :
2073 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2079 $as_echo "$ac_res" >&6; }
2080 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2082 } # ac_fn_c_check_type
2084 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2085 # --------------------------------------------
2086 # Tries to find the compile-time value of EXPR in a program that includes
2087 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2089 ac_fn_c_compute_int
()
2091 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2092 if test "$cross_compiling" = yes; then
2093 # Depending upon the size, compute the lo and hi bounds.
2094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2095 /* end confdefs.h. */
2100 static int test_array [1 - 2 * !(($2) >= 0)];
2102 return test_array [0];
2108 if ac_fn_c_try_compile
"$LINENO"; then :
2111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2112 /* end confdefs.h. */
2117 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2119 return test_array [0];
2125 if ac_fn_c_try_compile
"$LINENO"; then :
2126 ac_hi
=$ac_mid; break
2128 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2129 if test $ac_lo -le $ac_mid; then
2133 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2135 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2139 /* end confdefs.h. */
2144 static int test_array [1 - 2 * !(($2) < 0)];
2146 return test_array [0];
2152 if ac_fn_c_try_compile
"$LINENO"; then :
2155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2156 /* end confdefs.h. */
2161 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2163 return test_array [0];
2169 if ac_fn_c_try_compile
"$LINENO"; then :
2170 ac_lo
=$ac_mid; break
2172 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2173 if test $ac_mid -le $ac_hi; then
2177 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2179 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2186 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2187 # Binary search between lo and hi bounds.
2188 while test "x$ac_lo" != "x$ac_hi"; do
2189 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2191 /* end confdefs.h. */
2196 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2198 return test_array [0];
2204 if ac_fn_c_try_compile
"$LINENO"; then :
2207 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2209 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2212 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2217 /* end confdefs.h. */
2219 static long int longval () { return $2; }
2220 static unsigned long int ulongval () { return $2; }
2227 FILE *f = fopen ("conftest.val", "w");
2232 long int i = longval ();
2235 fprintf (f, "%ld", i);
2239 unsigned long int i = ulongval ();
2242 fprintf (f, "%lu", i);
2244 /* Do not output a trailing newline, as this causes \r\n confusion
2245 on some platforms. */
2246 return ferror (f) || fclose (f) != 0;
2252 if ac_fn_c_try_run
"$LINENO"; then :
2253 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2257 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2258 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2262 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2263 as_fn_set_status
$ac_retval
2265 } # ac_fn_c_compute_int
2267 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2268 # ----------------------------------------------------
2269 # Tries to find if the field MEMBER exists in type AGGR, after including
2270 # INCLUDES, setting cache variable VAR accordingly.
2271 ac_fn_c_check_member
()
2273 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2275 $as_echo_n "checking for $2.$3... " >&6; }
2276 if eval \
${$4+:} false
; then :
2277 $as_echo_n "(cached) " >&6
2279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2280 /* end confdefs.h. */
2292 if ac_fn_c_try_compile
"$LINENO"; then :
2295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2296 /* end confdefs.h. */
2302 if (sizeof ac_aggr.$3)
2308 if ac_fn_c_try_compile
"$LINENO"; then :
2313 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2315 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2319 $as_echo "$ac_res" >&6; }
2320 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2322 } # ac_fn_c_check_member
2323 cat >config.log
<<_ACEOF
2324 This file contains any messages produced by compilers while
2325 running configure, to aid debugging if configure makes a mistake.
2327 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2328 generated by GNU Autoconf 2.69. Invocation command line was
2340 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2341 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2342 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2343 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2344 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2346 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2347 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2349 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2350 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2351 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2352 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2353 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2354 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2355 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2363 test -z "$as_dir" && as_dir
=.
2364 $as_echo "PATH: $as_dir"
2380 # Keep a trace of the command line.
2381 # Strip out --no-create and --no-recursion so they do not pile up.
2382 # Strip out --silent because we don't want to record it for future runs.
2383 # Also quote any args containing shell meta-characters.
2384 # Make two passes to allow for proper duplicate-argument suppression.
2388 ac_must_keep_next
=false
2394 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2395 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2396 |
-silent |
--silent |
--silen |
--sile |
--sil)
2399 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2402 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2404 as_fn_append ac_configure_args1
" '$ac_arg'"
2405 if test $ac_must_keep_next = true
; then
2406 ac_must_keep_next
=false
# Got value, back to normal.
2409 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2410 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2411 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2412 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2413 case "$ac_configure_args0 " in
2414 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2417 -* ) ac_must_keep_next
=true
;;
2420 as_fn_append ac_configure_args
" '$ac_arg'"
2425 { ac_configure_args0
=; unset ac_configure_args0
;}
2426 { ac_configure_args1
=; unset ac_configure_args1
;}
2428 # When interrupted or exit'd, cleanup temporary files, and complete
2429 # config.log. We remove comments because anyway the quotes in there
2430 # would cause problems or look ugly.
2431 # WARNING: Use '\'' to represent an apostrophe within the trap.
2432 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2433 trap 'exit_status=$?
2434 # Save into config.log some information that might help in debugging.
2438 $as_echo "## ---------------- ##
2439 ## Cache variables. ##
2440 ## ---------------- ##"
2442 # The following way of writing the cache mishandles newlines in values,
2444 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2445 eval ac_val=\$$ac_var
2449 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2450 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2453 _ | IFS | as_nl) ;; #(
2454 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2455 *) { eval $ac_var=; unset $ac_var;} ;;
2460 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2461 *${as_nl}ac_space=\ *)
2463 "s/'\''/'\''\\\\'\'''\''/g;
2464 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2467 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2474 $as_echo "## ----------------- ##
2475 ## Output variables. ##
2476 ## ----------------- ##"
2478 for ac_var in $ac_subst_vars
2480 eval ac_val=\$$ac_var
2482 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2484 $as_echo "$ac_var='\''$ac_val'\''"
2488 if test -n "$ac_subst_files"; then
2489 $as_echo "## ------------------- ##
2490 ## File substitutions. ##
2491 ## ------------------- ##"
2493 for ac_var
in $ac_subst_files
2495 eval ac_val
=\$
$ac_var
2497 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2499 $as_echo "$ac_var='\''$ac_val'\''"
2504 if test -s confdefs.h; then
2505 $as_echo "## ----------- ##
2512 test "$ac_signal" != 0 &&
2513 $as_echo "$as_me: caught signal $ac_signal"
2514 $as_echo "$as_me: exit $exit_status"
2516 rm -f core *.core core.conftest.* &&
2517 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2520 for ac_signal
in 1 2 13 15; do
2521 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2525 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2526 rm -f -r conftest
* confdefs.h
2528 $as_echo "/* confdefs.h */" > confdefs.h
2530 # Predefined preprocessor variables.
2532 cat >>confdefs.h
<<_ACEOF
2533 #define PACKAGE_NAME "$PACKAGE_NAME"
2536 cat >>confdefs.h
<<_ACEOF
2537 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2540 cat >>confdefs.h
<<_ACEOF
2541 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2544 cat >>confdefs.h
<<_ACEOF
2545 #define PACKAGE_STRING "$PACKAGE_STRING"
2548 cat >>confdefs.h
<<_ACEOF
2549 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2552 cat >>confdefs.h
<<_ACEOF
2553 #define PACKAGE_URL "$PACKAGE_URL"
2557 # Let the site file select an alternate cache file if it wants to.
2558 # Prefer an explicitly selected file to automatically selected ones.
2561 if test -n "$CONFIG_SITE"; then
2562 # We do not want a PATH search for config.site.
2563 case $CONFIG_SITE in #((
2564 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2565 */*) ac_site_file1
=$CONFIG_SITE;;
2566 *) ac_site_file1
=.
/$CONFIG_SITE;;
2568 elif test "x$prefix" != xNONE
; then
2569 ac_site_file1
=$prefix/share
/config.site
2570 ac_site_file2
=$prefix/etc
/config.site
2572 ac_site_file1
=$ac_default_prefix/share
/config.site
2573 ac_site_file2
=$ac_default_prefix/etc
/config.site
2575 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2577 test "x$ac_site_file" = xNONE
&& continue
2578 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2580 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2581 sed 's/^/| /' "$ac_site_file" >&5
2583 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2585 as_fn_error $?
"failed to load site script $ac_site_file
2586 See \`config.log' for more details" "$LINENO" 5; }
2590 if test -r "$cache_file"; then
2591 # Some versions of bash will fail to source /dev/null (special files
2592 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2593 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2595 $as_echo "$as_me: loading cache $cache_file" >&6;}
2597 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2598 *) .
"./$cache_file";;
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2603 $as_echo "$as_me: creating cache $cache_file" >&6;}
2607 as_fn_append ac_header_list
" unistd.h"
2608 as_fn_append ac_header_list
" sys/random.h"
2609 as_fn_append ac_header_list
" sys/time.h"
2610 as_fn_append ac_header_list
" sys/times.h"
2611 as_fn_append ac_header_list
" sys/resource.h"
2612 as_fn_append ac_header_list
" sys/types.h"
2613 as_fn_append ac_header_list
" sys/stat.h"
2614 as_fn_append ac_header_list
" sys/uio.h"
2615 as_fn_append ac_header_list
" sys/wait.h"
2616 as_fn_append ac_header_list
" floatingpoint.h"
2617 as_fn_append ac_header_list
" ieeefp.h"
2618 as_fn_append ac_header_list
" fenv.h"
2619 as_fn_append ac_header_list
" fptrap.h"
2620 as_fn_append ac_header_list
" fpxcp.h"
2621 as_fn_append ac_header_list
" pwd.h"
2622 as_fn_append ac_header_list
" complex.h"
2623 as_fn_append ac_header_list
" xlocale.h"
2624 as_fn_append ac_func_list
" getrusage"
2625 as_fn_append ac_func_list
" times"
2626 as_fn_append ac_func_list
" mkstemp"
2627 as_fn_append ac_func_list
" strtof"
2628 as_fn_append ac_func_list
" strtold"
2629 as_fn_append ac_func_list
" snprintf"
2630 as_fn_append ac_func_list
" ftruncate"
2631 as_fn_append ac_func_list
" chsize"
2632 as_fn_append ac_func_list
" chdir"
2633 as_fn_append ac_func_list
" getentropy"
2634 as_fn_append ac_func_list
" getlogin"
2635 as_fn_append ac_func_list
" gethostname"
2636 as_fn_append ac_func_list
" kill"
2637 as_fn_append ac_func_list
" link"
2638 as_fn_append ac_func_list
" symlink"
2639 as_fn_append ac_func_list
" sleep"
2640 as_fn_append ac_func_list
" ttyname"
2641 as_fn_append ac_func_list
" sigaction"
2642 as_fn_append ac_func_list
" waitpid"
2643 as_fn_append ac_func_list
" alarm"
2644 as_fn_append ac_func_list
" access"
2645 as_fn_append ac_func_list
" fork"
2646 as_fn_append ac_func_list
" posix_spawn"
2647 as_fn_append ac_func_list
" setmode"
2648 as_fn_append ac_func_list
" fcntl"
2649 as_fn_append ac_func_list
" writev"
2650 as_fn_append ac_func_list
" gettimeofday"
2651 as_fn_append ac_func_list
" stat"
2652 as_fn_append ac_func_list
" fstat"
2653 as_fn_append ac_func_list
" lstat"
2654 as_fn_append ac_func_list
" getpwuid"
2655 as_fn_append ac_func_list
" vsnprintf"
2656 as_fn_append ac_func_list
" dup"
2657 as_fn_append ac_func_list
" getcwd"
2658 as_fn_append ac_func_list
" localtime_r"
2659 as_fn_append ac_func_list
" gmtime_r"
2660 as_fn_append ac_func_list
" getpwuid_r"
2661 as_fn_append ac_func_list
" ttyname_r"
2662 as_fn_append ac_func_list
" clock_gettime"
2663 as_fn_append ac_func_list
" getgid"
2664 as_fn_append ac_func_list
" getpid"
2665 as_fn_append ac_func_list
" getuid"
2666 as_fn_append ac_func_list
" geteuid"
2667 as_fn_append ac_func_list
" umask"
2668 as_fn_append ac_func_list
" getegid"
2669 as_fn_append ac_func_list
" secure_getenv"
2670 as_fn_append ac_func_list
" __secure_getenv"
2671 as_fn_append ac_func_list
" mkostemp"
2672 as_fn_append ac_func_list
" strnlen"
2673 as_fn_append ac_func_list
" strndup"
2674 as_fn_append ac_func_list
" newlocale"
2675 as_fn_append ac_func_list
" freelocale"
2676 as_fn_append ac_func_list
" uselocale"
2677 as_fn_append ac_func_list
" strerror_l"
2678 as_fn_append ac_header_list
" math.h"
2679 # Check that the precious variables saved in the cache have kept the same
2681 ac_cache_corrupted
=false
2682 for ac_var
in $ac_precious_vars; do
2683 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2684 eval ac_new_set
=\
$ac_env_${ac_var}_set
2685 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2686 eval ac_new_val
=\
$ac_env_${ac_var}_value
2687 case $ac_old_set,$ac_new_set in
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2690 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2691 ac_cache_corrupted
=: ;;
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2694 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2695 ac_cache_corrupted
=: ;;
2698 if test "x$ac_old_val" != "x$ac_new_val"; then
2699 # differences in whitespace do not lead to failure.
2700 ac_old_val_w
=`echo x $ac_old_val`
2701 ac_new_val_w
=`echo x $ac_new_val`
2702 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2704 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2705 ac_cache_corrupted
=:
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2708 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2709 eval $ac_var=\
$ac_old_val
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2712 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2714 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2717 # Pass precious variables to config.status.
2718 if test "$ac_new_set" = set; then
2720 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2721 *) ac_arg
=$ac_var=$ac_new_val ;;
2723 case " $ac_configure_args " in
2724 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2725 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2729 if $ac_cache_corrupted; then
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2731 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2733 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2734 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2736 ## -------------------- ##
2737 ## Main body of script. ##
2738 ## -------------------- ##
2741 ac_cpp
='$CPP $CPPFLAGS'
2742 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2743 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2744 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2750 ac_config_headers
="$ac_config_headers config.h"
2753 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2754 if test -f "$ac_dir/install-sh"; then
2756 ac_install_sh
="$ac_aux_dir/install-sh -c"
2758 elif test -f "$ac_dir/install.sh"; then
2760 ac_install_sh
="$ac_aux_dir/install.sh -c"
2762 elif test -f "$ac_dir/shtool"; then
2764 ac_install_sh
="$ac_aux_dir/shtool install -c"
2768 if test -z "$ac_aux_dir"; then
2769 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2772 # These three variables are undocumented and unsupported,
2773 # and are intended to be withdrawn in a future Autoconf release.
2774 # They can cause serious problems if a builder's source tree is in a directory
2775 # whose full name contains unusual characters.
2776 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2777 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2778 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2781 # Make sure we can run config.sub.
2782 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2783 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2786 $as_echo_n "checking build system type... " >&6; }
2787 if ${ac_cv_build+:} false
; then :
2788 $as_echo_n "(cached) " >&6
2790 ac_build_alias
=$build_alias
2791 test "x$ac_build_alias" = x
&&
2792 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2793 test "x$ac_build_alias" = x
&&
2794 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2795 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2796 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2800 $as_echo "$ac_cv_build" >&6; }
2801 case $ac_cv_build in
2803 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2806 ac_save_IFS
=$IFS; IFS
='-'
2812 # Remember, the first character of IFS is used to create $*,
2813 # except with old shells:
2816 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2819 case ${build_alias} in
2820 "") build_noncanonical
=${build} ;;
2821 *) build_noncanonical
=${build_alias} ;;
2824 case ${host_alias} in
2825 "") host_noncanonical
=${build_noncanonical} ;;
2826 *) host_noncanonical
=${host_alias} ;;
2829 case ${target_alias} in
2830 "") target_noncanonical
=${host_noncanonical} ;;
2831 *) target_noncanonical
=${target_alias} ;;
2835 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2836 # have matching libraries, they should use host libraries: Makefile.tpl
2837 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2838 # However, they still use the build modules, because the corresponding
2839 # host modules (e.g. bison) are only built for the host when bootstrap
2841 # - build_subdir is where we find build modules, and never changes.
2842 # - build_libsubdir is where we find build libraries, and can be overridden.
2844 # Prefix 'build-' so this never conflicts with target_subdir.
2845 build_subdir
="build-${build_noncanonical}"
2847 # Check whether --with-build-libsubdir was given.
2848 if test "${with_build_libsubdir+set}" = set; then :
2849 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2851 build_libsubdir
="$build_subdir"
2854 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2855 if ( test $srcdir = .
&& test -d gcc
) \
2856 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2857 host_subdir
="host-${host_noncanonical}"
2862 target_subdir
=${target_noncanonical}
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2870 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2871 # Check whether --enable-version-specific-runtime-libs was given.
2872 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2873 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2874 yes) version_specific_libs
=yes ;;
2875 no
) version_specific_libs
=no
;;
2876 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2879 version_specific_libs
=no
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2883 $as_echo "$version_specific_libs" >&6; }
2885 # Build with intermodule optimisations
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2887 $as_echo_n "checking for --enable-intermodule... " >&6; }
2888 # Check whether --enable-intermodule was given.
2889 if test "${enable_intermodule+set}" = set; then :
2890 enableval
=$enable_intermodule; case "$enable_intermodule" in
2891 yes) onestep
="-onestep";;
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2899 $as_echo "$enable_intermodule" >&6; }
2900 if test x
$onestep = x-onestep
; then
2910 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2912 # You will slowly go insane if you do not grok the following fact: when
2913 # building this library, the top-level /target/ becomes the library's /host/.
2915 # configure then causes --target to default to --host, exactly like any
2916 # other package using autoconf. Therefore, 'target' and 'host' will
2917 # always be the same. This makes sense both for native and cross compilers
2918 # just think about it for a little while. :-)
2920 # Also, if this library is being configured as part of a cross compiler, the
2921 # top-level configure script will pass the "real" host as $with_cross_host.
2923 # Do not delete or change the following two lines. For why, see
2924 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2926 $as_echo_n "checking host system type... " >&6; }
2927 if ${ac_cv_host+:} false
; then :
2928 $as_echo_n "(cached) " >&6
2930 if test "x$host_alias" = x
; then
2931 ac_cv_host
=$ac_cv_build
2933 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2934 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2939 $as_echo "$ac_cv_host" >&6; }
2942 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2945 ac_save_IFS
=$IFS; IFS
='-'
2951 # Remember, the first character of IFS is used to create $*,
2952 # except with old shells:
2955 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2959 $as_echo_n "checking target system type... " >&6; }
2960 if ${ac_cv_target+:} false
; then :
2961 $as_echo_n "(cached) " >&6
2963 if test "x$target_alias" = x
; then
2964 ac_cv_target
=$ac_cv_host
2966 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2967 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2972 $as_echo "$ac_cv_target" >&6; }
2973 case $ac_cv_target in
2975 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2977 target
=$ac_cv_target
2978 ac_save_IFS
=$IFS; IFS
='-'
2984 # Remember, the first character of IFS is used to create $*,
2985 # except with old shells:
2988 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2991 # The aliases save the names the user supplied, while $host etc.
2992 # will get canonicalized.
2993 test -n "$target_alias" &&
2994 test "$program_prefix$program_suffix$program_transform_name" = \
2996 program_prefix
=${target_alias}-
3001 target_alias
=${target_alias-$host_alias}
3004 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3005 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3006 # 1.9.6: minimum required version
3007 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3008 # of other PACKAGE_* variables will, however, and there's nothing
3009 # we can do about that; they come from AC_INIT).
3010 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3011 # file in the top srcdir, etc, etc), so stop complaining.
3012 # no-dist: we don't want 'dist' and related rules.
3013 # -Wall: turns on all automake warnings...
3014 # -Wno-portability: ...except this one, since GNU make is required.
3015 am__api_version
='1.15'
3017 # Find a good install program. We prefer a C program (faster),
3018 # so one script is as good as another. But avoid the broken or
3019 # incompatible versions:
3020 # SysV /etc/install, /usr/sbin/install
3021 # SunOS /usr/etc/install
3022 # IRIX /sbin/install
3024 # AmigaOS /C/install, which installs bootblocks on floppy discs
3025 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3026 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3027 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3028 # OS/2's system install, which has a completely different semantic
3029 # ./install, which can be erroneously created by make from ./install.sh.
3030 # Reject install programs that cannot install multiple files.
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3032 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3033 if test -z "$INSTALL"; then
3034 if ${ac_cv_path_install+:} false
; then :
3035 $as_echo_n "(cached) " >&6
3037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3041 test -z "$as_dir" && as_dir
=.
3042 # Account for people who put trailing slashes in PATH elements.
3043 case $as_dir/ in #((
3044 .
/ | .
// |
/[cC
]/* | \
3045 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3046 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3049 # OSF1 and SCO ODT 3.0 have their own names for install.
3050 # Don't use installbsd from OSF since it installs stuff as root
3052 for ac_prog
in ginstall scoinst
install; do
3053 for ac_exec_ext
in '' $ac_executable_extensions; do
3054 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3055 if test $ac_prog = install &&
3056 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3057 # AIX install. It has an incompatible calling convention.
3059 elif test $ac_prog = install &&
3060 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3061 # program-specific install script used by HP pwplus--don't use.
3064 rm -rf conftest.one conftest.two conftest.dir
3065 echo one
> conftest.one
3066 echo two
> conftest.two
3068 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3069 test -s conftest.one
&& test -s conftest.two
&&
3070 test -s conftest.dir
/conftest.one
&&
3071 test -s conftest.dir
/conftest.two
3073 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3086 rm -rf conftest.one conftest.two conftest.dir
3089 if test "${ac_cv_path_install+set}" = set; then
3090 INSTALL
=$ac_cv_path_install
3092 # As a last resort, use the slow shell script. Don't cache a
3093 # value for INSTALL within a source directory, because that will
3094 # break other packages using the cache if that directory is
3095 # removed, or if the value is a relative name.
3096 INSTALL
=$ac_install_sh
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3100 $as_echo "$INSTALL" >&6; }
3102 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3103 # It thinks the first close brace ends the variable substitution.
3104 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3106 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3108 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3111 $as_echo_n "checking whether build environment is sane... " >&6; }
3112 # Reject unsafe characters in $srcdir or the absolute working directory
3113 # name. Accept space and tab only in the latter.
3117 *[\\\"\
#\$\&\'\`$am_lf]*)
3118 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3121 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3122 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3125 # Do 'set' in a subshell so we don't clobber the current shell's
3126 # arguments. Must try -L first in case configure is actually a
3127 # symlink; some systems play weird games with the mod time of symlinks
3128 # (eg FreeBSD returns the mod time of the symlink's containing
3132 for am_try
in 1 2; do
3133 echo "timestamp, slept: $am_has_slept" > conftest.
file
3134 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3135 if test "$*" = "X"; then
3137 set X
`ls -t "$srcdir/configure" conftest.file`
3139 if test "$*" != "X $srcdir/configure conftest.file" \
3140 && test "$*" != "X conftest.file $srcdir/configure"; then
3142 # If neither matched, then we have a broken ls. This can happen
3143 # if, for instance, CONFIG_SHELL is bash and it inherits a
3144 # broken ls alias from the environment. This has actually
3145 # happened. Such a system could not be considered "sane".
3146 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3147 alias in your environment" "$LINENO" 5
3149 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3156 test "$2" = conftest.
file
3162 as_fn_error $?
"newly created file is older than distributed files!
3163 Check your system clock" "$LINENO" 5
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3166 $as_echo "yes" >&6; }
3167 # If we didn't sleep, we still need to ensure time stamps of config.status and
3168 # generated files are strictly newer.
3170 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3177 test "$program_prefix" != NONE
&&
3178 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3179 # Use a double $ so make ignores it.
3180 test "$program_suffix" != NONE
&&
3181 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3182 # Double any \ or $.
3183 # By default was `s,x,x', remove it if useless.
3184 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3185 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3187 # Expand $ac_aux_dir to an absolute path.
3188 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3190 if test x
"${MISSING+set}" != xset
; then
3193 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3195 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3198 # Use eval to expand $SHELL
3199 if eval "$MISSING --is-lightweight"; then
3200 am_missing_run
="$MISSING "
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3204 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3207 if test x
"${install_sh+set}" != xset
; then
3210 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3212 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3216 # Installed binaries are usually stripped using 'strip' when the user
3217 # run "make install-strip". However 'strip' might not be the right
3218 # tool to use in cross-compilation environments, therefore Automake
3219 # will honor the 'STRIP' environment variable to overrule this program.
3220 if test "$cross_compiling" != no
; then
3221 if test -n "$ac_tool_prefix"; then
3222 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3223 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3225 $as_echo_n "checking for $ac_word... " >&6; }
3226 if ${ac_cv_prog_STRIP+:} false
; then :
3227 $as_echo_n "(cached) " >&6
3229 if test -n "$STRIP"; then
3230 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3236 test -z "$as_dir" && as_dir
=.
3237 for ac_exec_ext
in '' $ac_executable_extensions; do
3238 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3239 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3249 STRIP
=$ac_cv_prog_STRIP
3250 if test -n "$STRIP"; then
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3252 $as_echo "$STRIP" >&6; }
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3255 $as_echo "no" >&6; }
3260 if test -z "$ac_cv_prog_STRIP"; then
3262 # Extract the first word of "strip", so it can be a program name with args.
3263 set dummy strip
; ac_word
=$2
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3265 $as_echo_n "checking for $ac_word... " >&6; }
3266 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3267 $as_echo_n "(cached) " >&6
3269 if test -n "$ac_ct_STRIP"; then
3270 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3276 test -z "$as_dir" && as_dir
=.
3277 for ac_exec_ext
in '' $ac_executable_extensions; do
3278 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3279 ac_cv_prog_ac_ct_STRIP
="strip"
3280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3289 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3290 if test -n "$ac_ct_STRIP"; then
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3292 $as_echo "$ac_ct_STRIP" >&6; }
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3295 $as_echo "no" >&6; }
3298 if test "x$ac_ct_STRIP" = x
; then
3301 case $cross_compiling:$ac_tool_warned in
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3304 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3305 ac_tool_warned
=yes ;;
3310 STRIP
="$ac_cv_prog_STRIP"
3314 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3317 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3318 if test -z "$MKDIR_P"; then
3319 if ${ac_cv_path_mkdir+:} false
; then :
3320 $as_echo_n "(cached) " >&6
3322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3323 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3326 test -z "$as_dir" && as_dir
=.
3327 for ac_prog
in mkdir gmkdir
; do
3328 for ac_exec_ext
in '' $ac_executable_extensions; do
3329 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3330 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3331 'mkdir (GNU coreutils) '* | \
3332 'mkdir (coreutils) '* | \
3333 'mkdir (fileutils) '4.1*)
3334 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3344 test -d .
/--version && rmdir .
/--version
3345 if test "${ac_cv_path_mkdir+set}" = set; then
3346 MKDIR_P
="$ac_cv_path_mkdir -p"
3348 # As a last resort, use the slow shell script. Don't cache a
3349 # value for MKDIR_P within a source directory, because that will
3350 # break other packages using the cache if that directory is
3351 # removed, or if the value is a relative name.
3352 MKDIR_P
="$ac_install_sh -d"
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3356 $as_echo "$MKDIR_P" >&6; }
3358 for ac_prog
in gawk mawk nawk
awk
3360 # Extract the first word of "$ac_prog", so it can be a program name with args.
3361 set dummy
$ac_prog; ac_word
=$2
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3363 $as_echo_n "checking for $ac_word... " >&6; }
3364 if ${ac_cv_prog_AWK+:} false
; then :
3365 $as_echo_n "(cached) " >&6
3367 if test -n "$AWK"; then
3368 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3374 test -z "$as_dir" && as_dir
=.
3375 for ac_exec_ext
in '' $ac_executable_extensions; do
3376 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3377 ac_cv_prog_AWK
="$ac_prog"
3378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3388 if test -n "$AWK"; then
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3390 $as_echo "$AWK" >&6; }
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3393 $as_echo "no" >&6; }
3397 test -n "$AWK" && break
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3401 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3403 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3404 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3405 $as_echo_n "(cached) " >&6
3407 cat >conftest.
make <<\_ACEOF
3410 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3412 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3413 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3415 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3417 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3421 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3423 $as_echo "yes" >&6; }
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3427 $as_echo "no" >&6; }
3428 SET_MAKE
="MAKE=${MAKE-make}"
3431 rm -rf .tst
2>/dev
/null
3432 mkdir .tst
2>/dev
/null
3433 if test -d .tst
; then
3438 rmdir .tst
2>/dev
/null
3440 # Check whether --enable-silent-rules was given.
3441 if test "${enable_silent_rules+set}" = set; then :
3442 enableval
=$enable_silent_rules;
3445 case $enable_silent_rules in # (((
3446 yes) AM_DEFAULT_VERBOSITY
=0;;
3447 no
) AM_DEFAULT_VERBOSITY
=1;;
3448 *) AM_DEFAULT_VERBOSITY
=1;;
3450 am_make
=${MAKE-make}
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3452 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3453 if ${am_cv_make_support_nested_variables+:} false
; then :
3454 $as_echo_n "(cached) " >&6
3456 if $as_echo 'TRUE=$(BAR$(V))
3462 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3463 am_cv_make_support_nested_variables
=yes
3465 am_cv_make_support_nested_variables
=no
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3469 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3470 if test $am_cv_make_support_nested_variables = yes; then
3472 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3474 AM_V
=$AM_DEFAULT_VERBOSITY
3475 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3479 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3480 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3481 # is not polluted with repeated "-I."
3482 am__isrc
=' -I$(srcdir)'
3483 # test to see if srcdir already configured
3484 if test -f $srcdir/config.status
; then
3485 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3489 # test whether we have cygpath
3490 if test -z "$CYGPATH_W"; then
3491 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3492 CYGPATH_W
='cygpath -w'
3499 # Define the identity of the package.
3500 PACKAGE
='libgfortran'
3504 # Some tools Automake needs.
3506 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3509 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3512 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3515 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3518 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3520 # For better backward compatibility. To be removed once Automake 1.9.x
3521 # dies out for good. For more background, see:
3522 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3523 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3524 mkdir_p
='$(MKDIR_P)'
3526 # We need awk for the "check" target (and possibly the TAP driver). The
3527 # system "awk" is bad on some platforms.
3528 # Always define AMTAR for backward compatibility. Yes, it's still used
3529 # in the wild :-( We should find a proper way to deprecate it ...
3533 # We'll loop over all known methods to create a tar archive until one works.
3534 _am_tools
='gnutar pax cpio none'
3536 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3543 # POSIX will say in a future version that running "rm -f" with no argument
3544 # is OK; and we want to be able to make that assumption in our Makefile
3545 # recipes. So use an aggressive probe to check that the usage we want is
3546 # actually supported "in the wild" to an acceptable degree.
3547 # See automake bug#10828.
3548 # To make any issue more visible, cause the running configure to be aborted
3549 # by default if the 'rm' program in use doesn't match our expectations; the
3550 # user can still override this though.
3551 if rm -f && rm -fr && rm -rf; then : OK
; else
3555 Your 'rm' program seems unable to run without file operands specified
3556 on the command line, even when the '-f' option is present. This is contrary
3557 to the behaviour of most rm programs out there, and not conforming with
3558 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3560 Please tell bug-automake@gnu.org about your system, including the value
3561 of your $PATH and any error possibly output before this message. This
3562 can help us improve future automake versions.
3565 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3566 echo 'Configuration will proceed anyway, since you have set the' >&2
3567 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3571 Aborting the configuration process, to ensure you take notice of the issue.
3573 You can download and install GNU coreutils to get an 'rm' implementation
3574 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3576 If you want to complete the configuration process using your problematic
3577 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3578 to "yes", and re-run configure.
3581 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3588 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3589 # Check whether --enable-maintainer-mode was given.
3590 if test "${enable_maintainer_mode+set}" = set; then :
3591 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3593 USE_MAINTAINER_MODE
=no
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3597 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3598 if test $USE_MAINTAINER_MODE = yes; then
3599 MAINTAINER_MODE_TRUE
=
3600 MAINTAINER_MODE_FALSE
='#'
3602 MAINTAINER_MODE_TRUE
='#'
3603 MAINTAINER_MODE_FALSE
=
3606 MAINT
=$MAINTAINER_MODE_TRUE
3609 # Default to --enable-multilib
3610 # Check whether --enable-multilib was given.
3611 if test "${enable_multilib+set}" = set; then :
3612 enableval
=$enable_multilib; case "$enableval" in
3613 yes) multilib
=yes ;;
3615 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3622 # We may get other options which we leave undocumented:
3623 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3624 # See config-ml.in if you want the gory details.
3626 if test "$srcdir" = "."; then
3627 if test "$with_target_subdir" != "."; then
3628 multi_basedir
="$srcdir/$with_multisrctop../.."
3630 multi_basedir
="$srcdir/$with_multisrctop.."
3633 multi_basedir
="$srcdir/.."
3637 # Even if the default multilib is not a cross compilation,
3638 # it may be that some of the other multilibs are.
3639 if test $cross_compiling = no
&& test $multilib = yes \
3640 && test "x${with_multisubdir}" != x
; then
3641 cross_compiling
=maybe
3644 ac_config_commands
="$ac_config_commands default-1"
3647 # Handy for debugging:
3648 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3650 # Are we being configured with some form of cross compiler?
3651 # NB: We don't actually need to know this just now, but when, say, a test
3652 # suite is included, we'll have to know.
3653 if test "$build" != "$host"; then
3654 LIBGFOR_IS_NATIVE
=false
3657 LIBGFOR_IS_NATIVE
=true
3660 DEPDIR
="${am__leading_dot}deps"
3662 ac_config_commands
="$ac_config_commands depfiles"
3665 am_make
=${MAKE-make}
3666 cat > confinc
<< 'END'
3668 @
echo this is the am__doit target
3671 # If we don't find an include directive, just comment out the code.
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3673 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3677 # First try GNU make style include.
3678 echo "include confinc" > confmf
3679 # Ignore all kinds of additional output from 'make'.
3680 case `$am_make -s -f confmf 2> /dev/null` in #(
3681 *the\ am__doit\ target
*)
3687 # Now try BSD make style include.
3688 if test "$am__include" = "#"; then
3689 echo '.include "confinc"' > confmf
3690 case `$am_make -s -f confmf 2> /dev/null` in #(
3691 *the\ am__doit\ target
*)
3692 am__include
=.include
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3701 $as_echo "$_am_result" >&6; }
3702 rm -f confinc confmf
3704 # Check whether --enable-dependency-tracking was given.
3705 if test "${enable_dependency_tracking+set}" = set; then :
3706 enableval
=$enable_dependency_tracking;
3709 if test "x$enable_dependency_tracking" != xno
; then
3710 am_depcomp
="$ac_aux_dir/depcomp"
3714 if test "x$enable_dependency_tracking" != xno; then
3724 ac_cpp
='$CPP $CPPFLAGS'
3725 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3726 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3727 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3728 if test -n "$ac_tool_prefix"; then
3729 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3730 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3732 $as_echo_n "checking for $ac_word... " >&6; }
3733 if ${ac_cv_prog_CC+:} false
; then :
3734 $as_echo_n "(cached) " >&6
3736 if test -n "$CC"; then
3737 ac_cv_prog_CC
="$CC" # Let the user override the test.
3739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3743 test -z "$as_dir" && as_dir
=.
3744 for ac_exec_ext
in '' $ac_executable_extensions; do
3745 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3746 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3757 if test -n "$CC"; then
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3759 $as_echo "$CC" >&6; }
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3762 $as_echo "no" >&6; }
3767 if test -z "$ac_cv_prog_CC"; then
3769 # Extract the first word of "gcc", so it can be a program name with args.
3770 set dummy gcc
; ac_word
=$2
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3772 $as_echo_n "checking for $ac_word... " >&6; }
3773 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3774 $as_echo_n "(cached) " >&6
3776 if test -n "$ac_ct_CC"; then
3777 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3783 test -z "$as_dir" && as_dir
=.
3784 for ac_exec_ext
in '' $ac_executable_extensions; do
3785 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3786 ac_cv_prog_ac_ct_CC
="gcc"
3787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3796 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3797 if test -n "$ac_ct_CC"; then
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3799 $as_echo "$ac_ct_CC" >&6; }
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3802 $as_echo "no" >&6; }
3805 if test "x$ac_ct_CC" = x
; then
3808 case $cross_compiling:$ac_tool_warned in
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3811 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3812 ac_tool_warned
=yes ;;
3820 if test -z "$CC"; then
3821 if test -n "$ac_tool_prefix"; then
3822 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3823 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3825 $as_echo_n "checking for $ac_word... " >&6; }
3826 if ${ac_cv_prog_CC+:} false
; then :
3827 $as_echo_n "(cached) " >&6
3829 if test -n "$CC"; then
3830 ac_cv_prog_CC
="$CC" # Let the user override the test.
3832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3836 test -z "$as_dir" && as_dir
=.
3837 for ac_exec_ext
in '' $ac_executable_extensions; do
3838 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3839 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3850 if test -n "$CC"; then
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3852 $as_echo "$CC" >&6; }
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3855 $as_echo "no" >&6; }
3861 if test -z "$CC"; then
3862 # Extract the first word of "cc", so it can be a program name with args.
3863 set dummy cc
; ac_word
=$2
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3865 $as_echo_n "checking for $ac_word... " >&6; }
3866 if ${ac_cv_prog_CC+:} false
; then :
3867 $as_echo_n "(cached) " >&6
3869 if test -n "$CC"; then
3870 ac_cv_prog_CC
="$CC" # Let the user override the test.
3873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3877 test -z "$as_dir" && as_dir
=.
3878 for ac_exec_ext
in '' $ac_executable_extensions; do
3879 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3880 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3881 ac_prog_rejected
=yes
3885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3892 if test $ac_prog_rejected = yes; then
3893 # We found a bogon in the path, so make sure we never use it.
3894 set dummy
$ac_cv_prog_CC
3896 if test $# != 0; then
3897 # We chose a different compiler from the bogus one.
3898 # However, it has the same basename, so the bogon will be chosen
3899 # first if we set CC to just the basename; use the full file name.
3901 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3907 if test -n "$CC"; then
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3909 $as_echo "$CC" >&6; }
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3912 $as_echo "no" >&6; }
3917 if test -z "$CC"; then
3918 if test -n "$ac_tool_prefix"; then
3919 for ac_prog
in cl.exe
3921 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3922 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3924 $as_echo_n "checking for $ac_word... " >&6; }
3925 if ${ac_cv_prog_CC+:} false
; then :
3926 $as_echo_n "(cached) " >&6
3928 if test -n "$CC"; then
3929 ac_cv_prog_CC
="$CC" # Let the user override the test.
3931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3935 test -z "$as_dir" && as_dir
=.
3936 for ac_exec_ext
in '' $ac_executable_extensions; do
3937 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3938 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3949 if test -n "$CC"; then
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3951 $as_echo "$CC" >&6; }
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3954 $as_echo "no" >&6; }
3958 test -n "$CC" && break
3961 if test -z "$CC"; then
3963 for ac_prog
in cl.exe
3965 # Extract the first word of "$ac_prog", so it can be a program name with args.
3966 set dummy
$ac_prog; ac_word
=$2
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3968 $as_echo_n "checking for $ac_word... " >&6; }
3969 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3970 $as_echo_n "(cached) " >&6
3972 if test -n "$ac_ct_CC"; then
3973 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3979 test -z "$as_dir" && as_dir
=.
3980 for ac_exec_ext
in '' $ac_executable_extensions; do
3981 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3982 ac_cv_prog_ac_ct_CC
="$ac_prog"
3983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3992 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3993 if test -n "$ac_ct_CC"; then
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3995 $as_echo "$ac_ct_CC" >&6; }
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3998 $as_echo "no" >&6; }
4002 test -n "$ac_ct_CC" && break
4005 if test "x$ac_ct_CC" = x
; then
4008 case $cross_compiling:$ac_tool_warned in
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4012 ac_tool_warned
=yes ;;
4021 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4022 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4023 as_fn_error $?
"no acceptable C compiler found in \$PATH
4024 See \`config.log' for more details" "$LINENO" 5; }
4026 # Provide some information about the compiler.
4027 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4030 for ac_option
in --version -v -V -qversion; do
4031 { { ac_try
="$ac_compiler $ac_option >&5"
4033 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4034 *) ac_try_echo=$ac_try;;
4036 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4037 $as_echo "$ac_try_echo"; } >&5
4038 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4040 if test -s conftest.err; then
4042 ... rest of stderr output deleted ...
4043 10q' conftest.err >conftest.er1
4044 cat conftest.er1 >&5
4046 rm -f conftest.er1 conftest.err
4047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4048 test $ac_status = 0; }
4051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4052 /* end confdefs.h. */
4063 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4064 (eval $ac_link) 2>&5
4066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4067 test $ac_status = 0; }; then :
4072 if test x$gcc_no_link = xyes; then
4073 # Setting cross_compile will disable run tests; it will
4074 # also disable AC_CHECK_FILE but that's generally
4075 # correct if we can't link.
4079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4080 /* end confdefs.h. */
4090 ac_clean_files_save=$ac_clean_files
4091 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4092 # Try to create an executable without -o first, disregard a.out.
4093 # It will help us diagnose broken compilers, and finding out an intuition
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4096 $as_echo_n "checking whether the C compiler works... " >&6; }
4097 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4099 # The possible output files:
4100 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4103 for ac_file in $ac_files
4106 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4107 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4112 if { { ac_try="$ac_link_default"
4114 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4115 *) ac_try_echo
=$ac_try;;
4117 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4118 $as_echo "$ac_try_echo"; } >&5
4119 (eval "$ac_link_default") 2>&5
4121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4122 test $ac_status = 0; }; then :
4123 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4124 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4125 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4126 # so that the user can short-circuit this test for compilers unknown to
4128 for ac_file
in $ac_files ''
4130 test -f "$ac_file" ||
continue
4132 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4135 # We found the default executable, but exeext='' is most
4139 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4141 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4143 # We set ac_cv_exeext here because the later test for it is not
4144 # safe: cross compilers may not add the suffix if given an `-o'
4145 # argument, so we may need to know it at that point already.
4146 # Even if this section looks crufty: it has the advantage of
4153 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4158 if test -z "$ac_file"; then :
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4160 $as_echo "no" >&6; }
4161 $as_echo "$as_me: failed program was:" >&5
4162 sed 's/^/| /' conftest.
$ac_ext >&5
4164 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4165 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4166 as_fn_error
77 "C compiler cannot create executables
4167 See \`config.log' for more details" "$LINENO" 5; }
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4170 $as_echo "yes" >&6; }
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4173 $as_echo_n "checking for C compiler default output file name... " >&6; }
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4175 $as_echo "$ac_file" >&6; }
4176 ac_exeext
=$ac_cv_exeext
4178 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4179 ac_clean_files
=$ac_clean_files_save
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4181 $as_echo_n "checking for suffix of executables... " >&6; }
4182 if { { ac_try
="$ac_link"
4184 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4185 *) ac_try_echo=$ac_try;;
4187 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4188 $as_echo "$ac_try_echo"; } >&5
4189 (eval "$ac_link") 2>&5
4191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4192 test $ac_status = 0; }; then :
4193 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4194 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4195 # work properly (i.e., refer to `conftest.exe'), while it won't with
4197 for ac_file
in conftest.exe conftest conftest.
*; do
4198 test -f "$ac_file" ||
continue
4200 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4201 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4207 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4209 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4210 See \`config.log' for more details" "$LINENO" 5; }
4212 rm -f conftest conftest
$ac_cv_exeext
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4214 $as_echo "$ac_cv_exeext" >&6; }
4216 rm -f conftest.
$ac_ext
4217 EXEEXT
=$ac_cv_exeext
4219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4220 /* end confdefs.h. */
4225 FILE *f = fopen ("conftest.out", "w");
4226 return ferror (f) || fclose (f) != 0;
4232 ac_clean_files
="$ac_clean_files conftest.out"
4233 # Check that the compiler produces executables we can run. If not, either
4234 # the compiler is broken, or we cross compile.
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4236 $as_echo_n "checking whether we are cross compiling... " >&6; }
4237 if test "$cross_compiling" != yes; then
4238 { { ac_try
="$ac_link"
4240 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4241 *) ac_try_echo=$ac_try;;
4243 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4244 $as_echo "$ac_try_echo"; } >&5
4245 (eval "$ac_link") 2>&5
4247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4248 test $ac_status = 0; }
4249 if { ac_try='./conftest$ac_cv_exeext'
4250 { { case "(($ac_try" in
4251 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4252 *) ac_try_echo
=$ac_try;;
4254 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4255 $as_echo "$ac_try_echo"; } >&5
4256 (eval "$ac_try") 2>&5
4258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4259 test $ac_status = 0; }; }; then
4262 if test "$cross_compiling" = maybe
; then
4265 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4266 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4267 as_fn_error $?
"cannot run C compiled programs.
4268 If you meant to cross compile, use \`--host'.
4269 See \`config.log' for more details" "$LINENO" 5; }
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4274 $as_echo "$cross_compiling" >&6; }
4276 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4277 ac_clean_files
=$ac_clean_files_save
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4280 $as_echo_n "checking for suffix of object files... " >&6; }
4281 if ${ac_cv_objext+:} false
; then :
4282 $as_echo_n "(cached) " >&6
4284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4285 /* end confdefs.h. */
4295 rm -f conftest.o conftest.obj
4296 if { { ac_try
="$ac_compile"
4298 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4299 *) ac_try_echo=$ac_try;;
4301 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4302 $as_echo "$ac_try_echo"; } >&5
4303 (eval "$ac_compile") 2>&5
4305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4306 test $ac_status = 0; }; then :
4307 for ac_file in conftest.o conftest.obj conftest.*; do
4308 test -f "$ac_file" || continue;
4310 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4311 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4316 $as_echo "$as_me: failed program was:" >&5
4317 sed 's/^/| /' conftest.$ac_ext >&5
4319 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4321 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4322 See \
`config.log' for more details" "$LINENO" 5; }
4324 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4327 $as_echo "$ac_cv_objext" >&6; }
4328 OBJEXT=$ac_cv_objext
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4331 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4332 if ${ac_cv_c_compiler_gnu+:} false; then :
4333 $as_echo_n "(cached) " >&6
4335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4336 /* end confdefs.h. */
4349 if ac_fn_c_try_compile "$LINENO"; then :
4354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4355 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4359 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4360 if test $ac_compiler_gnu = yes; then
4365 ac_test_CFLAGS=${CFLAGS+set}
4366 ac_save_CFLAGS=$CFLAGS
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4368 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4369 if ${ac_cv_prog_cc_g+:} false; then :
4370 $as_echo_n "(cached) " >&6
4372 ac_save_c_werror_flag=$ac_c_werror_flag
4373 ac_c_werror_flag=yes
4376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4377 /* end confdefs.h. */
4387 if ac_fn_c_try_compile "$LINENO"; then :
4391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4392 /* end confdefs.h. */
4402 if ac_fn_c_try_compile "$LINENO"; then :
4405 ac_c_werror_flag=$ac_save_c_werror_flag
4407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4408 /* end confdefs.h. */
4418 if ac_fn_c_try_compile "$LINENO"; then :
4421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4426 ac_c_werror_flag=$ac_save_c_werror_flag
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4429 $as_echo "$ac_cv_prog_cc_g" >&6; }
4430 if test "$ac_test_CFLAGS" = set; then
4431 CFLAGS=$ac_save_CFLAGS
4432 elif test $ac_cv_prog_cc_g = yes; then
4433 if test "$GCC" = yes; then
4439 if test "$GCC" = yes; then
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4446 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4447 if ${ac_cv_prog_cc_c89+:} false; then :
4448 $as_echo_n "(cached) " >&6
4450 ac_cv_prog_cc_c89=no
4452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4453 /* end confdefs.h. */
4457 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4458 struct buf { int x; };
4459 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4460 static char *e (p, i)
4466 static char *f (char * (*g) (char **, int), char **p, ...)
4471 s = g (p, va_arg (v,int));
4476 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4477 function prototypes and stuff, but not '\xHH' hex character constants.
4478 These don't provoke an error unfortunately, instead are silently treated
4479 as 'x'. The following induces an error, until -std is added to get
4480 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4481 array size at least. It's necessary to write '\x00'==0 to get something
4482 that's true only with -std. */
4483 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4485 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4486 inside strings and character constants. */
4488 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4490 int test (int i, double x);
4491 struct s1 {int (*f) (int a);};
4492 struct s2 {int (*f) (double a);};
4493 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4499 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4504 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4505 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4507 CC="$ac_save_CC $ac_arg"
4508 if ac_fn_c_try_compile "$LINENO"; then :
4509 ac_cv_prog_cc_c89=$ac_arg
4511 rm -f core conftest.err conftest.$ac_objext
4512 test "x$ac_cv_prog_cc_c89" != "xno" && break
4514 rm -f conftest.$ac_ext
4519 case "x$ac_cv_prog_cc_c89" in
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4522 $as_echo "none needed" >&6; } ;;
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4525 $as_echo "unsupported" >&6; } ;;
4527 CC="$CC $ac_cv_prog_cc_c89"
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4529 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4531 if test "x$ac_cv_prog_cc_c89" != xno; then :
4536 ac_cpp='$CPP $CPPFLAGS'
4537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4542 ac_cpp='$CPP $CPPFLAGS'
4543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4547 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4548 if ${am_cv_prog_cc_c_o+:} false; then :
4549 $as_echo_n "(cached) " >&6
4551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4552 /* end confdefs.h. */
4562 # Make sure it works both with $CC and with simple cc.
4563 # Following AC_PROG_CC_C_O, we do the test twice because some
4564 # compilers refuse to overwrite an existing .o file with -o,
4565 # though they will create one.
4566 am_cv_prog_cc_c_o=yes
4568 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4569 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572 (exit $ac_status); } \
4573 && test -f conftest2.$ac_objext; then
4576 am_cv_prog_cc_c_o=no
4580 rm -f core conftest*
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4584 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4585 if test "$am_cv_prog_cc_c_o" != yes; then
4586 # Losing compiler, so override with the script.
4587 # FIXME: It is wrong to rewrite CC.
4588 # But if we don't then we get into trouble of one sort or another.
4589 # A longer-term fix would be to have automake use am__CC in this case,
4590 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4591 CC="$am_aux_dir/compile $CC"
4594 ac_cpp='$CPP $CPPFLAGS'
4595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4600 depcc="$CC" am_compiler_list=
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4603 $as_echo_n "checking dependency style of $depcc... " >&6; }
4604 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4605 $as_echo_n "(cached) " >&6
4607 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4608 # We make a subdir and do the tests there. Otherwise we can end up
4609 # making bogus files that we don't know about and never remove. For
4610 # instance it was reported that on HP-UX the gcc test will end up
4611 # making a dummy file named 'D' -- because '-MD' means "put the output
4615 # Copy depcomp to subdir because otherwise we won't find it if we're
4616 # using a relative directory.
4617 cp "$am_depcomp" conftest.dir
4619 # We will build objects and dependencies in a subdirectory because
4620 # it helps to detect inapplicable dependency modes. For instance
4621 # both Tru64's cc and ICC support -MD to output dependencies as a
4622 # side effect of compilation, but ICC will put the dependencies in
4623 # the current directory while Tru64 will put them in the object
4627 am_cv_CC_dependencies_compiler_type=none
4628 if test "$am_compiler_list" = ""; then
4629 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4632 case " $depcc " in #(
4633 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4636 for depmode in $am_compiler_list; do
4637 # Setup a source with many dependencies, because some compilers
4638 # like to wrap large dependency lists on column 80 (with \), and
4639 # we should not choose a depcomp mode which is confused by this.
4641 # We need to recreate these files for each test, as the compiler may
4642 # overwrite some of them when testing with obscure command lines.
4643 # This happens at least with the AIX C compiler.
4645 for i in 1 2 3 4 5 6; do
4646 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4647 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4648 # Solaris 10 /bin/sh.
4649 echo '/* dummy */' > sub/conftst$i.h
4651 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4653 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4654 # mode. It turns out that the SunPro C++ compiler does not properly
4655 # handle '-M -o', and we need to detect this. Also, some Intel
4656 # versions had trouble with output in subdirs.
4657 am__obj=sub/conftest.${OBJEXT-o}
4658 am__minus_obj="-o $am__obj"
4661 # This depmode causes a compiler race in universal mode.
4662 test "$am__universal" = false || continue
4665 # After this tag, mechanisms are not by side-effect, so they'll
4666 # only be used when explicitly requested.
4667 if test "x$enable_dependency_tracking" = xyes; then
4673 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4674 # This compiler won't grok '-c -o', but also, the minuso test has
4675 # not run yet. These depmodes are late enough in the game, and
4676 # so weak that their functioning should not be impacted.
4677 am__obj=conftest.${OBJEXT-o}
4682 if depmode=$depmode \
4683 source=sub/conftest.c object=$am__obj \
4684 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4685 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4686 >/dev/null 2>conftest.err &&
4687 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4688 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4689 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4690 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4691 # icc doesn't choke on unknown options, it will just issue warnings
4692 # or remarks (even with -Werror). So we grep stderr for any message
4693 # that says an option was ignored or not supported.
4694 # When given -MP, icc 7.0 and 7.1 complain thusly:
4695 # icc: Command line warning: ignoring option '-M'; no argument required
4696 # The diagnosis changed in icc 8.0:
4697 # icc: Command line remark: option '-MP' not supported
4698 if (grep 'ignoring option' conftest.err ||
4699 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4700 am_cv_CC_dependencies_compiler_type=$depmode
4709 am_cv_CC_dependencies_compiler_type=none
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4714 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4715 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4718 test "x$enable_dependency_tracking" != xno \
4719 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4721 am__fastdepCC_FALSE='#'
4723 am__fastdepCC_TRUE='#'
4724 am__fastdepCC_FALSE=
4730 ac_cpp='$CPP $CPPFLAGS'
4731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4735 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4736 # On Suns, sometimes $CPP names a directory.
4737 if test -n "$CPP" && test -d "$CPP"; then
4740 if test -z "$CPP"; then
4741 if ${ac_cv_prog_CPP+:} false; then :
4742 $as_echo_n "(cached) " >&6
4744 # Double quotes because CPP needs to be expanded
4745 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4748 for ac_c_preproc_warn_flag in '' yes
4750 # Use a header file that comes with gcc, so configuring glibc
4751 # with a fresh cross-compiler works.
4752 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4753 # <limits.h> exists even on freestanding compilers.
4754 # On the NeXT, cc -E runs the code through the compiler's parser,
4755 # not just through cpp. "Syntax error" is here to catch this case.
4756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4757 /* end confdefs.h. */
4759 # include <limits.h>
4761 # include <assert.h>
4765 if ac_fn_c_try_cpp "$LINENO"; then :
4768 # Broken: fails on valid input.
4771 rm -f conftest.err conftest.i conftest.$ac_ext
4773 # OK, works on sane cases. Now check whether nonexistent headers
4774 # can be detected and how.
4775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4776 /* end confdefs.h. */
4777 #include <ac_nonexistent.h>
4779 if ac_fn_c_try_cpp "$LINENO"; then :
4780 # Broken: success on invalid input.
4783 # Passes both tests.
4787 rm -f conftest.err conftest.i conftest.$ac_ext
4790 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4791 rm -f conftest.i conftest.err conftest.
$ac_ext
4792 if $ac_preproc_ok; then :
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4805 $as_echo "$CPP" >&6; }
4807 for ac_c_preproc_warn_flag
in '' yes
4809 # Use a header file that comes with gcc, so configuring glibc
4810 # with a fresh cross-compiler works.
4811 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4812 # <limits.h> exists even on freestanding compilers.
4813 # On the NeXT, cc -E runs the code through the compiler's parser,
4814 # not just through cpp. "Syntax error" is here to catch this case.
4815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4816 /* end confdefs.h. */
4818 # include <limits.h>
4820 # include <assert.h>
4824 if ac_fn_c_try_cpp
"$LINENO"; then :
4827 # Broken: fails on valid input.
4830 rm -f conftest.err conftest.i conftest.
$ac_ext
4832 # OK, works on sane cases. Now check whether nonexistent headers
4833 # can be detected and how.
4834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4835 /* end confdefs.h. */
4836 #include <ac_nonexistent.h>
4838 if ac_fn_c_try_cpp
"$LINENO"; then :
4839 # Broken: success on invalid input.
4842 # Passes both tests.
4846 rm -f conftest.err conftest.i conftest.
$ac_ext
4849 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4850 rm -f conftest.i conftest.err conftest.
$ac_ext
4851 if $ac_preproc_ok; then :
4854 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4855 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4856 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4857 See \`config.log' for more details" "$LINENO" 5; }
4861 ac_cpp
='$CPP $CPPFLAGS'
4862 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4863 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4864 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4868 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4869 if ${ac_cv_path_GREP+:} false
; then :
4870 $as_echo_n "(cached) " >&6
4872 if test -z "$GREP"; then
4873 ac_path_GREP_found
=false
4874 # Loop through the user's path and test for each of PROGNAME-LIST
4875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4876 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4879 test -z "$as_dir" && as_dir
=.
4880 for ac_prog
in grep ggrep
; do
4881 for ac_exec_ext
in '' $ac_executable_extensions; do
4882 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4883 as_fn_executable_p
"$ac_path_GREP" ||
continue
4884 # Check for GNU ac_path_GREP and select it if it is found.
4885 # Check for GNU $ac_path_GREP
4886 case `"$ac_path_GREP" --version 2>&1` in
4888 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4891 $as_echo_n 0123456789 >"conftest.in"
4894 cat "conftest.in" "conftest.in" >"conftest.tmp"
4895 mv "conftest.tmp" "conftest.in"
4896 cp "conftest.in" "conftest.nl"
4897 $as_echo 'GREP' >> "conftest.nl"
4898 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4899 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4900 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4901 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4902 # Best one so far, save it but keep looking for a better one
4903 ac_cv_path_GREP
="$ac_path_GREP"
4904 ac_path_GREP_max
=$ac_count
4906 # 10*(2^10) chars as input seems more than enough
4907 test $ac_count -gt 10 && break
4909 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4912 $ac_path_GREP_found && break 3
4917 if test -z "$ac_cv_path_GREP"; then
4918 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4921 ac_cv_path_GREP
=$GREP
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4926 $as_echo "$ac_cv_path_GREP" >&6; }
4927 GREP
="$ac_cv_path_GREP"
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4931 $as_echo_n "checking for egrep... " >&6; }
4932 if ${ac_cv_path_EGREP+:} false
; then :
4933 $as_echo_n "(cached) " >&6
4935 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4936 then ac_cv_path_EGREP
="$GREP -E"
4938 if test -z "$EGREP"; then
4939 ac_path_EGREP_found
=false
4940 # Loop through the user's path and test for each of PROGNAME-LIST
4941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4942 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4945 test -z "$as_dir" && as_dir
=.
4946 for ac_prog
in egrep; do
4947 for ac_exec_ext
in '' $ac_executable_extensions; do
4948 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4949 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4950 # Check for GNU ac_path_EGREP and select it if it is found.
4951 # Check for GNU $ac_path_EGREP
4952 case `"$ac_path_EGREP" --version 2>&1` in
4954 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4957 $as_echo_n 0123456789 >"conftest.in"
4960 cat "conftest.in" "conftest.in" >"conftest.tmp"
4961 mv "conftest.tmp" "conftest.in"
4962 cp "conftest.in" "conftest.nl"
4963 $as_echo 'EGREP' >> "conftest.nl"
4964 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4965 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4966 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4967 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4968 # Best one so far, save it but keep looking for a better one
4969 ac_cv_path_EGREP
="$ac_path_EGREP"
4970 ac_path_EGREP_max
=$ac_count
4972 # 10*(2^10) chars as input seems more than enough
4973 test $ac_count -gt 10 && break
4975 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4978 $ac_path_EGREP_found && break 3
4983 if test -z "$ac_cv_path_EGREP"; then
4984 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4987 ac_cv_path_EGREP
=$EGREP
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4993 $as_echo "$ac_cv_path_EGREP" >&6; }
4994 EGREP
="$ac_cv_path_EGREP"
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4998 $as_echo_n "checking for ANSI C header files... " >&6; }
4999 if ${ac_cv_header_stdc+:} false
; then :
5000 $as_echo_n "(cached) " >&6
5002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5003 /* end confdefs.h. */
5017 if ac_fn_c_try_compile
"$LINENO"; then :
5018 ac_cv_header_stdc
=yes
5020 ac_cv_header_stdc
=no
5022 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5024 if test $ac_cv_header_stdc = yes; then
5025 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5027 /* end confdefs.h. */
5031 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5032 $EGREP "memchr" >/dev
/null
2>&1; then :
5035 ac_cv_header_stdc
=no
5041 if test $ac_cv_header_stdc = yes; then
5042 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5044 /* end confdefs.h. */
5048 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5049 $EGREP "free" >/dev
/null
2>&1; then :
5052 ac_cv_header_stdc
=no
5058 if test $ac_cv_header_stdc = yes; then
5059 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5060 if test "$cross_compiling" = yes; then :
5063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5064 /* end confdefs.h. */
5067 #if ((' ' & 0x0FF) == 0x020)
5068 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5069 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5071 # define ISLOWER(c) \
5072 (('a' <= (c) && (c) <= 'i') \
5073 || ('j' <= (c) && (c) <= 'r') \
5074 || ('s' <= (c) && (c) <= 'z'))
5075 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5078 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5083 for (i = 0; i < 256; i++)
5084 if (XOR (islower (i), ISLOWER (i))
5085 || toupper (i) != TOUPPER (i))
5090 if ac_fn_c_try_run
"$LINENO"; then :
5093 ac_cv_header_stdc
=no
5095 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5096 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5102 $as_echo "$ac_cv_header_stdc" >&6; }
5103 if test $ac_cv_header_stdc = yes; then
5105 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5109 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5110 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5111 inttypes.h stdint.h unistd.h
5113 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5114 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5116 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5117 cat >>confdefs.h
<<_ACEOF
5118 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5127 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5128 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
5135 if test "$MINIX" = yes; then
5137 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5140 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5143 $as_echo "#define _MINIX 1" >>confdefs.h
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5149 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5150 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
5151 $as_echo_n "(cached) " >&6
5153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5154 /* end confdefs.h. */
5156 # define __EXTENSIONS__ 1
5157 $ac_includes_default
5166 if ac_fn_c_try_compile
"$LINENO"; then :
5167 ac_cv_safe_to_define___extensions__
=yes
5169 ac_cv_safe_to_define___extensions__
=no
5171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5174 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5175 test $ac_cv_safe_to_define___extensions__ = yes &&
5176 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5178 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5180 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5182 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5184 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5188 # Calculate toolexeclibdir
5189 # Also toolexecdir, though it's only used in toolexeclibdir
5190 case ${version_specific_libs} in
5192 # Need the gcc compiler version to know where to install libraries
5193 # and header files if --enable-version-specific-runtime-libs option
5195 toolexecdir
='$(libdir)/gcc/$(target_alias)'
5196 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5199 if test -n "$with_cross_host" &&
5200 test x
"$with_cross_host" != x
"no"; then
5201 # Install a library built with a cross compiler in tooldir, not libdir.
5202 toolexecdir
='$(exec_prefix)/$(target_alias)'
5203 toolexeclibdir
='$(toolexecdir)/lib'
5205 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
5206 toolexeclibdir
='$(libdir)'
5208 multi_os_directory
=`$CC -print-multi-os-directory`
5209 case $multi_os_directory in
5210 .
) ;; # Avoid trailing /.
5211 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
5218 # Create a spec file, so that compile/link tests don't fail
5219 test -f libgfortran.spec ||
touch libgfortran.spec
5222 ac_cpp
='$CPP $CPPFLAGS'
5223 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5224 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5225 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5227 # Check the compiler.
5228 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
5229 # We must force CC to /not/ be precious variables; otherwise
5230 # the wrong, non-multilib-adjusted value will be used in multilibs.
5231 # As a side effect, we have to subst CFLAGS ourselves.
5236 ac_cpp
='$CPP $CPPFLAGS'
5237 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5238 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5239 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5240 if test -n "$ac_tool_prefix"; then
5241 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5242 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5244 $as_echo_n "checking for $ac_word... " >&6; }
5245 if ${ac_cv_prog_CC+:} false
; then :
5246 $as_echo_n "(cached) " >&6
5248 if test -n "$CC"; then
5249 ac_cv_prog_CC
="$CC" # Let the user override the test.
5251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5255 test -z "$as_dir" && as_dir
=.
5256 for ac_exec_ext
in '' $ac_executable_extensions; do
5257 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5258 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5269 if test -n "$CC"; then
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5271 $as_echo "$CC" >&6; }
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5274 $as_echo "no" >&6; }
5279 if test -z "$ac_cv_prog_CC"; then
5281 # Extract the first word of "gcc", so it can be a program name with args.
5282 set dummy gcc
; ac_word
=$2
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5284 $as_echo_n "checking for $ac_word... " >&6; }
5285 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5286 $as_echo_n "(cached) " >&6
5288 if test -n "$ac_ct_CC"; then
5289 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5295 test -z "$as_dir" && as_dir
=.
5296 for ac_exec_ext
in '' $ac_executable_extensions; do
5297 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5298 ac_cv_prog_ac_ct_CC
="gcc"
5299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5308 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5309 if test -n "$ac_ct_CC"; then
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5311 $as_echo "$ac_ct_CC" >&6; }
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5314 $as_echo "no" >&6; }
5317 if test "x$ac_ct_CC" = x
; then
5320 case $cross_compiling:$ac_tool_warned in
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5323 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5324 ac_tool_warned
=yes ;;
5332 if test -z "$CC"; then
5333 if test -n "$ac_tool_prefix"; then
5334 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5335 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5337 $as_echo_n "checking for $ac_word... " >&6; }
5338 if ${ac_cv_prog_CC+:} false
; then :
5339 $as_echo_n "(cached) " >&6
5341 if test -n "$CC"; then
5342 ac_cv_prog_CC
="$CC" # Let the user override the test.
5344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5348 test -z "$as_dir" && as_dir
=.
5349 for ac_exec_ext
in '' $ac_executable_extensions; do
5350 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5351 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5362 if test -n "$CC"; then
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5364 $as_echo "$CC" >&6; }
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5367 $as_echo "no" >&6; }
5373 if test -z "$CC"; then
5374 # Extract the first word of "cc", so it can be a program name with args.
5375 set dummy cc
; ac_word
=$2
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5377 $as_echo_n "checking for $ac_word... " >&6; }
5378 if ${ac_cv_prog_CC+:} false
; then :
5379 $as_echo_n "(cached) " >&6
5381 if test -n "$CC"; then
5382 ac_cv_prog_CC
="$CC" # Let the user override the test.
5385 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5389 test -z "$as_dir" && as_dir
=.
5390 for ac_exec_ext
in '' $ac_executable_extensions; do
5391 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5392 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5393 ac_prog_rejected
=yes
5397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5404 if test $ac_prog_rejected = yes; then
5405 # We found a bogon in the path, so make sure we never use it.
5406 set dummy
$ac_cv_prog_CC
5408 if test $# != 0; then
5409 # We chose a different compiler from the bogus one.
5410 # However, it has the same basename, so the bogon will be chosen
5411 # first if we set CC to just the basename; use the full file name.
5413 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5419 if test -n "$CC"; then
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5421 $as_echo "$CC" >&6; }
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5424 $as_echo "no" >&6; }
5429 if test -z "$CC"; then
5430 if test -n "$ac_tool_prefix"; then
5431 for ac_prog
in cl.exe
5433 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5434 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5436 $as_echo_n "checking for $ac_word... " >&6; }
5437 if ${ac_cv_prog_CC+:} false
; then :
5438 $as_echo_n "(cached) " >&6
5440 if test -n "$CC"; then
5441 ac_cv_prog_CC
="$CC" # Let the user override the test.
5443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5447 test -z "$as_dir" && as_dir
=.
5448 for ac_exec_ext
in '' $ac_executable_extensions; do
5449 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5450 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5461 if test -n "$CC"; then
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5463 $as_echo "$CC" >&6; }
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5466 $as_echo "no" >&6; }
5470 test -n "$CC" && break
5473 if test -z "$CC"; then
5475 for ac_prog
in cl.exe
5477 # Extract the first word of "$ac_prog", so it can be a program name with args.
5478 set dummy
$ac_prog; ac_word
=$2
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5480 $as_echo_n "checking for $ac_word... " >&6; }
5481 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5482 $as_echo_n "(cached) " >&6
5484 if test -n "$ac_ct_CC"; then
5485 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5491 test -z "$as_dir" && as_dir
=.
5492 for ac_exec_ext
in '' $ac_executable_extensions; do
5493 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5494 ac_cv_prog_ac_ct_CC
="$ac_prog"
5495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5504 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5505 if test -n "$ac_ct_CC"; then
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5507 $as_echo "$ac_ct_CC" >&6; }
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5510 $as_echo "no" >&6; }
5514 test -n "$ac_ct_CC" && break
5517 if test "x$ac_ct_CC" = x
; then
5520 case $cross_compiling:$ac_tool_warned in
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5524 ac_tool_warned
=yes ;;
5533 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5534 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5535 as_fn_error $?
"no acceptable C compiler found in \$PATH
5536 See \`config.log' for more details" "$LINENO" 5; }
5538 # Provide some information about the compiler.
5539 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5542 for ac_option
in --version -v -V -qversion; do
5543 { { ac_try
="$ac_compiler $ac_option >&5"
5545 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5546 *) ac_try_echo=$ac_try;;
5548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5549 $as_echo "$ac_try_echo"; } >&5
5550 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5552 if test -s conftest.err; then
5554 ... rest of stderr output deleted ...
5555 10q' conftest.err >conftest.er1
5556 cat conftest.er1 >&5
5558 rm -f conftest.er1 conftest.err
5559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5560 test $ac_status = 0; }
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5564 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5565 if ${ac_cv_c_compiler_gnu+:} false; then :
5566 $as_echo_n "(cached) " >&6
5568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5569 /* end confdefs.h. */
5582 if ac_fn_c_try_compile "$LINENO"; then :
5587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5588 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5592 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5593 if test $ac_compiler_gnu = yes; then
5598 ac_test_CFLAGS=${CFLAGS+set}
5599 ac_save_CFLAGS=$CFLAGS
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5601 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5602 if ${ac_cv_prog_cc_g+:} false; then :
5603 $as_echo_n "(cached) " >&6
5605 ac_save_c_werror_flag=$ac_c_werror_flag
5606 ac_c_werror_flag=yes
5609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5610 /* end confdefs.h. */
5620 if ac_fn_c_try_compile "$LINENO"; then :
5624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5625 /* end confdefs.h. */
5635 if ac_fn_c_try_compile "$LINENO"; then :
5638 ac_c_werror_flag=$ac_save_c_werror_flag
5640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5641 /* end confdefs.h. */
5651 if ac_fn_c_try_compile "$LINENO"; then :
5654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5659 ac_c_werror_flag=$ac_save_c_werror_flag
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5662 $as_echo "$ac_cv_prog_cc_g" >&6; }
5663 if test "$ac_test_CFLAGS" = set; then
5664 CFLAGS=$ac_save_CFLAGS
5665 elif test $ac_cv_prog_cc_g = yes; then
5666 if test "$GCC" = yes; then
5672 if test "$GCC" = yes; then
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5679 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5680 if ${ac_cv_prog_cc_c89+:} false; then :
5681 $as_echo_n "(cached) " >&6
5683 ac_cv_prog_cc_c89=no
5685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5686 /* end confdefs.h. */
5690 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5691 struct buf { int x; };
5692 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5693 static char *e (p, i)
5699 static char *f (char * (*g) (char **, int), char **p, ...)
5704 s = g (p, va_arg (v,int));
5709 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5710 function prototypes and stuff, but not '\xHH' hex character constants.
5711 These don't provoke an error unfortunately, instead are silently treated
5712 as 'x'. The following induces an error, until -std is added to get
5713 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5714 array size at least. It's necessary to write '\x00'==0 to get something
5715 that's true only with -std. */
5716 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5718 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5719 inside strings and character constants. */
5721 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5723 int test (int i, double x);
5724 struct s1 {int (*f) (int a);};
5725 struct s2 {int (*f) (double a);};
5726 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5732 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5737 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5738 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5740 CC="$ac_save_CC $ac_arg"
5741 if ac_fn_c_try_compile "$LINENO"; then :
5742 ac_cv_prog_cc_c89=$ac_arg
5744 rm -f core conftest.err conftest.$ac_objext
5745 test "x$ac_cv_prog_cc_c89" != "xno" && break
5747 rm -f conftest.$ac_ext
5752 case "x$ac_cv_prog_cc_c89" in
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5755 $as_echo "none needed" >&6; } ;;
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5758 $as_echo "unsupported" >&6; } ;;
5760 CC="$CC $ac_cv_prog_cc_c89"
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5762 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5764 if test "x$ac_cv_prog_cc_c89" != xno; then :
5769 ac_cpp='$CPP $CPPFLAGS'
5770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5775 ac_cpp='$CPP $CPPFLAGS'
5776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5780 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5781 if ${am_cv_prog_cc_c_o+:} false; then :
5782 $as_echo_n "(cached) " >&6
5784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5785 /* end confdefs.h. */
5795 # Make sure it works both with $CC and with simple cc.
5796 # Following AC_PROG_CC_C_O, we do the test twice because some
5797 # compilers refuse to overwrite an existing .o file with -o,
5798 # though they will create one.
5799 am_cv_prog_cc_c_o=yes
5801 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5802 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5805 (exit $ac_status); } \
5806 && test -f conftest2.$ac_objext; then
5809 am_cv_prog_cc_c_o=no
5813 rm -f core conftest*
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5817 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5818 if test "$am_cv_prog_cc_c_o" != yes; then
5819 # Losing compiler, so override with the script.
5820 # FIXME: It is wrong to rewrite CC.
5821 # But if we don't then we get into trouble of one sort or another.
5822 # A longer-term fix would be to have automake use am__CC in this case,
5823 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5824 CC="$am_aux_dir/compile $CC"
5827 ac_cpp='$CPP $CPPFLAGS'
5828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5833 depcc="$CC" am_compiler_list=
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5836 $as_echo_n "checking dependency style of $depcc... " >&6; }
5837 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5838 $as_echo_n "(cached) " >&6
5840 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5841 # We make a subdir and do the tests there. Otherwise we can end up
5842 # making bogus files that we don't know about and never remove. For
5843 # instance it was reported that on HP-UX the gcc test will end up
5844 # making a dummy file named 'D' -- because '-MD' means "put the output
5848 # Copy depcomp to subdir because otherwise we won't find it if we're
5849 # using a relative directory.
5850 cp "$am_depcomp" conftest.dir
5852 # We will build objects and dependencies in a subdirectory because
5853 # it helps to detect inapplicable dependency modes. For instance
5854 # both Tru64's cc and ICC support -MD to output dependencies as a
5855 # side effect of compilation, but ICC will put the dependencies in
5856 # the current directory while Tru64 will put them in the object
5860 am_cv_CC_dependencies_compiler_type=none
5861 if test "$am_compiler_list" = ""; then
5862 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5865 case " $depcc " in #(
5866 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5869 for depmode in $am_compiler_list; do
5870 # Setup a source with many dependencies, because some compilers
5871 # like to wrap large dependency lists on column 80 (with \), and
5872 # we should not choose a depcomp mode which is confused by this.
5874 # We need to recreate these files for each test, as the compiler may
5875 # overwrite some of them when testing with obscure command lines.
5876 # This happens at least with the AIX C compiler.
5878 for i in 1 2 3 4 5 6; do
5879 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5880 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5881 # Solaris 10 /bin/sh.
5882 echo '/* dummy */' > sub/conftst$i.h
5884 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5886 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5887 # mode. It turns out that the SunPro C++ compiler does not properly
5888 # handle '-M -o', and we need to detect this. Also, some Intel
5889 # versions had trouble with output in subdirs.
5890 am__obj=sub/conftest.${OBJEXT-o}
5891 am__minus_obj="-o $am__obj"
5894 # This depmode causes a compiler race in universal mode.
5895 test "$am__universal" = false || continue
5898 # After this tag, mechanisms are not by side-effect, so they'll
5899 # only be used when explicitly requested.
5900 if test "x$enable_dependency_tracking" = xyes; then
5906 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5907 # This compiler won't grok '-c -o', but also, the minuso test has
5908 # not run yet. These depmodes are late enough in the game, and
5909 # so weak that their functioning should not be impacted.
5910 am__obj=conftest.${OBJEXT-o}
5915 if depmode=$depmode \
5916 source=sub/conftest.c object=$am__obj \
5917 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5918 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5919 >/dev/null 2>conftest.err &&
5920 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5921 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5922 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5923 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5924 # icc doesn't choke on unknown options, it will just issue warnings
5925 # or remarks (even with -Werror). So we grep stderr for any message
5926 # that says an option was ignored or not supported.
5927 # When given -MP, icc 7.0 and 7.1 complain thusly:
5928 # icc: Command line warning: ignoring option '-M'; no argument required
5929 # The diagnosis changed in icc 8.0:
5930 # icc: Command line remark: option '-MP' not supported
5931 if (grep 'ignoring option' conftest.err ||
5932 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5933 am_cv_CC_dependencies_compiler_type=$depmode
5942 am_cv_CC_dependencies_compiler_type=none
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5947 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5948 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5951 test "x$enable_dependency_tracking" != xno \
5952 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5954 am__fastdepCC_FALSE='#'
5956 am__fastdepCC_TRUE='#'
5957 am__fastdepCC_FALSE=
5967 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5968 if test "x$GCC" = "xyes"; then
5969 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5970 ## We like to use C11 and C99 routines when available. This makes
5972 ## __STDC_VERSION__ is set such that libc includes make them available.
5973 AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla"
5974 ## Compile the following tests with the same system header contents
5975 ## that we'll encounter when compiling our own source files.
5976 CFLAGS="-std=gnu11 $CFLAGS"
5979 # Add CET specific flags if CET is enabled
5980 # Check whether --enable-cet was given.
5981 if test "${enable_cet+set}" = set; then :
5982 enableval=$enable_cet;
5983 case "$enableval" in
5985 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
5994 $as_echo_n "checking for CET support... " >&6; }
5997 i[34567]86-*-linux* | x86_64-*-linux*)
5998 case "$enable_cet" in
6000 # Check if target supports multi-byte NOPs
6001 # and if assembler supports CET insn.
6002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6003 /* end confdefs.h. */
6009 #if !defined(__SSE2__)
6010 #error target does not support multi-byte NOPs
6019 if ac_fn_c_try_compile "$LINENO"; then :
6024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6027 # Check if assembler supports CET.
6028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6029 /* end confdefs.h. */
6039 if ac_fn_c_try_compile "$LINENO"; then :
6042 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
6044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6052 if test x$enable_cet = xyes; then
6053 CET_FLAGS="-fcf-protection -mshstk"
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6055 $as_echo "yes" >&6; }
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6058 $as_echo "no" >&6; }
6061 AM_FCFLAGS="$AM_FCFLAGS $CET_FLAGS"
6062 AM_CFLAGS="$AM_CFLAGS $CET_FLAGS"
6063 CFLAGS="$CFLAGS $CET_FLAGS"
6069 # Check for symbol versioning (copied from libssp).
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
6071 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
6072 # Check whether --enable-symvers was given.
6073 if test "${enable_symvers+set}" = set; then :
6074 enableval=$enable_symvers; gfortran_use_symver=$enableval
6076 gfortran_use_symver=yes
6079 if test "x$gfortran_use_symver" != xno; then
6080 save_LDFLAGS="$LDFLAGS"
6081 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
6082 cat > conftest.map <<EOF
6084 global: *foo*; bar; local: *;
6087 if test x$gcc_no_link = xyes; then
6088 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6091 /* end confdefs.h. */
6101 if ac_fn_c_try_link "$LINENO"; then :
6102 gfortran_use_symver=gnu
6104 gfortran_use_symver=no
6106 rm -f core conftest.err conftest.$ac_objext \
6107 conftest$ac_exeext conftest.$ac_ext
6108 if test x$gfortran_use_symver = xno; then
6109 case "$target_os" in
6111 LDFLAGS="$save_LDFLAGS"
6112 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
6113 # Sun ld cannot handle wildcards and treats all entries as undefined.
6114 cat > conftest.map <<EOF
6116 global: foo; local: *;
6119 if test x$gcc_no_link = xyes; then
6120 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6123 /* end confdefs.h. */
6133 if ac_fn_c_try_link "$LINENO"; then :
6134 gfortran_use_symver=sun
6136 gfortran_use_symver=no
6138 rm -f core conftest.err conftest.$ac_objext \
6139 conftest$ac_exeext conftest.$ac_ext
6143 LDFLAGS="$save_LDFLAGS"
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
6146 $as_echo "$gfortran_use_symver" >&6; }
6147 if test "x$gfortran_use_symver" != xno; then
6148 LIBGFOR_USE_SYMVER_TRUE=
6149 LIBGFOR_USE_SYMVER_FALSE='#'
6151 LIBGFOR_USE_SYMVER_TRUE='#'
6152 LIBGFOR_USE_SYMVER_FALSE=
6155 if test "x$gfortran_use_symver" = xgnu; then
6156 LIBGFOR_USE_SYMVER_GNU_TRUE=
6157 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
6159 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
6160 LIBGFOR_USE_SYMVER_GNU_FALSE=
6163 if test "x$gfortran_use_symver" = xsun; then
6164 LIBGFOR_USE_SYMVER_SUN_TRUE=
6165 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
6167 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
6168 LIBGFOR_USE_SYMVER_SUN_FALSE=
6172 # For GPU offloading, not everything in libfortran can be supported.
6173 # Currently, the only target that has this problem is nvptx. The
6174 # following is a (partial) list of features that are unsupportable on
6175 # this particular target:
6178 # * C library support for I/O, with printf as the one notable exception
6179 # * C library support for other features such as signal, environment
6180 # variables, time functions
6182 if test "x${target_cpu}" = xnvptx \
6183 || test "x${target_cpu}" = xamdgcn; then
6184 LIBGFOR_MINIMAL_TRUE=
6185 LIBGFOR_MINIMAL_FALSE='#'
6187 LIBGFOR_MINIMAL_TRUE='#'
6188 LIBGFOR_MINIMAL_FALSE=
6192 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
6193 # similarly to how libstdc++ does it
6194 ac_test_CFLAGS="${CFLAGS+set}"
6195 ac_save_CFLAGS="$CFLAGS"
6197 # Check for -ffunction-sections -fdata-sections
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
6199 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
6200 CFLAGS='-Werror -ffunction-sections -fdata-sections'
6201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6202 /* end confdefs.h. */
6212 if ac_fn_c_try_compile "$LINENO"; then :
6217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6218 if test "$ac_test_CFLAGS" = set; then
6219 CFLAGS="$ac_save_CFLAGS"
6221 # this is the suspicious part
6224 if test x"$ac_fdsections" = x"yes"; then
6225 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
6228 $as_echo "$ac_fdsections" >&6; }
6231 # Check linker hardware capability support.
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6233 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6234 if ${ac_cv_path_SED+:} false; then :
6235 $as_echo_n "(cached) " >&6
6237 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6238 for ac_i in 1 2 3 4 5 6 7; do
6239 ac_script="$ac_script$as_nl$ac_script"
6241 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6242 { ac_script=; unset ac_script;}
6243 if test -z "$SED"; then
6244 ac_path_SED_found=false
6245 # Loop through the user's path and test for each of PROGNAME-LIST
6246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6250 test -z "$as_dir" && as_dir=.
6251 for ac_prog in sed gsed; do
6252 for ac_exec_ext in '' $ac_executable_extensions; do
6253 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6254 as_fn_executable_p "$ac_path_SED" || continue
6255 # Check for GNU ac_path_SED and select it if it is found.
6256 # Check for GNU $ac_path_SED
6257 case `"$ac_path_SED" --version 2>&1` in
6259 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6262 $as_echo_n 0123456789 >"conftest.in"
6265 cat "conftest.in" "conftest.in" >"conftest.tmp"
6266 mv "conftest.tmp" "conftest.in"
6267 cp "conftest.in" "conftest.nl"
6268 $as_echo '' >> "conftest.nl"
6269 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6270 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6271 as_fn_arith $ac_count + 1 && ac_count=$as_val
6272 if test $ac_count -gt ${ac_path_SED_max-0}; then
6273 # Best one so far, save it but keep looking for a better one
6274 ac_cv_path_SED="$ac_path_SED"
6275 ac_path_SED_max=$ac_count
6277 # 10*(2^10) chars as input seems more than enough
6278 test $ac_count -gt 10 && break
6280 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6283 $ac_path_SED_found && break 3
6288 if test -z "$ac_cv_path_SED"; then
6289 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6297 $as_echo "$ac_cv_path_SED" >&6; }
6298 SED="$ac_cv_path_SED"
6301 test -z "$SED" && SED=sed
6302 Xsed="$SED -e 1s/^X//"
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6315 $as_echo_n "checking for fgrep... " >&6; }
6316 if ${ac_cv_path_FGREP+:} false; then :
6317 $as_echo_n "(cached) " >&6
6319 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6320 then ac_cv_path_FGREP="$GREP -F"
6322 if test -z "$FGREP"; then
6323 ac_path_FGREP_found=false
6324 # Loop through the user's path and test for each of PROGNAME-LIST
6325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6326 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6329 test -z "$as_dir" && as_dir=.
6330 for ac_prog in fgrep; do
6331 for ac_exec_ext in '' $ac_executable_extensions; do
6332 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6333 as_fn_executable_p "$ac_path_FGREP" || continue
6334 # Check for GNU ac_path_FGREP and select it if it is found.
6335 # Check for GNU $ac_path_FGREP
6336 case `"$ac_path_FGREP" --version 2>&1` in
6338 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6341 $as_echo_n 0123456789 >"conftest.in"
6344 cat "conftest.in" "conftest.in" >"conftest.tmp"
6345 mv "conftest.tmp" "conftest.in"
6346 cp "conftest.in" "conftest.nl"
6347 $as_echo 'FGREP' >> "conftest.nl"
6348 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6349 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6350 as_fn_arith $ac_count + 1 && ac_count=$as_val
6351 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6352 # Best one so far, save it but keep looking for a better one
6353 ac_cv_path_FGREP="$ac_path_FGREP"
6354 ac_path_FGREP_max=$ac_count
6356 # 10*(2^10) chars as input seems more than enough
6357 test $ac_count -gt 10 && break
6359 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6362 $ac_path_FGREP_found && break 3
6367 if test -z "$ac_cv_path_FGREP"; then
6368 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6371 ac_cv_path_FGREP=$FGREP
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6377 $as_echo "$ac_cv_path_FGREP" >&6; }
6378 FGREP="$ac_cv_path_FGREP"
6381 test -z "$GREP" && GREP=grep
6399 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6400 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6401 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6404 $as_echo_n "checking how to print strings... " >&6; }
6405 # Test print first, because it will be a builtin if present.
6406 if test "X`print
-r -- -n 2>/dev
/null
`" = X-n && \
6407 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
6409 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
6412 # Use this function as a fallback that always works.
6413 func_fallback_echo ()
6415 eval 'cat <<_LTECHO_EOF
6419 ECHO='func_fallback_echo'
6422 # func_echo_all arg...
6423 # Invoke $ECHO with all args, space-separated.
6430 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6431 $as_echo "printf" >&6; } ;;
6432 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6433 $as_echo "print -r" >&6; } ;;
6434 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6435 $as_echo "cat" >&6; } ;;
6453 # Check whether --with-gnu-ld was given.
6454 if test "${with_gnu_ld+set}" = set; then :
6455 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6461 if test "$GCC" = yes; then
6462 # Check if gcc -print-prog-name=ld gives a path.
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6464 $as_echo_n "checking for ld used by $CC... " >&6; }
6467 # gcc leaves a trailing carriage return which upsets mingw
6468 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
6470 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
6473 # Accept absolute paths.
6475 re_direlt='/[^/][^/]*/\.\./'
6476 # Canonicalize the pathname of ld
6477 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
6478 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6479 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
6481 test -z "$LD" && LD="$ac_prog"
6484 # If it fails, then pretend we aren't using GCC.
6488 # If it is relative, then search for the first ld in PATH.
6492 elif test "$with_gnu_ld" = yes; then
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6494 $as_echo_n "checking for GNU ld... " >&6; }
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6497 $as_echo_n "checking for non-GNU ld... " >&6; }
6499 if ${lt_cv_path_LD+:} false; then :
6500 $as_echo_n "(cached) " >&6
6502 if test -z "$LD"; then
6503 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6504 for ac_dir in $PATH; do
6506 test -z "$ac_dir" && ac_dir=.
6507 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6508 lt_cv_path_LD="$ac_dir/$ac_prog"
6509 # Check to see if the program is GNU ld. I'd rather use --version,
6510 # but apparently some variants of GNU ld only accept -v.
6511 # Break only if it was the GNU/non-GNU ld that we prefer.
6512 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
6513 *GNU* | *'with BFD'*)
6514 test "$with_gnu_ld" != no && break
6517 test "$with_gnu_ld" != yes && break
6524 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6529 if test -n "$LD"; then
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6531 $as_echo "$LD" >&6; }
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6534 $as_echo "no" >&6; }
6536 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6538 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6539 if ${lt_cv_prog_gnu_ld+:} false; then :
6540 $as_echo_n "(cached) " >&6
6542 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6543 case `$LD -v 2>&1 </dev
/null
` in
6544 *GNU* | *'with BFD'*)
6545 lt_cv_prog_gnu_ld=yes
6548 lt_cv_prog_gnu_ld=no
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6553 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6554 with_gnu_ld=$lt_cv_prog_gnu_ld
6565 test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS=''
6568 ac_save_LDFLAGS="$LDFLAGS"
6569 LDFLAGS="$LFLAGS -mclear-hwcap"
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5
6572 $as_echo_n "checking for -mclear-hwcap... " >&6; }
6573 if test x$gcc_no_link = xyes; then
6574 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6577 /* end confdefs.h. */
6587 if ac_fn_c_try_link "$LINENO"; then :
6588 ac_hwcap_ldflags=yes
6592 rm -f core conftest.err conftest.$ac_objext \
6593 conftest$ac_exeext conftest.$ac_ext
6594 if test "$ac_hwcap_ldflags" = "yes"; then
6595 HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS"
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5
6598 $as_echo "$ac_hwcap_ldflags" >&6; }
6600 LDFLAGS="$ac_save_LDFLAGS"
6604 if test $ac_hwcap_ldflags != no; then
6606 HAVE_HWCAP_FALSE='#'
6614 # Find other programs we need.
6615 if test -n "$ac_tool_prefix"; then
6616 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6617 set dummy ${ac_tool_prefix}as; ac_word=$2
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6619 $as_echo_n "checking for $ac_word... " >&6; }
6620 if ${ac_cv_prog_AS+:} false; then :
6621 $as_echo_n "(cached) " >&6
6623 if test -n "$AS"; then
6624 ac_cv_prog_AS="$AS" # Let the user override the test.
6626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6630 test -z "$as_dir" && as_dir=.
6631 for ac_exec_ext in '' $ac_executable_extensions; do
6632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6633 ac_cv_prog_AS="${ac_tool_prefix}as"
6634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6644 if test -n "$AS"; then
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6646 $as_echo "$AS" >&6; }
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6649 $as_echo "no" >&6; }
6654 if test -z "$ac_cv_prog_AS"; then
6656 # Extract the first word of "as", so it can be a program name with args.
6657 set dummy as; ac_word=$2
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6659 $as_echo_n "checking for $ac_word... " >&6; }
6660 if ${ac_cv_prog_ac_ct_AS+:} false; then :
6661 $as_echo_n "(cached) " >&6
6663 if test -n "$ac_ct_AS"; then
6664 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6670 test -z "$as_dir" && as_dir=.
6671 for ac_exec_ext in '' $ac_executable_extensions; do
6672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6673 ac_cv_prog_ac_ct_AS="as"
6674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6683 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6684 if test -n "$ac_ct_AS"; then
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6686 $as_echo "$ac_ct_AS" >&6; }
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6689 $as_echo "no" >&6; }
6692 if test "x$ac_ct_AS" = x; then
6695 case $cross_compiling:$ac_tool_warned in
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6698 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6699 ac_tool_warned=yes ;;
6707 if test -n "$ac_tool_prefix"; then
6708 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6709 set dummy ${ac_tool_prefix}ar; ac_word=$2
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6711 $as_echo_n "checking for $ac_word... " >&6; }
6712 if ${ac_cv_prog_AR+:} false; then :
6713 $as_echo_n "(cached) " >&6
6715 if test -n "$AR"; then
6716 ac_cv_prog_AR="$AR" # Let the user override the test.
6718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6722 test -z "$as_dir" && as_dir=.
6723 for ac_exec_ext in '' $ac_executable_extensions; do
6724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6725 ac_cv_prog_AR="${ac_tool_prefix}ar"
6726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6736 if test -n "$AR"; then
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6738 $as_echo "$AR" >&6; }
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6741 $as_echo "no" >&6; }
6746 if test -z "$ac_cv_prog_AR"; then
6748 # Extract the first word of "ar", so it can be a program name with args.
6749 set dummy ar; ac_word=$2
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6751 $as_echo_n "checking for $ac_word... " >&6; }
6752 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6753 $as_echo_n "(cached) " >&6
6755 if test -n "$ac_ct_AR"; then
6756 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6762 test -z "$as_dir" && as_dir=.
6763 for ac_exec_ext in '' $ac_executable_extensions; do
6764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6765 ac_cv_prog_ac_ct_AR="ar"
6766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6775 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6776 if test -n "$ac_ct_AR"; then
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6778 $as_echo "$ac_ct_AR" >&6; }
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6781 $as_echo "no" >&6; }
6784 if test "x$ac_ct_AR" = x; then
6787 case $cross_compiling:$ac_tool_warned in
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6790 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6791 ac_tool_warned=yes ;;
6799 if test -n "$ac_tool_prefix"; then
6800 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6801 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6803 $as_echo_n "checking for $ac_word... " >&6; }
6804 if ${ac_cv_prog_RANLIB+:} false; then :
6805 $as_echo_n "(cached) " >&6
6807 if test -n "$RANLIB"; then
6808 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6814 test -z "$as_dir" && as_dir=.
6815 for ac_exec_ext in '' $ac_executable_extensions; do
6816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6817 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6827 RANLIB=$ac_cv_prog_RANLIB
6828 if test -n "$RANLIB"; then
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6830 $as_echo "$RANLIB" >&6; }
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6833 $as_echo "no" >&6; }
6838 if test -z "$ac_cv_prog_RANLIB"; then
6839 ac_ct_RANLIB=$RANLIB
6840 # Extract the first word of "ranlib", so it can be a program name with args.
6841 set dummy ranlib; ac_word=$2
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6843 $as_echo_n "checking for $ac_word... " >&6; }
6844 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6845 $as_echo_n "(cached) " >&6
6847 if test -n "$ac_ct_RANLIB"; then
6848 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6854 test -z "$as_dir" && as_dir=.
6855 for ac_exec_ext in '' $ac_executable_extensions; do
6856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6857 ac_cv_prog_ac_ct_RANLIB="ranlib"
6858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6867 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6868 if test -n "$ac_ct_RANLIB"; then
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6870 $as_echo "$ac_ct_RANLIB" >&6; }
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6873 $as_echo "no" >&6; }
6876 if test "x$ac_ct_RANLIB" = x; then
6877 RANLIB="ranlib-not-found-in-path-error"
6879 case $cross_compiling:$ac_tool_warned in
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6882 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6883 ac_tool_warned=yes ;;
6885 RANLIB=$ac_ct_RANLIB
6888 RANLIB="$ac_cv_prog_RANLIB"
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6892 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6894 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6895 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6896 $as_echo_n "(cached) " >&6
6898 cat >conftest.make <<\_ACEOF
6901 @echo '@@@%%%=$(MAKE)=@@@%%%'
6903 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6904 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
6906 eval ac_cv_prog_make_${ac_make}_set=yes;;
6908 eval ac_cv_prog_make_${ac_make}_set=no;;
6912 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6914 $as_echo "yes" >&6; }
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6918 $as_echo "no" >&6; }
6919 SET_MAKE="MAKE=${MAKE-make}"
6925 #AC_MSG_NOTICE([====== Starting libtool configuration])
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
6933 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
6938 macro_version='2.2.7a'
6939 macro_revision='1.3134'
6953 ltmain="$ac_aux_dir/ltmain.sh"
6955 # Backslashify metacharacters that are still active within
6956 # double-quoted strings.
6957 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6959 # Same as above, but do not quote variable references.
6960 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6962 # Sed substitution to delay expansion of an escaped shell variable in a
6963 # double_quote_subst'ed string.
6964 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6966 # Sed substitution to delay expansion of an escaped single quote.
6967 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6969 # Sed substitution to avoid accidental globbing in evaled expressions
6970 no_glob_subst='s/\*/\\\*/g'
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6973 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6974 if ${lt_cv_path_NM+:} false; then :
6975 $as_echo_n "(cached
) " >&6
6977 if test -n "$NM"; then
6978 # Let the user override the test.
6981 lt_nm_to_check="${ac_tool_prefix}nm
"
6982 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6983 lt_nm_to_check="$lt_nm_to_check nm
"
6985 for lt_tmp_nm in $lt_nm_to_check; do
6986 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6987 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6989 test -z "$ac_dir" && ac_dir=.
6990 tmp_nm="$ac_dir/$lt_tmp_nm"
6991 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6992 # Check to see if the nm accepts a BSD-compat flag.
6993 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6994 # nm: unknown option "B
" ignored
6995 # Tru64's nm complains that /dev/null is an invalid object file
6996 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6997 */dev/null* | *'Invalid file or object type'*)
6998 lt_cv_path_NM="$tmp_nm -B"
7002 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7004 lt_cv_path_NM="$tmp_nm -p"
7008 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7009 continue # so that we can try to find one that supports BSD flags
7018 : ${lt_cv_path_NM=no}
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
7022 $as_echo "$lt_cv_path_NM" >&6; }
7023 if test "$lt_cv_path_NM" != "no
"; then
7026 # Didn't find any BSD compatible name lister, look for dumpbin.
7027 if test -n "$DUMPBIN"; then :
7028 # Let the user override the test.
7030 if test -n "$ac_tool_prefix"; then
7031 for ac_prog in dumpbin "link
-dump"
7033 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7034 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7036 $as_echo_n "checking
for $ac_word...
" >&6; }
7037 if ${ac_cv_prog_DUMPBIN+:} false; then :
7038 $as_echo_n "(cached
) " >&6
7040 if test -n "$DUMPBIN"; then
7041 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7047 test -z "$as_dir" && as_dir=.
7048 for ac_exec_ext in '' $ac_executable_extensions; do
7049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7050 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7051 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7060 DUMPBIN=$ac_cv_prog_DUMPBIN
7061 if test -n "$DUMPBIN"; then
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
7063 $as_echo "$DUMPBIN" >&6; }
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7066 $as_echo "no
" >&6; }
7070 test -n "$DUMPBIN" && break
7073 if test -z "$DUMPBIN"; then
7074 ac_ct_DUMPBIN=$DUMPBIN
7075 for ac_prog in dumpbin "link
-dump"
7077 # Extract the first word of "$ac_prog", so it can be a program name with args.
7078 set dummy $ac_prog; ac_word=$2
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7080 $as_echo_n "checking
for $ac_word...
" >&6; }
7081 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7082 $as_echo_n "(cached
) " >&6
7084 if test -n "$ac_ct_DUMPBIN"; then
7085 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7091 test -z "$as_dir" && as_dir=.
7092 for ac_exec_ext in '' $ac_executable_extensions; do
7093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7094 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7095 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7104 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7105 if test -n "$ac_ct_DUMPBIN"; then
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
7107 $as_echo "$ac_ct_DUMPBIN" >&6; }
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7110 $as_echo "no
" >&6; }
7114 test -n "$ac_ct_DUMPBIN" && break
7117 if test "x
$ac_ct_DUMPBIN" = x; then
7120 case $cross_compiling:$ac_tool_warned in
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7123 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7124 ac_tool_warned=yes ;;
7126 DUMPBIN=$ac_ct_DUMPBIN
7130 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7132 DUMPBIN="$DUMPBIN -symbols"
7140 if test "$DUMPBIN" != ":"; then
7144 test -z "$NM" && NM=nm
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
7152 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
7153 if ${lt_cv_nm_interface+:} false; then :
7154 $as_echo_n "(cached
) " >&6
7156 lt_cv_nm_interface="BSD nm
"
7157 echo "int some_variable
= 0;" > conftest.$ac_ext
7158 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
7159 (eval "$ac_compile" 2>conftest.err)
7160 cat conftest.err >&5
7161 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
7162 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
7163 cat conftest.err >&5
7164 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
7165 cat conftest.out >&5
7166 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7167 lt_cv_nm_interface="MS dumpbin
"
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
7172 $as_echo "$lt_cv_nm_interface" >&6; }
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
7175 $as_echo_n "checking whether
ln -s works...
" >&6; }
7177 if test "$LN_S" = "ln -s"; then
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
7179 $as_echo "yes" >&6; }
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
7182 $as_echo "no
, using
$LN_S" >&6; }
7185 # find the maximum length of command line arguments
7186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
7187 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
7188 if ${lt_cv_sys_max_cmd_len+:} false; then :
7189 $as_echo_n "(cached
) " >&6
7196 # On DJGPP, this test can blow up pretty badly due to problems in libc
7197 # (any single argument exceeding 2000 bytes causes a buffer overrun
7198 # during glob expansion). Even if it were fixed, the result of this
7199 # check would be larger than it should be.
7200 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7204 # Under GNU Hurd, this test is not required because there is
7205 # no limit to the length of command line arguments.
7206 # Libtool will interpret -1 as no limit whatsoever
7207 lt_cv_sys_max_cmd_len=-1;
7210 cygwin* | mingw* | cegcc*)
7211 # On Win9x/ME, this test blows up -- it succeeds, but takes
7212 # about 5 minutes as the teststring grows exponentially.
7213 # Worse, since 9x/ME are not pre-emptively multitasking,
7214 # you end up with a "frozen
" computer, even though with patience
7215 # the test eventually succeeds (with a max line length of 256k).
7216 # Instead, let's just punt: use the minimum linelength reported by
7217 # all of the supported platforms: 8192 (on NT/2K/XP).
7218 lt_cv_sys_max_cmd_len=8192;
7222 # On MiNT this can take a long time and run out of memory.
7223 lt_cv_sys_max_cmd_len=8192;
7227 # On AmigaOS with pdksh, this test takes hours, literally.
7228 # So we just punt and use a minimum line length of 8192.
7229 lt_cv_sys_max_cmd_len=8192;
7232 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7233 # This has been around since 386BSD, at least. Likely further.
7234 if test -x /sbin/sysctl; then
7235 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7236 elif test -x /usr/sbin/sysctl; then
7237 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7239 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7241 # And add a safety zone
7242 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7243 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7247 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7248 lt_cv_sys_max_cmd_len=196608
7252 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7253 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7254 # nice to cause kernel panics so lets avoid the loop below.
7255 # First set a reasonable default.
7256 lt_cv_sys_max_cmd_len=16384
7258 if test -x /sbin/sysconfig; then
7259 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7260 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7265 lt_cv_sys_max_cmd_len=102400
7267 sysv5* | sco5v6* | sysv4.2uw2*)
7268 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7269 if test -n "$kargmax"; then
7270 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7272 lt_cv_sys_max_cmd_len=32768
7276 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7277 if test -n "$lt_cv_sys_max_cmd_len"; then
7278 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7279 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7281 # Make teststring a little bigger before we do anything with it.
7282 # a 1K string should be a reasonable start.
7283 for i in 1 2 3 4 5 6 7 8 ; do
7284 teststring=$teststring$teststring
7286 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7287 # If test is not a shell built-in, we'll probably end up computing a
7288 # maximum length that is only half of the actual maximum length, but
7290 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7291 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
7292 test $i != 17 # 1/2 MB should be enough
7295 teststring=$teststring$teststring
7297 # Only check the string length outside the loop.
7298 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
7300 # Add a significant safety factor because C++ compilers can tack on
7301 # massive amounts of additional arguments before passing them to the
7302 # linker. It appears as though 1/2 is a usable value.
7303 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7310 if test -n $lt_cv_sys_max_cmd_len ; then
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
7312 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
7315 $as_echo "none
" >&6; }
7317 max_cmd_len=$lt_cv_sys_max_cmd_len
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
7329 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
7330 # Try some XSI features
7333 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7335 && eval 'test $(( 1 + 1 )) -eq 2 \
7336 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7339 $as_echo "$xsi_shell" >&6; }
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7343 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7345 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
7347 && lt_shell_append
=yes
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7349 $as_echo "$lt_shell_append" >&6; }
7352 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7362 # test EBCDIC or ASCII
7363 case `echo X|tr X '\101'` in
7364 A
) # ASCII based system
7365 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7366 lt_SP2NL
='tr \040 \012'
7367 lt_NL2SP
='tr \015\012 \040\040'
7369 *) # EBCDIC based system
7370 lt_SP2NL
='tr \100 \n'
7371 lt_NL2SP
='tr \r\n \100\100'
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7384 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7385 if ${lt_cv_ld_reload_flag+:} false
; then :
7386 $as_echo_n "(cached) " >&6
7388 lt_cv_ld_reload_flag
='-r'
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7391 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7392 reload_flag
=$lt_cv_ld_reload_flag
7393 case $reload_flag in
7395 *) reload_flag
=" $reload_flag" ;;
7397 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7400 if test "$GCC" = yes; then
7401 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7403 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7416 if test -n "$ac_tool_prefix"; then
7417 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7418 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7420 $as_echo_n "checking for $ac_word... " >&6; }
7421 if ${ac_cv_prog_OBJDUMP+:} false
; then :
7422 $as_echo_n "(cached) " >&6
7424 if test -n "$OBJDUMP"; then
7425 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7431 test -z "$as_dir" && as_dir
=.
7432 for ac_exec_ext
in '' $ac_executable_extensions; do
7433 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7434 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7444 OBJDUMP
=$ac_cv_prog_OBJDUMP
7445 if test -n "$OBJDUMP"; then
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7447 $as_echo "$OBJDUMP" >&6; }
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7450 $as_echo "no" >&6; }
7455 if test -z "$ac_cv_prog_OBJDUMP"; then
7456 ac_ct_OBJDUMP
=$OBJDUMP
7457 # Extract the first word of "objdump", so it can be a program name with args.
7458 set dummy objdump
; ac_word
=$2
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7460 $as_echo_n "checking for $ac_word... " >&6; }
7461 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
7462 $as_echo_n "(cached) " >&6
7464 if test -n "$ac_ct_OBJDUMP"; then
7465 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7471 test -z "$as_dir" && as_dir
=.
7472 for ac_exec_ext
in '' $ac_executable_extensions; do
7473 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7474 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7484 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7485 if test -n "$ac_ct_OBJDUMP"; then
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7487 $as_echo "$ac_ct_OBJDUMP" >&6; }
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7490 $as_echo "no" >&6; }
7493 if test "x$ac_ct_OBJDUMP" = x
; then
7496 case $cross_compiling:$ac_tool_warned in
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7500 ac_tool_warned
=yes ;;
7502 OBJDUMP
=$ac_ct_OBJDUMP
7505 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7508 test -z "$OBJDUMP" && OBJDUMP
=objdump
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7519 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7520 if ${lt_cv_deplibs_check_method+:} false
; then :
7521 $as_echo_n "(cached) " >&6
7523 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7524 lt_cv_file_magic_test_file
=
7525 lt_cv_deplibs_check_method
='unknown'
7526 # Need to set the preceding variable on all platforms that support
7527 # interlibrary dependencies.
7528 # 'none' -- dependencies not supported.
7529 # `unknown' -- same as none, but documents that we really don't know.
7530 # 'pass_all' -- all dependencies passed with no checks.
7531 # 'test_compile' -- check by making test program.
7532 # 'file_magic [[regex]]' -- check by looking for files in library path
7533 # which responds to the $file_magic_cmd with a given extended regex.
7534 # If you have `file' or equivalent on your system and you're not sure
7535 # whether `pass_all' will *always* work, you probably want this one.
7539 lt_cv_deplibs_check_method
=pass_all
7543 lt_cv_deplibs_check_method
=pass_all
7547 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7548 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7549 lt_cv_file_magic_test_file
=/shlib
/libc.so
7553 # func_win32_libid is a shell function defined in ltmain.sh
7554 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7555 lt_cv_file_magic_cmd
='func_win32_libid'
7559 # Base MSYS/MinGW do not provide the 'file' command needed by
7560 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7561 # unless we find 'file', for example because we are cross-compiling.
7562 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7563 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
7564 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7565 lt_cv_file_magic_cmd
='func_win32_libid'
7567 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
7568 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7573 # use the weaker test based on 'objdump'. See mingw*.
7574 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7575 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7578 darwin
* | rhapsody
*)
7579 lt_cv_deplibs_check_method
=pass_all
7582 freebsd
* | dragonfly
*)
7583 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7586 # Not sure whether the presence of OpenBSD here was a mistake.
7587 # Let's accept both of them until this is cleared up.
7588 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7589 lt_cv_file_magic_cmd
=/usr
/bin
/file
7590 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7594 lt_cv_deplibs_check_method
=pass_all
7599 lt_cv_deplibs_check_method
=pass_all
7603 lt_cv_deplibs_check_method
=pass_all
7606 hpux10.20
* | hpux11
*)
7607 lt_cv_file_magic_cmd
=/usr
/bin
/file
7610 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7611 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7614 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]'
7615 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7618 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7619 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7625 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7626 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7629 irix5
* | irix6
* | nonstopux
*)
7631 *-32|
*"-32 ") libmagic
=32-bit;;
7632 *-n32|
*"-n32 ") libmagic
=N32
;;
7633 *-64|
*"-64 ") libmagic
=64-bit;;
7634 *) libmagic
=never-match
;;
7636 lt_cv_deplibs_check_method
=pass_all
7639 # This must be Linux ELF.
7640 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7641 lt_cv_deplibs_check_method
=pass_all
7645 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7646 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7648 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7653 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7654 lt_cv_file_magic_cmd
=/usr
/bin
/file
7655 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7659 lt_cv_deplibs_check_method
=pass_all
7663 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7664 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7666 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7670 osf3
* | osf4
* | osf5
*)
7671 lt_cv_deplibs_check_method
=pass_all
7675 lt_cv_deplibs_check_method
=pass_all
7679 lt_cv_deplibs_check_method
=pass_all
7682 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7683 lt_cv_deplibs_check_method
=pass_all
7687 case $host_vendor in
7689 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]'
7690 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7693 lt_cv_deplibs_check_method
=pass_all
7696 lt_cv_file_magic_cmd
='/bin/file'
7697 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7700 lt_cv_file_magic_cmd
='/bin/file'
7701 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7702 lt_cv_file_magic_test_file
=/lib
/libc.so
7705 lt_cv_deplibs_check_method
=pass_all
7708 lt_cv_deplibs_check_method
=pass_all
7714 lt_cv_deplibs_check_method
=pass_all
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7720 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7721 file_magic_cmd
=$lt_cv_file_magic_cmd
7722 deplibs_check_method
=$lt_cv_deplibs_check_method
7723 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7736 if test -n "$ac_tool_prefix"; then
7737 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7738 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7740 $as_echo_n "checking for $ac_word... " >&6; }
7741 if ${ac_cv_prog_AR+:} false
; then :
7742 $as_echo_n "(cached) " >&6
7744 if test -n "$AR"; then
7745 ac_cv_prog_AR
="$AR" # Let the user override the test.
7747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7751 test -z "$as_dir" && as_dir
=.
7752 for ac_exec_ext
in '' $ac_executable_extensions; do
7753 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7754 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7765 if test -n "$AR"; then
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7767 $as_echo "$AR" >&6; }
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7770 $as_echo "no" >&6; }
7775 if test -z "$ac_cv_prog_AR"; then
7777 # Extract the first word of "ar", so it can be a program name with args.
7778 set dummy
ar; ac_word
=$2
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7780 $as_echo_n "checking for $ac_word... " >&6; }
7781 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
7782 $as_echo_n "(cached) " >&6
7784 if test -n "$ac_ct_AR"; then
7785 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7791 test -z "$as_dir" && as_dir
=.
7792 for ac_exec_ext
in '' $ac_executable_extensions; do
7793 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7794 ac_cv_prog_ac_ct_AR
="ar"
7795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7804 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7805 if test -n "$ac_ct_AR"; then
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7807 $as_echo "$ac_ct_AR" >&6; }
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7810 $as_echo "no" >&6; }
7813 if test "x$ac_ct_AR" = x
; then
7816 case $cross_compiling:$ac_tool_warned in
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7819 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7820 ac_tool_warned
=yes ;;
7828 test -z "$AR" && AR
=ar
7829 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7841 if test -n "$ac_tool_prefix"; then
7842 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7843 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7845 $as_echo_n "checking for $ac_word... " >&6; }
7846 if ${ac_cv_prog_STRIP+:} false
; then :
7847 $as_echo_n "(cached) " >&6
7849 if test -n "$STRIP"; then
7850 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7856 test -z "$as_dir" && as_dir
=.
7857 for ac_exec_ext
in '' $ac_executable_extensions; do
7858 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7859 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7869 STRIP
=$ac_cv_prog_STRIP
7870 if test -n "$STRIP"; then
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7872 $as_echo "$STRIP" >&6; }
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7875 $as_echo "no" >&6; }
7880 if test -z "$ac_cv_prog_STRIP"; then
7882 # Extract the first word of "strip", so it can be a program name with args.
7883 set dummy strip
; ac_word
=$2
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7885 $as_echo_n "checking for $ac_word... " >&6; }
7886 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
7887 $as_echo_n "(cached) " >&6
7889 if test -n "$ac_ct_STRIP"; then
7890 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7896 test -z "$as_dir" && as_dir
=.
7897 for ac_exec_ext
in '' $ac_executable_extensions; do
7898 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7899 ac_cv_prog_ac_ct_STRIP
="strip"
7900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7909 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7910 if test -n "$ac_ct_STRIP"; then
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7912 $as_echo "$ac_ct_STRIP" >&6; }
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7915 $as_echo "no" >&6; }
7918 if test "x$ac_ct_STRIP" = x
; then
7921 case $cross_compiling:$ac_tool_warned in
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7924 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7925 ac_tool_warned
=yes ;;
7930 STRIP
="$ac_cv_prog_STRIP"
7933 test -z "$STRIP" && STRIP
=:
7940 if test -n "$ac_tool_prefix"; then
7941 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7942 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7944 $as_echo_n "checking for $ac_word... " >&6; }
7945 if ${ac_cv_prog_RANLIB+:} false
; then :
7946 $as_echo_n "(cached) " >&6
7948 if test -n "$RANLIB"; then
7949 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7955 test -z "$as_dir" && as_dir
=.
7956 for ac_exec_ext
in '' $ac_executable_extensions; do
7957 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7958 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7968 RANLIB
=$ac_cv_prog_RANLIB
7969 if test -n "$RANLIB"; then
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7971 $as_echo "$RANLIB" >&6; }
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7974 $as_echo "no" >&6; }
7979 if test -z "$ac_cv_prog_RANLIB"; then
7980 ac_ct_RANLIB
=$RANLIB
7981 # Extract the first word of "ranlib", so it can be a program name with args.
7982 set dummy ranlib
; ac_word
=$2
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7984 $as_echo_n "checking for $ac_word... " >&6; }
7985 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
7986 $as_echo_n "(cached) " >&6
7988 if test -n "$ac_ct_RANLIB"; then
7989 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7995 test -z "$as_dir" && as_dir
=.
7996 for ac_exec_ext
in '' $ac_executable_extensions; do
7997 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7998 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8008 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8009 if test -n "$ac_ct_RANLIB"; then
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8011 $as_echo "$ac_ct_RANLIB" >&6; }
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8014 $as_echo "no" >&6; }
8017 if test "x$ac_ct_RANLIB" = x
; then
8020 case $cross_compiling:$ac_tool_warned in
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8023 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8024 ac_tool_warned
=yes ;;
8026 RANLIB
=$ac_ct_RANLIB
8029 RANLIB
="$ac_cv_prog_RANLIB"
8032 test -z "$RANLIB" && RANLIB
=:
8039 # Determine commands to create old-style static archives.
8040 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
8041 old_postinstall_cmds
='chmod 644 $oldlib'
8042 old_postuninstall_cmds
=
8044 if test -n "$RANLIB"; then
8047 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8050 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
8053 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
8058 lock_old_archive_extraction
=yes ;;
8060 lock_old_archive_extraction
=no
;;
8101 # If no C compiler was specified, use CC.
8104 # If no C compiler flags were specified, use CFLAGS.
8105 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8107 # Allow CC to be a program name with arguments.
8111 # Check for command to grab the raw symbol name followed by C symbol from nm.
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8113 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8114 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
8115 $as_echo_n "(cached) " >&6
8118 # These are sane defaults that work on at least a few old systems.
8119 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8121 # Character class describing NM global symbol codes.
8122 symcode
='[BCDEGRST]'
8124 # Regexp to match symbols that can be accessed directly from C.
8125 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
8127 # Define system-specific variables.
8132 cygwin
* | mingw
* | pw32
* | cegcc
*)
8133 symcode
='[ABCDGISTW]'
8136 if test "$host_cpu" = ia64
; then
8137 symcode
='[ABCDEGRST]'
8141 symcode
='[BCDEGRST]'
8144 symcode
='[BCDEGQRST]'
8155 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8163 # If we're using GNU nm, then use its standard symbol codes.
8164 case `$NM -V 2>&1` in
8165 *GNU
* |
*'with BFD'*)
8166 symcode
='[ABCDGIRSTW]' ;;
8169 # Transform an extracted symbol line into a proper C declaration.
8170 # Some systems (esp. on ia64) link data and code symbols differently,
8171 # so use this general approach.
8172 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8174 # Transform an extracted symbol line into symbol name and symbol address
8175 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8176 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'"
8178 # Handle CRLF in mingw tool chain
8182 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8186 # Try without a prefix underscore, then with it.
8187 for ac_symprfx
in "" "_"; do
8189 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8190 symxfrm
="\\1 $ac_symprfx\\2 \\2"
8192 # Write the raw and C identifiers.
8193 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8194 # Fake it for dumpbin and say T for any non-static function
8195 # and D for any global variable.
8196 # Also find C++ and __fastcall symbols from MSVC++,
8197 # which start with @ or ?.
8198 lt_cv_sys_global_symbol_pipe
="$AWK '"\
8199 " {last_section=section; section=\$ 3};"\
8200 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8201 " \$ 0!~/External *\|/{next};"\
8202 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8203 " {if(hide[section]) next};"\
8204 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8205 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8206 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8207 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8208 " ' prfx=^$ac_symprfx"
8210 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8213 # Check to see that the pipe works correctly.
8217 cat > conftest.
$ac_ext <<_LT_EOF
8222 void nm_test_func(void);
8223 void nm_test_func(void){}
8227 int main(){nm_test_var='a';nm_test_func();return(0);}
8230 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8231 (eval $ac_compile) 2>&5
8233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8234 test $ac_status = 0; }; then
8235 # Now try to grab the symbols.
8237 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8238 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
8240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8241 test $ac_status = 0; } && test -s "$nlist"; then
8242 # Try sorting and uniquifying the output.
8243 if sort "$nlist" |
uniq > "$nlist"T
; then
8244 mv -f "$nlist"T
"$nlist"
8249 # Make sure that we snagged all the symbols we need.
8250 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
8251 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
8252 cat <<_LT_EOF > conftest.$ac_ext
8258 # Now generate the symbol file.
8259 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8261 cat <<_LT_EOF >> conftest.$ac_ext
8263 /* The mapping between symbol names and symbols. */
8268 lt__PROGRAM__LTX_preloaded_symbols[] =
8270 { "@PROGRAM@", (void *) 0 },
8272 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
8273 cat <<\_LT_EOF
>> conftest.
$ac_ext
8277 /* This works around a problem
in FreeBSD linker
*/
8278 #ifdef FREEBSD_WORKAROUND
8279 static const void
*lt_preloaded_setup
() {
8280 return lt__PROGRAM__LTX_preloaded_symbols
;
8288 # Now try linking the two files.
8289 mv conftest.
$ac_objext conftstm.
$ac_objext
8290 lt_save_LIBS
="$LIBS"
8291 lt_save_CFLAGS
="$CFLAGS"
8292 LIBS
="conftstm.$ac_objext"
8293 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8294 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8295 (eval $ac_link) 2>&5
8297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8298 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
8301 LIBS
="$lt_save_LIBS"
8302 CFLAGS
="$lt_save_CFLAGS"
8304 echo "cannot find nm_test_func in $nlist" >&5
8307 echo "cannot find nm_test_var in $nlist" >&5
8310 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8313 echo "$progname: failed program was:" >&5
8314 cat conftest.
$ac_ext >&5
8316 rm -rf conftest
* conftst
*
8318 # Do not use the global_symbol_pipe unless it works.
8319 if test "$pipe_works" = yes; then
8322 lt_cv_sys_global_symbol_pipe
=
8328 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8329 lt_cv_sys_global_symbol_to_cdecl
=
8331 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8333 $as_echo "failed" >&6; }
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8336 $as_echo "ok" >&6; }
8360 # Check whether --enable-libtool-lock was given.
8361 if test "${enable_libtool_lock+set}" = set; then :
8362 enableval
=$enable_libtool_lock;
8365 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8367 # Some flags need to be propagated to the compiler or linker for good
8371 # Find out which ABI we are using.
8372 echo 'int i;' > conftest.
$ac_ext
8373 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8374 (eval $ac_compile) 2>&5
8376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8377 test $ac_status = 0; }; then
8378 case `/usr/bin/file conftest.$ac_objext` in
8390 # Find out which ABI we are using.
8391 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8392 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8393 (eval $ac_compile) 2>&5
8395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8396 test $ac_status = 0; }; then
8397 if test "$lt_cv_prog_gnu_ld" = yes; then
8398 case `/usr/bin/file conftest.$ac_objext` in
8400 LD
="${LD-ld} -melf32bsmip"
8403 LD
="${LD-ld} -melf32bmipn32"
8406 LD
="${LD-ld} -melf64bmip"
8410 case `/usr/bin/file conftest.$ac_objext` in
8426 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
8427 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8428 # Find out which ABI we are using.
8429 echo 'int i;' > conftest.
$ac_ext
8430 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8431 (eval $ac_compile) 2>&5
8433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8434 test $ac_status = 0; }; then
8435 case `/usr/bin/file conftest.o` in
8438 x86_64-
*kfreebsd
*-gnu)
8439 LD
="${LD-ld} -m elf_i386_fbsd"
8442 case `/usr/bin/file conftest.o` in
8444 LD
="${LD-ld} -m elf32_x86_64"
8447 LD
="${LD-ld} -m elf_i386"
8451 powerpc64le-
*linux
*)
8452 LD
="${LD-ld} -m elf32lppclinux"
8455 LD
="${LD-ld} -m elf32ppclinux"
8458 LD
="${LD-ld} -m elf_s390"
8461 LD
="${LD-ld} -m elf32_sparc"
8467 x86_64-
*kfreebsd
*-gnu)
8468 LD
="${LD-ld} -m elf_x86_64_fbsd"
8471 LD
="${LD-ld} -m elf_x86_64"
8474 LD
="${LD-ld} -m elf64lppc"
8477 LD
="${LD-ld} -m elf64ppc"
8479 s390
*-*linux
*|s390
*-*tpf
*)
8480 LD
="${LD-ld} -m elf64_s390"
8483 LD
="${LD-ld} -m elf64_sparc"
8493 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8494 SAVE_CFLAGS
="$CFLAGS"
8495 CFLAGS
="$CFLAGS -belf"
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8497 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8498 if ${lt_cv_cc_needs_belf+:} false
; then :
8499 $as_echo_n "(cached) " >&6
8502 ac_cpp
='$CPP $CPPFLAGS'
8503 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8504 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8505 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8507 if test x
$gcc_no_link = xyes
; then
8508 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8511 /* end confdefs.h. */
8521 if ac_fn_c_try_link
"$LINENO"; then :
8522 lt_cv_cc_needs_belf
=yes
8524 lt_cv_cc_needs_belf
=no
8526 rm -f core conftest.err conftest.
$ac_objext \
8527 conftest
$ac_exeext conftest.
$ac_ext
8529 ac_cpp
='$CPP $CPPFLAGS'
8530 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8531 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8532 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8536 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8537 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
8538 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8539 CFLAGS
="$SAVE_CFLAGS"
8543 # Find out which ABI we are using.
8544 echo 'int i;' > conftest.
$ac_ext
8545 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8546 (eval $ac_compile) 2>&5
8548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8549 test $ac_status = 0; }; then
8550 case `/usr/bin/file conftest.o` in
8552 case $lt_cv_prog_gnu_ld in
8553 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8555 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8567 need_locks
="$enable_libtool_lock"
8571 rhapsody
* | darwin
*)
8572 if test -n "$ac_tool_prefix"; then
8573 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8574 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8576 $as_echo_n "checking for $ac_word... " >&6; }
8577 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
8578 $as_echo_n "(cached) " >&6
8580 if test -n "$DSYMUTIL"; then
8581 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8587 test -z "$as_dir" && as_dir
=.
8588 for ac_exec_ext
in '' $ac_executable_extensions; do
8589 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8590 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8600 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8601 if test -n "$DSYMUTIL"; then
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8603 $as_echo "$DSYMUTIL" >&6; }
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8606 $as_echo "no" >&6; }
8611 if test -z "$ac_cv_prog_DSYMUTIL"; then
8612 ac_ct_DSYMUTIL
=$DSYMUTIL
8613 # Extract the first word of "dsymutil", so it can be a program name with args.
8614 set dummy dsymutil
; ac_word
=$2
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8616 $as_echo_n "checking for $ac_word... " >&6; }
8617 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
8618 $as_echo_n "(cached) " >&6
8620 if test -n "$ac_ct_DSYMUTIL"; then
8621 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8627 test -z "$as_dir" && as_dir
=.
8628 for ac_exec_ext
in '' $ac_executable_extensions; do
8629 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8630 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8640 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8641 if test -n "$ac_ct_DSYMUTIL"; then
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8643 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8646 $as_echo "no" >&6; }
8649 if test "x$ac_ct_DSYMUTIL" = x
; then
8652 case $cross_compiling:$ac_tool_warned in
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8655 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8656 ac_tool_warned
=yes ;;
8658 DSYMUTIL
=$ac_ct_DSYMUTIL
8661 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8664 if test -n "$ac_tool_prefix"; then
8665 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8666 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8668 $as_echo_n "checking for $ac_word... " >&6; }
8669 if ${ac_cv_prog_NMEDIT+:} false
; then :
8670 $as_echo_n "(cached) " >&6
8672 if test -n "$NMEDIT"; then
8673 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8679 test -z "$as_dir" && as_dir
=.
8680 for ac_exec_ext
in '' $ac_executable_extensions; do
8681 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8682 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8692 NMEDIT
=$ac_cv_prog_NMEDIT
8693 if test -n "$NMEDIT"; then
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8695 $as_echo "$NMEDIT" >&6; }
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8698 $as_echo "no" >&6; }
8703 if test -z "$ac_cv_prog_NMEDIT"; then
8704 ac_ct_NMEDIT
=$NMEDIT
8705 # Extract the first word of "nmedit", so it can be a program name with args.
8706 set dummy nmedit
; ac_word
=$2
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8708 $as_echo_n "checking for $ac_word... " >&6; }
8709 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
8710 $as_echo_n "(cached) " >&6
8712 if test -n "$ac_ct_NMEDIT"; then
8713 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8719 test -z "$as_dir" && as_dir
=.
8720 for ac_exec_ext
in '' $ac_executable_extensions; do
8721 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8722 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8732 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8733 if test -n "$ac_ct_NMEDIT"; then
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8735 $as_echo "$ac_ct_NMEDIT" >&6; }
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8738 $as_echo "no" >&6; }
8741 if test "x$ac_ct_NMEDIT" = x
; then
8744 case $cross_compiling:$ac_tool_warned in
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8747 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8748 ac_tool_warned
=yes ;;
8750 NMEDIT
=$ac_ct_NMEDIT
8753 NMEDIT
="$ac_cv_prog_NMEDIT"
8756 if test -n "$ac_tool_prefix"; then
8757 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8758 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8760 $as_echo_n "checking for $ac_word... " >&6; }
8761 if ${ac_cv_prog_LIPO+:} false
; then :
8762 $as_echo_n "(cached) " >&6
8764 if test -n "$LIPO"; then
8765 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8771 test -z "$as_dir" && as_dir
=.
8772 for ac_exec_ext
in '' $ac_executable_extensions; do
8773 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8774 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8784 LIPO
=$ac_cv_prog_LIPO
8785 if test -n "$LIPO"; then
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8787 $as_echo "$LIPO" >&6; }
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8790 $as_echo "no" >&6; }
8795 if test -z "$ac_cv_prog_LIPO"; then
8797 # Extract the first word of "lipo", so it can be a program name with args.
8798 set dummy lipo
; ac_word
=$2
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8800 $as_echo_n "checking for $ac_word... " >&6; }
8801 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
8802 $as_echo_n "(cached) " >&6
8804 if test -n "$ac_ct_LIPO"; then
8805 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8811 test -z "$as_dir" && as_dir
=.
8812 for ac_exec_ext
in '' $ac_executable_extensions; do
8813 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8814 ac_cv_prog_ac_ct_LIPO
="lipo"
8815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8824 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8825 if test -n "$ac_ct_LIPO"; then
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8827 $as_echo "$ac_ct_LIPO" >&6; }
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8830 $as_echo "no" >&6; }
8833 if test "x$ac_ct_LIPO" = x
; then
8836 case $cross_compiling:$ac_tool_warned in
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8840 ac_tool_warned
=yes ;;
8845 LIPO
="$ac_cv_prog_LIPO"
8848 if test -n "$ac_tool_prefix"; then
8849 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8850 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8852 $as_echo_n "checking for $ac_word... " >&6; }
8853 if ${ac_cv_prog_OTOOL+:} false
; then :
8854 $as_echo_n "(cached) " >&6
8856 if test -n "$OTOOL"; then
8857 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8863 test -z "$as_dir" && as_dir
=.
8864 for ac_exec_ext
in '' $ac_executable_extensions; do
8865 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8866 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8876 OTOOL
=$ac_cv_prog_OTOOL
8877 if test -n "$OTOOL"; then
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8879 $as_echo "$OTOOL" >&6; }
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8882 $as_echo "no" >&6; }
8887 if test -z "$ac_cv_prog_OTOOL"; then
8889 # Extract the first word of "otool", so it can be a program name with args.
8890 set dummy otool
; ac_word
=$2
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8892 $as_echo_n "checking for $ac_word... " >&6; }
8893 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
8894 $as_echo_n "(cached) " >&6
8896 if test -n "$ac_ct_OTOOL"; then
8897 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8903 test -z "$as_dir" && as_dir
=.
8904 for ac_exec_ext
in '' $ac_executable_extensions; do
8905 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8906 ac_cv_prog_ac_ct_OTOOL
="otool"
8907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8916 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8917 if test -n "$ac_ct_OTOOL"; then
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8919 $as_echo "$ac_ct_OTOOL" >&6; }
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8922 $as_echo "no" >&6; }
8925 if test "x$ac_ct_OTOOL" = x
; then
8928 case $cross_compiling:$ac_tool_warned in
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8931 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8932 ac_tool_warned
=yes ;;
8937 OTOOL
="$ac_cv_prog_OTOOL"
8940 if test -n "$ac_tool_prefix"; then
8941 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8942 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8944 $as_echo_n "checking for $ac_word... " >&6; }
8945 if ${ac_cv_prog_OTOOL64+:} false
; then :
8946 $as_echo_n "(cached) " >&6
8948 if test -n "$OTOOL64"; then
8949 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8955 test -z "$as_dir" && as_dir
=.
8956 for ac_exec_ext
in '' $ac_executable_extensions; do
8957 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8958 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8968 OTOOL64
=$ac_cv_prog_OTOOL64
8969 if test -n "$OTOOL64"; then
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8971 $as_echo "$OTOOL64" >&6; }
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8974 $as_echo "no" >&6; }
8979 if test -z "$ac_cv_prog_OTOOL64"; then
8980 ac_ct_OTOOL64
=$OTOOL64
8981 # Extract the first word of "otool64", so it can be a program name with args.
8982 set dummy otool64
; ac_word
=$2
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8984 $as_echo_n "checking for $ac_word... " >&6; }
8985 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
8986 $as_echo_n "(cached) " >&6
8988 if test -n "$ac_ct_OTOOL64"; then
8989 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8995 test -z "$as_dir" && as_dir
=.
8996 for ac_exec_ext
in '' $ac_executable_extensions; do
8997 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8998 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9008 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
9009 if test -n "$ac_ct_OTOOL64"; then
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9011 $as_echo "$ac_ct_OTOOL64" >&6; }
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9014 $as_echo "no" >&6; }
9017 if test "x$ac_ct_OTOOL64" = x
; then
9020 case $cross_compiling:$ac_tool_warned in
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9023 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9024 ac_tool_warned
=yes ;;
9026 OTOOL64
=$ac_ct_OTOOL64
9029 OTOOL64
="$ac_cv_prog_OTOOL64"
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9059 $as_echo_n "checking for -single_module linker flag... " >&6; }
9060 if ${lt_cv_apple_cc_single_mod+:} false
; then :
9061 $as_echo_n "(cached) " >&6
9063 lt_cv_apple_cc_single_mod
=no
9064 if test -z "${LT_MULTI_MODULE}"; then
9065 # By default we will add the -single_module flag. You can override
9066 # by either setting the environment variable LT_MULTI_MODULE
9067 # non-empty at configure time, or by adding -multi_module to the
9069 rm -rf libconftest.dylib
*
9070 echo "int foo(void){return 1;}" > conftest.c
9071 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9072 -dynamiclib -Wl,-single_module conftest.c" >&5
9073 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9074 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
9076 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
9077 lt_cv_apple_cc_single_mod
=yes
9079 cat conftest.err
>&5
9081 rm -rf libconftest.dylib
*
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9086 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9088 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9089 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
9090 $as_echo_n "(cached) " >&6
9092 lt_cv_ld_exported_symbols_list
=no
9093 save_LDFLAGS
=$LDFLAGS
9094 echo "_main" > conftest.sym
9095 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9096 if test x
$gcc_no_link = xyes
; then
9097 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9100 /* end confdefs.h. */
9110 if ac_fn_c_try_link
"$LINENO"; then :
9111 lt_cv_ld_exported_symbols_list
=yes
9113 lt_cv_ld_exported_symbols_list
=no
9115 rm -f core conftest.err conftest.
$ac_objext \
9116 conftest
$ac_exeext conftest.
$ac_ext
9117 LDFLAGS
="$save_LDFLAGS"
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9121 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9123 $as_echo_n "checking for -force_load linker flag... " >&6; }
9124 if ${lt_cv_ld_force_load+:} false
; then :
9125 $as_echo_n "(cached) " >&6
9127 lt_cv_ld_force_load
=no
9128 cat > conftest.c
<< _LT_EOF
9129 int forced_loaded() { return 2;}
9131 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9132 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
9133 echo "$AR cru libconftest.a conftest.o" >&5
9134 $AR cru libconftest.a conftest.o
2>&5
9135 cat > conftest.c
<< _LT_EOF
9136 int main() { return 0;}
9138 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9139 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
9141 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
9142 lt_cv_ld_force_load
=yes
9144 cat conftest.err
>&5
9146 rm -f conftest.err libconftest.a conftest conftest.c
9147 rm -rf conftest.dSYM
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9151 $as_echo "$lt_cv_ld_force_load" >&6; }
9153 rhapsody
* | darwin1.
[012])
9154 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
9156 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9157 darwin
*) # darwin 5.x on
9158 # if running on 10.5 or later, the deployment target defaults
9159 # to the OS version, if on x86, and 10.4, the deployment
9160 # target defaults to 10.4. Don't you love it?
9161 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9162 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
9163 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
9165 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9167 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
9171 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9172 _lt_dar_single_mod
='$single_module'
9174 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9175 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9177 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9179 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9180 _lt_dsymutil
='~$DSYMUTIL $lib || :'
9187 for ac_header
in dlfcn.h
9189 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9191 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
9192 cat >>confdefs.h
<<_ACEOF
9193 #define HAVE_DLFCN_H 1
9212 # Check whether --enable-shared was given.
9213 if test "${enable_shared+set}" = set; then :
9214 enableval
=$enable_shared; p
=${PACKAGE-default}
9216 yes) enable_shared
=yes ;;
9217 no
) enable_shared
=no
;;
9220 # Look at the argument we got. We use all the common list separators.
9221 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9222 for pkg
in $enableval; do
9224 if test "X$pkg" = "X$p"; then
9243 # Check whether --enable-static was given.
9244 if test "${enable_static+set}" = set; then :
9245 enableval
=$enable_static; p
=${PACKAGE-default}
9247 yes) enable_static
=yes ;;
9248 no
) enable_static
=no
;;
9251 # Look at the argument we got. We use all the common list separators.
9252 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9253 for pkg
in $enableval; do
9255 if test "X$pkg" = "X$p"; then
9275 # Check whether --with-pic was given.
9276 if test "${with_pic+set}" = set; then :
9277 withval
=$with_pic; pic_mode
="$withval"
9283 test -z "$pic_mode" && pic_mode
=default
9291 # Check whether --enable-fast-install was given.
9292 if test "${enable_fast_install+set}" = set; then :
9293 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9295 yes) enable_fast_install
=yes ;;
9296 no
) enable_fast_install
=no
;;
9298 enable_fast_install
=no
9299 # Look at the argument we got. We use all the common list separators.
9300 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9301 for pkg
in $enableval; do
9303 if test "X$pkg" = "X$p"; then
9304 enable_fast_install
=yes
9311 enable_fast_install
=yes
9324 # This can be used to rebuild libtool when needed
9325 LIBTOOL_DEPS
="$ltmain"
9327 # Always use our own libtool.
9328 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9355 test -z "$LN_S" && LN_S
="ln -s"
9370 if test -n "${ZSH_VERSION+set}" ; then
9371 setopt NO_GLOB_SUBST
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9375 $as_echo_n "checking for objdir... " >&6; }
9376 if ${lt_cv_objdir+:} false
; then :
9377 $as_echo_n "(cached) " >&6
9379 rm -f .libs
2>/dev
/null
9380 mkdir .libs
2>/dev
/null
9381 if test -d .libs
; then
9384 # MS-DOS does not allow filenames that begin with a dot.
9387 rmdir .libs
2>/dev
/null
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9390 $as_echo "$lt_cv_objdir" >&6; }
9391 objdir
=$lt_cv_objdir
9397 cat >>confdefs.h
<<_ACEOF
9398 #define LT_OBJDIR "$lt_cv_objdir/"
9406 # AIX sometimes has problems with the GCC collect2 program. For some
9407 # reason, if we set the COLLECT_NAMES environment variable, the problems
9408 # vanish in a puff of smoke.
9409 if test "X${COLLECT_NAMES+set}" != Xset
; then
9411 export COLLECT_NAMES
9418 can_build_shared
=yes
9420 # All known linkers require a `.a' archive for static linking (except MSVC,
9421 # which needs '.lib').
9424 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9427 old_CFLAGS
="$CFLAGS"
9429 # Set sane defaults for various variables
9430 test -z "$CC" && CC
=cc
9431 test -z "$LTCC" && LTCC
=$CC
9432 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9433 test -z "$LD" && LD
=ld
9434 test -z "$ac_objext" && ac_objext
=o
9436 for cc_temp
in $compiler""; do
9438 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9439 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9444 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9447 # Only perform the check for file, if the check method requires it
9448 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9449 case $deplibs_check_method in
9451 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9453 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9454 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9455 $as_echo_n "(cached) " >&6
9459 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9462 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9463 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9464 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9465 for ac_dir
in $ac_dummy; do
9467 test -z "$ac_dir" && ac_dir
=.
9468 if test -f $ac_dir/${ac_tool_prefix}file; then
9469 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9470 if test -n "$file_magic_test_file"; then
9471 case $deplibs_check_method in
9473 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9474 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9475 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9476 $EGREP "$file_magic_regex" > /dev
/null
; then
9481 *** Warning: the command libtool uses to detect shared libraries,
9482 *** $file_magic_cmd, produces output that libtool cannot recognize.
9483 *** The result is that libtool may fail to recognize shared libraries
9484 *** as such. This will affect the creation of libtool libraries that
9485 *** depend on shared libraries, but programs linked with such libtool
9486 *** libraries will work regardless of this problem. Nevertheless, you
9487 *** may want to report the problem to your system manager and/or to
9488 *** bug-libtool@gnu.org
9498 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9503 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9504 if test -n "$MAGIC_CMD"; then
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9506 $as_echo "$MAGIC_CMD" >&6; }
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9509 $as_echo "no" >&6; }
9516 if test -z "$lt_cv_path_MAGIC_CMD"; then
9517 if test -n "$ac_tool_prefix"; then
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9519 $as_echo_n "checking for file... " >&6; }
9520 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9521 $as_echo_n "(cached) " >&6
9525 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9528 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9529 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9530 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9531 for ac_dir
in $ac_dummy; do
9533 test -z "$ac_dir" && ac_dir
=.
9534 if test -f $ac_dir/file; then
9535 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9536 if test -n "$file_magic_test_file"; then
9537 case $deplibs_check_method in
9539 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9540 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9541 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9542 $EGREP "$file_magic_regex" > /dev
/null
; then
9547 *** Warning: the command libtool uses to detect shared libraries,
9548 *** $file_magic_cmd, produces output that libtool cannot recognize.
9549 *** The result is that libtool may fail to recognize shared libraries
9550 *** as such. This will affect the creation of libtool libraries that
9551 *** depend on shared libraries, but programs linked with such libtool
9552 *** libraries will work regardless of this problem. Nevertheless, you
9553 *** may want to report the problem to your system manager and/or to
9554 *** bug-libtool@gnu.org
9564 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9569 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9570 if test -n "$MAGIC_CMD"; then
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9572 $as_echo "$MAGIC_CMD" >&6; }
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9575 $as_echo "no" >&6; }
9588 # Use C for the default configuration in the libtool script
9592 ac_cpp
='$CPP $CPPFLAGS'
9593 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9594 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9595 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9598 # Source file extension for C test sources.
9601 # Object file extension for compiled C test sources.
9605 # Code to be used in simple compile tests
9606 lt_simple_compile_test_code
="int some_variable = 0;"
9608 # Code to be used in simple link tests
9609 lt_simple_link_test_code
='int main(){return(0);}'
9617 # If no C compiler was specified, use CC.
9620 # If no C compiler flags were specified, use CFLAGS.
9621 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9623 # Allow CC to be a program name with arguments.
9626 # Save the default compiler, since it gets overwritten when the other
9627 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9628 compiler_DEFAULT
=$CC
9630 # save warnings/boilerplate of simple test code
9631 ac_outfile
=conftest.
$ac_objext
9632 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9633 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9634 _lt_compiler_boilerplate
=`cat conftest.err`
9637 ac_outfile
=conftest.
$ac_objext
9638 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9639 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9640 _lt_linker_boilerplate
=`cat conftest.err`
9645 ## There is no encapsulation within the following macros, do not change
9646 ## the running order or otherwise move them around unless you know exactly
9647 ## what you are doing...
9648 if test -n "$compiler"; then
9650 lt_prog_compiler_no_builtin_flag
=
9652 if test "$GCC" = yes; then
9653 case $cc_basename in
9655 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9657 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9661 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9662 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9663 $as_echo_n "(cached) " >&6
9665 lt_cv_prog_compiler_rtti_exceptions
=no
9666 ac_outfile
=conftest.
$ac_objext
9667 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9668 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9669 # Insert the option either (1) after the last *FLAGS variable, or
9670 # (2) before a word containing "conftest.", or (3) at the end.
9671 # Note that $ac_compile itself does not contain backslashes and begins
9672 # with a dollar sign (not a hyphen), so the echo should work correctly.
9673 # The option is referenced via a variable to avoid confusing sed.
9674 lt_compile
=`echo "$ac_compile" | $SED \
9675 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9676 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9677 -e 's:$: $lt_compiler_flag:'`
9678 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9679 (eval "$lt_compile" 2>conftest.err
)
9681 cat conftest.err
>&5
9682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9683 if (exit $ac_status) && test -s "$ac_outfile"; then
9684 # The compiler can only warn and ignore the option if not recognized
9685 # So say no if there are warnings other than the usual output.
9686 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9687 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9688 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9689 lt_cv_prog_compiler_rtti_exceptions
=yes
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9696 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9698 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9699 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9711 lt_prog_compiler_wl
=
9712 lt_prog_compiler_pic
=
9713 lt_prog_compiler_static
=
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9716 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9718 if test "$GCC" = yes; then
9719 lt_prog_compiler_wl
='-Wl,'
9720 lt_prog_compiler_static
='-static'
9724 # All AIX code is PIC.
9725 if test "$host_cpu" = ia64
; then
9726 # AIX 5 now supports IA64 processor
9727 lt_prog_compiler_static
='-Bstatic'
9729 lt_prog_compiler_pic
='-fPIC'
9735 # see comment about AmigaOS4 .so support
9736 lt_prog_compiler_pic
='-fPIC'
9739 # FIXME: we need at least 68020 code to build shared libraries, but
9740 # adding the `-m68020' flag to GCC prevents building anything better,
9742 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9747 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9748 # PIC is the default for these OSes.
9751 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9752 # This hack is so that the source file can tell whether it is being
9753 # built for inclusion in a dll (and should export symbols for example).
9754 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9755 # (--disable-auto-import) libraries
9756 lt_prog_compiler_pic
='-DDLL_EXPORT'
9759 darwin
* | rhapsody
*)
9760 # PIC is the default on this platform
9761 # Common symbols not allowed in MH_DYLIB files
9762 lt_prog_compiler_pic
='-fno-common'
9766 # PIC is the default for Haiku.
9767 # The "-static" flag exists, but is broken.
9768 lt_prog_compiler_static
=
9772 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9773 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9774 # sets the default TLS model and affects inlining.
9780 lt_prog_compiler_pic
='-fPIC'
9786 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9787 # Instead, we relocate shared libraries at runtime.
9791 # Just because we use GCC doesn't mean we suddenly get shared libraries
9792 # on systems that don't support them.
9793 lt_prog_compiler_can_build_shared
=no
9798 # QNX uses GNU C++, but need to define -shared option too, otherwise
9800 lt_prog_compiler_pic
='-fPIC -shared'
9804 if test -d /usr
/nec
; then
9805 lt_prog_compiler_pic
=-Kconform_pic
9810 lt_prog_compiler_pic
='-fPIC'
9814 case $cc_basename in
9815 nvcc
*) # Cuda Compiler Driver 2.2
9816 lt_prog_compiler_wl
='-Xlinker '
9817 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9821 # PORTME Check for flag to pass linker flags through the system compiler.
9824 lt_prog_compiler_wl
='-Wl,'
9825 if test "$host_cpu" = ia64
; then
9826 # AIX 5 now supports IA64 processor
9827 lt_prog_compiler_static
='-Bstatic'
9829 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9833 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9834 # This hack is so that the source file can tell whether it is being
9835 # built for inclusion in a dll (and should export symbols for example).
9836 lt_prog_compiler_pic
='-DDLL_EXPORT'
9839 hpux9
* | hpux10
* | hpux11
*)
9840 lt_prog_compiler_wl
='-Wl,'
9841 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9848 lt_prog_compiler_pic
='+Z'
9851 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9852 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9855 irix5
* | irix6
* | nonstopux
*)
9856 lt_prog_compiler_wl
='-Wl,'
9857 # PIC (with -KPIC) is the default.
9858 lt_prog_compiler_static
='-non_shared'
9861 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9862 case $cc_basename in
9863 # old Intel for x86_64 which still supported -KPIC.
9865 lt_prog_compiler_wl
='-Wl,'
9866 lt_prog_compiler_pic
='-KPIC'
9867 lt_prog_compiler_static
='-static'
9869 # icc used to be incompatible with GCC.
9870 # ICC 10 doesn't accept -KPIC any more.
9872 lt_prog_compiler_wl
='-Wl,'
9873 lt_prog_compiler_pic
='-fPIC'
9874 lt_prog_compiler_static
='-static'
9876 # Lahey Fortran 8.1.
9878 lt_prog_compiler_wl
='-Wl,'
9879 lt_prog_compiler_pic
='--shared'
9880 lt_prog_compiler_static
='--static'
9882 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9883 # Portland Group compilers (*not* the Pentium gcc compiler,
9884 # which looks to be a dead project)
9885 lt_prog_compiler_wl
='-Wl,'
9886 lt_prog_compiler_pic
='-fpic'
9887 lt_prog_compiler_static
='-Bstatic'
9890 lt_prog_compiler_wl
='-Wl,'
9891 # All Alpha code is PIC.
9892 lt_prog_compiler_static
='-non_shared'
9894 xl
* | bgxl
* | bgf
* | mpixl
*)
9895 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9896 lt_prog_compiler_wl
='-Wl,'
9897 lt_prog_compiler_pic
='-qpic'
9898 lt_prog_compiler_static
='-qstaticlink'
9901 case `$CC -V 2>&1 | sed 5q` in
9902 *Sun\ F
* |
*Sun
*Fortran
*)
9903 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9904 lt_prog_compiler_pic
='-KPIC'
9905 lt_prog_compiler_static
='-Bstatic'
9906 lt_prog_compiler_wl
=''
9910 lt_prog_compiler_pic
='-KPIC'
9911 lt_prog_compiler_static
='-Bstatic'
9912 lt_prog_compiler_wl
='-Wl,'
9920 lt_prog_compiler_pic
='-KPIC'
9921 lt_prog_compiler_static
='-Bstatic'
9925 # QNX uses GNU C++, but need to define -shared option too, otherwise
9927 lt_prog_compiler_pic
='-fPIC -shared'
9930 osf3
* | osf4
* | osf5
*)
9931 lt_prog_compiler_wl
='-Wl,'
9932 # All OSF/1 code is PIC.
9933 lt_prog_compiler_static
='-non_shared'
9937 lt_prog_compiler_static
='-non_shared'
9941 lt_prog_compiler_pic
='-KPIC'
9942 lt_prog_compiler_static
='-Bstatic'
9943 case $cc_basename in
9945 lt_prog_compiler_wl
='-Qoption ld ';;
9947 lt_prog_compiler_wl
='-Wl,';;
9952 lt_prog_compiler_wl
='-Qoption ld '
9953 lt_prog_compiler_pic
='-PIC'
9954 lt_prog_compiler_static
='-Bstatic'
9957 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9958 lt_prog_compiler_wl
='-Wl,'
9959 lt_prog_compiler_pic
='-KPIC'
9960 lt_prog_compiler_static
='-Bstatic'
9964 if test -d /usr
/nec
;then
9965 lt_prog_compiler_pic
='-Kconform_pic'
9966 lt_prog_compiler_static
='-Bstatic'
9970 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9971 lt_prog_compiler_wl
='-Wl,'
9972 lt_prog_compiler_pic
='-KPIC'
9973 lt_prog_compiler_static
='-Bstatic'
9977 lt_prog_compiler_wl
='-Wl,'
9978 lt_prog_compiler_can_build_shared
=no
9982 lt_prog_compiler_pic
='-pic'
9983 lt_prog_compiler_static
='-Bstatic'
9987 lt_prog_compiler_can_build_shared
=no
9993 # For platforms which do not support PIC, -DPIC is meaningless:
9995 lt_prog_compiler_pic
=
9998 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10002 $as_echo "$lt_prog_compiler_pic" >&6; }
10010 # Check to make sure the PIC flag actually works.
10012 if test -n "$lt_prog_compiler_pic"; then
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10014 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10015 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
10016 $as_echo_n "(cached) " >&6
10018 lt_cv_prog_compiler_pic_works
=no
10019 ac_outfile
=conftest.
$ac_objext
10020 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10021 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
10022 # Insert the option either (1) after the last *FLAGS variable, or
10023 # (2) before a word containing "conftest.", or (3) at the end.
10024 # Note that $ac_compile itself does not contain backslashes and begins
10025 # with a dollar sign (not a hyphen), so the echo should work correctly.
10026 # The option is referenced via a variable to avoid confusing sed.
10027 lt_compile
=`echo "$ac_compile" | $SED \
10028 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10029 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10030 -e 's:$: $lt_compiler_flag:'`
10031 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10032 (eval "$lt_compile" 2>conftest.err
)
10034 cat conftest.err
>&5
10035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10036 if (exit $ac_status) && test -s "$ac_outfile"; then
10037 # The compiler can only warn and ignore the option if not recognized
10038 # So say no if there are warnings other than the usual output.
10039 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10040 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10041 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10042 lt_cv_prog_compiler_pic_works
=yes
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10049 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10051 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
10052 case $lt_prog_compiler_pic in
10054 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10057 lt_prog_compiler_pic
=
10058 lt_prog_compiler_can_build_shared
=no
10069 # Check to make sure the static flag actually works.
10071 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10073 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10074 if ${lt_cv_prog_compiler_static_works+:} false
; then :
10075 $as_echo_n "(cached) " >&6
10077 lt_cv_prog_compiler_static_works
=no
10078 save_LDFLAGS
="$LDFLAGS"
10079 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10080 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10081 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10082 # The linker can only warn and ignore the option if not recognized
10083 # So say no if there are warnings
10084 if test -s conftest.err
; then
10085 # Append any errors to the config.log.
10086 cat conftest.err
1>&5
10087 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10088 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10089 if diff conftest.exp conftest.er2
>/dev
/null
; then
10090 lt_cv_prog_compiler_static_works
=yes
10093 lt_cv_prog_compiler_static_works
=yes
10097 LDFLAGS
="$save_LDFLAGS"
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10101 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10103 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
10106 lt_prog_compiler_static
=
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10116 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10117 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10118 $as_echo_n "(cached) " >&6
10120 lt_cv_prog_compiler_c_o
=no
10121 $RM -r conftest
2>/dev
/null
10125 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10127 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10128 # Insert the option either (1) after the last *FLAGS variable, or
10129 # (2) before a word containing "conftest.", or (3) at the end.
10130 # Note that $ac_compile itself does not contain backslashes and begins
10131 # with a dollar sign (not a hyphen), so the echo should work correctly.
10132 lt_compile
=`echo "$ac_compile" | $SED \
10133 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10134 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10135 -e 's:$: $lt_compiler_flag:'`
10136 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10137 (eval "$lt_compile" 2>out
/conftest.err
)
10139 cat out
/conftest.err
>&5
10140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10141 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10143 # The compiler can only warn and ignore the option if not recognized
10144 # So say no if there are warnings
10145 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10146 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10147 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10148 lt_cv_prog_compiler_c_o
=yes
10153 # SGI C++ compiler will create directory out/ii_files/ for
10154 # template instantiation
10155 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10156 $RM out
/* && rmdir out
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10163 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10171 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10172 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10173 $as_echo_n "(cached) " >&6
10175 lt_cv_prog_compiler_c_o
=no
10176 $RM -r conftest
2>/dev
/null
10180 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10182 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10183 # Insert the option either (1) after the last *FLAGS variable, or
10184 # (2) before a word containing "conftest.", or (3) at the end.
10185 # Note that $ac_compile itself does not contain backslashes and begins
10186 # with a dollar sign (not a hyphen), so the echo should work correctly.
10187 lt_compile
=`echo "$ac_compile" | $SED \
10188 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10189 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10190 -e 's:$: $lt_compiler_flag:'`
10191 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10192 (eval "$lt_compile" 2>out
/conftest.err
)
10194 cat out
/conftest.err
>&5
10195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10196 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10198 # The compiler can only warn and ignore the option if not recognized
10199 # So say no if there are warnings
10200 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10201 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10202 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10203 lt_cv_prog_compiler_c_o
=yes
10208 # SGI C++ compiler will create directory out/ii_files/ for
10209 # template instantiation
10210 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10211 $RM out
/* && rmdir out
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10218 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10223 hard_links
="nottested"
10224 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
10225 # do not overwrite the value of need_locks provided by the user
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10227 $as_echo_n "checking if we can lock with hard links... " >&6; }
10230 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10232 ln conftest.a conftest.b
2>&5 || hard_links
=no
10233 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10235 $as_echo "$hard_links" >&6; }
10236 if test "$hard_links" = no
; then
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10238 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10251 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10254 allow_undefined_flag
=
10255 always_export_symbols
=no
10257 archive_expsym_cmds
=
10258 compiler_needs_object
=no
10259 enable_shared_with_static_runtimes
=no
10260 export_dynamic_flag_spec
=
10261 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10262 hardcode_automatic
=no
10264 hardcode_direct_absolute
=no
10265 hardcode_libdir_flag_spec
=
10266 hardcode_libdir_flag_spec_ld
=
10267 hardcode_libdir_separator
=
10268 hardcode_minus_L
=no
10269 hardcode_shlibpath_var
=unsupported
10271 link_all_deplibs
=unknown
10273 module_expsym_cmds
=
10274 old_archive_from_new_cmds
=
10275 old_archive_from_expsyms_cmds
=
10276 thread_safe_flag_spec
=
10277 whole_archive_flag_spec
=
10278 # include_expsyms should be a list of space-separated symbols to be *always*
10279 # included in the symbol list
10281 # exclude_expsyms can be an extended regexp of symbols to exclude
10282 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10283 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10284 # as well as any symbol that contains `d'.
10285 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10286 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10287 # platforms (ab)use it in PIC code, but their linkers get confused if
10288 # the symbol is explicitly referenced. Since portable code cannot
10289 # rely on this symbol name, it's probably fine to never include it in
10290 # preloaded symbol tables.
10291 # Exclude shared library initialization/finalization symbols.
10292 extract_expsyms_cmds
=
10295 cygwin
* | mingw
* | pw32
* | cegcc
*)
10296 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10297 # When not using gcc, we currently assume that we are using
10298 # Microsoft Visual C++.
10299 if test "$GCC" != yes; then
10304 # we just hope/assume this is gcc and not c89 (= MSVC++)
10314 # On some targets, GNU ld is compatible enough with the native linker
10315 # that we're better off using the native interface for both.
10316 lt_use_gnu_ld_interface
=no
10317 if test "$with_gnu_ld" = yes; then
10320 # The AIX port of GNU ld has always aspired to compatibility
10321 # with the native linker. However, as the warning in the GNU ld
10322 # block says, versions before 2.19.5* couldn't really create working
10323 # shared libraries, regardless of the interface used.
10324 case `$LD -v 2>&1` in
10325 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10326 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10327 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10329 lt_use_gnu_ld_interface
=yes
10334 lt_use_gnu_ld_interface
=yes
10339 if test "$lt_use_gnu_ld_interface" = yes; then
10340 # If archive_cmds runs LD, not CC, wlarc should be empty
10343 # Set some defaults for GNU ld with shared library support. These
10344 # are reset later if shared libraries are not supported. Putting them
10345 # here allows them to be overridden if necessary.
10346 runpath_var
=LD_RUN_PATH
10347 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10348 export_dynamic_flag_spec
='${wl}--export-dynamic'
10349 # ancient GNU ld didn't support --whole-archive et. al.
10350 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10351 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10353 whole_archive_flag_spec
=
10355 supports_anon_versioning
=no
10356 case `$LD -v 2>&1` in
10357 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10358 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10359 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10360 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10361 *\
2.11.
*) ;; # other 2.11 versions
10362 *) supports_anon_versioning
=yes ;;
10365 # See if GNU ld supports shared libraries.
10368 # On AIX/PPC, the GNU linker is very broken
10369 if test "$host_cpu" != ia64
; then
10373 *** Warning: the GNU linker, at least up to release 2.19, is reported
10374 *** to be unable to reliably create shared libraries on AIX.
10375 *** Therefore, libtool is disabling shared libraries support. If you
10376 *** really care for shared libraries, you may want to install binutils
10377 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10378 *** You will then need to restart the configuration process.
10387 # see comment about AmigaOS4 .so support
10388 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10389 archive_expsym_cmds
=''
10392 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)'
10393 hardcode_libdir_flag_spec
='-L$libdir'
10394 hardcode_minus_L
=yes
10400 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10401 allow_undefined_flag
=unsupported
10402 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10403 # support --undefined. This deserves some investigation. FIXME
10404 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10410 cygwin
* | mingw
* | pw32
* | cegcc
*)
10411 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10412 # as there is no search path for DLLs.
10413 hardcode_libdir_flag_spec
='-L$libdir'
10414 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10415 allow_undefined_flag
=unsupported
10416 always_export_symbols
=no
10417 enable_shared_with_static_runtimes
=yes
10418 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10420 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10421 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10422 # If the export-symbols file already is a .def file (1st line
10423 # is EXPORTS), use it as is; otherwise, prepend...
10424 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10425 cp $export_symbols $output_objdir/$soname.def;
10427 echo EXPORTS > $output_objdir/$soname.def;
10428 cat $export_symbols >> $output_objdir/$soname.def;
10430 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10437 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10438 link_all_deplibs
=yes
10443 hardcode_shlibpath_var
=no
10444 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10445 export_dynamic_flag_spec
='${wl}-E'
10446 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10447 # Instead, shared libraries are loaded at an image base (0x10000000 by
10448 # default) and relocated if they conflict, which is a slow very memory
10449 # consuming and fragmenting process. To avoid this, we pick a random,
10450 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10451 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10452 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10453 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'
10456 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10458 if test "$host_os" = linux-dietlibc
; then
10459 case $cc_basename in
10460 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10463 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10464 && test "$tmp_diet" = no
10466 tmp_addflag
=' $pic_flag'
10467 tmp_sharedflag
='-shared'
10468 case $cc_basename,$host_cpu in
10469 pgcc
*) # Portland Group C compiler
10470 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'
10471 tmp_addflag
=' $pic_flag'
10473 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10474 # Portland Group f77 and f90 compilers
10475 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10476 tmp_addflag
=' $pic_flag -Mnomain' ;;
10477 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10478 tmp_addflag
=' -i_dynamic' ;;
10479 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10480 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10481 ifc
* | ifort
*) # Intel Fortran compiler
10482 tmp_addflag
=' -nofor_main' ;;
10483 lf95
*) # Lahey Fortran 8.1
10484 whole_archive_flag_spec
=
10485 tmp_sharedflag
='--shared' ;;
10486 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10487 tmp_sharedflag
='-qmkshrobj'
10489 nvcc
*) # Cuda Compiler Driver 2.2
10490 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'
10491 compiler_needs_object
=yes
10494 case `$CC -V 2>&1 | sed 5q` in
10495 *Sun\ C
*) # Sun C 5.9
10496 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'
10497 compiler_needs_object
=yes
10498 tmp_sharedflag
='-G' ;;
10499 *Sun\ F
*) # Sun Fortran 8.3
10500 tmp_sharedflag
='-G' ;;
10502 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10504 if test "x$supports_anon_versioning" = xyes
; then
10505 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10506 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10507 echo "local: *; };" >> $output_objdir/$libname.ver~
10508 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10511 case $cc_basename in
10512 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10513 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10514 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10515 hardcode_libdir_flag_spec
=
10516 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10517 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10518 if test "x$supports_anon_versioning" = xyes
; then
10519 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10520 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10521 echo "local: *; };" >> $output_objdir/$libname.ver~
10522 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10532 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10533 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10536 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10537 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10542 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10546 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10547 *** create shared libraries on Solaris systems. Therefore, libtool
10548 *** is disabling shared libraries support. We urge you to upgrade GNU
10549 *** binutils to release 2.9.1 or newer. Another option is to modify
10550 *** your PATH or compiler configuration so that the native linker is
10551 *** used, and then restart.
10554 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10555 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10556 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10562 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10563 case `$LD -v 2>&1` in
10564 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10568 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10569 *** reliably create shared libraries on SCO systems. Therefore, libtool
10570 *** is disabling shared libraries support. We urge you to upgrade GNU
10571 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10572 *** your PATH or compiler configuration so that the native linker is
10573 *** used, and then restart.
10578 # For security reasons, it is highly recommended that you always
10579 # use absolute paths for naming shared libraries, and exclude the
10580 # DT_RUNPATH tag from executables and libraries. But doing so
10581 # requires that you compile everything twice, which is a pain.
10582 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10583 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10584 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10585 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10594 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10596 hardcode_direct
=yes
10597 hardcode_shlibpath_var
=no
10601 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10602 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10603 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10610 if test "$ld_shlibs" = no
; then
10612 hardcode_libdir_flag_spec
=
10613 export_dynamic_flag_spec
=
10614 whole_archive_flag_spec
=
10617 # PORTME fill in a description of your system's linker (not GNU ld)
10620 allow_undefined_flag
=unsupported
10621 always_export_symbols
=yes
10622 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'
10623 # Note: this linker hardcodes the directories in LIBPATH if there
10624 # are no directories specified by -L.
10625 hardcode_minus_L
=yes
10626 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10627 # Neither direct hardcoding nor static linking is supported with a
10629 hardcode_direct
=unsupported
10634 if test "$host_cpu" = ia64
; then
10635 # On IA64, the linker does run time linking by default, so we don't
10636 # have to do anything special.
10637 aix_use_runtimelinking
=no
10638 exp_sym_flag
='-Bexport'
10641 # If we're using GNU nm, then we don't want the "-C" option.
10642 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10643 # Also, AIX nm treats weak defined symbols like other global
10644 # defined symbols, whereas GNU nm marks them as "W".
10645 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10646 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'
10648 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'
10650 aix_use_runtimelinking
=no
10652 # Test if we are trying to use run time linking or normal
10653 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10654 # need to do runtime linking.
10655 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10656 for ld_flag
in $LDFLAGS; do
10657 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10658 aix_use_runtimelinking
=yes
10665 exp_sym_flag
='-bexport'
10666 no_entry_flag
='-bnoentry'
10669 # When large executables or shared objects are built, AIX ld can
10670 # have problems creating the table of contents. If linking a library
10671 # or program results in "error TOC overflow" add -mminimal-toc to
10672 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10673 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10676 hardcode_direct
=yes
10677 hardcode_direct_absolute
=yes
10678 hardcode_libdir_separator
=':'
10679 link_all_deplibs
=yes
10680 file_list_spec
='${wl}-f,'
10682 if test "$GCC" = yes; then
10683 case $host_os in aix4.
[012]|aix4.
[012].
*)
10684 # We only want to do this on AIX 4.2 and lower, the check
10685 # below for broken collect2 doesn't work under 4.3+
10686 collect2name
=`${CC} -print-prog-name=collect2`
10687 if test -f "$collect2name" &&
10688 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10690 # We have reworked collect2
10693 # We have old collect2
10694 hardcode_direct
=unsupported
10695 # It fails to find uninstalled libraries when the uninstalled
10696 # path is not listed in the libpath. Setting hardcode_minus_L
10697 # to unsupported forces relinking
10698 hardcode_minus_L
=yes
10699 hardcode_libdir_flag_spec
='-L$libdir'
10700 hardcode_libdir_separator
=
10704 shared_flag
='-shared'
10705 if test "$aix_use_runtimelinking" = yes; then
10706 shared_flag
="$shared_flag "'${wl}-G'
10710 if test "$host_cpu" = ia64
; then
10711 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10712 # chokes on -Wl,-G. The following line is correct:
10715 if test "$aix_use_runtimelinking" = yes; then
10716 shared_flag
='${wl}-G'
10718 shared_flag
='${wl}-bM:SRE'
10723 export_dynamic_flag_spec
='${wl}-bexpall'
10724 # It seems that -bexpall does not export symbols beginning with
10725 # underscore (_), so it is better to generate a list of symbols to export.
10726 always_export_symbols
=yes
10727 if test "$aix_use_runtimelinking" = yes; then
10728 # Warning - without using the other runtime loading flags (-brtl),
10729 # -berok will link without error, but may produce a broken library.
10730 allow_undefined_flag
='-berok'
10731 # Determine the default libpath from the value encoded in an
10732 # empty executable.
10733 if test x
$gcc_no_link = xyes
; then
10734 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10737 /* end confdefs.h. */
10747 if ac_fn_c_try_link
"$LINENO"; then :
10749 lt_aix_libpath_sed
='
10750 /Import File Strings/,/^$/ {
10756 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10757 # Check for a 64-bit object if we didn't find anything.
10758 if test -z "$aix_libpath"; then
10759 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10762 rm -f core conftest.err conftest.
$ac_objext \
10763 conftest
$ac_exeext conftest.
$ac_ext
10764 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10766 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10767 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"
10769 if test "$host_cpu" = ia64
; then
10770 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10771 allow_undefined_flag
="-z nodefs"
10772 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"
10774 # Determine the default libpath from the value encoded in an
10775 # empty executable.
10776 if test x
$gcc_no_link = xyes
; then
10777 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10780 /* end confdefs.h. */
10790 if ac_fn_c_try_link
"$LINENO"; then :
10792 lt_aix_libpath_sed
='
10793 /Import File Strings/,/^$/ {
10799 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10800 # Check for a 64-bit object if we didn't find anything.
10801 if test -z "$aix_libpath"; then
10802 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10805 rm -f core conftest.err conftest.
$ac_objext \
10806 conftest
$ac_exeext conftest.
$ac_ext
10807 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10809 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10810 # Warning - without using the other run time loading flags,
10811 # -berok will link without error, but may produce a broken library.
10812 no_undefined_flag
=' ${wl}-bernotok'
10813 allow_undefined_flag
=' ${wl}-berok'
10814 if test "$with_gnu_ld" = yes; then
10815 # We only use this code for GNU lds that support --whole-archive.
10816 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10818 # Exported symbols can be pulled into shared objects from archives
10819 whole_archive_flag_spec
='$convenience'
10821 archive_cmds_need_lc
=yes
10822 # This is similar to how AIX traditionally builds its shared libraries.
10823 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'
10831 # see comment about AmigaOS4 .so support
10832 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10833 archive_expsym_cmds
=''
10836 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)'
10837 hardcode_libdir_flag_spec
='-L$libdir'
10838 hardcode_minus_L
=yes
10844 export_dynamic_flag_spec
=-rdynamic
10847 cygwin
* | mingw
* | pw32
* | cegcc
*)
10848 # When not using gcc, we currently assume that we are using
10849 # Microsoft Visual C++.
10850 # hardcode_libdir_flag_spec is actually meaningless, as there is
10851 # no search path for DLLs.
10852 hardcode_libdir_flag_spec
=' '
10853 allow_undefined_flag
=unsupported
10854 # Tell ltmain to make .lib files, not .a files.
10856 # Tell ltmain to make .dll files, not .so files.
10858 # FIXME: Setting linknames here is a bad hack.
10859 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10860 # The linker will automatically build a .lib file if we build a DLL.
10861 old_archive_from_new_cmds
='true'
10862 # FIXME: Should let the user specify the lib program.
10863 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10864 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10865 enable_shared_with_static_runtimes
=yes
10868 darwin
* | rhapsody
*)
10871 archive_cmds_need_lc
=no
10873 hardcode_automatic
=yes
10874 hardcode_shlibpath_var
=unsupported
10875 if test "$lt_cv_ld_force_load" = "yes"; then
10876 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\"`'
10878 whole_archive_flag_spec
=''
10880 link_all_deplibs
=yes
10881 allow_undefined_flag
="$_lt_dar_allow_undefined"
10882 case $cc_basename in
10883 ifort
*) _lt_dar_can_shared
=yes ;;
10884 *) _lt_dar_can_shared
=$GCC ;;
10886 if test "$_lt_dar_can_shared" = "yes"; then
10887 output_verbose_link_cmd
=func_echo_all
10888 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10889 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10890 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}"
10891 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}"
10900 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10901 hardcode_libdir_flag_spec
='-L$libdir'
10902 hardcode_shlibpath_var
=no
10905 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10906 # support. Future versions do this automatically, but an explicit c++rt0.o
10907 # does not break anything, and helps significantly (at the cost of a little
10910 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10911 hardcode_libdir_flag_spec
='-R$libdir'
10912 hardcode_direct
=yes
10913 hardcode_shlibpath_var
=no
10916 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10918 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10919 hardcode_direct
=yes
10920 hardcode_minus_L
=yes
10921 hardcode_shlibpath_var
=no
10924 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10925 freebsd
* | dragonfly
*)
10926 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10927 hardcode_libdir_flag_spec
='-R$libdir'
10928 hardcode_direct
=yes
10929 hardcode_shlibpath_var
=no
10933 if test "$GCC" = yes; then
10934 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'
10936 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'
10938 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10939 hardcode_libdir_separator
=:
10940 hardcode_direct
=yes
10942 # hardcode_minus_L: Not really in the search PATH,
10943 # but as the default location of the library.
10944 hardcode_minus_L
=yes
10945 export_dynamic_flag_spec
='${wl}-E'
10949 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10950 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10952 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10954 if test "$with_gnu_ld" = no
; then
10955 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10956 hardcode_libdir_flag_spec_ld
='+b $libdir'
10957 hardcode_libdir_separator
=:
10958 hardcode_direct
=yes
10959 hardcode_direct_absolute
=yes
10960 export_dynamic_flag_spec
='${wl}-E'
10961 # hardcode_minus_L: Not really in the search PATH,
10962 # but as the default location of the library.
10963 hardcode_minus_L
=yes
10968 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10971 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10974 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10977 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10983 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10986 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10990 # Older versions of the 11.00 compiler do not understand -b yet
10991 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10993 $as_echo_n "checking if $CC understands -b... " >&6; }
10994 if ${lt_cv_prog_compiler__b+:} false
; then :
10995 $as_echo_n "(cached) " >&6
10997 lt_cv_prog_compiler__b
=no
10998 save_LDFLAGS
="$LDFLAGS"
10999 LDFLAGS
="$LDFLAGS -b"
11000 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11001 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11002 # The linker can only warn and ignore the option if not recognized
11003 # So say no if there are warnings
11004 if test -s conftest.err
; then
11005 # Append any errors to the config.log.
11006 cat conftest.err
1>&5
11007 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11008 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11009 if diff conftest.exp conftest.er2
>/dev
/null
; then
11010 lt_cv_prog_compiler__b
=yes
11013 lt_cv_prog_compiler__b
=yes
11017 LDFLAGS
="$save_LDFLAGS"
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11021 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11023 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
11024 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11026 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11032 if test "$with_gnu_ld" = no
; then
11033 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11034 hardcode_libdir_separator
=:
11039 hardcode_shlibpath_var
=no
11042 hardcode_direct
=yes
11043 hardcode_direct_absolute
=yes
11044 export_dynamic_flag_spec
='${wl}-E'
11046 # hardcode_minus_L: Not really in the search PATH,
11047 # but as the default location of the library.
11048 hardcode_minus_L
=yes
11054 irix5
* | irix6
* | nonstopux
*)
11055 if test "$GCC" = yes; then
11056 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'
11057 # Try to use the -exported_symbol ld option, if it does not
11058 # work, assume that -exports_file does not work either and
11059 # implicitly export all symbols.
11060 save_LDFLAGS
="$LDFLAGS"
11061 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11062 if test x
$gcc_no_link = xyes
; then
11063 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11066 /* end confdefs.h. */
11069 if ac_fn_c_try_link
"$LINENO"; then :
11070 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'
11073 rm -f core conftest.err conftest.
$ac_objext \
11074 conftest
$ac_exeext conftest.
$ac_ext
11075 LDFLAGS
="$save_LDFLAGS"
11077 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'
11078 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'
11080 archive_cmds_need_lc
='no'
11081 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11082 hardcode_libdir_separator
=:
11084 link_all_deplibs
=yes
11088 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11089 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11091 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11093 hardcode_libdir_flag_spec
='-R$libdir'
11094 hardcode_direct
=yes
11095 hardcode_shlibpath_var
=no
11099 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11100 hardcode_direct
=yes
11101 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11102 hardcode_libdir_separator
=:
11103 hardcode_shlibpath_var
=no
11110 if test -f /usr
/libexec
/ld.so
; then
11111 hardcode_direct
=yes
11112 hardcode_shlibpath_var
=no
11113 hardcode_direct_absolute
=yes
11114 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11115 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11116 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11117 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11118 export_dynamic_flag_spec
='${wl}-E'
11121 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11122 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11123 hardcode_libdir_flag_spec
='-R$libdir'
11126 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11127 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11137 hardcode_libdir_flag_spec
='-L$libdir'
11138 hardcode_minus_L
=yes
11139 allow_undefined_flag
=unsupported
11140 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'
11141 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11145 if test "$GCC" = yes; then
11146 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11147 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11149 allow_undefined_flag
=' -expect_unresolved \*'
11150 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'
11152 archive_cmds_need_lc
='no'
11153 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11154 hardcode_libdir_separator
=:
11157 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11158 if test "$GCC" = yes; then
11159 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11160 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'
11161 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11163 allow_undefined_flag
=' -expect_unresolved \*'
11164 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'
11165 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~
11166 $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'
11168 # Both c and cxx compiler support -rpath directly
11169 hardcode_libdir_flag_spec
='-rpath $libdir'
11171 archive_cmds_need_lc
='no'
11172 hardcode_libdir_separator
=:
11176 no_undefined_flag
=' -z defs'
11177 if test "$GCC" = yes; then
11179 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11180 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11181 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11183 case `$CC -V 2>&1` in
11186 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11187 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11188 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11192 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11193 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11194 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11198 hardcode_libdir_flag_spec
='-R$libdir'
11199 hardcode_shlibpath_var
=no
11201 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11203 # The compiler driver will combine and reorder linker options,
11204 # but understands `-z linker_flag'. GCC discards it without `$wl',
11205 # but is careful enough not to reorder.
11206 # Supported since Solaris 2.6 (maybe 2.5.1?)
11207 if test "$GCC" = yes; then
11208 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11210 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11214 link_all_deplibs
=yes
11218 if test "x$host_vendor" = xsequent
; then
11219 # Use $CC to link under sequent, because it throws in some extra .o
11220 # files that make .init and .fini sections work.
11221 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11223 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11225 hardcode_libdir_flag_spec
='-L$libdir'
11226 hardcode_direct
=yes
11227 hardcode_minus_L
=yes
11228 hardcode_shlibpath_var
=no
11232 case $host_vendor in
11234 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11235 hardcode_direct
=yes # is this really true???
11238 ## LD is ld it makes a PLAMLIB
11239 ## CC just makes a GrossModule.
11240 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11241 reload_cmds
='$CC -r -o $output$reload_objs'
11245 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11246 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11249 runpath_var
='LD_RUN_PATH'
11250 hardcode_shlibpath_var
=no
11254 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11255 hardcode_shlibpath_var
=no
11256 export_dynamic_flag_spec
='-Bexport'
11260 if test -d /usr
/nec
; then
11261 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11262 hardcode_shlibpath_var
=no
11263 runpath_var
=LD_RUN_PATH
11264 hardcode_runpath_var
=yes
11269 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11270 no_undefined_flag
='${wl}-z,text'
11271 archive_cmds_need_lc
=no
11272 hardcode_shlibpath_var
=no
11273 runpath_var
='LD_RUN_PATH'
11275 if test "$GCC" = yes; then
11276 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11277 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11279 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11280 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11284 sysv5
* | sco3.2v5
* | sco5v6
*)
11285 # Note: We can NOT use -z defs as we might desire, because we do not
11286 # link with -lc, and that would cause any symbols used from libc to
11287 # always be unresolved, which means just about no library would
11288 # ever link correctly. If we're not using GNU ld we use -z text
11289 # though, which does catch some bad symbols but isn't as heavy-handed
11291 no_undefined_flag
='${wl}-z,text'
11292 allow_undefined_flag
='${wl}-z,nodefs'
11293 archive_cmds_need_lc
=no
11294 hardcode_shlibpath_var
=no
11295 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11296 hardcode_libdir_separator
=':'
11297 link_all_deplibs
=yes
11298 export_dynamic_flag_spec
='${wl}-Bexport'
11299 runpath_var
='LD_RUN_PATH'
11301 if test "$GCC" = yes; then
11302 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11303 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11305 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11306 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11311 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11312 hardcode_libdir_flag_spec
='-L$libdir'
11313 hardcode_shlibpath_var
=no
11321 if test x
$host_vendor = xsni
; then
11323 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11324 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11331 $as_echo "$ld_shlibs" >&6; }
11332 test "$ld_shlibs" = no
&& can_build_shared
=no
11334 with_gnu_ld
=$with_gnu_ld
11351 # Do we need to explicitly link libc?
11353 case "x$archive_cmds_need_lc" in
11355 # Assume -lc should be added
11356 archive_cmds_need_lc
=yes
11358 if test "$enable_shared" = yes && test "$GCC" = yes; then
11359 case $archive_cmds in
11361 # FIXME: we may have to deal with multi-command sequences.
11364 # Test whether the compiler implicitly links with -lc since on some
11365 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11366 # to ld, don't add -lc before -lgcc.
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11368 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11369 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11370 $as_echo_n "(cached) " >&6
11373 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11375 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11376 (eval $ac_compile) 2>&5
11378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11379 test $ac_status = 0; } 2>conftest.err
; then
11382 libobjs
=conftest.
$ac_objext
11384 wl
=$lt_prog_compiler_wl
11385 pic_flag
=$lt_prog_compiler_pic
11391 lt_save_allow_undefined_flag
=$allow_undefined_flag
11392 allow_undefined_flag
=
11393 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11394 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11397 test $ac_status = 0; }
11399 lt_cv_archive_cmds_need_lc
=no
11401 lt_cv_archive_cmds_need_lc
=yes
11403 allow_undefined_flag
=$lt_save_allow_undefined_flag
11405 cat conftest.err
1>&5
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11411 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11412 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11576 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11578 if test "$GCC" = yes; then
11580 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11581 *) lt_awk_arg
="/^libraries:/" ;;
11584 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11585 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11587 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11588 case $lt_search_path_spec in
11590 # if the path contains ";" then we assume it to be the separator
11591 # otherwise default to the standard path separator (i.e. ":") - it is
11592 # assumed that no part of a normal pathname contains ";" but that should
11593 # okay in the real world where ";" in dirpaths is itself problematic.
11594 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11597 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11600 # Ok, now we have the path, separated by spaces, we can step through it
11601 # and add multilib dir if necessary.
11602 lt_tmp_lt_search_path_spec
=
11603 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11604 for lt_sys_path
in $lt_search_path_spec; do
11605 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11606 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11608 test -d "$lt_sys_path" && \
11609 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11612 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11613 BEGIN {RS=" "; FS="/|\n";} {
11616 for (lt_i = NF; lt_i > 0; lt_i--) {
11617 if ($lt_i != "" && $lt_i != ".") {
11618 if ($lt_i == "..") {
11621 if (lt_count == 0) {
11622 lt_foo="/" $lt_i lt_foo;
11629 if (lt_foo != "") { lt_freq[lt_foo]++; }
11630 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11632 # AWK program above erroneously prepends '/' to C:/dos/paths
11635 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11636 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11638 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11640 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11642 library_names_spec
=
11643 libname_spec
='lib$name'
11647 postuninstall_cmds
=
11651 shlibpath_overrides_runpath
=unknown
11653 dynamic_linker
="$host_os ld.so"
11654 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11655 need_lib_prefix
=unknown
11656 hardcode_into_libs
=no
11658 # when you set need_version to no, make sure it does not cause -set_version
11659 # flags to be left without arguments
11660 need_version
=unknown
11665 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11666 shlibpath_var
=LIBPATH
11668 # AIX 3 has no versioning support, so we append a major version to the name.
11669 soname_spec
='${libname}${release}${shared_ext}$major'
11676 hardcode_into_libs
=yes
11677 if test "$host_cpu" = ia64
; then
11678 # AIX 5 supports IA64
11679 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11680 shlibpath_var
=LD_LIBRARY_PATH
11682 # With GCC up to 2.95.x, collect2 would create an import file
11683 # for dependence libraries. The import file would start with
11684 # the line `#! .'. This would cause the generated library to
11685 # depend on `.', always an invalid library. This was fixed in
11686 # development snapshots of GCC prior to 3.0.
11688 aix4 | aix4.
[01] | aix4.
[01].
*)
11689 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11691 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11694 can_build_shared
=no
11698 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11699 # soname into executable. Probably we can add versioning support to
11700 # collect2, so additional links can be useful in future.
11701 if test "$aix_use_runtimelinking" = yes; then
11702 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11703 # instead of lib<name>.a to let people know that these are not
11704 # typical AIX shared libraries.
11705 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11707 # We preserve .a as extension for shared libraries through AIX4.2
11708 # and later when we are not doing run time linking.
11709 library_names_spec
='${libname}${release}.a $libname.a'
11710 soname_spec
='${libname}${release}${shared_ext}$major'
11712 shlibpath_var
=LIBPATH
11719 # Since July 2007 AmigaOS4 officially supports .so libraries.
11720 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11721 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11724 library_names_spec
='$libname.ixlibrary $libname.a'
11725 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11726 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'
11732 library_names_spec
='${libname}${shared_ext}'
11733 dynamic_linker
="$host_os ld.so"
11734 shlibpath_var
=LIBRARY_PATH
11740 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11741 soname_spec
='${libname}${release}${shared_ext}$major'
11742 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11743 shlibpath_var
=LD_LIBRARY_PATH
11744 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11745 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11746 # the default ld.so.conf also contains /usr/contrib/lib and
11747 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11748 # libtool to hard-code these into programs
11751 cygwin
* | mingw
* | pw32
* | cegcc
*)
11752 version_type
=windows
11757 case $GCC,$host_os in
11758 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11759 library_names_spec
='$libname.dll.a'
11760 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11761 postinstall_cmds
='base_file=`basename \${file}`~
11762 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11763 dldir=$destdir/`dirname \$dlpath`~
11764 test -d \$dldir || mkdir -p \$dldir~
11765 $install_prog $dir/$dlname \$dldir/$dlname~
11766 chmod a+x \$dldir/$dlname~
11767 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11768 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11770 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11771 dlpath=$dir/\$dldll~
11773 shlibpath_overrides_runpath
=yes
11777 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11778 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11780 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11783 # MinGW DLLs use traditional 'lib' prefix
11784 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11787 # pw32 DLLs use 'pw' prefix rather than 'lib'
11788 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11794 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11797 dynamic_linker
='Win32 ld.exe'
11798 # FIXME: first we should search . and the directory the executable is in
11802 darwin
* | rhapsody
*)
11803 dynamic_linker
="$host_os dyld"
11804 version_type
=darwin
11807 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11808 soname_spec
='${libname}${release}${major}$shared_ext'
11809 shlibpath_overrides_runpath
=yes
11810 shlibpath_var
=DYLD_LIBRARY_PATH
11811 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11813 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11814 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11821 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11822 soname_spec
='${libname}${release}${shared_ext}$major'
11823 shlibpath_var
=LD_LIBRARY_PATH
11826 freebsd
* | dragonfly
*)
11827 # DragonFly does not have aout. When/if they implement a new
11828 # versioning mechanism, adjust this.
11829 if test -x /usr
/bin
/objformat
; then
11830 objformat
=`/usr/bin/objformat`
11833 freebsd
[23].
*) objformat
=aout
;;
11834 *) objformat
=elf
;;
11837 version_type
=freebsd-
$objformat
11838 case $version_type in
11840 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11845 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11849 shlibpath_var
=LD_LIBRARY_PATH
11852 shlibpath_overrides_runpath
=yes
11854 freebsd3.
[01]* | freebsdelf3.
[01]*)
11855 shlibpath_overrides_runpath
=yes
11856 hardcode_into_libs
=yes
11858 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11859 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11860 shlibpath_overrides_runpath
=no
11861 hardcode_into_libs
=yes
11863 *) # from 4.6 on, and DragonFly
11864 shlibpath_overrides_runpath
=yes
11865 hardcode_into_libs
=yes
11874 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11875 soname_spec
='${libname}${release}${shared_ext}$major'
11876 shlibpath_var
=LD_LIBRARY_PATH
11877 hardcode_into_libs
=yes
11884 dynamic_linker
="$host_os runtime_loader"
11885 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11886 soname_spec
='${libname}${release}${shared_ext}$major'
11887 shlibpath_var
=LIBRARY_PATH
11888 shlibpath_overrides_runpath
=yes
11889 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11890 hardcode_into_libs
=yes
11893 hpux9
* | hpux10
* | hpux11
*)
11894 # Give a soname corresponding to the major version so that dld.sl refuses to
11895 # link against other versions.
11902 hardcode_into_libs
=yes
11903 dynamic_linker
="$host_os dld.so"
11904 shlibpath_var
=LD_LIBRARY_PATH
11905 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11906 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11907 soname_spec
='${libname}${release}${shared_ext}$major'
11908 if test "X$HPUX_IA64_MODE" = X32
; then
11909 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11911 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11913 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11917 hardcode_into_libs
=yes
11918 dynamic_linker
="$host_os dld.sl"
11919 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11920 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11921 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11922 soname_spec
='${libname}${release}${shared_ext}$major'
11923 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11924 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11928 dynamic_linker
="$host_os dld.sl"
11929 shlibpath_var
=SHLIB_PATH
11930 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11931 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11932 soname_spec
='${libname}${release}${shared_ext}$major'
11935 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11936 postinstall_cmds
='chmod 555 $lib'
11937 # or fails outright, so override atomically:
11938 install_override_mode
=555
11945 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11946 soname_spec
='${libname}${release}${shared_ext}$major'
11947 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11948 shlibpath_var
=LD_LIBRARY_PATH
11949 shlibpath_overrides_runpath
=no
11950 hardcode_into_libs
=yes
11953 irix5
* | irix6
* | nonstopux
*)
11955 nonstopux
*) version_type
=nonstopux
;;
11957 if test "$lt_cv_prog_gnu_ld" = yes; then
11965 soname_spec
='${libname}${release}${shared_ext}$major'
11966 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11968 irix5
* | nonstopux
*)
11969 libsuff
= shlibsuff
=
11972 case $LD in # libtool.m4 will add one of these switches to LD
11973 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11974 libsuff
= shlibsuff
= libmagic
=32-bit;;
11975 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11976 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11977 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11978 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11979 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11983 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11984 shlibpath_overrides_runpath
=no
11985 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11986 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11987 hardcode_into_libs
=yes
11990 # No shared lib support for Linux oldld, aout, or coff.
11991 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11995 # This must be Linux ELF.
11996 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12000 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12001 soname_spec
='${libname}${release}${shared_ext}$major'
12002 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12003 shlibpath_var
=LD_LIBRARY_PATH
12004 shlibpath_overrides_runpath
=no
12006 # Some binutils ld are patched to set DT_RUNPATH
12007 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12008 $as_echo_n "(cached) " >&6
12010 lt_cv_shlibpath_overrides_runpath
=no
12011 save_LDFLAGS
=$LDFLAGS
12012 save_libdir
=$libdir
12013 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12014 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12015 if test x
$gcc_no_link = xyes
; then
12016 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12019 /* end confdefs.h. */
12029 if ac_fn_c_try_link
"$LINENO"; then :
12030 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12031 lt_cv_shlibpath_overrides_runpath
=yes
12034 rm -f core conftest.err conftest.
$ac_objext \
12035 conftest
$ac_exeext conftest.
$ac_ext
12036 LDFLAGS
=$save_LDFLAGS
12037 libdir
=$save_libdir
12041 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12043 # This implies no fast_install, which is unacceptable.
12044 # Some rework will be needed to allow for fast_install
12045 # before this can be enabled.
12046 hardcode_into_libs
=yes
12048 # Append ld.so.conf contents to the search path
12049 if test -f /etc
/ld.so.conf
; then
12050 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' ' '`
12051 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12054 # We used to test for /lib/ld.so.1 and disable shared libraries on
12055 # powerpc, because MkLinux only supported shared libraries with the
12056 # GNU dynamic linker. Since this was broken with cross compilers,
12057 # most powerpc-linux boxes support dynamic linking these days and
12058 # people can always --disable-shared, the test was removed, and we
12059 # assume the GNU/Linux dynamic linker is in use.
12060 dynamic_linker
='GNU/Linux ld.so'
12067 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12068 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12069 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12070 dynamic_linker
='NetBSD (a.out) ld.so'
12072 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12073 soname_spec
='${libname}${release}${shared_ext}$major'
12074 dynamic_linker
='NetBSD ld.elf_so'
12076 shlibpath_var
=LD_LIBRARY_PATH
12077 shlibpath_overrides_runpath
=yes
12078 hardcode_into_libs
=yes
12083 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12084 shlibpath_var
=LD_LIBRARY_PATH
12085 shlibpath_overrides_runpath
=yes
12092 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12093 soname_spec
='${libname}${release}${shared_ext}$major'
12094 shlibpath_var
=LD_LIBRARY_PATH
12095 shlibpath_overrides_runpath
=no
12096 hardcode_into_libs
=yes
12097 dynamic_linker
='ldqnx.so'
12102 sys_lib_dlsearch_path_spec
="/usr/lib"
12104 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12106 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12107 *) need_version
=no
;;
12109 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12110 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12111 shlibpath_var
=LD_LIBRARY_PATH
12112 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12114 openbsd2.
[89] | openbsd2.
[89].
*)
12115 shlibpath_overrides_runpath
=no
12118 shlibpath_overrides_runpath
=yes
12122 shlibpath_overrides_runpath
=yes
12127 libname_spec
='$name'
12130 library_names_spec
='$libname${shared_ext} $libname.a'
12131 dynamic_linker
='OS/2 ld.exe'
12132 shlibpath_var
=LIBPATH
12135 osf3
* | osf4
* | osf5
*)
12139 soname_spec
='${libname}${release}${shared_ext}$major'
12140 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12141 shlibpath_var
=LD_LIBRARY_PATH
12142 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12143 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12154 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12155 soname_spec
='${libname}${release}${shared_ext}$major'
12156 shlibpath_var
=LD_LIBRARY_PATH
12157 shlibpath_overrides_runpath
=yes
12158 hardcode_into_libs
=yes
12159 # ldd complains unless libraries are executable
12160 postinstall_cmds
='chmod +x $lib'
12165 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12166 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12167 shlibpath_var
=LD_LIBRARY_PATH
12168 shlibpath_overrides_runpath
=yes
12169 if test "$with_gnu_ld" = yes; then
12177 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12178 soname_spec
='${libname}${release}${shared_ext}$major'
12179 shlibpath_var
=LD_LIBRARY_PATH
12180 case $host_vendor in
12182 shlibpath_overrides_runpath
=no
12184 runpath_var
=LD_RUN_PATH
12192 shlibpath_overrides_runpath
=no
12193 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12199 if test -d /usr
/nec
;then
12201 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12202 soname_spec
='$libname${shared_ext}.$major'
12203 shlibpath_var
=LD_LIBRARY_PATH
12207 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12208 version_type
=freebsd-elf
12211 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12212 soname_spec
='${libname}${release}${shared_ext}$major'
12213 shlibpath_var
=LD_LIBRARY_PATH
12214 shlibpath_overrides_runpath
=yes
12215 hardcode_into_libs
=yes
12216 if test "$with_gnu_ld" = yes; then
12217 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12219 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12222 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12226 sys_lib_dlsearch_path_spec
='/usr/lib'
12230 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12234 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12235 shlibpath_var
=LD_LIBRARY_PATH
12236 shlibpath_overrides_runpath
=no
12237 hardcode_into_libs
=yes
12242 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12243 soname_spec
='${libname}${release}${shared_ext}$major'
12244 shlibpath_var
=LD_LIBRARY_PATH
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12252 $as_echo "$dynamic_linker" >&6; }
12253 test "$dynamic_linker" = no
&& can_build_shared
=no
12255 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12256 if test "$GCC" = yes; then
12257 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12260 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12261 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12263 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12264 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12359 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12361 if test -n "$hardcode_libdir_flag_spec" ||
12362 test -n "$runpath_var" ||
12363 test "X$hardcode_automatic" = "Xyes" ; then
12365 # We can hardcode non-existent directories.
12366 if test "$hardcode_direct" != no
&&
12367 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12368 # have to relink, otherwise we might link with an installed library
12369 # when we should be linking with a yet-to-be-installed one
12370 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12371 test "$hardcode_minus_L" != no
; then
12372 # Linking always hardcodes the temporary library directory.
12373 hardcode_action
=relink
12375 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12376 hardcode_action
=immediate
12379 # We cannot hardcode anything, or else we can only hardcode existing
12381 hardcode_action
=unsupported
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12384 $as_echo "$hardcode_action" >&6; }
12386 if test "$hardcode_action" = relink ||
12387 test "$inherit_rpath" = yes; then
12388 # Fast installation is not supported
12389 enable_fast_install
=no
12390 elif test "$shlibpath_overrides_runpath" = yes ||
12391 test "$enable_shared" = no
; then
12392 # Fast installation is not necessary
12393 enable_fast_install
=needless
12401 if test "x$enable_dlopen" != xyes
; then
12402 enable_dlopen
=unknown
12403 enable_dlopen_self
=unknown
12404 enable_dlopen_self_static
=unknown
12411 lt_cv_dlopen
="load_add_on"
12413 lt_cv_dlopen_self
=yes
12416 mingw
* | pw32
* | cegcc
*)
12417 lt_cv_dlopen
="LoadLibrary"
12422 lt_cv_dlopen
="dlopen"
12427 # if libdl is installed we need to link against it
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12429 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12430 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12431 $as_echo_n "(cached) " >&6
12433 ac_check_lib_save_LIBS
=$LIBS
12435 if test x
$gcc_no_link = xyes
; then
12436 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12439 /* end confdefs.h. */
12441 /* Override any GCC internal prototype to avoid an error.
12442 Use char because int might match the return type of a GCC
12443 builtin and then its argument prototype would still apply. */
12456 if ac_fn_c_try_link
"$LINENO"; then :
12457 ac_cv_lib_dl_dlopen
=yes
12459 ac_cv_lib_dl_dlopen
=no
12461 rm -f core conftest.err conftest.
$ac_objext \
12462 conftest
$ac_exeext conftest.
$ac_ext
12463 LIBS
=$ac_check_lib_save_LIBS
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12466 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12467 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12468 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12471 lt_cv_dlopen
="dyld"
12473 lt_cv_dlopen_self
=yes
12480 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12481 if test "x$ac_cv_func_shl_load" = xyes
; then :
12482 lt_cv_dlopen
="shl_load"
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12485 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12486 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12487 $as_echo_n "(cached) " >&6
12489 ac_check_lib_save_LIBS
=$LIBS
12491 if test x
$gcc_no_link = xyes
; then
12492 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12495 /* end confdefs.h. */
12497 /* Override any GCC internal prototype to avoid an error.
12498 Use char because int might match the return type of a GCC
12499 builtin and then its argument prototype would still apply. */
12507 return shl_load ();
12512 if ac_fn_c_try_link
"$LINENO"; then :
12513 ac_cv_lib_dld_shl_load
=yes
12515 ac_cv_lib_dld_shl_load
=no
12517 rm -f core conftest.err conftest.
$ac_objext \
12518 conftest
$ac_exeext conftest.
$ac_ext
12519 LIBS
=$ac_check_lib_save_LIBS
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12522 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12523 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12524 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12526 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12527 if test "x$ac_cv_func_dlopen" = xyes
; then :
12528 lt_cv_dlopen
="dlopen"
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12531 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12532 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12533 $as_echo_n "(cached) " >&6
12535 ac_check_lib_save_LIBS
=$LIBS
12537 if test x
$gcc_no_link = xyes
; then
12538 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12541 /* end confdefs.h. */
12543 /* Override any GCC internal prototype to avoid an error.
12544 Use char because int might match the return type of a GCC
12545 builtin and then its argument prototype would still apply. */
12558 if ac_fn_c_try_link
"$LINENO"; then :
12559 ac_cv_lib_dl_dlopen
=yes
12561 ac_cv_lib_dl_dlopen
=no
12563 rm -f core conftest.err conftest.
$ac_objext \
12564 conftest
$ac_exeext conftest.
$ac_ext
12565 LIBS
=$ac_check_lib_save_LIBS
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12568 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12569 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12570 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12573 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12574 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12575 $as_echo_n "(cached) " >&6
12577 ac_check_lib_save_LIBS
=$LIBS
12578 LIBS
="-lsvld $LIBS"
12579 if test x
$gcc_no_link = xyes
; then
12580 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12583 /* end confdefs.h. */
12585 /* Override any GCC internal prototype to avoid an error.
12586 Use char because int might match the return type of a GCC
12587 builtin and then its argument prototype would still apply. */
12600 if ac_fn_c_try_link
"$LINENO"; then :
12601 ac_cv_lib_svld_dlopen
=yes
12603 ac_cv_lib_svld_dlopen
=no
12605 rm -f core conftest.err conftest.
$ac_objext \
12606 conftest
$ac_exeext conftest.
$ac_ext
12607 LIBS
=$ac_check_lib_save_LIBS
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12610 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12611 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12612 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12615 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12616 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12617 $as_echo_n "(cached) " >&6
12619 ac_check_lib_save_LIBS
=$LIBS
12621 if test x
$gcc_no_link = xyes
; then
12622 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12625 /* end confdefs.h. */
12627 /* Override any GCC internal prototype to avoid an error.
12628 Use char because int might match the return type of a GCC
12629 builtin and then its argument prototype would still apply. */
12637 return dld_link ();
12642 if ac_fn_c_try_link
"$LINENO"; then :
12643 ac_cv_lib_dld_dld_link
=yes
12645 ac_cv_lib_dld_dld_link
=no
12647 rm -f core conftest.err conftest.
$ac_objext \
12648 conftest
$ac_exeext conftest.
$ac_ext
12649 LIBS
=$ac_check_lib_save_LIBS
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12652 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12653 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12654 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12675 if test "x$lt_cv_dlopen" != xno
; then
12681 case $lt_cv_dlopen in
12683 save_CPPFLAGS
="$CPPFLAGS"
12684 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12686 save_LDFLAGS
="$LDFLAGS"
12687 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12690 LIBS
="$lt_cv_dlopen_libs $LIBS"
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12693 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12694 if ${lt_cv_dlopen_self+:} false
; then :
12695 $as_echo_n "(cached) " >&6
12697 if test "$cross_compiling" = yes; then :
12698 lt_cv_dlopen_self
=cross
12700 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12701 lt_status
=$lt_dlunknown
12702 cat > conftest.
$ac_ext <<_LT_EOF
12703 #line 12703 "configure"
12704 #include "confdefs.h"
12713 # define LT_DLGLOBAL RTLD_GLOBAL
12716 # define LT_DLGLOBAL DL_GLOBAL
12718 # define LT_DLGLOBAL 0
12722 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12723 find out it does not work in some platform. */
12724 #ifndef LT_DLLAZY_OR_NOW
12726 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12729 # define LT_DLLAZY_OR_NOW DL_LAZY
12732 # define LT_DLLAZY_OR_NOW RTLD_NOW
12735 # define LT_DLLAZY_OR_NOW DL_NOW
12737 # define LT_DLLAZY_OR_NOW 0
12744 /* When -fvisbility=hidden is used, assume the code has been annotated
12745 correspondingly for the symbols needed. */
12746 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12747 void fnord () __attribute__((visibility("default")));
12750 void fnord () { int i=42; }
12753 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12754 int status = $lt_dlunknown;
12758 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12761 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12762 else puts (dlerror ());
12764 /* dlclose (self); */
12772 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12773 (eval $ac_link) 2>&5
12775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12776 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12777 (.
/conftest
; exit; ) >&5 2>/dev
/null
12779 case x
$lt_status in
12780 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12781 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12782 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12785 # compilation failed
12786 lt_cv_dlopen_self
=no
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12794 $as_echo "$lt_cv_dlopen_self" >&6; }
12796 if test "x$lt_cv_dlopen_self" = xyes
; then
12797 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12799 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12800 if ${lt_cv_dlopen_self_static+:} false
; then :
12801 $as_echo_n "(cached) " >&6
12803 if test "$cross_compiling" = yes; then :
12804 lt_cv_dlopen_self_static
=cross
12806 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12807 lt_status
=$lt_dlunknown
12808 cat > conftest.
$ac_ext <<_LT_EOF
12809 #line 12809 "configure"
12810 #include "confdefs.h"
12819 # define LT_DLGLOBAL RTLD_GLOBAL
12822 # define LT_DLGLOBAL DL_GLOBAL
12824 # define LT_DLGLOBAL 0
12828 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12829 find out it does not work in some platform. */
12830 #ifndef LT_DLLAZY_OR_NOW
12832 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12835 # define LT_DLLAZY_OR_NOW DL_LAZY
12838 # define LT_DLLAZY_OR_NOW RTLD_NOW
12841 # define LT_DLLAZY_OR_NOW DL_NOW
12843 # define LT_DLLAZY_OR_NOW 0
12850 /* When -fvisbility=hidden is used, assume the code has been annotated
12851 correspondingly for the symbols needed. */
12852 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12853 void fnord () __attribute__((visibility("default")));
12856 void fnord () { int i=42; }
12859 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12860 int status = $lt_dlunknown;
12864 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12867 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12868 else puts (dlerror ());
12870 /* dlclose (self); */
12878 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12879 (eval $ac_link) 2>&5
12881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12882 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12883 (.
/conftest
; exit; ) >&5 2>/dev
/null
12885 case x
$lt_status in
12886 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12887 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12888 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12891 # compilation failed
12892 lt_cv_dlopen_self_static
=no
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12900 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12903 CPPFLAGS
="$save_CPPFLAGS"
12904 LDFLAGS
="$save_LDFLAGS"
12909 case $lt_cv_dlopen_self in
12910 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12911 *) enable_dlopen_self
=unknown
;;
12914 case $lt_cv_dlopen_self_static in
12915 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12916 *) enable_dlopen_self_static
=unknown
;;
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12939 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12940 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12941 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12942 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12944 $as_echo "yes" >&6; }
12946 # FIXME - insert some real tests, host_os isn't really good enough
12949 if test -n "$STRIP" ; then
12950 striplib
="$STRIP -x"
12951 old_striplib
="$STRIP -S"
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12953 $as_echo "yes" >&6; }
12955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12956 $as_echo "no" >&6; }
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12961 $as_echo "no" >&6; }
12977 # Report which library types will actually be built
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12979 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12981 $as_echo "$can_build_shared" >&6; }
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12984 $as_echo_n "checking whether to build shared libraries... " >&6; }
12985 test "$can_build_shared" = "no" && enable_shared
=no
12987 # On AIX, shared libraries and static libraries use the same namespace, and
12988 # are all built from PIC.
12991 test "$enable_shared" = yes && enable_static
=no
12992 if test -n "$RANLIB"; then
12993 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12994 postinstall_cmds
='$RANLIB $lib'
12999 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13000 test "$enable_shared" = yes && enable_static
=no
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13005 $as_echo "$enable_shared" >&6; }
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13008 $as_echo_n "checking whether to build static libraries... " >&6; }
13009 # Make sure either enable_shared or enable_static is yes.
13010 test "$enable_shared" = yes || enable_static
=yes
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13012 $as_echo "$enable_static" >&6; }
13019 ac_cpp
='$CPP $CPPFLAGS'
13020 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13021 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13022 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13038 ac_config_commands
="$ac_config_commands libtool"
13043 # Only expand once:
13050 *-cygwin* |
*-mingw*)
13051 # 'host' will be top-level target in the case of a target lib,
13052 # we must compare to with_cross_host to decide if this is a native
13053 # or cross-compiler and select where to install dlls appropriately.
13054 if test -n "$with_cross_host" &&
13055 test x
"$with_cross_host" != x
"no"; then
13056 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
13058 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
13070 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
13072 # We need gfortran to compile parts of the library
13073 #AC_PROG_FC(gfortran)
13075 ac_ext
=${ac_fc_srcext-f}
13076 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13077 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13078 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
13079 if test -n "$ac_tool_prefix"; then
13080 for ac_prog
in gfortran
13082 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13083 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13085 $as_echo_n "checking for $ac_word... " >&6; }
13086 if ${ac_cv_prog_FC+:} false
; then :
13087 $as_echo_n "(cached) " >&6
13089 if test -n "$FC"; then
13090 ac_cv_prog_FC
="$FC" # Let the user override the test.
13092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13093 for as_dir
in $PATH
13096 test -z "$as_dir" && as_dir
=.
13097 for ac_exec_ext
in '' $ac_executable_extensions; do
13098 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13099 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
13100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13110 if test -n "$FC"; then
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
13112 $as_echo "$FC" >&6; }
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13115 $as_echo "no" >&6; }
13119 test -n "$FC" && break
13122 if test -z "$FC"; then
13124 for ac_prog
in gfortran
13126 # Extract the first word of "$ac_prog", so it can be a program name with args.
13127 set dummy
$ac_prog; ac_word
=$2
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13129 $as_echo_n "checking for $ac_word... " >&6; }
13130 if ${ac_cv_prog_ac_ct_FC+:} false
; then :
13131 $as_echo_n "(cached) " >&6
13133 if test -n "$ac_ct_FC"; then
13134 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
13136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13137 for as_dir
in $PATH
13140 test -z "$as_dir" && as_dir
=.
13141 for ac_exec_ext
in '' $ac_executable_extensions; do
13142 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13143 ac_cv_prog_ac_ct_FC
="$ac_prog"
13144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13153 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
13154 if test -n "$ac_ct_FC"; then
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
13156 $as_echo "$ac_ct_FC" >&6; }
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13159 $as_echo "no" >&6; }
13163 test -n "$ac_ct_FC" && break
13166 if test "x$ac_ct_FC" = x
; then
13169 case $cross_compiling:$ac_tool_warned in
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13172 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13173 ac_tool_warned
=yes ;;
13180 # Provide some information about the compiler.
13181 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
13184 for ac_option
in --version -v -V -qversion; do
13185 { { ac_try
="$ac_compiler $ac_option >&5"
13186 case "(($ac_try" in
13187 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13188 *) ac_try_echo=$ac_try;;
13190 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13191 $as_echo "$ac_try_echo"; } >&5
13192 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13194 if test -s conftest.err; then
13196 ... rest of stderr output deleted ...
13197 10q' conftest.err >conftest.er1
13198 cat conftest.er1 >&5
13200 rm -f conftest.er1 conftest.err
13201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13202 test $ac_status = 0; }
13206 # If we don't use `.F
' as extension, the preprocessor is not run on the
13207 # input file. (Note that this only needs to work for GNU compilers.)
13208 ac_save_ext=$ac_ext
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
13211 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
13212 if ${ac_cv_fc_compiler_gnu+:} false; then :
13213 $as_echo_n "(cached) " >&6
13215 cat > conftest.$ac_ext <<_ACEOF
13223 if ac_fn_fc_try_compile "$LINENO"; then :
13224 ac_compiler_gnu=yes
13228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13229 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
13233 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
13234 ac_ext=$ac_save_ext
13235 ac_test_FCFLAGS=${FCFLAGS+set}
13236 ac_save_FCFLAGS=$FCFLAGS
13238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
13239 $as_echo_n "checking whether $FC accepts -g... " >&6; }
13240 if ${ac_cv_prog_fc_g+:} false; then :
13241 $as_echo_n "(cached) " >&6
13244 cat > conftest.$ac_ext <<_ACEOF
13249 if ac_fn_fc_try_compile "$LINENO"; then :
13250 ac_cv_prog_fc_g=yes
13254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
13258 $as_echo "$ac_cv_prog_fc_g" >&6; }
13259 if test "$ac_test_FCFLAGS" = set; then
13260 FCFLAGS=$ac_save_FCFLAGS
13261 elif test $ac_cv_prog_fc_g = yes; then
13262 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13268 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13275 if test $ac_compiler_gnu = yes; then
13281 ac_cpp='$CPP $CPPFLAGS'
13282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
13283 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13286 ac_ext=${ac_fc_srcext-f}
13287 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
13288 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
13289 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13292 if test -z "$FC" || test "X$FC" = "Xno"; then
13296 archive_cmds_need_lc_FC=no
13297 allow_undefined_flag_FC=
13298 always_export_symbols_FC=no
13299 archive_expsym_cmds_FC=
13300 export_dynamic_flag_spec_FC=
13301 hardcode_direct_FC=no
13302 hardcode_direct_absolute_FC=no
13303 hardcode_libdir_flag_spec_FC=
13304 hardcode_libdir_flag_spec_ld_FC=
13305 hardcode_libdir_separator_FC=
13306 hardcode_minus_L_FC=no
13307 hardcode_automatic_FC=no
13308 inherit_rpath_FC=no
13310 module_expsym_cmds_FC=
13311 link_all_deplibs_FC=unknown
13312 old_archive_cmds_FC=$old_archive_cmds
13313 reload_flag_FC=$reload_flag
13314 reload_cmds_FC=$reload_cmds
13315 no_undefined_flag_FC=
13316 whole_archive_flag_spec_FC=
13317 enable_shared_with_static_runtimes_FC=no
13319 # Source file extension for fc test sources.
13320 ac_ext=${ac_fc_srcext-f}
13322 # Object file extension for compiled fc test sources.
13326 # No sense in running all these tests if we already determined that
13327 # the FC compiler isn't working. Some variables
(like enable_shared
)
13328 # are currently assumed to apply to all compilers on this platform,
13329 # and will be corrupted by setting them based on a non-working compiler.
13330 if test "$_lt_disable_FC" != yes; then
13331 # Code to be used in simple compile tests
13332 lt_simple_compile_test_code
="\
13338 # Code to be used in simple link tests
13339 lt_simple_link_test_code
="\
13344 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13351 # If no C compiler was specified, use CC.
13354 # If no C compiler flags were specified, use CFLAGS.
13355 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13357 # Allow CC to be a program name with arguments.
13361 # save warnings/boilerplate of simple test code
13362 ac_outfile
=conftest.
$ac_objext
13363 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13364 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13365 _lt_compiler_boilerplate
=`cat conftest.err`
13368 ac_outfile
=conftest.
$ac_objext
13369 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13370 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13371 _lt_linker_boilerplate
=`cat conftest.err`
13375 # Allow CC to be a program name with arguments.
13380 GCC
=$ac_cv_fc_compiler_gnu
13383 for cc_temp
in $compiler""; do
13385 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13386 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13391 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13394 if test -n "$compiler"; then
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13396 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13398 $as_echo "$can_build_shared" >&6; }
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13401 $as_echo_n "checking whether to build shared libraries... " >&6; }
13402 test "$can_build_shared" = "no" && enable_shared
=no
13404 # On AIX, shared libraries and static libraries use the same namespace, and
13405 # are all built from PIC.
13408 test "$enable_shared" = yes && enable_static
=no
13409 if test -n "$RANLIB"; then
13410 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13411 postinstall_cmds
='$RANLIB $lib'
13415 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13416 test "$enable_shared" = yes && enable_static
=no
13420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13421 $as_echo "$enable_shared" >&6; }
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13424 $as_echo_n "checking whether to build static libraries... " >&6; }
13425 # Make sure either enable_shared or enable_static is yes.
13426 test "$enable_shared" = yes || enable_static
=yes
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13428 $as_echo "$enable_static" >&6; }
13430 GCC_FC
="$ac_cv_fc_compiler_gnu"
13434 ## There is no encapsulation within the following macros, do not change
13435 ## the running order or otherwise move them around unless you know exactly
13436 ## what you are doing...
13437 # Dependencies to place before and after the object being linked:
13439 postdep_objects_FC
=
13442 compiler_lib_search_path_FC
=
13444 cat > conftest.
$ac_ext <<_LT_EOF
13453 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13454 (eval $ac_compile) 2>&5
13456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13457 test $ac_status = 0; }; then
13458 # Parse the compiler output and extract the necessary
13459 # objects, libraries and library flags.
13461 # Sentinel used to keep track of whether or not we are before
13462 # the conftest object file.
13463 pre_test_object_deps_done
=no
13465 for p
in `eval "$output_verbose_link_cmd"`; do
13469 # Some compilers place space between "-{L,R}" and the path.
13470 # Remove the space.
13471 if test $p = "-L" ||
13472 test $p = "-R"; then
13479 if test "$pre_test_object_deps_done" = no
; then
13482 # Internal compiler library paths should come after those
13483 # provided the user. The postdeps already come after the
13484 # user supplied libs so there is no need to process them.
13485 if test -z "$compiler_lib_search_path_FC"; then
13486 compiler_lib_search_path_FC
="${prev}${p}"
13488 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
13491 # The "-l" case would never come before the object being
13492 # linked, so don't bother handling this case.
13495 if test -z "$postdeps_FC"; then
13496 postdeps_FC
="${prev}${p}"
13498 postdeps_FC
="${postdeps_FC} ${prev}${p}"
13504 # This assumes that the test object file only shows up
13505 # once in the compiler output.
13506 if test "$p" = "conftest.$objext"; then
13507 pre_test_object_deps_done
=yes
13511 if test "$pre_test_object_deps_done" = no
; then
13512 if test -z "$predep_objects_FC"; then
13513 predep_objects_FC
="$p"
13515 predep_objects_FC
="$predep_objects_FC $p"
13518 if test -z "$postdep_objects_FC"; then
13519 postdep_objects_FC
="$p"
13521 postdep_objects_FC
="$postdep_objects_FC $p"
13526 *) ;; # Ignore the rest.
13534 echo "libtool.m4: error: problem compiling FC test program"
13537 $RM -f confest.
$objext
13539 # PORTME: override above test on systems where it is broken
13542 case " $postdeps_FC " in
13543 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
13545 compiler_lib_search_dirs_FC
=
13546 if test -n "${compiler_lib_search_path_FC}"; then
13547 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13580 lt_prog_compiler_wl_FC
=
13581 lt_prog_compiler_pic_FC
=
13582 lt_prog_compiler_static_FC
=
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13585 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13587 if test "$GCC" = yes; then
13588 lt_prog_compiler_wl_FC
='-Wl,'
13589 lt_prog_compiler_static_FC
='-static'
13593 # All AIX code is PIC.
13594 if test "$host_cpu" = ia64
; then
13595 # AIX 5 now supports IA64 processor
13596 lt_prog_compiler_static_FC
='-Bstatic'
13598 lt_prog_compiler_pic_FC
='-fPIC'
13604 # see comment about AmigaOS4 .so support
13605 lt_prog_compiler_pic_FC
='-fPIC'
13608 # FIXME: we need at least 68020 code to build shared libraries, but
13609 # adding the `-m68020' flag to GCC prevents building anything better,
13611 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
13616 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13617 # PIC is the default for these OSes.
13620 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13621 # This hack is so that the source file can tell whether it is being
13622 # built for inclusion in a dll (and should export symbols for example).
13623 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13624 # (--disable-auto-import) libraries
13625 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13628 darwin
* | rhapsody
*)
13629 # PIC is the default on this platform
13630 # Common symbols not allowed in MH_DYLIB files
13631 lt_prog_compiler_pic_FC
='-fno-common'
13635 # PIC is the default for Haiku.
13636 # The "-static" flag exists, but is broken.
13637 lt_prog_compiler_static_FC
=
13641 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13642 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13643 # sets the default TLS model and affects inlining.
13649 lt_prog_compiler_pic_FC
='-fPIC'
13655 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13656 # Instead, we relocate shared libraries at runtime.
13660 # Just because we use GCC doesn't mean we suddenly get shared libraries
13661 # on systems that don't support them.
13662 lt_prog_compiler_can_build_shared_FC
=no
13667 # QNX uses GNU C++, but need to define -shared option too, otherwise
13668 # it will coredump.
13669 lt_prog_compiler_pic_FC
='-fPIC -shared'
13673 if test -d /usr
/nec
; then
13674 lt_prog_compiler_pic_FC
=-Kconform_pic
13679 lt_prog_compiler_pic_FC
='-fPIC'
13683 case $cc_basename in
13684 nvcc
*) # Cuda Compiler Driver 2.2
13685 lt_prog_compiler_wl_FC
='-Xlinker '
13686 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
13690 # PORTME Check for flag to pass linker flags through the system compiler.
13693 lt_prog_compiler_wl_FC
='-Wl,'
13694 if test "$host_cpu" = ia64
; then
13695 # AIX 5 now supports IA64 processor
13696 lt_prog_compiler_static_FC
='-Bstatic'
13698 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
13702 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13703 # This hack is so that the source file can tell whether it is being
13704 # built for inclusion in a dll (and should export symbols for example).
13705 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13708 hpux9
* | hpux10
* | hpux11
*)
13709 lt_prog_compiler_wl_FC
='-Wl,'
13710 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13711 # not for PA HP-UX.
13717 lt_prog_compiler_pic_FC
='+Z'
13720 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13721 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
13724 irix5
* | irix6
* | nonstopux
*)
13725 lt_prog_compiler_wl_FC
='-Wl,'
13726 # PIC (with -KPIC) is the default.
13727 lt_prog_compiler_static_FC
='-non_shared'
13730 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13731 case $cc_basename in
13732 # old Intel for x86_64 which still supported -KPIC.
13734 lt_prog_compiler_wl_FC
='-Wl,'
13735 lt_prog_compiler_pic_FC
='-KPIC'
13736 lt_prog_compiler_static_FC
='-static'
13738 # icc used to be incompatible with GCC.
13739 # ICC 10 doesn't accept -KPIC any more.
13741 lt_prog_compiler_wl_FC
='-Wl,'
13742 lt_prog_compiler_pic_FC
='-fPIC'
13743 lt_prog_compiler_static_FC
='-static'
13745 # Lahey Fortran 8.1.
13747 lt_prog_compiler_wl_FC
='-Wl,'
13748 lt_prog_compiler_pic_FC
='--shared'
13749 lt_prog_compiler_static_FC
='--static'
13751 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13752 # Portland Group compilers (*not* the Pentium gcc compiler,
13753 # which looks to be a dead project)
13754 lt_prog_compiler_wl_FC
='-Wl,'
13755 lt_prog_compiler_pic_FC
='-fpic'
13756 lt_prog_compiler_static_FC
='-Bstatic'
13759 lt_prog_compiler_wl_FC
='-Wl,'
13760 # All Alpha code is PIC.
13761 lt_prog_compiler_static_FC
='-non_shared'
13763 xl
* | bgxl
* | bgf
* | mpixl
*)
13764 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13765 lt_prog_compiler_wl_FC
='-Wl,'
13766 lt_prog_compiler_pic_FC
='-qpic'
13767 lt_prog_compiler_static_FC
='-qstaticlink'
13770 case `$CC -V 2>&1 | sed 5q` in
13771 *Sun\ F
* |
*Sun
*Fortran
*)
13772 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13773 lt_prog_compiler_pic_FC
='-KPIC'
13774 lt_prog_compiler_static_FC
='-Bstatic'
13775 lt_prog_compiler_wl_FC
=''
13779 lt_prog_compiler_pic_FC
='-KPIC'
13780 lt_prog_compiler_static_FC
='-Bstatic'
13781 lt_prog_compiler_wl_FC
='-Wl,'
13789 lt_prog_compiler_pic_FC
='-KPIC'
13790 lt_prog_compiler_static_FC
='-Bstatic'
13794 # QNX uses GNU C++, but need to define -shared option too, otherwise
13795 # it will coredump.
13796 lt_prog_compiler_pic_FC
='-fPIC -shared'
13799 osf3
* | osf4
* | osf5
*)
13800 lt_prog_compiler_wl_FC
='-Wl,'
13801 # All OSF/1 code is PIC.
13802 lt_prog_compiler_static_FC
='-non_shared'
13806 lt_prog_compiler_static_FC
='-non_shared'
13810 lt_prog_compiler_pic_FC
='-KPIC'
13811 lt_prog_compiler_static_FC
='-Bstatic'
13812 case $cc_basename in
13813 f77
* | f90
* | f95
*)
13814 lt_prog_compiler_wl_FC
='-Qoption ld ';;
13816 lt_prog_compiler_wl_FC
='-Wl,';;
13821 lt_prog_compiler_wl_FC
='-Qoption ld '
13822 lt_prog_compiler_pic_FC
='-PIC'
13823 lt_prog_compiler_static_FC
='-Bstatic'
13826 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13827 lt_prog_compiler_wl_FC
='-Wl,'
13828 lt_prog_compiler_pic_FC
='-KPIC'
13829 lt_prog_compiler_static_FC
='-Bstatic'
13833 if test -d /usr
/nec
;then
13834 lt_prog_compiler_pic_FC
='-Kconform_pic'
13835 lt_prog_compiler_static_FC
='-Bstatic'
13839 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13840 lt_prog_compiler_wl_FC
='-Wl,'
13841 lt_prog_compiler_pic_FC
='-KPIC'
13842 lt_prog_compiler_static_FC
='-Bstatic'
13846 lt_prog_compiler_wl_FC
='-Wl,'
13847 lt_prog_compiler_can_build_shared_FC
=no
13851 lt_prog_compiler_pic_FC
='-pic'
13852 lt_prog_compiler_static_FC
='-Bstatic'
13856 lt_prog_compiler_can_build_shared_FC
=no
13862 # For platforms which do not support PIC, -DPIC is meaningless:
13864 lt_prog_compiler_pic_FC
=
13867 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13871 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13876 # Check to make sure the PIC flag actually works.
13878 if test -n "$lt_prog_compiler_pic_FC"; then
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13880 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13881 if ${lt_cv_prog_compiler_pic_works_FC+:} false
; then :
13882 $as_echo_n "(cached) " >&6
13884 lt_cv_prog_compiler_pic_works_FC
=no
13885 ac_outfile
=conftest.
$ac_objext
13886 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13887 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
13888 # Insert the option either (1) after the last *FLAGS variable, or
13889 # (2) before a word containing "conftest.", or (3) at the end.
13890 # Note that $ac_compile itself does not contain backslashes and begins
13891 # with a dollar sign (not a hyphen), so the echo should work correctly.
13892 # The option is referenced via a variable to avoid confusing sed.
13893 lt_compile
=`echo "$ac_compile" | $SED \
13894 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13895 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13896 -e 's:$: $lt_compiler_flag:'`
13897 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13898 (eval "$lt_compile" 2>conftest.err
)
13900 cat conftest.err
>&5
13901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13902 if (exit $ac_status) && test -s "$ac_outfile"; then
13903 # The compiler can only warn and ignore the option if not recognized
13904 # So say no if there are warnings other than the usual output.
13905 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13906 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13907 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13908 lt_cv_prog_compiler_pic_works_FC
=yes
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13915 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13917 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
13918 case $lt_prog_compiler_pic_FC in
13920 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
13923 lt_prog_compiler_pic_FC
=
13924 lt_prog_compiler_can_build_shared_FC
=no
13932 # Check to make sure the static flag actually works.
13934 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13936 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13937 if ${lt_cv_prog_compiler_static_works_FC+:} false
; then :
13938 $as_echo_n "(cached) " >&6
13940 lt_cv_prog_compiler_static_works_FC
=no
13941 save_LDFLAGS
="$LDFLAGS"
13942 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13943 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13944 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13945 # The linker can only warn and ignore the option if not recognized
13946 # So say no if there are warnings
13947 if test -s conftest.err
; then
13948 # Append any errors to the config.log.
13949 cat conftest.err
1>&5
13950 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13951 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13952 if diff conftest.exp conftest.er2
>/dev
/null
; then
13953 lt_cv_prog_compiler_static_works_FC
=yes
13956 lt_cv_prog_compiler_static_works_FC
=yes
13960 LDFLAGS
="$save_LDFLAGS"
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13964 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13966 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
13969 lt_prog_compiler_static_FC
=
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13976 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13977 if ${lt_cv_prog_compiler_c_o_FC+:} false
; then :
13978 $as_echo_n "(cached) " >&6
13980 lt_cv_prog_compiler_c_o_FC
=no
13981 $RM -r conftest
2>/dev
/null
13985 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13987 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13988 # Insert the option either (1) after the last *FLAGS variable, or
13989 # (2) before a word containing "conftest.", or (3) at the end.
13990 # Note that $ac_compile itself does not contain backslashes and begins
13991 # with a dollar sign (not a hyphen), so the echo should work correctly.
13992 lt_compile
=`echo "$ac_compile" | $SED \
13993 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13994 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13995 -e 's:$: $lt_compiler_flag:'`
13996 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13997 (eval "$lt_compile" 2>out
/conftest.err
)
13999 cat out
/conftest.err
>&5
14000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14001 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14003 # The compiler can only warn and ignore the option if not recognized
14004 # So say no if there are warnings
14005 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14006 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14007 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14008 lt_cv_prog_compiler_c_o_FC
=yes
14013 # SGI C++ compiler will create directory out/ii_files/ for
14014 # template instantiation
14015 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14016 $RM out
/* && rmdir out
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14023 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14028 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14029 if ${lt_cv_prog_compiler_c_o_FC+:} false
; then :
14030 $as_echo_n "(cached) " >&6
14032 lt_cv_prog_compiler_c_o_FC
=no
14033 $RM -r conftest
2>/dev
/null
14037 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14039 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14040 # Insert the option either (1) after the last *FLAGS variable, or
14041 # (2) before a word containing "conftest.", or (3) at the end.
14042 # Note that $ac_compile itself does not contain backslashes and begins
14043 # with a dollar sign (not a hyphen), so the echo should work correctly.
14044 lt_compile
=`echo "$ac_compile" | $SED \
14045 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14046 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14047 -e 's:$: $lt_compiler_flag:'`
14048 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14049 (eval "$lt_compile" 2>out
/conftest.err
)
14051 cat out
/conftest.err
>&5
14052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14053 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14055 # The compiler can only warn and ignore the option if not recognized
14056 # So say no if there are warnings
14057 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14058 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14059 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14060 lt_cv_prog_compiler_c_o_FC
=yes
14065 # SGI C++ compiler will create directory out/ii_files/ for
14066 # template instantiation
14067 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14068 $RM out
/* && rmdir out
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14075 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14080 hard_links
="nottested"
14081 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
14082 # do not overwrite the value of need_locks provided by the user
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14084 $as_echo_n "checking if we can lock with hard links... " >&6; }
14087 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14089 ln conftest.a conftest.b
2>&5 || hard_links
=no
14090 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14092 $as_echo "$hard_links" >&6; }
14093 if test "$hard_links" = no
; then
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14095 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14105 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14108 allow_undefined_flag_FC
=
14109 always_export_symbols_FC
=no
14111 archive_expsym_cmds_FC
=
14112 compiler_needs_object_FC
=no
14113 enable_shared_with_static_runtimes_FC
=no
14114 export_dynamic_flag_spec_FC
=
14115 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14116 hardcode_automatic_FC
=no
14117 hardcode_direct_FC
=no
14118 hardcode_direct_absolute_FC
=no
14119 hardcode_libdir_flag_spec_FC
=
14120 hardcode_libdir_flag_spec_ld_FC
=
14121 hardcode_libdir_separator_FC
=
14122 hardcode_minus_L_FC
=no
14123 hardcode_shlibpath_var_FC
=unsupported
14124 inherit_rpath_FC
=no
14125 link_all_deplibs_FC
=unknown
14127 module_expsym_cmds_FC
=
14128 old_archive_from_new_cmds_FC
=
14129 old_archive_from_expsyms_cmds_FC
=
14130 thread_safe_flag_spec_FC
=
14131 whole_archive_flag_spec_FC
=
14132 # include_expsyms should be a list of space-separated symbols to be *always*
14133 # included in the symbol list
14134 include_expsyms_FC
=
14135 # exclude_expsyms can be an extended regexp of symbols to exclude
14136 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14137 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14138 # as well as any symbol that contains `d'.
14139 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14140 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14141 # platforms (ab)use it in PIC code, but their linkers get confused if
14142 # the symbol is explicitly referenced. Since portable code cannot
14143 # rely on this symbol name, it's probably fine to never include it in
14144 # preloaded symbol tables.
14145 # Exclude shared library initialization/finalization symbols.
14146 extract_expsyms_cmds
=
14149 cygwin
* | mingw
* | pw32
* | cegcc
*)
14150 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14151 # When not using gcc, we currently assume that we are using
14152 # Microsoft Visual C++.
14153 if test "$GCC" != yes; then
14158 # we just hope/assume this is gcc and not c89 (= MSVC++)
14168 # On some targets, GNU ld is compatible enough with the native linker
14169 # that we're better off using the native interface for both.
14170 lt_use_gnu_ld_interface
=no
14171 if test "$with_gnu_ld" = yes; then
14174 # The AIX port of GNU ld has always aspired to compatibility
14175 # with the native linker. However, as the warning in the GNU ld
14176 # block says, versions before 2.19.5* couldn't really create working
14177 # shared libraries, regardless of the interface used.
14178 case `$LD -v 2>&1` in
14179 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
14180 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
14181 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
14183 lt_use_gnu_ld_interface
=yes
14188 lt_use_gnu_ld_interface
=yes
14193 if test "$lt_use_gnu_ld_interface" = yes; then
14194 # If archive_cmds runs LD, not CC, wlarc should be empty
14197 # Set some defaults for GNU ld with shared library support. These
14198 # are reset later if shared libraries are not supported. Putting them
14199 # here allows them to be overridden if necessary.
14200 runpath_var
=LD_RUN_PATH
14201 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14202 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
14203 # ancient GNU ld didn't support --whole-archive et. al.
14204 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
14205 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14207 whole_archive_flag_spec_FC
=
14209 supports_anon_versioning
=no
14210 case `$LD -v 2>&1` in
14211 *GNU\ gold
*) supports_anon_versioning
=yes ;;
14212 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14213 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14214 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14215 *\
2.11.
*) ;; # other 2.11 versions
14216 *) supports_anon_versioning
=yes ;;
14219 # See if GNU ld supports shared libraries.
14222 # On AIX/PPC, the GNU linker is very broken
14223 if test "$host_cpu" != ia64
; then
14227 *** Warning: the GNU linker, at least up to release 2.19, is reported
14228 *** to be unable to reliably create shared libraries on AIX.
14229 *** Therefore, libtool is disabling shared libraries support. If you
14230 *** really care for shared libraries, you may want to install binutils
14231 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
14232 *** You will then need to restart the configuration process.
14241 # see comment about AmigaOS4 .so support
14242 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14243 archive_expsym_cmds_FC
=''
14246 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)'
14247 hardcode_libdir_flag_spec_FC
='-L$libdir'
14248 hardcode_minus_L_FC
=yes
14254 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14255 allow_undefined_flag_FC
=unsupported
14256 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14257 # support --undefined. This deserves some investigation. FIXME
14258 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14264 cygwin
* | mingw
* | pw32
* | cegcc
*)
14265 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
14266 # as there is no search path for DLLs.
14267 hardcode_libdir_flag_spec_FC
='-L$libdir'
14268 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
14269 allow_undefined_flag_FC
=unsupported
14270 always_export_symbols_FC
=no
14271 enable_shared_with_static_runtimes_FC
=yes
14272 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14274 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14275 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14276 # If the export-symbols file already is a .def file (1st line
14277 # is EXPORTS), use it as is; otherwise, prepend...
14278 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14279 cp $export_symbols $output_objdir/$soname.def;
14281 echo EXPORTS > $output_objdir/$soname.def;
14282 cat $export_symbols >> $output_objdir/$soname.def;
14284 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14291 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14292 link_all_deplibs_FC
=yes
14296 hardcode_direct_FC
=no
14297 hardcode_shlibpath_var_FC
=no
14298 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14299 export_dynamic_flag_spec_FC
='${wl}-E'
14300 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14301 # Instead, shared libraries are loaded at an image base (0x10000000 by
14302 # default) and relocated if they conflict, which is a slow very memory
14303 # consuming and fragmenting process. To avoid this, we pick a random,
14304 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14305 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14306 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'
14307 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'
14310 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14312 if test "$host_os" = linux-dietlibc
; then
14313 case $cc_basename in
14314 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
14317 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
14318 && test "$tmp_diet" = no
14320 tmp_addflag
=' $pic_flag'
14321 tmp_sharedflag
='-shared'
14322 case $cc_basename,$host_cpu in
14323 pgcc
*) # Portland Group C compiler
14324 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'
14325 tmp_addflag
=' $pic_flag'
14327 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
14328 # Portland Group f77 and f90 compilers
14329 whole_archive_flag_spec_FC
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
14330 tmp_addflag
=' $pic_flag -Mnomain' ;;
14331 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14332 tmp_addflag
=' -i_dynamic' ;;
14333 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14334 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14335 ifc
* | ifort
*) # Intel Fortran compiler
14336 tmp_addflag
=' -nofor_main' ;;
14337 lf95
*) # Lahey Fortran 8.1
14338 whole_archive_flag_spec_FC
=
14339 tmp_sharedflag
='--shared' ;;
14340 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14341 tmp_sharedflag
='-qmkshrobj'
14343 nvcc
*) # Cuda Compiler Driver 2.2
14344 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'
14345 compiler_needs_object_FC
=yes
14348 case `$CC -V 2>&1 | sed 5q` in
14349 *Sun\ C
*) # Sun C 5.9
14350 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'
14351 compiler_needs_object_FC
=yes
14352 tmp_sharedflag
='-G' ;;
14353 *Sun\ F
*) # Sun Fortran 8.3
14354 tmp_sharedflag
='-G' ;;
14356 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14358 if test "x$supports_anon_versioning" = xyes
; then
14359 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14360 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14361 echo "local: *; };" >> $output_objdir/$libname.ver~
14362 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14365 case $cc_basename in
14366 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
14367 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14368 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
14369 hardcode_libdir_flag_spec_FC
=
14370 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
14371 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14372 if test "x$supports_anon_versioning" = xyes
; then
14373 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14374 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14375 echo "local: *; };" >> $output_objdir/$libname.ver~
14376 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14386 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14387 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14390 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14391 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14396 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
14400 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14401 *** create shared libraries on Solaris systems. Therefore, libtool
14402 *** is disabling shared libraries support. We urge you to upgrade GNU
14403 *** binutils to release 2.9.1 or newer. Another option is to modify
14404 *** your PATH or compiler configuration so that the native linker is
14405 *** used, and then restart.
14408 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14409 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14410 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14416 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14417 case `$LD -v 2>&1` in
14418 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14422 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14423 *** reliably create shared libraries on SCO systems. Therefore, libtool
14424 *** is disabling shared libraries support. We urge you to upgrade GNU
14425 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14426 *** your PATH or compiler configuration so that the native linker is
14427 *** used, and then restart.
14432 # For security reasons, it is highly recommended that you always
14433 # use absolute paths for naming shared libraries, and exclude the
14434 # DT_RUNPATH tag from executables and libraries. But doing so
14435 # requires that you compile everything twice, which is a pain.
14436 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14437 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14438 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14439 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14448 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14450 hardcode_direct_FC
=yes
14451 hardcode_shlibpath_var_FC
=no
14455 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14456 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14457 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14464 if test "$ld_shlibs_FC" = no
; then
14466 hardcode_libdir_flag_spec_FC
=
14467 export_dynamic_flag_spec_FC
=
14468 whole_archive_flag_spec_FC
=
14471 # PORTME fill in a description of your system's linker (not GNU ld)
14474 allow_undefined_flag_FC
=unsupported
14475 always_export_symbols_FC
=yes
14476 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'
14477 # Note: this linker hardcodes the directories in LIBPATH if there
14478 # are no directories specified by -L.
14479 hardcode_minus_L_FC
=yes
14480 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14481 # Neither direct hardcoding nor static linking is supported with a
14483 hardcode_direct_FC
=unsupported
14488 if test "$host_cpu" = ia64
; then
14489 # On IA64, the linker does run time linking by default, so we don't
14490 # have to do anything special.
14491 aix_use_runtimelinking
=no
14492 exp_sym_flag
='-Bexport'
14495 # If we're using GNU nm, then we don't want the "-C" option.
14496 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14497 # Also, AIX nm treats weak defined symbols like other global
14498 # defined symbols, whereas GNU nm marks them as "W".
14499 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14500 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'
14502 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'
14504 aix_use_runtimelinking
=no
14506 # Test if we are trying to use run time linking or normal
14507 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14508 # need to do runtime linking.
14509 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14510 for ld_flag
in $LDFLAGS; do
14511 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14512 aix_use_runtimelinking
=yes
14519 exp_sym_flag
='-bexport'
14520 no_entry_flag
='-bnoentry'
14523 # When large executables or shared objects are built, AIX ld can
14524 # have problems creating the table of contents. If linking a library
14525 # or program results in "error TOC overflow" add -mminimal-toc to
14526 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14527 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14530 hardcode_direct_FC
=yes
14531 hardcode_direct_absolute_FC
=yes
14532 hardcode_libdir_separator_FC
=':'
14533 link_all_deplibs_FC
=yes
14534 file_list_spec_FC
='${wl}-f,'
14536 if test "$GCC" = yes; then
14537 case $host_os in aix4.
[012]|aix4.
[012].
*)
14538 # We only want to do this on AIX 4.2 and lower, the check
14539 # below for broken collect2 doesn't work under 4.3+
14540 collect2name
=`${CC} -print-prog-name=collect2`
14541 if test -f "$collect2name" &&
14542 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14544 # We have reworked collect2
14547 # We have old collect2
14548 hardcode_direct_FC
=unsupported
14549 # It fails to find uninstalled libraries when the uninstalled
14550 # path is not listed in the libpath. Setting hardcode_minus_L
14551 # to unsupported forces relinking
14552 hardcode_minus_L_FC
=yes
14553 hardcode_libdir_flag_spec_FC
='-L$libdir'
14554 hardcode_libdir_separator_FC
=
14558 shared_flag
='-shared'
14559 if test "$aix_use_runtimelinking" = yes; then
14560 shared_flag
="$shared_flag "'${wl}-G'
14564 if test "$host_cpu" = ia64
; then
14565 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14566 # chokes on -Wl,-G. The following line is correct:
14569 if test "$aix_use_runtimelinking" = yes; then
14570 shared_flag
='${wl}-G'
14572 shared_flag
='${wl}-bM:SRE'
14577 export_dynamic_flag_spec_FC
='${wl}-bexpall'
14578 # It seems that -bexpall does not export symbols beginning with
14579 # underscore (_), so it is better to generate a list of symbols to export.
14580 always_export_symbols_FC
=yes
14581 if test "$aix_use_runtimelinking" = yes; then
14582 # Warning - without using the other runtime loading flags (-brtl),
14583 # -berok will link without error, but may produce a broken library.
14584 allow_undefined_flag_FC
='-berok'
14585 # Determine the default libpath from the value encoded in an
14586 # empty executable.
14587 if test x
$gcc_no_link = xyes
; then
14588 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14590 cat > conftest.
$ac_ext <<_ACEOF
14595 if ac_fn_fc_try_link
"$LINENO"; then :
14597 lt_aix_libpath_sed
='
14598 /Import File Strings/,/^$/ {
14604 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14605 # Check for a 64-bit object if we didn't find anything.
14606 if test -z "$aix_libpath"; then
14607 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14610 rm -f core conftest.err conftest.
$ac_objext \
14611 conftest
$ac_exeext conftest.
$ac_ext
14612 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14614 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14615 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"
14617 if test "$host_cpu" = ia64
; then
14618 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
14619 allow_undefined_flag_FC
="-z nodefs"
14620 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"
14622 # Determine the default libpath from the value encoded in an
14623 # empty executable.
14624 if test x
$gcc_no_link = xyes
; then
14625 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14627 cat > conftest.
$ac_ext <<_ACEOF
14632 if ac_fn_fc_try_link
"$LINENO"; then :
14634 lt_aix_libpath_sed
='
14635 /Import File Strings/,/^$/ {
14641 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14642 # Check for a 64-bit object if we didn't find anything.
14643 if test -z "$aix_libpath"; then
14644 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14647 rm -f core conftest.err conftest.
$ac_objext \
14648 conftest
$ac_exeext conftest.
$ac_ext
14649 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14651 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14652 # Warning - without using the other run time loading flags,
14653 # -berok will link without error, but may produce a broken library.
14654 no_undefined_flag_FC
=' ${wl}-bernotok'
14655 allow_undefined_flag_FC
=' ${wl}-berok'
14656 if test "$with_gnu_ld" = yes; then
14657 # We only use this code for GNU lds that support --whole-archive.
14658 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14660 # Exported symbols can be pulled into shared objects from archives
14661 whole_archive_flag_spec_FC
='$convenience'
14663 archive_cmds_need_lc_FC
=yes
14664 # This is similar to how AIX traditionally builds its shared libraries.
14665 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'
14673 # see comment about AmigaOS4 .so support
14674 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14675 archive_expsym_cmds_FC
=''
14678 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)'
14679 hardcode_libdir_flag_spec_FC
='-L$libdir'
14680 hardcode_minus_L_FC
=yes
14686 export_dynamic_flag_spec_FC
=-rdynamic
14689 cygwin
* | mingw
* | pw32
* | cegcc
*)
14690 # When not using gcc, we currently assume that we are using
14691 # Microsoft Visual C++.
14692 # hardcode_libdir_flag_spec is actually meaningless, as there is
14693 # no search path for DLLs.
14694 hardcode_libdir_flag_spec_FC
=' '
14695 allow_undefined_flag_FC
=unsupported
14696 # Tell ltmain to make .lib files, not .a files.
14698 # Tell ltmain to make .dll files, not .so files.
14700 # FIXME: Setting linknames here is a bad hack.
14701 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14702 # The linker will automatically build a .lib file if we build a DLL.
14703 old_archive_from_new_cmds_FC
='true'
14704 # FIXME: Should let the user specify the lib program.
14705 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14706 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
14707 enable_shared_with_static_runtimes_FC
=yes
14710 darwin
* | rhapsody
*)
14713 archive_cmds_need_lc_FC
=no
14714 hardcode_direct_FC
=no
14715 hardcode_automatic_FC
=yes
14716 hardcode_shlibpath_var_FC
=unsupported
14717 if test "$lt_cv_ld_force_load" = "yes"; then
14718 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\"`'
14720 whole_archive_flag_spec_FC
=''
14722 link_all_deplibs_FC
=yes
14723 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
14724 case $cc_basename in
14725 ifort
*) _lt_dar_can_shared
=yes ;;
14726 *) _lt_dar_can_shared
=$GCC ;;
14728 if test "$_lt_dar_can_shared" = "yes"; then
14729 output_verbose_link_cmd
=func_echo_all
14730 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}"
14731 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14732 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}"
14733 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}"
14742 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14743 hardcode_libdir_flag_spec_FC
='-L$libdir'
14744 hardcode_shlibpath_var_FC
=no
14747 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14748 # support. Future versions do this automatically, but an explicit c++rt0.o
14749 # does not break anything, and helps significantly (at the cost of a little
14752 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14753 hardcode_libdir_flag_spec_FC
='-R$libdir'
14754 hardcode_direct_FC
=yes
14755 hardcode_shlibpath_var_FC
=no
14758 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14760 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14761 hardcode_direct_FC
=yes
14762 hardcode_minus_L_FC
=yes
14763 hardcode_shlibpath_var_FC
=no
14766 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14767 freebsd
* | dragonfly
*)
14768 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14769 hardcode_libdir_flag_spec_FC
='-R$libdir'
14770 hardcode_direct_FC
=yes
14771 hardcode_shlibpath_var_FC
=no
14775 if test "$GCC" = yes; then
14776 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'
14778 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'
14780 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14781 hardcode_libdir_separator_FC
=:
14782 hardcode_direct_FC
=yes
14784 # hardcode_minus_L: Not really in the search PATH,
14785 # but as the default location of the library.
14786 hardcode_minus_L_FC
=yes
14787 export_dynamic_flag_spec_FC
='${wl}-E'
14791 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14792 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14794 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14796 if test "$with_gnu_ld" = no
; then
14797 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14798 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
14799 hardcode_libdir_separator_FC
=:
14800 hardcode_direct_FC
=yes
14801 hardcode_direct_absolute_FC
=yes
14802 export_dynamic_flag_spec_FC
='${wl}-E'
14803 # hardcode_minus_L: Not really in the search PATH,
14804 # but as the default location of the library.
14805 hardcode_minus_L_FC
=yes
14810 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14813 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14816 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14819 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14825 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14828 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14831 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14835 if test "$with_gnu_ld" = no
; then
14836 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14837 hardcode_libdir_separator_FC
=:
14841 hardcode_direct_FC
=no
14842 hardcode_shlibpath_var_FC
=no
14845 hardcode_direct_FC
=yes
14846 hardcode_direct_absolute_FC
=yes
14847 export_dynamic_flag_spec_FC
='${wl}-E'
14849 # hardcode_minus_L: Not really in the search PATH,
14850 # but as the default location of the library.
14851 hardcode_minus_L_FC
=yes
14857 irix5
* | irix6
* | nonstopux
*)
14858 if test "$GCC" = yes; then
14859 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'
14860 # Try to use the -exported_symbol ld option, if it does not
14861 # work, assume that -exports_file does not work either and
14862 # implicitly export all symbols.
14863 save_LDFLAGS
="$LDFLAGS"
14864 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14865 if test x
$gcc_no_link = xyes
; then
14866 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14868 cat > conftest.
$ac_ext <<_ACEOF
14871 if ac_fn_fc_try_link
"$LINENO"; then :
14872 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'
14875 rm -f core conftest.err conftest.
$ac_objext \
14876 conftest
$ac_exeext conftest.
$ac_ext
14877 LDFLAGS
="$save_LDFLAGS"
14879 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'
14880 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'
14882 archive_cmds_need_lc_FC
='no'
14883 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14884 hardcode_libdir_separator_FC
=:
14885 inherit_rpath_FC
=yes
14886 link_all_deplibs_FC
=yes
14890 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14891 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14893 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14895 hardcode_libdir_flag_spec_FC
='-R$libdir'
14896 hardcode_direct_FC
=yes
14897 hardcode_shlibpath_var_FC
=no
14901 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14902 hardcode_direct_FC
=yes
14903 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14904 hardcode_libdir_separator_FC
=:
14905 hardcode_shlibpath_var_FC
=no
14912 if test -f /usr
/libexec
/ld.so
; then
14913 hardcode_direct_FC
=yes
14914 hardcode_shlibpath_var_FC
=no
14915 hardcode_direct_absolute_FC
=yes
14916 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14917 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14918 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14919 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14920 export_dynamic_flag_spec_FC
='${wl}-E'
14923 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14924 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14925 hardcode_libdir_flag_spec_FC
='-R$libdir'
14928 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14929 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14939 hardcode_libdir_flag_spec_FC
='-L$libdir'
14940 hardcode_minus_L_FC
=yes
14941 allow_undefined_flag_FC
=unsupported
14942 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'
14943 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14947 if test "$GCC" = yes; then
14948 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14949 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'
14951 allow_undefined_flag_FC
=' -expect_unresolved \*'
14952 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'
14954 archive_cmds_need_lc_FC
='no'
14955 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14956 hardcode_libdir_separator_FC
=:
14959 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14960 if test "$GCC" = yes; then
14961 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14962 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'
14963 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14965 allow_undefined_flag_FC
=' -expect_unresolved \*'
14966 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'
14967 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~
14968 $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'
14970 # Both c and cxx compiler support -rpath directly
14971 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
14973 archive_cmds_need_lc_FC
='no'
14974 hardcode_libdir_separator_FC
=:
14978 no_undefined_flag_FC
=' -z defs'
14979 if test "$GCC" = yes; then
14981 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14982 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14983 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14985 case `$CC -V 2>&1` in
14988 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14989 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14990 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14994 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14995 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14996 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15000 hardcode_libdir_flag_spec_FC
='-R$libdir'
15001 hardcode_shlibpath_var_FC
=no
15003 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15005 # The compiler driver will combine and reorder linker options,
15006 # but understands `-z linker_flag'. GCC discards it without `$wl',
15007 # but is careful enough not to reorder.
15008 # Supported since Solaris 2.6 (maybe 2.5.1?)
15009 if test "$GCC" = yes; then
15010 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15012 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
15016 link_all_deplibs_FC
=yes
15020 if test "x$host_vendor" = xsequent
; then
15021 # Use $CC to link under sequent, because it throws in some extra .o
15022 # files that make .init and .fini sections work.
15023 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15025 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15027 hardcode_libdir_flag_spec_FC
='-L$libdir'
15028 hardcode_direct_FC
=yes
15029 hardcode_minus_L_FC
=yes
15030 hardcode_shlibpath_var_FC
=no
15034 case $host_vendor in
15036 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15037 hardcode_direct_FC
=yes # is this really true???
15040 ## LD is ld it makes a PLAMLIB
15041 ## CC just makes a GrossModule.
15042 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15043 reload_cmds_FC
='$CC -r -o $output$reload_objs'
15044 hardcode_direct_FC
=no
15047 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15048 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
15051 runpath_var
='LD_RUN_PATH'
15052 hardcode_shlibpath_var_FC
=no
15056 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15057 hardcode_shlibpath_var_FC
=no
15058 export_dynamic_flag_spec_FC
='-Bexport'
15062 if test -d /usr
/nec
; then
15063 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15064 hardcode_shlibpath_var_FC
=no
15065 runpath_var
=LD_RUN_PATH
15066 hardcode_runpath_var
=yes
15071 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15072 no_undefined_flag_FC
='${wl}-z,text'
15073 archive_cmds_need_lc_FC
=no
15074 hardcode_shlibpath_var_FC
=no
15075 runpath_var
='LD_RUN_PATH'
15077 if test "$GCC" = yes; then
15078 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15079 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15081 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15082 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15086 sysv5
* | sco3.2v5
* | sco5v6
*)
15087 # Note: We can NOT use -z defs as we might desire, because we do not
15088 # link with -lc, and that would cause any symbols used from libc to
15089 # always be unresolved, which means just about no library would
15090 # ever link correctly. If we're not using GNU ld we use -z text
15091 # though, which does catch some bad symbols but isn't as heavy-handed
15093 no_undefined_flag_FC
='${wl}-z,text'
15094 allow_undefined_flag_FC
='${wl}-z,nodefs'
15095 archive_cmds_need_lc_FC
=no
15096 hardcode_shlibpath_var_FC
=no
15097 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
15098 hardcode_libdir_separator_FC
=':'
15099 link_all_deplibs_FC
=yes
15100 export_dynamic_flag_spec_FC
='${wl}-Bexport'
15101 runpath_var
='LD_RUN_PATH'
15103 if test "$GCC" = yes; then
15104 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15105 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15107 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15108 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15113 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15114 hardcode_libdir_flag_spec_FC
='-L$libdir'
15115 hardcode_shlibpath_var_FC
=no
15123 if test x
$host_vendor = xsni
; then
15125 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15126 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
15133 $as_echo "$ld_shlibs_FC" >&6; }
15134 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
15136 with_gnu_ld_FC
=$with_gnu_ld
15144 # Do we need to explicitly link libc?
15146 case "x$archive_cmds_need_lc_FC" in
15148 # Assume -lc should be added
15149 archive_cmds_need_lc_FC
=yes
15151 if test "$enable_shared" = yes && test "$GCC" = yes; then
15152 case $archive_cmds_FC in
15154 # FIXME: we may have to deal with multi-command sequences.
15157 # Test whether the compiler implicitly links with -lc since on some
15158 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15159 # to ld, don't add -lc before -lgcc.
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15161 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15162 if ${lt_cv_archive_cmds_need_lc_FC+:} false
; then :
15163 $as_echo_n "(cached) " >&6
15166 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15168 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15169 (eval $ac_compile) 2>&5
15171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15172 test $ac_status = 0; } 2>conftest.err
; then
15175 libobjs
=conftest.
$ac_objext
15177 wl
=$lt_prog_compiler_wl_FC
15178 pic_flag
=$lt_prog_compiler_pic_FC
15184 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
15185 allow_undefined_flag_FC
=
15186 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15187 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15190 test $ac_status = 0; }
15192 lt_cv_archive_cmds_need_lc_FC
=no
15194 lt_cv_archive_cmds_need_lc_FC
=yes
15196 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
15198 cat conftest.err
1>&5
15203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
15204 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
15205 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
15275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15276 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15278 library_names_spec
=
15279 libname_spec
='lib$name'
15283 postuninstall_cmds
=
15287 shlibpath_overrides_runpath
=unknown
15289 dynamic_linker
="$host_os ld.so"
15290 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15291 need_lib_prefix
=unknown
15292 hardcode_into_libs
=no
15294 # when you set need_version to no, make sure it does not cause -set_version
15295 # flags to be left without arguments
15296 need_version
=unknown
15301 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15302 shlibpath_var
=LIBPATH
15304 # AIX 3 has no versioning support, so we append a major version to the name.
15305 soname_spec
='${libname}${release}${shared_ext}$major'
15312 hardcode_into_libs
=yes
15313 if test "$host_cpu" = ia64
; then
15314 # AIX 5 supports IA64
15315 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15316 shlibpath_var
=LD_LIBRARY_PATH
15318 # With GCC up to 2.95.x, collect2 would create an import file
15319 # for dependence libraries. The import file would start with
15320 # the line `#! .'. This would cause the generated library to
15321 # depend on `.', always an invalid library. This was fixed in
15322 # development snapshots of GCC prior to 3.0.
15324 aix4 | aix4.
[01] | aix4.
[01].
*)
15325 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15327 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15330 can_build_shared
=no
15334 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15335 # soname into executable. Probably we can add versioning support to
15336 # collect2, so additional links can be useful in future.
15337 if test "$aix_use_runtimelinking" = yes; then
15338 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15339 # instead of lib<name>.a to let people know that these are not
15340 # typical AIX shared libraries.
15341 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15343 # We preserve .a as extension for shared libraries through AIX4.2
15344 # and later when we are not doing run time linking.
15345 library_names_spec
='${libname}${release}.a $libname.a'
15346 soname_spec
='${libname}${release}${shared_ext}$major'
15348 shlibpath_var
=LIBPATH
15355 # Since July 2007 AmigaOS4 officially supports .so libraries.
15356 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15357 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15360 library_names_spec
='$libname.ixlibrary $libname.a'
15361 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15362 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'
15368 library_names_spec
='${libname}${shared_ext}'
15369 dynamic_linker
="$host_os ld.so"
15370 shlibpath_var
=LIBRARY_PATH
15376 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15377 soname_spec
='${libname}${release}${shared_ext}$major'
15378 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15379 shlibpath_var
=LD_LIBRARY_PATH
15380 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15381 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15382 # the default ld.so.conf also contains /usr/contrib/lib and
15383 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15384 # libtool to hard-code these into programs
15387 cygwin
* | mingw
* | pw32
* | cegcc
*)
15388 version_type
=windows
15393 case $GCC,$host_os in
15394 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15395 library_names_spec
='$libname.dll.a'
15396 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15397 postinstall_cmds
='base_file=`basename \${file}`~
15398 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15399 dldir=$destdir/`dirname \$dlpath`~
15400 test -d \$dldir || mkdir -p \$dldir~
15401 $install_prog $dir/$dlname \$dldir/$dlname~
15402 chmod a+x \$dldir/$dlname~
15403 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15404 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15406 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15407 dlpath=$dir/\$dldll~
15409 shlibpath_overrides_runpath
=yes
15413 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15414 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15418 # MinGW DLLs use traditional 'lib' prefix
15419 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15422 # pw32 DLLs use 'pw' prefix rather than 'lib'
15423 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15429 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15432 dynamic_linker
='Win32 ld.exe'
15433 # FIXME: first we should search . and the directory the executable is in
15437 darwin
* | rhapsody
*)
15438 dynamic_linker
="$host_os dyld"
15439 version_type
=darwin
15442 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15443 soname_spec
='${libname}${release}${major}$shared_ext'
15444 shlibpath_overrides_runpath
=yes
15445 shlibpath_var
=DYLD_LIBRARY_PATH
15446 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15448 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15456 soname_spec
='${libname}${release}${shared_ext}$major'
15457 shlibpath_var
=LD_LIBRARY_PATH
15460 freebsd
* | dragonfly
*)
15461 # DragonFly does not have aout. When/if they implement a new
15462 # versioning mechanism, adjust this.
15463 if test -x /usr
/bin
/objformat
; then
15464 objformat
=`/usr/bin/objformat`
15467 freebsd
[23].
*) objformat
=aout
;;
15468 *) objformat
=elf
;;
15471 version_type
=freebsd-
$objformat
15472 case $version_type in
15474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15479 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15483 shlibpath_var
=LD_LIBRARY_PATH
15486 shlibpath_overrides_runpath
=yes
15488 freebsd3.
[01]* | freebsdelf3.
[01]*)
15489 shlibpath_overrides_runpath
=yes
15490 hardcode_into_libs
=yes
15492 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15493 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15494 shlibpath_overrides_runpath
=no
15495 hardcode_into_libs
=yes
15497 *) # from 4.6 on, and DragonFly
15498 shlibpath_overrides_runpath
=yes
15499 hardcode_into_libs
=yes
15508 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15509 soname_spec
='${libname}${release}${shared_ext}$major'
15510 shlibpath_var
=LD_LIBRARY_PATH
15511 hardcode_into_libs
=yes
15518 dynamic_linker
="$host_os runtime_loader"
15519 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15520 soname_spec
='${libname}${release}${shared_ext}$major'
15521 shlibpath_var
=LIBRARY_PATH
15522 shlibpath_overrides_runpath
=yes
15523 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15524 hardcode_into_libs
=yes
15527 hpux9
* | hpux10
* | hpux11
*)
15528 # Give a soname corresponding to the major version so that dld.sl refuses to
15529 # link against other versions.
15536 hardcode_into_libs
=yes
15537 dynamic_linker
="$host_os dld.so"
15538 shlibpath_var
=LD_LIBRARY_PATH
15539 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15540 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15541 soname_spec
='${libname}${release}${shared_ext}$major'
15542 if test "X$HPUX_IA64_MODE" = X32
; then
15543 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15545 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15547 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15551 hardcode_into_libs
=yes
15552 dynamic_linker
="$host_os dld.sl"
15553 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15554 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15555 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15556 soname_spec
='${libname}${release}${shared_ext}$major'
15557 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15558 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15562 dynamic_linker
="$host_os dld.sl"
15563 shlibpath_var
=SHLIB_PATH
15564 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15565 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15566 soname_spec
='${libname}${release}${shared_ext}$major'
15569 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15570 postinstall_cmds
='chmod 555 $lib'
15571 # or fails outright, so override atomically:
15572 install_override_mode
=555
15579 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15580 soname_spec
='${libname}${release}${shared_ext}$major'
15581 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15582 shlibpath_var
=LD_LIBRARY_PATH
15583 shlibpath_overrides_runpath
=no
15584 hardcode_into_libs
=yes
15587 irix5
* | irix6
* | nonstopux
*)
15589 nonstopux
*) version_type
=nonstopux
;;
15591 if test "$lt_cv_prog_gnu_ld" = yes; then
15599 soname_spec
='${libname}${release}${shared_ext}$major'
15600 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15602 irix5
* | nonstopux
*)
15603 libsuff
= shlibsuff
=
15606 case $LD in # libtool.m4 will add one of these switches to LD
15607 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15608 libsuff
= shlibsuff
= libmagic
=32-bit;;
15609 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15610 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15611 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15612 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15613 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15617 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15618 shlibpath_overrides_runpath
=no
15619 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15620 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15621 hardcode_into_libs
=yes
15624 # No shared lib support for Linux oldld, aout, or coff.
15625 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15629 # This must be Linux ELF.
15630 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15634 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15635 soname_spec
='${libname}${release}${shared_ext}$major'
15636 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15637 shlibpath_var
=LD_LIBRARY_PATH
15638 shlibpath_overrides_runpath
=no
15640 # Some binutils ld are patched to set DT_RUNPATH
15641 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15642 $as_echo_n "(cached) " >&6
15644 lt_cv_shlibpath_overrides_runpath
=no
15645 save_LDFLAGS
=$LDFLAGS
15646 save_libdir
=$libdir
15647 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15648 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15649 if test x
$gcc_no_link = xyes
; then
15650 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15652 cat > conftest.
$ac_ext <<_ACEOF
15657 if ac_fn_fc_try_link
"$LINENO"; then :
15658 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15659 lt_cv_shlibpath_overrides_runpath
=yes
15662 rm -f core conftest.err conftest.
$ac_objext \
15663 conftest
$ac_exeext conftest.
$ac_ext
15664 LDFLAGS
=$save_LDFLAGS
15665 libdir
=$save_libdir
15669 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15671 # This implies no fast_install, which is unacceptable.
15672 # Some rework will be needed to allow for fast_install
15673 # before this can be enabled.
15674 hardcode_into_libs
=yes
15676 # Append ld.so.conf contents to the search path
15677 if test -f /etc
/ld.so.conf
; then
15678 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' ' '`
15679 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15682 # We used to test for /lib/ld.so.1 and disable shared libraries on
15683 # powerpc, because MkLinux only supported shared libraries with the
15684 # GNU dynamic linker. Since this was broken with cross compilers,
15685 # most powerpc-linux boxes support dynamic linking these days and
15686 # people can always --disable-shared, the test was removed, and we
15687 # assume the GNU/Linux dynamic linker is in use.
15688 dynamic_linker
='GNU/Linux ld.so'
15695 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15696 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15697 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15698 dynamic_linker
='NetBSD (a.out) ld.so'
15700 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15701 soname_spec
='${libname}${release}${shared_ext}$major'
15702 dynamic_linker
='NetBSD ld.elf_so'
15704 shlibpath_var
=LD_LIBRARY_PATH
15705 shlibpath_overrides_runpath
=yes
15706 hardcode_into_libs
=yes
15711 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15712 shlibpath_var
=LD_LIBRARY_PATH
15713 shlibpath_overrides_runpath
=yes
15720 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15721 soname_spec
='${libname}${release}${shared_ext}$major'
15722 shlibpath_var
=LD_LIBRARY_PATH
15723 shlibpath_overrides_runpath
=no
15724 hardcode_into_libs
=yes
15725 dynamic_linker
='ldqnx.so'
15730 sys_lib_dlsearch_path_spec
="/usr/lib"
15732 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15734 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15735 *) need_version
=no
;;
15737 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15738 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15739 shlibpath_var
=LD_LIBRARY_PATH
15740 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15742 openbsd2.
[89] | openbsd2.
[89].
*)
15743 shlibpath_overrides_runpath
=no
15746 shlibpath_overrides_runpath
=yes
15750 shlibpath_overrides_runpath
=yes
15755 libname_spec
='$name'
15758 library_names_spec
='$libname${shared_ext} $libname.a'
15759 dynamic_linker
='OS/2 ld.exe'
15760 shlibpath_var
=LIBPATH
15763 osf3
* | osf4
* | osf5
*)
15767 soname_spec
='${libname}${release}${shared_ext}$major'
15768 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15769 shlibpath_var
=LD_LIBRARY_PATH
15770 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15771 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15782 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15783 soname_spec
='${libname}${release}${shared_ext}$major'
15784 shlibpath_var
=LD_LIBRARY_PATH
15785 shlibpath_overrides_runpath
=yes
15786 hardcode_into_libs
=yes
15787 # ldd complains unless libraries are executable
15788 postinstall_cmds
='chmod +x $lib'
15793 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15794 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15795 shlibpath_var
=LD_LIBRARY_PATH
15796 shlibpath_overrides_runpath
=yes
15797 if test "$with_gnu_ld" = yes; then
15805 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15806 soname_spec
='${libname}${release}${shared_ext}$major'
15807 shlibpath_var
=LD_LIBRARY_PATH
15808 case $host_vendor in
15810 shlibpath_overrides_runpath
=no
15812 runpath_var
=LD_RUN_PATH
15820 shlibpath_overrides_runpath
=no
15821 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15827 if test -d /usr
/nec
;then
15829 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15830 soname_spec
='$libname${shared_ext}.$major'
15831 shlibpath_var
=LD_LIBRARY_PATH
15835 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15836 version_type
=freebsd-elf
15839 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15840 soname_spec
='${libname}${release}${shared_ext}$major'
15841 shlibpath_var
=LD_LIBRARY_PATH
15842 shlibpath_overrides_runpath
=yes
15843 hardcode_into_libs
=yes
15844 if test "$with_gnu_ld" = yes; then
15845 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15847 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15850 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15854 sys_lib_dlsearch_path_spec
='/usr/lib'
15858 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15862 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15863 shlibpath_var
=LD_LIBRARY_PATH
15864 shlibpath_overrides_runpath
=no
15865 hardcode_into_libs
=yes
15870 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15871 soname_spec
='${libname}${release}${shared_ext}$major'
15872 shlibpath_var
=LD_LIBRARY_PATH
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15880 $as_echo "$dynamic_linker" >&6; }
15881 test "$dynamic_linker" = no
&& can_build_shared
=no
15883 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15884 if test "$GCC" = yes; then
15885 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15888 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15889 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15891 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15892 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15933 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15934 hardcode_action_FC
=
15935 if test -n "$hardcode_libdir_flag_spec_FC" ||
15936 test -n "$runpath_var_FC" ||
15937 test "X$hardcode_automatic_FC" = "Xyes" ; then
15939 # We can hardcode non-existent directories.
15940 if test "$hardcode_direct_FC" != no
&&
15941 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15942 # have to relink, otherwise we might link with an installed library
15943 # when we should be linking with a yet-to-be-installed one
15944 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15945 test "$hardcode_minus_L_FC" != no
; then
15946 # Linking always hardcodes the temporary library directory.
15947 hardcode_action_FC
=relink
15949 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15950 hardcode_action_FC
=immediate
15953 # We cannot hardcode anything, or else we can only hardcode existing
15955 hardcode_action_FC
=unsupported
15957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15958 $as_echo "$hardcode_action_FC" >&6; }
15960 if test "$hardcode_action_FC" = relink ||
15961 test "$inherit_rpath_FC" = yes; then
15962 # Fast installation is not supported
15963 enable_fast_install
=no
15964 elif test "$shlibpath_overrides_runpath" = yes ||
15965 test "$enable_shared" = no
; then
15966 # Fast installation is not necessary
15967 enable_fast_install
=needless
15976 fi # test -n "$compiler"
15980 fi # test "$_lt_disable_FC" != yes
15983 ac_cpp
='$CPP $CPPFLAGS'
15984 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15985 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15986 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15990 # extra LD Flags which are required for targets
15993 # Darwin needs -single_module when linking libgfortran
15994 extra_ldflags_libgfortran
=-Wl,-single_module
15999 # We need a working compiler at that point, otherwise give a clear
16000 # error message and bail out.
16002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
16003 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
16004 ac_ext
=${ac_fc_srcext-f}
16005 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
16006 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
16007 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
16009 cat > conftest.
$ac_ext <<_ACEOF
16012 real, parameter :: bar = sin (12.34 / 2.5)
16015 if ac_fn_fc_try_compile
"$LINENO"; then :
16016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16017 $as_echo "yes" >&6; }
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16020 $as_echo "no" >&6; }
16021 as_fn_error $?
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
16024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16026 ac_cpp
='$CPP $CPPFLAGS'
16027 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16028 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16029 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16033 # Check whether --enable-largefile was given.
16034 if test "${enable_largefile+set}" = set; then :
16035 enableval
=$enable_largefile;
16038 if test "$enable_largefile" != no
; then
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16041 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16042 if ${ac_cv_sys_largefile_CC+:} false
; then :
16043 $as_echo_n "(cached) " >&6
16045 ac_cv_sys_largefile_CC
=no
16046 if test "$GCC" != yes; then
16049 # IRIX 6.2 and later do not support large files by default,
16050 # so use the C compiler's -n32 option if that helps.
16051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16052 /* end confdefs.h. */
16053 #include <sys/types.h>
16054 /* Check that off_t can represent 2**63 - 1 correctly.
16055 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16056 since some C++ compilers masquerading as C compilers
16057 incorrectly reject 9223372036854775807. */
16058 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
16059 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16060 && LARGE_OFF_T % 2147483647 == 1)
16070 if ac_fn_c_try_compile
"$LINENO"; then :
16073 rm -f core conftest.err conftest.
$ac_objext
16075 if ac_fn_c_try_compile
"$LINENO"; then :
16076 ac_cv_sys_largefile_CC
=' -n32'; break
16078 rm -f core conftest.err conftest.
$ac_objext
16082 rm -f conftest.
$ac_ext
16085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16086 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
16087 if test "$ac_cv_sys_largefile_CC" != no
; then
16088 CC
=$CC$ac_cv_sys_largefile_CC
16091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16092 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16093 if ${ac_cv_sys_file_offset_bits+:} false
; then :
16094 $as_echo_n "(cached) " >&6
16097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16098 /* end confdefs.h. */
16099 #include <sys/types.h>
16100 /* Check that off_t can represent 2**63 - 1 correctly.
16101 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16102 since some C++ compilers masquerading as C compilers
16103 incorrectly reject 9223372036854775807. */
16104 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
16105 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16106 && LARGE_OFF_T % 2147483647 == 1)
16116 if ac_fn_c_try_compile
"$LINENO"; then :
16117 ac_cv_sys_file_offset_bits
=no
; break
16119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16121 /* end confdefs.h. */
16122 #define _FILE_OFFSET_BITS 64
16123 #include <sys/types.h>
16124 /* Check that off_t can represent 2**63 - 1 correctly.
16125 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16126 since some C++ compilers masquerading as C compilers
16127 incorrectly reject 9223372036854775807. */
16128 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
16129 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16130 && LARGE_OFF_T % 2147483647 == 1)
16140 if ac_fn_c_try_compile
"$LINENO"; then :
16141 ac_cv_sys_file_offset_bits
=64; break
16143 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16144 ac_cv_sys_file_offset_bits
=unknown
16148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16149 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16150 case $ac_cv_sys_file_offset_bits in #(
16153 cat >>confdefs.h
<<_ACEOF
16154 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16159 if test $ac_cv_sys_file_offset_bits = unknown
; then
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16161 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16162 if ${ac_cv_sys_large_files+:} false
; then :
16163 $as_echo_n "(cached) " >&6
16166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16167 /* end confdefs.h. */
16168 #include <sys/types.h>
16169 /* Check that off_t can represent 2**63 - 1 correctly.
16170 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16171 since some C++ compilers masquerading as C compilers
16172 incorrectly reject 9223372036854775807. */
16173 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
16174 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16175 && LARGE_OFF_T % 2147483647 == 1)
16185 if ac_fn_c_try_compile
"$LINENO"; then :
16186 ac_cv_sys_large_files
=no
; break
16188 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16190 /* end confdefs.h. */
16191 #define _LARGE_FILES 1
16192 #include <sys/types.h>
16193 /* Check that off_t can represent 2**63 - 1 correctly.
16194 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16195 since some C++ compilers masquerading as C compilers
16196 incorrectly reject 9223372036854775807. */
16197 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
16198 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16199 && LARGE_OFF_T % 2147483647 == 1)
16209 if ac_fn_c_try_compile
"$LINENO"; then :
16210 ac_cv_sys_large_files
=1; break
16212 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16213 ac_cv_sys_large_files
=unknown
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16218 $as_echo "$ac_cv_sys_large_files" >&6; }
16219 case $ac_cv_sys_large_files in #(
16222 cat >>confdefs.h
<<_ACEOF
16223 #define _LARGE_FILES $ac_cv_sys_large_files
16235 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16236 if test "x$ac_cv_type_off_t" = xyes
; then :
16240 cat >>confdefs.h
<<_ACEOF
16241 #define off_t long int
16247 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
16248 if test "x$ac_cv_type_intptr_t" = xyes
; then :
16250 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
16253 for ac_type
in 'int' 'long int' 'long long int'; do
16254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16255 /* end confdefs.h. */
16256 $ac_includes_default
16260 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16261 test_array [0] = 0;
16262 return test_array [0];
16268 if ac_fn_c_try_compile
"$LINENO"; then :
16270 cat >>confdefs.h
<<_ACEOF
16271 #define intptr_t $ac_type
16276 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16277 test -z "$ac_type" && break
16283 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16284 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16286 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
16289 for ac_type
in 'unsigned int' 'unsigned long int' \
16290 'unsigned long long int'; do
16291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16292 /* end confdefs.h. */
16293 $ac_includes_default
16297 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16298 test_array [0] = 0;
16299 return test_array [0];
16305 if ac_fn_c_try_compile
"$LINENO"; then :
16307 cat >>confdefs.h
<<_ACEOF
16308 #define uintptr_t $ac_type
16313 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16314 test -z "$ac_type" && break
16319 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16320 if test "x$ac_cv_type_ptrdiff_t" = xyes
; then :
16322 cat >>confdefs.h
<<_ACEOF
16323 #define HAVE_PTRDIFF_T 1
16330 # check header files (we assume C89 is available, so don't check for that)
16334 for ac_header
in $ac_header_list
16336 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16337 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16339 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16340 cat >>confdefs.h
<<_ACEOF
16341 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16386 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16388 acx_cv_header_stdint
=stddef.h
16389 acx_cv_header_stdint_kind
="(already complete)"
16390 for i
in stdint.h
$inttype_headers; do
16391 unset ac_cv_type_uintptr_t
16392 unset ac_cv_type_uintmax_t
16393 unset ac_cv_type_int_least32_t
16394 unset ac_cv_type_int_fast32_t
16395 unset ac_cv_type_uint64_t
16396 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16397 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16400 if test "x$ac_cv_type_uintmax_t" = xyes
; then :
16401 acx_cv_header_stdint
=$i
16406 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16409 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16412 acx_cv_header_stdint_kind
="(mostly complete)"
16415 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16418 if test "x$ac_cv_type_int_least32_t" = xyes
; then :
16421 acx_cv_header_stdint_kind
="(mostly complete)"
16424 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16427 if test "x$ac_cv_type_int_fast32_t" = xyes
; then :
16430 acx_cv_header_stdint_kind
="(mostly complete)"
16433 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16436 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16439 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16444 if test "$acx_cv_header_stdint" = stddef.h
; then
16445 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16446 for i
in stdint.h
$inttype_headers; do
16447 unset ac_cv_type_uintptr_t
16448 unset ac_cv_type_uint32_t
16449 unset ac_cv_type_uint64_t
16450 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16451 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16454 if test "x$ac_cv_type_uint32_t" = xyes
; then :
16455 acx_cv_header_stdint
=$i
16460 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16463 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16467 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16470 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16477 if test "$acx_cv_header_stdint" = stddef.h
; then
16478 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16479 for i
in sys
/types.h
$inttype_headers; do
16480 unset ac_cv_type_u_int32_t
16481 unset ac_cv_type_u_int64_t
16482 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16483 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16486 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
16487 acx_cv_header_stdint
=$i
16492 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16495 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
16502 if test "$acx_cv_header_stdint" = stddef.h
; then
16503 acx_cv_header_stdint_kind
="(using manual detection)"
16506 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16507 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16508 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16509 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16510 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16512 # ----------------- Summarize what we found so far
16514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16515 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16517 case `$as_basename -- gstdint.h ||
16518 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16519 Xgstdint.h : 'X\(//\)$' \| \
16520 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16521 $as_echo X/gstdint.h |
16522 sed '/^.*\/\([^/][^/]*\)\/*$/{
16535 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16536 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16537 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16538 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16543 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16545 # ----------------- done included file, check C basic types --------
16547 # Lacking an uintptr_t? Test size of void *
16548 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16549 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16550 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16551 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16552 # This bug is HP SR number 8606223364.
16553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16554 $as_echo_n "checking size of void *... " >&6; }
16555 if ${ac_cv_sizeof_void_p+:} false
; then :
16556 $as_echo_n "(cached) " >&6
16558 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16561 if test "$ac_cv_type_void_p" = yes; then
16562 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16564 as_fn_error
77 "cannot compute sizeof (void *)
16565 See \`config.log' for more details" "$LINENO" 5; }
16567 ac_cv_sizeof_void_p
=0
16572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16573 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16577 cat >>confdefs.h
<<_ACEOF
16578 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16584 # Lacking an uint64_t? Test size of long
16585 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16586 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16587 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16588 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16589 # This bug is HP SR number 8606223364.
16590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16591 $as_echo_n "checking size of long... " >&6; }
16592 if ${ac_cv_sizeof_long+:} false
; then :
16593 $as_echo_n "(cached) " >&6
16595 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16598 if test "$ac_cv_type_long" = yes; then
16599 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16601 as_fn_error
77 "cannot compute sizeof (long)
16602 See \`config.log' for more details" "$LINENO" 5; }
16604 ac_cv_sizeof_long
=0
16609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16610 $as_echo "$ac_cv_sizeof_long" >&6; }
16614 cat >>confdefs.h
<<_ACEOF
16615 #define SIZEOF_LONG $ac_cv_sizeof_long
16621 if test $acx_cv_header_stdint = stddef.h
; then
16622 # Lacking a good header? Test size of everything and deduce all types.
16623 # The cast to long int works around a bug in the HP C Compiler
16624 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16625 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16626 # This bug is HP SR number 8606223364.
16627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16628 $as_echo_n "checking size of int... " >&6; }
16629 if ${ac_cv_sizeof_int+:} false
; then :
16630 $as_echo_n "(cached) " >&6
16632 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16635 if test "$ac_cv_type_int" = yes; then
16636 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16637 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16638 as_fn_error
77 "cannot compute sizeof (int)
16639 See \`config.log' for more details" "$LINENO" 5; }
16646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16647 $as_echo "$ac_cv_sizeof_int" >&6; }
16651 cat >>confdefs.h
<<_ACEOF
16652 #define SIZEOF_INT $ac_cv_sizeof_int
16656 # The cast to long int works around a bug in the HP C Compiler
16657 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16658 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16659 # This bug is HP SR number 8606223364.
16660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16661 $as_echo_n "checking size of short... " >&6; }
16662 if ${ac_cv_sizeof_short+:} false
; then :
16663 $as_echo_n "(cached) " >&6
16665 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16668 if test "$ac_cv_type_short" = yes; then
16669 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16670 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16671 as_fn_error
77 "cannot compute sizeof (short)
16672 See \`config.log' for more details" "$LINENO" 5; }
16674 ac_cv_sizeof_short
=0
16679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16680 $as_echo "$ac_cv_sizeof_short" >&6; }
16684 cat >>confdefs.h
<<_ACEOF
16685 #define SIZEOF_SHORT $ac_cv_sizeof_short
16689 # The cast to long int works around a bug in the HP C Compiler
16690 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16691 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16692 # This bug is HP SR number 8606223364.
16693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16694 $as_echo_n "checking size of char... " >&6; }
16695 if ${ac_cv_sizeof_char+:} false
; then :
16696 $as_echo_n "(cached) " >&6
16698 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16701 if test "$ac_cv_type_char" = yes; then
16702 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16703 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16704 as_fn_error
77 "cannot compute sizeof (char)
16705 See \`config.log' for more details" "$LINENO" 5; }
16707 ac_cv_sizeof_char
=0
16712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16713 $as_echo "$ac_cv_sizeof_char" >&6; }
16717 cat >>confdefs.h
<<_ACEOF
16718 #define SIZEOF_CHAR $ac_cv_sizeof_char
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16724 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16725 case "$ac_cv_sizeof_char" in
16726 1) acx_cv_type_int8_t
=char
;;
16727 *) as_fn_error $?
"no 8-bit type, please report a bug" "$LINENO" 5
16729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16730 $as_echo "$acx_cv_type_int8_t" >&6; }
16732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16733 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16734 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16735 2:*) acx_cv_type_int16_t
=int
;;
16736 *:2) acx_cv_type_int16_t
=short
;;
16737 *) as_fn_error $?
"no 16-bit type, please report a bug" "$LINENO" 5
16739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16740 $as_echo "$acx_cv_type_int16_t" >&6; }
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16743 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16744 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16745 4:*) acx_cv_type_int32_t
=int
;;
16746 *:4) acx_cv_type_int32_t
=long
;;
16747 *) as_fn_error $?
"no 32-bit type, please report a bug" "$LINENO" 5
16749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16750 $as_echo "$acx_cv_type_int32_t" >&6; }
16753 # These tests are here to make the output prettier
16755 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16756 case "$ac_cv_sizeof_long" in
16757 8) acx_cv_type_int64_t
=long
;;
16759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16760 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16762 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16765 # Now we can use the above types
16767 if test "$ac_cv_type_uintptr_t" != yes; then
16768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16769 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16770 case $ac_cv_sizeof_void_p in
16771 2) acx_cv_type_intptr_t
=int16_t
;;
16772 4) acx_cv_type_intptr_t
=int32_t
;;
16773 8) acx_cv_type_intptr_t
=int64_t
;;
16774 *) as_fn_error $?
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16777 $as_echo "$acx_cv_type_intptr_t" >&6; }
16780 # ----------------- done all checks, emit header -------------
16781 ac_config_commands
="$ac_config_commands gstdint.h"
16786 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16787 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
16789 cat >>confdefs.h
<<_ACEOF
16790 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16795 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16796 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
16798 cat >>confdefs.h
<<_ACEOF
16799 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16804 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16805 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
16807 cat >>confdefs.h
<<_ACEOF
16808 #define HAVE_STRUCT_STAT_ST_RDEV 1
16815 case "${host}--x${with_newlib}" in
16817 hardwire_newlib
=1;;
16819 hardwire_newlib
=1;;
16822 # Check for library functions.
16823 if test "${hardwire_newlib:-0}" -eq 1; then
16824 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
16825 # may not work correctly, because the compiler may not be able to
16826 # link executables.
16828 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
16831 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
16834 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
16837 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
16840 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
16843 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
16846 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
16849 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
16852 # At some point, we should differentiate between architectures
16853 # like x86, which have long double versions, and alpha/powerpc/etc.,
16854 # which don't. For the time being, punt.
16855 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
16857 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
16864 for ac_func
in $ac_func_list
16866 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16867 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16868 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
16869 cat >>confdefs.h
<<_ACEOF
16870 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16987 # Check strerror_r, cannot be above as versions with two and three arguments exist
16989 ac_save_CFLAGS
="$CFLAGS"
16990 CFLAGS
="-Wimplicit-function-declaration -Werror"
16991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16992 /* end confdefs.h. */
16993 #define _GNU_SOURCE 1
16994 #include <string.h>
16995 #include <locale.h>
16999 char s[128]; strerror_r(5, s, 128);
17004 if ac_fn_c_try_compile
"$LINENO"; then :
17006 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
17009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17010 CFLAGS
="$ac_save_CFLAGS"
17012 ac_save_CFLAGS
="$CFLAGS"
17013 CFLAGS
="-Wimplicit-function-declaration -Werror"
17014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17015 /* end confdefs.h. */
17016 #define _GNU_SOURCE 1
17017 #include <string.h>
17018 #include <locale.h>
17022 char s[128]; strerror_r(5, s);
17027 if ac_fn_c_try_compile
"$LINENO"; then :
17029 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
17032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17033 CFLAGS
="$ac_save_CFLAGS"
17036 # Check for C99 (and other IEEE) math functions
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17038 $as_echo_n "checking for sin in -lm... " >&6; }
17039 if ${ac_cv_lib_m_sin+:} false
; then :
17040 $as_echo_n "(cached) " >&6
17042 ac_check_lib_save_LIBS
=$LIBS
17044 if test x
$gcc_no_link = xyes
; then
17045 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17048 /* end confdefs.h. */
17050 /* Override any GCC internal prototype to avoid an error.
17051 Use char because int might match the return type of a GCC
17052 builtin and then its argument prototype would still apply. */
17065 if ac_fn_c_try_link
"$LINENO"; then :
17066 ac_cv_lib_m_sin
=yes
17070 rm -f core conftest.err conftest.
$ac_objext \
17071 conftest
$ac_exeext conftest.
$ac_ext
17072 LIBS
=$ac_check_lib_save_LIBS
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17075 $as_echo "$ac_cv_lib_m_sin" >&6; }
17076 if test "x$ac_cv_lib_m_sin" = xyes
; then :
17077 cat >>confdefs.h
<<_ACEOF
17078 #define HAVE_LIBM 1
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
17092 $as_echo_n "checking for acosf... " >&6; }
17093 if ${gcc_cv_math_func_acosf+:} false
; then :
17094 $as_echo_n "(cached) " >&6
17096 if test x
$gcc_no_link = xyes
; then
17097 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17100 /* end confdefs.h. */
17102 #ifdef HAVE_COMPLEX_H
17103 #include <complex.h>
17109 int (*ptr)() = (int (*)())acosf;
17118 if ac_fn_c_try_link
"$LINENO"; then :
17119 gcc_cv_math_func_acosf
=yes
17121 gcc_cv_math_func_acosf
=no
17123 rm -f core conftest.err conftest.
$ac_objext \
17124 conftest
$ac_exeext conftest.
$ac_ext
17126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
17127 $as_echo "$gcc_cv_math_func_acosf" >&6; }
17128 if test $gcc_cv_math_func_acosf = yes; then
17130 cat >>confdefs.h
<<_ACEOF
17131 #define HAVE_ACOSF 1
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
17140 $as_echo_n "checking for acos... " >&6; }
17141 if ${gcc_cv_math_func_acos+:} false
; then :
17142 $as_echo_n "(cached) " >&6
17144 if test x
$gcc_no_link = xyes
; then
17145 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17148 /* end confdefs.h. */
17150 #ifdef HAVE_COMPLEX_H
17151 #include <complex.h>
17157 int (*ptr)() = (int (*)())acos;
17166 if ac_fn_c_try_link
"$LINENO"; then :
17167 gcc_cv_math_func_acos
=yes
17169 gcc_cv_math_func_acos
=no
17171 rm -f core conftest.err conftest.
$ac_objext \
17172 conftest
$ac_exeext conftest.
$ac_ext
17174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
17175 $as_echo "$gcc_cv_math_func_acos" >&6; }
17176 if test $gcc_cv_math_func_acos = yes; then
17178 cat >>confdefs.h
<<_ACEOF
17179 #define HAVE_ACOS 1
17187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
17188 $as_echo_n "checking for acosl... " >&6; }
17189 if ${gcc_cv_math_func_acosl+:} false
; then :
17190 $as_echo_n "(cached) " >&6
17192 if test x
$gcc_no_link = xyes
; then
17193 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17196 /* end confdefs.h. */
17198 #ifdef HAVE_COMPLEX_H
17199 #include <complex.h>
17205 int (*ptr)() = (int (*)())acosl;
17214 if ac_fn_c_try_link
"$LINENO"; then :
17215 gcc_cv_math_func_acosl
=yes
17217 gcc_cv_math_func_acosl
=no
17219 rm -f core conftest.err conftest.
$ac_objext \
17220 conftest
$ac_exeext conftest.
$ac_ext
17222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
17223 $as_echo "$gcc_cv_math_func_acosl" >&6; }
17224 if test $gcc_cv_math_func_acosl = yes; then
17226 cat >>confdefs.h
<<_ACEOF
17227 #define HAVE_ACOSL 1
17235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
17236 $as_echo_n "checking for acoshf... " >&6; }
17237 if ${gcc_cv_math_func_acoshf+:} false
; then :
17238 $as_echo_n "(cached) " >&6
17240 if test x
$gcc_no_link = xyes
; then
17241 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17244 /* end confdefs.h. */
17246 #ifdef HAVE_COMPLEX_H
17247 #include <complex.h>
17253 int (*ptr)() = (int (*)())acoshf;
17262 if ac_fn_c_try_link
"$LINENO"; then :
17263 gcc_cv_math_func_acoshf
=yes
17265 gcc_cv_math_func_acoshf
=no
17267 rm -f core conftest.err conftest.
$ac_objext \
17268 conftest
$ac_exeext conftest.
$ac_ext
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
17271 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
17272 if test $gcc_cv_math_func_acoshf = yes; then
17274 cat >>confdefs.h
<<_ACEOF
17275 #define HAVE_ACOSHF 1
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
17284 $as_echo_n "checking for acosh... " >&6; }
17285 if ${gcc_cv_math_func_acosh+:} false
; then :
17286 $as_echo_n "(cached) " >&6
17288 if test x
$gcc_no_link = xyes
; then
17289 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17292 /* end confdefs.h. */
17294 #ifdef HAVE_COMPLEX_H
17295 #include <complex.h>
17301 int (*ptr)() = (int (*)())acosh;
17310 if ac_fn_c_try_link
"$LINENO"; then :
17311 gcc_cv_math_func_acosh
=yes
17313 gcc_cv_math_func_acosh
=no
17315 rm -f core conftest.err conftest.
$ac_objext \
17316 conftest
$ac_exeext conftest.
$ac_ext
17318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
17319 $as_echo "$gcc_cv_math_func_acosh" >&6; }
17320 if test $gcc_cv_math_func_acosh = yes; then
17322 cat >>confdefs.h
<<_ACEOF
17323 #define HAVE_ACOSH 1
17331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
17332 $as_echo_n "checking for acoshl... " >&6; }
17333 if ${gcc_cv_math_func_acoshl+:} false
; then :
17334 $as_echo_n "(cached) " >&6
17336 if test x
$gcc_no_link = xyes
; then
17337 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17340 /* end confdefs.h. */
17342 #ifdef HAVE_COMPLEX_H
17343 #include <complex.h>
17349 int (*ptr)() = (int (*)())acoshl;
17358 if ac_fn_c_try_link
"$LINENO"; then :
17359 gcc_cv_math_func_acoshl
=yes
17361 gcc_cv_math_func_acoshl
=no
17363 rm -f core conftest.err conftest.
$ac_objext \
17364 conftest
$ac_exeext conftest.
$ac_ext
17366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17367 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17368 if test $gcc_cv_math_func_acoshl = yes; then
17370 cat >>confdefs.h
<<_ACEOF
17371 #define HAVE_ACOSHL 1
17379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17380 $as_echo_n "checking for asinf... " >&6; }
17381 if ${gcc_cv_math_func_asinf+:} false
; then :
17382 $as_echo_n "(cached) " >&6
17384 if test x
$gcc_no_link = xyes
; then
17385 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17388 /* end confdefs.h. */
17390 #ifdef HAVE_COMPLEX_H
17391 #include <complex.h>
17397 int (*ptr)() = (int (*)())asinf;
17406 if ac_fn_c_try_link
"$LINENO"; then :
17407 gcc_cv_math_func_asinf
=yes
17409 gcc_cv_math_func_asinf
=no
17411 rm -f core conftest.err conftest.
$ac_objext \
17412 conftest
$ac_exeext conftest.
$ac_ext
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17415 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17416 if test $gcc_cv_math_func_asinf = yes; then
17418 cat >>confdefs.h
<<_ACEOF
17419 #define HAVE_ASINF 1
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17428 $as_echo_n "checking for asin... " >&6; }
17429 if ${gcc_cv_math_func_asin+:} false
; then :
17430 $as_echo_n "(cached) " >&6
17432 if test x
$gcc_no_link = xyes
; then
17433 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17436 /* end confdefs.h. */
17438 #ifdef HAVE_COMPLEX_H
17439 #include <complex.h>
17445 int (*ptr)() = (int (*)())asin;
17454 if ac_fn_c_try_link
"$LINENO"; then :
17455 gcc_cv_math_func_asin
=yes
17457 gcc_cv_math_func_asin
=no
17459 rm -f core conftest.err conftest.
$ac_objext \
17460 conftest
$ac_exeext conftest.
$ac_ext
17462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17463 $as_echo "$gcc_cv_math_func_asin" >&6; }
17464 if test $gcc_cv_math_func_asin = yes; then
17466 cat >>confdefs.h
<<_ACEOF
17467 #define HAVE_ASIN 1
17475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17476 $as_echo_n "checking for asinl... " >&6; }
17477 if ${gcc_cv_math_func_asinl+:} false
; then :
17478 $as_echo_n "(cached) " >&6
17480 if test x
$gcc_no_link = xyes
; then
17481 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17484 /* end confdefs.h. */
17486 #ifdef HAVE_COMPLEX_H
17487 #include <complex.h>
17493 int (*ptr)() = (int (*)())asinl;
17502 if ac_fn_c_try_link
"$LINENO"; then :
17503 gcc_cv_math_func_asinl
=yes
17505 gcc_cv_math_func_asinl
=no
17507 rm -f core conftest.err conftest.
$ac_objext \
17508 conftest
$ac_exeext conftest.
$ac_ext
17510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17511 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17512 if test $gcc_cv_math_func_asinl = yes; then
17514 cat >>confdefs.h
<<_ACEOF
17515 #define HAVE_ASINL 1
17523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17524 $as_echo_n "checking for asinhf... " >&6; }
17525 if ${gcc_cv_math_func_asinhf+:} false
; then :
17526 $as_echo_n "(cached) " >&6
17528 if test x
$gcc_no_link = xyes
; then
17529 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17532 /* end confdefs.h. */
17534 #ifdef HAVE_COMPLEX_H
17535 #include <complex.h>
17541 int (*ptr)() = (int (*)())asinhf;
17550 if ac_fn_c_try_link
"$LINENO"; then :
17551 gcc_cv_math_func_asinhf
=yes
17553 gcc_cv_math_func_asinhf
=no
17555 rm -f core conftest.err conftest.
$ac_objext \
17556 conftest
$ac_exeext conftest.
$ac_ext
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17559 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17560 if test $gcc_cv_math_func_asinhf = yes; then
17562 cat >>confdefs.h
<<_ACEOF
17563 #define HAVE_ASINHF 1
17571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17572 $as_echo_n "checking for asinh... " >&6; }
17573 if ${gcc_cv_math_func_asinh+:} false
; then :
17574 $as_echo_n "(cached) " >&6
17576 if test x
$gcc_no_link = xyes
; then
17577 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17580 /* end confdefs.h. */
17582 #ifdef HAVE_COMPLEX_H
17583 #include <complex.h>
17589 int (*ptr)() = (int (*)())asinh;
17598 if ac_fn_c_try_link
"$LINENO"; then :
17599 gcc_cv_math_func_asinh
=yes
17601 gcc_cv_math_func_asinh
=no
17603 rm -f core conftest.err conftest.
$ac_objext \
17604 conftest
$ac_exeext conftest.
$ac_ext
17606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17607 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17608 if test $gcc_cv_math_func_asinh = yes; then
17610 cat >>confdefs.h
<<_ACEOF
17611 #define HAVE_ASINH 1
17619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17620 $as_echo_n "checking for asinhl... " >&6; }
17621 if ${gcc_cv_math_func_asinhl+:} false
; then :
17622 $as_echo_n "(cached) " >&6
17624 if test x
$gcc_no_link = xyes
; then
17625 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17628 /* end confdefs.h. */
17630 #ifdef HAVE_COMPLEX_H
17631 #include <complex.h>
17637 int (*ptr)() = (int (*)())asinhl;
17646 if ac_fn_c_try_link
"$LINENO"; then :
17647 gcc_cv_math_func_asinhl
=yes
17649 gcc_cv_math_func_asinhl
=no
17651 rm -f core conftest.err conftest.
$ac_objext \
17652 conftest
$ac_exeext conftest.
$ac_ext
17654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17655 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17656 if test $gcc_cv_math_func_asinhl = yes; then
17658 cat >>confdefs.h
<<_ACEOF
17659 #define HAVE_ASINHL 1
17667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17668 $as_echo_n "checking for atan2f... " >&6; }
17669 if ${gcc_cv_math_func_atan2f+:} false
; then :
17670 $as_echo_n "(cached) " >&6
17672 if test x
$gcc_no_link = xyes
; then
17673 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17676 /* end confdefs.h. */
17678 #ifdef HAVE_COMPLEX_H
17679 #include <complex.h>
17685 int (*ptr)() = (int (*)())atan2f;
17694 if ac_fn_c_try_link
"$LINENO"; then :
17695 gcc_cv_math_func_atan2f
=yes
17697 gcc_cv_math_func_atan2f
=no
17699 rm -f core conftest.err conftest.
$ac_objext \
17700 conftest
$ac_exeext conftest.
$ac_ext
17702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17703 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17704 if test $gcc_cv_math_func_atan2f = yes; then
17706 cat >>confdefs.h
<<_ACEOF
17707 #define HAVE_ATAN2F 1
17715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17716 $as_echo_n "checking for atan2... " >&6; }
17717 if ${gcc_cv_math_func_atan2+:} false
; then :
17718 $as_echo_n "(cached) " >&6
17720 if test x
$gcc_no_link = xyes
; then
17721 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17724 /* end confdefs.h. */
17726 #ifdef HAVE_COMPLEX_H
17727 #include <complex.h>
17733 int (*ptr)() = (int (*)())atan2;
17742 if ac_fn_c_try_link
"$LINENO"; then :
17743 gcc_cv_math_func_atan2
=yes
17745 gcc_cv_math_func_atan2
=no
17747 rm -f core conftest.err conftest.
$ac_objext \
17748 conftest
$ac_exeext conftest.
$ac_ext
17750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17751 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17752 if test $gcc_cv_math_func_atan2 = yes; then
17754 cat >>confdefs.h
<<_ACEOF
17755 #define HAVE_ATAN2 1
17763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17764 $as_echo_n "checking for atan2l... " >&6; }
17765 if ${gcc_cv_math_func_atan2l+:} false
; then :
17766 $as_echo_n "(cached) " >&6
17768 if test x
$gcc_no_link = xyes
; then
17769 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17772 /* end confdefs.h. */
17774 #ifdef HAVE_COMPLEX_H
17775 #include <complex.h>
17781 int (*ptr)() = (int (*)())atan2l;
17790 if ac_fn_c_try_link
"$LINENO"; then :
17791 gcc_cv_math_func_atan2l
=yes
17793 gcc_cv_math_func_atan2l
=no
17795 rm -f core conftest.err conftest.
$ac_objext \
17796 conftest
$ac_exeext conftest.
$ac_ext
17798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17799 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17800 if test $gcc_cv_math_func_atan2l = yes; then
17802 cat >>confdefs.h
<<_ACEOF
17803 #define HAVE_ATAN2L 1
17811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17812 $as_echo_n "checking for atanf... " >&6; }
17813 if ${gcc_cv_math_func_atanf+:} false
; then :
17814 $as_echo_n "(cached) " >&6
17816 if test x
$gcc_no_link = xyes
; then
17817 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17820 /* end confdefs.h. */
17822 #ifdef HAVE_COMPLEX_H
17823 #include <complex.h>
17829 int (*ptr)() = (int (*)())atanf;
17838 if ac_fn_c_try_link
"$LINENO"; then :
17839 gcc_cv_math_func_atanf
=yes
17841 gcc_cv_math_func_atanf
=no
17843 rm -f core conftest.err conftest.
$ac_objext \
17844 conftest
$ac_exeext conftest.
$ac_ext
17846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17847 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17848 if test $gcc_cv_math_func_atanf = yes; then
17850 cat >>confdefs.h
<<_ACEOF
17851 #define HAVE_ATANF 1
17859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17860 $as_echo_n "checking for atan... " >&6; }
17861 if ${gcc_cv_math_func_atan+:} false
; then :
17862 $as_echo_n "(cached) " >&6
17864 if test x
$gcc_no_link = xyes
; then
17865 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17868 /* end confdefs.h. */
17870 #ifdef HAVE_COMPLEX_H
17871 #include <complex.h>
17877 int (*ptr)() = (int (*)())atan;
17886 if ac_fn_c_try_link
"$LINENO"; then :
17887 gcc_cv_math_func_atan
=yes
17889 gcc_cv_math_func_atan
=no
17891 rm -f core conftest.err conftest.
$ac_objext \
17892 conftest
$ac_exeext conftest.
$ac_ext
17894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17895 $as_echo "$gcc_cv_math_func_atan" >&6; }
17896 if test $gcc_cv_math_func_atan = yes; then
17898 cat >>confdefs.h
<<_ACEOF
17899 #define HAVE_ATAN 1
17907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17908 $as_echo_n "checking for atanl... " >&6; }
17909 if ${gcc_cv_math_func_atanl+:} false
; then :
17910 $as_echo_n "(cached) " >&6
17912 if test x
$gcc_no_link = xyes
; then
17913 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17916 /* end confdefs.h. */
17918 #ifdef HAVE_COMPLEX_H
17919 #include <complex.h>
17925 int (*ptr)() = (int (*)())atanl;
17934 if ac_fn_c_try_link
"$LINENO"; then :
17935 gcc_cv_math_func_atanl
=yes
17937 gcc_cv_math_func_atanl
=no
17939 rm -f core conftest.err conftest.
$ac_objext \
17940 conftest
$ac_exeext conftest.
$ac_ext
17942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17943 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17944 if test $gcc_cv_math_func_atanl = yes; then
17946 cat >>confdefs.h
<<_ACEOF
17947 #define HAVE_ATANL 1
17955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17956 $as_echo_n "checking for atanhf... " >&6; }
17957 if ${gcc_cv_math_func_atanhf+:} false
; then :
17958 $as_echo_n "(cached) " >&6
17960 if test x
$gcc_no_link = xyes
; then
17961 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17964 /* end confdefs.h. */
17966 #ifdef HAVE_COMPLEX_H
17967 #include <complex.h>
17973 int (*ptr)() = (int (*)())atanhf;
17982 if ac_fn_c_try_link
"$LINENO"; then :
17983 gcc_cv_math_func_atanhf
=yes
17985 gcc_cv_math_func_atanhf
=no
17987 rm -f core conftest.err conftest.
$ac_objext \
17988 conftest
$ac_exeext conftest.
$ac_ext
17990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17991 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
17992 if test $gcc_cv_math_func_atanhf = yes; then
17994 cat >>confdefs.h
<<_ACEOF
17995 #define HAVE_ATANHF 1
18003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
18004 $as_echo_n "checking for atanh... " >&6; }
18005 if ${gcc_cv_math_func_atanh+:} false
; then :
18006 $as_echo_n "(cached) " >&6
18008 if test x
$gcc_no_link = xyes
; then
18009 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18012 /* end confdefs.h. */
18014 #ifdef HAVE_COMPLEX_H
18015 #include <complex.h>
18021 int (*ptr)() = (int (*)())atanh;
18030 if ac_fn_c_try_link
"$LINENO"; then :
18031 gcc_cv_math_func_atanh
=yes
18033 gcc_cv_math_func_atanh
=no
18035 rm -f core conftest.err conftest.
$ac_objext \
18036 conftest
$ac_exeext conftest.
$ac_ext
18038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
18039 $as_echo "$gcc_cv_math_func_atanh" >&6; }
18040 if test $gcc_cv_math_func_atanh = yes; then
18042 cat >>confdefs.h
<<_ACEOF
18043 #define HAVE_ATANH 1
18051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
18052 $as_echo_n "checking for atanhl... " >&6; }
18053 if ${gcc_cv_math_func_atanhl+:} false
; then :
18054 $as_echo_n "(cached) " >&6
18056 if test x
$gcc_no_link = xyes
; then
18057 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18060 /* end confdefs.h. */
18062 #ifdef HAVE_COMPLEX_H
18063 #include <complex.h>
18069 int (*ptr)() = (int (*)())atanhl;
18078 if ac_fn_c_try_link
"$LINENO"; then :
18079 gcc_cv_math_func_atanhl
=yes
18081 gcc_cv_math_func_atanhl
=no
18083 rm -f core conftest.err conftest.
$ac_objext \
18084 conftest
$ac_exeext conftest.
$ac_ext
18086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
18087 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
18088 if test $gcc_cv_math_func_atanhl = yes; then
18090 cat >>confdefs.h
<<_ACEOF
18091 #define HAVE_ATANHL 1
18099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
18100 $as_echo_n "checking for cargf... " >&6; }
18101 if ${gcc_cv_math_func_cargf+:} false
; then :
18102 $as_echo_n "(cached) " >&6
18104 if test x
$gcc_no_link = xyes
; then
18105 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18108 /* end confdefs.h. */
18110 #ifdef HAVE_COMPLEX_H
18111 #include <complex.h>
18117 int (*ptr)() = (int (*)())cargf;
18126 if ac_fn_c_try_link
"$LINENO"; then :
18127 gcc_cv_math_func_cargf
=yes
18129 gcc_cv_math_func_cargf
=no
18131 rm -f core conftest.err conftest.
$ac_objext \
18132 conftest
$ac_exeext conftest.
$ac_ext
18134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
18135 $as_echo "$gcc_cv_math_func_cargf" >&6; }
18136 if test $gcc_cv_math_func_cargf = yes; then
18138 cat >>confdefs.h
<<_ACEOF
18139 #define HAVE_CARGF 1
18147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
18148 $as_echo_n "checking for carg... " >&6; }
18149 if ${gcc_cv_math_func_carg+:} false
; then :
18150 $as_echo_n "(cached) " >&6
18152 if test x
$gcc_no_link = xyes
; then
18153 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18156 /* end confdefs.h. */
18158 #ifdef HAVE_COMPLEX_H
18159 #include <complex.h>
18165 int (*ptr)() = (int (*)())carg;
18174 if ac_fn_c_try_link
"$LINENO"; then :
18175 gcc_cv_math_func_carg
=yes
18177 gcc_cv_math_func_carg
=no
18179 rm -f core conftest.err conftest.
$ac_objext \
18180 conftest
$ac_exeext conftest.
$ac_ext
18182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
18183 $as_echo "$gcc_cv_math_func_carg" >&6; }
18184 if test $gcc_cv_math_func_carg = yes; then
18186 cat >>confdefs.h
<<_ACEOF
18187 #define HAVE_CARG 1
18195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
18196 $as_echo_n "checking for cargl... " >&6; }
18197 if ${gcc_cv_math_func_cargl+:} false
; then :
18198 $as_echo_n "(cached) " >&6
18200 if test x
$gcc_no_link = xyes
; then
18201 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18204 /* end confdefs.h. */
18206 #ifdef HAVE_COMPLEX_H
18207 #include <complex.h>
18213 int (*ptr)() = (int (*)())cargl;
18222 if ac_fn_c_try_link
"$LINENO"; then :
18223 gcc_cv_math_func_cargl
=yes
18225 gcc_cv_math_func_cargl
=no
18227 rm -f core conftest.err conftest.
$ac_objext \
18228 conftest
$ac_exeext conftest.
$ac_ext
18230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
18231 $as_echo "$gcc_cv_math_func_cargl" >&6; }
18232 if test $gcc_cv_math_func_cargl = yes; then
18234 cat >>confdefs.h
<<_ACEOF
18235 #define HAVE_CARGL 1
18243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
18244 $as_echo_n "checking for ceilf... " >&6; }
18245 if ${gcc_cv_math_func_ceilf+:} false
; then :
18246 $as_echo_n "(cached) " >&6
18248 if test x
$gcc_no_link = xyes
; then
18249 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18252 /* end confdefs.h. */
18254 #ifdef HAVE_COMPLEX_H
18255 #include <complex.h>
18261 int (*ptr)() = (int (*)())ceilf;
18270 if ac_fn_c_try_link
"$LINENO"; then :
18271 gcc_cv_math_func_ceilf
=yes
18273 gcc_cv_math_func_ceilf
=no
18275 rm -f core conftest.err conftest.
$ac_objext \
18276 conftest
$ac_exeext conftest.
$ac_ext
18278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
18279 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
18280 if test $gcc_cv_math_func_ceilf = yes; then
18282 cat >>confdefs.h
<<_ACEOF
18283 #define HAVE_CEILF 1
18291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
18292 $as_echo_n "checking for ceil... " >&6; }
18293 if ${gcc_cv_math_func_ceil+:} false
; then :
18294 $as_echo_n "(cached) " >&6
18296 if test x
$gcc_no_link = xyes
; then
18297 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18300 /* end confdefs.h. */
18302 #ifdef HAVE_COMPLEX_H
18303 #include <complex.h>
18309 int (*ptr)() = (int (*)())ceil;
18318 if ac_fn_c_try_link
"$LINENO"; then :
18319 gcc_cv_math_func_ceil
=yes
18321 gcc_cv_math_func_ceil
=no
18323 rm -f core conftest.err conftest.
$ac_objext \
18324 conftest
$ac_exeext conftest.
$ac_ext
18326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
18327 $as_echo "$gcc_cv_math_func_ceil" >&6; }
18328 if test $gcc_cv_math_func_ceil = yes; then
18330 cat >>confdefs.h
<<_ACEOF
18331 #define HAVE_CEIL 1
18339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18340 $as_echo_n "checking for ceill... " >&6; }
18341 if ${gcc_cv_math_func_ceill+:} false
; then :
18342 $as_echo_n "(cached) " >&6
18344 if test x
$gcc_no_link = xyes
; then
18345 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18348 /* end confdefs.h. */
18350 #ifdef HAVE_COMPLEX_H
18351 #include <complex.h>
18357 int (*ptr)() = (int (*)())ceill;
18366 if ac_fn_c_try_link
"$LINENO"; then :
18367 gcc_cv_math_func_ceill
=yes
18369 gcc_cv_math_func_ceill
=no
18371 rm -f core conftest.err conftest.
$ac_objext \
18372 conftest
$ac_exeext conftest.
$ac_ext
18374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18375 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18376 if test $gcc_cv_math_func_ceill = yes; then
18378 cat >>confdefs.h
<<_ACEOF
18379 #define HAVE_CEILL 1
18387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18388 $as_echo_n "checking for copysignf... " >&6; }
18389 if ${gcc_cv_math_func_copysignf+:} false
; then :
18390 $as_echo_n "(cached) " >&6
18392 if test x
$gcc_no_link = xyes
; then
18393 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18396 /* end confdefs.h. */
18398 #ifdef HAVE_COMPLEX_H
18399 #include <complex.h>
18405 int (*ptr)() = (int (*)())copysignf;
18414 if ac_fn_c_try_link
"$LINENO"; then :
18415 gcc_cv_math_func_copysignf
=yes
18417 gcc_cv_math_func_copysignf
=no
18419 rm -f core conftest.err conftest.
$ac_objext \
18420 conftest
$ac_exeext conftest.
$ac_ext
18422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18423 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18424 if test $gcc_cv_math_func_copysignf = yes; then
18426 cat >>confdefs.h
<<_ACEOF
18427 #define HAVE_COPYSIGNF 1
18435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18436 $as_echo_n "checking for copysign... " >&6; }
18437 if ${gcc_cv_math_func_copysign+:} false
; then :
18438 $as_echo_n "(cached) " >&6
18440 if test x
$gcc_no_link = xyes
; then
18441 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18444 /* end confdefs.h. */
18446 #ifdef HAVE_COMPLEX_H
18447 #include <complex.h>
18453 int (*ptr)() = (int (*)())copysign;
18462 if ac_fn_c_try_link
"$LINENO"; then :
18463 gcc_cv_math_func_copysign
=yes
18465 gcc_cv_math_func_copysign
=no
18467 rm -f core conftest.err conftest.
$ac_objext \
18468 conftest
$ac_exeext conftest.
$ac_ext
18470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18471 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18472 if test $gcc_cv_math_func_copysign = yes; then
18474 cat >>confdefs.h
<<_ACEOF
18475 #define HAVE_COPYSIGN 1
18483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18484 $as_echo_n "checking for copysignl... " >&6; }
18485 if ${gcc_cv_math_func_copysignl+:} false
; then :
18486 $as_echo_n "(cached) " >&6
18488 if test x
$gcc_no_link = xyes
; then
18489 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18492 /* end confdefs.h. */
18494 #ifdef HAVE_COMPLEX_H
18495 #include <complex.h>
18501 int (*ptr)() = (int (*)())copysignl;
18510 if ac_fn_c_try_link
"$LINENO"; then :
18511 gcc_cv_math_func_copysignl
=yes
18513 gcc_cv_math_func_copysignl
=no
18515 rm -f core conftest.err conftest.
$ac_objext \
18516 conftest
$ac_exeext conftest.
$ac_ext
18518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18519 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18520 if test $gcc_cv_math_func_copysignl = yes; then
18522 cat >>confdefs.h
<<_ACEOF
18523 #define HAVE_COPYSIGNL 1
18531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18532 $as_echo_n "checking for cosf... " >&6; }
18533 if ${gcc_cv_math_func_cosf+:} false
; then :
18534 $as_echo_n "(cached) " >&6
18536 if test x
$gcc_no_link = xyes
; then
18537 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18540 /* end confdefs.h. */
18542 #ifdef HAVE_COMPLEX_H
18543 #include <complex.h>
18549 int (*ptr)() = (int (*)())cosf;
18558 if ac_fn_c_try_link
"$LINENO"; then :
18559 gcc_cv_math_func_cosf
=yes
18561 gcc_cv_math_func_cosf
=no
18563 rm -f core conftest.err conftest.
$ac_objext \
18564 conftest
$ac_exeext conftest.
$ac_ext
18566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18567 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18568 if test $gcc_cv_math_func_cosf = yes; then
18570 cat >>confdefs.h
<<_ACEOF
18571 #define HAVE_COSF 1
18579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18580 $as_echo_n "checking for cos... " >&6; }
18581 if ${gcc_cv_math_func_cos+:} false
; then :
18582 $as_echo_n "(cached) " >&6
18584 if test x
$gcc_no_link = xyes
; then
18585 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18588 /* end confdefs.h. */
18590 #ifdef HAVE_COMPLEX_H
18591 #include <complex.h>
18597 int (*ptr)() = (int (*)())cos;
18606 if ac_fn_c_try_link
"$LINENO"; then :
18607 gcc_cv_math_func_cos
=yes
18609 gcc_cv_math_func_cos
=no
18611 rm -f core conftest.err conftest.
$ac_objext \
18612 conftest
$ac_exeext conftest.
$ac_ext
18614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18615 $as_echo "$gcc_cv_math_func_cos" >&6; }
18616 if test $gcc_cv_math_func_cos = yes; then
18618 cat >>confdefs.h
<<_ACEOF
18627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18628 $as_echo_n "checking for cosl... " >&6; }
18629 if ${gcc_cv_math_func_cosl+:} false
; then :
18630 $as_echo_n "(cached) " >&6
18632 if test x
$gcc_no_link = xyes
; then
18633 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18636 /* end confdefs.h. */
18638 #ifdef HAVE_COMPLEX_H
18639 #include <complex.h>
18645 int (*ptr)() = (int (*)())cosl;
18654 if ac_fn_c_try_link
"$LINENO"; then :
18655 gcc_cv_math_func_cosl
=yes
18657 gcc_cv_math_func_cosl
=no
18659 rm -f core conftest.err conftest.
$ac_objext \
18660 conftest
$ac_exeext conftest.
$ac_ext
18662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18663 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18664 if test $gcc_cv_math_func_cosl = yes; then
18666 cat >>confdefs.h
<<_ACEOF
18667 #define HAVE_COSL 1
18675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18676 $as_echo_n "checking for ccosf... " >&6; }
18677 if ${gcc_cv_math_func_ccosf+:} false
; then :
18678 $as_echo_n "(cached) " >&6
18680 if test x
$gcc_no_link = xyes
; then
18681 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18684 /* end confdefs.h. */
18686 #ifdef HAVE_COMPLEX_H
18687 #include <complex.h>
18693 int (*ptr)() = (int (*)())ccosf;
18702 if ac_fn_c_try_link
"$LINENO"; then :
18703 gcc_cv_math_func_ccosf
=yes
18705 gcc_cv_math_func_ccosf
=no
18707 rm -f core conftest.err conftest.
$ac_objext \
18708 conftest
$ac_exeext conftest.
$ac_ext
18710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18711 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18712 if test $gcc_cv_math_func_ccosf = yes; then
18714 cat >>confdefs.h
<<_ACEOF
18715 #define HAVE_CCOSF 1
18723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18724 $as_echo_n "checking for ccos... " >&6; }
18725 if ${gcc_cv_math_func_ccos+:} false
; then :
18726 $as_echo_n "(cached) " >&6
18728 if test x
$gcc_no_link = xyes
; then
18729 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18732 /* end confdefs.h. */
18734 #ifdef HAVE_COMPLEX_H
18735 #include <complex.h>
18741 int (*ptr)() = (int (*)())ccos;
18750 if ac_fn_c_try_link
"$LINENO"; then :
18751 gcc_cv_math_func_ccos
=yes
18753 gcc_cv_math_func_ccos
=no
18755 rm -f core conftest.err conftest.
$ac_objext \
18756 conftest
$ac_exeext conftest.
$ac_ext
18758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18759 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18760 if test $gcc_cv_math_func_ccos = yes; then
18762 cat >>confdefs.h
<<_ACEOF
18763 #define HAVE_CCOS 1
18771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18772 $as_echo_n "checking for ccosl... " >&6; }
18773 if ${gcc_cv_math_func_ccosl+:} false
; then :
18774 $as_echo_n "(cached) " >&6
18776 if test x
$gcc_no_link = xyes
; then
18777 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18780 /* end confdefs.h. */
18782 #ifdef HAVE_COMPLEX_H
18783 #include <complex.h>
18789 int (*ptr)() = (int (*)())ccosl;
18798 if ac_fn_c_try_link
"$LINENO"; then :
18799 gcc_cv_math_func_ccosl
=yes
18801 gcc_cv_math_func_ccosl
=no
18803 rm -f core conftest.err conftest.
$ac_objext \
18804 conftest
$ac_exeext conftest.
$ac_ext
18806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18807 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18808 if test $gcc_cv_math_func_ccosl = yes; then
18810 cat >>confdefs.h
<<_ACEOF
18811 #define HAVE_CCOSL 1
18819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18820 $as_echo_n "checking for coshf... " >&6; }
18821 if ${gcc_cv_math_func_coshf+:} false
; then :
18822 $as_echo_n "(cached) " >&6
18824 if test x
$gcc_no_link = xyes
; then
18825 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18828 /* end confdefs.h. */
18830 #ifdef HAVE_COMPLEX_H
18831 #include <complex.h>
18837 int (*ptr)() = (int (*)())coshf;
18846 if ac_fn_c_try_link
"$LINENO"; then :
18847 gcc_cv_math_func_coshf
=yes
18849 gcc_cv_math_func_coshf
=no
18851 rm -f core conftest.err conftest.
$ac_objext \
18852 conftest
$ac_exeext conftest.
$ac_ext
18854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18855 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18856 if test $gcc_cv_math_func_coshf = yes; then
18858 cat >>confdefs.h
<<_ACEOF
18859 #define HAVE_COSHF 1
18867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18868 $as_echo_n "checking for cosh... " >&6; }
18869 if ${gcc_cv_math_func_cosh+:} false
; then :
18870 $as_echo_n "(cached) " >&6
18872 if test x
$gcc_no_link = xyes
; then
18873 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18876 /* end confdefs.h. */
18878 #ifdef HAVE_COMPLEX_H
18879 #include <complex.h>
18885 int (*ptr)() = (int (*)())cosh;
18894 if ac_fn_c_try_link
"$LINENO"; then :
18895 gcc_cv_math_func_cosh
=yes
18897 gcc_cv_math_func_cosh
=no
18899 rm -f core conftest.err conftest.
$ac_objext \
18900 conftest
$ac_exeext conftest.
$ac_ext
18902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18903 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18904 if test $gcc_cv_math_func_cosh = yes; then
18906 cat >>confdefs.h
<<_ACEOF
18907 #define HAVE_COSH 1
18915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18916 $as_echo_n "checking for coshl... " >&6; }
18917 if ${gcc_cv_math_func_coshl+:} false
; then :
18918 $as_echo_n "(cached) " >&6
18920 if test x
$gcc_no_link = xyes
; then
18921 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18924 /* end confdefs.h. */
18926 #ifdef HAVE_COMPLEX_H
18927 #include <complex.h>
18933 int (*ptr)() = (int (*)())coshl;
18942 if ac_fn_c_try_link
"$LINENO"; then :
18943 gcc_cv_math_func_coshl
=yes
18945 gcc_cv_math_func_coshl
=no
18947 rm -f core conftest.err conftest.
$ac_objext \
18948 conftest
$ac_exeext conftest.
$ac_ext
18950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18951 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18952 if test $gcc_cv_math_func_coshl = yes; then
18954 cat >>confdefs.h
<<_ACEOF
18955 #define HAVE_COSHL 1
18963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18964 $as_echo_n "checking for ccoshf... " >&6; }
18965 if ${gcc_cv_math_func_ccoshf+:} false
; then :
18966 $as_echo_n "(cached) " >&6
18968 if test x
$gcc_no_link = xyes
; then
18969 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18972 /* end confdefs.h. */
18974 #ifdef HAVE_COMPLEX_H
18975 #include <complex.h>
18981 int (*ptr)() = (int (*)())ccoshf;
18990 if ac_fn_c_try_link
"$LINENO"; then :
18991 gcc_cv_math_func_ccoshf
=yes
18993 gcc_cv_math_func_ccoshf
=no
18995 rm -f core conftest.err conftest.
$ac_objext \
18996 conftest
$ac_exeext conftest.
$ac_ext
18998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18999 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
19000 if test $gcc_cv_math_func_ccoshf = yes; then
19002 cat >>confdefs.h
<<_ACEOF
19003 #define HAVE_CCOSHF 1
19011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
19012 $as_echo_n "checking for ccosh... " >&6; }
19013 if ${gcc_cv_math_func_ccosh+:} false
; then :
19014 $as_echo_n "(cached) " >&6
19016 if test x
$gcc_no_link = xyes
; then
19017 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19020 /* end confdefs.h. */
19022 #ifdef HAVE_COMPLEX_H
19023 #include <complex.h>
19029 int (*ptr)() = (int (*)())ccosh;
19038 if ac_fn_c_try_link
"$LINENO"; then :
19039 gcc_cv_math_func_ccosh
=yes
19041 gcc_cv_math_func_ccosh
=no
19043 rm -f core conftest.err conftest.
$ac_objext \
19044 conftest
$ac_exeext conftest.
$ac_ext
19046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
19047 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
19048 if test $gcc_cv_math_func_ccosh = yes; then
19050 cat >>confdefs.h
<<_ACEOF
19051 #define HAVE_CCOSH 1
19059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
19060 $as_echo_n "checking for ccoshl... " >&6; }
19061 if ${gcc_cv_math_func_ccoshl+:} false
; then :
19062 $as_echo_n "(cached) " >&6
19064 if test x
$gcc_no_link = xyes
; then
19065 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19068 /* end confdefs.h. */
19070 #ifdef HAVE_COMPLEX_H
19071 #include <complex.h>
19077 int (*ptr)() = (int (*)())ccoshl;
19086 if ac_fn_c_try_link
"$LINENO"; then :
19087 gcc_cv_math_func_ccoshl
=yes
19089 gcc_cv_math_func_ccoshl
=no
19091 rm -f core conftest.err conftest.
$ac_objext \
19092 conftest
$ac_exeext conftest.
$ac_ext
19094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
19095 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
19096 if test $gcc_cv_math_func_ccoshl = yes; then
19098 cat >>confdefs.h
<<_ACEOF
19099 #define HAVE_CCOSHL 1
19107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
19108 $as_echo_n "checking for expf... " >&6; }
19109 if ${gcc_cv_math_func_expf+:} false
; then :
19110 $as_echo_n "(cached) " >&6
19112 if test x
$gcc_no_link = xyes
; then
19113 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19116 /* end confdefs.h. */
19118 #ifdef HAVE_COMPLEX_H
19119 #include <complex.h>
19125 int (*ptr)() = (int (*)())expf;
19134 if ac_fn_c_try_link
"$LINENO"; then :
19135 gcc_cv_math_func_expf
=yes
19137 gcc_cv_math_func_expf
=no
19139 rm -f core conftest.err conftest.
$ac_objext \
19140 conftest
$ac_exeext conftest.
$ac_ext
19142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
19143 $as_echo "$gcc_cv_math_func_expf" >&6; }
19144 if test $gcc_cv_math_func_expf = yes; then
19146 cat >>confdefs.h
<<_ACEOF
19147 #define HAVE_EXPF 1
19155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
19156 $as_echo_n "checking for exp... " >&6; }
19157 if ${gcc_cv_math_func_exp+:} false
; then :
19158 $as_echo_n "(cached) " >&6
19160 if test x
$gcc_no_link = xyes
; then
19161 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19164 /* end confdefs.h. */
19166 #ifdef HAVE_COMPLEX_H
19167 #include <complex.h>
19173 int (*ptr)() = (int (*)())exp;
19182 if ac_fn_c_try_link
"$LINENO"; then :
19183 gcc_cv_math_func_exp
=yes
19185 gcc_cv_math_func_exp
=no
19187 rm -f core conftest.err conftest.
$ac_objext \
19188 conftest
$ac_exeext conftest.
$ac_ext
19190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
19191 $as_echo "$gcc_cv_math_func_exp" >&6; }
19192 if test $gcc_cv_math_func_exp = yes; then
19194 cat >>confdefs.h
<<_ACEOF
19203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
19204 $as_echo_n "checking for expl... " >&6; }
19205 if ${gcc_cv_math_func_expl+:} false
; then :
19206 $as_echo_n "(cached) " >&6
19208 if test x
$gcc_no_link = xyes
; then
19209 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19212 /* end confdefs.h. */
19214 #ifdef HAVE_COMPLEX_H
19215 #include <complex.h>
19221 int (*ptr)() = (int (*)())expl;
19230 if ac_fn_c_try_link
"$LINENO"; then :
19231 gcc_cv_math_func_expl
=yes
19233 gcc_cv_math_func_expl
=no
19235 rm -f core conftest.err conftest.
$ac_objext \
19236 conftest
$ac_exeext conftest.
$ac_ext
19238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
19239 $as_echo "$gcc_cv_math_func_expl" >&6; }
19240 if test $gcc_cv_math_func_expl = yes; then
19242 cat >>confdefs.h
<<_ACEOF
19243 #define HAVE_EXPL 1
19251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
19252 $as_echo_n "checking for cexpf... " >&6; }
19253 if ${gcc_cv_math_func_cexpf+:} false
; then :
19254 $as_echo_n "(cached) " >&6
19256 if test x
$gcc_no_link = xyes
; then
19257 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19260 /* end confdefs.h. */
19262 #ifdef HAVE_COMPLEX_H
19263 #include <complex.h>
19269 int (*ptr)() = (int (*)())cexpf;
19278 if ac_fn_c_try_link
"$LINENO"; then :
19279 gcc_cv_math_func_cexpf
=yes
19281 gcc_cv_math_func_cexpf
=no
19283 rm -f core conftest.err conftest.
$ac_objext \
19284 conftest
$ac_exeext conftest.
$ac_ext
19286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
19287 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
19288 if test $gcc_cv_math_func_cexpf = yes; then
19290 cat >>confdefs.h
<<_ACEOF
19291 #define HAVE_CEXPF 1
19299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
19300 $as_echo_n "checking for cexp... " >&6; }
19301 if ${gcc_cv_math_func_cexp+:} false
; then :
19302 $as_echo_n "(cached) " >&6
19304 if test x
$gcc_no_link = xyes
; then
19305 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19308 /* end confdefs.h. */
19310 #ifdef HAVE_COMPLEX_H
19311 #include <complex.h>
19317 int (*ptr)() = (int (*)())cexp;
19326 if ac_fn_c_try_link
"$LINENO"; then :
19327 gcc_cv_math_func_cexp
=yes
19329 gcc_cv_math_func_cexp
=no
19331 rm -f core conftest.err conftest.
$ac_objext \
19332 conftest
$ac_exeext conftest.
$ac_ext
19334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
19335 $as_echo "$gcc_cv_math_func_cexp" >&6; }
19336 if test $gcc_cv_math_func_cexp = yes; then
19338 cat >>confdefs.h
<<_ACEOF
19339 #define HAVE_CEXP 1
19347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19348 $as_echo_n "checking for cexpl... " >&6; }
19349 if ${gcc_cv_math_func_cexpl+:} false
; then :
19350 $as_echo_n "(cached) " >&6
19352 if test x
$gcc_no_link = xyes
; then
19353 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19356 /* end confdefs.h. */
19358 #ifdef HAVE_COMPLEX_H
19359 #include <complex.h>
19365 int (*ptr)() = (int (*)())cexpl;
19374 if ac_fn_c_try_link
"$LINENO"; then :
19375 gcc_cv_math_func_cexpl
=yes
19377 gcc_cv_math_func_cexpl
=no
19379 rm -f core conftest.err conftest.
$ac_objext \
19380 conftest
$ac_exeext conftest.
$ac_ext
19382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19383 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19384 if test $gcc_cv_math_func_cexpl = yes; then
19386 cat >>confdefs.h
<<_ACEOF
19387 #define HAVE_CEXPL 1
19395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19396 $as_echo_n "checking for fabsf... " >&6; }
19397 if ${gcc_cv_math_func_fabsf+:} false
; then :
19398 $as_echo_n "(cached) " >&6
19400 if test x
$gcc_no_link = xyes
; then
19401 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19404 /* end confdefs.h. */
19406 #ifdef HAVE_COMPLEX_H
19407 #include <complex.h>
19413 int (*ptr)() = (int (*)())fabsf;
19422 if ac_fn_c_try_link
"$LINENO"; then :
19423 gcc_cv_math_func_fabsf
=yes
19425 gcc_cv_math_func_fabsf
=no
19427 rm -f core conftest.err conftest.
$ac_objext \
19428 conftest
$ac_exeext conftest.
$ac_ext
19430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19431 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19432 if test $gcc_cv_math_func_fabsf = yes; then
19434 cat >>confdefs.h
<<_ACEOF
19435 #define HAVE_FABSF 1
19443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19444 $as_echo_n "checking for fabs... " >&6; }
19445 if ${gcc_cv_math_func_fabs+:} false
; then :
19446 $as_echo_n "(cached) " >&6
19448 if test x
$gcc_no_link = xyes
; then
19449 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19452 /* end confdefs.h. */
19454 #ifdef HAVE_COMPLEX_H
19455 #include <complex.h>
19461 int (*ptr)() = (int (*)())fabs;
19470 if ac_fn_c_try_link
"$LINENO"; then :
19471 gcc_cv_math_func_fabs
=yes
19473 gcc_cv_math_func_fabs
=no
19475 rm -f core conftest.err conftest.
$ac_objext \
19476 conftest
$ac_exeext conftest.
$ac_ext
19478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19479 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19480 if test $gcc_cv_math_func_fabs = yes; then
19482 cat >>confdefs.h
<<_ACEOF
19483 #define HAVE_FABS 1
19491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19492 $as_echo_n "checking for fabsl... " >&6; }
19493 if ${gcc_cv_math_func_fabsl+:} false
; then :
19494 $as_echo_n "(cached) " >&6
19496 if test x
$gcc_no_link = xyes
; then
19497 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19500 /* end confdefs.h. */
19502 #ifdef HAVE_COMPLEX_H
19503 #include <complex.h>
19509 int (*ptr)() = (int (*)())fabsl;
19518 if ac_fn_c_try_link
"$LINENO"; then :
19519 gcc_cv_math_func_fabsl
=yes
19521 gcc_cv_math_func_fabsl
=no
19523 rm -f core conftest.err conftest.
$ac_objext \
19524 conftest
$ac_exeext conftest.
$ac_ext
19526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19527 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19528 if test $gcc_cv_math_func_fabsl = yes; then
19530 cat >>confdefs.h
<<_ACEOF
19531 #define HAVE_FABSL 1
19539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19540 $as_echo_n "checking for cabsf... " >&6; }
19541 if ${gcc_cv_math_func_cabsf+:} false
; then :
19542 $as_echo_n "(cached) " >&6
19544 if test x
$gcc_no_link = xyes
; then
19545 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19548 /* end confdefs.h. */
19550 #ifdef HAVE_COMPLEX_H
19551 #include <complex.h>
19557 int (*ptr)() = (int (*)())cabsf;
19566 if ac_fn_c_try_link
"$LINENO"; then :
19567 gcc_cv_math_func_cabsf
=yes
19569 gcc_cv_math_func_cabsf
=no
19571 rm -f core conftest.err conftest.
$ac_objext \
19572 conftest
$ac_exeext conftest.
$ac_ext
19574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19575 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19576 if test $gcc_cv_math_func_cabsf = yes; then
19578 cat >>confdefs.h
<<_ACEOF
19579 #define HAVE_CABSF 1
19587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19588 $as_echo_n "checking for cabs... " >&6; }
19589 if ${gcc_cv_math_func_cabs+:} false
; then :
19590 $as_echo_n "(cached) " >&6
19592 if test x
$gcc_no_link = xyes
; then
19593 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19596 /* end confdefs.h. */
19598 #ifdef HAVE_COMPLEX_H
19599 #include <complex.h>
19605 int (*ptr)() = (int (*)())cabs;
19614 if ac_fn_c_try_link
"$LINENO"; then :
19615 gcc_cv_math_func_cabs
=yes
19617 gcc_cv_math_func_cabs
=no
19619 rm -f core conftest.err conftest.
$ac_objext \
19620 conftest
$ac_exeext conftest.
$ac_ext
19622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19623 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19624 if test $gcc_cv_math_func_cabs = yes; then
19626 cat >>confdefs.h
<<_ACEOF
19627 #define HAVE_CABS 1
19635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19636 $as_echo_n "checking for cabsl... " >&6; }
19637 if ${gcc_cv_math_func_cabsl+:} false
; then :
19638 $as_echo_n "(cached) " >&6
19640 if test x
$gcc_no_link = xyes
; then
19641 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19644 /* end confdefs.h. */
19646 #ifdef HAVE_COMPLEX_H
19647 #include <complex.h>
19653 int (*ptr)() = (int (*)())cabsl;
19662 if ac_fn_c_try_link
"$LINENO"; then :
19663 gcc_cv_math_func_cabsl
=yes
19665 gcc_cv_math_func_cabsl
=no
19667 rm -f core conftest.err conftest.
$ac_objext \
19668 conftest
$ac_exeext conftest.
$ac_ext
19670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19671 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19672 if test $gcc_cv_math_func_cabsl = yes; then
19674 cat >>confdefs.h
<<_ACEOF
19675 #define HAVE_CABSL 1
19683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19684 $as_echo_n "checking for floorf... " >&6; }
19685 if ${gcc_cv_math_func_floorf+:} false
; then :
19686 $as_echo_n "(cached) " >&6
19688 if test x
$gcc_no_link = xyes
; then
19689 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19692 /* end confdefs.h. */
19694 #ifdef HAVE_COMPLEX_H
19695 #include <complex.h>
19701 int (*ptr)() = (int (*)())floorf;
19710 if ac_fn_c_try_link
"$LINENO"; then :
19711 gcc_cv_math_func_floorf
=yes
19713 gcc_cv_math_func_floorf
=no
19715 rm -f core conftest.err conftest.
$ac_objext \
19716 conftest
$ac_exeext conftest.
$ac_ext
19718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19719 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19720 if test $gcc_cv_math_func_floorf = yes; then
19722 cat >>confdefs.h
<<_ACEOF
19723 #define HAVE_FLOORF 1
19731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19732 $as_echo_n "checking for floor... " >&6; }
19733 if ${gcc_cv_math_func_floor+:} false
; then :
19734 $as_echo_n "(cached) " >&6
19736 if test x
$gcc_no_link = xyes
; then
19737 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19740 /* end confdefs.h. */
19742 #ifdef HAVE_COMPLEX_H
19743 #include <complex.h>
19749 int (*ptr)() = (int (*)())floor;
19758 if ac_fn_c_try_link
"$LINENO"; then :
19759 gcc_cv_math_func_floor
=yes
19761 gcc_cv_math_func_floor
=no
19763 rm -f core conftest.err conftest.
$ac_objext \
19764 conftest
$ac_exeext conftest.
$ac_ext
19766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19767 $as_echo "$gcc_cv_math_func_floor" >&6; }
19768 if test $gcc_cv_math_func_floor = yes; then
19770 cat >>confdefs.h
<<_ACEOF
19771 #define HAVE_FLOOR 1
19779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19780 $as_echo_n "checking for floorl... " >&6; }
19781 if ${gcc_cv_math_func_floorl+:} false
; then :
19782 $as_echo_n "(cached) " >&6
19784 if test x
$gcc_no_link = xyes
; then
19785 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19788 /* end confdefs.h. */
19790 #ifdef HAVE_COMPLEX_H
19791 #include <complex.h>
19797 int (*ptr)() = (int (*)())floorl;
19806 if ac_fn_c_try_link
"$LINENO"; then :
19807 gcc_cv_math_func_floorl
=yes
19809 gcc_cv_math_func_floorl
=no
19811 rm -f core conftest.err conftest.
$ac_objext \
19812 conftest
$ac_exeext conftest.
$ac_ext
19814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19815 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19816 if test $gcc_cv_math_func_floorl = yes; then
19818 cat >>confdefs.h
<<_ACEOF
19819 #define HAVE_FLOORL 1
19827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19828 $as_echo_n "checking for fmodf... " >&6; }
19829 if ${gcc_cv_math_func_fmodf+:} false
; then :
19830 $as_echo_n "(cached) " >&6
19832 if test x
$gcc_no_link = xyes
; then
19833 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19836 /* end confdefs.h. */
19838 #ifdef HAVE_COMPLEX_H
19839 #include <complex.h>
19845 int (*ptr)() = (int (*)())fmodf;
19854 if ac_fn_c_try_link
"$LINENO"; then :
19855 gcc_cv_math_func_fmodf
=yes
19857 gcc_cv_math_func_fmodf
=no
19859 rm -f core conftest.err conftest.
$ac_objext \
19860 conftest
$ac_exeext conftest.
$ac_ext
19862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19863 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
19864 if test $gcc_cv_math_func_fmodf = yes; then
19866 cat >>confdefs.h
<<_ACEOF
19867 #define HAVE_FMODF 1
19875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19876 $as_echo_n "checking for fmod... " >&6; }
19877 if ${gcc_cv_math_func_fmod+:} false
; then :
19878 $as_echo_n "(cached) " >&6
19880 if test x
$gcc_no_link = xyes
; then
19881 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19884 /* end confdefs.h. */
19886 #ifdef HAVE_COMPLEX_H
19887 #include <complex.h>
19893 int (*ptr)() = (int (*)())fmod;
19902 if ac_fn_c_try_link
"$LINENO"; then :
19903 gcc_cv_math_func_fmod
=yes
19905 gcc_cv_math_func_fmod
=no
19907 rm -f core conftest.err conftest.
$ac_objext \
19908 conftest
$ac_exeext conftest.
$ac_ext
19910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19911 $as_echo "$gcc_cv_math_func_fmod" >&6; }
19912 if test $gcc_cv_math_func_fmod = yes; then
19914 cat >>confdefs.h
<<_ACEOF
19915 #define HAVE_FMOD 1
19923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19924 $as_echo_n "checking for fmodl... " >&6; }
19925 if ${gcc_cv_math_func_fmodl+:} false
; then :
19926 $as_echo_n "(cached) " >&6
19928 if test x
$gcc_no_link = xyes
; then
19929 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19932 /* end confdefs.h. */
19934 #ifdef HAVE_COMPLEX_H
19935 #include <complex.h>
19941 int (*ptr)() = (int (*)())fmodl;
19950 if ac_fn_c_try_link
"$LINENO"; then :
19951 gcc_cv_math_func_fmodl
=yes
19953 gcc_cv_math_func_fmodl
=no
19955 rm -f core conftest.err conftest.
$ac_objext \
19956 conftest
$ac_exeext conftest.
$ac_ext
19958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19959 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
19960 if test $gcc_cv_math_func_fmodl = yes; then
19962 cat >>confdefs.h
<<_ACEOF
19963 #define HAVE_FMODL 1
19971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19972 $as_echo_n "checking for frexpf... " >&6; }
19973 if ${gcc_cv_math_func_frexpf+:} false
; then :
19974 $as_echo_n "(cached) " >&6
19976 if test x
$gcc_no_link = xyes
; then
19977 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19980 /* end confdefs.h. */
19982 #ifdef HAVE_COMPLEX_H
19983 #include <complex.h>
19989 int (*ptr)() = (int (*)())frexpf;
19998 if ac_fn_c_try_link
"$LINENO"; then :
19999 gcc_cv_math_func_frexpf
=yes
20001 gcc_cv_math_func_frexpf
=no
20003 rm -f core conftest.err conftest.
$ac_objext \
20004 conftest
$ac_exeext conftest.
$ac_ext
20006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
20007 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
20008 if test $gcc_cv_math_func_frexpf = yes; then
20010 cat >>confdefs.h
<<_ACEOF
20011 #define HAVE_FREXPF 1
20019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
20020 $as_echo_n "checking for frexp... " >&6; }
20021 if ${gcc_cv_math_func_frexp+:} false
; then :
20022 $as_echo_n "(cached) " >&6
20024 if test x
$gcc_no_link = xyes
; then
20025 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20028 /* end confdefs.h. */
20030 #ifdef HAVE_COMPLEX_H
20031 #include <complex.h>
20037 int (*ptr)() = (int (*)())frexp;
20046 if ac_fn_c_try_link
"$LINENO"; then :
20047 gcc_cv_math_func_frexp
=yes
20049 gcc_cv_math_func_frexp
=no
20051 rm -f core conftest.err conftest.
$ac_objext \
20052 conftest
$ac_exeext conftest.
$ac_ext
20054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
20055 $as_echo "$gcc_cv_math_func_frexp" >&6; }
20056 if test $gcc_cv_math_func_frexp = yes; then
20058 cat >>confdefs.h
<<_ACEOF
20059 #define HAVE_FREXP 1
20067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
20068 $as_echo_n "checking for frexpl... " >&6; }
20069 if ${gcc_cv_math_func_frexpl+:} false
; then :
20070 $as_echo_n "(cached) " >&6
20072 if test x
$gcc_no_link = xyes
; then
20073 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20076 /* end confdefs.h. */
20078 #ifdef HAVE_COMPLEX_H
20079 #include <complex.h>
20085 int (*ptr)() = (int (*)())frexpl;
20094 if ac_fn_c_try_link
"$LINENO"; then :
20095 gcc_cv_math_func_frexpl
=yes
20097 gcc_cv_math_func_frexpl
=no
20099 rm -f core conftest.err conftest.
$ac_objext \
20100 conftest
$ac_exeext conftest.
$ac_ext
20102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
20103 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
20104 if test $gcc_cv_math_func_frexpl = yes; then
20106 cat >>confdefs.h
<<_ACEOF
20107 #define HAVE_FREXPL 1
20115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
20116 $as_echo_n "checking for hypotf... " >&6; }
20117 if ${gcc_cv_math_func_hypotf+:} false
; then :
20118 $as_echo_n "(cached) " >&6
20120 if test x
$gcc_no_link = xyes
; then
20121 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20124 /* end confdefs.h. */
20126 #ifdef HAVE_COMPLEX_H
20127 #include <complex.h>
20133 int (*ptr)() = (int (*)())hypotf;
20142 if ac_fn_c_try_link
"$LINENO"; then :
20143 gcc_cv_math_func_hypotf
=yes
20145 gcc_cv_math_func_hypotf
=no
20147 rm -f core conftest.err conftest.
$ac_objext \
20148 conftest
$ac_exeext conftest.
$ac_ext
20150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
20151 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
20152 if test $gcc_cv_math_func_hypotf = yes; then
20154 cat >>confdefs.h
<<_ACEOF
20155 #define HAVE_HYPOTF 1
20163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
20164 $as_echo_n "checking for hypot... " >&6; }
20165 if ${gcc_cv_math_func_hypot+:} false
; then :
20166 $as_echo_n "(cached) " >&6
20168 if test x
$gcc_no_link = xyes
; then
20169 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20172 /* end confdefs.h. */
20174 #ifdef HAVE_COMPLEX_H
20175 #include <complex.h>
20181 int (*ptr)() = (int (*)())hypot;
20190 if ac_fn_c_try_link
"$LINENO"; then :
20191 gcc_cv_math_func_hypot
=yes
20193 gcc_cv_math_func_hypot
=no
20195 rm -f core conftest.err conftest.
$ac_objext \
20196 conftest
$ac_exeext conftest.
$ac_ext
20198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
20199 $as_echo "$gcc_cv_math_func_hypot" >&6; }
20200 if test $gcc_cv_math_func_hypot = yes; then
20202 cat >>confdefs.h
<<_ACEOF
20203 #define HAVE_HYPOT 1
20211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
20212 $as_echo_n "checking for hypotl... " >&6; }
20213 if ${gcc_cv_math_func_hypotl+:} false
; then :
20214 $as_echo_n "(cached) " >&6
20216 if test x
$gcc_no_link = xyes
; then
20217 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20220 /* end confdefs.h. */
20222 #ifdef HAVE_COMPLEX_H
20223 #include <complex.h>
20229 int (*ptr)() = (int (*)())hypotl;
20238 if ac_fn_c_try_link
"$LINENO"; then :
20239 gcc_cv_math_func_hypotl
=yes
20241 gcc_cv_math_func_hypotl
=no
20243 rm -f core conftest.err conftest.
$ac_objext \
20244 conftest
$ac_exeext conftest.
$ac_ext
20246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
20247 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
20248 if test $gcc_cv_math_func_hypotl = yes; then
20250 cat >>confdefs.h
<<_ACEOF
20251 #define HAVE_HYPOTL 1
20259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
20260 $as_echo_n "checking for ldexpf... " >&6; }
20261 if ${gcc_cv_math_func_ldexpf+:} false
; then :
20262 $as_echo_n "(cached) " >&6
20264 if test x
$gcc_no_link = xyes
; then
20265 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20268 /* end confdefs.h. */
20270 #ifdef HAVE_COMPLEX_H
20271 #include <complex.h>
20277 int (*ptr)() = (int (*)())ldexpf;
20286 if ac_fn_c_try_link
"$LINENO"; then :
20287 gcc_cv_math_func_ldexpf
=yes
20289 gcc_cv_math_func_ldexpf
=no
20291 rm -f core conftest.err conftest.
$ac_objext \
20292 conftest
$ac_exeext conftest.
$ac_ext
20294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
20295 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
20296 if test $gcc_cv_math_func_ldexpf = yes; then
20298 cat >>confdefs.h
<<_ACEOF
20299 #define HAVE_LDEXPF 1
20307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
20308 $as_echo_n "checking for ldexp... " >&6; }
20309 if ${gcc_cv_math_func_ldexp+:} false
; then :
20310 $as_echo_n "(cached) " >&6
20312 if test x
$gcc_no_link = xyes
; then
20313 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20316 /* end confdefs.h. */
20318 #ifdef HAVE_COMPLEX_H
20319 #include <complex.h>
20325 int (*ptr)() = (int (*)())ldexp;
20334 if ac_fn_c_try_link
"$LINENO"; then :
20335 gcc_cv_math_func_ldexp
=yes
20337 gcc_cv_math_func_ldexp
=no
20339 rm -f core conftest.err conftest.
$ac_objext \
20340 conftest
$ac_exeext conftest.
$ac_ext
20342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20343 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
20344 if test $gcc_cv_math_func_ldexp = yes; then
20346 cat >>confdefs.h
<<_ACEOF
20347 #define HAVE_LDEXP 1
20355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20356 $as_echo_n "checking for ldexpl... " >&6; }
20357 if ${gcc_cv_math_func_ldexpl+:} false
; then :
20358 $as_echo_n "(cached) " >&6
20360 if test x
$gcc_no_link = xyes
; then
20361 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20364 /* end confdefs.h. */
20366 #ifdef HAVE_COMPLEX_H
20367 #include <complex.h>
20373 int (*ptr)() = (int (*)())ldexpl;
20382 if ac_fn_c_try_link
"$LINENO"; then :
20383 gcc_cv_math_func_ldexpl
=yes
20385 gcc_cv_math_func_ldexpl
=no
20387 rm -f core conftest.err conftest.
$ac_objext \
20388 conftest
$ac_exeext conftest.
$ac_ext
20390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20391 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20392 if test $gcc_cv_math_func_ldexpl = yes; then
20394 cat >>confdefs.h
<<_ACEOF
20395 #define HAVE_LDEXPL 1
20403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20404 $as_echo_n "checking for logf... " >&6; }
20405 if ${gcc_cv_math_func_logf+:} false
; then :
20406 $as_echo_n "(cached) " >&6
20408 if test x
$gcc_no_link = xyes
; then
20409 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20412 /* end confdefs.h. */
20414 #ifdef HAVE_COMPLEX_H
20415 #include <complex.h>
20421 int (*ptr)() = (int (*)())logf;
20430 if ac_fn_c_try_link
"$LINENO"; then :
20431 gcc_cv_math_func_logf
=yes
20433 gcc_cv_math_func_logf
=no
20435 rm -f core conftest.err conftest.
$ac_objext \
20436 conftest
$ac_exeext conftest.
$ac_ext
20438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20439 $as_echo "$gcc_cv_math_func_logf" >&6; }
20440 if test $gcc_cv_math_func_logf = yes; then
20442 cat >>confdefs.h
<<_ACEOF
20443 #define HAVE_LOGF 1
20451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20452 $as_echo_n "checking for log... " >&6; }
20453 if ${gcc_cv_math_func_log+:} false
; then :
20454 $as_echo_n "(cached) " >&6
20456 if test x
$gcc_no_link = xyes
; then
20457 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20460 /* end confdefs.h. */
20462 #ifdef HAVE_COMPLEX_H
20463 #include <complex.h>
20469 int (*ptr)() = (int (*)())log;
20478 if ac_fn_c_try_link
"$LINENO"; then :
20479 gcc_cv_math_func_log
=yes
20481 gcc_cv_math_func_log
=no
20483 rm -f core conftest.err conftest.
$ac_objext \
20484 conftest
$ac_exeext conftest.
$ac_ext
20486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20487 $as_echo "$gcc_cv_math_func_log" >&6; }
20488 if test $gcc_cv_math_func_log = yes; then
20490 cat >>confdefs.h
<<_ACEOF
20499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20500 $as_echo_n "checking for logl... " >&6; }
20501 if ${gcc_cv_math_func_logl+:} false
; then :
20502 $as_echo_n "(cached) " >&6
20504 if test x
$gcc_no_link = xyes
; then
20505 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20508 /* end confdefs.h. */
20510 #ifdef HAVE_COMPLEX_H
20511 #include <complex.h>
20517 int (*ptr)() = (int (*)())logl;
20526 if ac_fn_c_try_link
"$LINENO"; then :
20527 gcc_cv_math_func_logl
=yes
20529 gcc_cv_math_func_logl
=no
20531 rm -f core conftest.err conftest.
$ac_objext \
20532 conftest
$ac_exeext conftest.
$ac_ext
20534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20535 $as_echo "$gcc_cv_math_func_logl" >&6; }
20536 if test $gcc_cv_math_func_logl = yes; then
20538 cat >>confdefs.h
<<_ACEOF
20539 #define HAVE_LOGL 1
20547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20548 $as_echo_n "checking for clogf... " >&6; }
20549 if ${gcc_cv_math_func_clogf+:} false
; then :
20550 $as_echo_n "(cached) " >&6
20552 if test x
$gcc_no_link = xyes
; then
20553 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20556 /* end confdefs.h. */
20558 #ifdef HAVE_COMPLEX_H
20559 #include <complex.h>
20565 int (*ptr)() = (int (*)())clogf;
20574 if ac_fn_c_try_link
"$LINENO"; then :
20575 gcc_cv_math_func_clogf
=yes
20577 gcc_cv_math_func_clogf
=no
20579 rm -f core conftest.err conftest.
$ac_objext \
20580 conftest
$ac_exeext conftest.
$ac_ext
20582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20583 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20584 if test $gcc_cv_math_func_clogf = yes; then
20586 cat >>confdefs.h
<<_ACEOF
20587 #define HAVE_CLOGF 1
20595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20596 $as_echo_n "checking for clog... " >&6; }
20597 if ${gcc_cv_math_func_clog+:} false
; then :
20598 $as_echo_n "(cached) " >&6
20600 if test x
$gcc_no_link = xyes
; then
20601 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20604 /* end confdefs.h. */
20606 #ifdef HAVE_COMPLEX_H
20607 #include <complex.h>
20613 int (*ptr)() = (int (*)())clog;
20622 if ac_fn_c_try_link
"$LINENO"; then :
20623 gcc_cv_math_func_clog
=yes
20625 gcc_cv_math_func_clog
=no
20627 rm -f core conftest.err conftest.
$ac_objext \
20628 conftest
$ac_exeext conftest.
$ac_ext
20630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20631 $as_echo "$gcc_cv_math_func_clog" >&6; }
20632 if test $gcc_cv_math_func_clog = yes; then
20634 cat >>confdefs.h
<<_ACEOF
20635 #define HAVE_CLOG 1
20643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20644 $as_echo_n "checking for clogl... " >&6; }
20645 if ${gcc_cv_math_func_clogl+:} false
; then :
20646 $as_echo_n "(cached) " >&6
20648 if test x
$gcc_no_link = xyes
; then
20649 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20652 /* end confdefs.h. */
20654 #ifdef HAVE_COMPLEX_H
20655 #include <complex.h>
20661 int (*ptr)() = (int (*)())clogl;
20670 if ac_fn_c_try_link
"$LINENO"; then :
20671 gcc_cv_math_func_clogl
=yes
20673 gcc_cv_math_func_clogl
=no
20675 rm -f core conftest.err conftest.
$ac_objext \
20676 conftest
$ac_exeext conftest.
$ac_ext
20678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20679 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20680 if test $gcc_cv_math_func_clogl = yes; then
20682 cat >>confdefs.h
<<_ACEOF
20683 #define HAVE_CLOGL 1
20691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20692 $as_echo_n "checking for log10f... " >&6; }
20693 if ${gcc_cv_math_func_log10f+:} false
; then :
20694 $as_echo_n "(cached) " >&6
20696 if test x
$gcc_no_link = xyes
; then
20697 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20700 /* end confdefs.h. */
20702 #ifdef HAVE_COMPLEX_H
20703 #include <complex.h>
20709 int (*ptr)() = (int (*)())log10f;
20718 if ac_fn_c_try_link
"$LINENO"; then :
20719 gcc_cv_math_func_log10f
=yes
20721 gcc_cv_math_func_log10f
=no
20723 rm -f core conftest.err conftest.
$ac_objext \
20724 conftest
$ac_exeext conftest.
$ac_ext
20726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20727 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20728 if test $gcc_cv_math_func_log10f = yes; then
20730 cat >>confdefs.h
<<_ACEOF
20731 #define HAVE_LOG10F 1
20739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20740 $as_echo_n "checking for log10... " >&6; }
20741 if ${gcc_cv_math_func_log10+:} false
; then :
20742 $as_echo_n "(cached) " >&6
20744 if test x
$gcc_no_link = xyes
; then
20745 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20748 /* end confdefs.h. */
20750 #ifdef HAVE_COMPLEX_H
20751 #include <complex.h>
20757 int (*ptr)() = (int (*)())log10;
20766 if ac_fn_c_try_link
"$LINENO"; then :
20767 gcc_cv_math_func_log10
=yes
20769 gcc_cv_math_func_log10
=no
20771 rm -f core conftest.err conftest.
$ac_objext \
20772 conftest
$ac_exeext conftest.
$ac_ext
20774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20775 $as_echo "$gcc_cv_math_func_log10" >&6; }
20776 if test $gcc_cv_math_func_log10 = yes; then
20778 cat >>confdefs.h
<<_ACEOF
20779 #define HAVE_LOG10 1
20787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20788 $as_echo_n "checking for log10l... " >&6; }
20789 if ${gcc_cv_math_func_log10l+:} false
; then :
20790 $as_echo_n "(cached) " >&6
20792 if test x
$gcc_no_link = xyes
; then
20793 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20796 /* end confdefs.h. */
20798 #ifdef HAVE_COMPLEX_H
20799 #include <complex.h>
20805 int (*ptr)() = (int (*)())log10l;
20814 if ac_fn_c_try_link
"$LINENO"; then :
20815 gcc_cv_math_func_log10l
=yes
20817 gcc_cv_math_func_log10l
=no
20819 rm -f core conftest.err conftest.
$ac_objext \
20820 conftest
$ac_exeext conftest.
$ac_ext
20822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20823 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20824 if test $gcc_cv_math_func_log10l = yes; then
20826 cat >>confdefs.h
<<_ACEOF
20827 #define HAVE_LOG10L 1
20835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20836 $as_echo_n "checking for clog10f... " >&6; }
20837 if ${gcc_cv_math_func_clog10f+:} false
; then :
20838 $as_echo_n "(cached) " >&6
20840 if test x
$gcc_no_link = xyes
; then
20841 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20844 /* end confdefs.h. */
20846 #ifdef HAVE_COMPLEX_H
20847 #include <complex.h>
20853 int (*ptr)() = (int (*)())clog10f;
20862 if ac_fn_c_try_link
"$LINENO"; then :
20863 gcc_cv_math_func_clog10f
=yes
20865 gcc_cv_math_func_clog10f
=no
20867 rm -f core conftest.err conftest.
$ac_objext \
20868 conftest
$ac_exeext conftest.
$ac_ext
20870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20871 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
20872 if test $gcc_cv_math_func_clog10f = yes; then
20874 cat >>confdefs.h
<<_ACEOF
20875 #define HAVE_CLOG10F 1
20883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20884 $as_echo_n "checking for clog10... " >&6; }
20885 if ${gcc_cv_math_func_clog10+:} false
; then :
20886 $as_echo_n "(cached) " >&6
20888 if test x
$gcc_no_link = xyes
; then
20889 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20892 /* end confdefs.h. */
20894 #ifdef HAVE_COMPLEX_H
20895 #include <complex.h>
20901 int (*ptr)() = (int (*)())clog10;
20910 if ac_fn_c_try_link
"$LINENO"; then :
20911 gcc_cv_math_func_clog10
=yes
20913 gcc_cv_math_func_clog10
=no
20915 rm -f core conftest.err conftest.
$ac_objext \
20916 conftest
$ac_exeext conftest.
$ac_ext
20918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20919 $as_echo "$gcc_cv_math_func_clog10" >&6; }
20920 if test $gcc_cv_math_func_clog10 = yes; then
20922 cat >>confdefs.h
<<_ACEOF
20923 #define HAVE_CLOG10 1
20931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20932 $as_echo_n "checking for clog10l... " >&6; }
20933 if ${gcc_cv_math_func_clog10l+:} false
; then :
20934 $as_echo_n "(cached) " >&6
20936 if test x
$gcc_no_link = xyes
; then
20937 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20940 /* end confdefs.h. */
20942 #ifdef HAVE_COMPLEX_H
20943 #include <complex.h>
20949 int (*ptr)() = (int (*)())clog10l;
20958 if ac_fn_c_try_link
"$LINENO"; then :
20959 gcc_cv_math_func_clog10l
=yes
20961 gcc_cv_math_func_clog10l
=no
20963 rm -f core conftest.err conftest.
$ac_objext \
20964 conftest
$ac_exeext conftest.
$ac_ext
20966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20967 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
20968 if test $gcc_cv_math_func_clog10l = yes; then
20970 cat >>confdefs.h
<<_ACEOF
20971 #define HAVE_CLOG10L 1
20979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20980 $as_echo_n "checking for nextafterf... " >&6; }
20981 if ${gcc_cv_math_func_nextafterf+:} false
; then :
20982 $as_echo_n "(cached) " >&6
20984 if test x
$gcc_no_link = xyes
; then
20985 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20988 /* end confdefs.h. */
20990 #ifdef HAVE_COMPLEX_H
20991 #include <complex.h>
20997 int (*ptr)() = (int (*)())nextafterf;
21006 if ac_fn_c_try_link
"$LINENO"; then :
21007 gcc_cv_math_func_nextafterf
=yes
21009 gcc_cv_math_func_nextafterf
=no
21011 rm -f core conftest.err conftest.
$ac_objext \
21012 conftest
$ac_exeext conftest.
$ac_ext
21014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
21015 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
21016 if test $gcc_cv_math_func_nextafterf = yes; then
21018 cat >>confdefs.h
<<_ACEOF
21019 #define HAVE_NEXTAFTERF 1
21027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
21028 $as_echo_n "checking for nextafter... " >&6; }
21029 if ${gcc_cv_math_func_nextafter+:} false
; then :
21030 $as_echo_n "(cached) " >&6
21032 if test x
$gcc_no_link = xyes
; then
21033 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21036 /* end confdefs.h. */
21038 #ifdef HAVE_COMPLEX_H
21039 #include <complex.h>
21045 int (*ptr)() = (int (*)())nextafter;
21054 if ac_fn_c_try_link
"$LINENO"; then :
21055 gcc_cv_math_func_nextafter
=yes
21057 gcc_cv_math_func_nextafter
=no
21059 rm -f core conftest.err conftest.
$ac_objext \
21060 conftest
$ac_exeext conftest.
$ac_ext
21062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
21063 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
21064 if test $gcc_cv_math_func_nextafter = yes; then
21066 cat >>confdefs.h
<<_ACEOF
21067 #define HAVE_NEXTAFTER 1
21075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
21076 $as_echo_n "checking for nextafterl... " >&6; }
21077 if ${gcc_cv_math_func_nextafterl+:} false
; then :
21078 $as_echo_n "(cached) " >&6
21080 if test x
$gcc_no_link = xyes
; then
21081 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21084 /* end confdefs.h. */
21086 #ifdef HAVE_COMPLEX_H
21087 #include <complex.h>
21093 int (*ptr)() = (int (*)())nextafterl;
21102 if ac_fn_c_try_link
"$LINENO"; then :
21103 gcc_cv_math_func_nextafterl
=yes
21105 gcc_cv_math_func_nextafterl
=no
21107 rm -f core conftest.err conftest.
$ac_objext \
21108 conftest
$ac_exeext conftest.
$ac_ext
21110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
21111 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
21112 if test $gcc_cv_math_func_nextafterl = yes; then
21114 cat >>confdefs.h
<<_ACEOF
21115 #define HAVE_NEXTAFTERL 1
21123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
21124 $as_echo_n "checking for powf... " >&6; }
21125 if ${gcc_cv_math_func_powf+:} false
; then :
21126 $as_echo_n "(cached) " >&6
21128 if test x
$gcc_no_link = xyes
; then
21129 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21132 /* end confdefs.h. */
21134 #ifdef HAVE_COMPLEX_H
21135 #include <complex.h>
21141 int (*ptr)() = (int (*)())powf;
21150 if ac_fn_c_try_link
"$LINENO"; then :
21151 gcc_cv_math_func_powf
=yes
21153 gcc_cv_math_func_powf
=no
21155 rm -f core conftest.err conftest.
$ac_objext \
21156 conftest
$ac_exeext conftest.
$ac_ext
21158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
21159 $as_echo "$gcc_cv_math_func_powf" >&6; }
21160 if test $gcc_cv_math_func_powf = yes; then
21162 cat >>confdefs.h
<<_ACEOF
21163 #define HAVE_POWF 1
21171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
21172 $as_echo_n "checking for pow... " >&6; }
21173 if ${gcc_cv_math_func_pow+:} false
; then :
21174 $as_echo_n "(cached) " >&6
21176 if test x
$gcc_no_link = xyes
; then
21177 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21180 /* end confdefs.h. */
21182 #ifdef HAVE_COMPLEX_H
21183 #include <complex.h>
21189 int (*ptr)() = (int (*)())pow;
21198 if ac_fn_c_try_link
"$LINENO"; then :
21199 gcc_cv_math_func_pow
=yes
21201 gcc_cv_math_func_pow
=no
21203 rm -f core conftest.err conftest.
$ac_objext \
21204 conftest
$ac_exeext conftest.
$ac_ext
21206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
21207 $as_echo "$gcc_cv_math_func_pow" >&6; }
21208 if test $gcc_cv_math_func_pow = yes; then
21210 cat >>confdefs.h
<<_ACEOF
21219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
21220 $as_echo_n "checking for cpowf... " >&6; }
21221 if ${gcc_cv_math_func_cpowf+:} false
; then :
21222 $as_echo_n "(cached) " >&6
21224 if test x
$gcc_no_link = xyes
; then
21225 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21228 /* end confdefs.h. */
21230 #ifdef HAVE_COMPLEX_H
21231 #include <complex.h>
21237 int (*ptr)() = (int (*)())cpowf;
21246 if ac_fn_c_try_link
"$LINENO"; then :
21247 gcc_cv_math_func_cpowf
=yes
21249 gcc_cv_math_func_cpowf
=no
21251 rm -f core conftest.err conftest.
$ac_objext \
21252 conftest
$ac_exeext conftest.
$ac_ext
21254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
21255 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
21256 if test $gcc_cv_math_func_cpowf = yes; then
21258 cat >>confdefs.h
<<_ACEOF
21259 #define HAVE_CPOWF 1
21267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
21268 $as_echo_n "checking for cpow... " >&6; }
21269 if ${gcc_cv_math_func_cpow+:} false
; then :
21270 $as_echo_n "(cached) " >&6
21272 if test x
$gcc_no_link = xyes
; then
21273 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21276 /* end confdefs.h. */
21278 #ifdef HAVE_COMPLEX_H
21279 #include <complex.h>
21285 int (*ptr)() = (int (*)())cpow;
21294 if ac_fn_c_try_link
"$LINENO"; then :
21295 gcc_cv_math_func_cpow
=yes
21297 gcc_cv_math_func_cpow
=no
21299 rm -f core conftest.err conftest.
$ac_objext \
21300 conftest
$ac_exeext conftest.
$ac_ext
21302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21303 $as_echo "$gcc_cv_math_func_cpow" >&6; }
21304 if test $gcc_cv_math_func_cpow = yes; then
21306 cat >>confdefs.h
<<_ACEOF
21307 #define HAVE_CPOW 1
21315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21316 $as_echo_n "checking for cpowl... " >&6; }
21317 if ${gcc_cv_math_func_cpowl+:} false
; then :
21318 $as_echo_n "(cached) " >&6
21320 if test x
$gcc_no_link = xyes
; then
21321 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21324 /* end confdefs.h. */
21326 #ifdef HAVE_COMPLEX_H
21327 #include <complex.h>
21333 int (*ptr)() = (int (*)())cpowl;
21342 if ac_fn_c_try_link
"$LINENO"; then :
21343 gcc_cv_math_func_cpowl
=yes
21345 gcc_cv_math_func_cpowl
=no
21347 rm -f core conftest.err conftest.
$ac_objext \
21348 conftest
$ac_exeext conftest.
$ac_ext
21350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21351 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21352 if test $gcc_cv_math_func_cpowl = yes; then
21354 cat >>confdefs.h
<<_ACEOF
21355 #define HAVE_CPOWL 1
21363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21364 $as_echo_n "checking for roundf... " >&6; }
21365 if ${gcc_cv_math_func_roundf+:} false
; then :
21366 $as_echo_n "(cached) " >&6
21368 if test x
$gcc_no_link = xyes
; then
21369 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21372 /* end confdefs.h. */
21374 #ifdef HAVE_COMPLEX_H
21375 #include <complex.h>
21381 int (*ptr)() = (int (*)())roundf;
21390 if ac_fn_c_try_link
"$LINENO"; then :
21391 gcc_cv_math_func_roundf
=yes
21393 gcc_cv_math_func_roundf
=no
21395 rm -f core conftest.err conftest.
$ac_objext \
21396 conftest
$ac_exeext conftest.
$ac_ext
21398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21399 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21400 if test $gcc_cv_math_func_roundf = yes; then
21402 cat >>confdefs.h
<<_ACEOF
21403 #define HAVE_ROUNDF 1
21411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21412 $as_echo_n "checking for round... " >&6; }
21413 if ${gcc_cv_math_func_round+:} false
; then :
21414 $as_echo_n "(cached) " >&6
21416 if test x
$gcc_no_link = xyes
; then
21417 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21420 /* end confdefs.h. */
21422 #ifdef HAVE_COMPLEX_H
21423 #include <complex.h>
21429 int (*ptr)() = (int (*)())round;
21438 if ac_fn_c_try_link
"$LINENO"; then :
21439 gcc_cv_math_func_round
=yes
21441 gcc_cv_math_func_round
=no
21443 rm -f core conftest.err conftest.
$ac_objext \
21444 conftest
$ac_exeext conftest.
$ac_ext
21446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21447 $as_echo "$gcc_cv_math_func_round" >&6; }
21448 if test $gcc_cv_math_func_round = yes; then
21450 cat >>confdefs.h
<<_ACEOF
21451 #define HAVE_ROUND 1
21459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21460 $as_echo_n "checking for roundl... " >&6; }
21461 if ${gcc_cv_math_func_roundl+:} false
; then :
21462 $as_echo_n "(cached) " >&6
21464 if test x
$gcc_no_link = xyes
; then
21465 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21468 /* end confdefs.h. */
21470 #ifdef HAVE_COMPLEX_H
21471 #include <complex.h>
21477 int (*ptr)() = (int (*)())roundl;
21486 if ac_fn_c_try_link
"$LINENO"; then :
21487 gcc_cv_math_func_roundl
=yes
21489 gcc_cv_math_func_roundl
=no
21491 rm -f core conftest.err conftest.
$ac_objext \
21492 conftest
$ac_exeext conftest.
$ac_ext
21494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21495 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21496 if test $gcc_cv_math_func_roundl = yes; then
21498 cat >>confdefs.h
<<_ACEOF
21499 #define HAVE_ROUNDL 1
21507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21508 $as_echo_n "checking for lroundf... " >&6; }
21509 if ${gcc_cv_math_func_lroundf+:} false
; then :
21510 $as_echo_n "(cached) " >&6
21512 if test x
$gcc_no_link = xyes
; then
21513 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21516 /* end confdefs.h. */
21518 #ifdef HAVE_COMPLEX_H
21519 #include <complex.h>
21525 int (*ptr)() = (int (*)())lroundf;
21534 if ac_fn_c_try_link
"$LINENO"; then :
21535 gcc_cv_math_func_lroundf
=yes
21537 gcc_cv_math_func_lroundf
=no
21539 rm -f core conftest.err conftest.
$ac_objext \
21540 conftest
$ac_exeext conftest.
$ac_ext
21542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21543 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21544 if test $gcc_cv_math_func_lroundf = yes; then
21546 cat >>confdefs.h
<<_ACEOF
21547 #define HAVE_LROUNDF 1
21555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21556 $as_echo_n "checking for lround... " >&6; }
21557 if ${gcc_cv_math_func_lround+:} false
; then :
21558 $as_echo_n "(cached) " >&6
21560 if test x
$gcc_no_link = xyes
; then
21561 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21564 /* end confdefs.h. */
21566 #ifdef HAVE_COMPLEX_H
21567 #include <complex.h>
21573 int (*ptr)() = (int (*)())lround;
21582 if ac_fn_c_try_link
"$LINENO"; then :
21583 gcc_cv_math_func_lround
=yes
21585 gcc_cv_math_func_lround
=no
21587 rm -f core conftest.err conftest.
$ac_objext \
21588 conftest
$ac_exeext conftest.
$ac_ext
21590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21591 $as_echo "$gcc_cv_math_func_lround" >&6; }
21592 if test $gcc_cv_math_func_lround = yes; then
21594 cat >>confdefs.h
<<_ACEOF
21595 #define HAVE_LROUND 1
21603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21604 $as_echo_n "checking for lroundl... " >&6; }
21605 if ${gcc_cv_math_func_lroundl+:} false
; then :
21606 $as_echo_n "(cached) " >&6
21608 if test x
$gcc_no_link = xyes
; then
21609 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21612 /* end confdefs.h. */
21614 #ifdef HAVE_COMPLEX_H
21615 #include <complex.h>
21621 int (*ptr)() = (int (*)())lroundl;
21630 if ac_fn_c_try_link
"$LINENO"; then :
21631 gcc_cv_math_func_lroundl
=yes
21633 gcc_cv_math_func_lroundl
=no
21635 rm -f core conftest.err conftest.
$ac_objext \
21636 conftest
$ac_exeext conftest.
$ac_ext
21638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21639 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21640 if test $gcc_cv_math_func_lroundl = yes; then
21642 cat >>confdefs.h
<<_ACEOF
21643 #define HAVE_LROUNDL 1
21651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21652 $as_echo_n "checking for llroundf... " >&6; }
21653 if ${gcc_cv_math_func_llroundf+:} false
; then :
21654 $as_echo_n "(cached) " >&6
21656 if test x
$gcc_no_link = xyes
; then
21657 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21660 /* end confdefs.h. */
21662 #ifdef HAVE_COMPLEX_H
21663 #include <complex.h>
21669 int (*ptr)() = (int (*)())llroundf;
21678 if ac_fn_c_try_link
"$LINENO"; then :
21679 gcc_cv_math_func_llroundf
=yes
21681 gcc_cv_math_func_llroundf
=no
21683 rm -f core conftest.err conftest.
$ac_objext \
21684 conftest
$ac_exeext conftest.
$ac_ext
21686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21687 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21688 if test $gcc_cv_math_func_llroundf = yes; then
21690 cat >>confdefs.h
<<_ACEOF
21691 #define HAVE_LLROUNDF 1
21699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21700 $as_echo_n "checking for llround... " >&6; }
21701 if ${gcc_cv_math_func_llround+:} false
; then :
21702 $as_echo_n "(cached) " >&6
21704 if test x
$gcc_no_link = xyes
; then
21705 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21708 /* end confdefs.h. */
21710 #ifdef HAVE_COMPLEX_H
21711 #include <complex.h>
21717 int (*ptr)() = (int (*)())llround;
21726 if ac_fn_c_try_link
"$LINENO"; then :
21727 gcc_cv_math_func_llround
=yes
21729 gcc_cv_math_func_llround
=no
21731 rm -f core conftest.err conftest.
$ac_objext \
21732 conftest
$ac_exeext conftest.
$ac_ext
21734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21735 $as_echo "$gcc_cv_math_func_llround" >&6; }
21736 if test $gcc_cv_math_func_llround = yes; then
21738 cat >>confdefs.h
<<_ACEOF
21739 #define HAVE_LLROUND 1
21747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21748 $as_echo_n "checking for llroundl... " >&6; }
21749 if ${gcc_cv_math_func_llroundl+:} false
; then :
21750 $as_echo_n "(cached) " >&6
21752 if test x
$gcc_no_link = xyes
; then
21753 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21756 /* end confdefs.h. */
21758 #ifdef HAVE_COMPLEX_H
21759 #include <complex.h>
21765 int (*ptr)() = (int (*)())llroundl;
21774 if ac_fn_c_try_link
"$LINENO"; then :
21775 gcc_cv_math_func_llroundl
=yes
21777 gcc_cv_math_func_llroundl
=no
21779 rm -f core conftest.err conftest.
$ac_objext \
21780 conftest
$ac_exeext conftest.
$ac_ext
21782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21783 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21784 if test $gcc_cv_math_func_llroundl = yes; then
21786 cat >>confdefs.h
<<_ACEOF
21787 #define HAVE_LLROUNDL 1
21795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21796 $as_echo_n "checking for scalbnf... " >&6; }
21797 if ${gcc_cv_math_func_scalbnf+:} false
; then :
21798 $as_echo_n "(cached) " >&6
21800 if test x
$gcc_no_link = xyes
; then
21801 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21804 /* end confdefs.h. */
21806 #ifdef HAVE_COMPLEX_H
21807 #include <complex.h>
21813 int (*ptr)() = (int (*)())scalbnf;
21822 if ac_fn_c_try_link
"$LINENO"; then :
21823 gcc_cv_math_func_scalbnf
=yes
21825 gcc_cv_math_func_scalbnf
=no
21827 rm -f core conftest.err conftest.
$ac_objext \
21828 conftest
$ac_exeext conftest.
$ac_ext
21830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21831 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21832 if test $gcc_cv_math_func_scalbnf = yes; then
21834 cat >>confdefs.h
<<_ACEOF
21835 #define HAVE_SCALBNF 1
21843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21844 $as_echo_n "checking for scalbn... " >&6; }
21845 if ${gcc_cv_math_func_scalbn+:} false
; then :
21846 $as_echo_n "(cached) " >&6
21848 if test x
$gcc_no_link = xyes
; then
21849 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21852 /* end confdefs.h. */
21854 #ifdef HAVE_COMPLEX_H
21855 #include <complex.h>
21861 int (*ptr)() = (int (*)())scalbn;
21870 if ac_fn_c_try_link
"$LINENO"; then :
21871 gcc_cv_math_func_scalbn
=yes
21873 gcc_cv_math_func_scalbn
=no
21875 rm -f core conftest.err conftest.
$ac_objext \
21876 conftest
$ac_exeext conftest.
$ac_ext
21878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21879 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
21880 if test $gcc_cv_math_func_scalbn = yes; then
21882 cat >>confdefs.h
<<_ACEOF
21883 #define HAVE_SCALBN 1
21891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21892 $as_echo_n "checking for scalbnl... " >&6; }
21893 if ${gcc_cv_math_func_scalbnl+:} false
; then :
21894 $as_echo_n "(cached) " >&6
21896 if test x
$gcc_no_link = xyes
; then
21897 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21900 /* end confdefs.h. */
21902 #ifdef HAVE_COMPLEX_H
21903 #include <complex.h>
21909 int (*ptr)() = (int (*)())scalbnl;
21918 if ac_fn_c_try_link
"$LINENO"; then :
21919 gcc_cv_math_func_scalbnl
=yes
21921 gcc_cv_math_func_scalbnl
=no
21923 rm -f core conftest.err conftest.
$ac_objext \
21924 conftest
$ac_exeext conftest.
$ac_ext
21926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21927 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21928 if test $gcc_cv_math_func_scalbnl = yes; then
21930 cat >>confdefs.h
<<_ACEOF
21931 #define HAVE_SCALBNL 1
21939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21940 $as_echo_n "checking for sinf... " >&6; }
21941 if ${gcc_cv_math_func_sinf+:} false
; then :
21942 $as_echo_n "(cached) " >&6
21944 if test x
$gcc_no_link = xyes
; then
21945 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21948 /* end confdefs.h. */
21950 #ifdef HAVE_COMPLEX_H
21951 #include <complex.h>
21957 int (*ptr)() = (int (*)())sinf;
21966 if ac_fn_c_try_link
"$LINENO"; then :
21967 gcc_cv_math_func_sinf
=yes
21969 gcc_cv_math_func_sinf
=no
21971 rm -f core conftest.err conftest.
$ac_objext \
21972 conftest
$ac_exeext conftest.
$ac_ext
21974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21975 $as_echo "$gcc_cv_math_func_sinf" >&6; }
21976 if test $gcc_cv_math_func_sinf = yes; then
21978 cat >>confdefs.h
<<_ACEOF
21979 #define HAVE_SINF 1
21987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21988 $as_echo_n "checking for sin... " >&6; }
21989 if ${gcc_cv_math_func_sin+:} false
; then :
21990 $as_echo_n "(cached) " >&6
21992 if test x
$gcc_no_link = xyes
; then
21993 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21996 /* end confdefs.h. */
21998 #ifdef HAVE_COMPLEX_H
21999 #include <complex.h>
22005 int (*ptr)() = (int (*)())sin;
22014 if ac_fn_c_try_link
"$LINENO"; then :
22015 gcc_cv_math_func_sin
=yes
22017 gcc_cv_math_func_sin
=no
22019 rm -f core conftest.err conftest.
$ac_objext \
22020 conftest
$ac_exeext conftest.
$ac_ext
22022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
22023 $as_echo "$gcc_cv_math_func_sin" >&6; }
22024 if test $gcc_cv_math_func_sin = yes; then
22026 cat >>confdefs.h
<<_ACEOF
22035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
22036 $as_echo_n "checking for sinl... " >&6; }
22037 if ${gcc_cv_math_func_sinl+:} false
; then :
22038 $as_echo_n "(cached) " >&6
22040 if test x
$gcc_no_link = xyes
; then
22041 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22044 /* end confdefs.h. */
22046 #ifdef HAVE_COMPLEX_H
22047 #include <complex.h>
22053 int (*ptr)() = (int (*)())sinl;
22062 if ac_fn_c_try_link
"$LINENO"; then :
22063 gcc_cv_math_func_sinl
=yes
22065 gcc_cv_math_func_sinl
=no
22067 rm -f core conftest.err conftest.
$ac_objext \
22068 conftest
$ac_exeext conftest.
$ac_ext
22070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
22071 $as_echo "$gcc_cv_math_func_sinl" >&6; }
22072 if test $gcc_cv_math_func_sinl = yes; then
22074 cat >>confdefs.h
<<_ACEOF
22075 #define HAVE_SINL 1
22083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
22084 $as_echo_n "checking for csinf... " >&6; }
22085 if ${gcc_cv_math_func_csinf+:} false
; then :
22086 $as_echo_n "(cached) " >&6
22088 if test x
$gcc_no_link = xyes
; then
22089 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22092 /* end confdefs.h. */
22094 #ifdef HAVE_COMPLEX_H
22095 #include <complex.h>
22101 int (*ptr)() = (int (*)())csinf;
22110 if ac_fn_c_try_link
"$LINENO"; then :
22111 gcc_cv_math_func_csinf
=yes
22113 gcc_cv_math_func_csinf
=no
22115 rm -f core conftest.err conftest.
$ac_objext \
22116 conftest
$ac_exeext conftest.
$ac_ext
22118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
22119 $as_echo "$gcc_cv_math_func_csinf" >&6; }
22120 if test $gcc_cv_math_func_csinf = yes; then
22122 cat >>confdefs.h
<<_ACEOF
22123 #define HAVE_CSINF 1
22131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
22132 $as_echo_n "checking for csin... " >&6; }
22133 if ${gcc_cv_math_func_csin+:} false
; then :
22134 $as_echo_n "(cached) " >&6
22136 if test x
$gcc_no_link = xyes
; then
22137 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22140 /* end confdefs.h. */
22142 #ifdef HAVE_COMPLEX_H
22143 #include <complex.h>
22149 int (*ptr)() = (int (*)())csin;
22158 if ac_fn_c_try_link
"$LINENO"; then :
22159 gcc_cv_math_func_csin
=yes
22161 gcc_cv_math_func_csin
=no
22163 rm -f core conftest.err conftest.
$ac_objext \
22164 conftest
$ac_exeext conftest.
$ac_ext
22166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
22167 $as_echo "$gcc_cv_math_func_csin" >&6; }
22168 if test $gcc_cv_math_func_csin = yes; then
22170 cat >>confdefs.h
<<_ACEOF
22171 #define HAVE_CSIN 1
22179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
22180 $as_echo_n "checking for csinl... " >&6; }
22181 if ${gcc_cv_math_func_csinl+:} false
; then :
22182 $as_echo_n "(cached) " >&6
22184 if test x
$gcc_no_link = xyes
; then
22185 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22188 /* end confdefs.h. */
22190 #ifdef HAVE_COMPLEX_H
22191 #include <complex.h>
22197 int (*ptr)() = (int (*)())csinl;
22206 if ac_fn_c_try_link
"$LINENO"; then :
22207 gcc_cv_math_func_csinl
=yes
22209 gcc_cv_math_func_csinl
=no
22211 rm -f core conftest.err conftest.
$ac_objext \
22212 conftest
$ac_exeext conftest.
$ac_ext
22214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
22215 $as_echo "$gcc_cv_math_func_csinl" >&6; }
22216 if test $gcc_cv_math_func_csinl = yes; then
22218 cat >>confdefs.h
<<_ACEOF
22219 #define HAVE_CSINL 1
22227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
22228 $as_echo_n "checking for sinhf... " >&6; }
22229 if ${gcc_cv_math_func_sinhf+:} false
; then :
22230 $as_echo_n "(cached) " >&6
22232 if test x
$gcc_no_link = xyes
; then
22233 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22236 /* end confdefs.h. */
22238 #ifdef HAVE_COMPLEX_H
22239 #include <complex.h>
22245 int (*ptr)() = (int (*)())sinhf;
22254 if ac_fn_c_try_link
"$LINENO"; then :
22255 gcc_cv_math_func_sinhf
=yes
22257 gcc_cv_math_func_sinhf
=no
22259 rm -f core conftest.err conftest.
$ac_objext \
22260 conftest
$ac_exeext conftest.
$ac_ext
22262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
22263 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
22264 if test $gcc_cv_math_func_sinhf = yes; then
22266 cat >>confdefs.h
<<_ACEOF
22267 #define HAVE_SINHF 1
22275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
22276 $as_echo_n "checking for sinh... " >&6; }
22277 if ${gcc_cv_math_func_sinh+:} false
; then :
22278 $as_echo_n "(cached) " >&6
22280 if test x
$gcc_no_link = xyes
; then
22281 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22284 /* end confdefs.h. */
22286 #ifdef HAVE_COMPLEX_H
22287 #include <complex.h>
22293 int (*ptr)() = (int (*)())sinh;
22302 if ac_fn_c_try_link
"$LINENO"; then :
22303 gcc_cv_math_func_sinh
=yes
22305 gcc_cv_math_func_sinh
=no
22307 rm -f core conftest.err conftest.
$ac_objext \
22308 conftest
$ac_exeext conftest.
$ac_ext
22310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22311 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22312 if test $gcc_cv_math_func_sinh = yes; then
22314 cat >>confdefs.h
<<_ACEOF
22315 #define HAVE_SINH 1
22323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22324 $as_echo_n "checking for sinhl... " >&6; }
22325 if ${gcc_cv_math_func_sinhl+:} false
; then :
22326 $as_echo_n "(cached) " >&6
22328 if test x
$gcc_no_link = xyes
; then
22329 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22332 /* end confdefs.h. */
22334 #ifdef HAVE_COMPLEX_H
22335 #include <complex.h>
22341 int (*ptr)() = (int (*)())sinhl;
22350 if ac_fn_c_try_link
"$LINENO"; then :
22351 gcc_cv_math_func_sinhl
=yes
22353 gcc_cv_math_func_sinhl
=no
22355 rm -f core conftest.err conftest.
$ac_objext \
22356 conftest
$ac_exeext conftest.
$ac_ext
22358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22359 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22360 if test $gcc_cv_math_func_sinhl = yes; then
22362 cat >>confdefs.h
<<_ACEOF
22363 #define HAVE_SINHL 1
22371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22372 $as_echo_n "checking for csinhf... " >&6; }
22373 if ${gcc_cv_math_func_csinhf+:} false
; then :
22374 $as_echo_n "(cached) " >&6
22376 if test x
$gcc_no_link = xyes
; then
22377 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22380 /* end confdefs.h. */
22382 #ifdef HAVE_COMPLEX_H
22383 #include <complex.h>
22389 int (*ptr)() = (int (*)())csinhf;
22398 if ac_fn_c_try_link
"$LINENO"; then :
22399 gcc_cv_math_func_csinhf
=yes
22401 gcc_cv_math_func_csinhf
=no
22403 rm -f core conftest.err conftest.
$ac_objext \
22404 conftest
$ac_exeext conftest.
$ac_ext
22406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22407 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22408 if test $gcc_cv_math_func_csinhf = yes; then
22410 cat >>confdefs.h
<<_ACEOF
22411 #define HAVE_CSINHF 1
22419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22420 $as_echo_n "checking for csinh... " >&6; }
22421 if ${gcc_cv_math_func_csinh+:} false
; then :
22422 $as_echo_n "(cached) " >&6
22424 if test x
$gcc_no_link = xyes
; then
22425 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22428 /* end confdefs.h. */
22430 #ifdef HAVE_COMPLEX_H
22431 #include <complex.h>
22437 int (*ptr)() = (int (*)())csinh;
22446 if ac_fn_c_try_link
"$LINENO"; then :
22447 gcc_cv_math_func_csinh
=yes
22449 gcc_cv_math_func_csinh
=no
22451 rm -f core conftest.err conftest.
$ac_objext \
22452 conftest
$ac_exeext conftest.
$ac_ext
22454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22455 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22456 if test $gcc_cv_math_func_csinh = yes; then
22458 cat >>confdefs.h
<<_ACEOF
22459 #define HAVE_CSINH 1
22467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22468 $as_echo_n "checking for csinhl... " >&6; }
22469 if ${gcc_cv_math_func_csinhl+:} false
; then :
22470 $as_echo_n "(cached) " >&6
22472 if test x
$gcc_no_link = xyes
; then
22473 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22476 /* end confdefs.h. */
22478 #ifdef HAVE_COMPLEX_H
22479 #include <complex.h>
22485 int (*ptr)() = (int (*)())csinhl;
22494 if ac_fn_c_try_link
"$LINENO"; then :
22495 gcc_cv_math_func_csinhl
=yes
22497 gcc_cv_math_func_csinhl
=no
22499 rm -f core conftest.err conftest.
$ac_objext \
22500 conftest
$ac_exeext conftest.
$ac_ext
22502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22503 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22504 if test $gcc_cv_math_func_csinhl = yes; then
22506 cat >>confdefs.h
<<_ACEOF
22507 #define HAVE_CSINHL 1
22515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22516 $as_echo_n "checking for sqrtf... " >&6; }
22517 if ${gcc_cv_math_func_sqrtf+:} false
; then :
22518 $as_echo_n "(cached) " >&6
22520 if test x
$gcc_no_link = xyes
; then
22521 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22524 /* end confdefs.h. */
22526 #ifdef HAVE_COMPLEX_H
22527 #include <complex.h>
22533 int (*ptr)() = (int (*)())sqrtf;
22542 if ac_fn_c_try_link
"$LINENO"; then :
22543 gcc_cv_math_func_sqrtf
=yes
22545 gcc_cv_math_func_sqrtf
=no
22547 rm -f core conftest.err conftest.
$ac_objext \
22548 conftest
$ac_exeext conftest.
$ac_ext
22550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22551 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22552 if test $gcc_cv_math_func_sqrtf = yes; then
22554 cat >>confdefs.h
<<_ACEOF
22555 #define HAVE_SQRTF 1
22563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22564 $as_echo_n "checking for sqrt... " >&6; }
22565 if ${gcc_cv_math_func_sqrt+:} false
; then :
22566 $as_echo_n "(cached) " >&6
22568 if test x
$gcc_no_link = xyes
; then
22569 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22572 /* end confdefs.h. */
22574 #ifdef HAVE_COMPLEX_H
22575 #include <complex.h>
22581 int (*ptr)() = (int (*)())sqrt;
22590 if ac_fn_c_try_link
"$LINENO"; then :
22591 gcc_cv_math_func_sqrt
=yes
22593 gcc_cv_math_func_sqrt
=no
22595 rm -f core conftest.err conftest.
$ac_objext \
22596 conftest
$ac_exeext conftest.
$ac_ext
22598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22599 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22600 if test $gcc_cv_math_func_sqrt = yes; then
22602 cat >>confdefs.h
<<_ACEOF
22603 #define HAVE_SQRT 1
22611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22612 $as_echo_n "checking for sqrtl... " >&6; }
22613 if ${gcc_cv_math_func_sqrtl+:} false
; then :
22614 $as_echo_n "(cached) " >&6
22616 if test x
$gcc_no_link = xyes
; then
22617 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22620 /* end confdefs.h. */
22622 #ifdef HAVE_COMPLEX_H
22623 #include <complex.h>
22629 int (*ptr)() = (int (*)())sqrtl;
22638 if ac_fn_c_try_link
"$LINENO"; then :
22639 gcc_cv_math_func_sqrtl
=yes
22641 gcc_cv_math_func_sqrtl
=no
22643 rm -f core conftest.err conftest.
$ac_objext \
22644 conftest
$ac_exeext conftest.
$ac_ext
22646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22647 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22648 if test $gcc_cv_math_func_sqrtl = yes; then
22650 cat >>confdefs.h
<<_ACEOF
22651 #define HAVE_SQRTL 1
22659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22660 $as_echo_n "checking for csqrtf... " >&6; }
22661 if ${gcc_cv_math_func_csqrtf+:} false
; then :
22662 $as_echo_n "(cached) " >&6
22664 if test x
$gcc_no_link = xyes
; then
22665 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22668 /* end confdefs.h. */
22670 #ifdef HAVE_COMPLEX_H
22671 #include <complex.h>
22677 int (*ptr)() = (int (*)())csqrtf;
22686 if ac_fn_c_try_link
"$LINENO"; then :
22687 gcc_cv_math_func_csqrtf
=yes
22689 gcc_cv_math_func_csqrtf
=no
22691 rm -f core conftest.err conftest.
$ac_objext \
22692 conftest
$ac_exeext conftest.
$ac_ext
22694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22695 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22696 if test $gcc_cv_math_func_csqrtf = yes; then
22698 cat >>confdefs.h
<<_ACEOF
22699 #define HAVE_CSQRTF 1
22707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22708 $as_echo_n "checking for csqrt... " >&6; }
22709 if ${gcc_cv_math_func_csqrt+:} false
; then :
22710 $as_echo_n "(cached) " >&6
22712 if test x
$gcc_no_link = xyes
; then
22713 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22716 /* end confdefs.h. */
22718 #ifdef HAVE_COMPLEX_H
22719 #include <complex.h>
22725 int (*ptr)() = (int (*)())csqrt;
22734 if ac_fn_c_try_link
"$LINENO"; then :
22735 gcc_cv_math_func_csqrt
=yes
22737 gcc_cv_math_func_csqrt
=no
22739 rm -f core conftest.err conftest.
$ac_objext \
22740 conftest
$ac_exeext conftest.
$ac_ext
22742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22743 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22744 if test $gcc_cv_math_func_csqrt = yes; then
22746 cat >>confdefs.h
<<_ACEOF
22747 #define HAVE_CSQRT 1
22755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22756 $as_echo_n "checking for csqrtl... " >&6; }
22757 if ${gcc_cv_math_func_csqrtl+:} false
; then :
22758 $as_echo_n "(cached) " >&6
22760 if test x
$gcc_no_link = xyes
; then
22761 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22764 /* end confdefs.h. */
22766 #ifdef HAVE_COMPLEX_H
22767 #include <complex.h>
22773 int (*ptr)() = (int (*)())csqrtl;
22782 if ac_fn_c_try_link
"$LINENO"; then :
22783 gcc_cv_math_func_csqrtl
=yes
22785 gcc_cv_math_func_csqrtl
=no
22787 rm -f core conftest.err conftest.
$ac_objext \
22788 conftest
$ac_exeext conftest.
$ac_ext
22790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22791 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22792 if test $gcc_cv_math_func_csqrtl = yes; then
22794 cat >>confdefs.h
<<_ACEOF
22795 #define HAVE_CSQRTL 1
22803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22804 $as_echo_n "checking for tanf... " >&6; }
22805 if ${gcc_cv_math_func_tanf+:} false
; then :
22806 $as_echo_n "(cached) " >&6
22808 if test x
$gcc_no_link = xyes
; then
22809 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22812 /* end confdefs.h. */
22814 #ifdef HAVE_COMPLEX_H
22815 #include <complex.h>
22821 int (*ptr)() = (int (*)())tanf;
22830 if ac_fn_c_try_link
"$LINENO"; then :
22831 gcc_cv_math_func_tanf
=yes
22833 gcc_cv_math_func_tanf
=no
22835 rm -f core conftest.err conftest.
$ac_objext \
22836 conftest
$ac_exeext conftest.
$ac_ext
22838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22839 $as_echo "$gcc_cv_math_func_tanf" >&6; }
22840 if test $gcc_cv_math_func_tanf = yes; then
22842 cat >>confdefs.h
<<_ACEOF
22843 #define HAVE_TANF 1
22851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22852 $as_echo_n "checking for tan... " >&6; }
22853 if ${gcc_cv_math_func_tan+:} false
; then :
22854 $as_echo_n "(cached) " >&6
22856 if test x
$gcc_no_link = xyes
; then
22857 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22860 /* end confdefs.h. */
22862 #ifdef HAVE_COMPLEX_H
22863 #include <complex.h>
22869 int (*ptr)() = (int (*)())tan;
22878 if ac_fn_c_try_link
"$LINENO"; then :
22879 gcc_cv_math_func_tan
=yes
22881 gcc_cv_math_func_tan
=no
22883 rm -f core conftest.err conftest.
$ac_objext \
22884 conftest
$ac_exeext conftest.
$ac_ext
22886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22887 $as_echo "$gcc_cv_math_func_tan" >&6; }
22888 if test $gcc_cv_math_func_tan = yes; then
22890 cat >>confdefs.h
<<_ACEOF
22899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22900 $as_echo_n "checking for tanl... " >&6; }
22901 if ${gcc_cv_math_func_tanl+:} false
; then :
22902 $as_echo_n "(cached) " >&6
22904 if test x
$gcc_no_link = xyes
; then
22905 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22908 /* end confdefs.h. */
22910 #ifdef HAVE_COMPLEX_H
22911 #include <complex.h>
22917 int (*ptr)() = (int (*)())tanl;
22926 if ac_fn_c_try_link
"$LINENO"; then :
22927 gcc_cv_math_func_tanl
=yes
22929 gcc_cv_math_func_tanl
=no
22931 rm -f core conftest.err conftest.
$ac_objext \
22932 conftest
$ac_exeext conftest.
$ac_ext
22934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22935 $as_echo "$gcc_cv_math_func_tanl" >&6; }
22936 if test $gcc_cv_math_func_tanl = yes; then
22938 cat >>confdefs.h
<<_ACEOF
22939 #define HAVE_TANL 1
22947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22948 $as_echo_n "checking for ctanf... " >&6; }
22949 if ${gcc_cv_math_func_ctanf+:} false
; then :
22950 $as_echo_n "(cached) " >&6
22952 if test x
$gcc_no_link = xyes
; then
22953 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22956 /* end confdefs.h. */
22958 #ifdef HAVE_COMPLEX_H
22959 #include <complex.h>
22965 int (*ptr)() = (int (*)())ctanf;
22974 if ac_fn_c_try_link
"$LINENO"; then :
22975 gcc_cv_math_func_ctanf
=yes
22977 gcc_cv_math_func_ctanf
=no
22979 rm -f core conftest.err conftest.
$ac_objext \
22980 conftest
$ac_exeext conftest.
$ac_ext
22982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22983 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
22984 if test $gcc_cv_math_func_ctanf = yes; then
22986 cat >>confdefs.h
<<_ACEOF
22987 #define HAVE_CTANF 1
22995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22996 $as_echo_n "checking for ctan... " >&6; }
22997 if ${gcc_cv_math_func_ctan+:} false
; then :
22998 $as_echo_n "(cached) " >&6
23000 if test x
$gcc_no_link = xyes
; then
23001 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23004 /* end confdefs.h. */
23006 #ifdef HAVE_COMPLEX_H
23007 #include <complex.h>
23013 int (*ptr)() = (int (*)())ctan;
23022 if ac_fn_c_try_link
"$LINENO"; then :
23023 gcc_cv_math_func_ctan
=yes
23025 gcc_cv_math_func_ctan
=no
23027 rm -f core conftest.err conftest.
$ac_objext \
23028 conftest
$ac_exeext conftest.
$ac_ext
23030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
23031 $as_echo "$gcc_cv_math_func_ctan" >&6; }
23032 if test $gcc_cv_math_func_ctan = yes; then
23034 cat >>confdefs.h
<<_ACEOF
23035 #define HAVE_CTAN 1
23043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
23044 $as_echo_n "checking for ctanl... " >&6; }
23045 if ${gcc_cv_math_func_ctanl+:} false
; then :
23046 $as_echo_n "(cached) " >&6
23048 if test x
$gcc_no_link = xyes
; then
23049 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23052 /* end confdefs.h. */
23054 #ifdef HAVE_COMPLEX_H
23055 #include <complex.h>
23061 int (*ptr)() = (int (*)())ctanl;
23070 if ac_fn_c_try_link
"$LINENO"; then :
23071 gcc_cv_math_func_ctanl
=yes
23073 gcc_cv_math_func_ctanl
=no
23075 rm -f core conftest.err conftest.
$ac_objext \
23076 conftest
$ac_exeext conftest.
$ac_ext
23078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
23079 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
23080 if test $gcc_cv_math_func_ctanl = yes; then
23082 cat >>confdefs.h
<<_ACEOF
23083 #define HAVE_CTANL 1
23091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
23092 $as_echo_n "checking for tanhf... " >&6; }
23093 if ${gcc_cv_math_func_tanhf+:} false
; then :
23094 $as_echo_n "(cached) " >&6
23096 if test x
$gcc_no_link = xyes
; then
23097 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23100 /* end confdefs.h. */
23102 #ifdef HAVE_COMPLEX_H
23103 #include <complex.h>
23109 int (*ptr)() = (int (*)())tanhf;
23118 if ac_fn_c_try_link
"$LINENO"; then :
23119 gcc_cv_math_func_tanhf
=yes
23121 gcc_cv_math_func_tanhf
=no
23123 rm -f core conftest.err conftest.
$ac_objext \
23124 conftest
$ac_exeext conftest.
$ac_ext
23126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
23127 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
23128 if test $gcc_cv_math_func_tanhf = yes; then
23130 cat >>confdefs.h
<<_ACEOF
23131 #define HAVE_TANHF 1
23139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
23140 $as_echo_n "checking for tanh... " >&6; }
23141 if ${gcc_cv_math_func_tanh+:} false
; then :
23142 $as_echo_n "(cached) " >&6
23144 if test x
$gcc_no_link = xyes
; then
23145 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23148 /* end confdefs.h. */
23150 #ifdef HAVE_COMPLEX_H
23151 #include <complex.h>
23157 int (*ptr)() = (int (*)())tanh;
23166 if ac_fn_c_try_link
"$LINENO"; then :
23167 gcc_cv_math_func_tanh
=yes
23169 gcc_cv_math_func_tanh
=no
23171 rm -f core conftest.err conftest.
$ac_objext \
23172 conftest
$ac_exeext conftest.
$ac_ext
23174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
23175 $as_echo "$gcc_cv_math_func_tanh" >&6; }
23176 if test $gcc_cv_math_func_tanh = yes; then
23178 cat >>confdefs.h
<<_ACEOF
23179 #define HAVE_TANH 1
23187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
23188 $as_echo_n "checking for tanhl... " >&6; }
23189 if ${gcc_cv_math_func_tanhl+:} false
; then :
23190 $as_echo_n "(cached) " >&6
23192 if test x
$gcc_no_link = xyes
; then
23193 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23196 /* end confdefs.h. */
23198 #ifdef HAVE_COMPLEX_H
23199 #include <complex.h>
23205 int (*ptr)() = (int (*)())tanhl;
23214 if ac_fn_c_try_link
"$LINENO"; then :
23215 gcc_cv_math_func_tanhl
=yes
23217 gcc_cv_math_func_tanhl
=no
23219 rm -f core conftest.err conftest.
$ac_objext \
23220 conftest
$ac_exeext conftest.
$ac_ext
23222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
23223 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
23224 if test $gcc_cv_math_func_tanhl = yes; then
23226 cat >>confdefs.h
<<_ACEOF
23227 #define HAVE_TANHL 1
23235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
23236 $as_echo_n "checking for ctanhf... " >&6; }
23237 if ${gcc_cv_math_func_ctanhf+:} false
; then :
23238 $as_echo_n "(cached) " >&6
23240 if test x
$gcc_no_link = xyes
; then
23241 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23244 /* end confdefs.h. */
23246 #ifdef HAVE_COMPLEX_H
23247 #include <complex.h>
23253 int (*ptr)() = (int (*)())ctanhf;
23262 if ac_fn_c_try_link
"$LINENO"; then :
23263 gcc_cv_math_func_ctanhf
=yes
23265 gcc_cv_math_func_ctanhf
=no
23267 rm -f core conftest.err conftest.
$ac_objext \
23268 conftest
$ac_exeext conftest.
$ac_ext
23270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
23271 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
23272 if test $gcc_cv_math_func_ctanhf = yes; then
23274 cat >>confdefs.h
<<_ACEOF
23275 #define HAVE_CTANHF 1
23283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
23284 $as_echo_n "checking for ctanh... " >&6; }
23285 if ${gcc_cv_math_func_ctanh+:} false
; then :
23286 $as_echo_n "(cached) " >&6
23288 if test x
$gcc_no_link = xyes
; then
23289 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23292 /* end confdefs.h. */
23294 #ifdef HAVE_COMPLEX_H
23295 #include <complex.h>
23301 int (*ptr)() = (int (*)())ctanh;
23310 if ac_fn_c_try_link
"$LINENO"; then :
23311 gcc_cv_math_func_ctanh
=yes
23313 gcc_cv_math_func_ctanh
=no
23315 rm -f core conftest.err conftest.
$ac_objext \
23316 conftest
$ac_exeext conftest.
$ac_ext
23318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23319 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23320 if test $gcc_cv_math_func_ctanh = yes; then
23322 cat >>confdefs.h
<<_ACEOF
23323 #define HAVE_CTANH 1
23331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23332 $as_echo_n "checking for ctanhl... " >&6; }
23333 if ${gcc_cv_math_func_ctanhl+:} false
; then :
23334 $as_echo_n "(cached) " >&6
23336 if test x
$gcc_no_link = xyes
; then
23337 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23340 /* end confdefs.h. */
23342 #ifdef HAVE_COMPLEX_H
23343 #include <complex.h>
23349 int (*ptr)() = (int (*)())ctanhl;
23358 if ac_fn_c_try_link
"$LINENO"; then :
23359 gcc_cv_math_func_ctanhl
=yes
23361 gcc_cv_math_func_ctanhl
=no
23363 rm -f core conftest.err conftest.
$ac_objext \
23364 conftest
$ac_exeext conftest.
$ac_ext
23366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23367 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23368 if test $gcc_cv_math_func_ctanhl = yes; then
23370 cat >>confdefs.h
<<_ACEOF
23371 #define HAVE_CTANHL 1
23379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23380 $as_echo_n "checking for truncf... " >&6; }
23381 if ${gcc_cv_math_func_truncf+:} false
; then :
23382 $as_echo_n "(cached) " >&6
23384 if test x
$gcc_no_link = xyes
; then
23385 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23388 /* end confdefs.h. */
23390 #ifdef HAVE_COMPLEX_H
23391 #include <complex.h>
23397 int (*ptr)() = (int (*)())truncf;
23406 if ac_fn_c_try_link
"$LINENO"; then :
23407 gcc_cv_math_func_truncf
=yes
23409 gcc_cv_math_func_truncf
=no
23411 rm -f core conftest.err conftest.
$ac_objext \
23412 conftest
$ac_exeext conftest.
$ac_ext
23414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23415 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23416 if test $gcc_cv_math_func_truncf = yes; then
23418 cat >>confdefs.h
<<_ACEOF
23419 #define HAVE_TRUNCF 1
23427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23428 $as_echo_n "checking for trunc... " >&6; }
23429 if ${gcc_cv_math_func_trunc+:} false
; then :
23430 $as_echo_n "(cached) " >&6
23432 if test x
$gcc_no_link = xyes
; then
23433 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23436 /* end confdefs.h. */
23438 #ifdef HAVE_COMPLEX_H
23439 #include <complex.h>
23445 int (*ptr)() = (int (*)())trunc;
23454 if ac_fn_c_try_link
"$LINENO"; then :
23455 gcc_cv_math_func_trunc
=yes
23457 gcc_cv_math_func_trunc
=no
23459 rm -f core conftest.err conftest.
$ac_objext \
23460 conftest
$ac_exeext conftest.
$ac_ext
23462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23463 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23464 if test $gcc_cv_math_func_trunc = yes; then
23466 cat >>confdefs.h
<<_ACEOF
23467 #define HAVE_TRUNC 1
23475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23476 $as_echo_n "checking for truncl... " >&6; }
23477 if ${gcc_cv_math_func_truncl+:} false
; then :
23478 $as_echo_n "(cached) " >&6
23480 if test x
$gcc_no_link = xyes
; then
23481 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23484 /* end confdefs.h. */
23486 #ifdef HAVE_COMPLEX_H
23487 #include <complex.h>
23493 int (*ptr)() = (int (*)())truncl;
23502 if ac_fn_c_try_link
"$LINENO"; then :
23503 gcc_cv_math_func_truncl
=yes
23505 gcc_cv_math_func_truncl
=no
23507 rm -f core conftest.err conftest.
$ac_objext \
23508 conftest
$ac_exeext conftest.
$ac_ext
23510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23511 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23512 if test $gcc_cv_math_func_truncl = yes; then
23514 cat >>confdefs.h
<<_ACEOF
23515 #define HAVE_TRUNCL 1
23523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23524 $as_echo_n "checking for erff... " >&6; }
23525 if ${gcc_cv_math_func_erff+:} false
; then :
23526 $as_echo_n "(cached) " >&6
23528 if test x
$gcc_no_link = xyes
; then
23529 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23532 /* end confdefs.h. */
23534 #ifdef HAVE_COMPLEX_H
23535 #include <complex.h>
23541 int (*ptr)() = (int (*)())erff;
23550 if ac_fn_c_try_link
"$LINENO"; then :
23551 gcc_cv_math_func_erff
=yes
23553 gcc_cv_math_func_erff
=no
23555 rm -f core conftest.err conftest.
$ac_objext \
23556 conftest
$ac_exeext conftest.
$ac_ext
23558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23559 $as_echo "$gcc_cv_math_func_erff" >&6; }
23560 if test $gcc_cv_math_func_erff = yes; then
23562 cat >>confdefs.h
<<_ACEOF
23563 #define HAVE_ERFF 1
23571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23572 $as_echo_n "checking for erf... " >&6; }
23573 if ${gcc_cv_math_func_erf+:} false
; then :
23574 $as_echo_n "(cached) " >&6
23576 if test x
$gcc_no_link = xyes
; then
23577 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23580 /* end confdefs.h. */
23582 #ifdef HAVE_COMPLEX_H
23583 #include <complex.h>
23589 int (*ptr)() = (int (*)())erf;
23598 if ac_fn_c_try_link
"$LINENO"; then :
23599 gcc_cv_math_func_erf
=yes
23601 gcc_cv_math_func_erf
=no
23603 rm -f core conftest.err conftest.
$ac_objext \
23604 conftest
$ac_exeext conftest.
$ac_ext
23606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23607 $as_echo "$gcc_cv_math_func_erf" >&6; }
23608 if test $gcc_cv_math_func_erf = yes; then
23610 cat >>confdefs.h
<<_ACEOF
23619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23620 $as_echo_n "checking for erfcf... " >&6; }
23621 if ${gcc_cv_math_func_erfcf+:} false
; then :
23622 $as_echo_n "(cached) " >&6
23624 if test x
$gcc_no_link = xyes
; then
23625 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23628 /* end confdefs.h. */
23630 #ifdef HAVE_COMPLEX_H
23631 #include <complex.h>
23637 int (*ptr)() = (int (*)())erfcf;
23646 if ac_fn_c_try_link
"$LINENO"; then :
23647 gcc_cv_math_func_erfcf
=yes
23649 gcc_cv_math_func_erfcf
=no
23651 rm -f core conftest.err conftest.
$ac_objext \
23652 conftest
$ac_exeext conftest.
$ac_ext
23654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23655 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23656 if test $gcc_cv_math_func_erfcf = yes; then
23658 cat >>confdefs.h
<<_ACEOF
23659 #define HAVE_ERFCF 1
23667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23668 $as_echo_n "checking for erfc... " >&6; }
23669 if ${gcc_cv_math_func_erfc+:} false
; then :
23670 $as_echo_n "(cached) " >&6
23672 if test x
$gcc_no_link = xyes
; then
23673 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23676 /* end confdefs.h. */
23678 #ifdef HAVE_COMPLEX_H
23679 #include <complex.h>
23685 int (*ptr)() = (int (*)())erfc;
23694 if ac_fn_c_try_link
"$LINENO"; then :
23695 gcc_cv_math_func_erfc
=yes
23697 gcc_cv_math_func_erfc
=no
23699 rm -f core conftest.err conftest.
$ac_objext \
23700 conftest
$ac_exeext conftest.
$ac_ext
23702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23703 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23704 if test $gcc_cv_math_func_erfc = yes; then
23706 cat >>confdefs.h
<<_ACEOF
23707 #define HAVE_ERFC 1
23715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23716 $as_echo_n "checking for erfcl... " >&6; }
23717 if ${gcc_cv_math_func_erfcl+:} false
; then :
23718 $as_echo_n "(cached) " >&6
23720 if test x
$gcc_no_link = xyes
; then
23721 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23724 /* end confdefs.h. */
23726 #ifdef HAVE_COMPLEX_H
23727 #include <complex.h>
23733 int (*ptr)() = (int (*)())erfcl;
23742 if ac_fn_c_try_link
"$LINENO"; then :
23743 gcc_cv_math_func_erfcl
=yes
23745 gcc_cv_math_func_erfcl
=no
23747 rm -f core conftest.err conftest.
$ac_objext \
23748 conftest
$ac_exeext conftest.
$ac_ext
23750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23751 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23752 if test $gcc_cv_math_func_erfcl = yes; then
23754 cat >>confdefs.h
<<_ACEOF
23755 #define HAVE_ERFCL 1
23763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23764 $as_echo_n "checking for j0f... " >&6; }
23765 if ${gcc_cv_math_func_j0f+:} false
; then :
23766 $as_echo_n "(cached) " >&6
23768 if test x
$gcc_no_link = xyes
; then
23769 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23772 /* end confdefs.h. */
23774 #ifdef HAVE_COMPLEX_H
23775 #include <complex.h>
23781 int (*ptr)() = (int (*)())j0f;
23790 if ac_fn_c_try_link
"$LINENO"; then :
23791 gcc_cv_math_func_j0f
=yes
23793 gcc_cv_math_func_j0f
=no
23795 rm -f core conftest.err conftest.
$ac_objext \
23796 conftest
$ac_exeext conftest.
$ac_ext
23798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23799 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23800 if test $gcc_cv_math_func_j0f = yes; then
23802 cat >>confdefs.h
<<_ACEOF
23811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23812 $as_echo_n "checking for j0... " >&6; }
23813 if ${gcc_cv_math_func_j0+:} false
; then :
23814 $as_echo_n "(cached) " >&6
23816 if test x
$gcc_no_link = xyes
; then
23817 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23820 /* end confdefs.h. */
23822 #ifdef HAVE_COMPLEX_H
23823 #include <complex.h>
23829 int (*ptr)() = (int (*)())j0;
23838 if ac_fn_c_try_link
"$LINENO"; then :
23839 gcc_cv_math_func_j0
=yes
23841 gcc_cv_math_func_j0
=no
23843 rm -f core conftest.err conftest.
$ac_objext \
23844 conftest
$ac_exeext conftest.
$ac_ext
23846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23847 $as_echo "$gcc_cv_math_func_j0" >&6; }
23848 if test $gcc_cv_math_func_j0 = yes; then
23850 cat >>confdefs.h
<<_ACEOF
23859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23860 $as_echo_n "checking for j1f... " >&6; }
23861 if ${gcc_cv_math_func_j1f+:} false
; then :
23862 $as_echo_n "(cached) " >&6
23864 if test x
$gcc_no_link = xyes
; then
23865 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23868 /* end confdefs.h. */
23870 #ifdef HAVE_COMPLEX_H
23871 #include <complex.h>
23877 int (*ptr)() = (int (*)())j1f;
23886 if ac_fn_c_try_link
"$LINENO"; then :
23887 gcc_cv_math_func_j1f
=yes
23889 gcc_cv_math_func_j1f
=no
23891 rm -f core conftest.err conftest.
$ac_objext \
23892 conftest
$ac_exeext conftest.
$ac_ext
23894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23895 $as_echo "$gcc_cv_math_func_j1f" >&6; }
23896 if test $gcc_cv_math_func_j1f = yes; then
23898 cat >>confdefs.h
<<_ACEOF
23907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23908 $as_echo_n "checking for j1... " >&6; }
23909 if ${gcc_cv_math_func_j1+:} false
; then :
23910 $as_echo_n "(cached) " >&6
23912 if test x
$gcc_no_link = xyes
; then
23913 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23916 /* end confdefs.h. */
23918 #ifdef HAVE_COMPLEX_H
23919 #include <complex.h>
23925 int (*ptr)() = (int (*)())j1;
23934 if ac_fn_c_try_link
"$LINENO"; then :
23935 gcc_cv_math_func_j1
=yes
23937 gcc_cv_math_func_j1
=no
23939 rm -f core conftest.err conftest.
$ac_objext \
23940 conftest
$ac_exeext conftest.
$ac_ext
23942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23943 $as_echo "$gcc_cv_math_func_j1" >&6; }
23944 if test $gcc_cv_math_func_j1 = yes; then
23946 cat >>confdefs.h
<<_ACEOF
23955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23956 $as_echo_n "checking for jnf... " >&6; }
23957 if ${gcc_cv_math_func_jnf+:} false
; then :
23958 $as_echo_n "(cached) " >&6
23960 if test x
$gcc_no_link = xyes
; then
23961 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23964 /* end confdefs.h. */
23966 #ifdef HAVE_COMPLEX_H
23967 #include <complex.h>
23973 int (*ptr)() = (int (*)())jnf;
23982 if ac_fn_c_try_link
"$LINENO"; then :
23983 gcc_cv_math_func_jnf
=yes
23985 gcc_cv_math_func_jnf
=no
23987 rm -f core conftest.err conftest.
$ac_objext \
23988 conftest
$ac_exeext conftest.
$ac_ext
23990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23991 $as_echo "$gcc_cv_math_func_jnf" >&6; }
23992 if test $gcc_cv_math_func_jnf = yes; then
23994 cat >>confdefs.h
<<_ACEOF
24003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
24004 $as_echo_n "checking for jn... " >&6; }
24005 if ${gcc_cv_math_func_jn+:} false
; then :
24006 $as_echo_n "(cached) " >&6
24008 if test x
$gcc_no_link = xyes
; then
24009 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24012 /* end confdefs.h. */
24014 #ifdef HAVE_COMPLEX_H
24015 #include <complex.h>
24021 int (*ptr)() = (int (*)())jn;
24030 if ac_fn_c_try_link
"$LINENO"; then :
24031 gcc_cv_math_func_jn
=yes
24033 gcc_cv_math_func_jn
=no
24035 rm -f core conftest.err conftest.
$ac_objext \
24036 conftest
$ac_exeext conftest.
$ac_ext
24038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
24039 $as_echo "$gcc_cv_math_func_jn" >&6; }
24040 if test $gcc_cv_math_func_jn = yes; then
24042 cat >>confdefs.h
<<_ACEOF
24051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
24052 $as_echo_n "checking for jnl... " >&6; }
24053 if ${gcc_cv_math_func_jnl+:} false
; then :
24054 $as_echo_n "(cached) " >&6
24056 if test x
$gcc_no_link = xyes
; then
24057 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24060 /* end confdefs.h. */
24062 #ifdef HAVE_COMPLEX_H
24063 #include <complex.h>
24069 int (*ptr)() = (int (*)())jnl;
24078 if ac_fn_c_try_link
"$LINENO"; then :
24079 gcc_cv_math_func_jnl
=yes
24081 gcc_cv_math_func_jnl
=no
24083 rm -f core conftest.err conftest.
$ac_objext \
24084 conftest
$ac_exeext conftest.
$ac_ext
24086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
24087 $as_echo "$gcc_cv_math_func_jnl" >&6; }
24088 if test $gcc_cv_math_func_jnl = yes; then
24090 cat >>confdefs.h
<<_ACEOF
24099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
24100 $as_echo_n "checking for y0f... " >&6; }
24101 if ${gcc_cv_math_func_y0f+:} false
; then :
24102 $as_echo_n "(cached) " >&6
24104 if test x
$gcc_no_link = xyes
; then
24105 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24108 /* end confdefs.h. */
24110 #ifdef HAVE_COMPLEX_H
24111 #include <complex.h>
24117 int (*ptr)() = (int (*)())y0f;
24126 if ac_fn_c_try_link
"$LINENO"; then :
24127 gcc_cv_math_func_y0f
=yes
24129 gcc_cv_math_func_y0f
=no
24131 rm -f core conftest.err conftest.
$ac_objext \
24132 conftest
$ac_exeext conftest.
$ac_ext
24134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
24135 $as_echo "$gcc_cv_math_func_y0f" >&6; }
24136 if test $gcc_cv_math_func_y0f = yes; then
24138 cat >>confdefs.h
<<_ACEOF
24147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
24148 $as_echo_n "checking for y0... " >&6; }
24149 if ${gcc_cv_math_func_y0+:} false
; then :
24150 $as_echo_n "(cached) " >&6
24152 if test x
$gcc_no_link = xyes
; then
24153 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24156 /* end confdefs.h. */
24158 #ifdef HAVE_COMPLEX_H
24159 #include <complex.h>
24165 int (*ptr)() = (int (*)())y0;
24174 if ac_fn_c_try_link
"$LINENO"; then :
24175 gcc_cv_math_func_y0
=yes
24177 gcc_cv_math_func_y0
=no
24179 rm -f core conftest.err conftest.
$ac_objext \
24180 conftest
$ac_exeext conftest.
$ac_ext
24182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24183 $as_echo "$gcc_cv_math_func_y0" >&6; }
24184 if test $gcc_cv_math_func_y0 = yes; then
24186 cat >>confdefs.h
<<_ACEOF
24195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24196 $as_echo_n "checking for y1f... " >&6; }
24197 if ${gcc_cv_math_func_y1f+:} false
; then :
24198 $as_echo_n "(cached) " >&6
24200 if test x
$gcc_no_link = xyes
; then
24201 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24204 /* end confdefs.h. */
24206 #ifdef HAVE_COMPLEX_H
24207 #include <complex.h>
24213 int (*ptr)() = (int (*)())y1f;
24222 if ac_fn_c_try_link
"$LINENO"; then :
24223 gcc_cv_math_func_y1f
=yes
24225 gcc_cv_math_func_y1f
=no
24227 rm -f core conftest.err conftest.
$ac_objext \
24228 conftest
$ac_exeext conftest.
$ac_ext
24230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24231 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24232 if test $gcc_cv_math_func_y1f = yes; then
24234 cat >>confdefs.h
<<_ACEOF
24243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24244 $as_echo_n "checking for y1... " >&6; }
24245 if ${gcc_cv_math_func_y1+:} false
; then :
24246 $as_echo_n "(cached) " >&6
24248 if test x
$gcc_no_link = xyes
; then
24249 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24252 /* end confdefs.h. */
24254 #ifdef HAVE_COMPLEX_H
24255 #include <complex.h>
24261 int (*ptr)() = (int (*)())y1;
24270 if ac_fn_c_try_link
"$LINENO"; then :
24271 gcc_cv_math_func_y1
=yes
24273 gcc_cv_math_func_y1
=no
24275 rm -f core conftest.err conftest.
$ac_objext \
24276 conftest
$ac_exeext conftest.
$ac_ext
24278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24279 $as_echo "$gcc_cv_math_func_y1" >&6; }
24280 if test $gcc_cv_math_func_y1 = yes; then
24282 cat >>confdefs.h
<<_ACEOF
24291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24292 $as_echo_n "checking for ynf... " >&6; }
24293 if ${gcc_cv_math_func_ynf+:} false
; then :
24294 $as_echo_n "(cached) " >&6
24296 if test x
$gcc_no_link = xyes
; then
24297 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24300 /* end confdefs.h. */
24302 #ifdef HAVE_COMPLEX_H
24303 #include <complex.h>
24309 int (*ptr)() = (int (*)())ynf;
24318 if ac_fn_c_try_link
"$LINENO"; then :
24319 gcc_cv_math_func_ynf
=yes
24321 gcc_cv_math_func_ynf
=no
24323 rm -f core conftest.err conftest.
$ac_objext \
24324 conftest
$ac_exeext conftest.
$ac_ext
24326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24327 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24328 if test $gcc_cv_math_func_ynf = yes; then
24330 cat >>confdefs.h
<<_ACEOF
24339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24340 $as_echo_n "checking for yn... " >&6; }
24341 if ${gcc_cv_math_func_yn+:} false
; then :
24342 $as_echo_n "(cached) " >&6
24344 if test x
$gcc_no_link = xyes
; then
24345 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24348 /* end confdefs.h. */
24350 #ifdef HAVE_COMPLEX_H
24351 #include <complex.h>
24357 int (*ptr)() = (int (*)())yn;
24366 if ac_fn_c_try_link
"$LINENO"; then :
24367 gcc_cv_math_func_yn
=yes
24369 gcc_cv_math_func_yn
=no
24371 rm -f core conftest.err conftest.
$ac_objext \
24372 conftest
$ac_exeext conftest.
$ac_ext
24374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24375 $as_echo "$gcc_cv_math_func_yn" >&6; }
24376 if test $gcc_cv_math_func_yn = yes; then
24378 cat >>confdefs.h
<<_ACEOF
24387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24388 $as_echo_n "checking for ynl... " >&6; }
24389 if ${gcc_cv_math_func_ynl+:} false
; then :
24390 $as_echo_n "(cached) " >&6
24392 if test x
$gcc_no_link = xyes
; then
24393 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24396 /* end confdefs.h. */
24398 #ifdef HAVE_COMPLEX_H
24399 #include <complex.h>
24405 int (*ptr)() = (int (*)())ynl;
24414 if ac_fn_c_try_link
"$LINENO"; then :
24415 gcc_cv_math_func_ynl
=yes
24417 gcc_cv_math_func_ynl
=no
24419 rm -f core conftest.err conftest.
$ac_objext \
24420 conftest
$ac_exeext conftest.
$ac_ext
24422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24423 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24424 if test $gcc_cv_math_func_ynl = yes; then
24426 cat >>confdefs.h
<<_ACEOF
24435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24436 $as_echo_n "checking for tgamma... " >&6; }
24437 if ${gcc_cv_math_func_tgamma+:} false
; then :
24438 $as_echo_n "(cached) " >&6
24440 if test x
$gcc_no_link = xyes
; then
24441 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24444 /* end confdefs.h. */
24446 #ifdef HAVE_COMPLEX_H
24447 #include <complex.h>
24453 int (*ptr)() = (int (*)())tgamma;
24462 if ac_fn_c_try_link
"$LINENO"; then :
24463 gcc_cv_math_func_tgamma
=yes
24465 gcc_cv_math_func_tgamma
=no
24467 rm -f core conftest.err conftest.
$ac_objext \
24468 conftest
$ac_exeext conftest.
$ac_ext
24470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24471 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24472 if test $gcc_cv_math_func_tgamma = yes; then
24474 cat >>confdefs.h
<<_ACEOF
24475 #define HAVE_TGAMMA 1
24483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24484 $as_echo_n "checking for tgammaf... " >&6; }
24485 if ${gcc_cv_math_func_tgammaf+:} false
; then :
24486 $as_echo_n "(cached) " >&6
24488 if test x
$gcc_no_link = xyes
; then
24489 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24492 /* end confdefs.h. */
24494 #ifdef HAVE_COMPLEX_H
24495 #include <complex.h>
24501 int (*ptr)() = (int (*)())tgammaf;
24510 if ac_fn_c_try_link
"$LINENO"; then :
24511 gcc_cv_math_func_tgammaf
=yes
24513 gcc_cv_math_func_tgammaf
=no
24515 rm -f core conftest.err conftest.
$ac_objext \
24516 conftest
$ac_exeext conftest.
$ac_ext
24518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24519 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24520 if test $gcc_cv_math_func_tgammaf = yes; then
24522 cat >>confdefs.h
<<_ACEOF
24523 #define HAVE_TGAMMAF 1
24531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24532 $as_echo_n "checking for lgamma... " >&6; }
24533 if ${gcc_cv_math_func_lgamma+:} false
; then :
24534 $as_echo_n "(cached) " >&6
24536 if test x
$gcc_no_link = xyes
; then
24537 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24540 /* end confdefs.h. */
24542 #ifdef HAVE_COMPLEX_H
24543 #include <complex.h>
24549 int (*ptr)() = (int (*)())lgamma;
24558 if ac_fn_c_try_link
"$LINENO"; then :
24559 gcc_cv_math_func_lgamma
=yes
24561 gcc_cv_math_func_lgamma
=no
24563 rm -f core conftest.err conftest.
$ac_objext \
24564 conftest
$ac_exeext conftest.
$ac_ext
24566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24567 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24568 if test $gcc_cv_math_func_lgamma = yes; then
24570 cat >>confdefs.h
<<_ACEOF
24571 #define HAVE_LGAMMA 1
24579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24580 $as_echo_n "checking for lgammaf... " >&6; }
24581 if ${gcc_cv_math_func_lgammaf+:} false
; then :
24582 $as_echo_n "(cached) " >&6
24584 if test x
$gcc_no_link = xyes
; then
24585 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24588 /* end confdefs.h. */
24590 #ifdef HAVE_COMPLEX_H
24591 #include <complex.h>
24597 int (*ptr)() = (int (*)())lgammaf;
24606 if ac_fn_c_try_link
"$LINENO"; then :
24607 gcc_cv_math_func_lgammaf
=yes
24609 gcc_cv_math_func_lgammaf
=no
24611 rm -f core conftest.err conftest.
$ac_objext \
24612 conftest
$ac_exeext conftest.
$ac_ext
24614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24615 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24616 if test $gcc_cv_math_func_lgammaf = yes; then
24618 cat >>confdefs.h
<<_ACEOF
24619 #define HAVE_LGAMMAF 1
24625 # Check for GFORTRAN_C99_1.1 funcs
24629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24630 $as_echo_n "checking for cacos... " >&6; }
24631 if ${gcc_cv_math_func_cacos+:} false
; then :
24632 $as_echo_n "(cached) " >&6
24634 if test x
$gcc_no_link = xyes
; then
24635 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24638 /* end confdefs.h. */
24640 #ifdef HAVE_COMPLEX_H
24641 #include <complex.h>
24647 int (*ptr)() = (int (*)())cacos;
24656 if ac_fn_c_try_link
"$LINENO"; then :
24657 gcc_cv_math_func_cacos
=yes
24659 gcc_cv_math_func_cacos
=no
24661 rm -f core conftest.err conftest.
$ac_objext \
24662 conftest
$ac_exeext conftest.
$ac_ext
24664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24665 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24666 if test $gcc_cv_math_func_cacos = yes; then
24668 cat >>confdefs.h
<<_ACEOF
24669 #define HAVE_CACOS 1
24677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24678 $as_echo_n "checking for cacosf... " >&6; }
24679 if ${gcc_cv_math_func_cacosf+:} false
; then :
24680 $as_echo_n "(cached) " >&6
24682 if test x
$gcc_no_link = xyes
; then
24683 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24686 /* end confdefs.h. */
24688 #ifdef HAVE_COMPLEX_H
24689 #include <complex.h>
24695 int (*ptr)() = (int (*)())cacosf;
24704 if ac_fn_c_try_link
"$LINENO"; then :
24705 gcc_cv_math_func_cacosf
=yes
24707 gcc_cv_math_func_cacosf
=no
24709 rm -f core conftest.err conftest.
$ac_objext \
24710 conftest
$ac_exeext conftest.
$ac_ext
24712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24713 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24714 if test $gcc_cv_math_func_cacosf = yes; then
24716 cat >>confdefs.h
<<_ACEOF
24717 #define HAVE_CACOSF 1
24725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24726 $as_echo_n "checking for cacosh... " >&6; }
24727 if ${gcc_cv_math_func_cacosh+:} false
; then :
24728 $as_echo_n "(cached) " >&6
24730 if test x
$gcc_no_link = xyes
; then
24731 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24734 /* end confdefs.h. */
24736 #ifdef HAVE_COMPLEX_H
24737 #include <complex.h>
24743 int (*ptr)() = (int (*)())cacosh;
24752 if ac_fn_c_try_link
"$LINENO"; then :
24753 gcc_cv_math_func_cacosh
=yes
24755 gcc_cv_math_func_cacosh
=no
24757 rm -f core conftest.err conftest.
$ac_objext \
24758 conftest
$ac_exeext conftest.
$ac_ext
24760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24761 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24762 if test $gcc_cv_math_func_cacosh = yes; then
24764 cat >>confdefs.h
<<_ACEOF
24765 #define HAVE_CACOSH 1
24773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24774 $as_echo_n "checking for cacoshf... " >&6; }
24775 if ${gcc_cv_math_func_cacoshf+:} false
; then :
24776 $as_echo_n "(cached) " >&6
24778 if test x
$gcc_no_link = xyes
; then
24779 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24782 /* end confdefs.h. */
24784 #ifdef HAVE_COMPLEX_H
24785 #include <complex.h>
24791 int (*ptr)() = (int (*)())cacoshf;
24800 if ac_fn_c_try_link
"$LINENO"; then :
24801 gcc_cv_math_func_cacoshf
=yes
24803 gcc_cv_math_func_cacoshf
=no
24805 rm -f core conftest.err conftest.
$ac_objext \
24806 conftest
$ac_exeext conftest.
$ac_ext
24808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24809 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24810 if test $gcc_cv_math_func_cacoshf = yes; then
24812 cat >>confdefs.h
<<_ACEOF
24813 #define HAVE_CACOSHF 1
24821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24822 $as_echo_n "checking for cacoshl... " >&6; }
24823 if ${gcc_cv_math_func_cacoshl+:} false
; then :
24824 $as_echo_n "(cached) " >&6
24826 if test x
$gcc_no_link = xyes
; then
24827 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24830 /* end confdefs.h. */
24832 #ifdef HAVE_COMPLEX_H
24833 #include <complex.h>
24839 int (*ptr)() = (int (*)())cacoshl;
24848 if ac_fn_c_try_link
"$LINENO"; then :
24849 gcc_cv_math_func_cacoshl
=yes
24851 gcc_cv_math_func_cacoshl
=no
24853 rm -f core conftest.err conftest.
$ac_objext \
24854 conftest
$ac_exeext conftest.
$ac_ext
24856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
24857 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24858 if test $gcc_cv_math_func_cacoshl = yes; then
24860 cat >>confdefs.h
<<_ACEOF
24861 #define HAVE_CACOSHL 1
24869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24870 $as_echo_n "checking for cacosl... " >&6; }
24871 if ${gcc_cv_math_func_cacosl+:} false
; then :
24872 $as_echo_n "(cached) " >&6
24874 if test x
$gcc_no_link = xyes
; then
24875 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24878 /* end confdefs.h. */
24880 #ifdef HAVE_COMPLEX_H
24881 #include <complex.h>
24887 int (*ptr)() = (int (*)())cacosl;
24896 if ac_fn_c_try_link
"$LINENO"; then :
24897 gcc_cv_math_func_cacosl
=yes
24899 gcc_cv_math_func_cacosl
=no
24901 rm -f core conftest.err conftest.
$ac_objext \
24902 conftest
$ac_exeext conftest.
$ac_ext
24904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
24905 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
24906 if test $gcc_cv_math_func_cacosl = yes; then
24908 cat >>confdefs.h
<<_ACEOF
24909 #define HAVE_CACOSL 1
24917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24918 $as_echo_n "checking for casin... " >&6; }
24919 if ${gcc_cv_math_func_casin+:} false
; then :
24920 $as_echo_n "(cached) " >&6
24922 if test x
$gcc_no_link = xyes
; then
24923 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24926 /* end confdefs.h. */
24928 #ifdef HAVE_COMPLEX_H
24929 #include <complex.h>
24935 int (*ptr)() = (int (*)())casin;
24944 if ac_fn_c_try_link
"$LINENO"; then :
24945 gcc_cv_math_func_casin
=yes
24947 gcc_cv_math_func_casin
=no
24949 rm -f core conftest.err conftest.
$ac_objext \
24950 conftest
$ac_exeext conftest.
$ac_ext
24952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
24953 $as_echo "$gcc_cv_math_func_casin" >&6; }
24954 if test $gcc_cv_math_func_casin = yes; then
24956 cat >>confdefs.h
<<_ACEOF
24957 #define HAVE_CASIN 1
24965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
24966 $as_echo_n "checking for casinf... " >&6; }
24967 if ${gcc_cv_math_func_casinf+:} false
; then :
24968 $as_echo_n "(cached) " >&6
24970 if test x
$gcc_no_link = xyes
; then
24971 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24974 /* end confdefs.h. */
24976 #ifdef HAVE_COMPLEX_H
24977 #include <complex.h>
24983 int (*ptr)() = (int (*)())casinf;
24992 if ac_fn_c_try_link
"$LINENO"; then :
24993 gcc_cv_math_func_casinf
=yes
24995 gcc_cv_math_func_casinf
=no
24997 rm -f core conftest.err conftest.
$ac_objext \
24998 conftest
$ac_exeext conftest.
$ac_ext
25000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25001 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25002 if test $gcc_cv_math_func_casinf = yes; then
25004 cat >>confdefs.h
<<_ACEOF
25005 #define HAVE_CASINF 1
25013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25014 $as_echo_n "checking for casinh... " >&6; }
25015 if ${gcc_cv_math_func_casinh+:} false
; then :
25016 $as_echo_n "(cached) " >&6
25018 if test x
$gcc_no_link = xyes
; then
25019 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25022 /* end confdefs.h. */
25024 #ifdef HAVE_COMPLEX_H
25025 #include <complex.h>
25031 int (*ptr)() = (int (*)())casinh;
25040 if ac_fn_c_try_link
"$LINENO"; then :
25041 gcc_cv_math_func_casinh
=yes
25043 gcc_cv_math_func_casinh
=no
25045 rm -f core conftest.err conftest.
$ac_objext \
25046 conftest
$ac_exeext conftest.
$ac_ext
25048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25049 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25050 if test $gcc_cv_math_func_casinh = yes; then
25052 cat >>confdefs.h
<<_ACEOF
25053 #define HAVE_CASINH 1
25061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25062 $as_echo_n "checking for casinhf... " >&6; }
25063 if ${gcc_cv_math_func_casinhf+:} false
; then :
25064 $as_echo_n "(cached) " >&6
25066 if test x
$gcc_no_link = xyes
; then
25067 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25070 /* end confdefs.h. */
25072 #ifdef HAVE_COMPLEX_H
25073 #include <complex.h>
25079 int (*ptr)() = (int (*)())casinhf;
25088 if ac_fn_c_try_link
"$LINENO"; then :
25089 gcc_cv_math_func_casinhf
=yes
25091 gcc_cv_math_func_casinhf
=no
25093 rm -f core conftest.err conftest.
$ac_objext \
25094 conftest
$ac_exeext conftest.
$ac_ext
25096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25097 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25098 if test $gcc_cv_math_func_casinhf = yes; then
25100 cat >>confdefs.h
<<_ACEOF
25101 #define HAVE_CASINHF 1
25109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25110 $as_echo_n "checking for casinhl... " >&6; }
25111 if ${gcc_cv_math_func_casinhl+:} false
; then :
25112 $as_echo_n "(cached) " >&6
25114 if test x
$gcc_no_link = xyes
; then
25115 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25118 /* end confdefs.h. */
25120 #ifdef HAVE_COMPLEX_H
25121 #include <complex.h>
25127 int (*ptr)() = (int (*)())casinhl;
25136 if ac_fn_c_try_link
"$LINENO"; then :
25137 gcc_cv_math_func_casinhl
=yes
25139 gcc_cv_math_func_casinhl
=no
25141 rm -f core conftest.err conftest.
$ac_objext \
25142 conftest
$ac_exeext conftest.
$ac_ext
25144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25145 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25146 if test $gcc_cv_math_func_casinhl = yes; then
25148 cat >>confdefs.h
<<_ACEOF
25149 #define HAVE_CASINHL 1
25157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25158 $as_echo_n "checking for casinl... " >&6; }
25159 if ${gcc_cv_math_func_casinl+:} false
; then :
25160 $as_echo_n "(cached) " >&6
25162 if test x
$gcc_no_link = xyes
; then
25163 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25166 /* end confdefs.h. */
25168 #ifdef HAVE_COMPLEX_H
25169 #include <complex.h>
25175 int (*ptr)() = (int (*)())casinl;
25184 if ac_fn_c_try_link
"$LINENO"; then :
25185 gcc_cv_math_func_casinl
=yes
25187 gcc_cv_math_func_casinl
=no
25189 rm -f core conftest.err conftest.
$ac_objext \
25190 conftest
$ac_exeext conftest.
$ac_ext
25192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25193 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25194 if test $gcc_cv_math_func_casinl = yes; then
25196 cat >>confdefs.h
<<_ACEOF
25197 #define HAVE_CASINL 1
25205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25206 $as_echo_n "checking for catan... " >&6; }
25207 if ${gcc_cv_math_func_catan+:} false
; then :
25208 $as_echo_n "(cached) " >&6
25210 if test x
$gcc_no_link = xyes
; then
25211 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25214 /* end confdefs.h. */
25216 #ifdef HAVE_COMPLEX_H
25217 #include <complex.h>
25223 int (*ptr)() = (int (*)())catan;
25232 if ac_fn_c_try_link
"$LINENO"; then :
25233 gcc_cv_math_func_catan
=yes
25235 gcc_cv_math_func_catan
=no
25237 rm -f core conftest.err conftest.
$ac_objext \
25238 conftest
$ac_exeext conftest.
$ac_ext
25240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25241 $as_echo "$gcc_cv_math_func_catan" >&6; }
25242 if test $gcc_cv_math_func_catan = yes; then
25244 cat >>confdefs.h
<<_ACEOF
25245 #define HAVE_CATAN 1
25253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25254 $as_echo_n "checking for catanf... " >&6; }
25255 if ${gcc_cv_math_func_catanf+:} false
; then :
25256 $as_echo_n "(cached) " >&6
25258 if test x
$gcc_no_link = xyes
; then
25259 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25262 /* end confdefs.h. */
25264 #ifdef HAVE_COMPLEX_H
25265 #include <complex.h>
25271 int (*ptr)() = (int (*)())catanf;
25280 if ac_fn_c_try_link
"$LINENO"; then :
25281 gcc_cv_math_func_catanf
=yes
25283 gcc_cv_math_func_catanf
=no
25285 rm -f core conftest.err conftest.
$ac_objext \
25286 conftest
$ac_exeext conftest.
$ac_ext
25288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25289 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25290 if test $gcc_cv_math_func_catanf = yes; then
25292 cat >>confdefs.h
<<_ACEOF
25293 #define HAVE_CATANF 1
25301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25302 $as_echo_n "checking for catanh... " >&6; }
25303 if ${gcc_cv_math_func_catanh+:} false
; then :
25304 $as_echo_n "(cached) " >&6
25306 if test x
$gcc_no_link = xyes
; then
25307 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25310 /* end confdefs.h. */
25312 #ifdef HAVE_COMPLEX_H
25313 #include <complex.h>
25319 int (*ptr)() = (int (*)())catanh;
25328 if ac_fn_c_try_link
"$LINENO"; then :
25329 gcc_cv_math_func_catanh
=yes
25331 gcc_cv_math_func_catanh
=no
25333 rm -f core conftest.err conftest.
$ac_objext \
25334 conftest
$ac_exeext conftest.
$ac_ext
25336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25337 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25338 if test $gcc_cv_math_func_catanh = yes; then
25340 cat >>confdefs.h
<<_ACEOF
25341 #define HAVE_CATANH 1
25349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25350 $as_echo_n "checking for catanhf... " >&6; }
25351 if ${gcc_cv_math_func_catanhf+:} false
; then :
25352 $as_echo_n "(cached) " >&6
25354 if test x
$gcc_no_link = xyes
; then
25355 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25358 /* end confdefs.h. */
25360 #ifdef HAVE_COMPLEX_H
25361 #include <complex.h>
25367 int (*ptr)() = (int (*)())catanhf;
25376 if ac_fn_c_try_link
"$LINENO"; then :
25377 gcc_cv_math_func_catanhf
=yes
25379 gcc_cv_math_func_catanhf
=no
25381 rm -f core conftest.err conftest.
$ac_objext \
25382 conftest
$ac_exeext conftest.
$ac_ext
25384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25385 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25386 if test $gcc_cv_math_func_catanhf = yes; then
25388 cat >>confdefs.h
<<_ACEOF
25389 #define HAVE_CATANHF 1
25397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25398 $as_echo_n "checking for catanhl... " >&6; }
25399 if ${gcc_cv_math_func_catanhl+:} false
; then :
25400 $as_echo_n "(cached) " >&6
25402 if test x
$gcc_no_link = xyes
; then
25403 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25406 /* end confdefs.h. */
25408 #ifdef HAVE_COMPLEX_H
25409 #include <complex.h>
25415 int (*ptr)() = (int (*)())catanhl;
25424 if ac_fn_c_try_link
"$LINENO"; then :
25425 gcc_cv_math_func_catanhl
=yes
25427 gcc_cv_math_func_catanhl
=no
25429 rm -f core conftest.err conftest.
$ac_objext \
25430 conftest
$ac_exeext conftest.
$ac_ext
25432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25433 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25434 if test $gcc_cv_math_func_catanhl = yes; then
25436 cat >>confdefs.h
<<_ACEOF
25437 #define HAVE_CATANHL 1
25445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25446 $as_echo_n "checking for catanl... " >&6; }
25447 if ${gcc_cv_math_func_catanl+:} false
; then :
25448 $as_echo_n "(cached) " >&6
25450 if test x
$gcc_no_link = xyes
; then
25451 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25454 /* end confdefs.h. */
25456 #ifdef HAVE_COMPLEX_H
25457 #include <complex.h>
25463 int (*ptr)() = (int (*)())catanl;
25472 if ac_fn_c_try_link
"$LINENO"; then :
25473 gcc_cv_math_func_catanl
=yes
25475 gcc_cv_math_func_catanl
=no
25477 rm -f core conftest.err conftest.
$ac_objext \
25478 conftest
$ac_exeext conftest.
$ac_ext
25480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25481 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25482 if test $gcc_cv_math_func_catanl = yes; then
25484 cat >>confdefs.h
<<_ACEOF
25485 #define HAVE_CATANL 1
25491 # On AIX, clog is present in libm as __clog
25492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25493 $as_echo_n "checking for __clog in -lm... " >&6; }
25494 if ${ac_cv_lib_m___clog+:} false
; then :
25495 $as_echo_n "(cached) " >&6
25497 ac_check_lib_save_LIBS
=$LIBS
25499 if test x
$gcc_no_link = xyes
; then
25500 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25503 /* end confdefs.h. */
25505 /* Override any GCC internal prototype to avoid an error.
25506 Use char because int might match the return type of a GCC
25507 builtin and then its argument prototype would still apply. */
25520 if ac_fn_c_try_link
"$LINENO"; then :
25521 ac_cv_lib_m___clog
=yes
25523 ac_cv_lib_m___clog
=no
25525 rm -f core conftest.err conftest.
$ac_objext \
25526 conftest
$ac_exeext conftest.
$ac_ext
25527 LIBS
=$ac_check_lib_save_LIBS
25529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25530 $as_echo "$ac_cv_lib_m___clog" >&6; }
25531 if test "x$ac_cv_lib_m___clog" = xyes
; then :
25533 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25538 # Check whether the system has a working stat()
25540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25541 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25542 if ${libgfor_cv_have_working_stat+:} false
; then :
25543 $as_echo_n "(cached) " >&6
25546 if test "$cross_compiling" = yes; then :
25548 case "${target}" in
25549 *mingw
*) libgfor_cv_have_working_stat
=no
;;
25550 *) libgfor_cv_have_working_stat
=yes;;
25553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25554 /* end confdefs.h. */
25557 #include <sys/types.h>
25558 #include <sys/stat.h>
25559 #include <unistd.h>
25564 struct stat st1, st2;
25566 f = fopen ("foo", "w");
25567 g = fopen ("bar", "w");
25568 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25570 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25577 if ac_fn_c_try_run
"$LINENO"; then :
25578 libgfor_cv_have_working_stat
=yes
25580 libgfor_cv_have_working_stat
=no
25582 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
25583 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
25587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25588 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25589 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
25591 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25595 # Check whether __mingw_snprintf() is present
25597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25598 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25599 if ${libgfor_cv_have_mingw_snprintf+:} false
; then :
25600 $as_echo_n "(cached) " >&6
25603 if test x
$gcc_no_link = xyes
; then
25604 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25607 /* end confdefs.h. */
25610 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25616 __mingw_snprintf (NULL, 0, "%d\n", 1);
25622 if ac_fn_c_try_link
"$LINENO"; then :
25623 eval "libgfor_cv_have_mingw_snprintf=yes"
25625 eval "libgfor_cv_have_mingw_snprintf=no"
25627 rm -f core conftest.err conftest.
$ac_objext \
25628 conftest
$ac_exeext conftest.
$ac_ext
25631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25632 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25633 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
25635 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25640 # Check whether libquadmath should be used
25641 # Check whether --enable-libquadmath-support was given.
25642 if test "${enable_libquadmath_support+set}" = set; then :
25643 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
25645 ENABLE_LIBQUADMATH_SUPPORT
=yes
25648 enable_libquadmath_support
=
25649 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25650 enable_libquadmath_support
=no
25653 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25657 if test "x$enable_libquadmath_support" != xno
; then
25659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25660 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25661 if ${libgfor_cv_have_float128+:} false
; then :
25662 $as_echo_n "(cached) " >&6
25665 if test x
$gcc_no_link = xyes
; then
25666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25667 /* end confdefs.h. */
25669 typedef _Complex float __attribute__((mode(TC))) __complex128;
25671 __float128 foo (__float128 x)
25674 __complex128 z1, z2;
25680 return (__float128) z2;
25683 __float128 bar (__float128 x)
25685 return x * __builtin_huge_valq ();
25699 if ac_fn_c_try_compile
"$LINENO"; then :
25701 libgfor_cv_have_float128
=yes
25705 libgfor_cv_have_float128
=no
25708 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
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 typedef _Complex float __attribute__((mode(TC))) __complex128;
25718 __float128 foo (__float128 x)
25721 __complex128 z1, z2;
25727 return (__float128) z2;
25730 __float128 bar (__float128 x)
25732 return x * __builtin_huge_valq ();
25746 if ac_fn_c_try_link
"$LINENO"; then :
25748 libgfor_cv_have_float128
=yes
25752 libgfor_cv_have_float128
=no
25755 rm -f core conftest.err conftest.
$ac_objext \
25756 conftest
$ac_exeext conftest.
$ac_ext
25759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25760 $as_echo "$libgfor_cv_have_float128" >&6; }
25762 if test "x$libgfor_cv_have_float128" = xyes
; then
25764 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25767 ac_xsave_c_werror_flag
=$ac_c_werror_flag
25768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
25769 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
25770 if ${libgfor_cv_have_as_needed+:} false
; then :
25771 $as_echo_n "(cached) " >&6
25774 # Test for native Solaris options first.
25775 # No whitespace after -z to pass it through -Wl.
25776 libgfor_cv_as_needed_option
="-zignore"
25777 libgfor_cv_no_as_needed_option
="-zrecord"
25778 save_LDFLAGS
="$LDFLAGS"
25779 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25780 libgfor_cv_have_as_needed
=no
25782 ac_c_werror_flag
=yes
25783 if test x
$gcc_no_link = xyes
; then
25784 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25787 /* end confdefs.h. */
25797 if ac_fn_c_try_link
"$LINENO"; then :
25798 libgfor_cv_have_as_needed
=yes
25800 libgfor_cv_have_as_needed
=no
25802 rm -f core conftest.err conftest.
$ac_objext \
25803 conftest
$ac_exeext conftest.
$ac_ext
25804 LDFLAGS
="$save_LDFLAGS"
25805 if test "x$libgfor_cv_have_as_needed" = xno
; then
25806 libgfor_cv_as_needed_option
="--as-needed"
25807 libgfor_cv_no_as_needed_option
="--no-as-needed"
25808 save_LDFLAGS
="$LDFLAGS"
25809 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25810 libgfor_cv_have_as_needed
=no
25812 ac_c_werror_flag
=yes
25813 if test x
$gcc_no_link = xyes
; then
25814 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25817 /* end confdefs.h. */
25827 if ac_fn_c_try_link
"$LINENO"; then :
25828 libgfor_cv_have_as_needed
=yes
25830 libgfor_cv_have_as_needed
=no
25832 rm -f core conftest.err conftest.
$ac_objext \
25833 conftest
$ac_exeext conftest.
$ac_ext
25834 LDFLAGS
="$save_LDFLAGS"
25836 ac_c_werror_flag
=$ac_xsave_c_werror_flag
25839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25840 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25842 if test "x$libgfor_cv_have_as_needed" = xyes
; then
25843 LIBQUADSPEC
="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
25845 LIBQUADSPEC
="-lquadmath"
25847 if test -f ..
/libquadmath
/libquadmath.la
; then
25848 LIBQUADLIB
=..
/libquadmath
/libquadmath.la
25849 LIBQUADLIB_DEP
=..
/libquadmath
/libquadmath.la
25850 LIBQUADINCLUDE
='-I$(srcdir)/../libquadmath'
25852 LIBQUADLIB
="-lquadmath"
25858 # for --disable-quadmath
25869 if test "x$libgfor_cv_have_float128" = xyes
; then
25870 LIBGFOR_BUILD_QUAD_TRUE
=
25871 LIBGFOR_BUILD_QUAD_FALSE
='#'
25873 LIBGFOR_BUILD_QUAD_TRUE
='#'
25874 LIBGFOR_BUILD_QUAD_FALSE
=
25879 # Check for GNU libc feenableexcept
25880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25881 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25882 if ${ac_cv_lib_m_feenableexcept+:} false
; then :
25883 $as_echo_n "(cached) " >&6
25885 ac_check_lib_save_LIBS
=$LIBS
25887 if test x
$gcc_no_link = xyes
; then
25888 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25891 /* end confdefs.h. */
25893 /* Override any GCC internal prototype to avoid an error.
25894 Use char because int might match the return type of a GCC
25895 builtin and then its argument prototype would still apply. */
25899 char feenableexcept ();
25903 return feenableexcept ();
25908 if ac_fn_c_try_link
"$LINENO"; then :
25909 ac_cv_lib_m_feenableexcept
=yes
25911 ac_cv_lib_m_feenableexcept
=no
25913 rm -f core conftest.err conftest.
$ac_objext \
25914 conftest
$ac_exeext conftest.
$ac_ext
25915 LIBS
=$ac_check_lib_save_LIBS
25917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25918 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25919 if test "x$ac_cv_lib_m_feenableexcept" = xyes
; then :
25920 have_feenableexcept
=yes
25921 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25926 # At least for glibc, clock_gettime is in librt. But don't
25927 # pull that in if it still doesn't give us the function we want. This
25928 # test is copied from libgomp, and modified to not link in -lrt as
25929 # libgfortran calls clock_gettime via a weak reference if it's found
25931 if test "$ac_cv_func_clock_gettime" = no
; then
25932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25933 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25934 if ${ac_cv_lib_rt_clock_gettime+:} false
; then :
25935 $as_echo_n "(cached) " >&6
25937 ac_check_lib_save_LIBS
=$LIBS
25939 if test x
$gcc_no_link = xyes
; then
25940 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25943 /* end confdefs.h. */
25945 /* Override any GCC internal prototype to avoid an error.
25946 Use char because int might match the return type of a GCC
25947 builtin and then its argument prototype would still apply. */
25951 char clock_gettime ();
25955 return clock_gettime ();
25960 if ac_fn_c_try_link
"$LINENO"; then :
25961 ac_cv_lib_rt_clock_gettime
=yes
25963 ac_cv_lib_rt_clock_gettime
=no
25965 rm -f core conftest.err conftest.
$ac_objext \
25966 conftest
$ac_exeext conftest.
$ac_ext
25967 LIBS
=$ac_check_lib_save_LIBS
25969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25970 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25971 if test "x$ac_cv_lib_rt_clock_gettime" = xyes
; then :
25973 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
25979 # Check for SysV fpsetmask
25981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
25982 $as_echo_n "checking whether fpsetmask is present... " >&6; }
25983 if ${libgfor_cv_have_fpsetmask+:} false
; then :
25984 $as_echo_n "(cached) " >&6
25987 if test x
$gcc_no_link = xyes
; then
25988 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25991 /* end confdefs.h. */
25993 #if HAVE_FLOATINGPOINT_H
25994 # include <floatingpoint.h>
25995 #endif /* HAVE_FLOATINGPOINT_H */
25997 # include <ieeefp.h>
25998 #endif /* HAVE_IEEEFP_H */
26007 if ac_fn_c_try_link
"$LINENO"; then :
26008 eval "libgfor_cv_have_fpsetmask=yes"
26010 eval "libgfor_cv_have_fpsetmask=no"
26012 rm -f core conftest.err conftest.
$ac_objext \
26013 conftest
$ac_exeext conftest.
$ac_ext
26016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
26017 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
26018 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
26021 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
26025 ac_fn_c_check_type
"$LINENO" "fp_except" "ac_cv_type_fp_except" "
26026 #ifdef HAVE_IEEEFP_H
26027 #include <ieeefp.h>
26032 if test "x$ac_cv_type_fp_except" = xyes
; then :
26034 cat >>confdefs.h
<<_ACEOF
26035 #define HAVE_FP_EXCEPT 1
26040 ac_fn_c_check_type
"$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
26041 #ifdef HAVE_IEEEFP_H
26042 #include <ieeefp.h>
26047 if test "x$ac_cv_type_fp_except_t" = xyes
; then :
26049 cat >>confdefs.h
<<_ACEOF
26050 #define HAVE_FP_EXCEPT_T 1
26056 ac_fn_c_check_type
"$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
26057 #ifdef HAVE_IEEEFP_H
26058 #include <ieeefp.h>
26063 if test "x$ac_cv_type_fp_rnd" = xyes
; then :
26065 cat >>confdefs.h
<<_ACEOF
26066 #define HAVE_FP_RND 1
26071 ac_fn_c_check_type
"$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
26072 #ifdef HAVE_IEEEFP_H
26073 #include <ieeefp.h>
26078 if test "x$ac_cv_type_fp_rnd_t" = xyes
; then :
26080 cat >>confdefs.h
<<_ACEOF
26081 #define HAVE_FP_RND_T 1
26088 # Check whether we have fpsetsticky or fpresetsticky
26089 ac_fn_c_check_func
"$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
26090 if test "x$ac_cv_func_fpsetsticky" = xyes
; then :
26091 have_fpsetsticky
=yes
26092 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
26096 ac_fn_c_check_func
"$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
26097 if test "x$ac_cv_func_fpresetsticky" = xyes
; then :
26098 have_fpresetsticky
=yes
26099 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
26104 # Check for AIX fp_trap and fp_enable
26105 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
26106 if test "x$ac_cv_func_fp_trap" = xyes
; then :
26108 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
26112 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
26113 if test "x$ac_cv_func_fp_enable" = xyes
; then :
26115 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
26120 # Check if _SOFT_FLOAT is defined
26122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5
26123 $as_echo_n "checking for _SOFT_FLOAT defined... " >&6; }
26124 if ${ac_cv_defined__SOFT_FLOAT+:} false
; then :
26125 $as_echo_n "(cached) " >&6
26127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26128 /* end confdefs.h. */
26144 if ac_fn_c_try_compile
"$LINENO"; then :
26145 ac_cv_defined__SOFT_FLOAT
=yes
26147 ac_cv_defined__SOFT_FLOAT
=no
26149 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5
26152 $as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; }
26153 if test $ac_cv_defined__SOFT_FLOAT != "no"; then :
26154 have_soft_float
=yes
26157 # Runs configure.host to set up necessary host-dependent shell variables.
26158 # We then display a message about it, and propagate them through the
26160 .
${srcdir}/configure.
host
26161 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
26162 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
26163 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
26164 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
26165 FPU_HOST_HEADER
=config
/${fpu_host}.h
26168 # Whether we will build the IEEE modules
26169 if test x
${ieee_support} = xyes
; then
26171 IEEE_SUPPORT_FALSE
='#'
26173 IEEE_SUPPORT_TRUE
='#'
26174 IEEE_SUPPORT_FALSE
=
26179 # Some targets require additional compiler options for IEEE compatibility.
26180 IEEE_FLAGS
="${ieee_flags}"
26184 # Check for POSIX getpwuid_r
26186 # There are two versions of getpwuid_r, the POSIX one with 5
26187 # arguments, and another one with 4 arguments used by at least HP-UX
26189 if test "$ac_cv_func_getpwuid_r" = "yes"; then
26190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
26191 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
26192 if ${libgfor_cv_posix_getpwuid_r+:} false
; then :
26193 $as_echo_n "(cached) " >&6
26196 if test x
$gcc_no_link = xyes
; then
26197 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26200 /* end confdefs.h. */
26203 #include <sys/types.h>
26209 getpwuid_r(0, NULL, NULL, 0, NULL);
26215 if ac_fn_c_try_link
"$LINENO"; then :
26216 libgfor_cv_posix_getpwuid_r
="yes"
26218 libgfor_cv_posix_getpwuid_r
="no"
26220 rm -f core conftest.err conftest.
$ac_objext \
26221 conftest
$ac_exeext conftest.
$ac_ext
26223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
26224 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
26226 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
26228 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
26233 # Check out attribute support.
26235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
26236 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
26237 if ${libgfor_cv_have_attribute_visibility+:} false
; then :
26238 $as_echo_n "(cached) " >&6
26241 save_CFLAGS
="$CFLAGS"
26242 CFLAGS
="$CFLAGS -Werror"
26243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26244 /* end confdefs.h. */
26245 void __attribute__((visibility("hidden"))) foo(void) { }
26254 if ac_fn_c_try_compile
"$LINENO"; then :
26255 libgfor_cv_have_attribute_visibility
=yes
26257 libgfor_cv_have_attribute_visibility
=no
26259 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26260 CFLAGS
="$save_CFLAGS"
26262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26263 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26264 if test $libgfor_cv_have_attribute_visibility = yes; then
26266 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26271 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26272 if ${libgfor_cv_have_attribute_alias+:} false
; then :
26273 $as_echo_n "(cached) " >&6
26276 if test x
$gcc_no_link = xyes
; then
26277 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26280 /* end confdefs.h. */
26283 extern void bar(void) __attribute__((alias("foo")));
26292 if ac_fn_c_try_link
"$LINENO"; then :
26293 libgfor_cv_have_attribute_alias
=yes
26295 libgfor_cv_have_attribute_alias
=no
26297 rm -f core conftest.err conftest.
$ac_objext \
26298 conftest
$ac_exeext conftest.
$ac_ext
26300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26301 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26302 if test $libgfor_cv_have_attribute_alias = yes; then
26304 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26308 # Check out atomic builtins support.
26310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __atomic_fetch_add" >&5
26311 $as_echo_n "checking whether the target supports __atomic_fetch_add... " >&6; }
26312 if ${libgfor_cv_have_atomic_fetch_add+:} false
; then :
26313 $as_echo_n "(cached) " >&6
26316 if test x
$gcc_no_link = xyes
; then
26317 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26320 /* end confdefs.h. */
26326 if (foovar <= 0) return __atomic_fetch_add (&foovar, 1, __ATOMIC_ACQ_REL);
26327 if (foovar > 10) return __atomic_add_fetch (&foovar, -1, __ATOMIC_ACQ_REL);
26332 if ac_fn_c_try_link
"$LINENO"; then :
26333 libgfor_cv_have_atomic_fetch_add
=yes
26335 libgfor_cv_have_atomic_fetch_add
=no
26337 rm -f core conftest.err conftest.
$ac_objext \
26338 conftest
$ac_exeext conftest.
$ac_ext
26340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_atomic_fetch_add" >&5
26341 $as_echo "$libgfor_cv_have_atomic_fetch_add" >&6; }
26342 if test $libgfor_cv_have_atomic_fetch_add = yes; then
26344 $as_echo "#define HAVE_ATOMIC_FETCH_ADD 1" >>confdefs.h
26348 # Check out #pragma weak.
26350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26351 $as_echo_n "checking whether pragma weak works... " >&6; }
26352 if ${libgfor_cv_have_pragma_weak+:} false
; then :
26353 $as_echo_n "(cached) " >&6
26356 gfor_save_CFLAGS
="$CFLAGS"
26357 CFLAGS
="$CFLAGS -Wunknown-pragmas"
26358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26359 /* end confdefs.h. */
26372 if ac_fn_c_try_compile
"$LINENO"; then :
26373 libgfor_cv_have_pragma_weak
=yes
26375 libgfor_cv_have_pragma_weak
=no
26377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26380 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26381 if test $libgfor_cv_have_pragma_weak = yes; then
26383 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26387 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* |
*-*-musl* )
26389 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26394 # Check out weakref support.
26396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
26397 $as_echo_n "checking whether the target supports weakref... " >&6; }
26398 if ${libgfor_cv_have_weakref+:} false
; then :
26399 $as_echo_n "(cached) " >&6
26402 save_CFLAGS
="$CFLAGS"
26403 CFLAGS
="$CFLAGS -Wunknown-pragmas -Werror"
26404 if test x
$gcc_no_link = xyes
; then
26405 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26408 /* end confdefs.h. */
26410 static int mytoto (int) __attribute__((__weakref__("toto")));
26415 return (mytoto != 0);
26420 if ac_fn_c_try_link
"$LINENO"; then :
26421 libgfor_cv_have_weakref
=yes
26423 libgfor_cv_have_weakref
=no
26425 rm -f core conftest.err conftest.
$ac_objext \
26426 conftest
$ac_exeext conftest.
$ac_ext
26427 CFLAGS
="$save_CFLAGS"
26429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
26430 $as_echo "$libgfor_cv_have_weakref" >&6; }
26431 if test $libgfor_cv_have_weakref = yes; then
26433 $as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
26437 # Various other checks on target
26439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26440 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26441 if ${libgfor_cv_have_unlink_open_file+:} false
; then :
26442 $as_echo_n "(cached) " >&6
26445 if test "$cross_compiling" = yes; then :
26447 case "${target}" in
26448 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
26449 *) libgfor_cv_have_unlink_open_file
=yes;;
26452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26453 /* end confdefs.h. */
26457 #include <unistd.h>
26458 #include <sys/stat.h>
26464 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26467 if (unlink ("testfile") == -1)
26469 write (fd, "This is a test\n", 15);
26472 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26478 if ac_fn_c_try_run
"$LINENO"; then :
26479 libgfor_cv_have_unlink_open_file
=yes
26481 libgfor_cv_have_unlink_open_file
=no
26483 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26484 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26489 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26490 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
26492 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26496 # Check whether line terminator is LF or CRLF
26498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26499 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26500 if ${libgfor_cv_have_crlf+:} false
; then :
26501 $as_echo_n "(cached) " >&6
26504 if test "$cross_compiling" = yes; then :
26506 case "${target}" in
26507 *mingw
*) libgfor_cv_have_crlf
=yes ;;
26508 *) libgfor_cv_have_crlf
=no
;;
26511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26512 /* end confdefs.h. */
26514 /* This test program should exit with status 0 if system uses a CRLF as
26515 line terminator, and status 1 otherwise.
26516 Since it is used to check for mingw systems, and should return 0 in any
26517 other case, in case of a failure we will not use CRLF. */
26518 #include <sys/stat.h>
26519 #include <stdlib.h>
26531 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26534 if (write (fd, "\n", 1) < 0)
26539 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26541 bytes = read (fd, buff, 5);
26542 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26549 if ac_fn_c_try_run
"$LINENO"; then :
26550 libgfor_cv_have_crlf
=yes
26552 libgfor_cv_have_crlf
=no
26554 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26555 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26560 $as_echo "$libgfor_cv_have_crlf" >&6; }
26561 if test x
"$libgfor_cv_have_crlf" = xyes
; then
26563 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26567 # Check whether we support AVX extensions
26569 ac_save_CFLAGS
="$CFLAGS"
26571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26572 /* end confdefs.h. */
26574 void _mm256_zeroall (void)
26576 __builtin_ia32_vzeroall ();
26586 if ac_fn_c_try_compile
"$LINENO"; then :
26588 $as_echo "#define HAVE_AVX 1" >>confdefs.h
26591 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26592 CFLAGS
="$ac_save_CFLAGS"
26595 # Check wether we support AVX2 extensions
26597 ac_save_CFLAGS
="$CFLAGS"
26598 CFLAGS
="-O2 -mavx2"
26599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26600 /* end confdefs.h. */
26602 typedef long long __v4di __attribute__ ((__vector_size__ (32)));
26604 mm256_is32_andnotsi256 (__v4di __X, __v4di __Y)
26606 return __builtin_ia32_andnotsi256 (__X, __Y);
26616 if ac_fn_c_try_compile
"$LINENO"; then :
26618 $as_echo "#define HAVE_AVX2 1" >>confdefs.h
26621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26622 CFLAGS
="$ac_save_CFLAGS"
26625 # Check wether we support AVX512f extensions
26627 ac_save_CFLAGS
="$CFLAGS"
26628 CFLAGS
="-O2 -mavx512f"
26629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26630 /* end confdefs.h. */
26632 typedef double __m512d __attribute__ ((__vector_size__ (64)));
26633 __m512d _mm512_add (__m512d a)
26635 __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
26636 /* For -m64/-mx32 also verify that code will work even if
26637 the target uses call saved zmm16+ and needs to emit
26638 unwind info for them (e.g. on mingw). See PR79127. */
26640 asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19");
26652 if ac_fn_c_try_compile
"$LINENO"; then :
26654 $as_echo "#define HAVE_AVX512F 1" >>confdefs.h
26657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26658 CFLAGS
="$ac_save_CFLAGS"
26661 # Check for FMA3 extensions
26663 ac_save_CFLAGS
="$CFLAGS"
26664 CFLAGS
="-O2 -mfma -mno-fma4"
26665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26666 /* end confdefs.h. */
26668 typedef float __m128 __attribute__ ((__vector_size__ (16)));
26669 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
26670 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
26672 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
26684 if ac_fn_c_try_compile
"$LINENO"; then :
26686 $as_echo "#define HAVE_FMA3 1" >>confdefs.h
26689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26690 CFLAGS
="$ac_save_CFLAGS"
26693 # Check for FMA4 extensions
26695 ac_save_CFLAGS
="$CFLAGS"
26696 CFLAGS
="-O2 -mfma4 -mno-fma"
26697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26698 /* end confdefs.h. */
26700 typedef float __m128 __attribute__ ((__vector_size__ (16)));
26701 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
26702 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
26704 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
26716 if ac_fn_c_try_compile
"$LINENO"; then :
26718 $as_echo "#define HAVE_FMA4 1" >>confdefs.h
26721 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26722 CFLAGS
="$ac_save_CFLAGS"
26725 # Check if AVX128 works
26727 ac_save_CFLAGS
="$CFLAGS"
26728 CFLAGS
="-O2 -mavx -mprefer-avx128"
26729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26730 /* end confdefs.h. */
26743 if ac_fn_c_try_compile
"$LINENO"; then :
26745 $as_echo "#define HAVE_AVX128 1" >>confdefs.h
26749 HAVE_AVX128_FALSE
='#'
26751 HAVE_AVX128_TRUE
='#'
26758 HAVE_AVX128_FALSE
='#'
26760 HAVE_AVX128_TRUE
='#'
26765 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26766 CFLAGS
="$ac_save_CFLAGS"
26769 # Determine what GCC version number to use in filesystem paths.
26771 get_gcc_base_ver
="cat"
26773 # Check whether --with-gcc-major-version-only was given.
26774 if test "${with_gcc_major_version_only+set}" = set; then :
26775 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
26776 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
26784 cat >confcache
<<\_ACEOF
26785 # This file is a shell script that caches the results of configure
26786 # tests run on this system so they can be shared between configure
26787 # scripts and configure runs, see configure's option --config-cache.
26788 # It is not useful on other systems. If it contains results you don't
26789 # want to keep, you may remove or edit it.
26791 # config.status only pays attention to the cache file if you give it
26792 # the --recheck option to rerun configure.
26794 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26795 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26796 # following values.
26800 # The following way of writing the cache mishandles newlines in values,
26801 # but we know of no workaround that is simple, portable, and efficient.
26802 # So, we kill variables containing newlines.
26803 # Ultrix sh set writes to stderr and can't be redirected directly,
26804 # and sets the high bit in the cache file unless we assign to the vars.
26806 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26807 eval ac_val
=\$
$ac_var
26811 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26812 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26815 _ | IFS | as_nl
) ;; #(
26816 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26817 *) { eval $ac_var=; unset $ac_var;} ;;
26823 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26824 *${as_nl}ac_space
=\
*)
26825 # `set' does not quote correctly, so add quotes: double-quote
26826 # substitution turns \\\\ into \\, and sed turns \\ into \.
26829 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26832 # `set' quotes correctly as required by POSIX, so do not add quotes.
26833 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26842 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26844 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26846 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26847 if test -w "$cache_file"; then
26848 if test "x$cache_file" != "x/dev/null"; then
26849 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26850 $as_echo "$as_me: updating cache $cache_file" >&6;}
26851 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
26852 cat confcache
>"$cache_file"
26854 case $cache_file in #(
26856 mv -f confcache
"$cache_file"$$
&&
26857 mv -f "$cache_file"$$
"$cache_file" ;; #(
26859 mv -f confcache
"$cache_file" ;;
26864 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26865 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26870 if test ${multilib} = yes; then
26871 multilib_arg
="--enable-multilib"
26876 # Write our Makefile and spec file.
26877 ac_config_files
="$ac_config_files Makefile libgfortran.spec"
26879 cat >confcache
<<\_ACEOF
26880 # This file is a shell script that caches the results of configure
26881 # tests run on this system so they can be shared between configure
26882 # scripts and configure runs, see configure's option --config-cache.
26883 # It is not useful on other systems. If it contains results you don't
26884 # want to keep, you may remove or edit it.
26886 # config.status only pays attention to the cache file if you give it
26887 # the --recheck option to rerun configure.
26889 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26890 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26891 # following values.
26895 # The following way of writing the cache mishandles newlines in values,
26896 # but we know of no workaround that is simple, portable, and efficient.
26897 # So, we kill variables containing newlines.
26898 # Ultrix sh set writes to stderr and can't be redirected directly,
26899 # and sets the high bit in the cache file unless we assign to the vars.
26901 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26902 eval ac_val
=\$
$ac_var
26906 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26907 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26910 _ | IFS | as_nl
) ;; #(
26911 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26912 *) { eval $ac_var=; unset $ac_var;} ;;
26918 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26919 *${as_nl}ac_space
=\
*)
26920 # `set' does not quote correctly, so add quotes: double-quote
26921 # substitution turns \\\\ into \\, and sed turns \\ into \.
26924 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26927 # `set' quotes correctly as required by POSIX, so do not add quotes.
26928 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26937 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26939 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26941 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26942 if test -w "$cache_file"; then
26943 if test "x$cache_file" != "x/dev/null"; then
26944 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26945 $as_echo "$as_me: updating cache $cache_file" >&6;}
26946 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
26947 cat confcache
>"$cache_file"
26949 case $cache_file in #(
26951 mv -f confcache
"$cache_file"$$
&&
26952 mv -f "$cache_file"$$
"$cache_file" ;; #(
26954 mv -f confcache
"$cache_file" ;;
26959 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26960 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26965 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
26966 # Let make expand exec_prefix.
26967 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
26969 DEFS
=-DHAVE_CONFIG_H
26974 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
26975 # 1. Remove the extension, and $U if already installed.
26976 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
26977 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
26978 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26979 # will be set to the directory where LIBOBJS objects are built.
26980 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26981 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
26983 LIBOBJS
=$ac_libobjs
26985 LTLIBOBJS
=$ac_ltlibobjs
26988 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26989 as_fn_error $?
"conditional \"onestep\" was never defined.
26990 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
26993 $as_echo_n "checking that generated files are newer than configure... " >&6; }
26994 if test -n "$am_sleep_pid"; then
26995 # Hide warnings about reused PIDs.
26996 wait $am_sleep_pid 2>/dev
/null
26998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
26999 $as_echo "done" >&6; }
27000 if test -n "$EXEEXT"; then
27002 am__EXEEXT_FALSE
='#'
27004 am__EXEEXT_TRUE
='#'
27008 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
27009 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
27010 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27012 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
27013 as_fn_error $?
"conditional \"AMDEP\" was never defined.
27014 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27016 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27017 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
27018 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27020 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27021 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
27022 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27024 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
27025 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
27026 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27028 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
27029 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
27030 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27032 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
27033 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
27034 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27036 if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
27037 as_fn_error $?
"conditional \"LIBGFOR_MINIMAL\" was never defined.
27038 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27040 if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
27041 as_fn_error $?
"conditional \"HAVE_HWCAP\" was never defined.
27042 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27044 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
27045 as_fn_error $?
"conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
27046 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27048 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
27049 as_fn_error $?
"conditional \"IEEE_SUPPORT\" was never defined.
27050 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27052 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
27053 as_fn_error $?
"conditional \"HAVE_AVX128\" was never defined.
27054 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27056 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
27057 as_fn_error $?
"conditional \"HAVE_AVX128\" was never defined.
27058 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27061 : "${CONFIG_STATUS=./config.status}"
27063 ac_clean_files_save
=$ac_clean_files
27064 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
27065 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
27066 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
27068 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
27070 # Generated by $as_me.
27071 # Run this file to recreate the current configuration.
27072 # Compiler output produced by configure, useful for debugging
27073 # configure, is in config.log if it exists.
27076 ac_cs_recheck=false
27079 SHELL=\${CONFIG_SHELL-$SHELL}
27082 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
27083 ## -------------------- ##
27084 ## M4sh Initialization. ##
27085 ## -------------------- ##
27087 # Be more Bourne compatible
27088 DUALCASE
=1; export DUALCASE
# for MKS sh
27089 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
27092 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27093 # is contrary to our usage. Disable this feature.
27094 alias -g '${1+"$@"}'='"$@"'
27095 setopt NO_GLOB_SUBST
27097 case `(set -o) 2>/dev/null` in #(
27109 # Printing a long string crashes Solaris 7 /usr/bin/printf.
27110 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
27111 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
27112 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
27113 # Prefer a ksh shell builtin over an external printf program on Solaris,
27114 # but without wasting forks for bash or zsh.
27115 if test -z "$BASH_VERSION$ZSH_VERSION" \
27116 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
27117 as_echo='print
-r --'
27118 as_echo_n='print
-rn --'
27119 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
27120 as_echo='printf %s
\n'
27121 as_echo_n='printf %s
'
27123 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
27124 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
27125 as_echo_n='/usr
/ucb
/echo -n'
27127 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
27128 as_echo_n_body='eval
27132 expr "X$arg" : "X\\(.*\\)$as_nl";
27133 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
27135 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
27137 export as_echo_n_body
27138 as_echo_n='sh
-c $as_echo_n_body as_echo
'
27140 export as_echo_body
27141 as_echo='sh
-c $as_echo_body as_echo
'
27144 # The user is always right.
27145 if test "${PATH_SEPARATOR+set}" != set; then
27147 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
27148 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
27155 # We need space, tab and new line, in precisely that order. Quoting is
27156 # there to prevent editors from complaining about space-tab.
27157 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
27158 # splitting by setting IFS to empty value.)
27161 # Find who we are. Look in the path if we contain no directory separator.
27164 *[\\/]* ) as_myself=$0 ;;
27165 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27166 for as_dir in $PATH
27169 test -z "$as_dir" && as_dir=.
27170 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
27176 # We did not find ourselves, most probably we were run as `sh COMMAND'
27177 # in which case we are not to be found in the path.
27178 if test "x$as_myself" = x
; then
27181 if test ! -f "$as_myself"; then
27182 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
27186 # Unset variables that we do not need and which cause bugs (e.g. in
27187 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
27188 # suppresses any "Segmentation fault" message there. '((' could
27189 # trigger a bug in pdksh 5.2.14.
27190 for as_var
in BASH_ENV ENV MAIL MAILPATH
27191 do eval test x\
${$as_var+set} = xset \
27192 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
27205 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
27208 # as_fn_error STATUS ERROR [LINENO LOG_FD]
27209 # ----------------------------------------
27210 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
27211 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
27212 # script with STATUS, using 1 if that was 0.
27215 as_status
=$1; test $as_status -eq 0 && as_status
=1
27217 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
27218 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
27220 $as_echo "$as_me: error: $2" >&2
27221 as_fn_exit
$as_status
27225 # as_fn_set_status STATUS
27226 # -----------------------
27227 # Set $? to STATUS, without forking.
27228 as_fn_set_status
()
27231 } # as_fn_set_status
27233 # as_fn_exit STATUS
27234 # -----------------
27235 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
27239 as_fn_set_status
$1
27245 # Portably unset VAR.
27248 { eval $1=; unset $1;}
27250 as_unset
=as_fn_unset
27251 # as_fn_append VAR VALUE
27252 # ----------------------
27253 # Append the text in VALUE to the end of the definition contained in VAR. Take
27254 # advantage of any shell optimizations that allow amortized linear growth over
27255 # repeated appends, instead of the typical quadratic growth present in naive
27257 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
27258 eval 'as_fn_append ()
27269 # as_fn_arith ARG...
27270 # ------------------
27271 # Perform arithmetic evaluation on the ARGs, and store the result in the
27272 # global $as_val. Take advantage of shells that can avoid forks. The arguments
27273 # must be portable across $(()) and expr.
27274 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
27275 eval 'as_fn_arith ()
27282 as_val
=`expr "$@" || test $? -eq 1`
27287 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
27288 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
27294 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
27295 as_basename
=basename
27300 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
27306 as_me
=`$as_basename -- "$0" ||
27307 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27308 X"$0" : 'X\(//\)$' \| \
27309 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27311 sed '/^.*\/\([^/][^/]*\)\/*$/{
27325 # Avoid depending upon Character Ranges.
27326 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
27327 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27328 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
27329 as_cr_digits
='0123456789'
27330 as_cr_alnum
=$as_cr_Letters$as_cr_digits
27332 ECHO_C
= ECHO_N
= ECHO_T
=
27333 case `echo -n x` in #(((((
27335 case `echo 'xy\c'` in
27336 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
27338 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
27345 rm -f conf$$ conf$$.exe conf$$.
file
27346 if test -d conf$$.dir
; then
27347 rm -f conf$$.dir
/conf$$.
file
27350 mkdir conf$$.dir
2>/dev
/null
27352 if (echo >conf$$.
file) 2>/dev
/null
; then
27353 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
27355 # ... but there are two gotchas:
27356 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27357 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27358 # In both cases, we have to default to `cp -pR'.
27359 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
27361 elif ln conf$$.
file conf$$
2>/dev
/null
; then
27369 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
27370 rmdir conf$$.dir
2>/dev
/null
27375 # Create "$as_dir" as a directory, including parents if necessary.
27380 -*) as_dir
=.
/$as_dir;;
27382 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
27386 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27387 *) as_qdir
=$as_dir;;
27389 as_dirs
="'$as_qdir' $as_dirs"
27390 as_dir
=`$as_dirname -- "$as_dir" ||
27391 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27392 X"$as_dir" : 'X\(//\)[^/]' \| \
27393 X"$as_dir" : 'X\(//\)$' \| \
27394 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27395 $as_echo X"$as_dir" |
27396 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27400 /^X\(\/\/\)[^/].*/{
27413 test -d "$as_dir" && break
27415 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
27416 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
27420 if mkdir
-p .
2>/dev
/null
; then
27421 as_mkdir_p
='mkdir -p "$as_dir"'
27423 test -d .
/-p && rmdir .
/-p
27428 # as_fn_executable_p FILE
27429 # -----------------------
27430 # Test if FILE is an executable regular file.
27431 as_fn_executable_p
()
27433 test -f "$1" && test -x "$1"
27434 } # as_fn_executable_p
27435 as_test_x
='test -x'
27436 as_executable_p
=as_fn_executable_p
27438 # Sed expression to map a string onto a valid CPP name.
27439 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27441 # Sed expression to map a string onto a valid variable name.
27442 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27446 ## ----------------------------------- ##
27447 ## Main body of $CONFIG_STATUS script. ##
27448 ## ----------------------------------- ##
27450 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
27452 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27453 # Save the log message, to keep $0 and so on meaningful, and to
27454 # report actual input values of CONFIG_FILES etc. instead of their
27455 # values after options handling.
27457 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27458 generated by GNU Autoconf 2.69. Invocation command line was
27460 CONFIG_FILES = $CONFIG_FILES
27461 CONFIG_HEADERS = $CONFIG_HEADERS
27462 CONFIG_LINKS = $CONFIG_LINKS
27463 CONFIG_COMMANDS = $CONFIG_COMMANDS
27466 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27471 case $ac_config_files in *"
27472 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
27475 case $ac_config_headers in *"
27476 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
27480 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27481 # Files that config.status was made for.
27482 config_files="$ac_config_files"
27483 config_headers="$ac_config_headers"
27484 config_commands="$ac_config_commands"
27488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27490 \`$as_me' instantiates files and other configuration actions
27491 from templates according to the current configuration. Unless the files
27492 and actions are specified as TAGs, all are instantiated by default.
27494 Usage: $0 [OPTION]... [TAG]...
27496 -h, --help print this help, then exit
27497 -V, --version print version number and configuration settings, then exit
27498 --config print configuration, then exit
27499 -q, --quiet, --silent
27500 do not print progress messages
27501 -d, --debug don't remove temporary files
27502 --recheck update $as_me by reconfiguring in the same conditions
27503 --file=FILE[:TEMPLATE]
27504 instantiate the configuration file FILE
27505 --header=FILE[:TEMPLATE]
27506 instantiate the configuration header FILE
27508 Configuration files:
27511 Configuration headers:
27514 Configuration commands:
27517 Report bugs to the package provider.
27518 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27519 General help using GNU software: <http://www.gnu.org/gethelp/>."
27522 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27523 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
27525 GNU Fortran Runtime Library config.status 0.3
27526 configured by $0, generated by GNU Autoconf 2.69,
27527 with options \\"\$ac_cs_config\\"
27529 Copyright (C) 2012 Free Software Foundation, Inc.
27530 This config.status script is free software; the Free Software Foundation
27531 gives unlimited permission to copy, distribute and modify it."
27538 test -n "\$AWK" || AWK=awk
27541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27542 # The default lists apply if the user does not specify any file.
27548 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
27549 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
27553 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
27565 # Handling of the options.
27566 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
27568 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
27569 $as_echo "$ac_cs_version"; exit ;;
27570 --config |
--confi |
--conf |
--con |
--co |
--c )
27571 $as_echo "$ac_cs_config"; exit ;;
27572 --debug |
--debu |
--deb |
--de |
--d |
-d )
27574 --file |
--fil |
--fi |
--f )
27577 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27578 '') as_fn_error $?
"missing file argument" ;;
27580 as_fn_append CONFIG_FILES
" '$ac_optarg'"
27581 ac_need_defaults
=false
;;
27582 --header |
--heade |
--head |
--hea )
27585 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27587 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
27588 ac_need_defaults
=false
;;
27590 # Conflict between --help and --header
27591 as_fn_error $?
"ambiguous option: \`$1'
27592 Try \`$0 --help' for more information.";;
27593 --help |
--hel |
-h )
27594 $as_echo "$ac_cs_usage"; exit ;;
27595 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
27596 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
27599 # This is an error.
27600 -*) as_fn_error $?
"unrecognized option: \`$1'
27601 Try \`$0 --help' for more information." ;;
27603 *) as_fn_append ac_config_targets
" $1"
27604 ac_need_defaults
=false
;;
27610 ac_configure_extra_args
=
27612 if $ac_cs_silent; then
27614 ac_configure_extra_args
="$ac_configure_extra_args --silent"
27618 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27619 if \$ac_cs_recheck; then
27620 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27622 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27623 CONFIG_SHELL='$SHELL'
27624 export CONFIG_SHELL
27629 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27633 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27634 ## Running $as_me. ##
27640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27648 with_multisubdir="$with_multisubdir"
27649 with_multisrctop="$with_multisrctop"
27650 with_target_subdir="$with_target_subdir"
27651 ac_configure_args="${multilib_arg} ${ac_configure_args}"
27652 multi_basedir="$multi_basedir"
27653 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27656 GFORTRAN="$GFORTRAN"
27658 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27661 # The HP-UX ksh and POSIX shell print the target directory to stdout
27662 # if CDPATH is set.
27663 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27665 sed_quote_subst='$sed_quote_subst'
27666 double_quote_subst='$double_quote_subst'
27667 delay_variable_subst='$delay_variable_subst'
27668 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27669 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27670 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27671 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27672 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27673 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27674 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27675 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27676 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27677 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27678 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27679 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27680 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27681 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27682 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27683 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27684 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27685 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27686 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27687 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27688 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27689 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27690 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27691 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27692 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27693 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27694 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27695 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27696 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27697 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27698 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27699 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27700 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27701 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27702 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27703 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27704 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27705 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27706 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27707 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27708 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27709 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27710 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27711 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27712 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27713 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27714 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27715 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27716 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"`'
27717 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27718 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27719 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27720 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27721 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27722 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27723 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27724 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27725 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27726 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27727 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27728 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27729 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27730 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27731 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27732 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27733 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27734 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27735 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27736 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27737 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27738 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27739 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27740 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27741 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27742 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27743 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27744 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27745 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27746 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27747 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27748 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27749 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27750 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27751 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27752 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27753 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27754 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27755 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27756 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27757 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27758 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27759 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27760 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27761 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27762 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27763 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27764 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27765 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27766 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27767 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27768 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27769 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27770 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27771 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27772 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27773 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27774 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27775 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27776 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27777 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27778 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27779 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27780 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27781 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27782 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27783 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27784 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27785 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27786 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27787 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27788 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27789 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27790 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27791 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27792 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27793 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27794 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27795 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27796 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27797 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27798 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27799 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27800 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27801 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27802 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27803 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27804 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27805 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27806 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27807 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27808 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27809 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27810 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27811 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27812 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27813 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27814 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27815 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27816 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27817 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27818 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27819 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27820 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27821 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27822 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27823 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27824 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27825 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27826 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27827 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27828 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27829 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27830 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27831 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27832 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27833 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27834 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27835 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27836 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27837 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27838 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27839 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27840 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27841 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27842 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27845 LTCFLAGS='$LTCFLAGS'
27846 compiler='$compiler_DEFAULT'
27848 # A function that is used when there is no print builtin or printf.
27849 func_fallback_echo ()
27851 eval 'cat <<_LTECHO_EOF
27856 # Quote evaled strings.
27870 deplibs_check_method \
27879 lt_cv_sys_global_symbol_pipe \
27880 lt_cv_sys_global_symbol_to_cdecl \
27881 lt_cv_sys_global_symbol_to_c_name_address \
27882 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27883 lt_prog_compiler_no_builtin_flag \
27884 lt_prog_compiler_wl \
27885 lt_prog_compiler_pic \
27886 lt_prog_compiler_static \
27887 lt_cv_prog_compiler_c_o \
27895 export_dynamic_flag_spec \
27896 whole_archive_flag_spec \
27897 compiler_needs_object \
27899 allow_undefined_flag \
27900 no_undefined_flag \
27901 hardcode_libdir_flag_spec \
27902 hardcode_libdir_flag_spec_ld \
27903 hardcode_libdir_separator \
27908 variables_saved_for_relink \
27910 library_names_spec \
27912 install_override_mode \
27916 compiler_lib_search_dirs \
27921 compiler_lib_search_path \
27925 lt_prog_compiler_no_builtin_flag_FC \
27926 lt_prog_compiler_wl_FC \
27927 lt_prog_compiler_pic_FC \
27928 lt_prog_compiler_static_FC \
27929 lt_cv_prog_compiler_c_o_FC \
27930 export_dynamic_flag_spec_FC \
27931 whole_archive_flag_spec_FC \
27932 compiler_needs_object_FC \
27934 allow_undefined_flag_FC \
27935 no_undefined_flag_FC \
27936 hardcode_libdir_flag_spec_FC \
27937 hardcode_libdir_flag_spec_ld_FC \
27938 hardcode_libdir_separator_FC \
27939 fix_srcfile_path_FC \
27940 exclude_expsyms_FC \
27941 include_expsyms_FC \
27942 file_list_spec_FC \
27943 compiler_lib_search_dirs_FC \
27944 predep_objects_FC \
27945 postdep_objects_FC \
27948 compiler_lib_search_path_FC; do
27949 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27950 *[\\\\\\\`\\"\\\$]*)
27951 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27954 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27959 # Double-quote double-evaled strings.
27960 for var in reload_cmds \
27961 old_postinstall_cmds \
27962 old_postuninstall_cmds \
27964 extract_expsyms_cmds \
27965 old_archive_from_new_cmds \
27966 old_archive_from_expsyms_cmds \
27968 archive_expsym_cmds \
27970 module_expsym_cmds \
27971 export_symbols_cmds \
27974 postuninstall_cmds \
27976 sys_lib_search_path_spec \
27977 sys_lib_dlsearch_path_spec \
27979 old_archive_cmds_FC \
27980 old_archive_from_new_cmds_FC \
27981 old_archive_from_expsyms_cmds_FC \
27983 archive_expsym_cmds_FC \
27985 module_expsym_cmds_FC \
27986 export_symbols_cmds_FC \
27987 prelink_cmds_FC; do
27988 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27989 *[\\\\\\\`\\"\\\$]*)
27990 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27993 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27998 ac_aux_dir='$ac_aux_dir'
27999 xsi_shell='$xsi_shell'
28000 lt_shell_append='$lt_shell_append'
28002 # See if we are running on zsh, and set the options which allow our
28003 # commands through without removal of \ escapes INIT.
28004 if test -n "\${ZSH_VERSION+set}" ; then
28005 setopt NO_GLOB_SUBST
28011 TIMESTAMP='$TIMESTAMP'
28022 acx_cv_header_stdint="$acx_cv_header_stdint"
28023 acx_cv_type_int8_t="$acx_cv_type_int8_t"
28024 acx_cv_type_int16_t="$acx_cv_type_int16_t"
28025 acx_cv_type_int32_t="$acx_cv_type_int32_t"
28026 acx_cv_type_int64_t="$acx_cv_type_int64_t"
28027 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
28028 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
28029 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
28030 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
28031 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
28032 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
28033 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
28034 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
28035 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
28040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28042 # Handling of arguments.
28043 for ac_config_target
in $ac_config_targets
28045 case $ac_config_target in
28046 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
28047 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
28048 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
28049 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
28050 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
28051 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
28052 "libgfortran.spec") CONFIG_FILES
="$CONFIG_FILES libgfortran.spec" ;;
28054 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
28059 # If the user did not use the arguments to specify the items to instantiate,
28060 # then the envvar interface is used. Set only those that are not.
28061 # We use the long form for the default assignment because of an extremely
28062 # bizarre bug on SunOS 4.1.3.
28063 if $ac_need_defaults; then
28064 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
28065 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
28066 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
28069 # Have a temporary directory for convenience. Make it in the build tree
28070 # simply because there is no reason against having it here, and in addition,
28071 # creating and moving files from /tmp can sometimes cause problems.
28072 # Hook for its removal unless debugging.
28073 # Note that there is a small window in which the directory will not be cleaned:
28074 # after its creation but before its name has been assigned to `$tmp'.
28078 trap 'exit_status=$?
28079 : "${ac_tmp:=$tmp}"
28080 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
28082 trap 'as_fn_exit 1' 1 2 13 15
28084 # Create a (secure) tmp directory for tmp files.
28087 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
28091 tmp
=.
/conf$$
-$RANDOM
28092 (umask 077 && mkdir
"$tmp")
28093 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
28096 # Set up the scripts for CONFIG_FILES section.
28097 # No need to generate them if there are no CONFIG_FILES.
28098 # This happens for instance with `./config.status config.h'.
28099 if test -n "$CONFIG_FILES"; then
28102 ac_cr
=`echo X | tr X '\015'`
28103 # On cygwin, bash can eat \r inside `` if the user requested igncr.
28104 # But we know of no other shell where ac_cr would be empty at this
28105 # point, so we can use a bashism as a fallback.
28106 if test "x$ac_cr" = x
; then
28107 eval ac_cr
=\$
\'\\r
\'
28109 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
28110 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
28113 ac_cs_awk_cr
=$ac_cr
28116 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
28121 echo "cat >conf$$subs.awk <<_ACEOF" &&
28122 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
28124 } >conf$$subs.sh ||
28125 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
28126 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
28128 for ac_last_try in false false false false false :; do
28129 . ./conf$$subs.sh ||
28130 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
28132 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
28133 if test $ac_delim_n = $ac_delim_num; then
28135 elif $ac_last_try; then
28136 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
28138 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
28141 rm -f conf$$subs.sh
28143 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28144 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
28148 s/^/S["/; s
/!.
*/"]=/
28158 s/\(.\{148\}\)..*/\1/
28160 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
28165 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
28172 s/\(.\{148\}\)..*/\1/
28174 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
28178 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
28183 ' <conf$$subs.awk | sed '
28188 ' >>$CONFIG_STATUS || ac_write_fail=1
28189 rm -f conf$$subs.awk
28190 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28192 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
28193 for (key in S) S_is_set[key] = 1
28199 nfields = split(line, field, "@
")
28201 len = length(field[1])
28202 for (i = 2; i < nfields; i++) {
28204 keylen = length(key)
28205 if (S_is_set[key]) {
28207 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
28208 len += length(value) + length(field[++i])
28219 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28220 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
28221 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
28224 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
28225 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
28228 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
28229 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
28230 # trailing colons and then remove the whole line if VPATH becomes empty
28231 # (actually we leave an empty line to preserve line numbers).
28232 if test "x
$srcdir" = x.; then
28233 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
28251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28252 fi # test -n "$CONFIG_FILES"
28254 # Set up the scripts for CONFIG_HEADERS section.
28255 # No need to generate them if there are no CONFIG_HEADERS.
28256 # This happens for instance with `./config.status Makefile'.
28257 if test -n "$CONFIG_HEADERS"; then
28258 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
28262 # Transform confdefs.h into an awk script `defines.awk', embedded as
28263 # here-document in config.status, that substitutes the proper values into
28264 # config.h.in to produce config.h.
28266 # Create a delimiter string that does not exist in confdefs.h, to ease
28267 # handling of long lines.
28269 for ac_last_try in false false :; do
28270 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
28271 if test -z "$ac_tt"; then
28273 elif $ac_last_try; then
28274 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
28276 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
28280 # For the awk script, D is an array of macro values keyed by name,
28281 # likewise P contains macro parameters if any. Preserve backslash
28282 # newline sequences.
28284 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
28286 s/.\{148\}/&'"$ac_delim"'/g
28289 s/^[ ]*#[ ]*define[ ][ ]*/ /
28296 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
28298 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
28302 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
28303 D["\
1"]=" \
3\\\\\\n
"\\/p
28305 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
28310 s/.\{148\}/&'"$ac_delim"'/g
28315 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
28318 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
28320 ' <confdefs.h | sed '
28321 s/'"$ac_delim"'/"\\\
28322 "/g' >>$CONFIG_STATUS || ac_write_fail=1
28324 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28325 for (key in D) D_is_set[key] = 1
28328 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
28330 split(line, arg, " ")
28331 if (arg[1] == "#") {
28335 defundef
= substr
(arg
[1], 2)
28338 split(mac1
, mac2
, "(") #)
28340 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
28341 if (D_is_set
[macro
]) {
28342 # Preserve the white space surrounding the "#".
28343 print prefix
"define", macro P
[macro
] D
[macro
]
28346 # Replace #undef with comments. This is necessary, for example,
28347 # in the case of _POSIX_SOURCE, which is predefined and required
28348 # on some systems where configure will not decide to define it.
28349 if (defundef
== "undef") {
28350 print
"/*", prefix defundef
, macro
, "*/"
28358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28359 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
28360 fi # test -n "$CONFIG_HEADERS"
28363 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
28368 :[FHLC
]) ac_mode
=$ac_tag; continue;;
28370 case $ac_mode$ac_tag in
28372 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
28373 :[FH
]-) ac_tag
=-:-;;
28374 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
28391 -) ac_f
="$ac_tmp/stdin";;
28392 *) # Look for the file first in the build tree, then in the source tree
28393 # (if the path is not absolute). The absolute path cannot be DOS-style,
28394 # because $ac_f cannot contain `:'.
28398 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
28400 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
28402 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28403 as_fn_append ac_file_inputs
" '$ac_f'"
28406 # Let's still pretend it is `configure' which instantiates (i.e., don't
28407 # use $as_me), people would be surprised to read:
28408 # /* config.h. Generated by config.status. */
28409 configure_input
='Generated from '`
28410 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28412 if test x
"$ac_file" != x-
; then
28413 configure_input
="$ac_file. $configure_input"
28414 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
28415 $as_echo "$as_me: creating $ac_file" >&6;}
28417 # Neutralize special characters interpreted by sed in replacement strings.
28418 case $configure_input in #(
28419 *\
&* |
*\|
* |
*\\* )
28420 ac_sed_conf_input
=`$as_echo "$configure_input" |
28421 sed 's/[\\\\&|]/\\\\&/g'`;; #(
28422 *) ac_sed_conf_input
=$configure_input;;
28426 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
28427 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
28432 ac_dir
=`$as_dirname -- "$ac_file" ||
28433 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28434 X"$ac_file" : 'X\(//\)[^/]' \| \
28435 X"$ac_file" : 'X\(//\)$' \| \
28436 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28437 $as_echo X"$ac_file" |
28438 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28442 /^X\(\/\/\)[^/].*/{
28455 as_dir
="$ac_dir"; as_fn_mkdir_p
28459 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28461 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28462 # A ".." for each directory in $ac_dir_suffix.
28463 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28464 case $ac_top_builddir_sub in
28465 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28466 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
28469 ac_abs_top_builddir
=$ac_pwd
28470 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
28471 # for backward compatibility:
28472 ac_top_builddir
=$ac_top_build_prefix
28475 .
) # We are building in place.
28477 ac_top_srcdir
=$ac_top_builddir_sub
28478 ac_abs_top_srcdir
=$ac_pwd ;;
28479 [\\/]* | ?
:[\\/]* ) # Absolute name.
28480 ac_srcdir
=$srcdir$ac_dir_suffix;
28481 ac_top_srcdir
=$srcdir
28482 ac_abs_top_srcdir
=$srcdir ;;
28483 *) # Relative name.
28484 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
28485 ac_top_srcdir
=$ac_top_build_prefix$srcdir
28486 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
28488 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
28498 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
28499 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
28501 ac_MKDIR_P
=$MKDIR_P
28503 [\\/$
]* | ?
:[\\/]* ) ;;
28504 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
28508 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28509 # If the template does not know about datarootdir, expand it.
28510 # FIXME: This hack should be removed a few years after 2.60.
28511 ac_datarootdir_hack
=; ac_datarootdir_seen
=
28522 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28523 *datarootdir
*) ac_datarootdir_seen
=yes;;
28524 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
28525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28526 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28528 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28529 ac_datarootdir_hack='
28530 s&@datadir@&$datadir&g
28531 s&@docdir@&$docdir&g
28532 s&@infodir@&$infodir&g
28533 s&@localedir@&$localedir&g
28534 s&@mandir@&$mandir&g
28535 s&\\\${datarootdir}&$datarootdir&g' ;;
28539 # Neutralize VPATH when `$srcdir' = `.'.
28540 # Shell code in configure.ac might set extrasub.
28541 # FIXME: do we really want to maintain this feature?
28542 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28543 ac_sed_extra="$ac_vpsub
28546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28548 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
28549 s|@configure_input@|
$ac_sed_conf_input|
;t t
28550 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
28551 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
28552 s
&@srcdir@
&$ac_srcdir&;t t
28553 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
28554 s
&@top_srcdir@
&$ac_top_srcdir&;t t
28555 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
28556 s
&@builddir@
&$ac_builddir&;t t
28557 s
&@abs_builddir@
&$ac_abs_builddir&;t t
28558 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
28559 s
&@INSTALL@
&$ac_INSTALL&;t t
28560 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
28561 $ac_datarootdir_hack
28563 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
28564 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
28566 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28567 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
28568 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
28569 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
28570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
28571 which seems to be undefined. Please make sure it is defined" >&5
28572 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
28573 which seems to be undefined. Please make sure it is defined" >&2;}
28575 rm -f "$ac_tmp/stdin"
28577 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
28578 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
28580 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28586 if test x"$ac_file" != x-; then
28588 $as_echo "/* $configure_input */" \
28589 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
28590 } >"$ac_tmp/config.h" \
28591 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28592 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
28593 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28594 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28597 mv "$ac_tmp/config.h" "$ac_file" \
28598 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28601 $as_echo "/* $configure_input */" \
28602 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
28603 || as_fn_error $? "could not create -" "$LINENO" 5
28605 # Compute "$ac_file"'s index
in $config_headers.
28608 for _am_header
in $config_headers :; do
28609 case $_am_header in
28610 $_am_arg |
$_am_arg:* )
28613 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
28616 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28617 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28618 X"$_am_arg" : 'X\(//\)[^/]' \| \
28619 X"$_am_arg" : 'X\(//\)$' \| \
28620 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28621 $as_echo X"$_am_arg" |
28622 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28626 /^X\(\/\/\)[^/].*/{
28638 s/.*/./; q'`/stamp-h
$_am_stamp_count
28641 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28642 $as_echo "$as_me: executing $ac_file commands" >&6;}
28647 case $ac_file$ac_mode in
28649 # Only add multilib support code if we just rebuilt the top-level
28651 case " $CONFIG_FILES " in
28653 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
28656 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
28657 # Older Autoconf quotes --file arguments for eval, but not when files
28658 # are listed without --file. Let's play safe and only enable the eval
28659 # if we detect the quoting.
28660 case $CONFIG_FILES in
28661 *\'*) eval set x
"$CONFIG_FILES" ;;
28662 *) set x
$CONFIG_FILES ;;
28667 # Strip MF so we end up with the name of the file.
28668 mf
=`echo "$mf" | sed -e 's/:.*$//'`
28669 # Check whether this is an Automake generated Makefile or not.
28670 # We used to match only the files named 'Makefile.in', but
28671 # some people rename them; so instead we look at the file content.
28672 # Grep'ing the first line is not enough: some people post-process
28673 # each Makefile.in and add a new line on top of each file to say so.
28674 # Grep'ing the whole file is not good either: AIX grep has a line
28675 # limit of 2048, but all sed's we know have understand at least 4000.
28676 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
28677 dirpart
=`$as_dirname -- "$mf" ||
28678 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28679 X"$mf" : 'X\(//\)[^/]' \| \
28680 X"$mf" : 'X\(//\)$' \| \
28681 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28683 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28687 /^X\(\/\/\)[^/].*/{
28703 # Extract the definition of DEPDIR, am__include, and am__quote
28704 # from the Makefile without running 'make'.
28705 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
28706 test -z "$DEPDIR" && continue
28707 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
28708 test -z "$am__include" && continue
28709 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
28710 # Find all dependency output files, they are included files with
28711 # $(DEPDIR) in their names. We invoke sed twice because it is the
28712 # simplest approach to changing $(DEPDIR) to its actual value in the
28714 for file in `sed -n "
28715 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28716 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
28717 # Make sure the directory exists.
28718 test -f "$dirpart/$file" && continue
28719 fdir
=`$as_dirname -- "$file" ||
28720 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28721 X"$file" : 'X\(//\)[^/]' \| \
28722 X"$file" : 'X\(//\)$' \| \
28723 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28724 $as_echo X"$file" |
28725 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28729 /^X\(\/\/\)[^/].*/{
28742 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
28743 # echo "creating $dirpart/$file"
28744 echo '# dummy' > "$dirpart/$file"
28751 # See if we are running on zsh, and set the options which allow our
28752 # commands through without removal of \ escapes.
28753 if test -n "${ZSH_VERSION+set}" ; then
28754 setopt NO_GLOB_SUBST
28757 cfgfile
="${ofile}T"
28758 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28761 cat <<_LT_EOF >> "$cfgfile"
28764 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28765 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28766 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28767 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28769 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28770 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28771 # Written by Gordon Matzigkeit, 1996
28773 # This file is part of GNU Libtool.
28775 # GNU Libtool is free software; you can redistribute it and/or
28776 # modify it under the terms of the GNU General Public License as
28777 # published by the Free Software Foundation; either version 2 of
28778 # the License, or (at your option) any later version.
28780 # As a special exception to the GNU General Public License,
28781 # if you distribute this file as part of a program or library that
28782 # is built using GNU Libtool, you may include this file under the
28783 # same distribution terms that you use for the rest of that program.
28785 # GNU Libtool is distributed in the hope that it will be useful,
28786 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28787 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28788 # GNU General Public License for more details.
28790 # You should have received a copy of the GNU General Public License
28791 # along with GNU Libtool; see the file COPYING. If not, a copy
28792 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28793 # obtained by writing to the Free Software Foundation, Inc.,
28794 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28797 # The names of the tagged configurations supported by this script.
28798 available_tags="FC "
28800 # ### BEGIN LIBTOOL CONFIG
28802 # A sed program that does not truncate output.
28805 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28806 Xsed="\$SED -e 1s/^X//"
28808 # A grep program that handles long lines.
28814 # A literal string matcher.
28817 # Shell to use when invoking shell scripts.
28820 # An echo program that protects backslashes.
28823 # Which release of libtool.m4 was used?
28824 macro_version=$macro_version
28825 macro_revision=$macro_revision
28827 # Whether or not to build shared libraries.
28828 build_libtool_libs=$enable_shared
28830 # Whether or not to build static libraries.
28831 build_old_libs=$enable_static
28833 # What type of objects to build.
28836 # Whether or not to optimize for fast installation.
28837 fast_install=$enable_fast_install
28840 host_alias=$host_alias
28844 # The build system.
28845 build_alias=$build_alias
28849 # A BSD- or MS-compatible name lister.
28852 # Whether we need soft or hard links.
28855 # What is the maximum length of a command?
28856 max_cmd_len=$max_cmd_len
28858 # Object file suffix (normally "o").
28861 # Executable file suffix (normally "").
28864 # whether the shell understands "unset".
28867 # turn spaces into newlines.
28870 # turn newlines into spaces.
28873 # An object symbol dumper.
28874 OBJDUMP=$lt_OBJDUMP
28876 # Method to check whether dependent libraries are shared objects.
28877 deplibs_check_method=$lt_deplibs_check_method
28879 # Command to use when deplibs_check_method == "file_magic".
28880 file_magic_cmd=$lt_file_magic_cmd
28884 AR_FLAGS=$lt_AR_FLAGS
28886 # A symbol stripping program.
28889 # Commands used to install an old-style archive.
28891 old_postinstall_cmds=$lt_old_postinstall_cmds
28892 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28894 # Whether to use a lock for old archive extraction.
28895 lock_old_archive_extraction=$lock_old_archive_extraction
28900 # LTCC compiler flags.
28901 LTCFLAGS=$lt_CFLAGS
28903 # Take the output of nm and produce a listing of raw symbols and C names.
28904 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28906 # Transform the output of nm in a proper C declaration.
28907 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28909 # Transform the output of nm in a C name address pair.
28910 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28912 # Transform the output of nm in a C name address pair when lib prefix is needed.
28913 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28915 # The name of the directory that contains temporary libtool files.
28918 # Used to examine libraries when file_magic_cmd begins with "file".
28919 MAGIC_CMD=$MAGIC_CMD
28921 # Must we lock files when doing compilation?
28922 need_locks=$lt_need_locks
28924 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28925 DSYMUTIL=$lt_DSYMUTIL
28927 # Tool to change global to local symbols on Mac OS X.
28930 # Tool to manipulate fat objects and archives on Mac OS X.
28933 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28936 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28937 OTOOL64=$lt_OTOOL64
28939 # Old archive suffix (normally "a").
28942 # Shared library suffix (normally ".so").
28943 shrext_cmds=$lt_shrext_cmds
28945 # The commands to extract the exported symbol list from a shared archive.
28946 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28948 # Variables whose values should be saved in libtool wrapper scripts and
28949 # restored at link time.
28950 variables_saved_for_relink=$lt_variables_saved_for_relink
28952 # Do we need the "lib" prefix for modules?
28953 need_lib_prefix=$need_lib_prefix
28955 # Do we need a version for libraries?
28956 need_version=$need_version
28958 # Library versioning type.
28959 version_type=$version_type
28961 # Shared library runtime path variable.
28962 runpath_var=$runpath_var
28964 # Shared library path variable.
28965 shlibpath_var=$shlibpath_var
28967 # Is shlibpath searched before the hard-coded library search path?
28968 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28970 # Format of library name prefix.
28971 libname_spec=$lt_libname_spec
28973 # List of archive names. First name is the real one, the rest are links.
28974 # The last name is the one that the linker finds with -lNAME
28975 library_names_spec=$lt_library_names_spec
28977 # The coded name of the library, if different from the real name.
28978 soname_spec=$lt_soname_spec
28980 # Permission mode override for installation of shared libraries.
28981 install_override_mode=$lt_install_override_mode
28983 # Command to use after installation of a shared archive.
28984 postinstall_cmds=$lt_postinstall_cmds
28986 # Command to use after uninstallation of a shared archive.
28987 postuninstall_cmds=$lt_postuninstall_cmds
28989 # Commands used to finish a libtool library installation in a directory.
28990 finish_cmds=$lt_finish_cmds
28992 # As "finish_cmds", except a single script fragment to be evaled but
28994 finish_eval=$lt_finish_eval
28996 # Whether we should hardcode library paths into libraries.
28997 hardcode_into_libs=$hardcode_into_libs
28999 # Compile-time system search path for libraries.
29000 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
29002 # Run-time system search path for libraries.
29003 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
29005 # Whether dlopen is supported.
29006 dlopen_support=$enable_dlopen
29008 # Whether dlopen of programs is supported.
29009 dlopen_self=$enable_dlopen_self
29011 # Whether dlopen of statically linked programs is supported.
29012 dlopen_self_static=$enable_dlopen_self_static
29014 # Commands to strip libraries.
29015 old_striplib=$lt_old_striplib
29016 striplib=$lt_striplib
29019 # The linker used to build libraries.
29022 # How to create reloadable object files.
29023 reload_flag=$lt_reload_flag
29024 reload_cmds=$lt_reload_cmds
29026 # Commands used to build an old-style archive.
29027 old_archive_cmds=$lt_old_archive_cmds
29029 # A language specific compiler.
29032 # Is the compiler the GNU compiler?
29035 # Compiler flag to turn off builtin functions.
29036 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
29038 # How to pass a linker flag through the compiler.
29039 wl=$lt_lt_prog_compiler_wl
29041 # Additional compiler flags for building library objects.
29042 pic_flag=$lt_lt_prog_compiler_pic
29044 # Compiler flag to prevent dynamic linking.
29045 link_static_flag=$lt_lt_prog_compiler_static
29047 # Does compiler simultaneously support -c and -o options?
29048 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
29050 # Whether or not to add -lc for building shared libraries.
29051 build_libtool_need_lc=$archive_cmds_need_lc
29053 # Whether or not to disallow shared libs when runtime libs are static.
29054 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
29056 # Compiler flag to allow reflexive dlopens.
29057 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
29059 # Compiler flag to generate shared objects directly from archives.
29060 whole_archive_flag_spec=$lt_whole_archive_flag_spec
29062 # Whether the compiler copes with passing no objects directly.
29063 compiler_needs_object=$lt_compiler_needs_object
29065 # Create an old-style archive from a shared archive.
29066 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
29068 # Create a temporary old-style archive to link instead of a shared archive.
29069 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
29071 # Commands used to build a shared archive.
29072 archive_cmds=$lt_archive_cmds
29073 archive_expsym_cmds=$lt_archive_expsym_cmds
29075 # Commands used to build a loadable module if different from building
29076 # a shared archive.
29077 module_cmds=$lt_module_cmds
29078 module_expsym_cmds=$lt_module_expsym_cmds
29080 # Whether we are building with GNU ld or not.
29081 with_gnu_ld=$lt_with_gnu_ld
29083 # Flag that allows shared libraries with undefined symbols to be built.
29084 allow_undefined_flag=$lt_allow_undefined_flag
29086 # Flag that enforces no undefined symbols.
29087 no_undefined_flag=$lt_no_undefined_flag
29089 # Flag to hardcode \$libdir into a binary during linking.
29090 # This must work even if \$libdir does not exist
29091 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
29093 # If ld is used when linking, flag to hardcode \$libdir into a binary
29094 # during linking. This must work even if \$libdir does not exist.
29095 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
29097 # Whether we need a single "-rpath" flag with a separated argument.
29098 hardcode_libdir_separator=$lt_hardcode_libdir_separator
29100 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29101 # DIR into the resulting binary.
29102 hardcode_direct=$hardcode_direct
29104 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29105 # DIR into the resulting binary and the resulting library dependency is
29106 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29107 # library is relocated.
29108 hardcode_direct_absolute=$hardcode_direct_absolute
29110 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29111 # into the resulting binary.
29112 hardcode_minus_L=$hardcode_minus_L
29114 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29115 # into the resulting binary.
29116 hardcode_shlibpath_var=$hardcode_shlibpath_var
29118 # Set to "yes" if building a shared library automatically hardcodes DIR
29119 # into the library and all subsequent libraries and executables linked
29121 hardcode_automatic=$hardcode_automatic
29123 # Set to yes if linker adds runtime paths of dependent libraries
29124 # to runtime path list.
29125 inherit_rpath=$inherit_rpath
29127 # Whether libtool must link a program against all its dependency libraries.
29128 link_all_deplibs=$link_all_deplibs
29130 # Fix the shell variable \$srcfile for the compiler.
29131 fix_srcfile_path=$lt_fix_srcfile_path
29133 # Set to "yes" if exported symbols are required.
29134 always_export_symbols=$always_export_symbols
29136 # The commands to list exported symbols.
29137 export_symbols_cmds=$lt_export_symbols_cmds
29139 # Symbols that should not be listed in the preloaded symbols.
29140 exclude_expsyms=$lt_exclude_expsyms
29142 # Symbols that must always be exported.
29143 include_expsyms=$lt_include_expsyms
29145 # Commands necessary for linking programs (against libraries) with templates.
29146 prelink_cmds=$lt_prelink_cmds
29148 # Specify filename containing input files.
29149 file_list_spec=$lt_file_list_spec
29151 # How to hardcode a shared library path into an executable.
29152 hardcode_action=$hardcode_action
29154 # The directories searched by this compiler when creating a shared library.
29155 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
29157 # Dependencies to place before and after the objects being linked to
29158 # create a shared library.
29159 predep_objects=$lt_predep_objects
29160 postdep_objects=$lt_postdep_objects
29161 predeps=$lt_predeps
29162 postdeps=$lt_postdeps
29164 # The library search path used internally by the compiler when linking
29165 # a shared library.
29166 compiler_lib_search_path=$lt_compiler_lib_search_path
29168 # ### END LIBTOOL CONFIG
29174 cat <<\_LT_EOF
>> "$cfgfile"
29175 # AIX sometimes has problems with the GCC collect2 program. For some
29176 # reason, if we set the COLLECT_NAMES environment variable, the problems
29177 # vanish in a puff of smoke.
29178 if test "X${COLLECT_NAMES+set}" != Xset
; then
29180 export COLLECT_NAMES
29187 ltmain
="$ac_aux_dir/ltmain.sh"
29190 # We use sed instead of cat because bash on DJGPP gets confused if
29191 # if finds mixed CR/LF and LF-only lines. Since sed operates in
29192 # text mode, it properly converts lines to CR/LF. This bash problem
29193 # is reportedly fixed, but why not run on old versions too?
29194 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
29195 ||
(rm -f "$cfgfile"; exit 1)
29199 cat << \_LT_EOF
>> "$cfgfile"
29201 # func_dirname file append nondir_replacement
29202 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
29203 # otherwise set result to NONDIR_REPLACEMENT.
29207 */*) func_dirname_result
="${1%/*}${2}" ;;
29208 * ) func_dirname_result
="${3}" ;;
29212 # func_basename file
29215 func_basename_result
="${1##*/}"
29218 # func_dirname_and_basename file append nondir_replacement
29219 # perform func_basename and func_dirname in a single function
29221 # dirname: Compute the dirname of FILE. If nonempty,
29222 # add APPEND to the result, otherwise set result
29223 # to NONDIR_REPLACEMENT.
29224 # value returned in "$func_dirname_result"
29225 # basename: Compute filename of FILE.
29226 # value retuned in "$func_basename_result"
29227 # Implementation must be kept synchronized with func_dirname
29228 # and func_basename. For efficiency, we do not delegate to
29229 # those functions but instead duplicate the functionality here.
29230 func_dirname_and_basename
()
29233 */*) func_dirname_result
="${1%/*}${2}" ;;
29234 * ) func_dirname_result
="${3}" ;;
29236 func_basename_result
="${1##*/}"
29239 # func_stripname prefix suffix name
29240 # strip PREFIX and SUFFIX off of NAME.
29241 # PREFIX and SUFFIX must not contain globbing or regex special
29242 # characters, hashes, percent signs, but SUFFIX may contain a leading
29243 # dot (in which case that matches only a dot).
29246 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
29247 # positional parameters, so assign one to ordinary parameter first.
29248 func_stripname_result
=${3}
29249 func_stripname_result
=${func_stripname_result#"${1}"}
29250 func_stripname_result
=${func_stripname_result%"${2}"}
29256 func_opt_split_opt
=${1%%=*}
29257 func_opt_split_arg
=${1#*=}
29264 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
29265 *) func_lo2o_result
=${1} ;;
29269 # func_xform libobj-or-source
29272 func_xform_result
=${1%.*}.lo
29275 # func_arith arithmetic-term...
29278 func_arith_result
=$
(( $
* ))
29282 # STRING may not start with a hyphen.
29285 func_len_result
=${#1}
29290 *) # Bourne compatible functions.
29291 cat << \_LT_EOF
>> "$cfgfile"
29293 # func_dirname file append nondir_replacement
29294 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
29295 # otherwise set result to NONDIR_REPLACEMENT.
29298 # Extract subdirectory from the argument.
29299 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
29300 if test "X$func_dirname_result" = "X${1}"; then
29301 func_dirname_result
="${3}"
29303 func_dirname_result
="$func_dirname_result${2}"
29307 # func_basename file
29310 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
29314 # func_stripname prefix suffix name
29315 # strip PREFIX and SUFFIX off of NAME.
29316 # PREFIX and SUFFIX must not contain globbing or regex special
29317 # characters, hashes, percent signs, but SUFFIX may contain a leading
29318 # dot (in which case that matches only a dot).
29319 # func_strip_suffix prefix name
29323 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
29324 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
29329 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
29330 my_sed_long_arg
='1s/^-[^=]*=//'
29335 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
29336 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
29342 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
29345 # func_xform libobj-or-source
29348 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
29351 # func_arith arithmetic-term...
29354 func_arith_result
=`expr "$@"`
29358 # STRING may not start with a hyphen.
29361 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
29367 case $lt_shell_append in
29369 cat << \_LT_EOF
>> "$cfgfile"
29371 # func_append var value
29372 # Append VALUE to the end of shell variable VAR.
29380 cat << \_LT_EOF
>> "$cfgfile"
29382 # func_append var value
29383 # Append VALUE to the end of shell variable VAR.
29394 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
29395 ||
(rm -f "$cfgfile"; exit 1)
29397 mv -f "$cfgfile" "$ofile" ||
29398 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29402 cat <<_LT_EOF >> "$ofile"
29404 # ### BEGIN LIBTOOL TAG CONFIG: FC
29406 # The linker used to build libraries.
29409 # How to create reloadable object files.
29410 reload_flag=$lt_reload_flag_FC
29411 reload_cmds=$lt_reload_cmds_FC
29413 # Commands used to build an old-style archive.
29414 old_archive_cmds=$lt_old_archive_cmds_FC
29416 # A language specific compiler.
29419 # Is the compiler the GNU compiler?
29422 # Compiler flag to turn off builtin functions.
29423 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
29425 # How to pass a linker flag through the compiler.
29426 wl=$lt_lt_prog_compiler_wl_FC
29428 # Additional compiler flags for building library objects.
29429 pic_flag=$lt_lt_prog_compiler_pic_FC
29431 # Compiler flag to prevent dynamic linking.
29432 link_static_flag=$lt_lt_prog_compiler_static_FC
29434 # Does compiler simultaneously support -c and -o options?
29435 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
29437 # Whether or not to add -lc for building shared libraries.
29438 build_libtool_need_lc=$archive_cmds_need_lc_FC
29440 # Whether or not to disallow shared libs when runtime libs are static.
29441 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
29443 # Compiler flag to allow reflexive dlopens.
29444 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
29446 # Compiler flag to generate shared objects directly from archives.
29447 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29449 # Whether the compiler copes with passing no objects directly.
29450 compiler_needs_object=$lt_compiler_needs_object_FC
29452 # Create an old-style archive from a shared archive.
29453 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29455 # Create a temporary old-style archive to link instead of a shared archive.
29456 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29458 # Commands used to build a shared archive.
29459 archive_cmds=$lt_archive_cmds_FC
29460 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29462 # Commands used to build a loadable module if different from building
29463 # a shared archive.
29464 module_cmds=$lt_module_cmds_FC
29465 module_expsym_cmds=$lt_module_expsym_cmds_FC
29467 # Whether we are building with GNU ld or not.
29468 with_gnu_ld=$lt_with_gnu_ld_FC
29470 # Flag that allows shared libraries with undefined symbols to be built.
29471 allow_undefined_flag=$lt_allow_undefined_flag_FC
29473 # Flag that enforces no undefined symbols.
29474 no_undefined_flag=$lt_no_undefined_flag_FC
29476 # Flag to hardcode \$libdir into a binary during linking.
29477 # This must work even if \$libdir does not exist
29478 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29480 # If ld is used when linking, flag to hardcode \$libdir into a binary
29481 # during linking. This must work even if \$libdir does not exist.
29482 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29484 # Whether we need a single "-rpath" flag with a separated argument.
29485 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29487 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29488 # DIR into the resulting binary.
29489 hardcode_direct=$hardcode_direct_FC
29491 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29492 # DIR into the resulting binary and the resulting library dependency is
29493 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29494 # library is relocated.
29495 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29497 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29498 # into the resulting binary.
29499 hardcode_minus_L=$hardcode_minus_L_FC
29501 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29502 # into the resulting binary.
29503 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29505 # Set to "yes" if building a shared library automatically hardcodes DIR
29506 # into the library and all subsequent libraries and executables linked
29508 hardcode_automatic=$hardcode_automatic_FC
29510 # Set to yes if linker adds runtime paths of dependent libraries
29511 # to runtime path list.
29512 inherit_rpath=$inherit_rpath_FC
29514 # Whether libtool must link a program against all its dependency libraries.
29515 link_all_deplibs=$link_all_deplibs_FC
29517 # Fix the shell variable \$srcfile for the compiler.
29518 fix_srcfile_path=$lt_fix_srcfile_path_FC
29520 # Set to "yes" if exported symbols are required.
29521 always_export_symbols=$always_export_symbols_FC
29523 # The commands to list exported symbols.
29524 export_symbols_cmds=$lt_export_symbols_cmds_FC
29526 # Symbols that should not be listed in the preloaded symbols.
29527 exclude_expsyms=$lt_exclude_expsyms_FC
29529 # Symbols that must always be exported.
29530 include_expsyms=$lt_include_expsyms_FC
29532 # Commands necessary for linking programs (against libraries) with templates.
29533 prelink_cmds=$lt_prelink_cmds_FC
29535 # Specify filename containing input files.
29536 file_list_spec=$lt_file_list_spec_FC
29538 # How to hardcode a shared library path into an executable.
29539 hardcode_action=$hardcode_action_FC
29541 # The directories searched by this compiler when creating a shared library.
29542 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29544 # Dependencies to place before and after the objects being linked to
29545 # create a shared library.
29546 predep_objects=$lt_predep_objects_FC
29547 postdep_objects=$lt_postdep_objects_FC
29548 predeps=$lt_predeps_FC
29549 postdeps=$lt_postdeps_FC
29551 # The library search path used internally by the compiler when linking
29552 # a shared library.
29553 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29555 # ### END LIBTOOL TAG CONFIG: FC
29560 if test "$GCC" = yes; then
29561 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29563 echo "/* generated for $CC */" > tmp-stdint.h
29566 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29568 #ifndef GCC_GENERATED_STDINT_H
29569 #define GCC_GENERATED_STDINT_H 1
29571 #include <sys/types.h>
29574 if test "$acx_cv_header_stdint" != stdint.h
; then
29575 echo "#include <stddef.h>" >> tmp-stdint.h
29577 if test "$acx_cv_header_stdint" != stddef.h
; then
29578 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29581 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29582 /* glibc uses these symbols as guards to prevent redefinitions. */
29583 #ifdef __int8_t_defined
29588 #ifdef __uint32_t_defined
29594 # ----------------- done header, emit basic int types -------------
29595 if test "$acx_cv_header_stdint" = stddef.h
; then
29596 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29600 #ifndef __uint8_t_defined
29601 #define __uint8_t_defined
29603 typedef unsigned $acx_cv_type_int8_t uint8_t;
29610 #ifndef __uint16_t_defined
29611 #define __uint16_t_defined
29613 typedef unsigned $acx_cv_type_int16_t uint16_t;
29620 #ifndef __uint32_t_defined
29621 #define __uint32_t_defined
29623 typedef unsigned $acx_cv_type_int32_t uint32_t;
29630 #ifndef __int8_t_defined
29631 #define __int8_t_defined
29633 typedef $acx_cv_type_int8_t int8_t;
29640 #ifndef __int16_t_defined
29641 #define __int16_t_defined
29643 typedef $acx_cv_type_int16_t int16_t;
29650 #ifndef __int32_t_defined
29651 #define __int32_t_defined
29653 typedef $acx_cv_type_int32_t int32_t;
29658 elif test "$ac_cv_type_u_int32_t" = yes; then
29659 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29661 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29674 #ifndef __uint8_t_defined
29675 #define __uint8_t_defined
29677 typedef u_int8_t uint8_t;
29684 #ifndef __uint16_t_defined
29685 #define __uint16_t_defined
29687 typedef u_int16_t uint16_t;
29694 #ifndef __uint32_t_defined
29695 #define __uint32_t_defined
29697 typedef u_int32_t uint32_t;
29703 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29705 /* Some systems have guard macros to prevent redefinitions, define them. */
29727 # ------------- done basic int types, emit int64_t types ------------
29728 if test "$ac_cv_type_uint64_t" = yes; then
29729 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29731 /* system headers have good uint64_t and int64_t */
29739 elif test "$ac_cv_type_u_int64_t" = yes; then
29740 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29742 /* system headers have an u_int64_t (and int64_t) */
29748 #ifndef __uint64_t_defined
29749 #define __uint64_t_defined
29751 typedef u_int64_t uint64_t;
29756 elif test -n "$acx_cv_type_int64_t"; then
29757 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29759 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29763 typedef $acx_cv_type_int64_t int64_t;
29768 #ifndef __uint64_t_defined
29769 #define __uint64_t_defined
29771 typedef unsigned $acx_cv_type_int64_t uint64_t;
29777 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29779 /* some common heuristics for int64_t, using compiler-specific tests */
29780 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29783 #ifndef __int64_t_defined
29785 typedef long long int64_t;
29792 typedef unsigned long long uint64_t;
29796 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29797 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29798 does not implement __extension__. But that compiler doesn't define
29800 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29801 # define __extension__
29807 __extension__ typedef long long int64_t;
29813 __extension__ typedef unsigned long long uint64_t;
29817 #elif !defined __STRICT_ANSI__
29818 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29823 typedef __int64 int64_t;
29829 typedef unsigned __int64 uint64_t;
29832 # endif /* compiler */
29834 #endif /* ANSI version */
29838 # ------------- done int64_t types, emit intptr types ------------
29839 if test "$ac_cv_type_uintptr_t" != yes; then
29840 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29842 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29843 #ifndef __uintptr_t_defined
29845 typedef u$acx_cv_type_intptr_t uintptr_t;
29848 #ifndef __intptr_t_defined
29850 typedef $acx_cv_type_intptr_t intptr_t;
29856 # ------------- done intptr types, emit int_least types ------------
29857 if test "$ac_cv_type_int_least32_t" != yes; then
29858 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29860 /* Define int_least types */
29861 typedef int8_t int_least8_t;
29862 typedef int16_t int_least16_t;
29863 typedef int32_t int_least32_t;
29865 typedef int64_t int_least64_t;
29868 typedef uint8_t uint_least8_t;
29869 typedef uint16_t uint_least16_t;
29870 typedef uint32_t uint_least32_t;
29872 typedef uint64_t uint_least64_t;
29877 # ------------- done intptr types, emit int_fast types ------------
29878 if test "$ac_cv_type_int_fast32_t" != yes; then
29879 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29881 /* Define int_fast types. short is often slow */
29882 typedef int8_t int_fast8_t;
29883 typedef int int_fast16_t;
29884 typedef int32_t int_fast32_t;
29886 typedef int64_t int_fast64_t;
29889 typedef uint8_t uint_fast8_t;
29890 typedef unsigned int uint_fast16_t;
29891 typedef uint32_t uint_fast32_t;
29893 typedef uint64_t uint_fast64_t;
29898 if test "$ac_cv_type_uintmax_t" != yes; then
29899 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29901 /* Define intmax based on what we found */
29904 typedef int64_t intmax_t;
29906 typedef long intmax_t;
29911 typedef uint64_t uintmax_t;
29913 typedef unsigned long uintmax_t;
29919 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29921 #endif /* GCC_GENERATED_STDINT_H */
29924 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
29927 mv -f tmp-stdint.h gstdint.h
29938 ac_clean_files
=$ac_clean_files_save
29940 test $ac_write_fail = 0 ||
29941 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
29944 # configure is writing to config.log, and then calls config.status.
29945 # config.status does its own redirection, appending to config.log.
29946 # Unfortunately, on DOS this fails, as config.log is still kept open
29947 # by configure, so config.status won't be able to write to it; its
29948 # output is simply discarded. So we exec the FD to /dev/null,
29949 # effectively closing config.log, so it can be properly (re)opened and
29950 # appended to by config.status. When coming back to configure, we
29951 # need to make the FD available again.
29952 if test "$no_create" != yes; then
29954 ac_config_status_args
=
29955 test "$silent" = yes &&
29956 ac_config_status_args
="$ac_config_status_args --quiet"
29958 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
29960 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29961 # would make configure fail if this is the last instruction.
29962 $ac_cs_success || as_fn_exit
1
29964 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
29965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29966 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}