2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GNU Fortran Runtime Library 0.3.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
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.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev
/null
; then :
186 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
191 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir
=.
198 for as_base
in sh bash ksh sh5
; do
199 # Try only shells that exist, to save several forks.
200 as_shell
=$as_dir/$as_base
201 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 CONFIG_SHELL
=$as_shell as_have_required
=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
212 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
214 CONFIG_SHELL
=$SHELL as_have_required
=yes
219 if test "x$CONFIG_SHELL" != x
; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x
$as_have_required = xno
; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x
${ZSH_VERSION+set} = xset
; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL
=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE
= GREP_OPTIONS
=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir
=.
/$as_dir;;
291 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
295 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs
="'$as_qdir' $as_dirs"
299 as_dir
=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
325 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
360 as_val
=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status
=$?
; test $as_status -eq 0 && as_status
=1
374 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit
$as_status
381 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
388 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
400 as_me
=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits
='0123456789'
424 as_cr_alnum
=$as_cr_Letters$as_cr_digits
427 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
428 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C
= ECHO_N
= ECHO_T
=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
471 rm -f conf$$ conf$$.exe conf$$.
file
472 if test -d conf$$.dir
; then
473 rm -f conf$$.dir
/conf$$.
file
476 mkdir conf$$.dir
2>/dev
/null
478 if (echo >conf$$.
file) 2>/dev
/null
; then
479 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
496 rmdir conf$$.dir
2>/dev
/null
498 if mkdir
-p .
2>/dev
/null
; then
499 as_mkdir_p
='mkdir -p "$as_dir"'
501 test -d .
/-p && rmdir .
/-p
505 if test -x / >/dev
/null
2>&1; then
508 if ls -dL / >/dev
/null
2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p
=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL
=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev
/null
6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
557 PACKAGE_NAME
='GNU Fortran Runtime Library'
558 PACKAGE_TARNAME
='libgfortran'
559 PACKAGE_VERSION
='0.3'
560 PACKAGE_STRING
='GNU Fortran Runtime Library 0.3'
562 PACKAGE_URL
='http://www.gnu.org/software/libgfortran/'
564 # Factoring default headers for most tests.
565 ac_includes_default
="\
567 #ifdef HAVE_SYS_TYPES_H
568 # include <sys/types.h>
570 #ifdef HAVE_SYS_STAT_H
571 # include <sys/stat.h>
577 # ifdef HAVE_STDLIB_H
582 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
587 #ifdef HAVE_STRINGS_H
588 # include <strings.h>
590 #ifdef HAVE_INTTYPES_H
591 # include <inttypes.h>
604 ac_subst_vars
='am__EXEEXT_FALSE
616 LIBGFOR_BUILD_QUAD_FALSE
617 LIBGFOR_BUILD_QUAD_TRUE
622 extra_ldflags_libgfortran
650 LIBGFOR_MINIMAL_FALSE
652 LIBGFOR_USE_SYMVER_SUN_FALSE
653 LIBGFOR_USE_SYMVER_SUN_TRUE
654 LIBGFOR_USE_SYMVER_GNU_FALSE
655 LIBGFOR_USE_SYMVER_GNU_TRUE
656 LIBGFOR_USE_SYMVER_FALSE
657 LIBGFOR_USE_SYMVER_TRUE
684 MAINTAINER_MODE_FALSE
694 INSTALL_STRIP_PROGRAM
756 program_transform_name
769 enable_option_checking
771 enable_version_specific_runtime_libs
773 enable_maintainer_mode
775 enable_dependency_tracking
784 enable_libquadmath_support
785 with_gcc_major_version_only
787 ac_precious_vars
='build_alias
800 # Initialize some variables set by options.
802 ac_init_version
=false
803 ac_unrecognized_opts
=
805 # The variables have the same names as the options, with
806 # dashes changed to underlines.
814 program_transform_name
=s
,x
,x
,
822 # Installation directory options.
823 # These are left unexpanded so users can "make install exec_prefix=/foo"
824 # and all the variables that are supposed to be based on exec_prefix
825 # by default will actually change.
826 # Use braces instead of parens because sh, perl, etc. also accept them.
827 # (The list follows the same order as the GNU Coding Standards.)
828 bindir
='${exec_prefix}/bin'
829 sbindir
='${exec_prefix}/sbin'
830 libexecdir
='${exec_prefix}/libexec'
831 datarootdir
='${prefix}/share'
832 datadir
='${datarootdir}'
833 sysconfdir
='${prefix}/etc'
834 sharedstatedir
='${prefix}/com'
835 localstatedir
='${prefix}/var'
836 includedir
='${prefix}/include'
837 oldincludedir
='/usr/include'
838 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
839 infodir
='${datarootdir}/info'
844 libdir
='${exec_prefix}/lib'
845 localedir
='${datarootdir}/locale'
846 mandir
='${datarootdir}/man'
852 # If the previous option needs an argument, assign it.
853 if test -n "$ac_prev"; then
854 eval $ac_prev=\
$ac_option
860 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
864 # Accept the important Cygnus configure options, so we can diagnose typos.
866 case $ac_dashdash$ac_option in
870 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
872 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
875 -build |
--build |
--buil |
--bui |
--bu)
876 ac_prev
=build_alias
;;
877 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
878 build_alias
=$ac_optarg ;;
880 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
881 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
882 ac_prev
=cache_file
;;
883 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
884 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
885 cache_file
=$ac_optarg ;;
888 cache_file
=config.cache
;;
890 -datadir |
--datadir |
--datadi |
--datad)
892 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
893 datadir
=$ac_optarg ;;
895 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
896 |
--dataroo |
--dataro |
--datar)
897 ac_prev
=datarootdir
;;
898 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
899 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
900 datarootdir
=$ac_optarg ;;
902 -disable-* |
--disable-*)
903 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
904 # Reject names that are not valid shell variable names.
905 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
906 as_fn_error
"invalid feature name: $ac_useropt"
907 ac_useropt_orig
=$ac_useropt
908 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
909 case $ac_user_opts in
913 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
914 ac_unrecognized_sep
=', ';;
916 eval enable_
$ac_useropt=no
;;
918 -docdir |
--docdir |
--docdi |
--doc |
--do)
920 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
923 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
925 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
928 -enable-* |
--enable-*)
929 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
930 # Reject names that are not valid shell variable names.
931 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
932 as_fn_error
"invalid feature name: $ac_useropt"
933 ac_useropt_orig
=$ac_useropt
934 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
935 case $ac_user_opts in
939 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
940 ac_unrecognized_sep
=', ';;
942 eval enable_
$ac_useropt=\
$ac_optarg ;;
944 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
945 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
946 |
--exec |
--exe |
--ex)
947 ac_prev
=exec_prefix
;;
948 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
949 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
950 |
--exec=* |
--exe=* |
--ex=*)
951 exec_prefix
=$ac_optarg ;;
953 -gas |
--gas |
--ga |
--g)
954 # Obsolete; use --with-gas.
957 -help |
--help |
--hel |
--he |
-h)
959 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
960 ac_init_help
=recursive
;;
961 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
962 ac_init_help
=short
;;
964 -host |
--host |
--hos |
--ho)
965 ac_prev
=host_alias
;;
966 -host=* |
--host=* |
--hos=* |
--ho=*)
967 host_alias
=$ac_optarg ;;
969 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
971 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
973 htmldir
=$ac_optarg ;;
975 -includedir |
--includedir |
--includedi |
--included |
--include \
976 |
--includ |
--inclu |
--incl |
--inc)
977 ac_prev
=includedir
;;
978 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
979 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
980 includedir
=$ac_optarg ;;
982 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
984 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
985 infodir
=$ac_optarg ;;
987 -libdir |
--libdir |
--libdi |
--libd)
989 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
992 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
993 |
--libexe |
--libex |
--libe)
994 ac_prev
=libexecdir
;;
995 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
996 |
--libexe=* |
--libex=* |
--libe=*)
997 libexecdir
=$ac_optarg ;;
999 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1000 ac_prev
=localedir
;;
1001 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1002 localedir
=$ac_optarg ;;
1004 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1005 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1006 ac_prev
=localstatedir
;;
1007 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1008 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1009 localstatedir
=$ac_optarg ;;
1011 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1013 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1014 mandir
=$ac_optarg ;;
1016 -nfp |
--nfp |
--nf)
1017 # Obsolete; use --without-fp.
1020 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1021 |
--no-cr |
--no-c |
-n)
1024 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1025 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1028 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1029 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1030 |
--oldin |
--oldi |
--old |
--ol |
--o)
1031 ac_prev
=oldincludedir
;;
1032 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1033 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1034 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1035 oldincludedir
=$ac_optarg ;;
1037 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1039 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1040 prefix
=$ac_optarg ;;
1042 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1043 |
--program-pre |
--program-pr |
--program-p)
1044 ac_prev
=program_prefix
;;
1045 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1046 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1047 program_prefix
=$ac_optarg ;;
1049 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1050 |
--program-suf |
--program-su |
--program-s)
1051 ac_prev
=program_suffix
;;
1052 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1053 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1054 program_suffix
=$ac_optarg ;;
1056 -program-transform-name |
--program-transform-name \
1057 |
--program-transform-nam |
--program-transform-na \
1058 |
--program-transform-n |
--program-transform- \
1059 |
--program-transform |
--program-transfor \
1060 |
--program-transfo |
--program-transf \
1061 |
--program-trans |
--program-tran \
1062 |
--progr-tra |
--program-tr |
--program-t)
1063 ac_prev
=program_transform_name
;;
1064 -program-transform-name=* |
--program-transform-name=* \
1065 |
--program-transform-nam=* |
--program-transform-na=* \
1066 |
--program-transform-n=* |
--program-transform-=* \
1067 |
--program-transform=* |
--program-transfor=* \
1068 |
--program-transfo=* |
--program-transf=* \
1069 |
--program-trans=* |
--program-tran=* \
1070 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1071 program_transform_name
=$ac_optarg ;;
1073 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1075 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1076 pdfdir
=$ac_optarg ;;
1078 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1080 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1083 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1084 |
-silent |
--silent |
--silen |
--sile |
--sil)
1087 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1089 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1091 sbindir
=$ac_optarg ;;
1093 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1094 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1095 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1097 ac_prev
=sharedstatedir
;;
1098 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1099 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1100 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1102 sharedstatedir
=$ac_optarg ;;
1104 -site |
--site |
--sit)
1106 -site=* |
--site=* |
--sit=*)
1109 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1111 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1112 srcdir
=$ac_optarg ;;
1114 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1115 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1116 ac_prev
=sysconfdir
;;
1117 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1118 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1119 sysconfdir
=$ac_optarg ;;
1121 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1122 ac_prev
=target_alias
;;
1123 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1124 target_alias
=$ac_optarg ;;
1126 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1129 -version |
--version |
--versio |
--versi |
--vers |
-V)
1130 ac_init_version
=: ;;
1133 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1134 # Reject names that are not valid shell variable names.
1135 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1136 as_fn_error
"invalid package name: $ac_useropt"
1137 ac_useropt_orig
=$ac_useropt
1138 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1139 case $ac_user_opts in
1143 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1144 ac_unrecognized_sep
=', ';;
1146 eval with_
$ac_useropt=\
$ac_optarg ;;
1148 -without-* |
--without-*)
1149 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1150 # Reject names that are not valid shell variable names.
1151 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1152 as_fn_error
"invalid package name: $ac_useropt"
1153 ac_useropt_orig
=$ac_useropt
1154 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1155 case $ac_user_opts in
1159 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1160 ac_unrecognized_sep
=', ';;
1162 eval with_
$ac_useropt=no
;;
1165 # Obsolete; use --with-x.
1168 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1169 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1170 ac_prev
=x_includes
;;
1171 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1172 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1173 x_includes
=$ac_optarg ;;
1175 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1176 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1177 ac_prev
=x_libraries
;;
1178 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1179 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1180 x_libraries
=$ac_optarg ;;
1182 -*) as_fn_error
"unrecognized option: \`$ac_option'
1183 Try \`$0 --help' for more information."
1187 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1188 # Reject names that are not valid shell variable names.
1189 case $ac_envvar in #(
1190 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1191 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1193 eval $ac_envvar=\
$ac_optarg
1194 export $ac_envvar ;;
1197 # FIXME: should be removed in autoconf 3.0.
1198 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1199 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1200 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1201 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1207 if test -n "$ac_prev"; then
1208 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1209 as_fn_error
"missing argument to $ac_option"
1212 if test -n "$ac_unrecognized_opts"; then
1213 case $enable_option_checking in
1215 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1216 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1220 # Check all directory arguments for consistency.
1221 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1222 datadir sysconfdir sharedstatedir localstatedir includedir \
1223 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1224 libdir localedir mandir
1226 eval ac_val
=\$
$ac_var
1227 # Remove trailing slashes.
1230 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1231 eval $ac_var=\
$ac_val;;
1233 # Be sure to have absolute directory names.
1235 [\\/$
]* | ?
:[\\/]* ) continue;;
1236 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1238 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1241 # There might be people who depend on the old broken behavior: `$host'
1242 # used to hold the argument of --host etc.
1243 # FIXME: To remove some day.
1246 target
=$target_alias
1248 # FIXME: To remove some day.
1249 if test "x$host_alias" != x
; then
1250 if test "x$build_alias" = x
; then
1251 cross_compiling
=maybe
1252 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1253 If a cross compiler is detected then cross compile mode will be used." >&2
1254 elif test "x$build_alias" != "x$host_alias"; then
1260 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1262 test "$silent" = yes && exec 6>/dev
/null
1265 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1266 ac_ls_di
=`ls -di .` &&
1267 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1268 as_fn_error
"working directory cannot be determined"
1269 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1270 as_fn_error
"pwd does not report name of working directory"
1273 # Find the source files, if location was not specified.
1274 if test -z "$srcdir"; then
1275 ac_srcdir_defaulted
=yes
1276 # Try the directory containing this script, then the parent directory.
1277 ac_confdir
=`$as_dirname -- "$as_myself" ||
1278 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1279 X"$as_myself" : 'X\(//\)[^/]' \| \
1280 X"$as_myself" : 'X\(//\)$' \| \
1281 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1282 $as_echo X"$as_myself" |
1283 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1301 if test ! -r "$srcdir/$ac_unique_file"; then
1305 ac_srcdir_defaulted
=no
1307 if test ! -r "$srcdir/$ac_unique_file"; then
1308 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1309 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1311 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1313 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1315 # When building in place, set srcdir=.
1316 if test "$ac_abs_confdir" = "$ac_pwd"; then
1319 # Remove unnecessary trailing slashes from srcdir.
1320 # Double slashes in file names in object file debugging info
1321 # mess up M-x gdb in Emacs.
1323 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1325 for ac_var
in $ac_precious_vars; do
1326 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1327 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1328 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1329 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1333 # Report the --help message.
1335 if test "$ac_init_help" = "long"; then
1336 # Omit some internal or obsolete options to make the list less imposing.
1337 # This message is too long to be a string in the A/UX 3.1 sh.
1339 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1341 Usage: $0 [OPTION]... [VAR=VALUE]...
1343 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1344 VAR=VALUE. See below for descriptions of some of the useful variables.
1346 Defaults for the options are specified in brackets.
1349 -h, --help display this help and exit
1350 --help=short display options specific to this package
1351 --help=recursive display the short help of all the included packages
1352 -V, --version display version information and exit
1353 -q, --quiet, --silent do not print \`checking...' messages
1354 --cache-file=FILE cache test results in FILE [disabled]
1355 -C, --config-cache alias for \`--cache-file=config.cache'
1356 -n, --no-create do not create output files
1357 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1359 Installation directories:
1360 --prefix=PREFIX install architecture-independent files in PREFIX
1361 [$ac_default_prefix]
1362 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1365 By default, \`make install' will install all the files in
1366 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1367 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1368 for instance \`--prefix=\$HOME'.
1370 For better control, use the options below.
1372 Fine tuning of the installation directories:
1373 --bindir=DIR user executables [EPREFIX/bin]
1374 --sbindir=DIR system admin executables [EPREFIX/sbin]
1375 --libexecdir=DIR program executables [EPREFIX/libexec]
1376 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1377 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1378 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1379 --libdir=DIR object code libraries [EPREFIX/lib]
1380 --includedir=DIR C header files [PREFIX/include]
1381 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1382 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1383 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1384 --infodir=DIR info documentation [DATAROOTDIR/info]
1385 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1386 --mandir=DIR man documentation [DATAROOTDIR/man]
1387 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1388 --htmldir=DIR html documentation [DOCDIR]
1389 --dvidir=DIR dvi documentation [DOCDIR]
1390 --pdfdir=DIR pdf documentation [DOCDIR]
1391 --psdir=DIR ps documentation [DOCDIR]
1397 --program-prefix=PREFIX prepend PREFIX to installed program names
1398 --program-suffix=SUFFIX append SUFFIX to installed program names
1399 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1402 --build=BUILD configure
for building on BUILD
[guessed
]
1403 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1404 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1408 if test -n "$ac_init_help"; then
1409 case $ac_init_help in
1410 short | recursive
) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1415 --disable-option-checking ignore unrecognized
--enable/--with options
1416 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1417 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1418 --enable-version-specific-runtime-libs
1419 specify that runtime libraries should be installed
1420 in a compiler-specific directory
1421 --enable-intermodule build the library
in one step
1422 --enable-maintainer-mode enable make rules and dependencies not useful
1423 (and sometimes confusing
) to the casual installer
1424 --enable-multilib build many library versions
(default
)
1425 --disable-dependency-tracking speeds up one-time build
1426 --enable-dependency-tracking do not reject slow dependency extractors
1427 --disable-symvers disable symbol versioning
for libgfortran
1428 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1429 --enable-static[=PKGS
] build static libraries
[default
=yes]
1430 --enable-fast-install[=PKGS
]
1431 optimize
for fast installation
[default
=yes]
1432 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1433 --disable-largefile omit support
for large files
1434 --disable-libquadmath-support
1435 disable libquadmath support
for Fortran
1438 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1439 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1440 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1441 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1442 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1444 --with-gcc-major-version-only
1445 use only GCC major number
in filesystem paths
1447 Some influential environment variables
:
1448 CC C compiler
command
1449 CFLAGS C compiler flags
1450 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1451 nonstandard directory
<lib dir
>
1452 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1453 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1454 you have headers
in a nonstandard directory
<include dir
>
1456 FC Fortran compiler
command
1457 FCFLAGS Fortran compiler flags
1459 Use these variables to override the choices made by
`configure' or to help
1460 it to find libraries and programs with nonstandard names/locations.
1462 Report bugs to the package provider.
1463 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1464 General help using GNU software: <http://www.gnu.org/gethelp/>.
1469 if test "$ac_init_help" = "recursive"; then
1470 # If there are subdirs, report their specific --help.
1471 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1472 test -d "$ac_dir" ||
1473 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1478 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1480 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1481 # A ".." for each directory in $ac_dir_suffix.
1482 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1483 case $ac_top_builddir_sub in
1484 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1485 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1488 ac_abs_top_builddir=$ac_pwd
1489 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1490 # for backward compatibility:
1491 ac_top_builddir=$ac_top_build_prefix
1494 .) # We are building in place.
1496 ac_top_srcdir=$ac_top_builddir_sub
1497 ac_abs_top_srcdir=$ac_pwd ;;
1498 [\\/]* | ?:[\\/]* ) # Absolute name.
1499 ac_srcdir=$srcdir$ac_dir_suffix;
1500 ac_top_srcdir=$srcdir
1501 ac_abs_top_srcdir=$srcdir ;;
1503 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1504 ac_top_srcdir=$ac_top_build_prefix$srcdir
1505 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1507 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1509 cd "$ac_dir" || { ac_status=$?; continue; }
1510 # Check for guested configure.
1511 if test -f "$ac_srcdir/configure.gnu"; then
1513 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1514 elif test -f "$ac_srcdir/configure"; then
1516 $SHELL "$ac_srcdir/configure" --help=recursive
1518 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1520 cd "$ac_pwd" || { ac_status=$?; break; }
1524 test -n "$ac_init_help" && exit $ac_status
1525 if $ac_init_version; then
1527 GNU Fortran Runtime Library configure 0.3
1528 generated by GNU Autoconf 2.64
1530 Copyright (C) 2009 Free Software Foundation, Inc.
1531 This configure script is free software; the Free Software Foundation
1532 gives unlimited permission to copy, distribute and modify it.
1537 ## ------------------------ ##
1538 ## Autoconf initialization. ##
1539 ## ------------------------ ##
1541 # ac_fn_c_try_compile LINENO
1542 # --------------------------
1543 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1544 ac_fn_c_try_compile ()
1546 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1547 rm -f conftest.$ac_objext
1548 if { { ac_try="$ac_compile"
1550 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1551 *) ac_try_echo
=$ac_try;;
1553 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1554 $as_echo "$ac_try_echo"; } >&5
1555 (eval "$ac_compile") 2>conftest.err
1557 if test -s conftest.err
; then
1558 grep -v '^ *+' conftest.err
>conftest.er1
1559 cat conftest.er1
>&5
1560 mv -f conftest.er1 conftest.err
1562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1563 test $ac_status = 0; } && {
1564 test -z "$ac_c_werror_flag" ||
1565 test ! -s conftest.err
1566 } && test -s conftest.
$ac_objext; then :
1569 $as_echo "$as_me: failed program was:" >&5
1570 sed 's/^/| /' conftest.
$ac_ext >&5
1574 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1577 } # ac_fn_c_try_compile
1579 # ac_fn_c_try_cpp LINENO
1580 # ----------------------
1581 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1584 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1585 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1587 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1588 *) ac_try_echo=$ac_try;;
1590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1591 $as_echo "$ac_try_echo"; } >&5
1592 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1594 if test -s conftest.err; then
1595 grep -v '^ *+' conftest.err >conftest.er1
1596 cat conftest.er1 >&5
1597 mv -f conftest.er1 conftest.err
1599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1600 test $ac_status = 0; } >/dev/null && {
1601 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1602 test ! -s conftest.err
1606 $as_echo "$as_me: failed program was:" >&5
1607 sed 's/^/| /' conftest.$ac_ext >&5
1611 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1616 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1617 # -------------------------------------------------------
1618 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1619 # the include files in INCLUDES and setting the cache variable VAR
1621 ac_fn_c_check_header_mongrel ()
1623 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1624 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1626 $as_echo_n "checking for $2... " >&6; }
1627 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1628 $as_echo_n "(cached) " >&6
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1632 $as_echo "$ac_res" >&6; }
1634 # Is the header compilable?
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1636 $as_echo_n "checking $2 usability... " >&6; }
1637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1638 /* end confdefs.h. */
1642 if ac_fn_c_try_compile "$LINENO"; then :
1643 ac_header_compiler=yes
1645 ac_header_compiler=no
1647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1649 $as_echo "$ac_header_compiler" >&6; }
1651 # Is the header present?
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1653 $as_echo_n "checking $2 presence... " >&6; }
1654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1655 /* end confdefs.h. */
1658 if ac_fn_c_try_cpp "$LINENO"; then :
1659 ac_header_preproc=yes
1661 ac_header_preproc=no
1663 rm -f conftest.err conftest.$ac_ext
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1665 $as_echo "$ac_header_preproc" >&6; }
1667 # So? What about this header?
1668 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1671 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1673 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1677 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1679 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1681 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1683 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1685 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1689 $as_echo_n "checking for $2... " >&6; }
1690 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1691 $as_echo_n "(cached) " >&6
1693 eval "$3=\$ac_header_compiler"
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1697 $as_echo "$ac_res" >&6; }
1699 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1701 } # ac_fn_c_check_header_mongrel
1703 # ac_fn_c_try_run LINENO
1704 # ----------------------
1705 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1706 # that executables *can* be run.
1709 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1710 if { { ac_try="$ac_link"
1712 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1713 *) ac_try_echo
=$ac_try;;
1715 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1716 $as_echo "$ac_try_echo"; } >&5
1717 (eval "$ac_link") 2>&5
1719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1721 { { case "(($ac_try" in
1722 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1723 *) ac_try_echo=$ac_try;;
1725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1726 $as_echo "$ac_try_echo"; } >&5
1727 (eval "$ac_try") 2>&5
1729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1730 test $ac_status = 0; }; }; then :
1733 $as_echo "$as_me: program exited with status $ac_status" >&5
1734 $as_echo "$as_me: failed program was:" >&5
1735 sed 's/^/| /' conftest.$ac_ext >&5
1737 ac_retval=$ac_status
1739 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1740 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1745 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1746 # -------------------------------------------------------
1747 # Tests whether HEADER exists and can be compiled using the include files in
1748 # INCLUDES, setting the cache variable VAR accordingly.
1749 ac_fn_c_check_header_compile ()
1751 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1753 $as_echo_n "checking for $2... " >&6; }
1754 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1755 $as_echo_n "(cached) " >&6
1757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1758 /* end confdefs.h. */
1762 if ac_fn_c_try_compile "$LINENO"; then :
1767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1771 $as_echo "$ac_res" >&6; }
1772 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1774 } # ac_fn_c_check_header_compile
1776 # ac_fn_c_try_link LINENO
1777 # -----------------------
1778 # Try to link conftest.$ac_ext, and return whether this succeeded.
1781 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782 rm -f conftest.$ac_objext conftest$ac_exeext
1783 if { { ac_try="$ac_link"
1785 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1786 *) ac_try_echo
=$ac_try;;
1788 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1789 $as_echo "$ac_try_echo"; } >&5
1790 (eval "$ac_link") 2>conftest.err
1792 if test -s conftest.err
; then
1793 grep -v '^ *+' conftest.err
>conftest.er1
1794 cat conftest.er1
>&5
1795 mv -f conftest.er1 conftest.err
1797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1798 test $ac_status = 0; } && {
1799 test -z "$ac_c_werror_flag" ||
1800 test ! -s conftest.err
1801 } && test -s conftest
$ac_exeext && {
1802 test "$cross_compiling" = yes ||
1803 $as_test_x conftest
$ac_exeext
1807 $as_echo "$as_me: failed program was:" >&5
1808 sed 's/^/| /' conftest.
$ac_ext >&5
1812 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1813 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1814 # interfere with the next link command; also delete a directory that is
1815 # left behind by Apple's compiler. We do this before executing the actions.
1816 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1817 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1820 } # ac_fn_c_try_link
1822 # ac_fn_c_check_func LINENO FUNC VAR
1823 # ----------------------------------
1824 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1825 ac_fn_c_check_func
()
1827 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1829 $as_echo_n "checking for $2... " >&6; }
1830 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1831 $as_echo_n "(cached) " >&6
1833 if test x
$gcc_no_link = xyes
; then
1834 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1837 /* end confdefs.h. */
1838 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1840 #define $2 innocuous_$2
1842 /* System header to define __stub macros and hopefully few prototypes,
1843 which can conflict with char $2 (); below.
1844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1845 <limits.h> exists even on freestanding compilers. */
1848 # include <limits.h>
1850 # include <assert.h>
1855 /* Override any GCC internal prototype to avoid an error.
1856 Use char because int might match the return type of a GCC
1857 builtin and then its argument prototype would still apply. */
1862 /* The GNU C library defines this for functions which it implements
1863 to always fail with ENOSYS. Some functions are actually named
1864 something starting with __ and the normal name is an alias. */
1865 #if defined __stub_$2 || defined __stub___$2
1877 if ac_fn_c_try_link
"$LINENO"; then :
1882 rm -f core conftest.err conftest.
$ac_objext \
1883 conftest
$ac_exeext conftest.
$ac_ext
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1887 $as_echo "$ac_res" >&6; }
1888 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1890 } # ac_fn_c_check_func
1892 # ac_fn_fc_try_compile LINENO
1893 # ---------------------------
1894 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1895 ac_fn_fc_try_compile
()
1897 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1898 rm -f conftest.
$ac_objext
1899 if { { ac_try
="$ac_compile"
1901 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1902 *) ac_try_echo=$ac_try;;
1904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1905 $as_echo "$ac_try_echo"; } >&5
1906 (eval "$ac_compile") 2>conftest.err
1908 if test -s conftest.err; then
1909 grep -v '^ *+' conftest.err >conftest.er1
1910 cat conftest.er1 >&5
1911 mv -f conftest.er1 conftest.err
1913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1914 test $ac_status = 0; } && {
1915 test -z "$ac_fc_werror_flag" ||
1916 test ! -s conftest.err
1917 } && test -s conftest.$ac_objext; then :
1920 $as_echo "$as_me: failed program was:" >&5
1921 sed 's/^/| /' conftest.$ac_ext >&5
1925 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1928 } # ac_fn_fc_try_compile
1930 # ac_fn_fc_try_link LINENO
1931 # ------------------------
1932 # Try to link conftest.$ac_ext, and return whether this succeeded.
1933 ac_fn_fc_try_link ()
1935 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1936 rm -f conftest.$ac_objext conftest$ac_exeext
1937 if { { ac_try="$ac_link"
1939 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1940 *) ac_try_echo
=$ac_try;;
1942 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1943 $as_echo "$ac_try_echo"; } >&5
1944 (eval "$ac_link") 2>conftest.err
1946 if test -s conftest.err
; then
1947 grep -v '^ *+' conftest.err
>conftest.er1
1948 cat conftest.er1
>&5
1949 mv -f conftest.er1 conftest.err
1951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1952 test $ac_status = 0; } && {
1953 test -z "$ac_fc_werror_flag" ||
1954 test ! -s conftest.err
1955 } && test -s conftest
$ac_exeext && {
1956 test "$cross_compiling" = yes ||
1957 $as_test_x conftest
$ac_exeext
1961 $as_echo "$as_me: failed program was:" >&5
1962 sed 's/^/| /' conftest.
$ac_ext >&5
1966 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1967 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1968 # interfere with the next link command; also delete a directory that is
1969 # left behind by Apple's compiler. We do this before executing the actions.
1970 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1971 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1974 } # ac_fn_fc_try_link
1976 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1977 # -------------------------------------------
1978 # Tests whether TYPE exists after having included INCLUDES, setting cache
1979 # variable VAR accordingly.
1980 ac_fn_c_check_type
()
1982 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1984 $as_echo_n "checking for $2... " >&6; }
1985 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1986 $as_echo_n "(cached) " >&6
1989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1990 /* end confdefs.h. */
2001 if ac_fn_c_try_compile
"$LINENO"; then :
2002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2003 /* end confdefs.h. */
2014 if ac_fn_c_try_compile
"$LINENO"; then :
2019 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2021 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2025 $as_echo "$ac_res" >&6; }
2026 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2028 } # ac_fn_c_check_type
2030 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2031 # --------------------------------------------
2032 # Tries to find the compile-time value of EXPR in a program that includes
2033 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2035 ac_fn_c_compute_int
()
2037 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2038 if test "$cross_compiling" = yes; then
2039 # Depending upon the size, compute the lo and hi bounds.
2040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2041 /* end confdefs.h. */
2046 static int test_array [1 - 2 * !(($2) >= 0)];
2053 if ac_fn_c_try_compile
"$LINENO"; then :
2056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2057 /* end confdefs.h. */
2062 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2069 if ac_fn_c_try_compile
"$LINENO"; then :
2070 ac_hi
=$ac_mid; break
2072 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2073 if test $ac_lo -le $ac_mid; then
2077 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2083 /* end confdefs.h. */
2088 static int test_array [1 - 2 * !(($2) < 0)];
2095 if ac_fn_c_try_compile
"$LINENO"; then :
2098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2099 /* end confdefs.h. */
2104 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2111 if ac_fn_c_try_compile
"$LINENO"; then :
2112 ac_lo
=$ac_mid; break
2114 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2115 if test $ac_mid -le $ac_hi; then
2119 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2126 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2129 # Binary search between lo and hi bounds.
2130 while test "x$ac_lo" != "x$ac_hi"; do
2131 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2133 /* end confdefs.h. */
2138 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2145 if ac_fn_c_try_compile
"$LINENO"; then :
2148 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2153 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2158 /* end confdefs.h. */
2160 static long int longval () { return $2; }
2161 static unsigned long int ulongval () { return $2; }
2168 FILE *f = fopen ("conftest.val", "w");
2173 long int i = longval ();
2176 fprintf (f, "%ld", i);
2180 unsigned long int i = ulongval ();
2183 fprintf (f, "%lu", i);
2185 /* Do not output a trailing newline, as this causes \r\n confusion
2186 on some platforms. */
2187 return ferror (f) || fclose (f) != 0;
2193 if ac_fn_c_try_run
"$LINENO"; then :
2194 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2198 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2199 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2203 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2206 } # ac_fn_c_compute_int
2208 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2209 # ----------------------------------------------------
2210 # Tries to find if the field MEMBER exists in type AGGR, after including
2211 # INCLUDES, setting cache variable VAR accordingly.
2212 ac_fn_c_check_member
()
2214 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2216 $as_echo_n "checking for $2.$3... " >&6; }
2217 if { as_var
=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2218 $as_echo_n "(cached) " >&6
2220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2221 /* end confdefs.h. */
2233 if ac_fn_c_try_compile
"$LINENO"; then :
2236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2237 /* end confdefs.h. */
2243 if (sizeof ac_aggr.$3)
2249 if ac_fn_c_try_compile
"$LINENO"; then :
2254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2256 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2260 $as_echo "$ac_res" >&6; }
2261 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2263 } # ac_fn_c_check_member
2264 cat >config.log
<<_ACEOF
2265 This file contains any messages produced by compilers while
2266 running configure, to aid debugging if configure makes a mistake.
2268 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2269 generated by GNU Autoconf 2.64. Invocation command line was
2281 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2282 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2283 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2284 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2285 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2287 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2288 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2290 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2291 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2292 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2293 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2294 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2295 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2296 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2304 test -z "$as_dir" && as_dir
=.
2305 $as_echo "PATH: $as_dir"
2321 # Keep a trace of the command line.
2322 # Strip out --no-create and --no-recursion so they do not pile up.
2323 # Strip out --silent because we don't want to record it for future runs.
2324 # Also quote any args containing shell meta-characters.
2325 # Make two passes to allow for proper duplicate-argument suppression.
2329 ac_must_keep_next
=false
2335 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2336 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2337 |
-silent |
--silent |
--silen |
--sile |
--sil)
2340 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2343 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2345 as_fn_append ac_configure_args1
" '$ac_arg'"
2346 if test $ac_must_keep_next = true
; then
2347 ac_must_keep_next
=false
# Got value, back to normal.
2350 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2351 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2352 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2353 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2354 case "$ac_configure_args0 " in
2355 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2358 -* ) ac_must_keep_next
=true
;;
2361 as_fn_append ac_configure_args
" '$ac_arg'"
2366 { ac_configure_args0
=; unset ac_configure_args0
;}
2367 { ac_configure_args1
=; unset ac_configure_args1
;}
2369 # When interrupted or exit'd, cleanup temporary files, and complete
2370 # config.log. We remove comments because anyway the quotes in there
2371 # would cause problems or look ugly.
2372 # WARNING: Use '\'' to represent an apostrophe within the trap.
2373 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2374 trap 'exit_status=$?
2375 # Save into config.log some information that might help in debugging.
2380 ## ---------------- ##
2381 ## Cache variables. ##
2382 ## ---------------- ##
2385 # The following way of writing the cache mishandles newlines in values,
2387 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2388 eval ac_val=\$$ac_var
2392 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2393 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2396 _ | IFS | as_nl) ;; #(
2397 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2398 *) { eval $ac_var=; unset $ac_var;} ;;
2403 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2404 *${as_nl}ac_space=\ *)
2406 "s/'\''/'\''\\\\'\'''\''/g;
2407 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2410 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2418 ## ----------------- ##
2419 ## Output variables. ##
2420 ## ----------------- ##
2423 for ac_var in $ac_subst_vars
2425 eval ac_val=\$$ac_var
2427 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2429 $as_echo "$ac_var='\''$ac_val'\''"
2433 if test -n "$ac_subst_files"; then
2435 ## ------------------- ##
2436 ## File substitutions. ##
2437 ## ------------------- ##
2440 for ac_var
in $ac_subst_files
2442 eval ac_val
=\$
$ac_var
2444 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2446 $as_echo "$ac_var='\''$ac_val'\''"
2451 if test -s confdefs.h; then
2461 test "$ac_signal" != 0 &&
2462 $as_echo "$as_me: caught signal $ac_signal"
2463 $as_echo "$as_me: exit $exit_status"
2465 rm -f core *.core core.conftest.* &&
2466 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2469 for ac_signal
in 1 2 13 15; do
2470 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2474 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2475 rm -f -r conftest
* confdefs.h
2477 $as_echo "/* confdefs.h */" > confdefs.h
2479 # Predefined preprocessor variables.
2481 cat >>confdefs.h
<<_ACEOF
2482 #define PACKAGE_NAME "$PACKAGE_NAME"
2485 cat >>confdefs.h
<<_ACEOF
2486 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2489 cat >>confdefs.h
<<_ACEOF
2490 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2493 cat >>confdefs.h
<<_ACEOF
2494 #define PACKAGE_STRING "$PACKAGE_STRING"
2497 cat >>confdefs.h
<<_ACEOF
2498 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2501 cat >>confdefs.h
<<_ACEOF
2502 #define PACKAGE_URL "$PACKAGE_URL"
2506 # Let the site file select an alternate cache file if it wants to.
2507 # Prefer an explicitly selected file to automatically selected ones.
2510 if test -n "$CONFIG_SITE"; then
2511 ac_site_file1
=$CONFIG_SITE
2512 elif test "x$prefix" != xNONE
; then
2513 ac_site_file1
=$prefix/share
/config.site
2514 ac_site_file2
=$prefix/etc
/config.site
2516 ac_site_file1
=$ac_default_prefix/share
/config.site
2517 ac_site_file2
=$ac_default_prefix/etc
/config.site
2519 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2521 test "x$ac_site_file" = xNONE
&& continue
2522 if test -r "$ac_site_file"; then
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2524 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2525 sed 's/^/| /' "$ac_site_file" >&5
2530 if test -r "$cache_file"; then
2531 # Some versions of bash will fail to source /dev/null (special
2532 # files actually), so we avoid doing that.
2533 if test -f "$cache_file"; then
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2535 $as_echo "$as_me: loading cache $cache_file" >&6;}
2537 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2538 *) .
"./$cache_file";;
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2543 $as_echo "$as_me: creating cache $cache_file" >&6;}
2547 as_fn_append ac_header_list
" unistd.h"
2548 as_fn_append ac_header_list
" sys/time.h"
2549 as_fn_append ac_header_list
" sys/times.h"
2550 as_fn_append ac_header_list
" sys/resource.h"
2551 as_fn_append ac_header_list
" sys/types.h"
2552 as_fn_append ac_header_list
" sys/stat.h"
2553 as_fn_append ac_header_list
" sys/wait.h"
2554 as_fn_append ac_header_list
" floatingpoint.h"
2555 as_fn_append ac_header_list
" ieeefp.h"
2556 as_fn_append ac_header_list
" fenv.h"
2557 as_fn_append ac_header_list
" fptrap.h"
2558 as_fn_append ac_header_list
" fpxcp.h"
2559 as_fn_append ac_header_list
" pwd.h"
2560 as_fn_append ac_header_list
" complex.h"
2561 as_fn_append ac_header_list
" xlocale.h"
2562 as_fn_append ac_func_list
" getrusage"
2563 as_fn_append ac_func_list
" times"
2564 as_fn_append ac_func_list
" mkstemp"
2565 as_fn_append ac_func_list
" strtof"
2566 as_fn_append ac_func_list
" strtold"
2567 as_fn_append ac_func_list
" snprintf"
2568 as_fn_append ac_func_list
" ftruncate"
2569 as_fn_append ac_func_list
" chsize"
2570 as_fn_append ac_func_list
" chdir"
2571 as_fn_append ac_func_list
" getlogin"
2572 as_fn_append ac_func_list
" gethostname"
2573 as_fn_append ac_func_list
" kill"
2574 as_fn_append ac_func_list
" link"
2575 as_fn_append ac_func_list
" symlink"
2576 as_fn_append ac_func_list
" sleep"
2577 as_fn_append ac_func_list
" ttyname"
2578 as_fn_append ac_func_list
" alarm"
2579 as_fn_append ac_func_list
" access"
2580 as_fn_append ac_func_list
" fork"
2581 as_fn_append ac_func_list
" setmode"
2582 as_fn_append ac_func_list
" fcntl"
2583 as_fn_append ac_func_list
" gettimeofday"
2584 as_fn_append ac_func_list
" stat"
2585 as_fn_append ac_func_list
" fstat"
2586 as_fn_append ac_func_list
" lstat"
2587 as_fn_append ac_func_list
" getpwuid"
2588 as_fn_append ac_func_list
" vsnprintf"
2589 as_fn_append ac_func_list
" dup"
2590 as_fn_append ac_func_list
" getcwd"
2591 as_fn_append ac_func_list
" localtime_r"
2592 as_fn_append ac_func_list
" gmtime_r"
2593 as_fn_append ac_func_list
" getpwuid_r"
2594 as_fn_append ac_func_list
" ttyname_r"
2595 as_fn_append ac_func_list
" clock_gettime"
2596 as_fn_append ac_func_list
" getgid"
2597 as_fn_append ac_func_list
" getpid"
2598 as_fn_append ac_func_list
" getuid"
2599 as_fn_append ac_func_list
" geteuid"
2600 as_fn_append ac_func_list
" umask"
2601 as_fn_append ac_func_list
" getegid"
2602 as_fn_append ac_func_list
" secure_getenv"
2603 as_fn_append ac_func_list
" __secure_getenv"
2604 as_fn_append ac_func_list
" mkostemp"
2605 as_fn_append ac_func_list
" strnlen"
2606 as_fn_append ac_func_list
" strndup"
2607 as_fn_append ac_func_list
" newlocale"
2608 as_fn_append ac_func_list
" freelocale"
2609 as_fn_append ac_func_list
" uselocale"
2610 as_fn_append ac_func_list
" strerror_l"
2611 as_fn_append ac_header_list
" math.h"
2612 # Check that the precious variables saved in the cache have kept the same
2614 ac_cache_corrupted
=false
2615 for ac_var
in $ac_precious_vars; do
2616 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2617 eval ac_new_set
=\
$ac_env_${ac_var}_set
2618 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2619 eval ac_new_val
=\
$ac_env_${ac_var}_value
2620 case $ac_old_set,$ac_new_set in
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2623 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2624 ac_cache_corrupted
=: ;;
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2627 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2628 ac_cache_corrupted
=: ;;
2631 if test "x$ac_old_val" != "x$ac_new_val"; then
2632 # differences in whitespace do not lead to failure.
2633 ac_old_val_w
=`echo x $ac_old_val`
2634 ac_new_val_w
=`echo x $ac_new_val`
2635 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2637 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2638 ac_cache_corrupted
=:
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2641 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2642 eval $ac_var=\
$ac_old_val
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2645 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2647 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2650 # Pass precious variables to config.status.
2651 if test "$ac_new_set" = set; then
2653 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2654 *) ac_arg
=$ac_var=$ac_new_val ;;
2656 case " $ac_configure_args " in
2657 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2658 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2662 if $ac_cache_corrupted; then
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2666 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2667 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2669 ## -------------------- ##
2670 ## Main body of script. ##
2671 ## -------------------- ##
2674 ac_cpp
='$CPP $CPPFLAGS'
2675 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2676 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2677 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2683 ac_config_headers
="$ac_config_headers config.h"
2686 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2687 for ac_t
in install-sh
install.sh shtool
; do
2688 if test -f "$ac_dir/$ac_t"; then
2690 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2695 if test -z "$ac_aux_dir"; then
2696 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2699 # These three variables are undocumented and unsupported,
2700 # and are intended to be withdrawn in a future Autoconf release.
2701 # They can cause serious problems if a builder's source tree is in a directory
2702 # whose full name contains unusual characters.
2703 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2704 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2705 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2708 # Make sure we can run config.sub.
2709 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2710 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2713 $as_echo_n "checking build system type... " >&6; }
2714 if test "${ac_cv_build+set}" = set; then :
2715 $as_echo_n "(cached) " >&6
2717 ac_build_alias
=$build_alias
2718 test "x$ac_build_alias" = x
&&
2719 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2720 test "x$ac_build_alias" = x
&&
2721 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2722 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2723 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2727 $as_echo "$ac_cv_build" >&6; }
2728 case $ac_cv_build in
2730 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2733 ac_save_IFS
=$IFS; IFS
='-'
2739 # Remember, the first character of IFS is used to create $*,
2740 # except with old shells:
2743 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2746 case ${build_alias} in
2747 "") build_noncanonical
=${build} ;;
2748 *) build_noncanonical
=${build_alias} ;;
2751 case ${host_alias} in
2752 "") host_noncanonical
=${build_noncanonical} ;;
2753 *) host_noncanonical
=${host_alias} ;;
2756 case ${target_alias} in
2757 "") target_noncanonical
=${host_noncanonical} ;;
2758 *) target_noncanonical
=${target_alias} ;;
2762 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2763 # have matching libraries, they should use host libraries: Makefile.tpl
2764 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2765 # However, they still use the build modules, because the corresponding
2766 # host modules (e.g. bison) are only built for the host when bootstrap
2768 # - build_subdir is where we find build modules, and never changes.
2769 # - build_libsubdir is where we find build libraries, and can be overridden.
2771 # Prefix 'build-' so this never conflicts with target_subdir.
2772 build_subdir
="build-${build_noncanonical}"
2774 # Check whether --with-build-libsubdir was given.
2775 if test "${with_build_libsubdir+set}" = set; then :
2776 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2778 build_libsubdir
="$build_subdir"
2781 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2782 if ( test $srcdir = .
&& test -d gcc
) \
2783 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2784 host_subdir
="host-${host_noncanonical}"
2789 target_subdir
=${target_noncanonical}
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2797 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2798 # Check whether --enable-version-specific-runtime-libs was given.
2799 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2800 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2801 yes) version_specific_libs
=yes ;;
2802 no
) version_specific_libs
=no
;;
2803 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2806 version_specific_libs
=no
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2810 $as_echo "$version_specific_libs" >&6; }
2812 # Build with intermodule optimisations
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2814 $as_echo_n "checking for --enable-intermodule... " >&6; }
2815 # Check whether --enable-intermodule was given.
2816 if test "${enable_intermodule+set}" = set; then :
2817 enableval
=$enable_intermodule; case "$enable_intermodule" in
2818 yes) onestep
="-onestep";;
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2826 $as_echo "$enable_intermodule" >&6; }
2827 if test x
$onestep = x-onestep
; then
2837 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2839 # You will slowly go insane if you do not grok the following fact: when
2840 # building this library, the top-level /target/ becomes the library's /host/.
2842 # configure then causes --target to default to --host, exactly like any
2843 # other package using autoconf. Therefore, 'target' and 'host' will
2844 # always be the same. This makes sense both for native and cross compilers
2845 # just think about it for a little while. :-)
2847 # Also, if this library is being configured as part of a cross compiler, the
2848 # top-level configure script will pass the "real" host as $with_cross_host.
2850 # Do not delete or change the following two lines. For why, see
2851 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2853 $as_echo_n "checking host system type... " >&6; }
2854 if test "${ac_cv_host+set}" = set; then :
2855 $as_echo_n "(cached) " >&6
2857 if test "x$host_alias" = x
; then
2858 ac_cv_host
=$ac_cv_build
2860 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2861 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2866 $as_echo "$ac_cv_host" >&6; }
2869 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2872 ac_save_IFS
=$IFS; IFS
='-'
2878 # Remember, the first character of IFS is used to create $*,
2879 # except with old shells:
2882 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2886 $as_echo_n "checking target system type... " >&6; }
2887 if test "${ac_cv_target+set}" = set; then :
2888 $as_echo_n "(cached) " >&6
2890 if test "x$target_alias" = x
; then
2891 ac_cv_target
=$ac_cv_host
2893 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2894 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2899 $as_echo "$ac_cv_target" >&6; }
2900 case $ac_cv_target in
2902 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2904 target
=$ac_cv_target
2905 ac_save_IFS
=$IFS; IFS
='-'
2911 # Remember, the first character of IFS is used to create $*,
2912 # except with old shells:
2915 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2918 # The aliases save the names the user supplied, while $host etc.
2919 # will get canonicalized.
2920 test -n "$target_alias" &&
2921 test "$program_prefix$program_suffix$program_transform_name" = \
2923 program_prefix
=${target_alias}-
2928 target_alias
=${target_alias-$host_alias}
2931 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2932 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2933 # 1.9.6: minimum required version
2934 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2935 # of other PACKAGE_* variables will, however, and there's nothing
2936 # we can do about that; they come from AC_INIT).
2937 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2938 # file in the top srcdir, etc, etc), so stop complaining.
2939 # no-dist: we don't want 'dist' and related rules.
2940 # -Wall: turns on all automake warnings...
2941 # -Wno-portability: ...except this one, since GNU make is required.
2942 am__api_version
='1.11'
2944 # Find a good install program. We prefer a C program (faster),
2945 # so one script is as good as another. But avoid the broken or
2946 # incompatible versions:
2947 # SysV /etc/install, /usr/sbin/install
2948 # SunOS /usr/etc/install
2949 # IRIX /sbin/install
2951 # AmigaOS /C/install, which installs bootblocks on floppy discs
2952 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2953 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2954 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2955 # OS/2's system install, which has a completely different semantic
2956 # ./install, which can be erroneously created by make from ./install.sh.
2957 # Reject install programs that cannot install multiple files.
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2959 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2960 if test -z "$INSTALL"; then
2961 if test "${ac_cv_path_install+set}" = set; then :
2962 $as_echo_n "(cached) " >&6
2964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2968 test -z "$as_dir" && as_dir
=.
2969 # Account for people who put trailing slashes in PATH elements.
2970 case $as_dir/ in #((
2971 .
/ | .
// |
/[cC
]/* | \
2972 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2973 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2976 # OSF1 and SCO ODT 3.0 have their own names for install.
2977 # Don't use installbsd from OSF since it installs stuff as root
2979 for ac_prog
in ginstall scoinst
install; do
2980 for ac_exec_ext
in '' $ac_executable_extensions; do
2981 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2982 if test $ac_prog = install &&
2983 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2984 # AIX install. It has an incompatible calling convention.
2986 elif test $ac_prog = install &&
2987 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2988 # program-specific install script used by HP pwplus--don't use.
2991 rm -rf conftest.one conftest.two conftest.dir
2992 echo one
> conftest.one
2993 echo two
> conftest.two
2995 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2996 test -s conftest.one
&& test -s conftest.two
&&
2997 test -s conftest.dir
/conftest.one
&&
2998 test -s conftest.dir
/conftest.two
3000 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3013 rm -rf conftest.one conftest.two conftest.dir
3016 if test "${ac_cv_path_install+set}" = set; then
3017 INSTALL
=$ac_cv_path_install
3019 # As a last resort, use the slow shell script. Don't cache a
3020 # value for INSTALL within a source directory, because that will
3021 # break other packages using the cache if that directory is
3022 # removed, or if the value is a relative name.
3023 INSTALL
=$ac_install_sh
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3027 $as_echo "$INSTALL" >&6; }
3029 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3030 # It thinks the first close brace ends the variable substitution.
3031 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3033 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3035 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3038 $as_echo_n "checking whether build environment is sane... " >&6; }
3041 echo timestamp
> conftest.
file
3042 # Reject unsafe characters in $srcdir or the absolute working directory
3043 # name. Accept space and tab only in the latter.
3047 *[\\\"\
#\$\&\'\`$am_lf]*)
3048 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3051 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3052 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3055 # Do `set' in a subshell so we don't clobber the current shell's
3056 # arguments. Must try -L first in case configure is actually a
3057 # symlink; some systems play weird games with the mod time of symlinks
3058 # (eg FreeBSD returns the mod time of the symlink's containing
3061 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3062 if test "$*" = "X"; then
3064 set X
`ls -t "$srcdir/configure" conftest.file`
3067 if test "$*" != "X $srcdir/configure conftest.file" \
3068 && test "$*" != "X conftest.file $srcdir/configure"; then
3070 # If neither matched, then we have a broken ls. This can happen
3071 # if, for instance, CONFIG_SHELL is bash and it inherits a
3072 # broken ls alias from the environment. This has actually
3073 # happened. Such a system could not be considered "sane".
3074 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3075 alias in your environment" "$LINENO" 5
3078 test "$2" = conftest.
file
3084 as_fn_error
"newly created file is older than distributed files!
3085 Check your system clock" "$LINENO" 5
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3088 $as_echo "yes" >&6; }
3089 test "$program_prefix" != NONE
&&
3090 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3091 # Use a double $ so make ignores it.
3092 test "$program_suffix" != NONE
&&
3093 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3094 # Double any \ or $.
3095 # By default was `s,x,x', remove it if useless.
3096 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3097 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3099 # expand $ac_aux_dir to an absolute path
3100 am_aux_dir
=`cd $ac_aux_dir && pwd`
3102 if test x
"${MISSING+set}" != xset
; then
3105 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3107 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3110 # Use eval to expand $SHELL
3111 if eval "$MISSING --run true"; then
3112 am_missing_run
="$MISSING --run "
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3116 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3119 if test x
"${install_sh}" != xset
; then
3122 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3124 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3128 # Installed binaries are usually stripped using `strip' when the user
3129 # run `make install-strip'. However `strip' might not be the right
3130 # tool to use in cross-compilation environments, therefore Automake
3131 # will honor the `STRIP' environment variable to overrule this program.
3132 if test "$cross_compiling" != no
; then
3133 if test -n "$ac_tool_prefix"; then
3134 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3135 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3137 $as_echo_n "checking for $ac_word... " >&6; }
3138 if test "${ac_cv_prog_STRIP+set}" = set; then :
3139 $as_echo_n "(cached) " >&6
3141 if test -n "$STRIP"; then
3142 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3148 test -z "$as_dir" && as_dir
=.
3149 for ac_exec_ext
in '' $ac_executable_extensions; do
3150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3151 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3161 STRIP
=$ac_cv_prog_STRIP
3162 if test -n "$STRIP"; then
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3164 $as_echo "$STRIP" >&6; }
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3167 $as_echo "no" >&6; }
3172 if test -z "$ac_cv_prog_STRIP"; then
3174 # Extract the first word of "strip", so it can be a program name with args.
3175 set dummy strip
; ac_word
=$2
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3177 $as_echo_n "checking for $ac_word... " >&6; }
3178 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3179 $as_echo_n "(cached) " >&6
3181 if test -n "$ac_ct_STRIP"; then
3182 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3188 test -z "$as_dir" && as_dir
=.
3189 for ac_exec_ext
in '' $ac_executable_extensions; do
3190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3191 ac_cv_prog_ac_ct_STRIP
="strip"
3192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3201 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3202 if test -n "$ac_ct_STRIP"; then
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3204 $as_echo "$ac_ct_STRIP" >&6; }
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3207 $as_echo "no" >&6; }
3210 if test "x$ac_ct_STRIP" = x
; then
3213 case $cross_compiling:$ac_tool_warned in
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3216 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3217 ac_tool_warned
=yes ;;
3222 STRIP
="$ac_cv_prog_STRIP"
3226 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3229 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3230 if test -z "$MKDIR_P"; then
3231 if test "${ac_cv_path_mkdir+set}" = set; then :
3232 $as_echo_n "(cached) " >&6
3234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3235 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3238 test -z "$as_dir" && as_dir
=.
3239 for ac_prog
in mkdir gmkdir
; do
3240 for ac_exec_ext
in '' $ac_executable_extensions; do
3241 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3242 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3243 'mkdir (GNU coreutils) '* | \
3244 'mkdir (coreutils) '* | \
3245 'mkdir (fileutils) '4.1*)
3246 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3256 if test "${ac_cv_path_mkdir+set}" = set; then
3257 MKDIR_P
="$ac_cv_path_mkdir -p"
3259 # As a last resort, use the slow shell script. Don't cache a
3260 # value for MKDIR_P within a source directory, because that will
3261 # break other packages using the cache if that directory is
3262 # removed, or if the value is a relative name.
3263 test -d .
/--version && rmdir .
/--version
3264 MKDIR_P
="$ac_install_sh -d"
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3268 $as_echo "$MKDIR_P" >&6; }
3272 [\\/$
]* | ?
:[\\/]*) ;;
3273 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3276 for ac_prog
in gawk mawk nawk
awk
3278 # Extract the first word of "$ac_prog", so it can be a program name with args.
3279 set dummy
$ac_prog; ac_word
=$2
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3281 $as_echo_n "checking for $ac_word... " >&6; }
3282 if test "${ac_cv_prog_AWK+set}" = set; then :
3283 $as_echo_n "(cached) " >&6
3285 if test -n "$AWK"; then
3286 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3292 test -z "$as_dir" && as_dir
=.
3293 for ac_exec_ext
in '' $ac_executable_extensions; do
3294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3295 ac_cv_prog_AWK
="$ac_prog"
3296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3306 if test -n "$AWK"; then
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3308 $as_echo "$AWK" >&6; }
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3311 $as_echo "no" >&6; }
3315 test -n "$AWK" && break
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3319 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3321 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3322 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3323 $as_echo_n "(cached) " >&6
3325 cat >conftest.
make <<\_ACEOF
3328 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3330 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3331 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3333 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3335 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3339 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3341 $as_echo "yes" >&6; }
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3345 $as_echo "no" >&6; }
3346 SET_MAKE
="MAKE=${MAKE-make}"
3349 rm -rf .tst
2>/dev
/null
3350 mkdir .tst
2>/dev
/null
3351 if test -d .tst
; then
3356 rmdir .tst
2>/dev
/null
3358 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3359 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3360 # is not polluted with repeated "-I."
3361 am__isrc
=' -I$(srcdir)'
3362 # test to see if srcdir already configured
3363 if test -f $srcdir/config.status
; then
3364 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3368 # test whether we have cygpath
3369 if test -z "$CYGPATH_W"; then
3370 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3371 CYGPATH_W
='cygpath -w'
3378 # Define the identity of the package.
3379 PACKAGE
='libgfortran'
3383 # Some tools Automake needs.
3385 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3388 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3391 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3394 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3397 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3399 # We need awk for the "check" target. The system "awk" is bad on
3401 # Always define AMTAR for backward compatibility. Yes, it's still used
3402 # in the wild :-( We should find a proper way to deprecate it ...
3405 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3414 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3415 # Check whether --enable-maintainer-mode was given.
3416 if test "${enable_maintainer_mode+set}" = set; then :
3417 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3419 USE_MAINTAINER_MODE
=no
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3423 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3424 if test $USE_MAINTAINER_MODE = yes; then
3425 MAINTAINER_MODE_TRUE
=
3426 MAINTAINER_MODE_FALSE
='#'
3428 MAINTAINER_MODE_TRUE
='#'
3429 MAINTAINER_MODE_FALSE
=
3432 MAINT
=$MAINTAINER_MODE_TRUE
3435 # Default to --enable-multilib
3436 # Check whether --enable-multilib was given.
3437 if test "${enable_multilib+set}" = set; then :
3438 enableval
=$enable_multilib; case "$enableval" in
3439 yes) multilib
=yes ;;
3441 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3448 # We may get other options which we leave undocumented:
3449 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3450 # See config-ml.in if you want the gory details.
3452 if test "$srcdir" = "."; then
3453 if test "$with_target_subdir" != "."; then
3454 multi_basedir
="$srcdir/$with_multisrctop../.."
3456 multi_basedir
="$srcdir/$with_multisrctop.."
3459 multi_basedir
="$srcdir/.."
3463 # Even if the default multilib is not a cross compilation,
3464 # it may be that some of the other multilibs are.
3465 if test $cross_compiling = no
&& test $multilib = yes \
3466 && test "x${with_multisubdir}" != x
; then
3467 cross_compiling
=maybe
3470 ac_config_commands
="$ac_config_commands default-1"
3473 # Handy for debugging:
3474 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3476 # Are we being configured with some form of cross compiler?
3477 # NB: We don't actually need to know this just now, but when, say, a test
3478 # suite is included, we'll have to know.
3479 if test "$build" != "$host"; then
3480 LIBGFOR_IS_NATIVE
=false
3483 LIBGFOR_IS_NATIVE
=true
3486 DEPDIR
="${am__leading_dot}deps"
3488 ac_config_commands
="$ac_config_commands depfiles"
3491 am_make
=${MAKE-make}
3492 cat > confinc
<< 'END'
3494 @
echo this is the am__doit target
3497 # If we don't find an include directive, just comment out the code.
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3499 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3503 # First try GNU make style include.
3504 echo "include confinc" > confmf
3505 # Ignore all kinds of additional output from `make'.
3506 case `$am_make -s -f confmf 2> /dev/null` in #(
3507 *the\ am__doit\ target
*)
3513 # Now try BSD make style include.
3514 if test "$am__include" = "#"; then
3515 echo '.include "confinc"' > confmf
3516 case `$am_make -s -f confmf 2> /dev/null` in #(
3517 *the\ am__doit\ target
*)
3518 am__include
=.include
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3527 $as_echo "$_am_result" >&6; }
3528 rm -f confinc confmf
3530 # Check whether --enable-dependency-tracking was given.
3531 if test "${enable_dependency_tracking+set}" = set; then :
3532 enableval
=$enable_dependency_tracking;
3535 if test "x$enable_dependency_tracking" != xno
; then
3536 am_depcomp
="$ac_aux_dir/depcomp"
3540 if test "x$enable_dependency_tracking" != xno; then
3550 ac_cpp
='$CPP $CPPFLAGS'
3551 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3552 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3553 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3554 if test -n "$ac_tool_prefix"; then
3555 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3556 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3558 $as_echo_n "checking for $ac_word... " >&6; }
3559 if test "${ac_cv_prog_CC+set}" = set; then :
3560 $as_echo_n "(cached) " >&6
3562 if test -n "$CC"; then
3563 ac_cv_prog_CC
="$CC" # Let the user override the test.
3565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3569 test -z "$as_dir" && as_dir
=.
3570 for ac_exec_ext
in '' $ac_executable_extensions; do
3571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3572 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3583 if test -n "$CC"; then
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3585 $as_echo "$CC" >&6; }
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3588 $as_echo "no" >&6; }
3593 if test -z "$ac_cv_prog_CC"; then
3595 # Extract the first word of "gcc", so it can be a program name with args.
3596 set dummy gcc
; ac_word
=$2
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3598 $as_echo_n "checking for $ac_word... " >&6; }
3599 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3600 $as_echo_n "(cached) " >&6
3602 if test -n "$ac_ct_CC"; then
3603 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3609 test -z "$as_dir" && as_dir
=.
3610 for ac_exec_ext
in '' $ac_executable_extensions; do
3611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3612 ac_cv_prog_ac_ct_CC
="gcc"
3613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3622 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3623 if test -n "$ac_ct_CC"; then
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3625 $as_echo "$ac_ct_CC" >&6; }
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3628 $as_echo "no" >&6; }
3631 if test "x$ac_ct_CC" = x
; then
3634 case $cross_compiling:$ac_tool_warned in
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3637 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3638 ac_tool_warned
=yes ;;
3646 if test -z "$CC"; then
3647 if test -n "$ac_tool_prefix"; then
3648 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3649 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3651 $as_echo_n "checking for $ac_word... " >&6; }
3652 if test "${ac_cv_prog_CC+set}" = set; then :
3653 $as_echo_n "(cached) " >&6
3655 if test -n "$CC"; then
3656 ac_cv_prog_CC
="$CC" # Let the user override the test.
3658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3662 test -z "$as_dir" && as_dir
=.
3663 for ac_exec_ext
in '' $ac_executable_extensions; do
3664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3665 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3676 if test -n "$CC"; then
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3678 $as_echo "$CC" >&6; }
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3681 $as_echo "no" >&6; }
3687 if test -z "$CC"; then
3688 # Extract the first word of "cc", so it can be a program name with args.
3689 set dummy cc
; ac_word
=$2
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3691 $as_echo_n "checking for $ac_word... " >&6; }
3692 if test "${ac_cv_prog_CC+set}" = set; then :
3693 $as_echo_n "(cached) " >&6
3695 if test -n "$CC"; then
3696 ac_cv_prog_CC
="$CC" # Let the user override the test.
3699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3703 test -z "$as_dir" && as_dir
=.
3704 for ac_exec_ext
in '' $ac_executable_extensions; do
3705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3706 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3707 ac_prog_rejected
=yes
3711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3718 if test $ac_prog_rejected = yes; then
3719 # We found a bogon in the path, so make sure we never use it.
3720 set dummy
$ac_cv_prog_CC
3722 if test $# != 0; then
3723 # We chose a different compiler from the bogus one.
3724 # However, it has the same basename, so the bogon will be chosen
3725 # first if we set CC to just the basename; use the full file name.
3727 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3733 if test -n "$CC"; then
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3735 $as_echo "$CC" >&6; }
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3738 $as_echo "no" >&6; }
3743 if test -z "$CC"; then
3744 if test -n "$ac_tool_prefix"; then
3745 for ac_prog
in cl.exe
3747 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3748 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3750 $as_echo_n "checking for $ac_word... " >&6; }
3751 if test "${ac_cv_prog_CC+set}" = set; then :
3752 $as_echo_n "(cached) " >&6
3754 if test -n "$CC"; then
3755 ac_cv_prog_CC
="$CC" # Let the user override the test.
3757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3761 test -z "$as_dir" && as_dir
=.
3762 for ac_exec_ext
in '' $ac_executable_extensions; do
3763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3764 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3775 if test -n "$CC"; then
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3777 $as_echo "$CC" >&6; }
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3780 $as_echo "no" >&6; }
3784 test -n "$CC" && break
3787 if test -z "$CC"; then
3789 for ac_prog
in cl.exe
3791 # Extract the first word of "$ac_prog", so it can be a program name with args.
3792 set dummy
$ac_prog; ac_word
=$2
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3794 $as_echo_n "checking for $ac_word... " >&6; }
3795 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3796 $as_echo_n "(cached) " >&6
3798 if test -n "$ac_ct_CC"; then
3799 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3805 test -z "$as_dir" && as_dir
=.
3806 for ac_exec_ext
in '' $ac_executable_extensions; do
3807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3808 ac_cv_prog_ac_ct_CC
="$ac_prog"
3809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3818 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3819 if test -n "$ac_ct_CC"; then
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3821 $as_echo "$ac_ct_CC" >&6; }
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3824 $as_echo "no" >&6; }
3828 test -n "$ac_ct_CC" && break
3831 if test "x$ac_ct_CC" = x
; then
3834 case $cross_compiling:$ac_tool_warned in
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3837 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3838 ac_tool_warned
=yes ;;
3847 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3848 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3849 as_fn_error
"no acceptable C compiler found in \$PATH
3850 See \`config.log' for more details." "$LINENO" 5; }
3852 # Provide some information about the compiler.
3853 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3856 for ac_option
in --version -v -V -qversion; do
3857 { { ac_try
="$ac_compiler $ac_option >&5"
3859 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3860 *) ac_try_echo=$ac_try;;
3862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3863 $as_echo "$ac_try_echo"; } >&5
3864 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3866 if test -s conftest.err; then
3868 ... rest of stderr output deleted ...
3869 10q' conftest.err >conftest.er1
3870 cat conftest.er1 >&5
3871 rm -f conftest.er1 conftest.err
3873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3874 test $ac_status = 0; }
3877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3878 /* end confdefs.h. */
3889 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3890 (eval $ac_link) 2>&5
3892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3893 test $ac_status = 0; }; then :
3898 if test x$gcc_no_link = xyes; then
3899 # Setting cross_compile will disable run tests; it will
3900 # also disable AC_CHECK_FILE but that's generally
3901 # correct if we can't link.
3905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3906 /* end confdefs.h. */
3916 ac_clean_files_save=$ac_clean_files
3917 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3918 # Try to create an executable without -o first, disregard a.out.
3919 # It will help us diagnose broken compilers, and finding out an intuition
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3922 $as_echo_n "checking for C compiler default output file name... " >&6; }
3923 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3925 # The possible output files:
3926 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3929 for ac_file in $ac_files
3932 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3933 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3938 if { { ac_try="$ac_link_default"
3940 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3941 *) ac_try_echo
=$ac_try;;
3943 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3944 $as_echo "$ac_try_echo"; } >&5
3945 (eval "$ac_link_default") 2>&5
3947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3948 test $ac_status = 0; }; then :
3949 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3950 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3951 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3952 # so that the user can short-circuit this test for compilers unknown to
3954 for ac_file
in $ac_files ''
3956 test -f "$ac_file" ||
continue
3958 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3961 # We found the default executable, but exeext='' is most
3965 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3967 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3969 # We set ac_cv_exeext here because the later test for it is not
3970 # safe: cross compilers may not add the suffix if given an `-o'
3971 # argument, so we may need to know it at that point already.
3972 # Even if this section looks crufty: it has the advantage of
3979 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3985 $as_echo "$ac_file" >&6; }
3986 if test -z "$ac_file"; then :
3987 $as_echo "$as_me: failed program was:" >&5
3988 sed 's/^/| /' conftest.
$ac_ext >&5
3990 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3992 { as_fn_set_status
77
3993 as_fn_error
"C compiler cannot create executables
3994 See \`config.log' for more details." "$LINENO" 5; }; }
3996 ac_exeext
=$ac_cv_exeext
3998 # Check that the compiler produces executables we can run. If not, either
3999 # the compiler is broken, or we cross compile.
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4001 $as_echo_n "checking whether the C compiler works... " >&6; }
4002 # If not cross compiling, check that we can run a simple program.
4003 if test "$cross_compiling" != yes; then
4004 if { ac_try
='./$ac_file'
4005 { { case "(($ac_try" in
4006 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4007 *) ac_try_echo=$ac_try;;
4009 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4010 $as_echo "$ac_try_echo"; } >&5
4011 (eval "$ac_try") 2>&5
4013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4014 test $ac_status = 0; }; }; then
4017 if test "$cross_compiling" = maybe; then
4020 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4021 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4022 as_fn_error "cannot run C compiled programs.
4023 If you meant to cross compile
, use \
`--host'.
4024 See \`config.log
' for more details." "$LINENO" 5; }
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4029 $as_echo "yes" >&6; }
4031 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4032 ac_clean_files=$ac_clean_files_save
4033 # Check that the compiler produces executables we can run. If not, either
4034 # the compiler is broken, or we cross compile.
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4036 $as_echo_n "checking whether we are cross compiling... " >&6; }
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4038 $as_echo "$cross_compiling" >&6; }
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4041 $as_echo_n "checking for suffix of executables... " >&6; }
4042 if { { ac_try="$ac_link"
4044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4045 *) ac_try_echo=$ac_try;;
4047 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4048 $as_echo "$ac_try_echo"; } >&5
4049 (eval "$ac_link") 2>&5
4051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4052 test $ac_status = 0; }; then :
4053 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4054 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4055 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4057 for ac_file
in conftest.exe conftest conftest.
*; do
4058 test -f "$ac_file" ||
continue
4060 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4061 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4067 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4068 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4069 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4070 See \`config.log' for more details." "$LINENO" 5; }
4072 rm -f conftest
$ac_cv_exeext
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4074 $as_echo "$ac_cv_exeext" >&6; }
4076 rm -f conftest.
$ac_ext
4077 EXEEXT
=$ac_cv_exeext
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4081 $as_echo_n "checking for suffix of object files... " >&6; }
4082 if test "${ac_cv_objext+set}" = set; then :
4083 $as_echo_n "(cached) " >&6
4085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4086 /* end confdefs.h. */
4096 rm -f conftest.o conftest.obj
4097 if { { ac_try
="$ac_compile"
4099 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4100 *) ac_try_echo=$ac_try;;
4102 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4103 $as_echo "$ac_try_echo"; } >&5
4104 (eval "$ac_compile") 2>&5
4106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4107 test $ac_status = 0; }; then :
4108 for ac_file in conftest.o conftest.obj conftest.*; do
4109 test -f "$ac_file" || continue;
4111 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4112 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4117 $as_echo "$as_me: failed program was:" >&5
4118 sed 's/^/| /' conftest.$ac_ext >&5
4120 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4122 as_fn_error "cannot compute suffix of object files
: cannot compile
4123 See \
`config.log' for more details." "$LINENO" 5; }
4125 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4128 $as_echo "$ac_cv_objext" >&6; }
4129 OBJEXT=$ac_cv_objext
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4132 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4133 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4134 $as_echo_n "(cached) " >&6
4136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4137 /* end confdefs.h. */
4150 if ac_fn_c_try_compile "$LINENO"; then :
4155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4156 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4160 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4161 if test $ac_compiler_gnu = yes; then
4166 ac_test_CFLAGS=${CFLAGS+set}
4167 ac_save_CFLAGS=$CFLAGS
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4169 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4170 if test "${ac_cv_prog_cc_g+set}" = set; then :
4171 $as_echo_n "(cached) " >&6
4173 ac_save_c_werror_flag=$ac_c_werror_flag
4174 ac_c_werror_flag=yes
4177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4178 /* end confdefs.h. */
4188 if ac_fn_c_try_compile "$LINENO"; then :
4192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4193 /* end confdefs.h. */
4203 if ac_fn_c_try_compile "$LINENO"; then :
4206 ac_c_werror_flag=$ac_save_c_werror_flag
4208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4209 /* end confdefs.h. */
4219 if ac_fn_c_try_compile "$LINENO"; then :
4222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4227 ac_c_werror_flag=$ac_save_c_werror_flag
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4230 $as_echo "$ac_cv_prog_cc_g" >&6; }
4231 if test "$ac_test_CFLAGS" = set; then
4232 CFLAGS=$ac_save_CFLAGS
4233 elif test $ac_cv_prog_cc_g = yes; then
4234 if test "$GCC" = yes; then
4240 if test "$GCC" = yes; then
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4247 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4248 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4249 $as_echo_n "(cached) " >&6
4251 ac_cv_prog_cc_c89=no
4253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4254 /* end confdefs.h. */
4257 #include <sys/types.h>
4258 #include <sys/stat.h>
4259 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4260 struct buf { int x; };
4261 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4262 static char *e (p, i)
4268 static char *f (char * (*g) (char **, int), char **p, ...)
4273 s = g (p, va_arg (v,int));
4278 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4279 function prototypes and stuff, but not '\xHH' hex character constants.
4280 These don't provoke an error unfortunately, instead are silently treated
4281 as 'x'. The following induces an error, until -std is added to get
4282 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4283 array size at least. It's necessary to write '\x00'==0 to get something
4284 that's true only with -std. */
4285 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4287 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4288 inside strings and character constants. */
4290 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4292 int test (int i, double x);
4293 struct s1 {int (*f) (int a);};
4294 struct s2 {int (*f) (double a);};
4295 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4301 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4306 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4307 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4309 CC="$ac_save_CC $ac_arg"
4310 if ac_fn_c_try_compile "$LINENO"; then :
4311 ac_cv_prog_cc_c89=$ac_arg
4313 rm -f core conftest.err conftest.$ac_objext
4314 test "x$ac_cv_prog_cc_c89" != "xno" && break
4316 rm -f conftest.$ac_ext
4321 case "x$ac_cv_prog_cc_c89" in
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4324 $as_echo "none needed" >&6; } ;;
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4327 $as_echo "unsupported" >&6; } ;;
4329 CC="$CC $ac_cv_prog_cc_c89"
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4331 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4333 if test "x$ac_cv_prog_cc_c89" != xno; then :
4338 ac_cpp='$CPP $CPPFLAGS'
4339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4343 depcc="$CC" am_compiler_list=
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4346 $as_echo_n "checking dependency style of $depcc... " >&6; }
4347 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4348 $as_echo_n "(cached) " >&6
4350 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4351 # We make a subdir and do the tests there. Otherwise we can end up
4352 # making bogus files that we don't know about and never remove. For
4353 # instance it was reported that on HP-UX the gcc test will end up
4354 # making a dummy file named `D
' -- because `-MD' means
`put the output
4358 # Copy depcomp to subdir because otherwise we won't find it if we're
4359 # using a relative directory.
4360 cp "$am_depcomp" conftest.dir
4362 # We will build objects and dependencies in a subdirectory because
4363 # it helps to detect inapplicable dependency modes. For instance
4364 # both Tru64's cc and ICC support -MD to output dependencies as a
4365 # side effect of compilation, but ICC will put the dependencies in
4366 # the current directory while Tru64 will put them in the object
4370 am_cv_CC_dependencies_compiler_type=none
4371 if test "$am_compiler_list" = ""; then
4372 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4375 case " $depcc " in #(
4376 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4379 for depmode in $am_compiler_list; do
4380 # Setup a source with many dependencies, because some compilers
4381 # like to wrap large dependency lists on column 80 (with \), and
4382 # we should not choose a depcomp mode which is confused by this.
4384 # We need to recreate these files for each test, as the compiler may
4385 # overwrite some of them when testing with obscure command lines.
4386 # This happens at least with the AIX C compiler.
4388 for i in 1 2 3 4 5 6; do
4389 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4390 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4391 # Solaris 8's
{/usr
,}/bin
/sh.
4392 touch sub
/conftst
$i.h
4394 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4396 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4397 # mode. It turns out that the SunPro C++ compiler does not properly
4398 # handle `-M -o', and we need to detect this. Also, some Intel
4399 # versions had trouble with output in subdirs
4400 am__obj
=sub
/conftest.
${OBJEXT-o}
4401 am__minus_obj
="-o $am__obj"
4404 # This depmode causes a compiler race in universal mode.
4405 test "$am__universal" = false ||
continue
4408 # after this tag, mechanisms are not by side-effect, so they'll
4409 # only be used when explicitly requested
4410 if test "x$enable_dependency_tracking" = xyes
; then
4416 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4417 # This compiler won't grok `-c -o', but also, the minuso test has
4418 # not run yet. These depmodes are late enough in the game, and
4419 # so weak that their functioning should not be impacted.
4420 am__obj
=conftest.
${OBJEXT-o}
4425 if depmode
=$depmode \
4426 source=sub
/conftest.c object
=$am__obj \
4427 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4428 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4429 >/dev
/null
2>conftest.err
&&
4430 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4431 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4432 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4433 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4434 # icc doesn't choke on unknown options, it will just issue warnings
4435 # or remarks (even with -Werror). So we grep stderr for any message
4436 # that says an option was ignored or not supported.
4437 # When given -MP, icc 7.0 and 7.1 complain thusly:
4438 # icc: Command line warning: ignoring option '-M'; no argument required
4439 # The diagnosis changed in icc 8.0:
4440 # icc: Command line remark: option '-MP' not supported
4441 if (grep 'ignoring option' conftest.err ||
4442 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4443 am_cv_CC_dependencies_compiler_type
=$depmode
4452 am_cv_CC_dependencies_compiler_type
=none
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4457 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4458 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4461 test "x$enable_dependency_tracking" != xno \
4462 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4464 am__fastdepCC_FALSE
='#'
4466 am__fastdepCC_TRUE
='#'
4467 am__fastdepCC_FALSE
=
4473 ac_cpp
='$CPP $CPPFLAGS'
4474 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4475 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4476 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4478 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4479 # On Suns, sometimes $CPP names a directory.
4480 if test -n "$CPP" && test -d "$CPP"; then
4483 if test -z "$CPP"; then
4484 if test "${ac_cv_prog_CPP+set}" = set; then :
4485 $as_echo_n "(cached) " >&6
4487 # Double quotes because CPP needs to be expanded
4488 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4491 for ac_c_preproc_warn_flag
in '' yes
4493 # Use a header file that comes with gcc, so configuring glibc
4494 # with a fresh cross-compiler works.
4495 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4496 # <limits.h> exists even on freestanding compilers.
4497 # On the NeXT, cc -E runs the code through the compiler's parser,
4498 # not just through cpp. "Syntax error" is here to catch this case.
4499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4500 /* end confdefs.h. */
4502 # include <limits.h>
4504 # include <assert.h>
4508 if ac_fn_c_try_cpp
"$LINENO"; then :
4511 # Broken: fails on valid input.
4514 rm -f conftest.err conftest.
$ac_ext
4516 # OK, works on sane cases. Now check whether nonexistent headers
4517 # can be detected and how.
4518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4519 /* end confdefs.h. */
4520 #include <ac_nonexistent.h>
4522 if ac_fn_c_try_cpp
"$LINENO"; then :
4523 # Broken: success on invalid input.
4526 # Passes both tests.
4530 rm -f conftest.err conftest.
$ac_ext
4533 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4534 rm -f conftest.err conftest.
$ac_ext
4535 if $ac_preproc_ok; then :
4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4548 $as_echo "$CPP" >&6; }
4550 for ac_c_preproc_warn_flag
in '' yes
4552 # Use a header file that comes with gcc, so configuring glibc
4553 # with a fresh cross-compiler works.
4554 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4555 # <limits.h> exists even on freestanding compilers.
4556 # On the NeXT, cc -E runs the code through the compiler's parser,
4557 # not just through cpp. "Syntax error" is here to catch this case.
4558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h. */
4561 # include <limits.h>
4563 # include <assert.h>
4567 if ac_fn_c_try_cpp
"$LINENO"; then :
4570 # Broken: fails on valid input.
4573 rm -f conftest.err conftest.
$ac_ext
4575 # OK, works on sane cases. Now check whether nonexistent headers
4576 # can be detected and how.
4577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4578 /* end confdefs.h. */
4579 #include <ac_nonexistent.h>
4581 if ac_fn_c_try_cpp
"$LINENO"; then :
4582 # Broken: success on invalid input.
4585 # Passes both tests.
4589 rm -f conftest.err conftest.
$ac_ext
4592 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4593 rm -f conftest.err conftest.
$ac_ext
4594 if $ac_preproc_ok; then :
4597 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4599 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4600 See \`config.log' for more details." "$LINENO" 5; }
4604 ac_cpp
='$CPP $CPPFLAGS'
4605 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4606 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4607 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4611 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4612 if test "${ac_cv_path_GREP+set}" = set; then :
4613 $as_echo_n "(cached) " >&6
4615 if test -z "$GREP"; then
4616 ac_path_GREP_found
=false
4617 # Loop through the user's path and test for each of PROGNAME-LIST
4618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4619 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4622 test -z "$as_dir" && as_dir
=.
4623 for ac_prog
in grep ggrep
; do
4624 for ac_exec_ext
in '' $ac_executable_extensions; do
4625 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4626 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4627 # Check for GNU ac_path_GREP and select it if it is found.
4628 # Check for GNU $ac_path_GREP
4629 case `"$ac_path_GREP" --version 2>&1` in
4631 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4634 $as_echo_n 0123456789 >"conftest.in"
4637 cat "conftest.in" "conftest.in" >"conftest.tmp"
4638 mv "conftest.tmp" "conftest.in"
4639 cp "conftest.in" "conftest.nl"
4640 $as_echo 'GREP' >> "conftest.nl"
4641 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4642 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4643 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4644 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4645 # Best one so far, save it but keep looking for a better one
4646 ac_cv_path_GREP
="$ac_path_GREP"
4647 ac_path_GREP_max
=$ac_count
4649 # 10*(2^10) chars as input seems more than enough
4650 test $ac_count -gt 10 && break
4652 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4655 $ac_path_GREP_found && break 3
4660 if test -z "$ac_cv_path_GREP"; then
4661 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4664 ac_cv_path_GREP
=$GREP
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4669 $as_echo "$ac_cv_path_GREP" >&6; }
4670 GREP
="$ac_cv_path_GREP"
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4674 $as_echo_n "checking for egrep... " >&6; }
4675 if test "${ac_cv_path_EGREP+set}" = set; then :
4676 $as_echo_n "(cached) " >&6
4678 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4679 then ac_cv_path_EGREP
="$GREP -E"
4681 if test -z "$EGREP"; then
4682 ac_path_EGREP_found
=false
4683 # Loop through the user's path and test for each of PROGNAME-LIST
4684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4685 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4688 test -z "$as_dir" && as_dir
=.
4689 for ac_prog
in egrep; do
4690 for ac_exec_ext
in '' $ac_executable_extensions; do
4691 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4692 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4693 # Check for GNU ac_path_EGREP and select it if it is found.
4694 # Check for GNU $ac_path_EGREP
4695 case `"$ac_path_EGREP" --version 2>&1` in
4697 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4700 $as_echo_n 0123456789 >"conftest.in"
4703 cat "conftest.in" "conftest.in" >"conftest.tmp"
4704 mv "conftest.tmp" "conftest.in"
4705 cp "conftest.in" "conftest.nl"
4706 $as_echo 'EGREP' >> "conftest.nl"
4707 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4708 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4709 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4710 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4711 # Best one so far, save it but keep looking for a better one
4712 ac_cv_path_EGREP
="$ac_path_EGREP"
4713 ac_path_EGREP_max
=$ac_count
4715 # 10*(2^10) chars as input seems more than enough
4716 test $ac_count -gt 10 && break
4718 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4721 $ac_path_EGREP_found && break 3
4726 if test -z "$ac_cv_path_EGREP"; then
4727 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4730 ac_cv_path_EGREP
=$EGREP
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4736 $as_echo "$ac_cv_path_EGREP" >&6; }
4737 EGREP
="$ac_cv_path_EGREP"
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4741 $as_echo_n "checking for ANSI C header files... " >&6; }
4742 if test "${ac_cv_header_stdc+set}" = set; then :
4743 $as_echo_n "(cached) " >&6
4745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4746 /* end confdefs.h. */
4760 if ac_fn_c_try_compile
"$LINENO"; then :
4761 ac_cv_header_stdc
=yes
4763 ac_cv_header_stdc
=no
4765 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4767 if test $ac_cv_header_stdc = yes; then
4768 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4770 /* end confdefs.h. */
4774 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4775 $EGREP "memchr" >/dev
/null
2>&1; then :
4778 ac_cv_header_stdc
=no
4784 if test $ac_cv_header_stdc = yes; then
4785 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4787 /* end confdefs.h. */
4791 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4792 $EGREP "free" >/dev
/null
2>&1; then :
4795 ac_cv_header_stdc
=no
4801 if test $ac_cv_header_stdc = yes; then
4802 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4803 if test "$cross_compiling" = yes; then :
4806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4807 /* end confdefs.h. */
4810 #if ((' ' & 0x0FF) == 0x020)
4811 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4812 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4814 # define ISLOWER(c) \
4815 (('a' <= (c) && (c) <= 'i') \
4816 || ('j' <= (c) && (c) <= 'r') \
4817 || ('s' <= (c) && (c) <= 'z'))
4818 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4821 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4826 for (i = 0; i < 256; i++)
4827 if (XOR (islower (i), ISLOWER (i))
4828 || toupper (i) != TOUPPER (i))
4833 if ac_fn_c_try_run
"$LINENO"; then :
4836 ac_cv_header_stdc
=no
4838 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4839 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4845 $as_echo "$ac_cv_header_stdc" >&6; }
4846 if test $ac_cv_header_stdc = yes; then
4848 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4852 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4853 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4854 inttypes.h stdint.h unistd.h
4856 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4857 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4859 eval as_val
=\$
$as_ac_Header
4860 if test "x$as_val" = x
""yes; then :
4861 cat >>confdefs.h
<<_ACEOF
4862 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4871 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4872 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4879 if test "$MINIX" = yes; then
4881 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4884 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4887 $as_echo "#define _MINIX 1" >>confdefs.h
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4893 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4894 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4895 $as_echo_n "(cached) " >&6
4897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4898 /* end confdefs.h. */
4900 # define __EXTENSIONS__ 1
4901 $ac_includes_default
4910 if ac_fn_c_try_compile
"$LINENO"; then :
4911 ac_cv_safe_to_define___extensions__
=yes
4913 ac_cv_safe_to_define___extensions__
=no
4915 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4918 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4919 test $ac_cv_safe_to_define___extensions__ = yes &&
4920 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4922 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4924 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4926 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4928 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4932 # Calculate toolexeclibdir
4933 # Also toolexecdir, though it's only used in toolexeclibdir
4934 case ${version_specific_libs} in
4936 # Need the gcc compiler version to know where to install libraries
4937 # and header files if --enable-version-specific-runtime-libs option
4939 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4940 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4943 if test -n "$with_cross_host" &&
4944 test x
"$with_cross_host" != x
"no"; then
4945 # Install a library built with a cross compiler in tooldir, not libdir.
4946 toolexecdir
='$(exec_prefix)/$(target_alias)'
4947 toolexeclibdir
='$(toolexecdir)/lib'
4949 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4950 toolexeclibdir
='$(libdir)'
4952 multi_os_directory
=`$CC -print-multi-os-directory`
4953 case $multi_os_directory in
4954 .
) ;; # Avoid trailing /.
4955 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4962 # Create a spec file, so that compile/link tests don't fail
4963 test -f libgfortran.spec ||
touch libgfortran.spec
4966 ac_cpp
='$CPP $CPPFLAGS'
4967 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4968 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4969 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4971 # Check the compiler.
4972 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
4973 # We must force CC to /not/ be precious variables; otherwise
4974 # the wrong, non-multilib-adjusted value will be used in multilibs.
4975 # As a side effect, we have to subst CFLAGS ourselves.
4980 ac_cpp
='$CPP $CPPFLAGS'
4981 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4982 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4983 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4984 if test -n "$ac_tool_prefix"; then
4985 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4986 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4988 $as_echo_n "checking for $ac_word... " >&6; }
4989 if test "${ac_cv_prog_CC+set}" = set; then :
4990 $as_echo_n "(cached) " >&6
4992 if test -n "$CC"; then
4993 ac_cv_prog_CC
="$CC" # Let the user override the test.
4995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4999 test -z "$as_dir" && as_dir
=.
5000 for ac_exec_ext
in '' $ac_executable_extensions; do
5001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5002 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5013 if test -n "$CC"; then
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5015 $as_echo "$CC" >&6; }
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5018 $as_echo "no" >&6; }
5023 if test -z "$ac_cv_prog_CC"; then
5025 # Extract the first word of "gcc", so it can be a program name with args.
5026 set dummy gcc
; ac_word
=$2
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5028 $as_echo_n "checking for $ac_word... " >&6; }
5029 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5030 $as_echo_n "(cached) " >&6
5032 if test -n "$ac_ct_CC"; then
5033 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5039 test -z "$as_dir" && as_dir
=.
5040 for ac_exec_ext
in '' $ac_executable_extensions; do
5041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5042 ac_cv_prog_ac_ct_CC
="gcc"
5043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5052 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5053 if test -n "$ac_ct_CC"; then
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5055 $as_echo "$ac_ct_CC" >&6; }
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5058 $as_echo "no" >&6; }
5061 if test "x$ac_ct_CC" = x
; then
5064 case $cross_compiling:$ac_tool_warned in
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5067 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5068 ac_tool_warned
=yes ;;
5076 if test -z "$CC"; then
5077 if test -n "$ac_tool_prefix"; then
5078 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5079 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5081 $as_echo_n "checking for $ac_word... " >&6; }
5082 if test "${ac_cv_prog_CC+set}" = set; then :
5083 $as_echo_n "(cached) " >&6
5085 if test -n "$CC"; then
5086 ac_cv_prog_CC
="$CC" # Let the user override the test.
5088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5092 test -z "$as_dir" && as_dir
=.
5093 for ac_exec_ext
in '' $ac_executable_extensions; do
5094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5095 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5106 if test -n "$CC"; then
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5108 $as_echo "$CC" >&6; }
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5111 $as_echo "no" >&6; }
5117 if test -z "$CC"; then
5118 # Extract the first word of "cc", so it can be a program name with args.
5119 set dummy cc
; ac_word
=$2
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5121 $as_echo_n "checking for $ac_word... " >&6; }
5122 if test "${ac_cv_prog_CC+set}" = set; then :
5123 $as_echo_n "(cached) " >&6
5125 if test -n "$CC"; then
5126 ac_cv_prog_CC
="$CC" # Let the user override the test.
5129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5133 test -z "$as_dir" && as_dir
=.
5134 for ac_exec_ext
in '' $ac_executable_extensions; do
5135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5136 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5137 ac_prog_rejected
=yes
5141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5148 if test $ac_prog_rejected = yes; then
5149 # We found a bogon in the path, so make sure we never use it.
5150 set dummy
$ac_cv_prog_CC
5152 if test $# != 0; then
5153 # We chose a different compiler from the bogus one.
5154 # However, it has the same basename, so the bogon will be chosen
5155 # first if we set CC to just the basename; use the full file name.
5157 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5163 if test -n "$CC"; then
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5165 $as_echo "$CC" >&6; }
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5168 $as_echo "no" >&6; }
5173 if test -z "$CC"; then
5174 if test -n "$ac_tool_prefix"; then
5175 for ac_prog
in cl.exe
5177 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5178 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5180 $as_echo_n "checking for $ac_word... " >&6; }
5181 if test "${ac_cv_prog_CC+set}" = set; then :
5182 $as_echo_n "(cached) " >&6
5184 if test -n "$CC"; then
5185 ac_cv_prog_CC
="$CC" # Let the user override the test.
5187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5191 test -z "$as_dir" && as_dir
=.
5192 for ac_exec_ext
in '' $ac_executable_extensions; do
5193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5194 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5205 if test -n "$CC"; then
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5207 $as_echo "$CC" >&6; }
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5210 $as_echo "no" >&6; }
5214 test -n "$CC" && break
5217 if test -z "$CC"; then
5219 for ac_prog
in cl.exe
5221 # Extract the first word of "$ac_prog", so it can be a program name with args.
5222 set dummy
$ac_prog; ac_word
=$2
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5224 $as_echo_n "checking for $ac_word... " >&6; }
5225 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5226 $as_echo_n "(cached) " >&6
5228 if test -n "$ac_ct_CC"; then
5229 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5235 test -z "$as_dir" && as_dir
=.
5236 for ac_exec_ext
in '' $ac_executable_extensions; do
5237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5238 ac_cv_prog_ac_ct_CC
="$ac_prog"
5239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5248 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5249 if test -n "$ac_ct_CC"; then
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5251 $as_echo "$ac_ct_CC" >&6; }
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5254 $as_echo "no" >&6; }
5258 test -n "$ac_ct_CC" && break
5261 if test "x$ac_ct_CC" = x
; then
5264 case $cross_compiling:$ac_tool_warned in
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5267 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5268 ac_tool_warned
=yes ;;
5277 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5278 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5279 as_fn_error
"no acceptable C compiler found in \$PATH
5280 See \`config.log' for more details." "$LINENO" 5; }
5282 # Provide some information about the compiler.
5283 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5286 for ac_option
in --version -v -V -qversion; do
5287 { { ac_try
="$ac_compiler $ac_option >&5"
5289 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5290 *) ac_try_echo=$ac_try;;
5292 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5293 $as_echo "$ac_try_echo"; } >&5
5294 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5296 if test -s conftest.err; then
5298 ... rest of stderr output deleted ...
5299 10q' conftest.err >conftest.er1
5300 cat conftest.er1 >&5
5301 rm -f conftest.er1 conftest.err
5303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5304 test $ac_status = 0; }
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5308 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5309 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5310 $as_echo_n "(cached) " >&6
5312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5313 /* end confdefs.h. */
5326 if ac_fn_c_try_compile "$LINENO"; then :
5331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5332 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5336 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5337 if test $ac_compiler_gnu = yes; then
5342 ac_test_CFLAGS=${CFLAGS+set}
5343 ac_save_CFLAGS=$CFLAGS
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5345 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5346 if test "${ac_cv_prog_cc_g+set}" = set; then :
5347 $as_echo_n "(cached) " >&6
5349 ac_save_c_werror_flag=$ac_c_werror_flag
5350 ac_c_werror_flag=yes
5353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5354 /* end confdefs.h. */
5364 if ac_fn_c_try_compile "$LINENO"; then :
5368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5369 /* end confdefs.h. */
5379 if ac_fn_c_try_compile "$LINENO"; then :
5382 ac_c_werror_flag=$ac_save_c_werror_flag
5384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5385 /* end confdefs.h. */
5395 if ac_fn_c_try_compile "$LINENO"; then :
5398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5403 ac_c_werror_flag=$ac_save_c_werror_flag
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5406 $as_echo "$ac_cv_prog_cc_g" >&6; }
5407 if test "$ac_test_CFLAGS" = set; then
5408 CFLAGS=$ac_save_CFLAGS
5409 elif test $ac_cv_prog_cc_g = yes; then
5410 if test "$GCC" = yes; then
5416 if test "$GCC" = yes; then
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5423 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5424 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5425 $as_echo_n "(cached) " >&6
5427 ac_cv_prog_cc_c89=no
5429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5430 /* end confdefs.h. */
5433 #include <sys/types.h>
5434 #include <sys/stat.h>
5435 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5436 struct buf { int x; };
5437 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5438 static char *e (p, i)
5444 static char *f (char * (*g) (char **, int), char **p, ...)
5449 s = g (p, va_arg (v,int));
5454 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5455 function prototypes and stuff, but not '\xHH' hex character constants.
5456 These don't provoke an error unfortunately, instead are silently treated
5457 as 'x'. The following induces an error, until -std is added to get
5458 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5459 array size at least. It's necessary to write '\x00'==0 to get something
5460 that's true only with -std. */
5461 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5463 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5464 inside strings and character constants. */
5466 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5468 int test (int i, double x);
5469 struct s1 {int (*f) (int a);};
5470 struct s2 {int (*f) (double a);};
5471 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5477 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5482 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5483 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5485 CC="$ac_save_CC $ac_arg"
5486 if ac_fn_c_try_compile "$LINENO"; then :
5487 ac_cv_prog_cc_c89=$ac_arg
5489 rm -f core conftest.err conftest.$ac_objext
5490 test "x$ac_cv_prog_cc_c89" != "xno" && break
5492 rm -f conftest.$ac_ext
5497 case "x$ac_cv_prog_cc_c89" in
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5500 $as_echo "none needed" >&6; } ;;
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5503 $as_echo "unsupported" >&6; } ;;
5505 CC="$CC $ac_cv_prog_cc_c89"
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5507 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5509 if test "x$ac_cv_prog_cc_c89" != xno; then :
5514 ac_cpp='$CPP $CPPFLAGS'
5515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5519 depcc="$CC" am_compiler_list=
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5522 $as_echo_n "checking dependency style of $depcc... " >&6; }
5523 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5524 $as_echo_n "(cached) " >&6
5526 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5527 # We make a subdir and do the tests there. Otherwise we can end up
5528 # making bogus files that we don't know about and never remove. For
5529 # instance it was reported that on HP-UX the gcc test will end up
5530 # making a dummy file named `D
' -- because `-MD' means
`put the output
5534 # Copy depcomp to subdir because otherwise we won't find it if we're
5535 # using a relative directory.
5536 cp "$am_depcomp" conftest.dir
5538 # We will build objects and dependencies in a subdirectory because
5539 # it helps to detect inapplicable dependency modes. For instance
5540 # both Tru64's cc and ICC support -MD to output dependencies as a
5541 # side effect of compilation, but ICC will put the dependencies in
5542 # the current directory while Tru64 will put them in the object
5546 am_cv_CC_dependencies_compiler_type=none
5547 if test "$am_compiler_list" = ""; then
5548 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5551 case " $depcc " in #(
5552 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5555 for depmode in $am_compiler_list; do
5556 # Setup a source with many dependencies, because some compilers
5557 # like to wrap large dependency lists on column 80 (with \), and
5558 # we should not choose a depcomp mode which is confused by this.
5560 # We need to recreate these files for each test, as the compiler may
5561 # overwrite some of them when testing with obscure command lines.
5562 # This happens at least with the AIX C compiler.
5564 for i in 1 2 3 4 5 6; do
5565 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5566 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5567 # Solaris 8's
{/usr
,}/bin
/sh.
5568 touch sub
/conftst
$i.h
5570 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5572 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5573 # mode. It turns out that the SunPro C++ compiler does not properly
5574 # handle `-M -o', and we need to detect this. Also, some Intel
5575 # versions had trouble with output in subdirs
5576 am__obj
=sub
/conftest.
${OBJEXT-o}
5577 am__minus_obj
="-o $am__obj"
5580 # This depmode causes a compiler race in universal mode.
5581 test "$am__universal" = false ||
continue
5584 # after this tag, mechanisms are not by side-effect, so they'll
5585 # only be used when explicitly requested
5586 if test "x$enable_dependency_tracking" = xyes
; then
5592 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5593 # This compiler won't grok `-c -o', but also, the minuso test has
5594 # not run yet. These depmodes are late enough in the game, and
5595 # so weak that their functioning should not be impacted.
5596 am__obj
=conftest.
${OBJEXT-o}
5601 if depmode
=$depmode \
5602 source=sub
/conftest.c object
=$am__obj \
5603 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5604 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5605 >/dev
/null
2>conftest.err
&&
5606 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5607 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5608 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5609 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5610 # icc doesn't choke on unknown options, it will just issue warnings
5611 # or remarks (even with -Werror). So we grep stderr for any message
5612 # that says an option was ignored or not supported.
5613 # When given -MP, icc 7.0 and 7.1 complain thusly:
5614 # icc: Command line warning: ignoring option '-M'; no argument required
5615 # The diagnosis changed in icc 8.0:
5616 # icc: Command line remark: option '-MP' not supported
5617 if (grep 'ignoring option' conftest.err ||
5618 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5619 am_cv_CC_dependencies_compiler_type
=$depmode
5628 am_cv_CC_dependencies_compiler_type
=none
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5633 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5634 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5637 test "x$enable_dependency_tracking" != xno \
5638 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5640 am__fastdepCC_FALSE
='#'
5642 am__fastdepCC_TRUE
='#'
5643 am__fastdepCC_FALSE
=
5651 if test "x$CC" != xcc
; then
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5653 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5656 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5658 set dummy
$CC; ac_cc
=`$as_echo "$2" |
5659 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5660 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5661 $as_echo_n "(cached) " >&6
5663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5664 /* end confdefs.h. */
5674 # Make sure it works both with $CC and with simple cc.
5675 # We do the test twice because some compilers refuse to overwrite an
5676 # existing .o file with -o, though they will create one.
5677 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5679 if { { case "(($ac_try" in
5680 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5681 *) ac_try_echo=$ac_try;;
5683 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5684 $as_echo "$ac_try_echo"; } >&5
5685 (eval "$ac_try") 2>&5
5687 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5688 test $ac_status = 0; } &&
5689 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5690 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5691 *) ac_try_echo
=$ac_try;;
5693 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5694 $as_echo "$ac_try_echo"; } >&5
5695 (eval "$ac_try") 2>&5
5697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5698 test $ac_status = 0; };
5700 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
5701 if test "x$CC" != xcc
; then
5702 # Test first that cc exists at all.
5703 if { ac_try
='cc -c conftest.$ac_ext >&5'
5704 { { case "(($ac_try" in
5705 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5706 *) ac_try_echo=$ac_try;;
5708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5709 $as_echo "$ac_try_echo"; } >&5
5710 (eval "$ac_try") 2>&5
5712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5713 test $ac_status = 0; }; }; then
5714 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5716 if { { case "(($ac_try" in
5717 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5718 *) ac_try_echo
=$ac_try;;
5720 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5721 $as_echo "$ac_try_echo"; } >&5
5722 (eval "$ac_try") 2>&5
5724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5725 test $ac_status = 0; } &&
5726 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
5727 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5728 *) ac_try_echo=$ac_try;;
5730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5731 $as_echo "$ac_try_echo"; } >&5
5732 (eval "$ac_try") 2>&5
5734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5735 test $ac_status = 0; };
5740 # cc exists but doesn't like -o.
5741 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5746 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5748 rm -f core conftest*
5751 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5753 $as_echo "yes" >&6; }
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5756 $as_echo "no" >&6; }
5758 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5762 # FIXME: we rely on the cache variable name because
5763 # there is no other way.
5765 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5766 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5767 if test "$am_t" != yes; then
5768 # Losing compiler, so override with the script.
5769 # FIXME: It is wrong to rewrite CC.
5770 # But if we don't then we get into trouble of one sort or another.
5771 # A longer-term fix would be to have automake use am__CC in this case,
5772 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5773 CC="$am_aux_dir/compile $CC"
5778 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5779 if test "x$GCC" = "xyes"; then
5780 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5781 ## We like to use C11 and C99 routines when available. This makes
5783 ## __STDC_VERSION__ is set such that libc includes make them available.
5784 AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla"
5785 ## Compile the following tests with the same system header contents
5786 ## that we'll encounter when compiling our own source files.
5787 CFLAGS="-std=gnu11 $CFLAGS"
5793 # Check for symbol versioning (copied from libssp).
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5795 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5796 # Check whether --enable-symvers was given.
5797 if test "${enable_symvers+set}" = set; then :
5798 enableval=$enable_symvers; gfortran_use_symver=$enableval
5800 gfortran_use_symver=yes
5803 if test "x$gfortran_use_symver" != xno; then
5804 save_LDFLAGS="$LDFLAGS"
5805 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5806 cat > conftest.map <<EOF
5808 global: *foo*; bar; local: *;
5811 if test x$gcc_no_link = xyes; then
5812 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5815 /* end confdefs.h. */
5825 if ac_fn_c_try_link "$LINENO"; then :
5826 gfortran_use_symver=gnu
5828 gfortran_use_symver=no
5830 rm -f core conftest.err conftest.$ac_objext \
5831 conftest$ac_exeext conftest.$ac_ext
5832 if test x$gfortran_use_symver = xno; then
5833 case "$target_os" in
5835 LDFLAGS="$save_LDFLAGS"
5836 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5837 # Sun ld cannot handle wildcards and treats all entries as undefined.
5838 cat > conftest.map <<EOF
5840 global: foo; local: *;
5843 if test x$gcc_no_link = xyes; then
5844 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5847 /* end confdefs.h. */
5857 if ac_fn_c_try_link "$LINENO"; then :
5858 gfortran_use_symver=sun
5860 gfortran_use_symver=no
5862 rm -f core conftest.err conftest.$ac_objext \
5863 conftest$ac_exeext conftest.$ac_ext
5867 LDFLAGS="$save_LDFLAGS"
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
5870 $as_echo "$gfortran_use_symver" >&6; }
5871 if test "x$gfortran_use_symver" != xno; then
5872 LIBGFOR_USE_SYMVER_TRUE=
5873 LIBGFOR_USE_SYMVER_FALSE='#'
5875 LIBGFOR_USE_SYMVER_TRUE='#'
5876 LIBGFOR_USE_SYMVER_FALSE=
5879 if test "x$gfortran_use_symver" = xgnu; then
5880 LIBGFOR_USE_SYMVER_GNU_TRUE=
5881 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
5883 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
5884 LIBGFOR_USE_SYMVER_GNU_FALSE=
5887 if test "x$gfortran_use_symver" = xsun; then
5888 LIBGFOR_USE_SYMVER_SUN_TRUE=
5889 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
5891 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
5892 LIBGFOR_USE_SYMVER_SUN_FALSE=
5896 # For GPU offloading, not everything in libfortran can be supported.
5897 # Currently, the only target that has this problem is nvptx. The
5898 # following is a (partial) list of features that are unsupportable on
5899 # this particular target:
5902 # * C library support for I/O, with printf as the one notable exception
5903 # * C library support for other features such as signal, environment
5904 # variables, time functions
5906 if test "x${target_cpu}" = xnvptx; then
5907 LIBGFOR_MINIMAL_TRUE=
5908 LIBGFOR_MINIMAL_FALSE='#'
5910 LIBGFOR_MINIMAL_TRUE='#'
5911 LIBGFOR_MINIMAL_FALSE=
5915 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5916 # similarly to how libstdc++ does it
5917 ac_test_CFLAGS="${CFLAGS+set}"
5918 ac_save_CFLAGS="$CFLAGS"
5920 # Check for -ffunction-sections -fdata-sections
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5922 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
5923 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5925 /* end confdefs.h. */
5935 if ac_fn_c_try_compile "$LINENO"; then :
5940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5941 if test "$ac_test_CFLAGS" = set; then
5942 CFLAGS="$ac_save_CFLAGS"
5944 # this is the suspicious part
5947 if test x"$ac_fdsections" = x"yes"; then
5948 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
5951 $as_echo "$ac_fdsections" >&6; }
5954 # Check linker hardware capability support.
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5956 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5957 if test "${ac_cv_path_SED+set}" = set; then :
5958 $as_echo_n "(cached) " >&6
5960 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5961 for ac_i in 1 2 3 4 5 6 7; do
5962 ac_script="$ac_script$as_nl$ac_script"
5964 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5965 { ac_script=; unset ac_script;}
5966 if test -z "$SED"; then
5967 ac_path_SED_found=false
5968 # Loop through the user's path and test for each of PROGNAME-LIST
5969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5973 test -z "$as_dir" && as_dir=.
5974 for ac_prog in sed gsed; do
5975 for ac_exec_ext in '' $ac_executable_extensions; do
5976 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5977 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5978 # Check for GNU ac_path_SED and select it if it is found.
5979 # Check for GNU $ac_path_SED
5980 case `"$ac_path_SED" --version 2>&1` in
5982 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5985 $as_echo_n 0123456789 >"conftest.in"
5988 cat "conftest.in" "conftest.in" >"conftest.tmp"
5989 mv "conftest.tmp" "conftest.in"
5990 cp "conftest.in" "conftest.nl"
5991 $as_echo '' >> "conftest.nl"
5992 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5993 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5994 as_fn_arith $ac_count + 1 && ac_count=$as_val
5995 if test $ac_count -gt ${ac_path_SED_max-0}; then
5996 # Best one so far, save it but keep looking for a better one
5997 ac_cv_path_SED="$ac_path_SED"
5998 ac_path_SED_max=$ac_count
6000 # 10*(2^10) chars as input seems more than enough
6001 test $ac_count -gt 10 && break
6003 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6006 $ac_path_SED_found && break 3
6011 if test -z "$ac_cv_path_SED"; then
6012 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6020 $as_echo "$ac_cv_path_SED" >&6; }
6021 SED="$ac_cv_path_SED"
6024 test -z "$SED" && SED=sed
6025 Xsed="$SED -e 1s/^X//"
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6038 $as_echo_n "checking for fgrep... " >&6; }
6039 if test "${ac_cv_path_FGREP+set}" = set; then :
6040 $as_echo_n "(cached) " >&6
6042 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6043 then ac_cv_path_FGREP="$GREP -F"
6045 if test -z "$FGREP"; then
6046 ac_path_FGREP_found=false
6047 # Loop through the user's path and test for each of PROGNAME-LIST
6048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6049 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6052 test -z "$as_dir" && as_dir=.
6053 for ac_prog in fgrep; do
6054 for ac_exec_ext in '' $ac_executable_extensions; do
6055 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6056 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6057 # Check for GNU ac_path_FGREP and select it if it is found.
6058 # Check for GNU $ac_path_FGREP
6059 case `"$ac_path_FGREP" --version 2>&1` in
6061 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6064 $as_echo_n 0123456789 >"conftest.in"
6067 cat "conftest.in" "conftest.in" >"conftest.tmp"
6068 mv "conftest.tmp" "conftest.in"
6069 cp "conftest.in" "conftest.nl"
6070 $as_echo 'FGREP' >> "conftest.nl"
6071 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6072 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6073 as_fn_arith $ac_count + 1 && ac_count=$as_val
6074 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6075 # Best one so far, save it but keep looking for a better one
6076 ac_cv_path_FGREP="$ac_path_FGREP"
6077 ac_path_FGREP_max=$ac_count
6079 # 10*(2^10) chars as input seems more than enough
6080 test $ac_count -gt 10 && break
6082 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6085 $ac_path_FGREP_found && break 3
6090 if test -z "$ac_cv_path_FGREP"; then
6091 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6094 ac_cv_path_FGREP=$FGREP
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6100 $as_echo "$ac_cv_path_FGREP" >&6; }
6101 FGREP="$ac_cv_path_FGREP"
6104 test -z "$GREP" && GREP=grep
6122 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6123 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6124 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6127 $as_echo_n "checking how to print strings... " >&6; }
6128 # Test print first, because it will be a builtin if present.
6129 if test "X`print
-r -- -n 2>/dev
/null
`" = X-n && \
6130 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
6132 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
6135 # Use this function as a fallback that always works.
6136 func_fallback_echo ()
6138 eval 'cat <<_LTECHO_EOF
6142 ECHO='func_fallback_echo'
6145 # func_echo_all arg...
6146 # Invoke $ECHO with all args, space-separated.
6153 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6154 $as_echo "printf" >&6; } ;;
6155 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6156 $as_echo "print -r" >&6; } ;;
6157 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6158 $as_echo "cat" >&6; } ;;
6176 # Check whether --with-gnu-ld was given.
6177 if test "${with_gnu_ld+set}" = set; then :
6178 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6184 if test "$GCC" = yes; then
6185 # Check if gcc -print-prog-name=ld gives a path.
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6187 $as_echo_n "checking for ld used by $CC... " >&6; }
6190 # gcc leaves a trailing carriage return which upsets mingw
6191 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
6193 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
6196 # Accept absolute paths.
6198 re_direlt='/[^/][^/]*/\.\./'
6199 # Canonicalize the pathname of ld
6200 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
6201 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6202 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
6204 test -z "$LD" && LD="$ac_prog"
6207 # If it fails, then pretend we aren't using GCC.
6211 # If it is relative, then search for the first ld in PATH.
6215 elif test "$with_gnu_ld" = yes; then
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6217 $as_echo_n "checking for GNU ld... " >&6; }
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6220 $as_echo_n "checking for non-GNU ld... " >&6; }
6222 if test "${lt_cv_path_LD+set}" = set; then :
6223 $as_echo_n "(cached) " >&6
6225 if test -z "$LD"; then
6226 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6227 for ac_dir in $PATH; do
6229 test -z "$ac_dir" && ac_dir=.
6230 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6231 lt_cv_path_LD="$ac_dir/$ac_prog"
6232 # Check to see if the program is GNU ld. I'd rather use --version,
6233 # but apparently some variants of GNU ld only accept -v.
6234 # Break only if it was the GNU/non-GNU ld that we prefer.
6235 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
6236 *GNU* | *'with BFD'*)
6237 test "$with_gnu_ld" != no && break
6240 test "$with_gnu_ld" != yes && break
6247 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6252 if test -n "$LD"; then
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6254 $as_echo "$LD" >&6; }
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6257 $as_echo "no" >&6; }
6259 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6261 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6262 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6263 $as_echo_n "(cached) " >&6
6265 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6266 case `$LD -v 2>&1 </dev
/null
` in
6267 *GNU* | *'with BFD'*)
6268 lt_cv_prog_gnu_ld=yes
6271 lt_cv_prog_gnu_ld=no
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6276 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6277 with_gnu_ld=$lt_cv_prog_gnu_ld
6288 test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS=''
6291 ac_save_LDFLAGS="$LDFLAGS"
6292 LDFLAGS="$LFLAGS -mclear-hwcap"
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5
6295 $as_echo_n "checking for -mclear-hwcap... " >&6; }
6296 if test x$gcc_no_link = xyes; then
6297 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6300 /* end confdefs.h. */
6310 if ac_fn_c_try_link "$LINENO"; then :
6311 ac_hwcap_ldflags=yes
6315 rm -f core conftest.err conftest.$ac_objext \
6316 conftest$ac_exeext conftest.$ac_ext
6317 if test "$ac_hwcap_ldflags" = "yes"; then
6318 HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS"
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5
6321 $as_echo "$ac_hwcap_ldflags" >&6; }
6323 LDFLAGS="$ac_save_LDFLAGS"
6327 if test $ac_hwcap_ldflags != no; then
6329 HAVE_HWCAP_FALSE='#'
6337 # Find other programs we need.
6338 if test -n "$ac_tool_prefix"; then
6339 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6340 set dummy ${ac_tool_prefix}as; ac_word=$2
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6342 $as_echo_n "checking for $ac_word... " >&6; }
6343 if test "${ac_cv_prog_AS+set}" = set; then :
6344 $as_echo_n "(cached) " >&6
6346 if test -n "$AS"; then
6347 ac_cv_prog_AS="$AS" # Let the user override the test.
6349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6353 test -z "$as_dir" && as_dir=.
6354 for ac_exec_ext in '' $ac_executable_extensions; do
6355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6356 ac_cv_prog_AS="${ac_tool_prefix}as"
6357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6367 if test -n "$AS"; then
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6369 $as_echo "$AS" >&6; }
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6372 $as_echo "no" >&6; }
6377 if test -z "$ac_cv_prog_AS"; then
6379 # Extract the first word of "as", so it can be a program name with args.
6380 set dummy as; ac_word=$2
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6382 $as_echo_n "checking for $ac_word... " >&6; }
6383 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
6384 $as_echo_n "(cached) " >&6
6386 if test -n "$ac_ct_AS"; then
6387 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6393 test -z "$as_dir" && as_dir=.
6394 for ac_exec_ext in '' $ac_executable_extensions; do
6395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6396 ac_cv_prog_ac_ct_AS="as"
6397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6406 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6407 if test -n "$ac_ct_AS"; then
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6409 $as_echo "$ac_ct_AS" >&6; }
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6412 $as_echo "no" >&6; }
6415 if test "x$ac_ct_AS" = x; then
6418 case $cross_compiling:$ac_tool_warned in
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6421 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6422 ac_tool_warned=yes ;;
6430 if test -n "$ac_tool_prefix"; then
6431 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6432 set dummy ${ac_tool_prefix}ar; ac_word=$2
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6434 $as_echo_n "checking for $ac_word... " >&6; }
6435 if test "${ac_cv_prog_AR+set}" = set; then :
6436 $as_echo_n "(cached) " >&6
6438 if test -n "$AR"; then
6439 ac_cv_prog_AR="$AR" # Let the user override the test.
6441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6445 test -z "$as_dir" && as_dir=.
6446 for ac_exec_ext in '' $ac_executable_extensions; do
6447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6448 ac_cv_prog_AR="${ac_tool_prefix}ar"
6449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6459 if test -n "$AR"; then
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6461 $as_echo "$AR" >&6; }
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6464 $as_echo "no" >&6; }
6469 if test -z "$ac_cv_prog_AR"; then
6471 # Extract the first word of "ar", so it can be a program name with args.
6472 set dummy ar; ac_word=$2
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6474 $as_echo_n "checking for $ac_word... " >&6; }
6475 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6476 $as_echo_n "(cached) " >&6
6478 if test -n "$ac_ct_AR"; then
6479 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6485 test -z "$as_dir" && as_dir=.
6486 for ac_exec_ext in '' $ac_executable_extensions; do
6487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6488 ac_cv_prog_ac_ct_AR="ar"
6489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6498 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6499 if test -n "$ac_ct_AR"; then
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6501 $as_echo "$ac_ct_AR" >&6; }
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6504 $as_echo "no" >&6; }
6507 if test "x$ac_ct_AR" = x; then
6510 case $cross_compiling:$ac_tool_warned in
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6514 ac_tool_warned=yes ;;
6522 if test -n "$ac_tool_prefix"; then
6523 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6524 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6526 $as_echo_n "checking for $ac_word... " >&6; }
6527 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6528 $as_echo_n "(cached) " >&6
6530 if test -n "$RANLIB"; then
6531 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6537 test -z "$as_dir" && as_dir=.
6538 for ac_exec_ext in '' $ac_executable_extensions; do
6539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6540 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6550 RANLIB=$ac_cv_prog_RANLIB
6551 if test -n "$RANLIB"; then
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6553 $as_echo "$RANLIB" >&6; }
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6556 $as_echo "no" >&6; }
6561 if test -z "$ac_cv_prog_RANLIB"; then
6562 ac_ct_RANLIB=$RANLIB
6563 # Extract the first word of "ranlib", so it can be a program name with args.
6564 set dummy ranlib; ac_word=$2
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6566 $as_echo_n "checking for $ac_word... " >&6; }
6567 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6568 $as_echo_n "(cached) " >&6
6570 if test -n "$ac_ct_RANLIB"; then
6571 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6577 test -z "$as_dir" && as_dir=.
6578 for ac_exec_ext in '' $ac_executable_extensions; do
6579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6580 ac_cv_prog_ac_ct_RANLIB="ranlib"
6581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6590 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6591 if test -n "$ac_ct_RANLIB"; then
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6593 $as_echo "$ac_ct_RANLIB" >&6; }
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6596 $as_echo "no" >&6; }
6599 if test "x$ac_ct_RANLIB" = x; then
6600 RANLIB="ranlib-not-found-in-path-error"
6602 case $cross_compiling:$ac_tool_warned in
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6606 ac_tool_warned=yes ;;
6608 RANLIB=$ac_ct_RANLIB
6611 RANLIB="$ac_cv_prog_RANLIB"
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6615 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6617 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6618 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6619 $as_echo_n "(cached) " >&6
6621 cat >conftest.make <<\_ACEOF
6624 @echo '@@@%%%=$(MAKE)=@@@%%%'
6626 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6627 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
6629 eval ac_cv_prog_make_${ac_make}_set=yes;;
6631 eval ac_cv_prog_make_${ac_make}_set=no;;
6635 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6637 $as_echo "yes" >&6; }
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6641 $as_echo "no" >&6; }
6642 SET_MAKE="MAKE=${MAKE-make}"
6648 #AC_MSG_NOTICE([====== Starting libtool configuration])
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
6656 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
6661 macro_version='2.2.7a'
6662 macro_revision='1.3134'
6676 ltmain="$ac_aux_dir/ltmain.sh"
6678 # Backslashify metacharacters that are still active within
6679 # double-quoted strings.
6680 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6682 # Same as above, but do not quote variable references.
6683 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6685 # Sed substitution to delay expansion of an escaped shell variable in a
6686 # double_quote_subst'ed string.
6687 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6689 # Sed substitution to delay expansion of an escaped single quote.
6690 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6692 # Sed substitution to avoid accidental globbing in evaled expressions
6693 no_glob_subst='s/\*/\\\*/g'
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6696 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6697 if test "${lt_cv_path_NM+set}" = set; then :
6698 $as_echo_n "(cached
) " >&6
6700 if test -n "$NM"; then
6701 # Let the user override the test.
6704 lt_nm_to_check="${ac_tool_prefix}nm
"
6705 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6706 lt_nm_to_check="$lt_nm_to_check nm
"
6708 for lt_tmp_nm in $lt_nm_to_check; do
6709 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6710 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6712 test -z "$ac_dir" && ac_dir=.
6713 tmp_nm="$ac_dir/$lt_tmp_nm"
6714 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6715 # Check to see if the nm accepts a BSD-compat flag.
6716 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6717 # nm: unknown option "B
" ignored
6718 # Tru64's nm complains that /dev/null is an invalid object file
6719 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6720 */dev/null* | *'Invalid file or object type'*)
6721 lt_cv_path_NM="$tmp_nm -B"
6725 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6727 lt_cv_path_NM="$tmp_nm -p"
6731 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6732 continue # so that we can try to find one that supports BSD flags
6741 : ${lt_cv_path_NM=no}
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
6745 $as_echo "$lt_cv_path_NM" >&6; }
6746 if test "$lt_cv_path_NM" != "no
"; then
6749 # Didn't find any BSD compatible name lister, look for dumpbin.
6750 if test -n "$DUMPBIN"; then :
6751 # Let the user override the test.
6753 if test -n "$ac_tool_prefix"; then
6754 for ac_prog in dumpbin "link
-dump"
6756 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6757 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6759 $as_echo_n "checking
for $ac_word...
" >&6; }
6760 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6761 $as_echo_n "(cached
) " >&6
6763 if test -n "$DUMPBIN"; then
6764 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6770 test -z "$as_dir" && as_dir=.
6771 for ac_exec_ext in '' $ac_executable_extensions; do
6772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6773 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6774 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6783 DUMPBIN=$ac_cv_prog_DUMPBIN
6784 if test -n "$DUMPBIN"; then
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
6786 $as_echo "$DUMPBIN" >&6; }
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6789 $as_echo "no
" >&6; }
6793 test -n "$DUMPBIN" && break
6796 if test -z "$DUMPBIN"; then
6797 ac_ct_DUMPBIN=$DUMPBIN
6798 for ac_prog in dumpbin "link
-dump"
6800 # Extract the first word of "$ac_prog", so it can be a program name with args.
6801 set dummy $ac_prog; 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 test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6805 $as_echo_n "(cached
) " >&6
6807 if test -n "$ac_ct_DUMPBIN"; then
6808 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6817 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6818 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6827 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6828 if test -n "$ac_ct_DUMPBIN"; then
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6830 $as_echo "$ac_ct_DUMPBIN" >&6; }
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6833 $as_echo "no
" >&6; }
6837 test -n "$ac_ct_DUMPBIN" && break
6840 if test "x
$ac_ct_DUMPBIN" = x; then
6843 case $cross_compiling:$ac_tool_warned in
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6846 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6847 ac_tool_warned=yes ;;
6849 DUMPBIN=$ac_ct_DUMPBIN
6853 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6855 DUMPBIN="$DUMPBIN -symbols"
6863 if test "$DUMPBIN" != ":"; then
6867 test -z "$NM" && NM=nm
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6875 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6876 if test "${lt_cv_nm_interface+set}" = set; then :
6877 $as_echo_n "(cached
) " >&6
6879 lt_cv_nm_interface="BSD nm
"
6880 echo "int some_variable
= 0;" > conftest.$ac_ext
6881 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6882 (eval "$ac_compile" 2>conftest.err)
6883 cat conftest.err >&5
6884 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6885 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6886 cat conftest.err >&5
6887 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6888 cat conftest.out >&5
6889 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6890 lt_cv_nm_interface="MS dumpbin
"
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6895 $as_echo "$lt_cv_nm_interface" >&6; }
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
6898 $as_echo_n "checking whether
ln -s works...
" >&6; }
6900 if test "$LN_S" = "ln -s"; then
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
6902 $as_echo "yes" >&6; }
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
6905 $as_echo "no
, using
$LN_S" >&6; }
6908 # find the maximum length of command line arguments
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6910 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6911 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6912 $as_echo_n "(cached
) " >&6
6919 # On DJGPP, this test can blow up pretty badly due to problems in libc
6920 # (any single argument exceeding 2000 bytes causes a buffer overrun
6921 # during glob expansion). Even if it were fixed, the result of this
6922 # check would be larger than it should be.
6923 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6927 # Under GNU Hurd, this test is not required because there is
6928 # no limit to the length of command line arguments.
6929 # Libtool will interpret -1 as no limit whatsoever
6930 lt_cv_sys_max_cmd_len=-1;
6933 cygwin* | mingw* | cegcc*)
6934 # On Win9x/ME, this test blows up -- it succeeds, but takes
6935 # about 5 minutes as the teststring grows exponentially.
6936 # Worse, since 9x/ME are not pre-emptively multitasking,
6937 # you end up with a "frozen
" computer, even though with patience
6938 # the test eventually succeeds (with a max line length of 256k).
6939 # Instead, let's just punt: use the minimum linelength reported by
6940 # all of the supported platforms: 8192 (on NT/2K/XP).
6941 lt_cv_sys_max_cmd_len=8192;
6945 # On MiNT this can take a long time and run out of memory.
6946 lt_cv_sys_max_cmd_len=8192;
6950 # On AmigaOS with pdksh, this test takes hours, literally.
6951 # So we just punt and use a minimum line length of 8192.
6952 lt_cv_sys_max_cmd_len=8192;
6955 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6956 # This has been around since 386BSD, at least. Likely further.
6957 if test -x /sbin/sysctl; then
6958 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6959 elif test -x /usr/sbin/sysctl; then
6960 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6962 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6964 # And add a safety zone
6965 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6966 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6970 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6971 lt_cv_sys_max_cmd_len=196608
6975 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6976 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6977 # nice to cause kernel panics so lets avoid the loop below.
6978 # First set a reasonable default.
6979 lt_cv_sys_max_cmd_len=16384
6981 if test -x /sbin/sysconfig; then
6982 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6983 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6988 lt_cv_sys_max_cmd_len=102400
6990 sysv5* | sco5v6* | sysv4.2uw2*)
6991 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6992 if test -n "$kargmax"; then
6993 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6995 lt_cv_sys_max_cmd_len=32768
6999 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7000 if test -n "$lt_cv_sys_max_cmd_len"; then
7001 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7002 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7004 # Make teststring a little bigger before we do anything with it.
7005 # a 1K string should be a reasonable start.
7006 for i in 1 2 3 4 5 6 7 8 ; do
7007 teststring=$teststring$teststring
7009 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7010 # If test is not a shell built-in, we'll probably end up computing a
7011 # maximum length that is only half of the actual maximum length, but
7013 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7014 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
7015 test $i != 17 # 1/2 MB should be enough
7018 teststring=$teststring$teststring
7020 # Only check the string length outside the loop.
7021 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
7023 # Add a significant safety factor because C++ compilers can tack on
7024 # massive amounts of additional arguments before passing them to the
7025 # linker. It appears as though 1/2 is a usable value.
7026 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7033 if test -n $lt_cv_sys_max_cmd_len ; then
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
7035 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
7038 $as_echo "none
" >&6; }
7040 max_cmd_len=$lt_cv_sys_max_cmd_len
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
7052 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
7053 # Try some XSI features
7056 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7058 && eval 'test $(( 1 + 1 )) -eq 2 \
7059 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7062 $as_echo "$xsi_shell" >&6; }
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7066 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7068 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
7070 && lt_shell_append
=yes
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7072 $as_echo "$lt_shell_append" >&6; }
7075 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7085 # test EBCDIC or ASCII
7086 case `echo X|tr X '\101'` in
7087 A
) # ASCII based system
7088 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7089 lt_SP2NL
='tr \040 \012'
7090 lt_NL2SP
='tr \015\012 \040\040'
7092 *) # EBCDIC based system
7093 lt_SP2NL
='tr \100 \n'
7094 lt_NL2SP
='tr \r\n \100\100'
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7107 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7108 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7109 $as_echo_n "(cached) " >&6
7111 lt_cv_ld_reload_flag
='-r'
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7114 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7115 reload_flag
=$lt_cv_ld_reload_flag
7116 case $reload_flag in
7118 *) reload_flag
=" $reload_flag" ;;
7120 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7123 if test "$GCC" = yes; then
7124 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7126 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7139 if test -n "$ac_tool_prefix"; then
7140 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7141 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7143 $as_echo_n "checking for $ac_word... " >&6; }
7144 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7145 $as_echo_n "(cached) " >&6
7147 if test -n "$OBJDUMP"; then
7148 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7154 test -z "$as_dir" && as_dir
=.
7155 for ac_exec_ext
in '' $ac_executable_extensions; do
7156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7157 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7167 OBJDUMP
=$ac_cv_prog_OBJDUMP
7168 if test -n "$OBJDUMP"; then
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7170 $as_echo "$OBJDUMP" >&6; }
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7173 $as_echo "no" >&6; }
7178 if test -z "$ac_cv_prog_OBJDUMP"; then
7179 ac_ct_OBJDUMP
=$OBJDUMP
7180 # Extract the first word of "objdump", so it can be a program name with args.
7181 set dummy objdump
; ac_word
=$2
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7183 $as_echo_n "checking for $ac_word... " >&6; }
7184 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7185 $as_echo_n "(cached) " >&6
7187 if test -n "$ac_ct_OBJDUMP"; then
7188 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7194 test -z "$as_dir" && as_dir
=.
7195 for ac_exec_ext
in '' $ac_executable_extensions; do
7196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7197 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7207 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7208 if test -n "$ac_ct_OBJDUMP"; then
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7210 $as_echo "$ac_ct_OBJDUMP" >&6; }
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7213 $as_echo "no" >&6; }
7216 if test "x$ac_ct_OBJDUMP" = x
; then
7219 case $cross_compiling:$ac_tool_warned in
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7223 ac_tool_warned
=yes ;;
7225 OBJDUMP
=$ac_ct_OBJDUMP
7228 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7231 test -z "$OBJDUMP" && OBJDUMP
=objdump
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7242 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7243 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7244 $as_echo_n "(cached) " >&6
7246 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7247 lt_cv_file_magic_test_file
=
7248 lt_cv_deplibs_check_method
='unknown'
7249 # Need to set the preceding variable on all platforms that support
7250 # interlibrary dependencies.
7251 # 'none' -- dependencies not supported.
7252 # `unknown' -- same as none, but documents that we really don't know.
7253 # 'pass_all' -- all dependencies passed with no checks.
7254 # 'test_compile' -- check by making test program.
7255 # 'file_magic [[regex]]' -- check by looking for files in library path
7256 # which responds to the $file_magic_cmd with a given extended regex.
7257 # If you have `file' or equivalent on your system and you're not sure
7258 # whether `pass_all' will *always* work, you probably want this one.
7262 lt_cv_deplibs_check_method
=pass_all
7266 lt_cv_deplibs_check_method
=pass_all
7270 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7271 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7272 lt_cv_file_magic_test_file
=/shlib
/libc.so
7276 # func_win32_libid is a shell function defined in ltmain.sh
7277 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7278 lt_cv_file_magic_cmd
='func_win32_libid'
7282 # Base MSYS/MinGW do not provide the 'file' command needed by
7283 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7284 # unless we find 'file', for example because we are cross-compiling.
7285 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7286 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
7287 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7288 lt_cv_file_magic_cmd
='func_win32_libid'
7290 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
7291 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7296 # use the weaker test based on 'objdump'. See mingw*.
7297 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7298 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7301 darwin
* | rhapsody
*)
7302 lt_cv_deplibs_check_method
=pass_all
7305 freebsd
* | dragonfly
*)
7306 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7309 # Not sure whether the presence of OpenBSD here was a mistake.
7310 # Let's accept both of them until this is cleared up.
7311 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7312 lt_cv_file_magic_cmd
=/usr
/bin
/file
7313 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7317 lt_cv_deplibs_check_method
=pass_all
7322 lt_cv_deplibs_check_method
=pass_all
7326 lt_cv_deplibs_check_method
=pass_all
7329 hpux10.20
* | hpux11
*)
7330 lt_cv_file_magic_cmd
=/usr
/bin
/file
7333 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7334 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7337 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]'
7338 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7341 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7342 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7348 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7349 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7352 irix5
* | irix6
* | nonstopux
*)
7354 *-32|
*"-32 ") libmagic
=32-bit;;
7355 *-n32|
*"-n32 ") libmagic
=N32
;;
7356 *-64|
*"-64 ") libmagic
=64-bit;;
7357 *) libmagic
=never-match
;;
7359 lt_cv_deplibs_check_method
=pass_all
7362 # This must be Linux ELF.
7363 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7364 lt_cv_deplibs_check_method
=pass_all
7368 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7369 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7371 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7376 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7377 lt_cv_file_magic_cmd
=/usr
/bin
/file
7378 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7382 lt_cv_deplibs_check_method
=pass_all
7386 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7387 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7389 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7393 osf3
* | osf4
* | osf5
*)
7394 lt_cv_deplibs_check_method
=pass_all
7398 lt_cv_deplibs_check_method
=pass_all
7402 lt_cv_deplibs_check_method
=pass_all
7405 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7406 lt_cv_deplibs_check_method
=pass_all
7410 case $host_vendor in
7412 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]'
7413 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7416 lt_cv_deplibs_check_method
=pass_all
7419 lt_cv_file_magic_cmd
='/bin/file'
7420 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7423 lt_cv_file_magic_cmd
='/bin/file'
7424 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7425 lt_cv_file_magic_test_file
=/lib
/libc.so
7428 lt_cv_deplibs_check_method
=pass_all
7431 lt_cv_deplibs_check_method
=pass_all
7437 lt_cv_deplibs_check_method
=pass_all
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7443 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7444 file_magic_cmd
=$lt_cv_file_magic_cmd
7445 deplibs_check_method
=$lt_cv_deplibs_check_method
7446 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7459 if test -n "$ac_tool_prefix"; then
7460 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7461 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7463 $as_echo_n "checking for $ac_word... " >&6; }
7464 if test "${ac_cv_prog_AR+set}" = set; then :
7465 $as_echo_n "(cached) " >&6
7467 if test -n "$AR"; then
7468 ac_cv_prog_AR
="$AR" # Let the user override the test.
7470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7474 test -z "$as_dir" && as_dir
=.
7475 for ac_exec_ext
in '' $ac_executable_extensions; do
7476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7477 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7488 if test -n "$AR"; then
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7490 $as_echo "$AR" >&6; }
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7493 $as_echo "no" >&6; }
7498 if test -z "$ac_cv_prog_AR"; then
7500 # Extract the first word of "ar", so it can be a program name with args.
7501 set dummy
ar; ac_word
=$2
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7503 $as_echo_n "checking for $ac_word... " >&6; }
7504 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7505 $as_echo_n "(cached) " >&6
7507 if test -n "$ac_ct_AR"; then
7508 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7514 test -z "$as_dir" && as_dir
=.
7515 for ac_exec_ext
in '' $ac_executable_extensions; do
7516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7517 ac_cv_prog_ac_ct_AR
="ar"
7518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7527 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7528 if test -n "$ac_ct_AR"; then
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7530 $as_echo "$ac_ct_AR" >&6; }
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7533 $as_echo "no" >&6; }
7536 if test "x$ac_ct_AR" = x
; then
7539 case $cross_compiling:$ac_tool_warned in
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7542 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7543 ac_tool_warned
=yes ;;
7551 test -z "$AR" && AR
=ar
7552 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7564 if test -n "$ac_tool_prefix"; then
7565 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7566 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7568 $as_echo_n "checking for $ac_word... " >&6; }
7569 if test "${ac_cv_prog_STRIP+set}" = set; then :
7570 $as_echo_n "(cached) " >&6
7572 if test -n "$STRIP"; then
7573 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7579 test -z "$as_dir" && as_dir
=.
7580 for ac_exec_ext
in '' $ac_executable_extensions; do
7581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7582 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7592 STRIP
=$ac_cv_prog_STRIP
7593 if test -n "$STRIP"; then
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7595 $as_echo "$STRIP" >&6; }
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7598 $as_echo "no" >&6; }
7603 if test -z "$ac_cv_prog_STRIP"; then
7605 # Extract the first word of "strip", so it can be a program name with args.
7606 set dummy strip
; ac_word
=$2
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7608 $as_echo_n "checking for $ac_word... " >&6; }
7609 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7610 $as_echo_n "(cached) " >&6
7612 if test -n "$ac_ct_STRIP"; then
7613 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7619 test -z "$as_dir" && as_dir
=.
7620 for ac_exec_ext
in '' $ac_executable_extensions; do
7621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7622 ac_cv_prog_ac_ct_STRIP
="strip"
7623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7632 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7633 if test -n "$ac_ct_STRIP"; then
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7635 $as_echo "$ac_ct_STRIP" >&6; }
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7638 $as_echo "no" >&6; }
7641 if test "x$ac_ct_STRIP" = x
; then
7644 case $cross_compiling:$ac_tool_warned in
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7647 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7648 ac_tool_warned
=yes ;;
7653 STRIP
="$ac_cv_prog_STRIP"
7656 test -z "$STRIP" && STRIP
=:
7663 if test -n "$ac_tool_prefix"; then
7664 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7665 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7667 $as_echo_n "checking for $ac_word... " >&6; }
7668 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7669 $as_echo_n "(cached) " >&6
7671 if test -n "$RANLIB"; then
7672 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7678 test -z "$as_dir" && as_dir
=.
7679 for ac_exec_ext
in '' $ac_executable_extensions; do
7680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7681 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7691 RANLIB
=$ac_cv_prog_RANLIB
7692 if test -n "$RANLIB"; then
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7694 $as_echo "$RANLIB" >&6; }
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7697 $as_echo "no" >&6; }
7702 if test -z "$ac_cv_prog_RANLIB"; then
7703 ac_ct_RANLIB
=$RANLIB
7704 # Extract the first word of "ranlib", so it can be a program name with args.
7705 set dummy ranlib
; ac_word
=$2
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7707 $as_echo_n "checking for $ac_word... " >&6; }
7708 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7709 $as_echo_n "(cached) " >&6
7711 if test -n "$ac_ct_RANLIB"; then
7712 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7718 test -z "$as_dir" && as_dir
=.
7719 for ac_exec_ext
in '' $ac_executable_extensions; do
7720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7721 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7731 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7732 if test -n "$ac_ct_RANLIB"; then
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7734 $as_echo "$ac_ct_RANLIB" >&6; }
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7737 $as_echo "no" >&6; }
7740 if test "x$ac_ct_RANLIB" = x
; then
7743 case $cross_compiling:$ac_tool_warned in
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7746 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7747 ac_tool_warned
=yes ;;
7749 RANLIB
=$ac_ct_RANLIB
7752 RANLIB
="$ac_cv_prog_RANLIB"
7755 test -z "$RANLIB" && RANLIB
=:
7762 # Determine commands to create old-style static archives.
7763 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7764 old_postinstall_cmds
='chmod 644 $oldlib'
7765 old_postuninstall_cmds
=
7767 if test -n "$RANLIB"; then
7770 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7773 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7776 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7781 lock_old_archive_extraction
=yes ;;
7783 lock_old_archive_extraction
=no
;;
7824 # If no C compiler was specified, use CC.
7827 # If no C compiler flags were specified, use CFLAGS.
7828 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7830 # Allow CC to be a program name with arguments.
7834 # Check for command to grab the raw symbol name followed by C symbol from nm.
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7836 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7837 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7838 $as_echo_n "(cached) " >&6
7841 # These are sane defaults that work on at least a few old systems.
7842 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7844 # Character class describing NM global symbol codes.
7845 symcode
='[BCDEGRST]'
7847 # Regexp to match symbols that can be accessed directly from C.
7848 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7850 # Define system-specific variables.
7855 cygwin
* | mingw
* | pw32
* | cegcc
*)
7856 symcode
='[ABCDGISTW]'
7859 if test "$host_cpu" = ia64
; then
7860 symcode
='[ABCDEGRST]'
7864 symcode
='[BCDEGRST]'
7867 symcode
='[BCDEGQRST]'
7878 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7886 # If we're using GNU nm, then use its standard symbol codes.
7887 case `$NM -V 2>&1` in
7888 *GNU
* |
*'with BFD'*)
7889 symcode
='[ABCDGIRSTW]' ;;
7892 # Transform an extracted symbol line into a proper C declaration.
7893 # Some systems (esp. on ia64) link data and code symbols differently,
7894 # so use this general approach.
7895 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7897 # Transform an extracted symbol line into symbol name and symbol address
7898 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7899 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'"
7901 # Handle CRLF in mingw tool chain
7905 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7909 # Try without a prefix underscore, then with it.
7910 for ac_symprfx
in "" "_"; do
7912 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7913 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7915 # Write the raw and C identifiers.
7916 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7917 # Fake it for dumpbin and say T for any non-static function
7918 # and D for any global variable.
7919 # Also find C++ and __fastcall symbols from MSVC++,
7920 # which start with @ or ?.
7921 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7922 " {last_section=section; section=\$ 3};"\
7923 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7924 " \$ 0!~/External *\|/{next};"\
7925 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7926 " {if(hide[section]) next};"\
7927 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7928 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7929 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7930 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7931 " ' prfx=^$ac_symprfx"
7933 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7936 # Check to see that the pipe works correctly.
7940 cat > conftest.
$ac_ext <<_LT_EOF
7945 void nm_test_func(void);
7946 void nm_test_func(void){}
7950 int main(){nm_test_var='a';nm_test_func();return(0);}
7953 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7954 (eval $ac_compile) 2>&5
7956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7957 test $ac_status = 0; }; then
7958 # Now try to grab the symbols.
7960 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7961 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7964 test $ac_status = 0; } && test -s "$nlist"; then
7965 # Try sorting and uniquifying the output.
7966 if sort "$nlist" |
uniq > "$nlist"T
; then
7967 mv -f "$nlist"T
"$nlist"
7972 # Make sure that we snagged all the symbols we need.
7973 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7974 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7975 cat <<_LT_EOF > conftest.$ac_ext
7981 # Now generate the symbol file.
7982 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7984 cat <<_LT_EOF >> conftest.$ac_ext
7986 /* The mapping between symbol names and symbols. */
7991 lt__PROGRAM__LTX_preloaded_symbols[] =
7993 { "@PROGRAM@", (void *) 0 },
7995 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7996 cat <<\_LT_EOF
>> conftest.
$ac_ext
8000 /* This works around a problem
in FreeBSD linker
*/
8001 #ifdef FREEBSD_WORKAROUND
8002 static const void
*lt_preloaded_setup
() {
8003 return lt__PROGRAM__LTX_preloaded_symbols
;
8011 # Now try linking the two files.
8012 mv conftest.
$ac_objext conftstm.
$ac_objext
8013 lt_save_LIBS
="$LIBS"
8014 lt_save_CFLAGS
="$CFLAGS"
8015 LIBS
="conftstm.$ac_objext"
8016 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8017 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8018 (eval $ac_link) 2>&5
8020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8021 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
8024 LIBS
="$lt_save_LIBS"
8025 CFLAGS
="$lt_save_CFLAGS"
8027 echo "cannot find nm_test_func in $nlist" >&5
8030 echo "cannot find nm_test_var in $nlist" >&5
8033 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8036 echo "$progname: failed program was:" >&5
8037 cat conftest.
$ac_ext >&5
8039 rm -rf conftest
* conftst
*
8041 # Do not use the global_symbol_pipe unless it works.
8042 if test "$pipe_works" = yes; then
8045 lt_cv_sys_global_symbol_pipe
=
8051 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8052 lt_cv_sys_global_symbol_to_cdecl
=
8054 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8056 $as_echo "failed" >&6; }
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8059 $as_echo "ok" >&6; }
8083 # Check whether --enable-libtool-lock was given.
8084 if test "${enable_libtool_lock+set}" = set; then :
8085 enableval
=$enable_libtool_lock;
8088 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8090 # Some flags need to be propagated to the compiler or linker for good
8094 # Find out which ABI we are using.
8095 echo 'int i;' > conftest.
$ac_ext
8096 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8097 (eval $ac_compile) 2>&5
8099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8100 test $ac_status = 0; }; then
8101 case `/usr/bin/file conftest.$ac_objext` in
8113 # Find out which ABI we are using.
8114 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8115 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8116 (eval $ac_compile) 2>&5
8118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8119 test $ac_status = 0; }; then
8120 if test "$lt_cv_prog_gnu_ld" = yes; then
8121 case `/usr/bin/file conftest.$ac_objext` in
8123 LD
="${LD-ld} -melf32bsmip"
8126 LD
="${LD-ld} -melf32bmipn32"
8129 LD
="${LD-ld} -melf64bmip"
8133 case `/usr/bin/file conftest.$ac_objext` in
8149 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
8150 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8151 # Find out which ABI we are using.
8152 echo 'int i;' > conftest.
$ac_ext
8153 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8154 (eval $ac_compile) 2>&5
8156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8157 test $ac_status = 0; }; then
8158 case `/usr/bin/file conftest.o` in
8161 x86_64-
*kfreebsd
*-gnu)
8162 LD
="${LD-ld} -m elf_i386_fbsd"
8165 case `/usr/bin/file conftest.o` in
8167 LD
="${LD-ld} -m elf32_x86_64"
8170 LD
="${LD-ld} -m elf_i386"
8174 powerpc64le-
*linux
*)
8175 LD
="${LD-ld} -m elf32lppclinux"
8178 LD
="${LD-ld} -m elf32ppclinux"
8181 LD
="${LD-ld} -m elf_s390"
8184 LD
="${LD-ld} -m elf32_sparc"
8190 x86_64-
*kfreebsd
*-gnu)
8191 LD
="${LD-ld} -m elf_x86_64_fbsd"
8194 LD
="${LD-ld} -m elf_x86_64"
8197 LD
="${LD-ld} -m elf64lppc"
8200 LD
="${LD-ld} -m elf64ppc"
8202 s390
*-*linux
*|s390
*-*tpf
*)
8203 LD
="${LD-ld} -m elf64_s390"
8206 LD
="${LD-ld} -m elf64_sparc"
8216 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8217 SAVE_CFLAGS
="$CFLAGS"
8218 CFLAGS
="$CFLAGS -belf"
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8220 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8221 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8222 $as_echo_n "(cached) " >&6
8225 ac_cpp
='$CPP $CPPFLAGS'
8226 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8227 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8228 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8230 if test x
$gcc_no_link = xyes
; then
8231 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8234 /* end confdefs.h. */
8244 if ac_fn_c_try_link
"$LINENO"; then :
8245 lt_cv_cc_needs_belf
=yes
8247 lt_cv_cc_needs_belf
=no
8249 rm -f core conftest.err conftest.
$ac_objext \
8250 conftest
$ac_exeext conftest.
$ac_ext
8252 ac_cpp
='$CPP $CPPFLAGS'
8253 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8254 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8255 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8259 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8260 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
8261 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8262 CFLAGS
="$SAVE_CFLAGS"
8266 # Find out which ABI we are using.
8267 echo 'int i;' > conftest.
$ac_ext
8268 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8269 (eval $ac_compile) 2>&5
8271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8272 test $ac_status = 0; }; then
8273 case `/usr/bin/file conftest.o` in
8275 case $lt_cv_prog_gnu_ld in
8276 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8278 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8290 need_locks
="$enable_libtool_lock"
8294 rhapsody
* | darwin
*)
8295 if test -n "$ac_tool_prefix"; then
8296 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8297 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8299 $as_echo_n "checking for $ac_word... " >&6; }
8300 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8301 $as_echo_n "(cached) " >&6
8303 if test -n "$DSYMUTIL"; then
8304 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8310 test -z "$as_dir" && as_dir
=.
8311 for ac_exec_ext
in '' $ac_executable_extensions; do
8312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8313 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8323 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8324 if test -n "$DSYMUTIL"; then
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8326 $as_echo "$DSYMUTIL" >&6; }
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8329 $as_echo "no" >&6; }
8334 if test -z "$ac_cv_prog_DSYMUTIL"; then
8335 ac_ct_DSYMUTIL
=$DSYMUTIL
8336 # Extract the first word of "dsymutil", so it can be a program name with args.
8337 set dummy dsymutil
; ac_word
=$2
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8339 $as_echo_n "checking for $ac_word... " >&6; }
8340 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8341 $as_echo_n "(cached) " >&6
8343 if test -n "$ac_ct_DSYMUTIL"; then
8344 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8346 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8350 test -z "$as_dir" && as_dir
=.
8351 for ac_exec_ext
in '' $ac_executable_extensions; do
8352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8353 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8363 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8364 if test -n "$ac_ct_DSYMUTIL"; then
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8366 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8369 $as_echo "no" >&6; }
8372 if test "x$ac_ct_DSYMUTIL" = x
; then
8375 case $cross_compiling:$ac_tool_warned in
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8378 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8379 ac_tool_warned
=yes ;;
8381 DSYMUTIL
=$ac_ct_DSYMUTIL
8384 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8387 if test -n "$ac_tool_prefix"; then
8388 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8389 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8391 $as_echo_n "checking for $ac_word... " >&6; }
8392 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8393 $as_echo_n "(cached) " >&6
8395 if test -n "$NMEDIT"; then
8396 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8402 test -z "$as_dir" && as_dir
=.
8403 for ac_exec_ext
in '' $ac_executable_extensions; do
8404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8405 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8415 NMEDIT
=$ac_cv_prog_NMEDIT
8416 if test -n "$NMEDIT"; then
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8418 $as_echo "$NMEDIT" >&6; }
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8421 $as_echo "no" >&6; }
8426 if test -z "$ac_cv_prog_NMEDIT"; then
8427 ac_ct_NMEDIT
=$NMEDIT
8428 # Extract the first word of "nmedit", so it can be a program name with args.
8429 set dummy nmedit
; ac_word
=$2
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8431 $as_echo_n "checking for $ac_word... " >&6; }
8432 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8433 $as_echo_n "(cached) " >&6
8435 if test -n "$ac_ct_NMEDIT"; then
8436 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8442 test -z "$as_dir" && as_dir
=.
8443 for ac_exec_ext
in '' $ac_executable_extensions; do
8444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8445 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8455 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8456 if test -n "$ac_ct_NMEDIT"; then
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8458 $as_echo "$ac_ct_NMEDIT" >&6; }
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8461 $as_echo "no" >&6; }
8464 if test "x$ac_ct_NMEDIT" = x
; then
8467 case $cross_compiling:$ac_tool_warned in
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8471 ac_tool_warned
=yes ;;
8473 NMEDIT
=$ac_ct_NMEDIT
8476 NMEDIT
="$ac_cv_prog_NMEDIT"
8479 if test -n "$ac_tool_prefix"; then
8480 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8481 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8483 $as_echo_n "checking for $ac_word... " >&6; }
8484 if test "${ac_cv_prog_LIPO+set}" = set; then :
8485 $as_echo_n "(cached) " >&6
8487 if test -n "$LIPO"; then
8488 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8494 test -z "$as_dir" && as_dir
=.
8495 for ac_exec_ext
in '' $ac_executable_extensions; do
8496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8497 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8507 LIPO
=$ac_cv_prog_LIPO
8508 if test -n "$LIPO"; then
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8510 $as_echo "$LIPO" >&6; }
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8513 $as_echo "no" >&6; }
8518 if test -z "$ac_cv_prog_LIPO"; then
8520 # Extract the first word of "lipo", so it can be a program name with args.
8521 set dummy lipo
; ac_word
=$2
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8523 $as_echo_n "checking for $ac_word... " >&6; }
8524 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8525 $as_echo_n "(cached) " >&6
8527 if test -n "$ac_ct_LIPO"; then
8528 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8534 test -z "$as_dir" && as_dir
=.
8535 for ac_exec_ext
in '' $ac_executable_extensions; do
8536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8537 ac_cv_prog_ac_ct_LIPO
="lipo"
8538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8547 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8548 if test -n "$ac_ct_LIPO"; then
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8550 $as_echo "$ac_ct_LIPO" >&6; }
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8553 $as_echo "no" >&6; }
8556 if test "x$ac_ct_LIPO" = x
; then
8559 case $cross_compiling:$ac_tool_warned in
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8562 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8563 ac_tool_warned
=yes ;;
8568 LIPO
="$ac_cv_prog_LIPO"
8571 if test -n "$ac_tool_prefix"; then
8572 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8573 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8575 $as_echo_n "checking for $ac_word... " >&6; }
8576 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8577 $as_echo_n "(cached) " >&6
8579 if test -n "$OTOOL"; then
8580 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8586 test -z "$as_dir" && as_dir
=.
8587 for ac_exec_ext
in '' $ac_executable_extensions; do
8588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8589 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8599 OTOOL
=$ac_cv_prog_OTOOL
8600 if test -n "$OTOOL"; then
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8602 $as_echo "$OTOOL" >&6; }
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8605 $as_echo "no" >&6; }
8610 if test -z "$ac_cv_prog_OTOOL"; then
8612 # Extract the first word of "otool", so it can be a program name with args.
8613 set dummy otool
; ac_word
=$2
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8615 $as_echo_n "checking for $ac_word... " >&6; }
8616 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8617 $as_echo_n "(cached) " >&6
8619 if test -n "$ac_ct_OTOOL"; then
8620 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8626 test -z "$as_dir" && as_dir
=.
8627 for ac_exec_ext
in '' $ac_executable_extensions; do
8628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8629 ac_cv_prog_ac_ct_OTOOL
="otool"
8630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8639 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8640 if test -n "$ac_ct_OTOOL"; then
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8642 $as_echo "$ac_ct_OTOOL" >&6; }
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8645 $as_echo "no" >&6; }
8648 if test "x$ac_ct_OTOOL" = x
; then
8651 case $cross_compiling:$ac_tool_warned in
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8654 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8655 ac_tool_warned
=yes ;;
8660 OTOOL
="$ac_cv_prog_OTOOL"
8663 if test -n "$ac_tool_prefix"; then
8664 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8665 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8667 $as_echo_n "checking for $ac_word... " >&6; }
8668 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8669 $as_echo_n "(cached) " >&6
8671 if test -n "$OTOOL64"; then
8672 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8678 test -z "$as_dir" && as_dir
=.
8679 for ac_exec_ext
in '' $ac_executable_extensions; do
8680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8681 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8691 OTOOL64
=$ac_cv_prog_OTOOL64
8692 if test -n "$OTOOL64"; then
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8694 $as_echo "$OTOOL64" >&6; }
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8697 $as_echo "no" >&6; }
8702 if test -z "$ac_cv_prog_OTOOL64"; then
8703 ac_ct_OTOOL64
=$OTOOL64
8704 # Extract the first word of "otool64", so it can be a program name with args.
8705 set dummy otool64
; ac_word
=$2
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8707 $as_echo_n "checking for $ac_word... " >&6; }
8708 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8709 $as_echo_n "(cached) " >&6
8711 if test -n "$ac_ct_OTOOL64"; then
8712 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8718 test -z "$as_dir" && as_dir
=.
8719 for ac_exec_ext
in '' $ac_executable_extensions; do
8720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8721 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8731 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8732 if test -n "$ac_ct_OTOOL64"; then
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8734 $as_echo "$ac_ct_OTOOL64" >&6; }
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8737 $as_echo "no" >&6; }
8740 if test "x$ac_ct_OTOOL64" = x
; then
8743 case $cross_compiling:$ac_tool_warned in
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8746 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8747 ac_tool_warned
=yes ;;
8749 OTOOL64
=$ac_ct_OTOOL64
8752 OTOOL64
="$ac_cv_prog_OTOOL64"
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8782 $as_echo_n "checking for -single_module linker flag... " >&6; }
8783 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8784 $as_echo_n "(cached) " >&6
8786 lt_cv_apple_cc_single_mod
=no
8787 if test -z "${LT_MULTI_MODULE}"; then
8788 # By default we will add the -single_module flag. You can override
8789 # by either setting the environment variable LT_MULTI_MODULE
8790 # non-empty at configure time, or by adding -multi_module to the
8792 rm -rf libconftest.dylib
*
8793 echo "int foo(void){return 1;}" > conftest.c
8794 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8795 -dynamiclib -Wl,-single_module conftest.c" >&5
8796 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8797 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8799 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8800 lt_cv_apple_cc_single_mod
=yes
8802 cat conftest.err
>&5
8804 rm -rf libconftest.dylib
*
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8809 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8811 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8812 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8813 $as_echo_n "(cached) " >&6
8815 lt_cv_ld_exported_symbols_list
=no
8816 save_LDFLAGS
=$LDFLAGS
8817 echo "_main" > conftest.sym
8818 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8819 if test x
$gcc_no_link = xyes
; then
8820 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8823 /* end confdefs.h. */
8833 if ac_fn_c_try_link
"$LINENO"; then :
8834 lt_cv_ld_exported_symbols_list
=yes
8836 lt_cv_ld_exported_symbols_list
=no
8838 rm -f core conftest.err conftest.
$ac_objext \
8839 conftest
$ac_exeext conftest.
$ac_ext
8840 LDFLAGS
="$save_LDFLAGS"
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8844 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8846 $as_echo_n "checking for -force_load linker flag... " >&6; }
8847 if test "${lt_cv_ld_force_load+set}" = set; then :
8848 $as_echo_n "(cached) " >&6
8850 lt_cv_ld_force_load
=no
8851 cat > conftest.c
<< _LT_EOF
8852 int forced_loaded() { return 2;}
8854 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8855 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8856 echo "$AR cru libconftest.a conftest.o" >&5
8857 $AR cru libconftest.a conftest.o
2>&5
8858 cat > conftest.c
<< _LT_EOF
8859 int main() { return 0;}
8861 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8862 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8864 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8865 lt_cv_ld_force_load
=yes
8867 cat conftest.err
>&5
8869 rm -f conftest.err libconftest.a conftest conftest.c
8870 rm -rf conftest.dSYM
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8874 $as_echo "$lt_cv_ld_force_load" >&6; }
8876 rhapsody
* | darwin1.
[012])
8877 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8879 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8880 darwin
*) # darwin 5.x on
8881 # if running on 10.5 or later, the deployment target defaults
8882 # to the OS version, if on x86, and 10.4, the deployment
8883 # target defaults to 10.4. Don't you love it?
8884 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8885 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8886 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8888 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8890 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8894 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8895 _lt_dar_single_mod
='$single_module'
8897 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8898 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8900 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8902 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8903 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8910 for ac_header
in dlfcn.h
8912 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8914 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8915 cat >>confdefs.h
<<_ACEOF
8916 #define HAVE_DLFCN_H 1
8935 # Check whether --enable-shared was given.
8936 if test "${enable_shared+set}" = set; then :
8937 enableval
=$enable_shared; p
=${PACKAGE-default}
8939 yes) enable_shared
=yes ;;
8940 no
) enable_shared
=no
;;
8943 # Look at the argument we got. We use all the common list separators.
8944 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8945 for pkg
in $enableval; do
8947 if test "X$pkg" = "X$p"; then
8966 # Check whether --enable-static was given.
8967 if test "${enable_static+set}" = set; then :
8968 enableval
=$enable_static; p
=${PACKAGE-default}
8970 yes) enable_static
=yes ;;
8971 no
) enable_static
=no
;;
8974 # Look at the argument we got. We use all the common list separators.
8975 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8976 for pkg
in $enableval; do
8978 if test "X$pkg" = "X$p"; then
8998 # Check whether --with-pic was given.
8999 if test "${with_pic+set}" = set; then :
9000 withval
=$with_pic; pic_mode
="$withval"
9006 test -z "$pic_mode" && pic_mode
=default
9014 # Check whether --enable-fast-install was given.
9015 if test "${enable_fast_install+set}" = set; then :
9016 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9018 yes) enable_fast_install
=yes ;;
9019 no
) enable_fast_install
=no
;;
9021 enable_fast_install
=no
9022 # Look at the argument we got. We use all the common list separators.
9023 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9024 for pkg
in $enableval; do
9026 if test "X$pkg" = "X$p"; then
9027 enable_fast_install
=yes
9034 enable_fast_install
=yes
9047 # This can be used to rebuild libtool when needed
9048 LIBTOOL_DEPS
="$ltmain"
9050 # Always use our own libtool.
9051 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9078 test -z "$LN_S" && LN_S
="ln -s"
9093 if test -n "${ZSH_VERSION+set}" ; then
9094 setopt NO_GLOB_SUBST
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9098 $as_echo_n "checking for objdir... " >&6; }
9099 if test "${lt_cv_objdir+set}" = set; then :
9100 $as_echo_n "(cached) " >&6
9102 rm -f .libs
2>/dev
/null
9103 mkdir .libs
2>/dev
/null
9104 if test -d .libs
; then
9107 # MS-DOS does not allow filenames that begin with a dot.
9110 rmdir .libs
2>/dev
/null
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9113 $as_echo "$lt_cv_objdir" >&6; }
9114 objdir
=$lt_cv_objdir
9120 cat >>confdefs.h
<<_ACEOF
9121 #define LT_OBJDIR "$lt_cv_objdir/"
9129 # AIX sometimes has problems with the GCC collect2 program. For some
9130 # reason, if we set the COLLECT_NAMES environment variable, the problems
9131 # vanish in a puff of smoke.
9132 if test "X${COLLECT_NAMES+set}" != Xset
; then
9134 export COLLECT_NAMES
9141 can_build_shared
=yes
9143 # All known linkers require a `.a' archive for static linking (except MSVC,
9144 # which needs '.lib').
9147 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9150 old_CFLAGS
="$CFLAGS"
9152 # Set sane defaults for various variables
9153 test -z "$CC" && CC
=cc
9154 test -z "$LTCC" && LTCC
=$CC
9155 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9156 test -z "$LD" && LD
=ld
9157 test -z "$ac_objext" && ac_objext
=o
9159 for cc_temp
in $compiler""; do
9161 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9162 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9167 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9170 # Only perform the check for file, if the check method requires it
9171 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9172 case $deplibs_check_method in
9174 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9176 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9177 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9178 $as_echo_n "(cached) " >&6
9182 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9185 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9186 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9187 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9188 for ac_dir
in $ac_dummy; do
9190 test -z "$ac_dir" && ac_dir
=.
9191 if test -f $ac_dir/${ac_tool_prefix}file; then
9192 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9193 if test -n "$file_magic_test_file"; then
9194 case $deplibs_check_method in
9196 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9197 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9198 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9199 $EGREP "$file_magic_regex" > /dev
/null
; then
9204 *** Warning: the command libtool uses to detect shared libraries,
9205 *** $file_magic_cmd, produces output that libtool cannot recognize.
9206 *** The result is that libtool may fail to recognize shared libraries
9207 *** as such. This will affect the creation of libtool libraries that
9208 *** depend on shared libraries, but programs linked with such libtool
9209 *** libraries will work regardless of this problem. Nevertheless, you
9210 *** may want to report the problem to your system manager and/or to
9211 *** bug-libtool@gnu.org
9221 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9226 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9227 if test -n "$MAGIC_CMD"; then
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9229 $as_echo "$MAGIC_CMD" >&6; }
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9232 $as_echo "no" >&6; }
9239 if test -z "$lt_cv_path_MAGIC_CMD"; then
9240 if test -n "$ac_tool_prefix"; then
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9242 $as_echo_n "checking for file... " >&6; }
9243 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9244 $as_echo_n "(cached) " >&6
9248 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9251 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9252 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9253 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9254 for ac_dir
in $ac_dummy; do
9256 test -z "$ac_dir" && ac_dir
=.
9257 if test -f $ac_dir/file; then
9258 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9259 if test -n "$file_magic_test_file"; then
9260 case $deplibs_check_method in
9262 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9263 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9264 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9265 $EGREP "$file_magic_regex" > /dev
/null
; then
9270 *** Warning: the command libtool uses to detect shared libraries,
9271 *** $file_magic_cmd, produces output that libtool cannot recognize.
9272 *** The result is that libtool may fail to recognize shared libraries
9273 *** as such. This will affect the creation of libtool libraries that
9274 *** depend on shared libraries, but programs linked with such libtool
9275 *** libraries will work regardless of this problem. Nevertheless, you
9276 *** may want to report the problem to your system manager and/or to
9277 *** bug-libtool@gnu.org
9287 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9292 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9293 if test -n "$MAGIC_CMD"; then
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9295 $as_echo "$MAGIC_CMD" >&6; }
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9298 $as_echo "no" >&6; }
9311 # Use C for the default configuration in the libtool script
9315 ac_cpp
='$CPP $CPPFLAGS'
9316 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9317 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9318 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9321 # Source file extension for C test sources.
9324 # Object file extension for compiled C test sources.
9328 # Code to be used in simple compile tests
9329 lt_simple_compile_test_code
="int some_variable = 0;"
9331 # Code to be used in simple link tests
9332 lt_simple_link_test_code
='int main(){return(0);}'
9340 # If no C compiler was specified, use CC.
9343 # If no C compiler flags were specified, use CFLAGS.
9344 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9346 # Allow CC to be a program name with arguments.
9349 # Save the default compiler, since it gets overwritten when the other
9350 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9351 compiler_DEFAULT
=$CC
9353 # save warnings/boilerplate of simple test code
9354 ac_outfile
=conftest.
$ac_objext
9355 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9356 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9357 _lt_compiler_boilerplate
=`cat conftest.err`
9360 ac_outfile
=conftest.
$ac_objext
9361 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9362 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9363 _lt_linker_boilerplate
=`cat conftest.err`
9368 ## There is no encapsulation within the following macros, do not change
9369 ## the running order or otherwise move them around unless you know exactly
9370 ## what you are doing...
9371 if test -n "$compiler"; then
9373 lt_prog_compiler_no_builtin_flag
=
9375 if test "$GCC" = yes; then
9376 case $cc_basename in
9378 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9380 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9384 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9385 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9386 $as_echo_n "(cached) " >&6
9388 lt_cv_prog_compiler_rtti_exceptions
=no
9389 ac_outfile
=conftest.
$ac_objext
9390 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9391 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9392 # Insert the option either (1) after the last *FLAGS variable, or
9393 # (2) before a word containing "conftest.", or (3) at the end.
9394 # Note that $ac_compile itself does not contain backslashes and begins
9395 # with a dollar sign (not a hyphen), so the echo should work correctly.
9396 # The option is referenced via a variable to avoid confusing sed.
9397 lt_compile
=`echo "$ac_compile" | $SED \
9398 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9399 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9400 -e 's:$: $lt_compiler_flag:'`
9401 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9402 (eval "$lt_compile" 2>conftest.err
)
9404 cat conftest.err
>&5
9405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9406 if (exit $ac_status) && test -s "$ac_outfile"; then
9407 # The compiler can only warn and ignore the option if not recognized
9408 # So say no if there are warnings other than the usual output.
9409 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9410 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9411 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9412 lt_cv_prog_compiler_rtti_exceptions
=yes
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9419 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9421 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9422 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9434 lt_prog_compiler_wl
=
9435 lt_prog_compiler_pic
=
9436 lt_prog_compiler_static
=
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9439 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9441 if test "$GCC" = yes; then
9442 lt_prog_compiler_wl
='-Wl,'
9443 lt_prog_compiler_static
='-static'
9447 # All AIX code is PIC.
9448 if test "$host_cpu" = ia64
; then
9449 # AIX 5 now supports IA64 processor
9450 lt_prog_compiler_static
='-Bstatic'
9452 lt_prog_compiler_pic
='-fPIC'
9458 # see comment about AmigaOS4 .so support
9459 lt_prog_compiler_pic
='-fPIC'
9462 # FIXME: we need at least 68020 code to build shared libraries, but
9463 # adding the `-m68020' flag to GCC prevents building anything better,
9465 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9470 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9471 # PIC is the default for these OSes.
9474 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9475 # This hack is so that the source file can tell whether it is being
9476 # built for inclusion in a dll (and should export symbols for example).
9477 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9478 # (--disable-auto-import) libraries
9479 lt_prog_compiler_pic
='-DDLL_EXPORT'
9482 darwin
* | rhapsody
*)
9483 # PIC is the default on this platform
9484 # Common symbols not allowed in MH_DYLIB files
9485 lt_prog_compiler_pic
='-fno-common'
9489 # PIC is the default for Haiku.
9490 # The "-static" flag exists, but is broken.
9491 lt_prog_compiler_static
=
9495 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9496 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9497 # sets the default TLS model and affects inlining.
9503 lt_prog_compiler_pic
='-fPIC'
9509 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9510 # Instead, we relocate shared libraries at runtime.
9514 # Just because we use GCC doesn't mean we suddenly get shared libraries
9515 # on systems that don't support them.
9516 lt_prog_compiler_can_build_shared
=no
9521 # QNX uses GNU C++, but need to define -shared option too, otherwise
9523 lt_prog_compiler_pic
='-fPIC -shared'
9527 if test -d /usr
/nec
; then
9528 lt_prog_compiler_pic
=-Kconform_pic
9533 lt_prog_compiler_pic
='-fPIC'
9537 case $cc_basename in
9538 nvcc
*) # Cuda Compiler Driver 2.2
9539 lt_prog_compiler_wl
='-Xlinker '
9540 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9544 # PORTME Check for flag to pass linker flags through the system compiler.
9547 lt_prog_compiler_wl
='-Wl,'
9548 if test "$host_cpu" = ia64
; then
9549 # AIX 5 now supports IA64 processor
9550 lt_prog_compiler_static
='-Bstatic'
9552 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9556 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9557 # This hack is so that the source file can tell whether it is being
9558 # built for inclusion in a dll (and should export symbols for example).
9559 lt_prog_compiler_pic
='-DDLL_EXPORT'
9562 hpux9
* | hpux10
* | hpux11
*)
9563 lt_prog_compiler_wl
='-Wl,'
9564 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9571 lt_prog_compiler_pic
='+Z'
9574 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9575 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9578 irix5
* | irix6
* | nonstopux
*)
9579 lt_prog_compiler_wl
='-Wl,'
9580 # PIC (with -KPIC) is the default.
9581 lt_prog_compiler_static
='-non_shared'
9584 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9585 case $cc_basename in
9586 # old Intel for x86_64 which still supported -KPIC.
9588 lt_prog_compiler_wl
='-Wl,'
9589 lt_prog_compiler_pic
='-KPIC'
9590 lt_prog_compiler_static
='-static'
9592 # icc used to be incompatible with GCC.
9593 # ICC 10 doesn't accept -KPIC any more.
9595 lt_prog_compiler_wl
='-Wl,'
9596 lt_prog_compiler_pic
='-fPIC'
9597 lt_prog_compiler_static
='-static'
9599 # Lahey Fortran 8.1.
9601 lt_prog_compiler_wl
='-Wl,'
9602 lt_prog_compiler_pic
='--shared'
9603 lt_prog_compiler_static
='--static'
9605 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9606 # Portland Group compilers (*not* the Pentium gcc compiler,
9607 # which looks to be a dead project)
9608 lt_prog_compiler_wl
='-Wl,'
9609 lt_prog_compiler_pic
='-fpic'
9610 lt_prog_compiler_static
='-Bstatic'
9613 lt_prog_compiler_wl
='-Wl,'
9614 # All Alpha code is PIC.
9615 lt_prog_compiler_static
='-non_shared'
9617 xl
* | bgxl
* | bgf
* | mpixl
*)
9618 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9619 lt_prog_compiler_wl
='-Wl,'
9620 lt_prog_compiler_pic
='-qpic'
9621 lt_prog_compiler_static
='-qstaticlink'
9624 case `$CC -V 2>&1 | sed 5q` in
9625 *Sun\ F
* |
*Sun
*Fortran
*)
9626 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9627 lt_prog_compiler_pic
='-KPIC'
9628 lt_prog_compiler_static
='-Bstatic'
9629 lt_prog_compiler_wl
=''
9633 lt_prog_compiler_pic
='-KPIC'
9634 lt_prog_compiler_static
='-Bstatic'
9635 lt_prog_compiler_wl
='-Wl,'
9643 lt_prog_compiler_pic
='-KPIC'
9644 lt_prog_compiler_static
='-Bstatic'
9648 # QNX uses GNU C++, but need to define -shared option too, otherwise
9650 lt_prog_compiler_pic
='-fPIC -shared'
9653 osf3
* | osf4
* | osf5
*)
9654 lt_prog_compiler_wl
='-Wl,'
9655 # All OSF/1 code is PIC.
9656 lt_prog_compiler_static
='-non_shared'
9660 lt_prog_compiler_static
='-non_shared'
9664 lt_prog_compiler_pic
='-KPIC'
9665 lt_prog_compiler_static
='-Bstatic'
9666 case $cc_basename in
9668 lt_prog_compiler_wl
='-Qoption ld ';;
9670 lt_prog_compiler_wl
='-Wl,';;
9675 lt_prog_compiler_wl
='-Qoption ld '
9676 lt_prog_compiler_pic
='-PIC'
9677 lt_prog_compiler_static
='-Bstatic'
9680 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9681 lt_prog_compiler_wl
='-Wl,'
9682 lt_prog_compiler_pic
='-KPIC'
9683 lt_prog_compiler_static
='-Bstatic'
9687 if test -d /usr
/nec
;then
9688 lt_prog_compiler_pic
='-Kconform_pic'
9689 lt_prog_compiler_static
='-Bstatic'
9693 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9694 lt_prog_compiler_wl
='-Wl,'
9695 lt_prog_compiler_pic
='-KPIC'
9696 lt_prog_compiler_static
='-Bstatic'
9700 lt_prog_compiler_wl
='-Wl,'
9701 lt_prog_compiler_can_build_shared
=no
9705 lt_prog_compiler_pic
='-pic'
9706 lt_prog_compiler_static
='-Bstatic'
9710 lt_prog_compiler_can_build_shared
=no
9716 # For platforms which do not support PIC, -DPIC is meaningless:
9718 lt_prog_compiler_pic
=
9721 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9725 $as_echo "$lt_prog_compiler_pic" >&6; }
9733 # Check to make sure the PIC flag actually works.
9735 if test -n "$lt_prog_compiler_pic"; then
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9737 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9738 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9739 $as_echo_n "(cached) " >&6
9741 lt_cv_prog_compiler_pic_works
=no
9742 ac_outfile
=conftest.
$ac_objext
9743 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9744 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9745 # Insert the option either (1) after the last *FLAGS variable, or
9746 # (2) before a word containing "conftest.", or (3) at the end.
9747 # Note that $ac_compile itself does not contain backslashes and begins
9748 # with a dollar sign (not a hyphen), so the echo should work correctly.
9749 # The option is referenced via a variable to avoid confusing sed.
9750 lt_compile
=`echo "$ac_compile" | $SED \
9751 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9752 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9753 -e 's:$: $lt_compiler_flag:'`
9754 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9755 (eval "$lt_compile" 2>conftest.err
)
9757 cat conftest.err
>&5
9758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9759 if (exit $ac_status) && test -s "$ac_outfile"; then
9760 # The compiler can only warn and ignore the option if not recognized
9761 # So say no if there are warnings other than the usual output.
9762 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9763 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9764 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9765 lt_cv_prog_compiler_pic_works
=yes
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9772 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9774 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9775 case $lt_prog_compiler_pic in
9777 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9780 lt_prog_compiler_pic
=
9781 lt_prog_compiler_can_build_shared
=no
9792 # Check to make sure the static flag actually works.
9794 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9796 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9797 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9798 $as_echo_n "(cached) " >&6
9800 lt_cv_prog_compiler_static_works
=no
9801 save_LDFLAGS
="$LDFLAGS"
9802 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9803 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9804 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9805 # The linker can only warn and ignore the option if not recognized
9806 # So say no if there are warnings
9807 if test -s conftest.err
; then
9808 # Append any errors to the config.log.
9809 cat conftest.err
1>&5
9810 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9811 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9812 if diff conftest.exp conftest.er2
>/dev
/null
; then
9813 lt_cv_prog_compiler_static_works
=yes
9816 lt_cv_prog_compiler_static_works
=yes
9820 LDFLAGS
="$save_LDFLAGS"
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9824 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9826 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9829 lt_prog_compiler_static
=
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9839 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9840 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9841 $as_echo_n "(cached) " >&6
9843 lt_cv_prog_compiler_c_o
=no
9844 $RM -r conftest
2>/dev
/null
9848 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9850 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9851 # Insert the option either (1) after the last *FLAGS variable, or
9852 # (2) before a word containing "conftest.", or (3) at the end.
9853 # Note that $ac_compile itself does not contain backslashes and begins
9854 # with a dollar sign (not a hyphen), so the echo should work correctly.
9855 lt_compile
=`echo "$ac_compile" | $SED \
9856 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9857 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9858 -e 's:$: $lt_compiler_flag:'`
9859 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9860 (eval "$lt_compile" 2>out
/conftest.err
)
9862 cat out
/conftest.err
>&5
9863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9864 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9866 # The compiler can only warn and ignore the option if not recognized
9867 # So say no if there are warnings
9868 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9869 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9870 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9871 lt_cv_prog_compiler_c_o
=yes
9876 # SGI C++ compiler will create directory out/ii_files/ for
9877 # template instantiation
9878 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9879 $RM out
/* && rmdir out
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9886 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9894 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9895 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9896 $as_echo_n "(cached) " >&6
9898 lt_cv_prog_compiler_c_o
=no
9899 $RM -r conftest
2>/dev
/null
9903 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9905 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9906 # Insert the option either (1) after the last *FLAGS variable, or
9907 # (2) before a word containing "conftest.", or (3) at the end.
9908 # Note that $ac_compile itself does not contain backslashes and begins
9909 # with a dollar sign (not a hyphen), so the echo should work correctly.
9910 lt_compile
=`echo "$ac_compile" | $SED \
9911 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9912 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9913 -e 's:$: $lt_compiler_flag:'`
9914 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9915 (eval "$lt_compile" 2>out
/conftest.err
)
9917 cat out
/conftest.err
>&5
9918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9919 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9921 # The compiler can only warn and ignore the option if not recognized
9922 # So say no if there are warnings
9923 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9924 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9925 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9926 lt_cv_prog_compiler_c_o
=yes
9931 # SGI C++ compiler will create directory out/ii_files/ for
9932 # template instantiation
9933 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9934 $RM out
/* && rmdir out
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9941 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9946 hard_links
="nottested"
9947 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9948 # do not overwrite the value of need_locks provided by the user
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9950 $as_echo_n "checking if we can lock with hard links... " >&6; }
9953 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9955 ln conftest.a conftest.b
2>&5 || hard_links
=no
9956 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9958 $as_echo "$hard_links" >&6; }
9959 if test "$hard_links" = no
; then
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9961 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9974 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9977 allow_undefined_flag
=
9978 always_export_symbols
=no
9980 archive_expsym_cmds
=
9981 compiler_needs_object
=no
9982 enable_shared_with_static_runtimes
=no
9983 export_dynamic_flag_spec
=
9984 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9985 hardcode_automatic
=no
9987 hardcode_direct_absolute
=no
9988 hardcode_libdir_flag_spec
=
9989 hardcode_libdir_flag_spec_ld
=
9990 hardcode_libdir_separator
=
9992 hardcode_shlibpath_var
=unsupported
9994 link_all_deplibs
=unknown
9997 old_archive_from_new_cmds
=
9998 old_archive_from_expsyms_cmds
=
9999 thread_safe_flag_spec
=
10000 whole_archive_flag_spec
=
10001 # include_expsyms should be a list of space-separated symbols to be *always*
10002 # included in the symbol list
10004 # exclude_expsyms can be an extended regexp of symbols to exclude
10005 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10006 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10007 # as well as any symbol that contains `d'.
10008 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10009 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10010 # platforms (ab)use it in PIC code, but their linkers get confused if
10011 # the symbol is explicitly referenced. Since portable code cannot
10012 # rely on this symbol name, it's probably fine to never include it in
10013 # preloaded symbol tables.
10014 # Exclude shared library initialization/finalization symbols.
10015 extract_expsyms_cmds
=
10018 cygwin
* | mingw
* | pw32
* | cegcc
*)
10019 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10020 # When not using gcc, we currently assume that we are using
10021 # Microsoft Visual C++.
10022 if test "$GCC" != yes; then
10027 # we just hope/assume this is gcc and not c89 (= MSVC++)
10037 # On some targets, GNU ld is compatible enough with the native linker
10038 # that we're better off using the native interface for both.
10039 lt_use_gnu_ld_interface
=no
10040 if test "$with_gnu_ld" = yes; then
10043 # The AIX port of GNU ld has always aspired to compatibility
10044 # with the native linker. However, as the warning in the GNU ld
10045 # block says, versions before 2.19.5* couldn't really create working
10046 # shared libraries, regardless of the interface used.
10047 case `$LD -v 2>&1` in
10048 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10049 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10050 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10052 lt_use_gnu_ld_interface
=yes
10057 lt_use_gnu_ld_interface
=yes
10062 if test "$lt_use_gnu_ld_interface" = yes; then
10063 # If archive_cmds runs LD, not CC, wlarc should be empty
10066 # Set some defaults for GNU ld with shared library support. These
10067 # are reset later if shared libraries are not supported. Putting them
10068 # here allows them to be overridden if necessary.
10069 runpath_var
=LD_RUN_PATH
10070 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10071 export_dynamic_flag_spec
='${wl}--export-dynamic'
10072 # ancient GNU ld didn't support --whole-archive et. al.
10073 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10074 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10076 whole_archive_flag_spec
=
10078 supports_anon_versioning
=no
10079 case `$LD -v 2>&1` in
10080 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10081 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10082 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10083 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10084 *\
2.11.
*) ;; # other 2.11 versions
10085 *) supports_anon_versioning
=yes ;;
10088 # See if GNU ld supports shared libraries.
10091 # On AIX/PPC, the GNU linker is very broken
10092 if test "$host_cpu" != ia64
; then
10096 *** Warning: the GNU linker, at least up to release 2.19, is reported
10097 *** to be unable to reliably create shared libraries on AIX.
10098 *** Therefore, libtool is disabling shared libraries support. If you
10099 *** really care for shared libraries, you may want to install binutils
10100 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10101 *** You will then need to restart the configuration process.
10110 # see comment about AmigaOS4 .so support
10111 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10112 archive_expsym_cmds
=''
10115 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)'
10116 hardcode_libdir_flag_spec
='-L$libdir'
10117 hardcode_minus_L
=yes
10123 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10124 allow_undefined_flag
=unsupported
10125 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10126 # support --undefined. This deserves some investigation. FIXME
10127 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10133 cygwin
* | mingw
* | pw32
* | cegcc
*)
10134 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10135 # as there is no search path for DLLs.
10136 hardcode_libdir_flag_spec
='-L$libdir'
10137 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10138 allow_undefined_flag
=unsupported
10139 always_export_symbols
=no
10140 enable_shared_with_static_runtimes
=yes
10141 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10143 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10144 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10145 # If the export-symbols file already is a .def file (1st line
10146 # is EXPORTS), use it as is; otherwise, prepend...
10147 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10148 cp $export_symbols $output_objdir/$soname.def;
10150 echo EXPORTS > $output_objdir/$soname.def;
10151 cat $export_symbols >> $output_objdir/$soname.def;
10153 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10160 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10161 link_all_deplibs
=yes
10166 hardcode_shlibpath_var
=no
10167 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10168 export_dynamic_flag_spec
='${wl}-E'
10169 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10170 # Instead, shared libraries are loaded at an image base (0x10000000 by
10171 # default) and relocated if they conflict, which is a slow very memory
10172 # consuming and fragmenting process. To avoid this, we pick a random,
10173 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10174 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10175 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10176 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'
10179 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10181 if test "$host_os" = linux-dietlibc
; then
10182 case $cc_basename in
10183 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10186 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10187 && test "$tmp_diet" = no
10189 tmp_addflag
=' $pic_flag'
10190 tmp_sharedflag
='-shared'
10191 case $cc_basename,$host_cpu in
10192 pgcc
*) # Portland Group C compiler
10193 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'
10194 tmp_addflag
=' $pic_flag'
10196 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10197 # Portland Group f77 and f90 compilers
10198 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'
10199 tmp_addflag
=' $pic_flag -Mnomain' ;;
10200 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10201 tmp_addflag
=' -i_dynamic' ;;
10202 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10203 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10204 ifc
* | ifort
*) # Intel Fortran compiler
10205 tmp_addflag
=' -nofor_main' ;;
10206 lf95
*) # Lahey Fortran 8.1
10207 whole_archive_flag_spec
=
10208 tmp_sharedflag
='--shared' ;;
10209 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10210 tmp_sharedflag
='-qmkshrobj'
10212 nvcc
*) # Cuda Compiler Driver 2.2
10213 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'
10214 compiler_needs_object
=yes
10217 case `$CC -V 2>&1 | sed 5q` in
10218 *Sun\ C
*) # Sun C 5.9
10219 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'
10220 compiler_needs_object
=yes
10221 tmp_sharedflag
='-G' ;;
10222 *Sun\ F
*) # Sun Fortran 8.3
10223 tmp_sharedflag
='-G' ;;
10225 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10227 if test "x$supports_anon_versioning" = xyes
; then
10228 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10229 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10230 echo "local: *; };" >> $output_objdir/$libname.ver~
10231 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10234 case $cc_basename in
10235 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10236 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10237 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10238 hardcode_libdir_flag_spec
=
10239 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10240 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10241 if test "x$supports_anon_versioning" = xyes
; then
10242 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10243 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10244 echo "local: *; };" >> $output_objdir/$libname.ver~
10245 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10255 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10256 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10259 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10260 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10265 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10269 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10270 *** create shared libraries on Solaris systems. Therefore, libtool
10271 *** is disabling shared libraries support. We urge you to upgrade GNU
10272 *** binutils to release 2.9.1 or newer. Another option is to modify
10273 *** your PATH or compiler configuration so that the native linker is
10274 *** used, and then restart.
10277 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10278 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10279 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10285 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10286 case `$LD -v 2>&1` in
10287 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10291 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10292 *** reliably create shared libraries on SCO systems. Therefore, libtool
10293 *** is disabling shared libraries support. We urge you to upgrade GNU
10294 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10295 *** your PATH or compiler configuration so that the native linker is
10296 *** used, and then restart.
10301 # For security reasons, it is highly recommended that you always
10302 # use absolute paths for naming shared libraries, and exclude the
10303 # DT_RUNPATH tag from executables and libraries. But doing so
10304 # requires that you compile everything twice, which is a pain.
10305 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10306 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10307 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10308 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10317 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10319 hardcode_direct
=yes
10320 hardcode_shlibpath_var
=no
10324 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10325 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10326 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10333 if test "$ld_shlibs" = no
; then
10335 hardcode_libdir_flag_spec
=
10336 export_dynamic_flag_spec
=
10337 whole_archive_flag_spec
=
10340 # PORTME fill in a description of your system's linker (not GNU ld)
10343 allow_undefined_flag
=unsupported
10344 always_export_symbols
=yes
10345 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'
10346 # Note: this linker hardcodes the directories in LIBPATH if there
10347 # are no directories specified by -L.
10348 hardcode_minus_L
=yes
10349 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10350 # Neither direct hardcoding nor static linking is supported with a
10352 hardcode_direct
=unsupported
10357 if test "$host_cpu" = ia64
; then
10358 # On IA64, the linker does run time linking by default, so we don't
10359 # have to do anything special.
10360 aix_use_runtimelinking
=no
10361 exp_sym_flag
='-Bexport'
10364 # If we're using GNU nm, then we don't want the "-C" option.
10365 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10366 # Also, AIX nm treats weak defined symbols like other global
10367 # defined symbols, whereas GNU nm marks them as "W".
10368 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10369 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'
10371 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'
10373 aix_use_runtimelinking
=no
10375 # Test if we are trying to use run time linking or normal
10376 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10377 # need to do runtime linking.
10378 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10379 for ld_flag
in $LDFLAGS; do
10380 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10381 aix_use_runtimelinking
=yes
10388 exp_sym_flag
='-bexport'
10389 no_entry_flag
='-bnoentry'
10392 # When large executables or shared objects are built, AIX ld can
10393 # have problems creating the table of contents. If linking a library
10394 # or program results in "error TOC overflow" add -mminimal-toc to
10395 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10396 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10399 hardcode_direct
=yes
10400 hardcode_direct_absolute
=yes
10401 hardcode_libdir_separator
=':'
10402 link_all_deplibs
=yes
10403 file_list_spec
='${wl}-f,'
10405 if test "$GCC" = yes; then
10406 case $host_os in aix4.
[012]|aix4.
[012].
*)
10407 # We only want to do this on AIX 4.2 and lower, the check
10408 # below for broken collect2 doesn't work under 4.3+
10409 collect2name
=`${CC} -print-prog-name=collect2`
10410 if test -f "$collect2name" &&
10411 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10413 # We have reworked collect2
10416 # We have old collect2
10417 hardcode_direct
=unsupported
10418 # It fails to find uninstalled libraries when the uninstalled
10419 # path is not listed in the libpath. Setting hardcode_minus_L
10420 # to unsupported forces relinking
10421 hardcode_minus_L
=yes
10422 hardcode_libdir_flag_spec
='-L$libdir'
10423 hardcode_libdir_separator
=
10427 shared_flag
='-shared'
10428 if test "$aix_use_runtimelinking" = yes; then
10429 shared_flag
="$shared_flag "'${wl}-G'
10433 if test "$host_cpu" = ia64
; then
10434 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10435 # chokes on -Wl,-G. The following line is correct:
10438 if test "$aix_use_runtimelinking" = yes; then
10439 shared_flag
='${wl}-G'
10441 shared_flag
='${wl}-bM:SRE'
10446 export_dynamic_flag_spec
='${wl}-bexpall'
10447 # It seems that -bexpall does not export symbols beginning with
10448 # underscore (_), so it is better to generate a list of symbols to export.
10449 always_export_symbols
=yes
10450 if test "$aix_use_runtimelinking" = yes; then
10451 # Warning - without using the other runtime loading flags (-brtl),
10452 # -berok will link without error, but may produce a broken library.
10453 allow_undefined_flag
='-berok'
10454 # Determine the default libpath from the value encoded in an
10455 # empty executable.
10456 if test x
$gcc_no_link = xyes
; then
10457 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10460 /* end confdefs.h. */
10470 if ac_fn_c_try_link
"$LINENO"; then :
10472 lt_aix_libpath_sed
='
10473 /Import File Strings/,/^$/ {
10479 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10480 # Check for a 64-bit object if we didn't find anything.
10481 if test -z "$aix_libpath"; then
10482 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10485 rm -f core conftest.err conftest.
$ac_objext \
10486 conftest
$ac_exeext conftest.
$ac_ext
10487 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10489 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10490 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"
10492 if test "$host_cpu" = ia64
; then
10493 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10494 allow_undefined_flag
="-z nodefs"
10495 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"
10497 # Determine the default libpath from the value encoded in an
10498 # empty executable.
10499 if test x
$gcc_no_link = xyes
; then
10500 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10503 /* end confdefs.h. */
10513 if ac_fn_c_try_link
"$LINENO"; then :
10515 lt_aix_libpath_sed
='
10516 /Import File Strings/,/^$/ {
10522 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10523 # Check for a 64-bit object if we didn't find anything.
10524 if test -z "$aix_libpath"; then
10525 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10528 rm -f core conftest.err conftest.
$ac_objext \
10529 conftest
$ac_exeext conftest.
$ac_ext
10530 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10532 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10533 # Warning - without using the other run time loading flags,
10534 # -berok will link without error, but may produce a broken library.
10535 no_undefined_flag
=' ${wl}-bernotok'
10536 allow_undefined_flag
=' ${wl}-berok'
10537 if test "$with_gnu_ld" = yes; then
10538 # We only use this code for GNU lds that support --whole-archive.
10539 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10541 # Exported symbols can be pulled into shared objects from archives
10542 whole_archive_flag_spec
='$convenience'
10544 archive_cmds_need_lc
=yes
10545 # This is similar to how AIX traditionally builds its shared libraries.
10546 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'
10554 # see comment about AmigaOS4 .so support
10555 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10556 archive_expsym_cmds
=''
10559 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)'
10560 hardcode_libdir_flag_spec
='-L$libdir'
10561 hardcode_minus_L
=yes
10567 export_dynamic_flag_spec
=-rdynamic
10570 cygwin
* | mingw
* | pw32
* | cegcc
*)
10571 # When not using gcc, we currently assume that we are using
10572 # Microsoft Visual C++.
10573 # hardcode_libdir_flag_spec is actually meaningless, as there is
10574 # no search path for DLLs.
10575 hardcode_libdir_flag_spec
=' '
10576 allow_undefined_flag
=unsupported
10577 # Tell ltmain to make .lib files, not .a files.
10579 # Tell ltmain to make .dll files, not .so files.
10581 # FIXME: Setting linknames here is a bad hack.
10582 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10583 # The linker will automatically build a .lib file if we build a DLL.
10584 old_archive_from_new_cmds
='true'
10585 # FIXME: Should let the user specify the lib program.
10586 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10587 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10588 enable_shared_with_static_runtimes
=yes
10591 darwin
* | rhapsody
*)
10594 archive_cmds_need_lc
=no
10596 hardcode_automatic
=yes
10597 hardcode_shlibpath_var
=unsupported
10598 if test "$lt_cv_ld_force_load" = "yes"; then
10599 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\"`'
10601 whole_archive_flag_spec
=''
10603 link_all_deplibs
=yes
10604 allow_undefined_flag
="$_lt_dar_allow_undefined"
10605 case $cc_basename in
10606 ifort
*) _lt_dar_can_shared
=yes ;;
10607 *) _lt_dar_can_shared
=$GCC ;;
10609 if test "$_lt_dar_can_shared" = "yes"; then
10610 output_verbose_link_cmd
=func_echo_all
10611 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10612 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10613 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}"
10614 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}"
10623 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10624 hardcode_libdir_flag_spec
='-L$libdir'
10625 hardcode_shlibpath_var
=no
10628 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10629 # support. Future versions do this automatically, but an explicit c++rt0.o
10630 # does not break anything, and helps significantly (at the cost of a little
10633 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10634 hardcode_libdir_flag_spec
='-R$libdir'
10635 hardcode_direct
=yes
10636 hardcode_shlibpath_var
=no
10639 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10641 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10642 hardcode_direct
=yes
10643 hardcode_minus_L
=yes
10644 hardcode_shlibpath_var
=no
10647 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10648 freebsd
* | dragonfly
*)
10649 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10650 hardcode_libdir_flag_spec
='-R$libdir'
10651 hardcode_direct
=yes
10652 hardcode_shlibpath_var
=no
10656 if test "$GCC" = yes; then
10657 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'
10659 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'
10661 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10662 hardcode_libdir_separator
=:
10663 hardcode_direct
=yes
10665 # hardcode_minus_L: Not really in the search PATH,
10666 # but as the default location of the library.
10667 hardcode_minus_L
=yes
10668 export_dynamic_flag_spec
='${wl}-E'
10672 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10673 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10675 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10677 if test "$with_gnu_ld" = no
; then
10678 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10679 hardcode_libdir_flag_spec_ld
='+b $libdir'
10680 hardcode_libdir_separator
=:
10681 hardcode_direct
=yes
10682 hardcode_direct_absolute
=yes
10683 export_dynamic_flag_spec
='${wl}-E'
10684 # hardcode_minus_L: Not really in the search PATH,
10685 # but as the default location of the library.
10686 hardcode_minus_L
=yes
10691 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10694 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10697 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10700 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10706 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10709 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10713 # Older versions of the 11.00 compiler do not understand -b yet
10714 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10716 $as_echo_n "checking if $CC understands -b... " >&6; }
10717 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10718 $as_echo_n "(cached) " >&6
10720 lt_cv_prog_compiler__b
=no
10721 save_LDFLAGS
="$LDFLAGS"
10722 LDFLAGS
="$LDFLAGS -b"
10723 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10724 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10725 # The linker can only warn and ignore the option if not recognized
10726 # So say no if there are warnings
10727 if test -s conftest.err
; then
10728 # Append any errors to the config.log.
10729 cat conftest.err
1>&5
10730 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10731 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10732 if diff conftest.exp conftest.er2
>/dev
/null
; then
10733 lt_cv_prog_compiler__b
=yes
10736 lt_cv_prog_compiler__b
=yes
10740 LDFLAGS
="$save_LDFLAGS"
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10744 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10746 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10747 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10749 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10755 if test "$with_gnu_ld" = no
; then
10756 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10757 hardcode_libdir_separator
=:
10762 hardcode_shlibpath_var
=no
10765 hardcode_direct
=yes
10766 hardcode_direct_absolute
=yes
10767 export_dynamic_flag_spec
='${wl}-E'
10769 # hardcode_minus_L: Not really in the search PATH,
10770 # but as the default location of the library.
10771 hardcode_minus_L
=yes
10777 irix5
* | irix6
* | nonstopux
*)
10778 if test "$GCC" = yes; then
10779 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'
10780 # Try to use the -exported_symbol ld option, if it does not
10781 # work, assume that -exports_file does not work either and
10782 # implicitly export all symbols.
10783 save_LDFLAGS
="$LDFLAGS"
10784 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10785 if test x
$gcc_no_link = xyes
; then
10786 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10789 /* end confdefs.h. */
10792 if ac_fn_c_try_link
"$LINENO"; then :
10793 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'
10796 rm -f core conftest.err conftest.
$ac_objext \
10797 conftest
$ac_exeext conftest.
$ac_ext
10798 LDFLAGS
="$save_LDFLAGS"
10800 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'
10801 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'
10803 archive_cmds_need_lc
='no'
10804 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10805 hardcode_libdir_separator
=:
10807 link_all_deplibs
=yes
10811 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10812 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10814 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10816 hardcode_libdir_flag_spec
='-R$libdir'
10817 hardcode_direct
=yes
10818 hardcode_shlibpath_var
=no
10822 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10823 hardcode_direct
=yes
10824 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10825 hardcode_libdir_separator
=:
10826 hardcode_shlibpath_var
=no
10833 if test -f /usr
/libexec
/ld.so
; then
10834 hardcode_direct
=yes
10835 hardcode_shlibpath_var
=no
10836 hardcode_direct_absolute
=yes
10837 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10838 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10839 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10840 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10841 export_dynamic_flag_spec
='${wl}-E'
10844 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10845 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10846 hardcode_libdir_flag_spec
='-R$libdir'
10849 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10850 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10860 hardcode_libdir_flag_spec
='-L$libdir'
10861 hardcode_minus_L
=yes
10862 allow_undefined_flag
=unsupported
10863 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'
10864 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10868 if test "$GCC" = yes; then
10869 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10870 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'
10872 allow_undefined_flag
=' -expect_unresolved \*'
10873 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'
10875 archive_cmds_need_lc
='no'
10876 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10877 hardcode_libdir_separator
=:
10880 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10881 if test "$GCC" = yes; then
10882 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10883 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'
10884 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10886 allow_undefined_flag
=' -expect_unresolved \*'
10887 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'
10888 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~
10889 $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'
10891 # Both c and cxx compiler support -rpath directly
10892 hardcode_libdir_flag_spec
='-rpath $libdir'
10894 archive_cmds_need_lc
='no'
10895 hardcode_libdir_separator
=:
10899 no_undefined_flag
=' -z defs'
10900 if test "$GCC" = yes; then
10902 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10903 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10904 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10906 case `$CC -V 2>&1` in
10909 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10910 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10911 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10915 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10916 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10917 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10921 hardcode_libdir_flag_spec
='-R$libdir'
10922 hardcode_shlibpath_var
=no
10924 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10926 # The compiler driver will combine and reorder linker options,
10927 # but understands `-z linker_flag'. GCC discards it without `$wl',
10928 # but is careful enough not to reorder.
10929 # Supported since Solaris 2.6 (maybe 2.5.1?)
10930 if test "$GCC" = yes; then
10931 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10933 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10937 link_all_deplibs
=yes
10941 if test "x$host_vendor" = xsequent
; then
10942 # Use $CC to link under sequent, because it throws in some extra .o
10943 # files that make .init and .fini sections work.
10944 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10946 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10948 hardcode_libdir_flag_spec
='-L$libdir'
10949 hardcode_direct
=yes
10950 hardcode_minus_L
=yes
10951 hardcode_shlibpath_var
=no
10955 case $host_vendor in
10957 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10958 hardcode_direct
=yes # is this really true???
10961 ## LD is ld it makes a PLAMLIB
10962 ## CC just makes a GrossModule.
10963 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10964 reload_cmds
='$CC -r -o $output$reload_objs'
10968 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10969 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10972 runpath_var
='LD_RUN_PATH'
10973 hardcode_shlibpath_var
=no
10977 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10978 hardcode_shlibpath_var
=no
10979 export_dynamic_flag_spec
='-Bexport'
10983 if test -d /usr
/nec
; then
10984 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10985 hardcode_shlibpath_var
=no
10986 runpath_var
=LD_RUN_PATH
10987 hardcode_runpath_var
=yes
10992 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10993 no_undefined_flag
='${wl}-z,text'
10994 archive_cmds_need_lc
=no
10995 hardcode_shlibpath_var
=no
10996 runpath_var
='LD_RUN_PATH'
10998 if test "$GCC" = yes; then
10999 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11000 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11002 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11003 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11007 sysv5
* | sco3.2v5
* | sco5v6
*)
11008 # Note: We can NOT use -z defs as we might desire, because we do not
11009 # link with -lc, and that would cause any symbols used from libc to
11010 # always be unresolved, which means just about no library would
11011 # ever link correctly. If we're not using GNU ld we use -z text
11012 # though, which does catch some bad symbols but isn't as heavy-handed
11014 no_undefined_flag
='${wl}-z,text'
11015 allow_undefined_flag
='${wl}-z,nodefs'
11016 archive_cmds_need_lc
=no
11017 hardcode_shlibpath_var
=no
11018 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11019 hardcode_libdir_separator
=':'
11020 link_all_deplibs
=yes
11021 export_dynamic_flag_spec
='${wl}-Bexport'
11022 runpath_var
='LD_RUN_PATH'
11024 if test "$GCC" = yes; then
11025 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11026 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11028 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11029 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11034 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11035 hardcode_libdir_flag_spec
='-L$libdir'
11036 hardcode_shlibpath_var
=no
11044 if test x
$host_vendor = xsni
; then
11046 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11047 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11054 $as_echo "$ld_shlibs" >&6; }
11055 test "$ld_shlibs" = no
&& can_build_shared
=no
11057 with_gnu_ld
=$with_gnu_ld
11074 # Do we need to explicitly link libc?
11076 case "x$archive_cmds_need_lc" in
11078 # Assume -lc should be added
11079 archive_cmds_need_lc
=yes
11081 if test "$enable_shared" = yes && test "$GCC" = yes; then
11082 case $archive_cmds in
11084 # FIXME: we may have to deal with multi-command sequences.
11087 # Test whether the compiler implicitly links with -lc since on some
11088 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11089 # to ld, don't add -lc before -lgcc.
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11091 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11092 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
11093 $as_echo_n "(cached) " >&6
11096 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11098 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11099 (eval $ac_compile) 2>&5
11101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11102 test $ac_status = 0; } 2>conftest.err
; then
11105 libobjs
=conftest.
$ac_objext
11107 wl
=$lt_prog_compiler_wl
11108 pic_flag
=$lt_prog_compiler_pic
11114 lt_save_allow_undefined_flag
=$allow_undefined_flag
11115 allow_undefined_flag
=
11116 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11117 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11120 test $ac_status = 0; }
11122 lt_cv_archive_cmds_need_lc
=no
11124 lt_cv_archive_cmds_need_lc
=yes
11126 allow_undefined_flag
=$lt_save_allow_undefined_flag
11128 cat conftest.err
1>&5
11133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11134 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11135 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11299 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11301 if test "$GCC" = yes; then
11303 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11304 *) lt_awk_arg
="/^libraries:/" ;;
11307 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11308 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11310 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11311 case $lt_search_path_spec in
11313 # if the path contains ";" then we assume it to be the separator
11314 # otherwise default to the standard path separator (i.e. ":") - it is
11315 # assumed that no part of a normal pathname contains ";" but that should
11316 # okay in the real world where ";" in dirpaths is itself problematic.
11317 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11320 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11323 # Ok, now we have the path, separated by spaces, we can step through it
11324 # and add multilib dir if necessary.
11325 lt_tmp_lt_search_path_spec
=
11326 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11327 for lt_sys_path
in $lt_search_path_spec; do
11328 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11329 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11331 test -d "$lt_sys_path" && \
11332 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11335 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11336 BEGIN {RS=" "; FS="/|\n";} {
11339 for (lt_i = NF; lt_i > 0; lt_i--) {
11340 if ($lt_i != "" && $lt_i != ".") {
11341 if ($lt_i == "..") {
11344 if (lt_count == 0) {
11345 lt_foo="/" $lt_i lt_foo;
11352 if (lt_foo != "") { lt_freq[lt_foo]++; }
11353 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11355 # AWK program above erroneously prepends '/' to C:/dos/paths
11358 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11359 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11361 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11363 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11365 library_names_spec
=
11366 libname_spec
='lib$name'
11370 postuninstall_cmds
=
11374 shlibpath_overrides_runpath
=unknown
11376 dynamic_linker
="$host_os ld.so"
11377 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11378 need_lib_prefix
=unknown
11379 hardcode_into_libs
=no
11381 # when you set need_version to no, make sure it does not cause -set_version
11382 # flags to be left without arguments
11383 need_version
=unknown
11388 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11389 shlibpath_var
=LIBPATH
11391 # AIX 3 has no versioning support, so we append a major version to the name.
11392 soname_spec
='${libname}${release}${shared_ext}$major'
11399 hardcode_into_libs
=yes
11400 if test "$host_cpu" = ia64
; then
11401 # AIX 5 supports IA64
11402 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11403 shlibpath_var
=LD_LIBRARY_PATH
11405 # With GCC up to 2.95.x, collect2 would create an import file
11406 # for dependence libraries. The import file would start with
11407 # the line `#! .'. This would cause the generated library to
11408 # depend on `.', always an invalid library. This was fixed in
11409 # development snapshots of GCC prior to 3.0.
11411 aix4 | aix4.
[01] | aix4.
[01].
*)
11412 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11414 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11417 can_build_shared
=no
11421 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11422 # soname into executable. Probably we can add versioning support to
11423 # collect2, so additional links can be useful in future.
11424 if test "$aix_use_runtimelinking" = yes; then
11425 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11426 # instead of lib<name>.a to let people know that these are not
11427 # typical AIX shared libraries.
11428 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11430 # We preserve .a as extension for shared libraries through AIX4.2
11431 # and later when we are not doing run time linking.
11432 library_names_spec
='${libname}${release}.a $libname.a'
11433 soname_spec
='${libname}${release}${shared_ext}$major'
11435 shlibpath_var
=LIBPATH
11442 # Since July 2007 AmigaOS4 officially supports .so libraries.
11443 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11444 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11447 library_names_spec
='$libname.ixlibrary $libname.a'
11448 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11449 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'
11455 library_names_spec
='${libname}${shared_ext}'
11456 dynamic_linker
="$host_os ld.so"
11457 shlibpath_var
=LIBRARY_PATH
11463 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11464 soname_spec
='${libname}${release}${shared_ext}$major'
11465 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11466 shlibpath_var
=LD_LIBRARY_PATH
11467 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11468 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11469 # the default ld.so.conf also contains /usr/contrib/lib and
11470 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11471 # libtool to hard-code these into programs
11474 cygwin
* | mingw
* | pw32
* | cegcc
*)
11475 version_type
=windows
11480 case $GCC,$host_os in
11481 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11482 library_names_spec
='$libname.dll.a'
11483 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11484 postinstall_cmds
='base_file=`basename \${file}`~
11485 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11486 dldir=$destdir/`dirname \$dlpath`~
11487 test -d \$dldir || mkdir -p \$dldir~
11488 $install_prog $dir/$dlname \$dldir/$dlname~
11489 chmod a+x \$dldir/$dlname~
11490 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11491 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11493 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11494 dlpath=$dir/\$dldll~
11496 shlibpath_overrides_runpath
=yes
11500 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11501 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11503 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11506 # MinGW DLLs use traditional 'lib' prefix
11507 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11510 # pw32 DLLs use 'pw' prefix rather than 'lib'
11511 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11517 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11520 dynamic_linker
='Win32 ld.exe'
11521 # FIXME: first we should search . and the directory the executable is in
11525 darwin
* | rhapsody
*)
11526 dynamic_linker
="$host_os dyld"
11527 version_type
=darwin
11530 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11531 soname_spec
='${libname}${release}${major}$shared_ext'
11532 shlibpath_overrides_runpath
=yes
11533 shlibpath_var
=DYLD_LIBRARY_PATH
11534 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11536 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11537 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11544 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11545 soname_spec
='${libname}${release}${shared_ext}$major'
11546 shlibpath_var
=LD_LIBRARY_PATH
11549 freebsd
* | dragonfly
*)
11550 # DragonFly does not have aout. When/if they implement a new
11551 # versioning mechanism, adjust this.
11552 if test -x /usr
/bin
/objformat
; then
11553 objformat
=`/usr/bin/objformat`
11556 freebsd
[23].
*) objformat
=aout
;;
11557 *) objformat
=elf
;;
11560 version_type
=freebsd-
$objformat
11561 case $version_type in
11563 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11568 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11572 shlibpath_var
=LD_LIBRARY_PATH
11575 shlibpath_overrides_runpath
=yes
11577 freebsd3.
[01]* | freebsdelf3.
[01]*)
11578 shlibpath_overrides_runpath
=yes
11579 hardcode_into_libs
=yes
11581 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11582 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11583 shlibpath_overrides_runpath
=no
11584 hardcode_into_libs
=yes
11586 *) # from 4.6 on, and DragonFly
11587 shlibpath_overrides_runpath
=yes
11588 hardcode_into_libs
=yes
11597 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11598 soname_spec
='${libname}${release}${shared_ext}$major'
11599 shlibpath_var
=LD_LIBRARY_PATH
11600 hardcode_into_libs
=yes
11607 dynamic_linker
="$host_os runtime_loader"
11608 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11609 soname_spec
='${libname}${release}${shared_ext}$major'
11610 shlibpath_var
=LIBRARY_PATH
11611 shlibpath_overrides_runpath
=yes
11612 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11613 hardcode_into_libs
=yes
11616 hpux9
* | hpux10
* | hpux11
*)
11617 # Give a soname corresponding to the major version so that dld.sl refuses to
11618 # link against other versions.
11625 hardcode_into_libs
=yes
11626 dynamic_linker
="$host_os dld.so"
11627 shlibpath_var
=LD_LIBRARY_PATH
11628 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11629 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11630 soname_spec
='${libname}${release}${shared_ext}$major'
11631 if test "X$HPUX_IA64_MODE" = X32
; then
11632 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11634 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11636 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11640 hardcode_into_libs
=yes
11641 dynamic_linker
="$host_os dld.sl"
11642 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11643 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11645 soname_spec
='${libname}${release}${shared_ext}$major'
11646 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11647 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11651 dynamic_linker
="$host_os dld.sl"
11652 shlibpath_var
=SHLIB_PATH
11653 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11654 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11655 soname_spec
='${libname}${release}${shared_ext}$major'
11658 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11659 postinstall_cmds
='chmod 555 $lib'
11660 # or fails outright, so override atomically:
11661 install_override_mode
=555
11668 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11669 soname_spec
='${libname}${release}${shared_ext}$major'
11670 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11671 shlibpath_var
=LD_LIBRARY_PATH
11672 shlibpath_overrides_runpath
=no
11673 hardcode_into_libs
=yes
11676 irix5
* | irix6
* | nonstopux
*)
11678 nonstopux
*) version_type
=nonstopux
;;
11680 if test "$lt_cv_prog_gnu_ld" = yes; then
11688 soname_spec
='${libname}${release}${shared_ext}$major'
11689 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11691 irix5
* | nonstopux
*)
11692 libsuff
= shlibsuff
=
11695 case $LD in # libtool.m4 will add one of these switches to LD
11696 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11697 libsuff
= shlibsuff
= libmagic
=32-bit;;
11698 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11699 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11700 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11701 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11702 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11706 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11707 shlibpath_overrides_runpath
=no
11708 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11709 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11710 hardcode_into_libs
=yes
11713 # No shared lib support for Linux oldld, aout, or coff.
11714 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11718 # This must be Linux ELF.
11719 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11723 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11724 soname_spec
='${libname}${release}${shared_ext}$major'
11725 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11726 shlibpath_var
=LD_LIBRARY_PATH
11727 shlibpath_overrides_runpath
=no
11729 # Some binutils ld are patched to set DT_RUNPATH
11730 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11731 $as_echo_n "(cached) " >&6
11733 lt_cv_shlibpath_overrides_runpath
=no
11734 save_LDFLAGS
=$LDFLAGS
11735 save_libdir
=$libdir
11736 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11737 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11738 if test x
$gcc_no_link = xyes
; then
11739 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11742 /* end confdefs.h. */
11752 if ac_fn_c_try_link
"$LINENO"; then :
11753 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11754 lt_cv_shlibpath_overrides_runpath
=yes
11757 rm -f core conftest.err conftest.
$ac_objext \
11758 conftest
$ac_exeext conftest.
$ac_ext
11759 LDFLAGS
=$save_LDFLAGS
11760 libdir
=$save_libdir
11764 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11766 # This implies no fast_install, which is unacceptable.
11767 # Some rework will be needed to allow for fast_install
11768 # before this can be enabled.
11769 hardcode_into_libs
=yes
11771 # Append ld.so.conf contents to the search path
11772 if test -f /etc
/ld.so.conf
; then
11773 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' ' '`
11774 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11777 # We used to test for /lib/ld.so.1 and disable shared libraries on
11778 # powerpc, because MkLinux only supported shared libraries with the
11779 # GNU dynamic linker. Since this was broken with cross compilers,
11780 # most powerpc-linux boxes support dynamic linking these days and
11781 # people can always --disable-shared, the test was removed, and we
11782 # assume the GNU/Linux dynamic linker is in use.
11783 dynamic_linker
='GNU/Linux ld.so'
11790 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11791 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11792 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11793 dynamic_linker
='NetBSD (a.out) ld.so'
11795 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11796 soname_spec
='${libname}${release}${shared_ext}$major'
11797 dynamic_linker
='NetBSD ld.elf_so'
11799 shlibpath_var
=LD_LIBRARY_PATH
11800 shlibpath_overrides_runpath
=yes
11801 hardcode_into_libs
=yes
11806 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11807 shlibpath_var
=LD_LIBRARY_PATH
11808 shlibpath_overrides_runpath
=yes
11815 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11816 soname_spec
='${libname}${release}${shared_ext}$major'
11817 shlibpath_var
=LD_LIBRARY_PATH
11818 shlibpath_overrides_runpath
=no
11819 hardcode_into_libs
=yes
11820 dynamic_linker
='ldqnx.so'
11825 sys_lib_dlsearch_path_spec
="/usr/lib"
11827 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11829 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11830 *) need_version
=no
;;
11832 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11833 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11834 shlibpath_var
=LD_LIBRARY_PATH
11835 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11837 openbsd2.
[89] | openbsd2.
[89].
*)
11838 shlibpath_overrides_runpath
=no
11841 shlibpath_overrides_runpath
=yes
11845 shlibpath_overrides_runpath
=yes
11850 libname_spec
='$name'
11853 library_names_spec
='$libname${shared_ext} $libname.a'
11854 dynamic_linker
='OS/2 ld.exe'
11855 shlibpath_var
=LIBPATH
11858 osf3
* | osf4
* | osf5
*)
11862 soname_spec
='${libname}${release}${shared_ext}$major'
11863 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11864 shlibpath_var
=LD_LIBRARY_PATH
11865 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11866 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11877 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11878 soname_spec
='${libname}${release}${shared_ext}$major'
11879 shlibpath_var
=LD_LIBRARY_PATH
11880 shlibpath_overrides_runpath
=yes
11881 hardcode_into_libs
=yes
11882 # ldd complains unless libraries are executable
11883 postinstall_cmds
='chmod +x $lib'
11888 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11889 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11890 shlibpath_var
=LD_LIBRARY_PATH
11891 shlibpath_overrides_runpath
=yes
11892 if test "$with_gnu_ld" = yes; then
11900 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11901 soname_spec
='${libname}${release}${shared_ext}$major'
11902 shlibpath_var
=LD_LIBRARY_PATH
11903 case $host_vendor in
11905 shlibpath_overrides_runpath
=no
11907 runpath_var
=LD_RUN_PATH
11915 shlibpath_overrides_runpath
=no
11916 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11922 if test -d /usr
/nec
;then
11924 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11925 soname_spec
='$libname${shared_ext}.$major'
11926 shlibpath_var
=LD_LIBRARY_PATH
11930 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11931 version_type
=freebsd-elf
11934 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11935 soname_spec
='${libname}${release}${shared_ext}$major'
11936 shlibpath_var
=LD_LIBRARY_PATH
11937 shlibpath_overrides_runpath
=yes
11938 hardcode_into_libs
=yes
11939 if test "$with_gnu_ld" = yes; then
11940 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11942 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11945 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11949 sys_lib_dlsearch_path_spec
='/usr/lib'
11953 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11957 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11958 shlibpath_var
=LD_LIBRARY_PATH
11959 shlibpath_overrides_runpath
=no
11960 hardcode_into_libs
=yes
11965 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11966 soname_spec
='${libname}${release}${shared_ext}$major'
11967 shlibpath_var
=LD_LIBRARY_PATH
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11975 $as_echo "$dynamic_linker" >&6; }
11976 test "$dynamic_linker" = no
&& can_build_shared
=no
11978 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11979 if test "$GCC" = yes; then
11980 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11983 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11984 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11986 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11987 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12082 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12084 if test -n "$hardcode_libdir_flag_spec" ||
12085 test -n "$runpath_var" ||
12086 test "X$hardcode_automatic" = "Xyes" ; then
12088 # We can hardcode non-existent directories.
12089 if test "$hardcode_direct" != no
&&
12090 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12091 # have to relink, otherwise we might link with an installed library
12092 # when we should be linking with a yet-to-be-installed one
12093 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12094 test "$hardcode_minus_L" != no
; then
12095 # Linking always hardcodes the temporary library directory.
12096 hardcode_action
=relink
12098 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12099 hardcode_action
=immediate
12102 # We cannot hardcode anything, or else we can only hardcode existing
12104 hardcode_action
=unsupported
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12107 $as_echo "$hardcode_action" >&6; }
12109 if test "$hardcode_action" = relink ||
12110 test "$inherit_rpath" = yes; then
12111 # Fast installation is not supported
12112 enable_fast_install
=no
12113 elif test "$shlibpath_overrides_runpath" = yes ||
12114 test "$enable_shared" = no
; then
12115 # Fast installation is not necessary
12116 enable_fast_install
=needless
12124 if test "x$enable_dlopen" != xyes
; then
12125 enable_dlopen
=unknown
12126 enable_dlopen_self
=unknown
12127 enable_dlopen_self_static
=unknown
12134 lt_cv_dlopen
="load_add_on"
12136 lt_cv_dlopen_self
=yes
12139 mingw
* | pw32
* | cegcc
*)
12140 lt_cv_dlopen
="LoadLibrary"
12145 lt_cv_dlopen
="dlopen"
12150 # if libdl is installed we need to link against it
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12152 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12153 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12154 $as_echo_n "(cached) " >&6
12156 ac_check_lib_save_LIBS
=$LIBS
12158 if test x
$gcc_no_link = xyes
; then
12159 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12162 /* end confdefs.h. */
12164 /* Override any GCC internal prototype to avoid an error.
12165 Use char because int might match the return type of a GCC
12166 builtin and then its argument prototype would still apply. */
12179 if ac_fn_c_try_link
"$LINENO"; then :
12180 ac_cv_lib_dl_dlopen
=yes
12182 ac_cv_lib_dl_dlopen
=no
12184 rm -f core conftest.err conftest.
$ac_objext \
12185 conftest
$ac_exeext conftest.
$ac_ext
12186 LIBS
=$ac_check_lib_save_LIBS
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12189 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12190 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12191 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12194 lt_cv_dlopen
="dyld"
12196 lt_cv_dlopen_self
=yes
12203 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12204 if test "x$ac_cv_func_shl_load" = x
""yes; then :
12205 lt_cv_dlopen
="shl_load"
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12208 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12209 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12210 $as_echo_n "(cached) " >&6
12212 ac_check_lib_save_LIBS
=$LIBS
12214 if test x
$gcc_no_link = xyes
; then
12215 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12218 /* end confdefs.h. */
12220 /* Override any GCC internal prototype to avoid an error.
12221 Use char because int might match the return type of a GCC
12222 builtin and then its argument prototype would still apply. */
12230 return shl_load ();
12235 if ac_fn_c_try_link
"$LINENO"; then :
12236 ac_cv_lib_dld_shl_load
=yes
12238 ac_cv_lib_dld_shl_load
=no
12240 rm -f core conftest.err conftest.
$ac_objext \
12241 conftest
$ac_exeext conftest.
$ac_ext
12242 LIBS
=$ac_check_lib_save_LIBS
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12245 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12246 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
12247 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12249 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12250 if test "x$ac_cv_func_dlopen" = x
""yes; then :
12251 lt_cv_dlopen
="dlopen"
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12254 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12255 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12256 $as_echo_n "(cached) " >&6
12258 ac_check_lib_save_LIBS
=$LIBS
12260 if test x
$gcc_no_link = xyes
; then
12261 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12264 /* end confdefs.h. */
12266 /* Override any GCC internal prototype to avoid an error.
12267 Use char because int might match the return type of a GCC
12268 builtin and then its argument prototype would still apply. */
12281 if ac_fn_c_try_link
"$LINENO"; then :
12282 ac_cv_lib_dl_dlopen
=yes
12284 ac_cv_lib_dl_dlopen
=no
12286 rm -f core conftest.err conftest.
$ac_objext \
12287 conftest
$ac_exeext conftest.
$ac_ext
12288 LIBS
=$ac_check_lib_save_LIBS
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12291 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12292 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12293 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12296 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12297 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12298 $as_echo_n "(cached) " >&6
12300 ac_check_lib_save_LIBS
=$LIBS
12301 LIBS
="-lsvld $LIBS"
12302 if test x
$gcc_no_link = xyes
; then
12303 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12306 /* end confdefs.h. */
12308 /* Override any GCC internal prototype to avoid an error.
12309 Use char because int might match the return type of a GCC
12310 builtin and then its argument prototype would still apply. */
12323 if ac_fn_c_try_link
"$LINENO"; then :
12324 ac_cv_lib_svld_dlopen
=yes
12326 ac_cv_lib_svld_dlopen
=no
12328 rm -f core conftest.err conftest.
$ac_objext \
12329 conftest
$ac_exeext conftest.
$ac_ext
12330 LIBS
=$ac_check_lib_save_LIBS
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12333 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12334 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
12335 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12338 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12339 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12340 $as_echo_n "(cached) " >&6
12342 ac_check_lib_save_LIBS
=$LIBS
12344 if test x
$gcc_no_link = xyes
; then
12345 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12348 /* end confdefs.h. */
12350 /* Override any GCC internal prototype to avoid an error.
12351 Use char because int might match the return type of a GCC
12352 builtin and then its argument prototype would still apply. */
12360 return dld_link ();
12365 if ac_fn_c_try_link
"$LINENO"; then :
12366 ac_cv_lib_dld_dld_link
=yes
12368 ac_cv_lib_dld_dld_link
=no
12370 rm -f core conftest.err conftest.
$ac_objext \
12371 conftest
$ac_exeext conftest.
$ac_ext
12372 LIBS
=$ac_check_lib_save_LIBS
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12375 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12376 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
12377 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12398 if test "x$lt_cv_dlopen" != xno
; then
12404 case $lt_cv_dlopen in
12406 save_CPPFLAGS
="$CPPFLAGS"
12407 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12409 save_LDFLAGS
="$LDFLAGS"
12410 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12413 LIBS
="$lt_cv_dlopen_libs $LIBS"
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12416 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12417 if test "${lt_cv_dlopen_self+set}" = set; then :
12418 $as_echo_n "(cached) " >&6
12420 if test "$cross_compiling" = yes; then :
12421 lt_cv_dlopen_self
=cross
12423 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12424 lt_status
=$lt_dlunknown
12425 cat > conftest.
$ac_ext <<_LT_EOF
12426 #line 12426 "configure"
12427 #include "confdefs.h"
12436 # define LT_DLGLOBAL RTLD_GLOBAL
12439 # define LT_DLGLOBAL DL_GLOBAL
12441 # define LT_DLGLOBAL 0
12445 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12446 find out it does not work in some platform. */
12447 #ifndef LT_DLLAZY_OR_NOW
12449 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12452 # define LT_DLLAZY_OR_NOW DL_LAZY
12455 # define LT_DLLAZY_OR_NOW RTLD_NOW
12458 # define LT_DLLAZY_OR_NOW DL_NOW
12460 # define LT_DLLAZY_OR_NOW 0
12467 /* When -fvisbility=hidden is used, assume the code has been annotated
12468 correspondingly for the symbols needed. */
12469 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12470 void fnord () __attribute__((visibility("default")));
12473 void fnord () { int i=42; }
12476 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12477 int status = $lt_dlunknown;
12481 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12484 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12485 else puts (dlerror ());
12487 /* dlclose (self); */
12495 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12496 (eval $ac_link) 2>&5
12498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12499 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12500 (.
/conftest
; exit; ) >&5 2>/dev
/null
12502 case x
$lt_status in
12503 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12504 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12505 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12508 # compilation failed
12509 lt_cv_dlopen_self
=no
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12517 $as_echo "$lt_cv_dlopen_self" >&6; }
12519 if test "x$lt_cv_dlopen_self" = xyes
; then
12520 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12522 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12523 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12524 $as_echo_n "(cached) " >&6
12526 if test "$cross_compiling" = yes; then :
12527 lt_cv_dlopen_self_static
=cross
12529 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12530 lt_status
=$lt_dlunknown
12531 cat > conftest.
$ac_ext <<_LT_EOF
12532 #line 12532 "configure"
12533 #include "confdefs.h"
12542 # define LT_DLGLOBAL RTLD_GLOBAL
12545 # define LT_DLGLOBAL DL_GLOBAL
12547 # define LT_DLGLOBAL 0
12551 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12552 find out it does not work in some platform. */
12553 #ifndef LT_DLLAZY_OR_NOW
12555 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12558 # define LT_DLLAZY_OR_NOW DL_LAZY
12561 # define LT_DLLAZY_OR_NOW RTLD_NOW
12564 # define LT_DLLAZY_OR_NOW DL_NOW
12566 # define LT_DLLAZY_OR_NOW 0
12573 /* When -fvisbility=hidden is used, assume the code has been annotated
12574 correspondingly for the symbols needed. */
12575 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12576 void fnord () __attribute__((visibility("default")));
12579 void fnord () { int i=42; }
12582 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12583 int status = $lt_dlunknown;
12587 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12590 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12591 else puts (dlerror ());
12593 /* dlclose (self); */
12601 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12602 (eval $ac_link) 2>&5
12604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12605 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12606 (.
/conftest
; exit; ) >&5 2>/dev
/null
12608 case x
$lt_status in
12609 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12610 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12611 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12614 # compilation failed
12615 lt_cv_dlopen_self_static
=no
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12623 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12626 CPPFLAGS
="$save_CPPFLAGS"
12627 LDFLAGS
="$save_LDFLAGS"
12632 case $lt_cv_dlopen_self in
12633 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12634 *) enable_dlopen_self
=unknown
;;
12637 case $lt_cv_dlopen_self_static in
12638 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12639 *) enable_dlopen_self_static
=unknown
;;
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12662 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12663 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12664 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12665 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12667 $as_echo "yes" >&6; }
12669 # FIXME - insert some real tests, host_os isn't really good enough
12672 if test -n "$STRIP" ; then
12673 striplib
="$STRIP -x"
12674 old_striplib
="$STRIP -S"
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12676 $as_echo "yes" >&6; }
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12679 $as_echo "no" >&6; }
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12684 $as_echo "no" >&6; }
12700 # Report which library types will actually be built
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12702 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12704 $as_echo "$can_build_shared" >&6; }
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12707 $as_echo_n "checking whether to build shared libraries... " >&6; }
12708 test "$can_build_shared" = "no" && enable_shared
=no
12710 # On AIX, shared libraries and static libraries use the same namespace, and
12711 # are all built from PIC.
12714 test "$enable_shared" = yes && enable_static
=no
12715 if test -n "$RANLIB"; then
12716 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12717 postinstall_cmds
='$RANLIB $lib'
12722 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12723 test "$enable_shared" = yes && enable_static
=no
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12728 $as_echo "$enable_shared" >&6; }
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12731 $as_echo_n "checking whether to build static libraries... " >&6; }
12732 # Make sure either enable_shared or enable_static is yes.
12733 test "$enable_shared" = yes || enable_static
=yes
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12735 $as_echo "$enable_static" >&6; }
12742 ac_cpp
='$CPP $CPPFLAGS'
12743 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12744 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12745 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12761 ac_config_commands
="$ac_config_commands libtool"
12766 # Only expand once:
12773 *-cygwin* |
*-mingw*)
12774 # 'host' will be top-level target in the case of a target lib,
12775 # we must compare to with_cross_host to decide if this is a native
12776 # or cross-compiler and select where to install dlls appropriately.
12777 if test -n "$with_cross_host" &&
12778 test x
"$with_cross_host" != x
"no"; then
12779 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
12781 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
12793 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12795 # We need gfortran to compile parts of the library
12796 #AC_PROG_FC(gfortran)
12798 ac_ext
=${ac_fc_srcext-f}
12799 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12800 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12801 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
12802 if test -n "$ac_tool_prefix"; then
12803 for ac_prog
in gfortran
12805 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12806 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12808 $as_echo_n "checking for $ac_word... " >&6; }
12809 if test "${ac_cv_prog_FC+set}" = set; then :
12810 $as_echo_n "(cached) " >&6
12812 if test -n "$FC"; then
12813 ac_cv_prog_FC
="$FC" # Let the user override the test.
12815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12816 for as_dir
in $PATH
12819 test -z "$as_dir" && as_dir
=.
12820 for ac_exec_ext
in '' $ac_executable_extensions; do
12821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12822 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
12823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12833 if test -n "$FC"; then
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12835 $as_echo "$FC" >&6; }
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12838 $as_echo "no" >&6; }
12842 test -n "$FC" && break
12845 if test -z "$FC"; then
12847 for ac_prog
in gfortran
12849 # Extract the first word of "$ac_prog", so it can be a program name with args.
12850 set dummy
$ac_prog; ac_word
=$2
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12852 $as_echo_n "checking for $ac_word... " >&6; }
12853 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12854 $as_echo_n "(cached) " >&6
12856 if test -n "$ac_ct_FC"; then
12857 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
12859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12860 for as_dir
in $PATH
12863 test -z "$as_dir" && as_dir
=.
12864 for ac_exec_ext
in '' $ac_executable_extensions; do
12865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12866 ac_cv_prog_ac_ct_FC
="$ac_prog"
12867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12876 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
12877 if test -n "$ac_ct_FC"; then
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12879 $as_echo "$ac_ct_FC" >&6; }
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12882 $as_echo "no" >&6; }
12886 test -n "$ac_ct_FC" && break
12889 if test "x$ac_ct_FC" = x
; then
12892 case $cross_compiling:$ac_tool_warned in
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12895 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12896 ac_tool_warned
=yes ;;
12903 # Provide some information about the compiler.
12904 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12907 for ac_option
in --version -v -V -qversion; do
12908 { { ac_try
="$ac_compiler $ac_option >&5"
12909 case "(($ac_try" in
12910 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12911 *) ac_try_echo=$ac_try;;
12913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12914 $as_echo "$ac_try_echo"; } >&5
12915 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12917 if test -s conftest.err; then
12919 ... rest of stderr output deleted ...
12920 10q' conftest.err >conftest.er1
12921 cat conftest.er1 >&5
12922 rm -f conftest.er1 conftest.err
12924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12925 test $ac_status = 0; }
12929 # If we don't use `.F
' as extension, the preprocessor is not run on the
12930 # input file. (Note that this only needs to work for GNU compilers.)
12931 ac_save_ext=$ac_ext
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
12934 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
12935 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
12936 $as_echo_n "(cached) " >&6
12938 cat > conftest.$ac_ext <<_ACEOF
12946 if ac_fn_fc_try_compile "$LINENO"; then :
12947 ac_compiler_gnu=yes
12951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12952 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
12955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
12956 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
12957 ac_ext=$ac_save_ext
12958 ac_test_FCFLAGS=${FCFLAGS+set}
12959 ac_save_FCFLAGS=$FCFLAGS
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
12962 $as_echo_n "checking whether $FC accepts -g... " >&6; }
12963 if test "${ac_cv_prog_fc_g+set}" = set; then :
12964 $as_echo_n "(cached) " >&6
12967 cat > conftest.$ac_ext <<_ACEOF
12972 if ac_fn_fc_try_compile "$LINENO"; then :
12973 ac_cv_prog_fc_g=yes
12977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
12981 $as_echo "$ac_cv_prog_fc_g" >&6; }
12982 if test "$ac_test_FCFLAGS" = set; then
12983 FCFLAGS=$ac_save_FCFLAGS
12984 elif test $ac_cv_prog_fc_g = yes; then
12985 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12991 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12999 ac_cpp='$CPP $CPPFLAGS'
13000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
13001 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13004 ac_ext=${ac_fc_srcext-f}
13005 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
13006 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
13007 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13010 if test -z "$FC" || test "X$FC" = "Xno"; then
13014 archive_cmds_need_lc_FC=no
13015 allow_undefined_flag_FC=
13016 always_export_symbols_FC=no
13017 archive_expsym_cmds_FC=
13018 export_dynamic_flag_spec_FC=
13019 hardcode_direct_FC=no
13020 hardcode_direct_absolute_FC=no
13021 hardcode_libdir_flag_spec_FC=
13022 hardcode_libdir_flag_spec_ld_FC=
13023 hardcode_libdir_separator_FC=
13024 hardcode_minus_L_FC=no
13025 hardcode_automatic_FC=no
13026 inherit_rpath_FC=no
13028 module_expsym_cmds_FC=
13029 link_all_deplibs_FC=unknown
13030 old_archive_cmds_FC=$old_archive_cmds
13031 reload_flag_FC=$reload_flag
13032 reload_cmds_FC=$reload_cmds
13033 no_undefined_flag_FC=
13034 whole_archive_flag_spec_FC=
13035 enable_shared_with_static_runtimes_FC=no
13037 # Source file extension for fc test sources.
13038 ac_ext=${ac_fc_srcext-f}
13040 # Object file extension for compiled fc test sources.
13044 # No sense in running all these tests if we already determined that
13045 # the FC compiler isn't working. Some variables
(like enable_shared
)
13046 # are currently assumed to apply to all compilers on this platform,
13047 # and will be corrupted by setting them based on a non-working compiler.
13048 if test "$_lt_disable_FC" != yes; then
13049 # Code to be used in simple compile tests
13050 lt_simple_compile_test_code
="\
13056 # Code to be used in simple link tests
13057 lt_simple_link_test_code
="\
13062 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13069 # If no C compiler was specified, use CC.
13072 # If no C compiler flags were specified, use CFLAGS.
13073 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13075 # Allow CC to be a program name with arguments.
13079 # save warnings/boilerplate of simple test code
13080 ac_outfile
=conftest.
$ac_objext
13081 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13082 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13083 _lt_compiler_boilerplate
=`cat conftest.err`
13086 ac_outfile
=conftest.
$ac_objext
13087 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13088 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13089 _lt_linker_boilerplate
=`cat conftest.err`
13093 # Allow CC to be a program name with arguments.
13098 GCC
=$ac_cv_fc_compiler_gnu
13101 for cc_temp
in $compiler""; do
13103 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13104 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13109 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13112 if test -n "$compiler"; then
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13114 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13116 $as_echo "$can_build_shared" >&6; }
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13119 $as_echo_n "checking whether to build shared libraries... " >&6; }
13120 test "$can_build_shared" = "no" && enable_shared
=no
13122 # On AIX, shared libraries and static libraries use the same namespace, and
13123 # are all built from PIC.
13126 test "$enable_shared" = yes && enable_static
=no
13127 if test -n "$RANLIB"; then
13128 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13129 postinstall_cmds
='$RANLIB $lib'
13133 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13134 test "$enable_shared" = yes && enable_static
=no
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13139 $as_echo "$enable_shared" >&6; }
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13142 $as_echo_n "checking whether to build static libraries... " >&6; }
13143 # Make sure either enable_shared or enable_static is yes.
13144 test "$enable_shared" = yes || enable_static
=yes
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13146 $as_echo "$enable_static" >&6; }
13148 GCC_FC
="$ac_cv_fc_compiler_gnu"
13152 ## There is no encapsulation within the following macros, do not change
13153 ## the running order or otherwise move them around unless you know exactly
13154 ## what you are doing...
13155 # Dependencies to place before and after the object being linked:
13157 postdep_objects_FC
=
13160 compiler_lib_search_path_FC
=
13162 cat > conftest.
$ac_ext <<_LT_EOF
13171 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13172 (eval $ac_compile) 2>&5
13174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13175 test $ac_status = 0; }; then
13176 # Parse the compiler output and extract the necessary
13177 # objects, libraries and library flags.
13179 # Sentinel used to keep track of whether or not we are before
13180 # the conftest object file.
13181 pre_test_object_deps_done
=no
13183 for p
in `eval "$output_verbose_link_cmd"`; do
13187 # Some compilers place space between "-{L,R}" and the path.
13188 # Remove the space.
13189 if test $p = "-L" ||
13190 test $p = "-R"; then
13197 if test "$pre_test_object_deps_done" = no
; then
13200 # Internal compiler library paths should come after those
13201 # provided the user. The postdeps already come after the
13202 # user supplied libs so there is no need to process them.
13203 if test -z "$compiler_lib_search_path_FC"; then
13204 compiler_lib_search_path_FC
="${prev}${p}"
13206 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
13209 # The "-l" case would never come before the object being
13210 # linked, so don't bother handling this case.
13213 if test -z "$postdeps_FC"; then
13214 postdeps_FC
="${prev}${p}"
13216 postdeps_FC
="${postdeps_FC} ${prev}${p}"
13222 # This assumes that the test object file only shows up
13223 # once in the compiler output.
13224 if test "$p" = "conftest.$objext"; then
13225 pre_test_object_deps_done
=yes
13229 if test "$pre_test_object_deps_done" = no
; then
13230 if test -z "$predep_objects_FC"; then
13231 predep_objects_FC
="$p"
13233 predep_objects_FC
="$predep_objects_FC $p"
13236 if test -z "$postdep_objects_FC"; then
13237 postdep_objects_FC
="$p"
13239 postdep_objects_FC
="$postdep_objects_FC $p"
13244 *) ;; # Ignore the rest.
13252 echo "libtool.m4: error: problem compiling FC test program"
13255 $RM -f confest.
$objext
13257 # PORTME: override above test on systems where it is broken
13260 case " $postdeps_FC " in
13261 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
13263 compiler_lib_search_dirs_FC
=
13264 if test -n "${compiler_lib_search_path_FC}"; then
13265 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13298 lt_prog_compiler_wl_FC
=
13299 lt_prog_compiler_pic_FC
=
13300 lt_prog_compiler_static_FC
=
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13303 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13305 if test "$GCC" = yes; then
13306 lt_prog_compiler_wl_FC
='-Wl,'
13307 lt_prog_compiler_static_FC
='-static'
13311 # All AIX code is PIC.
13312 if test "$host_cpu" = ia64
; then
13313 # AIX 5 now supports IA64 processor
13314 lt_prog_compiler_static_FC
='-Bstatic'
13316 lt_prog_compiler_pic_FC
='-fPIC'
13322 # see comment about AmigaOS4 .so support
13323 lt_prog_compiler_pic_FC
='-fPIC'
13326 # FIXME: we need at least 68020 code to build shared libraries, but
13327 # adding the `-m68020' flag to GCC prevents building anything better,
13329 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
13334 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13335 # PIC is the default for these OSes.
13338 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13339 # This hack is so that the source file can tell whether it is being
13340 # built for inclusion in a dll (and should export symbols for example).
13341 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13342 # (--disable-auto-import) libraries
13343 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13346 darwin
* | rhapsody
*)
13347 # PIC is the default on this platform
13348 # Common symbols not allowed in MH_DYLIB files
13349 lt_prog_compiler_pic_FC
='-fno-common'
13353 # PIC is the default for Haiku.
13354 # The "-static" flag exists, but is broken.
13355 lt_prog_compiler_static_FC
=
13359 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13360 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13361 # sets the default TLS model and affects inlining.
13367 lt_prog_compiler_pic_FC
='-fPIC'
13373 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13374 # Instead, we relocate shared libraries at runtime.
13378 # Just because we use GCC doesn't mean we suddenly get shared libraries
13379 # on systems that don't support them.
13380 lt_prog_compiler_can_build_shared_FC
=no
13385 # QNX uses GNU C++, but need to define -shared option too, otherwise
13386 # it will coredump.
13387 lt_prog_compiler_pic_FC
='-fPIC -shared'
13391 if test -d /usr
/nec
; then
13392 lt_prog_compiler_pic_FC
=-Kconform_pic
13397 lt_prog_compiler_pic_FC
='-fPIC'
13401 case $cc_basename in
13402 nvcc
*) # Cuda Compiler Driver 2.2
13403 lt_prog_compiler_wl_FC
='-Xlinker '
13404 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
13408 # PORTME Check for flag to pass linker flags through the system compiler.
13411 lt_prog_compiler_wl_FC
='-Wl,'
13412 if test "$host_cpu" = ia64
; then
13413 # AIX 5 now supports IA64 processor
13414 lt_prog_compiler_static_FC
='-Bstatic'
13416 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
13420 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13421 # This hack is so that the source file can tell whether it is being
13422 # built for inclusion in a dll (and should export symbols for example).
13423 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13426 hpux9
* | hpux10
* | hpux11
*)
13427 lt_prog_compiler_wl_FC
='-Wl,'
13428 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13429 # not for PA HP-UX.
13435 lt_prog_compiler_pic_FC
='+Z'
13438 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13439 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
13442 irix5
* | irix6
* | nonstopux
*)
13443 lt_prog_compiler_wl_FC
='-Wl,'
13444 # PIC (with -KPIC) is the default.
13445 lt_prog_compiler_static_FC
='-non_shared'
13448 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13449 case $cc_basename in
13450 # old Intel for x86_64 which still supported -KPIC.
13452 lt_prog_compiler_wl_FC
='-Wl,'
13453 lt_prog_compiler_pic_FC
='-KPIC'
13454 lt_prog_compiler_static_FC
='-static'
13456 # icc used to be incompatible with GCC.
13457 # ICC 10 doesn't accept -KPIC any more.
13459 lt_prog_compiler_wl_FC
='-Wl,'
13460 lt_prog_compiler_pic_FC
='-fPIC'
13461 lt_prog_compiler_static_FC
='-static'
13463 # Lahey Fortran 8.1.
13465 lt_prog_compiler_wl_FC
='-Wl,'
13466 lt_prog_compiler_pic_FC
='--shared'
13467 lt_prog_compiler_static_FC
='--static'
13469 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13470 # Portland Group compilers (*not* the Pentium gcc compiler,
13471 # which looks to be a dead project)
13472 lt_prog_compiler_wl_FC
='-Wl,'
13473 lt_prog_compiler_pic_FC
='-fpic'
13474 lt_prog_compiler_static_FC
='-Bstatic'
13477 lt_prog_compiler_wl_FC
='-Wl,'
13478 # All Alpha code is PIC.
13479 lt_prog_compiler_static_FC
='-non_shared'
13481 xl
* | bgxl
* | bgf
* | mpixl
*)
13482 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13483 lt_prog_compiler_wl_FC
='-Wl,'
13484 lt_prog_compiler_pic_FC
='-qpic'
13485 lt_prog_compiler_static_FC
='-qstaticlink'
13488 case `$CC -V 2>&1 | sed 5q` in
13489 *Sun\ F
* |
*Sun
*Fortran
*)
13490 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13491 lt_prog_compiler_pic_FC
='-KPIC'
13492 lt_prog_compiler_static_FC
='-Bstatic'
13493 lt_prog_compiler_wl_FC
=''
13497 lt_prog_compiler_pic_FC
='-KPIC'
13498 lt_prog_compiler_static_FC
='-Bstatic'
13499 lt_prog_compiler_wl_FC
='-Wl,'
13507 lt_prog_compiler_pic_FC
='-KPIC'
13508 lt_prog_compiler_static_FC
='-Bstatic'
13512 # QNX uses GNU C++, but need to define -shared option too, otherwise
13513 # it will coredump.
13514 lt_prog_compiler_pic_FC
='-fPIC -shared'
13517 osf3
* | osf4
* | osf5
*)
13518 lt_prog_compiler_wl_FC
='-Wl,'
13519 # All OSF/1 code is PIC.
13520 lt_prog_compiler_static_FC
='-non_shared'
13524 lt_prog_compiler_static_FC
='-non_shared'
13528 lt_prog_compiler_pic_FC
='-KPIC'
13529 lt_prog_compiler_static_FC
='-Bstatic'
13530 case $cc_basename in
13531 f77
* | f90
* | f95
*)
13532 lt_prog_compiler_wl_FC
='-Qoption ld ';;
13534 lt_prog_compiler_wl_FC
='-Wl,';;
13539 lt_prog_compiler_wl_FC
='-Qoption ld '
13540 lt_prog_compiler_pic_FC
='-PIC'
13541 lt_prog_compiler_static_FC
='-Bstatic'
13544 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13545 lt_prog_compiler_wl_FC
='-Wl,'
13546 lt_prog_compiler_pic_FC
='-KPIC'
13547 lt_prog_compiler_static_FC
='-Bstatic'
13551 if test -d /usr
/nec
;then
13552 lt_prog_compiler_pic_FC
='-Kconform_pic'
13553 lt_prog_compiler_static_FC
='-Bstatic'
13557 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13558 lt_prog_compiler_wl_FC
='-Wl,'
13559 lt_prog_compiler_pic_FC
='-KPIC'
13560 lt_prog_compiler_static_FC
='-Bstatic'
13564 lt_prog_compiler_wl_FC
='-Wl,'
13565 lt_prog_compiler_can_build_shared_FC
=no
13569 lt_prog_compiler_pic_FC
='-pic'
13570 lt_prog_compiler_static_FC
='-Bstatic'
13574 lt_prog_compiler_can_build_shared_FC
=no
13580 # For platforms which do not support PIC, -DPIC is meaningless:
13582 lt_prog_compiler_pic_FC
=
13585 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13589 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13594 # Check to make sure the PIC flag actually works.
13596 if test -n "$lt_prog_compiler_pic_FC"; then
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13598 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13599 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13600 $as_echo_n "(cached) " >&6
13602 lt_cv_prog_compiler_pic_works_FC
=no
13603 ac_outfile
=conftest.
$ac_objext
13604 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13605 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
13606 # Insert the option either (1) after the last *FLAGS variable, or
13607 # (2) before a word containing "conftest.", or (3) at the end.
13608 # Note that $ac_compile itself does not contain backslashes and begins
13609 # with a dollar sign (not a hyphen), so the echo should work correctly.
13610 # The option is referenced via a variable to avoid confusing sed.
13611 lt_compile
=`echo "$ac_compile" | $SED \
13612 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13613 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13614 -e 's:$: $lt_compiler_flag:'`
13615 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13616 (eval "$lt_compile" 2>conftest.err
)
13618 cat conftest.err
>&5
13619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13620 if (exit $ac_status) && test -s "$ac_outfile"; then
13621 # The compiler can only warn and ignore the option if not recognized
13622 # So say no if there are warnings other than the usual output.
13623 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13624 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13625 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13626 lt_cv_prog_compiler_pic_works_FC
=yes
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13633 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13635 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
13636 case $lt_prog_compiler_pic_FC in
13638 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
13641 lt_prog_compiler_pic_FC
=
13642 lt_prog_compiler_can_build_shared_FC
=no
13650 # Check to make sure the static flag actually works.
13652 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13654 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13655 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13656 $as_echo_n "(cached) " >&6
13658 lt_cv_prog_compiler_static_works_FC
=no
13659 save_LDFLAGS
="$LDFLAGS"
13660 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13661 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13662 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13663 # The linker can only warn and ignore the option if not recognized
13664 # So say no if there are warnings
13665 if test -s conftest.err
; then
13666 # Append any errors to the config.log.
13667 cat conftest.err
1>&5
13668 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13669 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13670 if diff conftest.exp conftest.er2
>/dev
/null
; then
13671 lt_cv_prog_compiler_static_works_FC
=yes
13674 lt_cv_prog_compiler_static_works_FC
=yes
13678 LDFLAGS
="$save_LDFLAGS"
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13682 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13684 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
13687 lt_prog_compiler_static_FC
=
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13694 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13695 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13696 $as_echo_n "(cached) " >&6
13698 lt_cv_prog_compiler_c_o_FC
=no
13699 $RM -r conftest
2>/dev
/null
13703 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13705 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13706 # Insert the option either (1) after the last *FLAGS variable, or
13707 # (2) before a word containing "conftest.", or (3) at the end.
13708 # Note that $ac_compile itself does not contain backslashes and begins
13709 # with a dollar sign (not a hyphen), so the echo should work correctly.
13710 lt_compile
=`echo "$ac_compile" | $SED \
13711 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13712 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13713 -e 's:$: $lt_compiler_flag:'`
13714 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13715 (eval "$lt_compile" 2>out
/conftest.err
)
13717 cat out
/conftest.err
>&5
13718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13719 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13721 # The compiler can only warn and ignore the option if not recognized
13722 # So say no if there are warnings
13723 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13724 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13725 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13726 lt_cv_prog_compiler_c_o_FC
=yes
13731 # SGI C++ compiler will create directory out/ii_files/ for
13732 # template instantiation
13733 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13734 $RM out
/* && rmdir out
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13741 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13746 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13747 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13748 $as_echo_n "(cached) " >&6
13750 lt_cv_prog_compiler_c_o_FC
=no
13751 $RM -r conftest
2>/dev
/null
13755 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13757 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13758 # Insert the option either (1) after the last *FLAGS variable, or
13759 # (2) before a word containing "conftest.", or (3) at the end.
13760 # Note that $ac_compile itself does not contain backslashes and begins
13761 # with a dollar sign (not a hyphen), so the echo should work correctly.
13762 lt_compile
=`echo "$ac_compile" | $SED \
13763 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13764 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13765 -e 's:$: $lt_compiler_flag:'`
13766 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13767 (eval "$lt_compile" 2>out
/conftest.err
)
13769 cat out
/conftest.err
>&5
13770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13771 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13773 # The compiler can only warn and ignore the option if not recognized
13774 # So say no if there are warnings
13775 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13776 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13777 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13778 lt_cv_prog_compiler_c_o_FC
=yes
13783 # SGI C++ compiler will create directory out/ii_files/ for
13784 # template instantiation
13785 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13786 $RM out
/* && rmdir out
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13793 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13798 hard_links
="nottested"
13799 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
13800 # do not overwrite the value of need_locks provided by the user
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13802 $as_echo_n "checking if we can lock with hard links... " >&6; }
13805 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13807 ln conftest.a conftest.b
2>&5 || hard_links
=no
13808 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13810 $as_echo "$hard_links" >&6; }
13811 if test "$hard_links" = no
; then
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13813 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13823 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13826 allow_undefined_flag_FC
=
13827 always_export_symbols_FC
=no
13829 archive_expsym_cmds_FC
=
13830 compiler_needs_object_FC
=no
13831 enable_shared_with_static_runtimes_FC
=no
13832 export_dynamic_flag_spec_FC
=
13833 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13834 hardcode_automatic_FC
=no
13835 hardcode_direct_FC
=no
13836 hardcode_direct_absolute_FC
=no
13837 hardcode_libdir_flag_spec_FC
=
13838 hardcode_libdir_flag_spec_ld_FC
=
13839 hardcode_libdir_separator_FC
=
13840 hardcode_minus_L_FC
=no
13841 hardcode_shlibpath_var_FC
=unsupported
13842 inherit_rpath_FC
=no
13843 link_all_deplibs_FC
=unknown
13845 module_expsym_cmds_FC
=
13846 old_archive_from_new_cmds_FC
=
13847 old_archive_from_expsyms_cmds_FC
=
13848 thread_safe_flag_spec_FC
=
13849 whole_archive_flag_spec_FC
=
13850 # include_expsyms should be a list of space-separated symbols to be *always*
13851 # included in the symbol list
13852 include_expsyms_FC
=
13853 # exclude_expsyms can be an extended regexp of symbols to exclude
13854 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13855 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13856 # as well as any symbol that contains `d'.
13857 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13858 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13859 # platforms (ab)use it in PIC code, but their linkers get confused if
13860 # the symbol is explicitly referenced. Since portable code cannot
13861 # rely on this symbol name, it's probably fine to never include it in
13862 # preloaded symbol tables.
13863 # Exclude shared library initialization/finalization symbols.
13864 extract_expsyms_cmds
=
13867 cygwin
* | mingw
* | pw32
* | cegcc
*)
13868 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13869 # When not using gcc, we currently assume that we are using
13870 # Microsoft Visual C++.
13871 if test "$GCC" != yes; then
13876 # we just hope/assume this is gcc and not c89 (= MSVC++)
13886 # On some targets, GNU ld is compatible enough with the native linker
13887 # that we're better off using the native interface for both.
13888 lt_use_gnu_ld_interface
=no
13889 if test "$with_gnu_ld" = yes; then
13892 # The AIX port of GNU ld has always aspired to compatibility
13893 # with the native linker. However, as the warning in the GNU ld
13894 # block says, versions before 2.19.5* couldn't really create working
13895 # shared libraries, regardless of the interface used.
13896 case `$LD -v 2>&1` in
13897 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
13898 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
13899 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
13901 lt_use_gnu_ld_interface
=yes
13906 lt_use_gnu_ld_interface
=yes
13911 if test "$lt_use_gnu_ld_interface" = yes; then
13912 # If archive_cmds runs LD, not CC, wlarc should be empty
13915 # Set some defaults for GNU ld with shared library support. These
13916 # are reset later if shared libraries are not supported. Putting them
13917 # here allows them to be overridden if necessary.
13918 runpath_var
=LD_RUN_PATH
13919 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13920 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
13921 # ancient GNU ld didn't support --whole-archive et. al.
13922 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
13923 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13925 whole_archive_flag_spec_FC
=
13927 supports_anon_versioning
=no
13928 case `$LD -v 2>&1` in
13929 *GNU\ gold
*) supports_anon_versioning
=yes ;;
13930 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13931 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13932 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13933 *\
2.11.
*) ;; # other 2.11 versions
13934 *) supports_anon_versioning
=yes ;;
13937 # See if GNU ld supports shared libraries.
13940 # On AIX/PPC, the GNU linker is very broken
13941 if test "$host_cpu" != ia64
; then
13945 *** Warning: the GNU linker, at least up to release 2.19, is reported
13946 *** to be unable to reliably create shared libraries on AIX.
13947 *** Therefore, libtool is disabling shared libraries support. If you
13948 *** really care for shared libraries, you may want to install binutils
13949 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13950 *** You will then need to restart the configuration process.
13959 # see comment about AmigaOS4 .so support
13960 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13961 archive_expsym_cmds_FC
=''
13964 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)'
13965 hardcode_libdir_flag_spec_FC
='-L$libdir'
13966 hardcode_minus_L_FC
=yes
13972 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13973 allow_undefined_flag_FC
=unsupported
13974 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13975 # support --undefined. This deserves some investigation. FIXME
13976 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13982 cygwin
* | mingw
* | pw32
* | cegcc
*)
13983 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
13984 # as there is no search path for DLLs.
13985 hardcode_libdir_flag_spec_FC
='-L$libdir'
13986 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
13987 allow_undefined_flag_FC
=unsupported
13988 always_export_symbols_FC
=no
13989 enable_shared_with_static_runtimes_FC
=yes
13990 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13992 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13993 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13994 # If the export-symbols file already is a .def file (1st line
13995 # is EXPORTS), use it as is; otherwise, prepend...
13996 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13997 cp $export_symbols $output_objdir/$soname.def;
13999 echo EXPORTS > $output_objdir/$soname.def;
14000 cat $export_symbols >> $output_objdir/$soname.def;
14002 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14009 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14010 link_all_deplibs_FC
=yes
14014 hardcode_direct_FC
=no
14015 hardcode_shlibpath_var_FC
=no
14016 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14017 export_dynamic_flag_spec_FC
='${wl}-E'
14018 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14019 # Instead, shared libraries are loaded at an image base (0x10000000 by
14020 # default) and relocated if they conflict, which is a slow very memory
14021 # consuming and fragmenting process. To avoid this, we pick a random,
14022 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14023 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14024 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'
14025 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'
14028 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14030 if test "$host_os" = linux-dietlibc
; then
14031 case $cc_basename in
14032 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
14035 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
14036 && test "$tmp_diet" = no
14038 tmp_addflag
=' $pic_flag'
14039 tmp_sharedflag
='-shared'
14040 case $cc_basename,$host_cpu in
14041 pgcc
*) # Portland Group C compiler
14042 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'
14043 tmp_addflag
=' $pic_flag'
14045 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
14046 # Portland Group f77 and f90 compilers
14047 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'
14048 tmp_addflag
=' $pic_flag -Mnomain' ;;
14049 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14050 tmp_addflag
=' -i_dynamic' ;;
14051 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14052 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14053 ifc
* | ifort
*) # Intel Fortran compiler
14054 tmp_addflag
=' -nofor_main' ;;
14055 lf95
*) # Lahey Fortran 8.1
14056 whole_archive_flag_spec_FC
=
14057 tmp_sharedflag
='--shared' ;;
14058 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14059 tmp_sharedflag
='-qmkshrobj'
14061 nvcc
*) # Cuda Compiler Driver 2.2
14062 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'
14063 compiler_needs_object_FC
=yes
14066 case `$CC -V 2>&1 | sed 5q` in
14067 *Sun\ C
*) # Sun C 5.9
14068 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'
14069 compiler_needs_object_FC
=yes
14070 tmp_sharedflag
='-G' ;;
14071 *Sun\ F
*) # Sun Fortran 8.3
14072 tmp_sharedflag
='-G' ;;
14074 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14076 if test "x$supports_anon_versioning" = xyes
; then
14077 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14078 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14079 echo "local: *; };" >> $output_objdir/$libname.ver~
14080 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14083 case $cc_basename in
14084 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
14085 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14086 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
14087 hardcode_libdir_flag_spec_FC
=
14088 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
14089 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14090 if test "x$supports_anon_versioning" = xyes
; then
14091 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14092 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14093 echo "local: *; };" >> $output_objdir/$libname.ver~
14094 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14104 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14105 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14108 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14109 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14114 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
14118 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14119 *** create shared libraries on Solaris systems. Therefore, libtool
14120 *** is disabling shared libraries support. We urge you to upgrade GNU
14121 *** binutils to release 2.9.1 or newer. Another option is to modify
14122 *** your PATH or compiler configuration so that the native linker is
14123 *** used, and then restart.
14126 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14127 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14128 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14134 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14135 case `$LD -v 2>&1` in
14136 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14140 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14141 *** reliably create shared libraries on SCO systems. Therefore, libtool
14142 *** is disabling shared libraries support. We urge you to upgrade GNU
14143 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14144 *** your PATH or compiler configuration so that the native linker is
14145 *** used, and then restart.
14150 # For security reasons, it is highly recommended that you always
14151 # use absolute paths for naming shared libraries, and exclude the
14152 # DT_RUNPATH tag from executables and libraries. But doing so
14153 # requires that you compile everything twice, which is a pain.
14154 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14155 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14156 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14157 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14166 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14168 hardcode_direct_FC
=yes
14169 hardcode_shlibpath_var_FC
=no
14173 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14174 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14175 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14182 if test "$ld_shlibs_FC" = no
; then
14184 hardcode_libdir_flag_spec_FC
=
14185 export_dynamic_flag_spec_FC
=
14186 whole_archive_flag_spec_FC
=
14189 # PORTME fill in a description of your system's linker (not GNU ld)
14192 allow_undefined_flag_FC
=unsupported
14193 always_export_symbols_FC
=yes
14194 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'
14195 # Note: this linker hardcodes the directories in LIBPATH if there
14196 # are no directories specified by -L.
14197 hardcode_minus_L_FC
=yes
14198 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14199 # Neither direct hardcoding nor static linking is supported with a
14201 hardcode_direct_FC
=unsupported
14206 if test "$host_cpu" = ia64
; then
14207 # On IA64, the linker does run time linking by default, so we don't
14208 # have to do anything special.
14209 aix_use_runtimelinking
=no
14210 exp_sym_flag
='-Bexport'
14213 # If we're using GNU nm, then we don't want the "-C" option.
14214 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14215 # Also, AIX nm treats weak defined symbols like other global
14216 # defined symbols, whereas GNU nm marks them as "W".
14217 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14218 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'
14220 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'
14222 aix_use_runtimelinking
=no
14224 # Test if we are trying to use run time linking or normal
14225 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14226 # need to do runtime linking.
14227 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14228 for ld_flag
in $LDFLAGS; do
14229 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14230 aix_use_runtimelinking
=yes
14237 exp_sym_flag
='-bexport'
14238 no_entry_flag
='-bnoentry'
14241 # When large executables or shared objects are built, AIX ld can
14242 # have problems creating the table of contents. If linking a library
14243 # or program results in "error TOC overflow" add -mminimal-toc to
14244 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14245 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14248 hardcode_direct_FC
=yes
14249 hardcode_direct_absolute_FC
=yes
14250 hardcode_libdir_separator_FC
=':'
14251 link_all_deplibs_FC
=yes
14252 file_list_spec_FC
='${wl}-f,'
14254 if test "$GCC" = yes; then
14255 case $host_os in aix4.
[012]|aix4.
[012].
*)
14256 # We only want to do this on AIX 4.2 and lower, the check
14257 # below for broken collect2 doesn't work under 4.3+
14258 collect2name
=`${CC} -print-prog-name=collect2`
14259 if test -f "$collect2name" &&
14260 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14262 # We have reworked collect2
14265 # We have old collect2
14266 hardcode_direct_FC
=unsupported
14267 # It fails to find uninstalled libraries when the uninstalled
14268 # path is not listed in the libpath. Setting hardcode_minus_L
14269 # to unsupported forces relinking
14270 hardcode_minus_L_FC
=yes
14271 hardcode_libdir_flag_spec_FC
='-L$libdir'
14272 hardcode_libdir_separator_FC
=
14276 shared_flag
='-shared'
14277 if test "$aix_use_runtimelinking" = yes; then
14278 shared_flag
="$shared_flag "'${wl}-G'
14282 if test "$host_cpu" = ia64
; then
14283 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14284 # chokes on -Wl,-G. The following line is correct:
14287 if test "$aix_use_runtimelinking" = yes; then
14288 shared_flag
='${wl}-G'
14290 shared_flag
='${wl}-bM:SRE'
14295 export_dynamic_flag_spec_FC
='${wl}-bexpall'
14296 # It seems that -bexpall does not export symbols beginning with
14297 # underscore (_), so it is better to generate a list of symbols to export.
14298 always_export_symbols_FC
=yes
14299 if test "$aix_use_runtimelinking" = yes; then
14300 # Warning - without using the other runtime loading flags (-brtl),
14301 # -berok will link without error, but may produce a broken library.
14302 allow_undefined_flag_FC
='-berok'
14303 # Determine the default libpath from the value encoded in an
14304 # empty executable.
14305 if test x
$gcc_no_link = xyes
; then
14306 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14308 cat > conftest.
$ac_ext <<_ACEOF
14313 if ac_fn_fc_try_link
"$LINENO"; then :
14315 lt_aix_libpath_sed
='
14316 /Import File Strings/,/^$/ {
14322 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14323 # Check for a 64-bit object if we didn't find anything.
14324 if test -z "$aix_libpath"; then
14325 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14328 rm -f core conftest.err conftest.
$ac_objext \
14329 conftest
$ac_exeext conftest.
$ac_ext
14330 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14332 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14333 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"
14335 if test "$host_cpu" = ia64
; then
14336 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
14337 allow_undefined_flag_FC
="-z nodefs"
14338 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"
14340 # Determine the default libpath from the value encoded in an
14341 # empty executable.
14342 if test x
$gcc_no_link = xyes
; then
14343 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14345 cat > conftest.
$ac_ext <<_ACEOF
14350 if ac_fn_fc_try_link
"$LINENO"; then :
14352 lt_aix_libpath_sed
='
14353 /Import File Strings/,/^$/ {
14359 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14360 # Check for a 64-bit object if we didn't find anything.
14361 if test -z "$aix_libpath"; then
14362 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14365 rm -f core conftest.err conftest.
$ac_objext \
14366 conftest
$ac_exeext conftest.
$ac_ext
14367 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14369 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14370 # Warning - without using the other run time loading flags,
14371 # -berok will link without error, but may produce a broken library.
14372 no_undefined_flag_FC
=' ${wl}-bernotok'
14373 allow_undefined_flag_FC
=' ${wl}-berok'
14374 if test "$with_gnu_ld" = yes; then
14375 # We only use this code for GNU lds that support --whole-archive.
14376 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14378 # Exported symbols can be pulled into shared objects from archives
14379 whole_archive_flag_spec_FC
='$convenience'
14381 archive_cmds_need_lc_FC
=yes
14382 # This is similar to how AIX traditionally builds its shared libraries.
14383 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'
14391 # see comment about AmigaOS4 .so support
14392 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14393 archive_expsym_cmds_FC
=''
14396 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)'
14397 hardcode_libdir_flag_spec_FC
='-L$libdir'
14398 hardcode_minus_L_FC
=yes
14404 export_dynamic_flag_spec_FC
=-rdynamic
14407 cygwin
* | mingw
* | pw32
* | cegcc
*)
14408 # When not using gcc, we currently assume that we are using
14409 # Microsoft Visual C++.
14410 # hardcode_libdir_flag_spec is actually meaningless, as there is
14411 # no search path for DLLs.
14412 hardcode_libdir_flag_spec_FC
=' '
14413 allow_undefined_flag_FC
=unsupported
14414 # Tell ltmain to make .lib files, not .a files.
14416 # Tell ltmain to make .dll files, not .so files.
14418 # FIXME: Setting linknames here is a bad hack.
14419 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14420 # The linker will automatically build a .lib file if we build a DLL.
14421 old_archive_from_new_cmds_FC
='true'
14422 # FIXME: Should let the user specify the lib program.
14423 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14424 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
14425 enable_shared_with_static_runtimes_FC
=yes
14428 darwin
* | rhapsody
*)
14431 archive_cmds_need_lc_FC
=no
14432 hardcode_direct_FC
=no
14433 hardcode_automatic_FC
=yes
14434 hardcode_shlibpath_var_FC
=unsupported
14435 if test "$lt_cv_ld_force_load" = "yes"; then
14436 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\"`'
14438 whole_archive_flag_spec_FC
=''
14440 link_all_deplibs_FC
=yes
14441 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
14442 case $cc_basename in
14443 ifort
*) _lt_dar_can_shared
=yes ;;
14444 *) _lt_dar_can_shared
=$GCC ;;
14446 if test "$_lt_dar_can_shared" = "yes"; then
14447 output_verbose_link_cmd
=func_echo_all
14448 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}"
14449 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14450 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}"
14451 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}"
14460 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14461 hardcode_libdir_flag_spec_FC
='-L$libdir'
14462 hardcode_shlibpath_var_FC
=no
14465 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14466 # support. Future versions do this automatically, but an explicit c++rt0.o
14467 # does not break anything, and helps significantly (at the cost of a little
14470 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14471 hardcode_libdir_flag_spec_FC
='-R$libdir'
14472 hardcode_direct_FC
=yes
14473 hardcode_shlibpath_var_FC
=no
14476 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14478 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14479 hardcode_direct_FC
=yes
14480 hardcode_minus_L_FC
=yes
14481 hardcode_shlibpath_var_FC
=no
14484 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14485 freebsd
* | dragonfly
*)
14486 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14487 hardcode_libdir_flag_spec_FC
='-R$libdir'
14488 hardcode_direct_FC
=yes
14489 hardcode_shlibpath_var_FC
=no
14493 if test "$GCC" = yes; then
14494 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'
14496 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'
14498 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14499 hardcode_libdir_separator_FC
=:
14500 hardcode_direct_FC
=yes
14502 # hardcode_minus_L: Not really in the search PATH,
14503 # but as the default location of the library.
14504 hardcode_minus_L_FC
=yes
14505 export_dynamic_flag_spec_FC
='${wl}-E'
14509 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14510 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14512 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14514 if test "$with_gnu_ld" = no
; then
14515 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14516 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
14517 hardcode_libdir_separator_FC
=:
14518 hardcode_direct_FC
=yes
14519 hardcode_direct_absolute_FC
=yes
14520 export_dynamic_flag_spec_FC
='${wl}-E'
14521 # hardcode_minus_L: Not really in the search PATH,
14522 # but as the default location of the library.
14523 hardcode_minus_L_FC
=yes
14528 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14531 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14534 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14537 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14543 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14546 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14549 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14553 if test "$with_gnu_ld" = no
; then
14554 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14555 hardcode_libdir_separator_FC
=:
14559 hardcode_direct_FC
=no
14560 hardcode_shlibpath_var_FC
=no
14563 hardcode_direct_FC
=yes
14564 hardcode_direct_absolute_FC
=yes
14565 export_dynamic_flag_spec_FC
='${wl}-E'
14567 # hardcode_minus_L: Not really in the search PATH,
14568 # but as the default location of the library.
14569 hardcode_minus_L_FC
=yes
14575 irix5
* | irix6
* | nonstopux
*)
14576 if test "$GCC" = yes; then
14577 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'
14578 # Try to use the -exported_symbol ld option, if it does not
14579 # work, assume that -exports_file does not work either and
14580 # implicitly export all symbols.
14581 save_LDFLAGS
="$LDFLAGS"
14582 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14583 if test x
$gcc_no_link = xyes
; then
14584 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14586 cat > conftest.
$ac_ext <<_ACEOF
14589 if ac_fn_fc_try_link
"$LINENO"; then :
14590 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'
14593 rm -f core conftest.err conftest.
$ac_objext \
14594 conftest
$ac_exeext conftest.
$ac_ext
14595 LDFLAGS
="$save_LDFLAGS"
14597 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'
14598 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'
14600 archive_cmds_need_lc_FC
='no'
14601 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14602 hardcode_libdir_separator_FC
=:
14603 inherit_rpath_FC
=yes
14604 link_all_deplibs_FC
=yes
14608 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14609 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14611 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14613 hardcode_libdir_flag_spec_FC
='-R$libdir'
14614 hardcode_direct_FC
=yes
14615 hardcode_shlibpath_var_FC
=no
14619 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14620 hardcode_direct_FC
=yes
14621 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14622 hardcode_libdir_separator_FC
=:
14623 hardcode_shlibpath_var_FC
=no
14630 if test -f /usr
/libexec
/ld.so
; then
14631 hardcode_direct_FC
=yes
14632 hardcode_shlibpath_var_FC
=no
14633 hardcode_direct_absolute_FC
=yes
14634 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14635 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14636 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14637 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14638 export_dynamic_flag_spec_FC
='${wl}-E'
14641 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14642 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14643 hardcode_libdir_flag_spec_FC
='-R$libdir'
14646 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14647 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14657 hardcode_libdir_flag_spec_FC
='-L$libdir'
14658 hardcode_minus_L_FC
=yes
14659 allow_undefined_flag_FC
=unsupported
14660 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'
14661 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14665 if test "$GCC" = yes; then
14666 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14667 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'
14669 allow_undefined_flag_FC
=' -expect_unresolved \*'
14670 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'
14672 archive_cmds_need_lc_FC
='no'
14673 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14674 hardcode_libdir_separator_FC
=:
14677 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14678 if test "$GCC" = yes; then
14679 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14680 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'
14681 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14683 allow_undefined_flag_FC
=' -expect_unresolved \*'
14684 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'
14685 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~
14686 $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'
14688 # Both c and cxx compiler support -rpath directly
14689 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
14691 archive_cmds_need_lc_FC
='no'
14692 hardcode_libdir_separator_FC
=:
14696 no_undefined_flag_FC
=' -z defs'
14697 if test "$GCC" = yes; then
14699 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14700 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14701 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14703 case `$CC -V 2>&1` in
14706 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14707 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14708 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14712 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14713 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14714 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14718 hardcode_libdir_flag_spec_FC
='-R$libdir'
14719 hardcode_shlibpath_var_FC
=no
14721 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14723 # The compiler driver will combine and reorder linker options,
14724 # but understands `-z linker_flag'. GCC discards it without `$wl',
14725 # but is careful enough not to reorder.
14726 # Supported since Solaris 2.6 (maybe 2.5.1?)
14727 if test "$GCC" = yes; then
14728 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14730 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
14734 link_all_deplibs_FC
=yes
14738 if test "x$host_vendor" = xsequent
; then
14739 # Use $CC to link under sequent, because it throws in some extra .o
14740 # files that make .init and .fini sections work.
14741 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14743 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14745 hardcode_libdir_flag_spec_FC
='-L$libdir'
14746 hardcode_direct_FC
=yes
14747 hardcode_minus_L_FC
=yes
14748 hardcode_shlibpath_var_FC
=no
14752 case $host_vendor in
14754 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14755 hardcode_direct_FC
=yes # is this really true???
14758 ## LD is ld it makes a PLAMLIB
14759 ## CC just makes a GrossModule.
14760 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14761 reload_cmds_FC
='$CC -r -o $output$reload_objs'
14762 hardcode_direct_FC
=no
14765 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14766 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
14769 runpath_var
='LD_RUN_PATH'
14770 hardcode_shlibpath_var_FC
=no
14774 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14775 hardcode_shlibpath_var_FC
=no
14776 export_dynamic_flag_spec_FC
='-Bexport'
14780 if test -d /usr
/nec
; then
14781 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14782 hardcode_shlibpath_var_FC
=no
14783 runpath_var
=LD_RUN_PATH
14784 hardcode_runpath_var
=yes
14789 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14790 no_undefined_flag_FC
='${wl}-z,text'
14791 archive_cmds_need_lc_FC
=no
14792 hardcode_shlibpath_var_FC
=no
14793 runpath_var
='LD_RUN_PATH'
14795 if test "$GCC" = yes; then
14796 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14797 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14799 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14800 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14804 sysv5
* | sco3.2v5
* | sco5v6
*)
14805 # Note: We can NOT use -z defs as we might desire, because we do not
14806 # link with -lc, and that would cause any symbols used from libc to
14807 # always be unresolved, which means just about no library would
14808 # ever link correctly. If we're not using GNU ld we use -z text
14809 # though, which does catch some bad symbols but isn't as heavy-handed
14811 no_undefined_flag_FC
='${wl}-z,text'
14812 allow_undefined_flag_FC
='${wl}-z,nodefs'
14813 archive_cmds_need_lc_FC
=no
14814 hardcode_shlibpath_var_FC
=no
14815 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
14816 hardcode_libdir_separator_FC
=':'
14817 link_all_deplibs_FC
=yes
14818 export_dynamic_flag_spec_FC
='${wl}-Bexport'
14819 runpath_var
='LD_RUN_PATH'
14821 if test "$GCC" = yes; then
14822 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14823 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14825 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14826 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14831 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14832 hardcode_libdir_flag_spec_FC
='-L$libdir'
14833 hardcode_shlibpath_var_FC
=no
14841 if test x
$host_vendor = xsni
; then
14843 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
14844 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14851 $as_echo "$ld_shlibs_FC" >&6; }
14852 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
14854 with_gnu_ld_FC
=$with_gnu_ld
14862 # Do we need to explicitly link libc?
14864 case "x$archive_cmds_need_lc_FC" in
14866 # Assume -lc should be added
14867 archive_cmds_need_lc_FC
=yes
14869 if test "$enable_shared" = yes && test "$GCC" = yes; then
14870 case $archive_cmds_FC in
14872 # FIXME: we may have to deal with multi-command sequences.
14875 # Test whether the compiler implicitly links with -lc since on some
14876 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14877 # to ld, don't add -lc before -lgcc.
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14879 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14880 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14881 $as_echo_n "(cached) " >&6
14884 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14886 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14887 (eval $ac_compile) 2>&5
14889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14890 test $ac_status = 0; } 2>conftest.err
; then
14893 libobjs
=conftest.
$ac_objext
14895 wl
=$lt_prog_compiler_wl_FC
14896 pic_flag
=$lt_prog_compiler_pic_FC
14902 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
14903 allow_undefined_flag_FC
=
14904 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14905 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14908 test $ac_status = 0; }
14910 lt_cv_archive_cmds_need_lc_FC
=no
14912 lt_cv_archive_cmds_need_lc_FC
=yes
14914 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
14916 cat conftest.err
1>&5
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14922 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14923 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14994 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14996 library_names_spec
=
14997 libname_spec
='lib$name'
15001 postuninstall_cmds
=
15005 shlibpath_overrides_runpath
=unknown
15007 dynamic_linker
="$host_os ld.so"
15008 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15009 need_lib_prefix
=unknown
15010 hardcode_into_libs
=no
15012 # when you set need_version to no, make sure it does not cause -set_version
15013 # flags to be left without arguments
15014 need_version
=unknown
15019 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15020 shlibpath_var
=LIBPATH
15022 # AIX 3 has no versioning support, so we append a major version to the name.
15023 soname_spec
='${libname}${release}${shared_ext}$major'
15030 hardcode_into_libs
=yes
15031 if test "$host_cpu" = ia64
; then
15032 # AIX 5 supports IA64
15033 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15034 shlibpath_var
=LD_LIBRARY_PATH
15036 # With GCC up to 2.95.x, collect2 would create an import file
15037 # for dependence libraries. The import file would start with
15038 # the line `#! .'. This would cause the generated library to
15039 # depend on `.', always an invalid library. This was fixed in
15040 # development snapshots of GCC prior to 3.0.
15042 aix4 | aix4.
[01] | aix4.
[01].
*)
15043 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15045 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15048 can_build_shared
=no
15052 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15053 # soname into executable. Probably we can add versioning support to
15054 # collect2, so additional links can be useful in future.
15055 if test "$aix_use_runtimelinking" = yes; then
15056 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15057 # instead of lib<name>.a to let people know that these are not
15058 # typical AIX shared libraries.
15059 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15061 # We preserve .a as extension for shared libraries through AIX4.2
15062 # and later when we are not doing run time linking.
15063 library_names_spec
='${libname}${release}.a $libname.a'
15064 soname_spec
='${libname}${release}${shared_ext}$major'
15066 shlibpath_var
=LIBPATH
15073 # Since July 2007 AmigaOS4 officially supports .so libraries.
15074 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15075 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15078 library_names_spec
='$libname.ixlibrary $libname.a'
15079 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15080 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'
15086 library_names_spec
='${libname}${shared_ext}'
15087 dynamic_linker
="$host_os ld.so"
15088 shlibpath_var
=LIBRARY_PATH
15094 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15095 soname_spec
='${libname}${release}${shared_ext}$major'
15096 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15097 shlibpath_var
=LD_LIBRARY_PATH
15098 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15099 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15100 # the default ld.so.conf also contains /usr/contrib/lib and
15101 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15102 # libtool to hard-code these into programs
15105 cygwin
* | mingw
* | pw32
* | cegcc
*)
15106 version_type
=windows
15111 case $GCC,$host_os in
15112 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15113 library_names_spec
='$libname.dll.a'
15114 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15115 postinstall_cmds
='base_file=`basename \${file}`~
15116 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15117 dldir=$destdir/`dirname \$dlpath`~
15118 test -d \$dldir || mkdir -p \$dldir~
15119 $install_prog $dir/$dlname \$dldir/$dlname~
15120 chmod a+x \$dldir/$dlname~
15121 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15122 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15124 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15125 dlpath=$dir/\$dldll~
15127 shlibpath_overrides_runpath
=yes
15131 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15132 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15136 # MinGW DLLs use traditional 'lib' prefix
15137 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15140 # pw32 DLLs use 'pw' prefix rather than 'lib'
15141 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15147 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15150 dynamic_linker
='Win32 ld.exe'
15151 # FIXME: first we should search . and the directory the executable is in
15155 darwin
* | rhapsody
*)
15156 dynamic_linker
="$host_os dyld"
15157 version_type
=darwin
15160 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15161 soname_spec
='${libname}${release}${major}$shared_ext'
15162 shlibpath_overrides_runpath
=yes
15163 shlibpath_var
=DYLD_LIBRARY_PATH
15164 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15166 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15173 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15174 soname_spec
='${libname}${release}${shared_ext}$major'
15175 shlibpath_var
=LD_LIBRARY_PATH
15178 freebsd
* | dragonfly
*)
15179 # DragonFly does not have aout. When/if they implement a new
15180 # versioning mechanism, adjust this.
15181 if test -x /usr
/bin
/objformat
; then
15182 objformat
=`/usr/bin/objformat`
15185 freebsd
[23].
*) objformat
=aout
;;
15186 *) objformat
=elf
;;
15189 version_type
=freebsd-
$objformat
15190 case $version_type in
15192 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15197 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15201 shlibpath_var
=LD_LIBRARY_PATH
15204 shlibpath_overrides_runpath
=yes
15206 freebsd3.
[01]* | freebsdelf3.
[01]*)
15207 shlibpath_overrides_runpath
=yes
15208 hardcode_into_libs
=yes
15210 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15211 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15212 shlibpath_overrides_runpath
=no
15213 hardcode_into_libs
=yes
15215 *) # from 4.6 on, and DragonFly
15216 shlibpath_overrides_runpath
=yes
15217 hardcode_into_libs
=yes
15226 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15227 soname_spec
='${libname}${release}${shared_ext}$major'
15228 shlibpath_var
=LD_LIBRARY_PATH
15229 hardcode_into_libs
=yes
15236 dynamic_linker
="$host_os runtime_loader"
15237 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15238 soname_spec
='${libname}${release}${shared_ext}$major'
15239 shlibpath_var
=LIBRARY_PATH
15240 shlibpath_overrides_runpath
=yes
15241 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15242 hardcode_into_libs
=yes
15245 hpux9
* | hpux10
* | hpux11
*)
15246 # Give a soname corresponding to the major version so that dld.sl refuses to
15247 # link against other versions.
15254 hardcode_into_libs
=yes
15255 dynamic_linker
="$host_os dld.so"
15256 shlibpath_var
=LD_LIBRARY_PATH
15257 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15258 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15259 soname_spec
='${libname}${release}${shared_ext}$major'
15260 if test "X$HPUX_IA64_MODE" = X32
; then
15261 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15263 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15265 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15269 hardcode_into_libs
=yes
15270 dynamic_linker
="$host_os dld.sl"
15271 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15272 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15273 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15274 soname_spec
='${libname}${release}${shared_ext}$major'
15275 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15276 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15280 dynamic_linker
="$host_os dld.sl"
15281 shlibpath_var
=SHLIB_PATH
15282 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15283 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15284 soname_spec
='${libname}${release}${shared_ext}$major'
15287 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15288 postinstall_cmds
='chmod 555 $lib'
15289 # or fails outright, so override atomically:
15290 install_override_mode
=555
15297 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15298 soname_spec
='${libname}${release}${shared_ext}$major'
15299 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15300 shlibpath_var
=LD_LIBRARY_PATH
15301 shlibpath_overrides_runpath
=no
15302 hardcode_into_libs
=yes
15305 irix5
* | irix6
* | nonstopux
*)
15307 nonstopux
*) version_type
=nonstopux
;;
15309 if test "$lt_cv_prog_gnu_ld" = yes; then
15317 soname_spec
='${libname}${release}${shared_ext}$major'
15318 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15320 irix5
* | nonstopux
*)
15321 libsuff
= shlibsuff
=
15324 case $LD in # libtool.m4 will add one of these switches to LD
15325 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15326 libsuff
= shlibsuff
= libmagic
=32-bit;;
15327 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15328 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15329 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15330 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15331 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15335 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15336 shlibpath_overrides_runpath
=no
15337 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15338 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15339 hardcode_into_libs
=yes
15342 # No shared lib support for Linux oldld, aout, or coff.
15343 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15347 # This must be Linux ELF.
15348 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15352 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15353 soname_spec
='${libname}${release}${shared_ext}$major'
15354 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15355 shlibpath_var
=LD_LIBRARY_PATH
15356 shlibpath_overrides_runpath
=no
15358 # Some binutils ld are patched to set DT_RUNPATH
15359 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15360 $as_echo_n "(cached) " >&6
15362 lt_cv_shlibpath_overrides_runpath
=no
15363 save_LDFLAGS
=$LDFLAGS
15364 save_libdir
=$libdir
15365 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15366 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15367 if test x
$gcc_no_link = xyes
; then
15368 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15370 cat > conftest.
$ac_ext <<_ACEOF
15375 if ac_fn_fc_try_link
"$LINENO"; then :
15376 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15377 lt_cv_shlibpath_overrides_runpath
=yes
15380 rm -f core conftest.err conftest.
$ac_objext \
15381 conftest
$ac_exeext conftest.
$ac_ext
15382 LDFLAGS
=$save_LDFLAGS
15383 libdir
=$save_libdir
15387 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15389 # This implies no fast_install, which is unacceptable.
15390 # Some rework will be needed to allow for fast_install
15391 # before this can be enabled.
15392 hardcode_into_libs
=yes
15394 # Append ld.so.conf contents to the search path
15395 if test -f /etc
/ld.so.conf
; then
15396 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' ' '`
15397 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15400 # We used to test for /lib/ld.so.1 and disable shared libraries on
15401 # powerpc, because MkLinux only supported shared libraries with the
15402 # GNU dynamic linker. Since this was broken with cross compilers,
15403 # most powerpc-linux boxes support dynamic linking these days and
15404 # people can always --disable-shared, the test was removed, and we
15405 # assume the GNU/Linux dynamic linker is in use.
15406 dynamic_linker
='GNU/Linux ld.so'
15413 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15414 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15415 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15416 dynamic_linker
='NetBSD (a.out) ld.so'
15418 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15419 soname_spec
='${libname}${release}${shared_ext}$major'
15420 dynamic_linker
='NetBSD ld.elf_so'
15422 shlibpath_var
=LD_LIBRARY_PATH
15423 shlibpath_overrides_runpath
=yes
15424 hardcode_into_libs
=yes
15429 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15430 shlibpath_var
=LD_LIBRARY_PATH
15431 shlibpath_overrides_runpath
=yes
15438 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15439 soname_spec
='${libname}${release}${shared_ext}$major'
15440 shlibpath_var
=LD_LIBRARY_PATH
15441 shlibpath_overrides_runpath
=no
15442 hardcode_into_libs
=yes
15443 dynamic_linker
='ldqnx.so'
15448 sys_lib_dlsearch_path_spec
="/usr/lib"
15450 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15452 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15453 *) need_version
=no
;;
15455 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15456 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15457 shlibpath_var
=LD_LIBRARY_PATH
15458 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15460 openbsd2.
[89] | openbsd2.
[89].
*)
15461 shlibpath_overrides_runpath
=no
15464 shlibpath_overrides_runpath
=yes
15468 shlibpath_overrides_runpath
=yes
15473 libname_spec
='$name'
15476 library_names_spec
='$libname${shared_ext} $libname.a'
15477 dynamic_linker
='OS/2 ld.exe'
15478 shlibpath_var
=LIBPATH
15481 osf3
* | osf4
* | osf5
*)
15485 soname_spec
='${libname}${release}${shared_ext}$major'
15486 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15487 shlibpath_var
=LD_LIBRARY_PATH
15488 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15489 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15500 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15501 soname_spec
='${libname}${release}${shared_ext}$major'
15502 shlibpath_var
=LD_LIBRARY_PATH
15503 shlibpath_overrides_runpath
=yes
15504 hardcode_into_libs
=yes
15505 # ldd complains unless libraries are executable
15506 postinstall_cmds
='chmod +x $lib'
15511 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15512 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15513 shlibpath_var
=LD_LIBRARY_PATH
15514 shlibpath_overrides_runpath
=yes
15515 if test "$with_gnu_ld" = yes; then
15523 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15524 soname_spec
='${libname}${release}${shared_ext}$major'
15525 shlibpath_var
=LD_LIBRARY_PATH
15526 case $host_vendor in
15528 shlibpath_overrides_runpath
=no
15530 runpath_var
=LD_RUN_PATH
15538 shlibpath_overrides_runpath
=no
15539 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15545 if test -d /usr
/nec
;then
15547 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15548 soname_spec
='$libname${shared_ext}.$major'
15549 shlibpath_var
=LD_LIBRARY_PATH
15553 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15554 version_type
=freebsd-elf
15557 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15558 soname_spec
='${libname}${release}${shared_ext}$major'
15559 shlibpath_var
=LD_LIBRARY_PATH
15560 shlibpath_overrides_runpath
=yes
15561 hardcode_into_libs
=yes
15562 if test "$with_gnu_ld" = yes; then
15563 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15565 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15568 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15572 sys_lib_dlsearch_path_spec
='/usr/lib'
15576 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15580 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15581 shlibpath_var
=LD_LIBRARY_PATH
15582 shlibpath_overrides_runpath
=no
15583 hardcode_into_libs
=yes
15588 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15589 soname_spec
='${libname}${release}${shared_ext}$major'
15590 shlibpath_var
=LD_LIBRARY_PATH
15597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15598 $as_echo "$dynamic_linker" >&6; }
15599 test "$dynamic_linker" = no
&& can_build_shared
=no
15601 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15602 if test "$GCC" = yes; then
15603 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15606 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15607 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15609 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15610 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15651 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15652 hardcode_action_FC
=
15653 if test -n "$hardcode_libdir_flag_spec_FC" ||
15654 test -n "$runpath_var_FC" ||
15655 test "X$hardcode_automatic_FC" = "Xyes" ; then
15657 # We can hardcode non-existent directories.
15658 if test "$hardcode_direct_FC" != no
&&
15659 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15660 # have to relink, otherwise we might link with an installed library
15661 # when we should be linking with a yet-to-be-installed one
15662 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15663 test "$hardcode_minus_L_FC" != no
; then
15664 # Linking always hardcodes the temporary library directory.
15665 hardcode_action_FC
=relink
15667 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15668 hardcode_action_FC
=immediate
15671 # We cannot hardcode anything, or else we can only hardcode existing
15673 hardcode_action_FC
=unsupported
15675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15676 $as_echo "$hardcode_action_FC" >&6; }
15678 if test "$hardcode_action_FC" = relink ||
15679 test "$inherit_rpath_FC" = yes; then
15680 # Fast installation is not supported
15681 enable_fast_install
=no
15682 elif test "$shlibpath_overrides_runpath" = yes ||
15683 test "$enable_shared" = no
; then
15684 # Fast installation is not necessary
15685 enable_fast_install
=needless
15694 fi # test -n "$compiler"
15698 fi # test "$_lt_disable_FC" != yes
15701 ac_cpp
='$CPP $CPPFLAGS'
15702 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15703 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15704 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15708 # extra LD Flags which are required for targets
15711 # Darwin needs -single_module when linking libgfortran
15712 extra_ldflags_libgfortran
=-Wl,-single_module
15717 # We need a working compiler at that point, otherwise give a clear
15718 # error message and bail out.
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15721 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15722 ac_ext
=${ac_fc_srcext-f}
15723 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15724 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15725 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
15727 cat > conftest.
$ac_ext <<_ACEOF
15730 real, parameter :: bar = sin (12.34 / 2.5)
15733 if ac_fn_fc_try_compile
"$LINENO"; then :
15734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15735 $as_echo "yes" >&6; }
15737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15738 $as_echo "no" >&6; }
15739 as_fn_error
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15742 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15744 ac_cpp
='$CPP $CPPFLAGS'
15745 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15746 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15747 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15751 # Check whether --enable-largefile was given.
15752 if test "${enable_largefile+set}" = set; then :
15753 enableval
=$enable_largefile;
15756 if test "$enable_largefile" != no
; then
15758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15759 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15760 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15761 $as_echo_n "(cached) " >&6
15763 ac_cv_sys_largefile_CC
=no
15764 if test "$GCC" != yes; then
15767 # IRIX 6.2 and later do not support large files by default,
15768 # so use the C compiler's -n32 option if that helps.
15769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15770 /* end confdefs.h. */
15771 #include <sys/types.h>
15772 /* Check that off_t can represent 2**63 - 1 correctly.
15773 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15774 since some C++ compilers masquerading as C compilers
15775 incorrectly reject 9223372036854775807. */
15776 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15777 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15778 && LARGE_OFF_T % 2147483647 == 1)
15788 if ac_fn_c_try_compile
"$LINENO"; then :
15791 rm -f core conftest.err conftest.
$ac_objext
15793 if ac_fn_c_try_compile
"$LINENO"; then :
15794 ac_cv_sys_largefile_CC
=' -n32'; break
15796 rm -f core conftest.err conftest.
$ac_objext
15800 rm -f conftest.
$ac_ext
15803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15804 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15805 if test "$ac_cv_sys_largefile_CC" != no
; then
15806 CC
=$CC$ac_cv_sys_largefile_CC
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15810 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15811 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15812 $as_echo_n "(cached) " >&6
15815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15816 /* end confdefs.h. */
15817 #include <sys/types.h>
15818 /* Check that off_t can represent 2**63 - 1 correctly.
15819 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15820 since some C++ compilers masquerading as C compilers
15821 incorrectly reject 9223372036854775807. */
15822 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15823 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15824 && LARGE_OFF_T % 2147483647 == 1)
15834 if ac_fn_c_try_compile
"$LINENO"; then :
15835 ac_cv_sys_file_offset_bits
=no
; break
15837 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15839 /* end confdefs.h. */
15840 #define _FILE_OFFSET_BITS 64
15841 #include <sys/types.h>
15842 /* Check that off_t can represent 2**63 - 1 correctly.
15843 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15844 since some C++ compilers masquerading as C compilers
15845 incorrectly reject 9223372036854775807. */
15846 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15847 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15848 && LARGE_OFF_T % 2147483647 == 1)
15858 if ac_fn_c_try_compile
"$LINENO"; then :
15859 ac_cv_sys_file_offset_bits
=64; break
15861 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15862 ac_cv_sys_file_offset_bits
=unknown
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15867 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15868 case $ac_cv_sys_file_offset_bits in #(
15871 cat >>confdefs.h
<<_ACEOF
15872 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15877 if test $ac_cv_sys_file_offset_bits = unknown
; then
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15879 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15880 if test "${ac_cv_sys_large_files+set}" = set; then :
15881 $as_echo_n "(cached) " >&6
15884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15885 /* end confdefs.h. */
15886 #include <sys/types.h>
15887 /* Check that off_t can represent 2**63 - 1 correctly.
15888 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15889 since some C++ compilers masquerading as C compilers
15890 incorrectly reject 9223372036854775807. */
15891 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15892 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15893 && LARGE_OFF_T % 2147483647 == 1)
15903 if ac_fn_c_try_compile
"$LINENO"; then :
15904 ac_cv_sys_large_files
=no
; break
15906 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15908 /* end confdefs.h. */
15909 #define _LARGE_FILES 1
15910 #include <sys/types.h>
15911 /* Check that off_t can represent 2**63 - 1 correctly.
15912 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15913 since some C++ compilers masquerading as C compilers
15914 incorrectly reject 9223372036854775807. */
15915 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15916 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15917 && LARGE_OFF_T % 2147483647 == 1)
15927 if ac_fn_c_try_compile
"$LINENO"; then :
15928 ac_cv_sys_large_files
=1; break
15930 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15931 ac_cv_sys_large_files
=unknown
15935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15936 $as_echo "$ac_cv_sys_large_files" >&6; }
15937 case $ac_cv_sys_large_files in #(
15940 cat >>confdefs.h
<<_ACEOF
15941 #define _LARGE_FILES $ac_cv_sys_large_files
15951 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15952 if test "x$ac_cv_type_off_t" = x
""yes; then :
15956 cat >>confdefs.h
<<_ACEOF
15957 #define off_t long int
15963 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15964 if test "x$ac_cv_type_intptr_t" = x
""yes; then :
15966 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
15969 for ac_type
in 'int' 'long int' 'long long int'; do
15970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15971 /* end confdefs.h. */
15972 $ac_includes_default
15976 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15983 if ac_fn_c_try_compile
"$LINENO"; then :
15985 cat >>confdefs.h
<<_ACEOF
15986 #define intptr_t $ac_type
15991 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15992 test -z "$ac_type" && break
15998 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15999 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16001 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
16004 for ac_type
in 'unsigned int' 'unsigned long int' \
16005 'unsigned long long int'; do
16006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16007 /* end confdefs.h. */
16008 $ac_includes_default
16012 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16019 if ac_fn_c_try_compile
"$LINENO"; then :
16021 cat >>confdefs.h
<<_ACEOF
16022 #define uintptr_t $ac_type
16027 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16028 test -z "$ac_type" && break
16033 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16034 if test "x$ac_cv_type_ptrdiff_t" = x
""yes; then :
16036 cat >>confdefs.h
<<_ACEOF
16037 #define HAVE_PTRDIFF_T 1
16044 # check header files (we assume C89 is available, so don't check for that)
16048 for ac_header
in $ac_header_list
16050 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16051 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16053 eval as_val
=\$
$as_ac_Header
16054 if test "x$as_val" = x
""yes; then :
16055 cat >>confdefs.h
<<_ACEOF
16056 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16097 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16099 acx_cv_header_stdint
=stddef.h
16100 acx_cv_header_stdint_kind
="(already complete)"
16101 for i
in stdint.h
$inttype_headers; do
16102 unset ac_cv_type_uintptr_t
16103 unset ac_cv_type_uintmax_t
16104 unset ac_cv_type_int_least32_t
16105 unset ac_cv_type_int_fast32_t
16106 unset ac_cv_type_uint64_t
16107 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16108 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16111 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
16112 acx_cv_header_stdint
=$i
16117 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16120 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16123 acx_cv_header_stdint_kind
="(mostly complete)"
16126 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16129 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
16132 acx_cv_header_stdint_kind
="(mostly complete)"
16135 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16138 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
16141 acx_cv_header_stdint_kind
="(mostly complete)"
16144 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16147 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16150 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16155 if test "$acx_cv_header_stdint" = stddef.h
; then
16156 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16157 for i
in stdint.h
$inttype_headers; do
16158 unset ac_cv_type_uintptr_t
16159 unset ac_cv_type_uint32_t
16160 unset ac_cv_type_uint64_t
16161 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16162 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16165 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
16166 acx_cv_header_stdint
=$i
16171 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16174 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16178 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16181 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16188 if test "$acx_cv_header_stdint" = stddef.h
; then
16189 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16190 for i
in sys
/types.h
$inttype_headers; do
16191 unset ac_cv_type_u_int32_t
16192 unset ac_cv_type_u_int64_t
16193 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16194 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16197 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
16198 acx_cv_header_stdint
=$i
16203 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16206 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
16213 if test "$acx_cv_header_stdint" = stddef.h
; then
16214 acx_cv_header_stdint_kind
="(using manual detection)"
16217 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16218 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16219 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16220 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16221 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16223 # ----------------- Summarize what we found so far
16225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16226 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16228 case `$as_basename -- gstdint.h ||
16229 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16230 Xgstdint.h : 'X\(//\)$' \| \
16231 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16232 $as_echo X/gstdint.h |
16233 sed '/^.*\/\([^/][^/]*\)\/*$/{
16246 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16247 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16248 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16249 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16254 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16256 # ----------------- done included file, check C basic types --------
16258 # Lacking an uintptr_t? Test size of void *
16259 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16260 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16261 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16262 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16263 # This bug is HP SR number 8606223364.
16264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16265 $as_echo_n "checking size of void *... " >&6; }
16266 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16267 $as_echo_n "(cached) " >&6
16269 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16272 if test "$ac_cv_type_void_p" = yes; then
16273 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16274 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16275 { as_fn_set_status
77
16276 as_fn_error
"cannot compute sizeof (void *)
16277 See \`config.log' for more details." "$LINENO" 5; }; }
16279 ac_cv_sizeof_void_p
=0
16284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16285 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16289 cat >>confdefs.h
<<_ACEOF
16290 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16296 # Lacking an uint64_t? Test size of long
16297 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16298 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16299 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16300 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16301 # This bug is HP SR number 8606223364.
16302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16303 $as_echo_n "checking size of long... " >&6; }
16304 if test "${ac_cv_sizeof_long+set}" = set; then :
16305 $as_echo_n "(cached) " >&6
16307 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16310 if test "$ac_cv_type_long" = yes; then
16311 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16312 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16313 { as_fn_set_status
77
16314 as_fn_error
"cannot compute sizeof (long)
16315 See \`config.log' for more details." "$LINENO" 5; }; }
16317 ac_cv_sizeof_long
=0
16322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16323 $as_echo "$ac_cv_sizeof_long" >&6; }
16327 cat >>confdefs.h
<<_ACEOF
16328 #define SIZEOF_LONG $ac_cv_sizeof_long
16334 if test $acx_cv_header_stdint = stddef.h
; then
16335 # Lacking a good header? Test size of everything and deduce all types.
16336 # The cast to long int works around a bug in the HP C Compiler
16337 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16338 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16339 # This bug is HP SR number 8606223364.
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16341 $as_echo_n "checking size of int... " >&6; }
16342 if test "${ac_cv_sizeof_int+set}" = set; then :
16343 $as_echo_n "(cached) " >&6
16345 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16348 if test "$ac_cv_type_int" = yes; then
16349 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16350 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16351 { as_fn_set_status
77
16352 as_fn_error
"cannot compute sizeof (int)
16353 See \`config.log' for more details." "$LINENO" 5; }; }
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16361 $as_echo "$ac_cv_sizeof_int" >&6; }
16365 cat >>confdefs.h
<<_ACEOF
16366 #define SIZEOF_INT $ac_cv_sizeof_int
16370 # The cast to long int works around a bug in the HP C Compiler
16371 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16372 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16373 # This bug is HP SR number 8606223364.
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16375 $as_echo_n "checking size of short... " >&6; }
16376 if test "${ac_cv_sizeof_short+set}" = set; then :
16377 $as_echo_n "(cached) " >&6
16379 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16382 if test "$ac_cv_type_short" = yes; then
16383 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16385 { as_fn_set_status
77
16386 as_fn_error
"cannot compute sizeof (short)
16387 See \`config.log' for more details." "$LINENO" 5; }; }
16389 ac_cv_sizeof_short
=0
16394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16395 $as_echo "$ac_cv_sizeof_short" >&6; }
16399 cat >>confdefs.h
<<_ACEOF
16400 #define SIZEOF_SHORT $ac_cv_sizeof_short
16404 # The cast to long int works around a bug in the HP C Compiler
16405 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16406 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16407 # This bug is HP SR number 8606223364.
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16409 $as_echo_n "checking size of char... " >&6; }
16410 if test "${ac_cv_sizeof_char+set}" = set; then :
16411 $as_echo_n "(cached) " >&6
16413 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16416 if test "$ac_cv_type_char" = yes; then
16417 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16419 { as_fn_set_status
77
16420 as_fn_error
"cannot compute sizeof (char)
16421 See \`config.log' for more details." "$LINENO" 5; }; }
16423 ac_cv_sizeof_char
=0
16428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16429 $as_echo "$ac_cv_sizeof_char" >&6; }
16433 cat >>confdefs.h
<<_ACEOF
16434 #define SIZEOF_CHAR $ac_cv_sizeof_char
16439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16440 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16441 case "$ac_cv_sizeof_char" in
16442 1) acx_cv_type_int8_t
=char
;;
16443 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
16445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16446 $as_echo "$acx_cv_type_int8_t" >&6; }
16448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16449 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16450 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16451 2:*) acx_cv_type_int16_t
=int
;;
16452 *:2) acx_cv_type_int16_t
=short
;;
16453 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
16455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16456 $as_echo "$acx_cv_type_int16_t" >&6; }
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16459 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16460 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16461 4:*) acx_cv_type_int32_t
=int
;;
16462 *:4) acx_cv_type_int32_t
=long
;;
16463 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
16465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16466 $as_echo "$acx_cv_type_int32_t" >&6; }
16469 # These tests are here to make the output prettier
16471 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16472 case "$ac_cv_sizeof_long" in
16473 8) acx_cv_type_int64_t
=long
;;
16475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16476 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16478 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16481 # Now we can use the above types
16483 if test "$ac_cv_type_uintptr_t" != yes; then
16484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16485 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16486 case $ac_cv_sizeof_void_p in
16487 2) acx_cv_type_intptr_t
=int16_t
;;
16488 4) acx_cv_type_intptr_t
=int32_t
;;
16489 8) acx_cv_type_intptr_t
=int64_t
;;
16490 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16493 $as_echo "$acx_cv_type_intptr_t" >&6; }
16496 # ----------------- done all checks, emit header -------------
16497 ac_config_commands
="$ac_config_commands gstdint.h"
16502 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16503 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
16505 cat >>confdefs.h
<<_ACEOF
16506 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16511 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16512 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
16514 cat >>confdefs.h
<<_ACEOF
16515 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16520 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16521 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
16523 cat >>confdefs.h
<<_ACEOF
16524 #define HAVE_STRUCT_STAT_ST_RDEV 1
16531 case "${host}--x${with_newlib}" in
16533 hardwire_newlib
=1;;
16535 hardwire_newlib
=1;;
16538 # Check for library functions.
16539 if test "${hardwire_newlib:-0}" -eq 1; then
16540 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
16541 # may not work correctly, because the compiler may not be able to
16542 # link executables.
16544 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
16547 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
16550 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
16553 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
16556 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
16559 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
16562 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
16565 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
16568 # At some point, we should differentiate between architectures
16569 # like x86, which have long double versions, and alpha/powerpc/etc.,
16570 # which don't. For the time being, punt.
16571 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
16573 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
16580 for ac_func
in $ac_func_list
16582 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16583 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16584 eval as_val
=\$
$as_ac_var
16585 if test "x$as_val" = x
""yes; then :
16586 cat >>confdefs.h
<<_ACEOF
16587 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16694 # Check strerror_r, cannot be above as versions with two and three arguments exist
16696 ac_save_CFLAGS
="$CFLAGS"
16697 CFLAGS
="-Wimplicit-function-declaration -Werror"
16698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16699 /* end confdefs.h. */
16700 #define _GNU_SOURCE 1
16701 #include <string.h>
16702 #include <locale.h>
16706 char s[128]; strerror_r(5, s, 128);
16711 if ac_fn_c_try_compile
"$LINENO"; then :
16713 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16717 CFLAGS
="$ac_save_CFLAGS"
16719 ac_save_CFLAGS
="$CFLAGS"
16720 CFLAGS
="-Wimplicit-function-declaration -Werror"
16721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16722 /* end confdefs.h. */
16723 #define _GNU_SOURCE 1
16724 #include <string.h>
16725 #include <locale.h>
16729 char s[128]; strerror_r(5, s);
16734 if ac_fn_c_try_compile
"$LINENO"; then :
16736 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
16739 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16740 CFLAGS
="$ac_save_CFLAGS"
16743 # Check for C99 (and other IEEE) math functions
16744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16745 $as_echo_n "checking for sin in -lm... " >&6; }
16746 if test "${ac_cv_lib_m_sin+set}" = set; then :
16747 $as_echo_n "(cached) " >&6
16749 ac_check_lib_save_LIBS
=$LIBS
16751 if test x
$gcc_no_link = xyes
; then
16752 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16755 /* end confdefs.h. */
16757 /* Override any GCC internal prototype to avoid an error.
16758 Use char because int might match the return type of a GCC
16759 builtin and then its argument prototype would still apply. */
16772 if ac_fn_c_try_link
"$LINENO"; then :
16773 ac_cv_lib_m_sin
=yes
16777 rm -f core conftest.err conftest.
$ac_objext \
16778 conftest
$ac_exeext conftest.
$ac_ext
16779 LIBS
=$ac_check_lib_save_LIBS
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16782 $as_echo "$ac_cv_lib_m_sin" >&6; }
16783 if test "x$ac_cv_lib_m_sin" = x
""yes; then :
16784 cat >>confdefs.h
<<_ACEOF
16785 #define HAVE_LIBM 1
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
16799 $as_echo_n "checking for acosf... " >&6; }
16800 if test "${gcc_cv_math_func_acosf+set}" = set; then :
16801 $as_echo_n "(cached) " >&6
16803 if test x
$gcc_no_link = xyes
; then
16804 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16807 /* end confdefs.h. */
16809 #ifdef HAVE_COMPLEX_H
16810 #include <complex.h>
16816 int (*ptr)() = (int (*)())acosf;
16825 if ac_fn_c_try_link
"$LINENO"; then :
16826 gcc_cv_math_func_acosf
=yes
16828 gcc_cv_math_func_acosf
=no
16830 rm -f core conftest.err conftest.
$ac_objext \
16831 conftest
$ac_exeext conftest.
$ac_ext
16833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
16834 $as_echo "$gcc_cv_math_func_acosf" >&6; }
16835 if test $gcc_cv_math_func_acosf = yes; then
16837 cat >>confdefs.h
<<_ACEOF
16838 #define HAVE_ACOSF 1
16846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
16847 $as_echo_n "checking for acos... " >&6; }
16848 if test "${gcc_cv_math_func_acos+set}" = set; then :
16849 $as_echo_n "(cached) " >&6
16851 if test x
$gcc_no_link = xyes
; then
16852 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16855 /* end confdefs.h. */
16857 #ifdef HAVE_COMPLEX_H
16858 #include <complex.h>
16864 int (*ptr)() = (int (*)())acos;
16873 if ac_fn_c_try_link
"$LINENO"; then :
16874 gcc_cv_math_func_acos
=yes
16876 gcc_cv_math_func_acos
=no
16878 rm -f core conftest.err conftest.
$ac_objext \
16879 conftest
$ac_exeext conftest.
$ac_ext
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
16882 $as_echo "$gcc_cv_math_func_acos" >&6; }
16883 if test $gcc_cv_math_func_acos = yes; then
16885 cat >>confdefs.h
<<_ACEOF
16886 #define HAVE_ACOS 1
16894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
16895 $as_echo_n "checking for acosl... " >&6; }
16896 if test "${gcc_cv_math_func_acosl+set}" = set; then :
16897 $as_echo_n "(cached) " >&6
16899 if test x
$gcc_no_link = xyes
; then
16900 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16903 /* end confdefs.h. */
16905 #ifdef HAVE_COMPLEX_H
16906 #include <complex.h>
16912 int (*ptr)() = (int (*)())acosl;
16921 if ac_fn_c_try_link
"$LINENO"; then :
16922 gcc_cv_math_func_acosl
=yes
16924 gcc_cv_math_func_acosl
=no
16926 rm -f core conftest.err conftest.
$ac_objext \
16927 conftest
$ac_exeext conftest.
$ac_ext
16929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
16930 $as_echo "$gcc_cv_math_func_acosl" >&6; }
16931 if test $gcc_cv_math_func_acosl = yes; then
16933 cat >>confdefs.h
<<_ACEOF
16934 #define HAVE_ACOSL 1
16942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
16943 $as_echo_n "checking for acoshf... " >&6; }
16944 if test "${gcc_cv_math_func_acoshf+set}" = set; then :
16945 $as_echo_n "(cached) " >&6
16947 if test x
$gcc_no_link = xyes
; then
16948 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16951 /* end confdefs.h. */
16953 #ifdef HAVE_COMPLEX_H
16954 #include <complex.h>
16960 int (*ptr)() = (int (*)())acoshf;
16969 if ac_fn_c_try_link
"$LINENO"; then :
16970 gcc_cv_math_func_acoshf
=yes
16972 gcc_cv_math_func_acoshf
=no
16974 rm -f core conftest.err conftest.
$ac_objext \
16975 conftest
$ac_exeext conftest.
$ac_ext
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
16978 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
16979 if test $gcc_cv_math_func_acoshf = yes; then
16981 cat >>confdefs.h
<<_ACEOF
16982 #define HAVE_ACOSHF 1
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
16991 $as_echo_n "checking for acosh... " >&6; }
16992 if test "${gcc_cv_math_func_acosh+set}" = set; then :
16993 $as_echo_n "(cached) " >&6
16995 if test x
$gcc_no_link = xyes
; then
16996 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16999 /* end confdefs.h. */
17001 #ifdef HAVE_COMPLEX_H
17002 #include <complex.h>
17008 int (*ptr)() = (int (*)())acosh;
17017 if ac_fn_c_try_link
"$LINENO"; then :
17018 gcc_cv_math_func_acosh
=yes
17020 gcc_cv_math_func_acosh
=no
17022 rm -f core conftest.err conftest.
$ac_objext \
17023 conftest
$ac_exeext conftest.
$ac_ext
17025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
17026 $as_echo "$gcc_cv_math_func_acosh" >&6; }
17027 if test $gcc_cv_math_func_acosh = yes; then
17029 cat >>confdefs.h
<<_ACEOF
17030 #define HAVE_ACOSH 1
17038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
17039 $as_echo_n "checking for acoshl... " >&6; }
17040 if test "${gcc_cv_math_func_acoshl+set}" = set; then :
17041 $as_echo_n "(cached) " >&6
17043 if test x
$gcc_no_link = xyes
; then
17044 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17047 /* end confdefs.h. */
17049 #ifdef HAVE_COMPLEX_H
17050 #include <complex.h>
17056 int (*ptr)() = (int (*)())acoshl;
17065 if ac_fn_c_try_link
"$LINENO"; then :
17066 gcc_cv_math_func_acoshl
=yes
17068 gcc_cv_math_func_acoshl
=no
17070 rm -f core conftest.err conftest.
$ac_objext \
17071 conftest
$ac_exeext conftest.
$ac_ext
17073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17074 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17075 if test $gcc_cv_math_func_acoshl = yes; then
17077 cat >>confdefs.h
<<_ACEOF
17078 #define HAVE_ACOSHL 1
17086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17087 $as_echo_n "checking for asinf... " >&6; }
17088 if test "${gcc_cv_math_func_asinf+set}" = set; then :
17089 $as_echo_n "(cached) " >&6
17091 if test x
$gcc_no_link = xyes
; then
17092 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17095 /* end confdefs.h. */
17097 #ifdef HAVE_COMPLEX_H
17098 #include <complex.h>
17104 int (*ptr)() = (int (*)())asinf;
17113 if ac_fn_c_try_link
"$LINENO"; then :
17114 gcc_cv_math_func_asinf
=yes
17116 gcc_cv_math_func_asinf
=no
17118 rm -f core conftest.err conftest.
$ac_objext \
17119 conftest
$ac_exeext conftest.
$ac_ext
17121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17122 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17123 if test $gcc_cv_math_func_asinf = yes; then
17125 cat >>confdefs.h
<<_ACEOF
17126 #define HAVE_ASINF 1
17134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17135 $as_echo_n "checking for asin... " >&6; }
17136 if test "${gcc_cv_math_func_asin+set}" = set; then :
17137 $as_echo_n "(cached) " >&6
17139 if test x
$gcc_no_link = xyes
; then
17140 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17143 /* end confdefs.h. */
17145 #ifdef HAVE_COMPLEX_H
17146 #include <complex.h>
17152 int (*ptr)() = (int (*)())asin;
17161 if ac_fn_c_try_link
"$LINENO"; then :
17162 gcc_cv_math_func_asin
=yes
17164 gcc_cv_math_func_asin
=no
17166 rm -f core conftest.err conftest.
$ac_objext \
17167 conftest
$ac_exeext conftest.
$ac_ext
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17170 $as_echo "$gcc_cv_math_func_asin" >&6; }
17171 if test $gcc_cv_math_func_asin = yes; then
17173 cat >>confdefs.h
<<_ACEOF
17174 #define HAVE_ASIN 1
17182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17183 $as_echo_n "checking for asinl... " >&6; }
17184 if test "${gcc_cv_math_func_asinl+set}" = set; then :
17185 $as_echo_n "(cached) " >&6
17187 if test x
$gcc_no_link = xyes
; then
17188 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17191 /* end confdefs.h. */
17193 #ifdef HAVE_COMPLEX_H
17194 #include <complex.h>
17200 int (*ptr)() = (int (*)())asinl;
17209 if ac_fn_c_try_link
"$LINENO"; then :
17210 gcc_cv_math_func_asinl
=yes
17212 gcc_cv_math_func_asinl
=no
17214 rm -f core conftest.err conftest.
$ac_objext \
17215 conftest
$ac_exeext conftest.
$ac_ext
17217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17218 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17219 if test $gcc_cv_math_func_asinl = yes; then
17221 cat >>confdefs.h
<<_ACEOF
17222 #define HAVE_ASINL 1
17230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17231 $as_echo_n "checking for asinhf... " >&6; }
17232 if test "${gcc_cv_math_func_asinhf+set}" = set; then :
17233 $as_echo_n "(cached) " >&6
17235 if test x
$gcc_no_link = xyes
; then
17236 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17239 /* end confdefs.h. */
17241 #ifdef HAVE_COMPLEX_H
17242 #include <complex.h>
17248 int (*ptr)() = (int (*)())asinhf;
17257 if ac_fn_c_try_link
"$LINENO"; then :
17258 gcc_cv_math_func_asinhf
=yes
17260 gcc_cv_math_func_asinhf
=no
17262 rm -f core conftest.err conftest.
$ac_objext \
17263 conftest
$ac_exeext conftest.
$ac_ext
17265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17266 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17267 if test $gcc_cv_math_func_asinhf = yes; then
17269 cat >>confdefs.h
<<_ACEOF
17270 #define HAVE_ASINHF 1
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17279 $as_echo_n "checking for asinh... " >&6; }
17280 if test "${gcc_cv_math_func_asinh+set}" = set; then :
17281 $as_echo_n "(cached) " >&6
17283 if test x
$gcc_no_link = xyes
; then
17284 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17287 /* end confdefs.h. */
17289 #ifdef HAVE_COMPLEX_H
17290 #include <complex.h>
17296 int (*ptr)() = (int (*)())asinh;
17305 if ac_fn_c_try_link
"$LINENO"; then :
17306 gcc_cv_math_func_asinh
=yes
17308 gcc_cv_math_func_asinh
=no
17310 rm -f core conftest.err conftest.
$ac_objext \
17311 conftest
$ac_exeext conftest.
$ac_ext
17313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17314 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17315 if test $gcc_cv_math_func_asinh = yes; then
17317 cat >>confdefs.h
<<_ACEOF
17318 #define HAVE_ASINH 1
17326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17327 $as_echo_n "checking for asinhl... " >&6; }
17328 if test "${gcc_cv_math_func_asinhl+set}" = set; then :
17329 $as_echo_n "(cached) " >&6
17331 if test x
$gcc_no_link = xyes
; then
17332 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17335 /* end confdefs.h. */
17337 #ifdef HAVE_COMPLEX_H
17338 #include <complex.h>
17344 int (*ptr)() = (int (*)())asinhl;
17353 if ac_fn_c_try_link
"$LINENO"; then :
17354 gcc_cv_math_func_asinhl
=yes
17356 gcc_cv_math_func_asinhl
=no
17358 rm -f core conftest.err conftest.
$ac_objext \
17359 conftest
$ac_exeext conftest.
$ac_ext
17361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17362 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17363 if test $gcc_cv_math_func_asinhl = yes; then
17365 cat >>confdefs.h
<<_ACEOF
17366 #define HAVE_ASINHL 1
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17375 $as_echo_n "checking for atan2f... " >&6; }
17376 if test "${gcc_cv_math_func_atan2f+set}" = set; then :
17377 $as_echo_n "(cached) " >&6
17379 if test x
$gcc_no_link = xyes
; then
17380 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17383 /* end confdefs.h. */
17385 #ifdef HAVE_COMPLEX_H
17386 #include <complex.h>
17392 int (*ptr)() = (int (*)())atan2f;
17401 if ac_fn_c_try_link
"$LINENO"; then :
17402 gcc_cv_math_func_atan2f
=yes
17404 gcc_cv_math_func_atan2f
=no
17406 rm -f core conftest.err conftest.
$ac_objext \
17407 conftest
$ac_exeext conftest.
$ac_ext
17409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17410 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17411 if test $gcc_cv_math_func_atan2f = yes; then
17413 cat >>confdefs.h
<<_ACEOF
17414 #define HAVE_ATAN2F 1
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17423 $as_echo_n "checking for atan2... " >&6; }
17424 if test "${gcc_cv_math_func_atan2+set}" = set; then :
17425 $as_echo_n "(cached) " >&6
17427 if test x
$gcc_no_link = xyes
; then
17428 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17431 /* end confdefs.h. */
17433 #ifdef HAVE_COMPLEX_H
17434 #include <complex.h>
17440 int (*ptr)() = (int (*)())atan2;
17449 if ac_fn_c_try_link
"$LINENO"; then :
17450 gcc_cv_math_func_atan2
=yes
17452 gcc_cv_math_func_atan2
=no
17454 rm -f core conftest.err conftest.
$ac_objext \
17455 conftest
$ac_exeext conftest.
$ac_ext
17457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17458 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17459 if test $gcc_cv_math_func_atan2 = yes; then
17461 cat >>confdefs.h
<<_ACEOF
17462 #define HAVE_ATAN2 1
17470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17471 $as_echo_n "checking for atan2l... " >&6; }
17472 if test "${gcc_cv_math_func_atan2l+set}" = set; then :
17473 $as_echo_n "(cached) " >&6
17475 if test x
$gcc_no_link = xyes
; then
17476 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17479 /* end confdefs.h. */
17481 #ifdef HAVE_COMPLEX_H
17482 #include <complex.h>
17488 int (*ptr)() = (int (*)())atan2l;
17497 if ac_fn_c_try_link
"$LINENO"; then :
17498 gcc_cv_math_func_atan2l
=yes
17500 gcc_cv_math_func_atan2l
=no
17502 rm -f core conftest.err conftest.
$ac_objext \
17503 conftest
$ac_exeext conftest.
$ac_ext
17505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17506 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17507 if test $gcc_cv_math_func_atan2l = yes; then
17509 cat >>confdefs.h
<<_ACEOF
17510 #define HAVE_ATAN2L 1
17518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17519 $as_echo_n "checking for atanf... " >&6; }
17520 if test "${gcc_cv_math_func_atanf+set}" = set; then :
17521 $as_echo_n "(cached) " >&6
17523 if test x
$gcc_no_link = xyes
; then
17524 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17527 /* end confdefs.h. */
17529 #ifdef HAVE_COMPLEX_H
17530 #include <complex.h>
17536 int (*ptr)() = (int (*)())atanf;
17545 if ac_fn_c_try_link
"$LINENO"; then :
17546 gcc_cv_math_func_atanf
=yes
17548 gcc_cv_math_func_atanf
=no
17550 rm -f core conftest.err conftest.
$ac_objext \
17551 conftest
$ac_exeext conftest.
$ac_ext
17553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17554 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17555 if test $gcc_cv_math_func_atanf = yes; then
17557 cat >>confdefs.h
<<_ACEOF
17558 #define HAVE_ATANF 1
17566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17567 $as_echo_n "checking for atan... " >&6; }
17568 if test "${gcc_cv_math_func_atan+set}" = set; then :
17569 $as_echo_n "(cached) " >&6
17571 if test x
$gcc_no_link = xyes
; then
17572 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17575 /* end confdefs.h. */
17577 #ifdef HAVE_COMPLEX_H
17578 #include <complex.h>
17584 int (*ptr)() = (int (*)())atan;
17593 if ac_fn_c_try_link
"$LINENO"; then :
17594 gcc_cv_math_func_atan
=yes
17596 gcc_cv_math_func_atan
=no
17598 rm -f core conftest.err conftest.
$ac_objext \
17599 conftest
$ac_exeext conftest.
$ac_ext
17601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17602 $as_echo "$gcc_cv_math_func_atan" >&6; }
17603 if test $gcc_cv_math_func_atan = yes; then
17605 cat >>confdefs.h
<<_ACEOF
17606 #define HAVE_ATAN 1
17614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17615 $as_echo_n "checking for atanl... " >&6; }
17616 if test "${gcc_cv_math_func_atanl+set}" = set; then :
17617 $as_echo_n "(cached) " >&6
17619 if test x
$gcc_no_link = xyes
; then
17620 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17623 /* end confdefs.h. */
17625 #ifdef HAVE_COMPLEX_H
17626 #include <complex.h>
17632 int (*ptr)() = (int (*)())atanl;
17641 if ac_fn_c_try_link
"$LINENO"; then :
17642 gcc_cv_math_func_atanl
=yes
17644 gcc_cv_math_func_atanl
=no
17646 rm -f core conftest.err conftest.
$ac_objext \
17647 conftest
$ac_exeext conftest.
$ac_ext
17649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17650 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17651 if test $gcc_cv_math_func_atanl = yes; then
17653 cat >>confdefs.h
<<_ACEOF
17654 #define HAVE_ATANL 1
17662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17663 $as_echo_n "checking for atanhf... " >&6; }
17664 if test "${gcc_cv_math_func_atanhf+set}" = set; then :
17665 $as_echo_n "(cached) " >&6
17667 if test x
$gcc_no_link = xyes
; then
17668 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17671 /* end confdefs.h. */
17673 #ifdef HAVE_COMPLEX_H
17674 #include <complex.h>
17680 int (*ptr)() = (int (*)())atanhf;
17689 if ac_fn_c_try_link
"$LINENO"; then :
17690 gcc_cv_math_func_atanhf
=yes
17692 gcc_cv_math_func_atanhf
=no
17694 rm -f core conftest.err conftest.
$ac_objext \
17695 conftest
$ac_exeext conftest.
$ac_ext
17697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17698 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
17699 if test $gcc_cv_math_func_atanhf = yes; then
17701 cat >>confdefs.h
<<_ACEOF
17702 #define HAVE_ATANHF 1
17710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
17711 $as_echo_n "checking for atanh... " >&6; }
17712 if test "${gcc_cv_math_func_atanh+set}" = set; then :
17713 $as_echo_n "(cached) " >&6
17715 if test x
$gcc_no_link = xyes
; then
17716 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17719 /* end confdefs.h. */
17721 #ifdef HAVE_COMPLEX_H
17722 #include <complex.h>
17728 int (*ptr)() = (int (*)())atanh;
17737 if ac_fn_c_try_link
"$LINENO"; then :
17738 gcc_cv_math_func_atanh
=yes
17740 gcc_cv_math_func_atanh
=no
17742 rm -f core conftest.err conftest.
$ac_objext \
17743 conftest
$ac_exeext conftest.
$ac_ext
17745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
17746 $as_echo "$gcc_cv_math_func_atanh" >&6; }
17747 if test $gcc_cv_math_func_atanh = yes; then
17749 cat >>confdefs.h
<<_ACEOF
17750 #define HAVE_ATANH 1
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
17759 $as_echo_n "checking for atanhl... " >&6; }
17760 if test "${gcc_cv_math_func_atanhl+set}" = set; then :
17761 $as_echo_n "(cached) " >&6
17763 if test x
$gcc_no_link = xyes
; then
17764 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17767 /* end confdefs.h. */
17769 #ifdef HAVE_COMPLEX_H
17770 #include <complex.h>
17776 int (*ptr)() = (int (*)())atanhl;
17785 if ac_fn_c_try_link
"$LINENO"; then :
17786 gcc_cv_math_func_atanhl
=yes
17788 gcc_cv_math_func_atanhl
=no
17790 rm -f core conftest.err conftest.
$ac_objext \
17791 conftest
$ac_exeext conftest.
$ac_ext
17793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
17794 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
17795 if test $gcc_cv_math_func_atanhl = yes; then
17797 cat >>confdefs.h
<<_ACEOF
17798 #define HAVE_ATANHL 1
17806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
17807 $as_echo_n "checking for cargf... " >&6; }
17808 if test "${gcc_cv_math_func_cargf+set}" = set; then :
17809 $as_echo_n "(cached) " >&6
17811 if test x
$gcc_no_link = xyes
; then
17812 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17815 /* end confdefs.h. */
17817 #ifdef HAVE_COMPLEX_H
17818 #include <complex.h>
17824 int (*ptr)() = (int (*)())cargf;
17833 if ac_fn_c_try_link
"$LINENO"; then :
17834 gcc_cv_math_func_cargf
=yes
17836 gcc_cv_math_func_cargf
=no
17838 rm -f core conftest.err conftest.
$ac_objext \
17839 conftest
$ac_exeext conftest.
$ac_ext
17841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
17842 $as_echo "$gcc_cv_math_func_cargf" >&6; }
17843 if test $gcc_cv_math_func_cargf = yes; then
17845 cat >>confdefs.h
<<_ACEOF
17846 #define HAVE_CARGF 1
17854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
17855 $as_echo_n "checking for carg... " >&6; }
17856 if test "${gcc_cv_math_func_carg+set}" = set; then :
17857 $as_echo_n "(cached) " >&6
17859 if test x
$gcc_no_link = xyes
; then
17860 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17863 /* end confdefs.h. */
17865 #ifdef HAVE_COMPLEX_H
17866 #include <complex.h>
17872 int (*ptr)() = (int (*)())carg;
17881 if ac_fn_c_try_link
"$LINENO"; then :
17882 gcc_cv_math_func_carg
=yes
17884 gcc_cv_math_func_carg
=no
17886 rm -f core conftest.err conftest.
$ac_objext \
17887 conftest
$ac_exeext conftest.
$ac_ext
17889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
17890 $as_echo "$gcc_cv_math_func_carg" >&6; }
17891 if test $gcc_cv_math_func_carg = yes; then
17893 cat >>confdefs.h
<<_ACEOF
17894 #define HAVE_CARG 1
17902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
17903 $as_echo_n "checking for cargl... " >&6; }
17904 if test "${gcc_cv_math_func_cargl+set}" = set; then :
17905 $as_echo_n "(cached) " >&6
17907 if test x
$gcc_no_link = xyes
; then
17908 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17911 /* end confdefs.h. */
17913 #ifdef HAVE_COMPLEX_H
17914 #include <complex.h>
17920 int (*ptr)() = (int (*)())cargl;
17929 if ac_fn_c_try_link
"$LINENO"; then :
17930 gcc_cv_math_func_cargl
=yes
17932 gcc_cv_math_func_cargl
=no
17934 rm -f core conftest.err conftest.
$ac_objext \
17935 conftest
$ac_exeext conftest.
$ac_ext
17937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
17938 $as_echo "$gcc_cv_math_func_cargl" >&6; }
17939 if test $gcc_cv_math_func_cargl = yes; then
17941 cat >>confdefs.h
<<_ACEOF
17942 #define HAVE_CARGL 1
17950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
17951 $as_echo_n "checking for ceilf... " >&6; }
17952 if test "${gcc_cv_math_func_ceilf+set}" = set; then :
17953 $as_echo_n "(cached) " >&6
17955 if test x
$gcc_no_link = xyes
; then
17956 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17959 /* end confdefs.h. */
17961 #ifdef HAVE_COMPLEX_H
17962 #include <complex.h>
17968 int (*ptr)() = (int (*)())ceilf;
17977 if ac_fn_c_try_link
"$LINENO"; then :
17978 gcc_cv_math_func_ceilf
=yes
17980 gcc_cv_math_func_ceilf
=no
17982 rm -f core conftest.err conftest.
$ac_objext \
17983 conftest
$ac_exeext conftest.
$ac_ext
17985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
17986 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
17987 if test $gcc_cv_math_func_ceilf = yes; then
17989 cat >>confdefs.h
<<_ACEOF
17990 #define HAVE_CEILF 1
17998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
17999 $as_echo_n "checking for ceil... " >&6; }
18000 if test "${gcc_cv_math_func_ceil+set}" = set; then :
18001 $as_echo_n "(cached) " >&6
18003 if test x
$gcc_no_link = xyes
; then
18004 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18007 /* end confdefs.h. */
18009 #ifdef HAVE_COMPLEX_H
18010 #include <complex.h>
18016 int (*ptr)() = (int (*)())ceil;
18025 if ac_fn_c_try_link
"$LINENO"; then :
18026 gcc_cv_math_func_ceil
=yes
18028 gcc_cv_math_func_ceil
=no
18030 rm -f core conftest.err conftest.
$ac_objext \
18031 conftest
$ac_exeext conftest.
$ac_ext
18033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
18034 $as_echo "$gcc_cv_math_func_ceil" >&6; }
18035 if test $gcc_cv_math_func_ceil = yes; then
18037 cat >>confdefs.h
<<_ACEOF
18038 #define HAVE_CEIL 1
18046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18047 $as_echo_n "checking for ceill... " >&6; }
18048 if test "${gcc_cv_math_func_ceill+set}" = set; then :
18049 $as_echo_n "(cached) " >&6
18051 if test x
$gcc_no_link = xyes
; then
18052 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18055 /* end confdefs.h. */
18057 #ifdef HAVE_COMPLEX_H
18058 #include <complex.h>
18064 int (*ptr)() = (int (*)())ceill;
18073 if ac_fn_c_try_link
"$LINENO"; then :
18074 gcc_cv_math_func_ceill
=yes
18076 gcc_cv_math_func_ceill
=no
18078 rm -f core conftest.err conftest.
$ac_objext \
18079 conftest
$ac_exeext conftest.
$ac_ext
18081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18082 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18083 if test $gcc_cv_math_func_ceill = yes; then
18085 cat >>confdefs.h
<<_ACEOF
18086 #define HAVE_CEILL 1
18094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18095 $as_echo_n "checking for copysignf... " >&6; }
18096 if test "${gcc_cv_math_func_copysignf+set}" = set; then :
18097 $as_echo_n "(cached) " >&6
18099 if test x
$gcc_no_link = xyes
; then
18100 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18103 /* end confdefs.h. */
18105 #ifdef HAVE_COMPLEX_H
18106 #include <complex.h>
18112 int (*ptr)() = (int (*)())copysignf;
18121 if ac_fn_c_try_link
"$LINENO"; then :
18122 gcc_cv_math_func_copysignf
=yes
18124 gcc_cv_math_func_copysignf
=no
18126 rm -f core conftest.err conftest.
$ac_objext \
18127 conftest
$ac_exeext conftest.
$ac_ext
18129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18130 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18131 if test $gcc_cv_math_func_copysignf = yes; then
18133 cat >>confdefs.h
<<_ACEOF
18134 #define HAVE_COPYSIGNF 1
18142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18143 $as_echo_n "checking for copysign... " >&6; }
18144 if test "${gcc_cv_math_func_copysign+set}" = set; then :
18145 $as_echo_n "(cached) " >&6
18147 if test x
$gcc_no_link = xyes
; then
18148 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18151 /* end confdefs.h. */
18153 #ifdef HAVE_COMPLEX_H
18154 #include <complex.h>
18160 int (*ptr)() = (int (*)())copysign;
18169 if ac_fn_c_try_link
"$LINENO"; then :
18170 gcc_cv_math_func_copysign
=yes
18172 gcc_cv_math_func_copysign
=no
18174 rm -f core conftest.err conftest.
$ac_objext \
18175 conftest
$ac_exeext conftest.
$ac_ext
18177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18178 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18179 if test $gcc_cv_math_func_copysign = yes; then
18181 cat >>confdefs.h
<<_ACEOF
18182 #define HAVE_COPYSIGN 1
18190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18191 $as_echo_n "checking for copysignl... " >&6; }
18192 if test "${gcc_cv_math_func_copysignl+set}" = set; then :
18193 $as_echo_n "(cached) " >&6
18195 if test x
$gcc_no_link = xyes
; then
18196 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18199 /* end confdefs.h. */
18201 #ifdef HAVE_COMPLEX_H
18202 #include <complex.h>
18208 int (*ptr)() = (int (*)())copysignl;
18217 if ac_fn_c_try_link
"$LINENO"; then :
18218 gcc_cv_math_func_copysignl
=yes
18220 gcc_cv_math_func_copysignl
=no
18222 rm -f core conftest.err conftest.
$ac_objext \
18223 conftest
$ac_exeext conftest.
$ac_ext
18225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18226 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18227 if test $gcc_cv_math_func_copysignl = yes; then
18229 cat >>confdefs.h
<<_ACEOF
18230 #define HAVE_COPYSIGNL 1
18238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18239 $as_echo_n "checking for cosf... " >&6; }
18240 if test "${gcc_cv_math_func_cosf+set}" = set; then :
18241 $as_echo_n "(cached) " >&6
18243 if test x
$gcc_no_link = xyes
; then
18244 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18247 /* end confdefs.h. */
18249 #ifdef HAVE_COMPLEX_H
18250 #include <complex.h>
18256 int (*ptr)() = (int (*)())cosf;
18265 if ac_fn_c_try_link
"$LINENO"; then :
18266 gcc_cv_math_func_cosf
=yes
18268 gcc_cv_math_func_cosf
=no
18270 rm -f core conftest.err conftest.
$ac_objext \
18271 conftest
$ac_exeext conftest.
$ac_ext
18273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18274 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18275 if test $gcc_cv_math_func_cosf = yes; then
18277 cat >>confdefs.h
<<_ACEOF
18278 #define HAVE_COSF 1
18286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18287 $as_echo_n "checking for cos... " >&6; }
18288 if test "${gcc_cv_math_func_cos+set}" = set; then :
18289 $as_echo_n "(cached) " >&6
18291 if test x
$gcc_no_link = xyes
; then
18292 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18295 /* end confdefs.h. */
18297 #ifdef HAVE_COMPLEX_H
18298 #include <complex.h>
18304 int (*ptr)() = (int (*)())cos;
18313 if ac_fn_c_try_link
"$LINENO"; then :
18314 gcc_cv_math_func_cos
=yes
18316 gcc_cv_math_func_cos
=no
18318 rm -f core conftest.err conftest.
$ac_objext \
18319 conftest
$ac_exeext conftest.
$ac_ext
18321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18322 $as_echo "$gcc_cv_math_func_cos" >&6; }
18323 if test $gcc_cv_math_func_cos = yes; then
18325 cat >>confdefs.h
<<_ACEOF
18334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18335 $as_echo_n "checking for cosl... " >&6; }
18336 if test "${gcc_cv_math_func_cosl+set}" = set; then :
18337 $as_echo_n "(cached) " >&6
18339 if test x
$gcc_no_link = xyes
; then
18340 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18343 /* end confdefs.h. */
18345 #ifdef HAVE_COMPLEX_H
18346 #include <complex.h>
18352 int (*ptr)() = (int (*)())cosl;
18361 if ac_fn_c_try_link
"$LINENO"; then :
18362 gcc_cv_math_func_cosl
=yes
18364 gcc_cv_math_func_cosl
=no
18366 rm -f core conftest.err conftest.
$ac_objext \
18367 conftest
$ac_exeext conftest.
$ac_ext
18369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18370 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18371 if test $gcc_cv_math_func_cosl = yes; then
18373 cat >>confdefs.h
<<_ACEOF
18374 #define HAVE_COSL 1
18382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18383 $as_echo_n "checking for ccosf... " >&6; }
18384 if test "${gcc_cv_math_func_ccosf+set}" = set; then :
18385 $as_echo_n "(cached) " >&6
18387 if test x
$gcc_no_link = xyes
; then
18388 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18391 /* end confdefs.h. */
18393 #ifdef HAVE_COMPLEX_H
18394 #include <complex.h>
18400 int (*ptr)() = (int (*)())ccosf;
18409 if ac_fn_c_try_link
"$LINENO"; then :
18410 gcc_cv_math_func_ccosf
=yes
18412 gcc_cv_math_func_ccosf
=no
18414 rm -f core conftest.err conftest.
$ac_objext \
18415 conftest
$ac_exeext conftest.
$ac_ext
18417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18418 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18419 if test $gcc_cv_math_func_ccosf = yes; then
18421 cat >>confdefs.h
<<_ACEOF
18422 #define HAVE_CCOSF 1
18430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18431 $as_echo_n "checking for ccos... " >&6; }
18432 if test "${gcc_cv_math_func_ccos+set}" = set; then :
18433 $as_echo_n "(cached) " >&6
18435 if test x
$gcc_no_link = xyes
; then
18436 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18439 /* end confdefs.h. */
18441 #ifdef HAVE_COMPLEX_H
18442 #include <complex.h>
18448 int (*ptr)() = (int (*)())ccos;
18457 if ac_fn_c_try_link
"$LINENO"; then :
18458 gcc_cv_math_func_ccos
=yes
18460 gcc_cv_math_func_ccos
=no
18462 rm -f core conftest.err conftest.
$ac_objext \
18463 conftest
$ac_exeext conftest.
$ac_ext
18465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18466 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18467 if test $gcc_cv_math_func_ccos = yes; then
18469 cat >>confdefs.h
<<_ACEOF
18470 #define HAVE_CCOS 1
18478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18479 $as_echo_n "checking for ccosl... " >&6; }
18480 if test "${gcc_cv_math_func_ccosl+set}" = set; then :
18481 $as_echo_n "(cached) " >&6
18483 if test x
$gcc_no_link = xyes
; then
18484 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18487 /* end confdefs.h. */
18489 #ifdef HAVE_COMPLEX_H
18490 #include <complex.h>
18496 int (*ptr)() = (int (*)())ccosl;
18505 if ac_fn_c_try_link
"$LINENO"; then :
18506 gcc_cv_math_func_ccosl
=yes
18508 gcc_cv_math_func_ccosl
=no
18510 rm -f core conftest.err conftest.
$ac_objext \
18511 conftest
$ac_exeext conftest.
$ac_ext
18513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18514 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18515 if test $gcc_cv_math_func_ccosl = yes; then
18517 cat >>confdefs.h
<<_ACEOF
18518 #define HAVE_CCOSL 1
18526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18527 $as_echo_n "checking for coshf... " >&6; }
18528 if test "${gcc_cv_math_func_coshf+set}" = set; then :
18529 $as_echo_n "(cached) " >&6
18531 if test x
$gcc_no_link = xyes
; then
18532 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18535 /* end confdefs.h. */
18537 #ifdef HAVE_COMPLEX_H
18538 #include <complex.h>
18544 int (*ptr)() = (int (*)())coshf;
18553 if ac_fn_c_try_link
"$LINENO"; then :
18554 gcc_cv_math_func_coshf
=yes
18556 gcc_cv_math_func_coshf
=no
18558 rm -f core conftest.err conftest.
$ac_objext \
18559 conftest
$ac_exeext conftest.
$ac_ext
18561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18562 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18563 if test $gcc_cv_math_func_coshf = yes; then
18565 cat >>confdefs.h
<<_ACEOF
18566 #define HAVE_COSHF 1
18574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18575 $as_echo_n "checking for cosh... " >&6; }
18576 if test "${gcc_cv_math_func_cosh+set}" = set; then :
18577 $as_echo_n "(cached) " >&6
18579 if test x
$gcc_no_link = xyes
; then
18580 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18583 /* end confdefs.h. */
18585 #ifdef HAVE_COMPLEX_H
18586 #include <complex.h>
18592 int (*ptr)() = (int (*)())cosh;
18601 if ac_fn_c_try_link
"$LINENO"; then :
18602 gcc_cv_math_func_cosh
=yes
18604 gcc_cv_math_func_cosh
=no
18606 rm -f core conftest.err conftest.
$ac_objext \
18607 conftest
$ac_exeext conftest.
$ac_ext
18609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18610 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18611 if test $gcc_cv_math_func_cosh = yes; then
18613 cat >>confdefs.h
<<_ACEOF
18614 #define HAVE_COSH 1
18622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18623 $as_echo_n "checking for coshl... " >&6; }
18624 if test "${gcc_cv_math_func_coshl+set}" = set; then :
18625 $as_echo_n "(cached) " >&6
18627 if test x
$gcc_no_link = xyes
; then
18628 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18631 /* end confdefs.h. */
18633 #ifdef HAVE_COMPLEX_H
18634 #include <complex.h>
18640 int (*ptr)() = (int (*)())coshl;
18649 if ac_fn_c_try_link
"$LINENO"; then :
18650 gcc_cv_math_func_coshl
=yes
18652 gcc_cv_math_func_coshl
=no
18654 rm -f core conftest.err conftest.
$ac_objext \
18655 conftest
$ac_exeext conftest.
$ac_ext
18657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18658 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18659 if test $gcc_cv_math_func_coshl = yes; then
18661 cat >>confdefs.h
<<_ACEOF
18662 #define HAVE_COSHL 1
18670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18671 $as_echo_n "checking for ccoshf... " >&6; }
18672 if test "${gcc_cv_math_func_ccoshf+set}" = set; then :
18673 $as_echo_n "(cached) " >&6
18675 if test x
$gcc_no_link = xyes
; then
18676 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18679 /* end confdefs.h. */
18681 #ifdef HAVE_COMPLEX_H
18682 #include <complex.h>
18688 int (*ptr)() = (int (*)())ccoshf;
18697 if ac_fn_c_try_link
"$LINENO"; then :
18698 gcc_cv_math_func_ccoshf
=yes
18700 gcc_cv_math_func_ccoshf
=no
18702 rm -f core conftest.err conftest.
$ac_objext \
18703 conftest
$ac_exeext conftest.
$ac_ext
18705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18706 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
18707 if test $gcc_cv_math_func_ccoshf = yes; then
18709 cat >>confdefs.h
<<_ACEOF
18710 #define HAVE_CCOSHF 1
18718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
18719 $as_echo_n "checking for ccosh... " >&6; }
18720 if test "${gcc_cv_math_func_ccosh+set}" = set; then :
18721 $as_echo_n "(cached) " >&6
18723 if test x
$gcc_no_link = xyes
; then
18724 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18727 /* end confdefs.h. */
18729 #ifdef HAVE_COMPLEX_H
18730 #include <complex.h>
18736 int (*ptr)() = (int (*)())ccosh;
18745 if ac_fn_c_try_link
"$LINENO"; then :
18746 gcc_cv_math_func_ccosh
=yes
18748 gcc_cv_math_func_ccosh
=no
18750 rm -f core conftest.err conftest.
$ac_objext \
18751 conftest
$ac_exeext conftest.
$ac_ext
18753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
18754 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
18755 if test $gcc_cv_math_func_ccosh = yes; then
18757 cat >>confdefs.h
<<_ACEOF
18758 #define HAVE_CCOSH 1
18766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
18767 $as_echo_n "checking for ccoshl... " >&6; }
18768 if test "${gcc_cv_math_func_ccoshl+set}" = set; then :
18769 $as_echo_n "(cached) " >&6
18771 if test x
$gcc_no_link = xyes
; then
18772 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18775 /* end confdefs.h. */
18777 #ifdef HAVE_COMPLEX_H
18778 #include <complex.h>
18784 int (*ptr)() = (int (*)())ccoshl;
18793 if ac_fn_c_try_link
"$LINENO"; then :
18794 gcc_cv_math_func_ccoshl
=yes
18796 gcc_cv_math_func_ccoshl
=no
18798 rm -f core conftest.err conftest.
$ac_objext \
18799 conftest
$ac_exeext conftest.
$ac_ext
18801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
18802 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
18803 if test $gcc_cv_math_func_ccoshl = yes; then
18805 cat >>confdefs.h
<<_ACEOF
18806 #define HAVE_CCOSHL 1
18814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
18815 $as_echo_n "checking for expf... " >&6; }
18816 if test "${gcc_cv_math_func_expf+set}" = set; then :
18817 $as_echo_n "(cached) " >&6
18819 if test x
$gcc_no_link = xyes
; then
18820 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18823 /* end confdefs.h. */
18825 #ifdef HAVE_COMPLEX_H
18826 #include <complex.h>
18832 int (*ptr)() = (int (*)())expf;
18841 if ac_fn_c_try_link
"$LINENO"; then :
18842 gcc_cv_math_func_expf
=yes
18844 gcc_cv_math_func_expf
=no
18846 rm -f core conftest.err conftest.
$ac_objext \
18847 conftest
$ac_exeext conftest.
$ac_ext
18849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
18850 $as_echo "$gcc_cv_math_func_expf" >&6; }
18851 if test $gcc_cv_math_func_expf = yes; then
18853 cat >>confdefs.h
<<_ACEOF
18854 #define HAVE_EXPF 1
18862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
18863 $as_echo_n "checking for exp... " >&6; }
18864 if test "${gcc_cv_math_func_exp+set}" = set; then :
18865 $as_echo_n "(cached) " >&6
18867 if test x
$gcc_no_link = xyes
; then
18868 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18871 /* end confdefs.h. */
18873 #ifdef HAVE_COMPLEX_H
18874 #include <complex.h>
18880 int (*ptr)() = (int (*)())exp;
18889 if ac_fn_c_try_link
"$LINENO"; then :
18890 gcc_cv_math_func_exp
=yes
18892 gcc_cv_math_func_exp
=no
18894 rm -f core conftest.err conftest.
$ac_objext \
18895 conftest
$ac_exeext conftest.
$ac_ext
18897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
18898 $as_echo "$gcc_cv_math_func_exp" >&6; }
18899 if test $gcc_cv_math_func_exp = yes; then
18901 cat >>confdefs.h
<<_ACEOF
18910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
18911 $as_echo_n "checking for expl... " >&6; }
18912 if test "${gcc_cv_math_func_expl+set}" = set; then :
18913 $as_echo_n "(cached) " >&6
18915 if test x
$gcc_no_link = xyes
; then
18916 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18919 /* end confdefs.h. */
18921 #ifdef HAVE_COMPLEX_H
18922 #include <complex.h>
18928 int (*ptr)() = (int (*)())expl;
18937 if ac_fn_c_try_link
"$LINENO"; then :
18938 gcc_cv_math_func_expl
=yes
18940 gcc_cv_math_func_expl
=no
18942 rm -f core conftest.err conftest.
$ac_objext \
18943 conftest
$ac_exeext conftest.
$ac_ext
18945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
18946 $as_echo "$gcc_cv_math_func_expl" >&6; }
18947 if test $gcc_cv_math_func_expl = yes; then
18949 cat >>confdefs.h
<<_ACEOF
18950 #define HAVE_EXPL 1
18958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
18959 $as_echo_n "checking for cexpf... " >&6; }
18960 if test "${gcc_cv_math_func_cexpf+set}" = set; then :
18961 $as_echo_n "(cached) " >&6
18963 if test x
$gcc_no_link = xyes
; then
18964 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18967 /* end confdefs.h. */
18969 #ifdef HAVE_COMPLEX_H
18970 #include <complex.h>
18976 int (*ptr)() = (int (*)())cexpf;
18985 if ac_fn_c_try_link
"$LINENO"; then :
18986 gcc_cv_math_func_cexpf
=yes
18988 gcc_cv_math_func_cexpf
=no
18990 rm -f core conftest.err conftest.
$ac_objext \
18991 conftest
$ac_exeext conftest.
$ac_ext
18993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
18994 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
18995 if test $gcc_cv_math_func_cexpf = yes; then
18997 cat >>confdefs.h
<<_ACEOF
18998 #define HAVE_CEXPF 1
19006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
19007 $as_echo_n "checking for cexp... " >&6; }
19008 if test "${gcc_cv_math_func_cexp+set}" = set; then :
19009 $as_echo_n "(cached) " >&6
19011 if test x
$gcc_no_link = xyes
; then
19012 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19015 /* end confdefs.h. */
19017 #ifdef HAVE_COMPLEX_H
19018 #include <complex.h>
19024 int (*ptr)() = (int (*)())cexp;
19033 if ac_fn_c_try_link
"$LINENO"; then :
19034 gcc_cv_math_func_cexp
=yes
19036 gcc_cv_math_func_cexp
=no
19038 rm -f core conftest.err conftest.
$ac_objext \
19039 conftest
$ac_exeext conftest.
$ac_ext
19041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
19042 $as_echo "$gcc_cv_math_func_cexp" >&6; }
19043 if test $gcc_cv_math_func_cexp = yes; then
19045 cat >>confdefs.h
<<_ACEOF
19046 #define HAVE_CEXP 1
19054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19055 $as_echo_n "checking for cexpl... " >&6; }
19056 if test "${gcc_cv_math_func_cexpl+set}" = set; then :
19057 $as_echo_n "(cached) " >&6
19059 if test x
$gcc_no_link = xyes
; then
19060 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19063 /* end confdefs.h. */
19065 #ifdef HAVE_COMPLEX_H
19066 #include <complex.h>
19072 int (*ptr)() = (int (*)())cexpl;
19081 if ac_fn_c_try_link
"$LINENO"; then :
19082 gcc_cv_math_func_cexpl
=yes
19084 gcc_cv_math_func_cexpl
=no
19086 rm -f core conftest.err conftest.
$ac_objext \
19087 conftest
$ac_exeext conftest.
$ac_ext
19089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19090 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19091 if test $gcc_cv_math_func_cexpl = yes; then
19093 cat >>confdefs.h
<<_ACEOF
19094 #define HAVE_CEXPL 1
19102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19103 $as_echo_n "checking for fabsf... " >&6; }
19104 if test "${gcc_cv_math_func_fabsf+set}" = set; then :
19105 $as_echo_n "(cached) " >&6
19107 if test x
$gcc_no_link = xyes
; then
19108 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19111 /* end confdefs.h. */
19113 #ifdef HAVE_COMPLEX_H
19114 #include <complex.h>
19120 int (*ptr)() = (int (*)())fabsf;
19129 if ac_fn_c_try_link
"$LINENO"; then :
19130 gcc_cv_math_func_fabsf
=yes
19132 gcc_cv_math_func_fabsf
=no
19134 rm -f core conftest.err conftest.
$ac_objext \
19135 conftest
$ac_exeext conftest.
$ac_ext
19137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19138 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19139 if test $gcc_cv_math_func_fabsf = yes; then
19141 cat >>confdefs.h
<<_ACEOF
19142 #define HAVE_FABSF 1
19150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19151 $as_echo_n "checking for fabs... " >&6; }
19152 if test "${gcc_cv_math_func_fabs+set}" = set; then :
19153 $as_echo_n "(cached) " >&6
19155 if test x
$gcc_no_link = xyes
; then
19156 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19159 /* end confdefs.h. */
19161 #ifdef HAVE_COMPLEX_H
19162 #include <complex.h>
19168 int (*ptr)() = (int (*)())fabs;
19177 if ac_fn_c_try_link
"$LINENO"; then :
19178 gcc_cv_math_func_fabs
=yes
19180 gcc_cv_math_func_fabs
=no
19182 rm -f core conftest.err conftest.
$ac_objext \
19183 conftest
$ac_exeext conftest.
$ac_ext
19185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19186 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19187 if test $gcc_cv_math_func_fabs = yes; then
19189 cat >>confdefs.h
<<_ACEOF
19190 #define HAVE_FABS 1
19198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19199 $as_echo_n "checking for fabsl... " >&6; }
19200 if test "${gcc_cv_math_func_fabsl+set}" = set; then :
19201 $as_echo_n "(cached) " >&6
19203 if test x
$gcc_no_link = xyes
; then
19204 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19207 /* end confdefs.h. */
19209 #ifdef HAVE_COMPLEX_H
19210 #include <complex.h>
19216 int (*ptr)() = (int (*)())fabsl;
19225 if ac_fn_c_try_link
"$LINENO"; then :
19226 gcc_cv_math_func_fabsl
=yes
19228 gcc_cv_math_func_fabsl
=no
19230 rm -f core conftest.err conftest.
$ac_objext \
19231 conftest
$ac_exeext conftest.
$ac_ext
19233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19234 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19235 if test $gcc_cv_math_func_fabsl = yes; then
19237 cat >>confdefs.h
<<_ACEOF
19238 #define HAVE_FABSL 1
19246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19247 $as_echo_n "checking for cabsf... " >&6; }
19248 if test "${gcc_cv_math_func_cabsf+set}" = set; then :
19249 $as_echo_n "(cached) " >&6
19251 if test x
$gcc_no_link = xyes
; then
19252 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19255 /* end confdefs.h. */
19257 #ifdef HAVE_COMPLEX_H
19258 #include <complex.h>
19264 int (*ptr)() = (int (*)())cabsf;
19273 if ac_fn_c_try_link
"$LINENO"; then :
19274 gcc_cv_math_func_cabsf
=yes
19276 gcc_cv_math_func_cabsf
=no
19278 rm -f core conftest.err conftest.
$ac_objext \
19279 conftest
$ac_exeext conftest.
$ac_ext
19281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19282 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19283 if test $gcc_cv_math_func_cabsf = yes; then
19285 cat >>confdefs.h
<<_ACEOF
19286 #define HAVE_CABSF 1
19294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19295 $as_echo_n "checking for cabs... " >&6; }
19296 if test "${gcc_cv_math_func_cabs+set}" = set; then :
19297 $as_echo_n "(cached) " >&6
19299 if test x
$gcc_no_link = xyes
; then
19300 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19303 /* end confdefs.h. */
19305 #ifdef HAVE_COMPLEX_H
19306 #include <complex.h>
19312 int (*ptr)() = (int (*)())cabs;
19321 if ac_fn_c_try_link
"$LINENO"; then :
19322 gcc_cv_math_func_cabs
=yes
19324 gcc_cv_math_func_cabs
=no
19326 rm -f core conftest.err conftest.
$ac_objext \
19327 conftest
$ac_exeext conftest.
$ac_ext
19329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19330 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19331 if test $gcc_cv_math_func_cabs = yes; then
19333 cat >>confdefs.h
<<_ACEOF
19334 #define HAVE_CABS 1
19342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19343 $as_echo_n "checking for cabsl... " >&6; }
19344 if test "${gcc_cv_math_func_cabsl+set}" = set; then :
19345 $as_echo_n "(cached) " >&6
19347 if test x
$gcc_no_link = xyes
; then
19348 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19351 /* end confdefs.h. */
19353 #ifdef HAVE_COMPLEX_H
19354 #include <complex.h>
19360 int (*ptr)() = (int (*)())cabsl;
19369 if ac_fn_c_try_link
"$LINENO"; then :
19370 gcc_cv_math_func_cabsl
=yes
19372 gcc_cv_math_func_cabsl
=no
19374 rm -f core conftest.err conftest.
$ac_objext \
19375 conftest
$ac_exeext conftest.
$ac_ext
19377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19378 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19379 if test $gcc_cv_math_func_cabsl = yes; then
19381 cat >>confdefs.h
<<_ACEOF
19382 #define HAVE_CABSL 1
19390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19391 $as_echo_n "checking for floorf... " >&6; }
19392 if test "${gcc_cv_math_func_floorf+set}" = set; then :
19393 $as_echo_n "(cached) " >&6
19395 if test x
$gcc_no_link = xyes
; then
19396 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19399 /* end confdefs.h. */
19401 #ifdef HAVE_COMPLEX_H
19402 #include <complex.h>
19408 int (*ptr)() = (int (*)())floorf;
19417 if ac_fn_c_try_link
"$LINENO"; then :
19418 gcc_cv_math_func_floorf
=yes
19420 gcc_cv_math_func_floorf
=no
19422 rm -f core conftest.err conftest.
$ac_objext \
19423 conftest
$ac_exeext conftest.
$ac_ext
19425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19426 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19427 if test $gcc_cv_math_func_floorf = yes; then
19429 cat >>confdefs.h
<<_ACEOF
19430 #define HAVE_FLOORF 1
19438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19439 $as_echo_n "checking for floor... " >&6; }
19440 if test "${gcc_cv_math_func_floor+set}" = set; then :
19441 $as_echo_n "(cached) " >&6
19443 if test x
$gcc_no_link = xyes
; then
19444 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19447 /* end confdefs.h. */
19449 #ifdef HAVE_COMPLEX_H
19450 #include <complex.h>
19456 int (*ptr)() = (int (*)())floor;
19465 if ac_fn_c_try_link
"$LINENO"; then :
19466 gcc_cv_math_func_floor
=yes
19468 gcc_cv_math_func_floor
=no
19470 rm -f core conftest.err conftest.
$ac_objext \
19471 conftest
$ac_exeext conftest.
$ac_ext
19473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19474 $as_echo "$gcc_cv_math_func_floor" >&6; }
19475 if test $gcc_cv_math_func_floor = yes; then
19477 cat >>confdefs.h
<<_ACEOF
19478 #define HAVE_FLOOR 1
19486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19487 $as_echo_n "checking for floorl... " >&6; }
19488 if test "${gcc_cv_math_func_floorl+set}" = set; then :
19489 $as_echo_n "(cached) " >&6
19491 if test x
$gcc_no_link = xyes
; then
19492 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19495 /* end confdefs.h. */
19497 #ifdef HAVE_COMPLEX_H
19498 #include <complex.h>
19504 int (*ptr)() = (int (*)())floorl;
19513 if ac_fn_c_try_link
"$LINENO"; then :
19514 gcc_cv_math_func_floorl
=yes
19516 gcc_cv_math_func_floorl
=no
19518 rm -f core conftest.err conftest.
$ac_objext \
19519 conftest
$ac_exeext conftest.
$ac_ext
19521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19522 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19523 if test $gcc_cv_math_func_floorl = yes; then
19525 cat >>confdefs.h
<<_ACEOF
19526 #define HAVE_FLOORL 1
19534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19535 $as_echo_n "checking for fmodf... " >&6; }
19536 if test "${gcc_cv_math_func_fmodf+set}" = set; then :
19537 $as_echo_n "(cached) " >&6
19539 if test x
$gcc_no_link = xyes
; then
19540 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19542 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19543 /* end confdefs.h. */
19545 #ifdef HAVE_COMPLEX_H
19546 #include <complex.h>
19552 int (*ptr)() = (int (*)())fmodf;
19561 if ac_fn_c_try_link
"$LINENO"; then :
19562 gcc_cv_math_func_fmodf
=yes
19564 gcc_cv_math_func_fmodf
=no
19566 rm -f core conftest.err conftest.
$ac_objext \
19567 conftest
$ac_exeext conftest.
$ac_ext
19569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19570 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
19571 if test $gcc_cv_math_func_fmodf = yes; then
19573 cat >>confdefs.h
<<_ACEOF
19574 #define HAVE_FMODF 1
19582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19583 $as_echo_n "checking for fmod... " >&6; }
19584 if test "${gcc_cv_math_func_fmod+set}" = set; then :
19585 $as_echo_n "(cached) " >&6
19587 if test x
$gcc_no_link = xyes
; then
19588 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19591 /* end confdefs.h. */
19593 #ifdef HAVE_COMPLEX_H
19594 #include <complex.h>
19600 int (*ptr)() = (int (*)())fmod;
19609 if ac_fn_c_try_link
"$LINENO"; then :
19610 gcc_cv_math_func_fmod
=yes
19612 gcc_cv_math_func_fmod
=no
19614 rm -f core conftest.err conftest.
$ac_objext \
19615 conftest
$ac_exeext conftest.
$ac_ext
19617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19618 $as_echo "$gcc_cv_math_func_fmod" >&6; }
19619 if test $gcc_cv_math_func_fmod = yes; then
19621 cat >>confdefs.h
<<_ACEOF
19622 #define HAVE_FMOD 1
19630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19631 $as_echo_n "checking for fmodl... " >&6; }
19632 if test "${gcc_cv_math_func_fmodl+set}" = set; then :
19633 $as_echo_n "(cached) " >&6
19635 if test x
$gcc_no_link = xyes
; then
19636 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19639 /* end confdefs.h. */
19641 #ifdef HAVE_COMPLEX_H
19642 #include <complex.h>
19648 int (*ptr)() = (int (*)())fmodl;
19657 if ac_fn_c_try_link
"$LINENO"; then :
19658 gcc_cv_math_func_fmodl
=yes
19660 gcc_cv_math_func_fmodl
=no
19662 rm -f core conftest.err conftest.
$ac_objext \
19663 conftest
$ac_exeext conftest.
$ac_ext
19665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19666 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
19667 if test $gcc_cv_math_func_fmodl = yes; then
19669 cat >>confdefs.h
<<_ACEOF
19670 #define HAVE_FMODL 1
19678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19679 $as_echo_n "checking for frexpf... " >&6; }
19680 if test "${gcc_cv_math_func_frexpf+set}" = set; then :
19681 $as_echo_n "(cached) " >&6
19683 if test x
$gcc_no_link = xyes
; then
19684 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19687 /* end confdefs.h. */
19689 #ifdef HAVE_COMPLEX_H
19690 #include <complex.h>
19696 int (*ptr)() = (int (*)())frexpf;
19705 if ac_fn_c_try_link
"$LINENO"; then :
19706 gcc_cv_math_func_frexpf
=yes
19708 gcc_cv_math_func_frexpf
=no
19710 rm -f core conftest.err conftest.
$ac_objext \
19711 conftest
$ac_exeext conftest.
$ac_ext
19713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
19714 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
19715 if test $gcc_cv_math_func_frexpf = yes; then
19717 cat >>confdefs.h
<<_ACEOF
19718 #define HAVE_FREXPF 1
19726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
19727 $as_echo_n "checking for frexp... " >&6; }
19728 if test "${gcc_cv_math_func_frexp+set}" = set; then :
19729 $as_echo_n "(cached) " >&6
19731 if test x
$gcc_no_link = xyes
; then
19732 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19735 /* end confdefs.h. */
19737 #ifdef HAVE_COMPLEX_H
19738 #include <complex.h>
19744 int (*ptr)() = (int (*)())frexp;
19753 if ac_fn_c_try_link
"$LINENO"; then :
19754 gcc_cv_math_func_frexp
=yes
19756 gcc_cv_math_func_frexp
=no
19758 rm -f core conftest.err conftest.
$ac_objext \
19759 conftest
$ac_exeext conftest.
$ac_ext
19761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
19762 $as_echo "$gcc_cv_math_func_frexp" >&6; }
19763 if test $gcc_cv_math_func_frexp = yes; then
19765 cat >>confdefs.h
<<_ACEOF
19766 #define HAVE_FREXP 1
19774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
19775 $as_echo_n "checking for frexpl... " >&6; }
19776 if test "${gcc_cv_math_func_frexpl+set}" = set; then :
19777 $as_echo_n "(cached) " >&6
19779 if test x
$gcc_no_link = xyes
; then
19780 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19783 /* end confdefs.h. */
19785 #ifdef HAVE_COMPLEX_H
19786 #include <complex.h>
19792 int (*ptr)() = (int (*)())frexpl;
19801 if ac_fn_c_try_link
"$LINENO"; then :
19802 gcc_cv_math_func_frexpl
=yes
19804 gcc_cv_math_func_frexpl
=no
19806 rm -f core conftest.err conftest.
$ac_objext \
19807 conftest
$ac_exeext conftest.
$ac_ext
19809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
19810 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
19811 if test $gcc_cv_math_func_frexpl = yes; then
19813 cat >>confdefs.h
<<_ACEOF
19814 #define HAVE_FREXPL 1
19822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
19823 $as_echo_n "checking for hypotf... " >&6; }
19824 if test "${gcc_cv_math_func_hypotf+set}" = set; then :
19825 $as_echo_n "(cached) " >&6
19827 if test x
$gcc_no_link = xyes
; then
19828 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19831 /* end confdefs.h. */
19833 #ifdef HAVE_COMPLEX_H
19834 #include <complex.h>
19840 int (*ptr)() = (int (*)())hypotf;
19849 if ac_fn_c_try_link
"$LINENO"; then :
19850 gcc_cv_math_func_hypotf
=yes
19852 gcc_cv_math_func_hypotf
=no
19854 rm -f core conftest.err conftest.
$ac_objext \
19855 conftest
$ac_exeext conftest.
$ac_ext
19857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
19858 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
19859 if test $gcc_cv_math_func_hypotf = yes; then
19861 cat >>confdefs.h
<<_ACEOF
19862 #define HAVE_HYPOTF 1
19870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
19871 $as_echo_n "checking for hypot... " >&6; }
19872 if test "${gcc_cv_math_func_hypot+set}" = set; then :
19873 $as_echo_n "(cached) " >&6
19875 if test x
$gcc_no_link = xyes
; then
19876 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19879 /* end confdefs.h. */
19881 #ifdef HAVE_COMPLEX_H
19882 #include <complex.h>
19888 int (*ptr)() = (int (*)())hypot;
19897 if ac_fn_c_try_link
"$LINENO"; then :
19898 gcc_cv_math_func_hypot
=yes
19900 gcc_cv_math_func_hypot
=no
19902 rm -f core conftest.err conftest.
$ac_objext \
19903 conftest
$ac_exeext conftest.
$ac_ext
19905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
19906 $as_echo "$gcc_cv_math_func_hypot" >&6; }
19907 if test $gcc_cv_math_func_hypot = yes; then
19909 cat >>confdefs.h
<<_ACEOF
19910 #define HAVE_HYPOT 1
19918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
19919 $as_echo_n "checking for hypotl... " >&6; }
19920 if test "${gcc_cv_math_func_hypotl+set}" = set; then :
19921 $as_echo_n "(cached) " >&6
19923 if test x
$gcc_no_link = xyes
; then
19924 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19927 /* end confdefs.h. */
19929 #ifdef HAVE_COMPLEX_H
19930 #include <complex.h>
19936 int (*ptr)() = (int (*)())hypotl;
19945 if ac_fn_c_try_link
"$LINENO"; then :
19946 gcc_cv_math_func_hypotl
=yes
19948 gcc_cv_math_func_hypotl
=no
19950 rm -f core conftest.err conftest.
$ac_objext \
19951 conftest
$ac_exeext conftest.
$ac_ext
19953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
19954 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
19955 if test $gcc_cv_math_func_hypotl = yes; then
19957 cat >>confdefs.h
<<_ACEOF
19958 #define HAVE_HYPOTL 1
19966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
19967 $as_echo_n "checking for ldexpf... " >&6; }
19968 if test "${gcc_cv_math_func_ldexpf+set}" = set; then :
19969 $as_echo_n "(cached) " >&6
19971 if test x
$gcc_no_link = xyes
; then
19972 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19975 /* end confdefs.h. */
19977 #ifdef HAVE_COMPLEX_H
19978 #include <complex.h>
19984 int (*ptr)() = (int (*)())ldexpf;
19993 if ac_fn_c_try_link
"$LINENO"; then :
19994 gcc_cv_math_func_ldexpf
=yes
19996 gcc_cv_math_func_ldexpf
=no
19998 rm -f core conftest.err conftest.
$ac_objext \
19999 conftest
$ac_exeext conftest.
$ac_ext
20001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
20002 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
20003 if test $gcc_cv_math_func_ldexpf = yes; then
20005 cat >>confdefs.h
<<_ACEOF
20006 #define HAVE_LDEXPF 1
20014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
20015 $as_echo_n "checking for ldexp... " >&6; }
20016 if test "${gcc_cv_math_func_ldexp+set}" = set; then :
20017 $as_echo_n "(cached) " >&6
20019 if test x
$gcc_no_link = xyes
; then
20020 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20023 /* end confdefs.h. */
20025 #ifdef HAVE_COMPLEX_H
20026 #include <complex.h>
20032 int (*ptr)() = (int (*)())ldexp;
20041 if ac_fn_c_try_link
"$LINENO"; then :
20042 gcc_cv_math_func_ldexp
=yes
20044 gcc_cv_math_func_ldexp
=no
20046 rm -f core conftest.err conftest.
$ac_objext \
20047 conftest
$ac_exeext conftest.
$ac_ext
20049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20050 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
20051 if test $gcc_cv_math_func_ldexp = yes; then
20053 cat >>confdefs.h
<<_ACEOF
20054 #define HAVE_LDEXP 1
20062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20063 $as_echo_n "checking for ldexpl... " >&6; }
20064 if test "${gcc_cv_math_func_ldexpl+set}" = set; then :
20065 $as_echo_n "(cached) " >&6
20067 if test x
$gcc_no_link = xyes
; then
20068 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20071 /* end confdefs.h. */
20073 #ifdef HAVE_COMPLEX_H
20074 #include <complex.h>
20080 int (*ptr)() = (int (*)())ldexpl;
20089 if ac_fn_c_try_link
"$LINENO"; then :
20090 gcc_cv_math_func_ldexpl
=yes
20092 gcc_cv_math_func_ldexpl
=no
20094 rm -f core conftest.err conftest.
$ac_objext \
20095 conftest
$ac_exeext conftest.
$ac_ext
20097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20098 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20099 if test $gcc_cv_math_func_ldexpl = yes; then
20101 cat >>confdefs.h
<<_ACEOF
20102 #define HAVE_LDEXPL 1
20110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20111 $as_echo_n "checking for logf... " >&6; }
20112 if test "${gcc_cv_math_func_logf+set}" = set; then :
20113 $as_echo_n "(cached) " >&6
20115 if test x
$gcc_no_link = xyes
; then
20116 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20119 /* end confdefs.h. */
20121 #ifdef HAVE_COMPLEX_H
20122 #include <complex.h>
20128 int (*ptr)() = (int (*)())logf;
20137 if ac_fn_c_try_link
"$LINENO"; then :
20138 gcc_cv_math_func_logf
=yes
20140 gcc_cv_math_func_logf
=no
20142 rm -f core conftest.err conftest.
$ac_objext \
20143 conftest
$ac_exeext conftest.
$ac_ext
20145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20146 $as_echo "$gcc_cv_math_func_logf" >&6; }
20147 if test $gcc_cv_math_func_logf = yes; then
20149 cat >>confdefs.h
<<_ACEOF
20150 #define HAVE_LOGF 1
20158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20159 $as_echo_n "checking for log... " >&6; }
20160 if test "${gcc_cv_math_func_log+set}" = set; then :
20161 $as_echo_n "(cached) " >&6
20163 if test x
$gcc_no_link = xyes
; then
20164 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20167 /* end confdefs.h. */
20169 #ifdef HAVE_COMPLEX_H
20170 #include <complex.h>
20176 int (*ptr)() = (int (*)())log;
20185 if ac_fn_c_try_link
"$LINENO"; then :
20186 gcc_cv_math_func_log
=yes
20188 gcc_cv_math_func_log
=no
20190 rm -f core conftest.err conftest.
$ac_objext \
20191 conftest
$ac_exeext conftest.
$ac_ext
20193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20194 $as_echo "$gcc_cv_math_func_log" >&6; }
20195 if test $gcc_cv_math_func_log = yes; then
20197 cat >>confdefs.h
<<_ACEOF
20206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20207 $as_echo_n "checking for logl... " >&6; }
20208 if test "${gcc_cv_math_func_logl+set}" = set; then :
20209 $as_echo_n "(cached) " >&6
20211 if test x
$gcc_no_link = xyes
; then
20212 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20215 /* end confdefs.h. */
20217 #ifdef HAVE_COMPLEX_H
20218 #include <complex.h>
20224 int (*ptr)() = (int (*)())logl;
20233 if ac_fn_c_try_link
"$LINENO"; then :
20234 gcc_cv_math_func_logl
=yes
20236 gcc_cv_math_func_logl
=no
20238 rm -f core conftest.err conftest.
$ac_objext \
20239 conftest
$ac_exeext conftest.
$ac_ext
20241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20242 $as_echo "$gcc_cv_math_func_logl" >&6; }
20243 if test $gcc_cv_math_func_logl = yes; then
20245 cat >>confdefs.h
<<_ACEOF
20246 #define HAVE_LOGL 1
20254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20255 $as_echo_n "checking for clogf... " >&6; }
20256 if test "${gcc_cv_math_func_clogf+set}" = set; then :
20257 $as_echo_n "(cached) " >&6
20259 if test x
$gcc_no_link = xyes
; then
20260 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20263 /* end confdefs.h. */
20265 #ifdef HAVE_COMPLEX_H
20266 #include <complex.h>
20272 int (*ptr)() = (int (*)())clogf;
20281 if ac_fn_c_try_link
"$LINENO"; then :
20282 gcc_cv_math_func_clogf
=yes
20284 gcc_cv_math_func_clogf
=no
20286 rm -f core conftest.err conftest.
$ac_objext \
20287 conftest
$ac_exeext conftest.
$ac_ext
20289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20290 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20291 if test $gcc_cv_math_func_clogf = yes; then
20293 cat >>confdefs.h
<<_ACEOF
20294 #define HAVE_CLOGF 1
20302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20303 $as_echo_n "checking for clog... " >&6; }
20304 if test "${gcc_cv_math_func_clog+set}" = set; then :
20305 $as_echo_n "(cached) " >&6
20307 if test x
$gcc_no_link = xyes
; then
20308 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20311 /* end confdefs.h. */
20313 #ifdef HAVE_COMPLEX_H
20314 #include <complex.h>
20320 int (*ptr)() = (int (*)())clog;
20329 if ac_fn_c_try_link
"$LINENO"; then :
20330 gcc_cv_math_func_clog
=yes
20332 gcc_cv_math_func_clog
=no
20334 rm -f core conftest.err conftest.
$ac_objext \
20335 conftest
$ac_exeext conftest.
$ac_ext
20337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20338 $as_echo "$gcc_cv_math_func_clog" >&6; }
20339 if test $gcc_cv_math_func_clog = yes; then
20341 cat >>confdefs.h
<<_ACEOF
20342 #define HAVE_CLOG 1
20350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20351 $as_echo_n "checking for clogl... " >&6; }
20352 if test "${gcc_cv_math_func_clogl+set}" = set; then :
20353 $as_echo_n "(cached) " >&6
20355 if test x
$gcc_no_link = xyes
; then
20356 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20359 /* end confdefs.h. */
20361 #ifdef HAVE_COMPLEX_H
20362 #include <complex.h>
20368 int (*ptr)() = (int (*)())clogl;
20377 if ac_fn_c_try_link
"$LINENO"; then :
20378 gcc_cv_math_func_clogl
=yes
20380 gcc_cv_math_func_clogl
=no
20382 rm -f core conftest.err conftest.
$ac_objext \
20383 conftest
$ac_exeext conftest.
$ac_ext
20385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20386 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20387 if test $gcc_cv_math_func_clogl = yes; then
20389 cat >>confdefs.h
<<_ACEOF
20390 #define HAVE_CLOGL 1
20398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20399 $as_echo_n "checking for log10f... " >&6; }
20400 if test "${gcc_cv_math_func_log10f+set}" = set; then :
20401 $as_echo_n "(cached) " >&6
20403 if test x
$gcc_no_link = xyes
; then
20404 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20407 /* end confdefs.h. */
20409 #ifdef HAVE_COMPLEX_H
20410 #include <complex.h>
20416 int (*ptr)() = (int (*)())log10f;
20425 if ac_fn_c_try_link
"$LINENO"; then :
20426 gcc_cv_math_func_log10f
=yes
20428 gcc_cv_math_func_log10f
=no
20430 rm -f core conftest.err conftest.
$ac_objext \
20431 conftest
$ac_exeext conftest.
$ac_ext
20433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20434 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20435 if test $gcc_cv_math_func_log10f = yes; then
20437 cat >>confdefs.h
<<_ACEOF
20438 #define HAVE_LOG10F 1
20446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20447 $as_echo_n "checking for log10... " >&6; }
20448 if test "${gcc_cv_math_func_log10+set}" = set; then :
20449 $as_echo_n "(cached) " >&6
20451 if test x
$gcc_no_link = xyes
; then
20452 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20455 /* end confdefs.h. */
20457 #ifdef HAVE_COMPLEX_H
20458 #include <complex.h>
20464 int (*ptr)() = (int (*)())log10;
20473 if ac_fn_c_try_link
"$LINENO"; then :
20474 gcc_cv_math_func_log10
=yes
20476 gcc_cv_math_func_log10
=no
20478 rm -f core conftest.err conftest.
$ac_objext \
20479 conftest
$ac_exeext conftest.
$ac_ext
20481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20482 $as_echo "$gcc_cv_math_func_log10" >&6; }
20483 if test $gcc_cv_math_func_log10 = yes; then
20485 cat >>confdefs.h
<<_ACEOF
20486 #define HAVE_LOG10 1
20494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20495 $as_echo_n "checking for log10l... " >&6; }
20496 if test "${gcc_cv_math_func_log10l+set}" = set; then :
20497 $as_echo_n "(cached) " >&6
20499 if test x
$gcc_no_link = xyes
; then
20500 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20503 /* end confdefs.h. */
20505 #ifdef HAVE_COMPLEX_H
20506 #include <complex.h>
20512 int (*ptr)() = (int (*)())log10l;
20521 if ac_fn_c_try_link
"$LINENO"; then :
20522 gcc_cv_math_func_log10l
=yes
20524 gcc_cv_math_func_log10l
=no
20526 rm -f core conftest.err conftest.
$ac_objext \
20527 conftest
$ac_exeext conftest.
$ac_ext
20529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20530 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20531 if test $gcc_cv_math_func_log10l = yes; then
20533 cat >>confdefs.h
<<_ACEOF
20534 #define HAVE_LOG10L 1
20542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20543 $as_echo_n "checking for clog10f... " >&6; }
20544 if test "${gcc_cv_math_func_clog10f+set}" = set; then :
20545 $as_echo_n "(cached) " >&6
20547 if test x
$gcc_no_link = xyes
; then
20548 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20551 /* end confdefs.h. */
20553 #ifdef HAVE_COMPLEX_H
20554 #include <complex.h>
20560 int (*ptr)() = (int (*)())clog10f;
20569 if ac_fn_c_try_link
"$LINENO"; then :
20570 gcc_cv_math_func_clog10f
=yes
20572 gcc_cv_math_func_clog10f
=no
20574 rm -f core conftest.err conftest.
$ac_objext \
20575 conftest
$ac_exeext conftest.
$ac_ext
20577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20578 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
20579 if test $gcc_cv_math_func_clog10f = yes; then
20581 cat >>confdefs.h
<<_ACEOF
20582 #define HAVE_CLOG10F 1
20590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20591 $as_echo_n "checking for clog10... " >&6; }
20592 if test "${gcc_cv_math_func_clog10+set}" = set; then :
20593 $as_echo_n "(cached) " >&6
20595 if test x
$gcc_no_link = xyes
; then
20596 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20599 /* end confdefs.h. */
20601 #ifdef HAVE_COMPLEX_H
20602 #include <complex.h>
20608 int (*ptr)() = (int (*)())clog10;
20617 if ac_fn_c_try_link
"$LINENO"; then :
20618 gcc_cv_math_func_clog10
=yes
20620 gcc_cv_math_func_clog10
=no
20622 rm -f core conftest.err conftest.
$ac_objext \
20623 conftest
$ac_exeext conftest.
$ac_ext
20625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20626 $as_echo "$gcc_cv_math_func_clog10" >&6; }
20627 if test $gcc_cv_math_func_clog10 = yes; then
20629 cat >>confdefs.h
<<_ACEOF
20630 #define HAVE_CLOG10 1
20638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20639 $as_echo_n "checking for clog10l... " >&6; }
20640 if test "${gcc_cv_math_func_clog10l+set}" = set; then :
20641 $as_echo_n "(cached) " >&6
20643 if test x
$gcc_no_link = xyes
; then
20644 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20647 /* end confdefs.h. */
20649 #ifdef HAVE_COMPLEX_H
20650 #include <complex.h>
20656 int (*ptr)() = (int (*)())clog10l;
20665 if ac_fn_c_try_link
"$LINENO"; then :
20666 gcc_cv_math_func_clog10l
=yes
20668 gcc_cv_math_func_clog10l
=no
20670 rm -f core conftest.err conftest.
$ac_objext \
20671 conftest
$ac_exeext conftest.
$ac_ext
20673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20674 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
20675 if test $gcc_cv_math_func_clog10l = yes; then
20677 cat >>confdefs.h
<<_ACEOF
20678 #define HAVE_CLOG10L 1
20686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20687 $as_echo_n "checking for nextafterf... " >&6; }
20688 if test "${gcc_cv_math_func_nextafterf+set}" = set; then :
20689 $as_echo_n "(cached) " >&6
20691 if test x
$gcc_no_link = xyes
; then
20692 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20695 /* end confdefs.h. */
20697 #ifdef HAVE_COMPLEX_H
20698 #include <complex.h>
20704 int (*ptr)() = (int (*)())nextafterf;
20713 if ac_fn_c_try_link
"$LINENO"; then :
20714 gcc_cv_math_func_nextafterf
=yes
20716 gcc_cv_math_func_nextafterf
=no
20718 rm -f core conftest.err conftest.
$ac_objext \
20719 conftest
$ac_exeext conftest.
$ac_ext
20721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
20722 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
20723 if test $gcc_cv_math_func_nextafterf = yes; then
20725 cat >>confdefs.h
<<_ACEOF
20726 #define HAVE_NEXTAFTERF 1
20734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
20735 $as_echo_n "checking for nextafter... " >&6; }
20736 if test "${gcc_cv_math_func_nextafter+set}" = set; then :
20737 $as_echo_n "(cached) " >&6
20739 if test x
$gcc_no_link = xyes
; then
20740 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20743 /* end confdefs.h. */
20745 #ifdef HAVE_COMPLEX_H
20746 #include <complex.h>
20752 int (*ptr)() = (int (*)())nextafter;
20761 if ac_fn_c_try_link
"$LINENO"; then :
20762 gcc_cv_math_func_nextafter
=yes
20764 gcc_cv_math_func_nextafter
=no
20766 rm -f core conftest.err conftest.
$ac_objext \
20767 conftest
$ac_exeext conftest.
$ac_ext
20769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
20770 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
20771 if test $gcc_cv_math_func_nextafter = yes; then
20773 cat >>confdefs.h
<<_ACEOF
20774 #define HAVE_NEXTAFTER 1
20782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
20783 $as_echo_n "checking for nextafterl... " >&6; }
20784 if test "${gcc_cv_math_func_nextafterl+set}" = set; then :
20785 $as_echo_n "(cached) " >&6
20787 if test x
$gcc_no_link = xyes
; then
20788 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20791 /* end confdefs.h. */
20793 #ifdef HAVE_COMPLEX_H
20794 #include <complex.h>
20800 int (*ptr)() = (int (*)())nextafterl;
20809 if ac_fn_c_try_link
"$LINENO"; then :
20810 gcc_cv_math_func_nextafterl
=yes
20812 gcc_cv_math_func_nextafterl
=no
20814 rm -f core conftest.err conftest.
$ac_objext \
20815 conftest
$ac_exeext conftest.
$ac_ext
20817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
20818 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
20819 if test $gcc_cv_math_func_nextafterl = yes; then
20821 cat >>confdefs.h
<<_ACEOF
20822 #define HAVE_NEXTAFTERL 1
20830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
20831 $as_echo_n "checking for powf... " >&6; }
20832 if test "${gcc_cv_math_func_powf+set}" = set; then :
20833 $as_echo_n "(cached) " >&6
20835 if test x
$gcc_no_link = xyes
; then
20836 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20839 /* end confdefs.h. */
20841 #ifdef HAVE_COMPLEX_H
20842 #include <complex.h>
20848 int (*ptr)() = (int (*)())powf;
20857 if ac_fn_c_try_link
"$LINENO"; then :
20858 gcc_cv_math_func_powf
=yes
20860 gcc_cv_math_func_powf
=no
20862 rm -f core conftest.err conftest.
$ac_objext \
20863 conftest
$ac_exeext conftest.
$ac_ext
20865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
20866 $as_echo "$gcc_cv_math_func_powf" >&6; }
20867 if test $gcc_cv_math_func_powf = yes; then
20869 cat >>confdefs.h
<<_ACEOF
20870 #define HAVE_POWF 1
20878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
20879 $as_echo_n "checking for pow... " >&6; }
20880 if test "${gcc_cv_math_func_pow+set}" = set; then :
20881 $as_echo_n "(cached) " >&6
20883 if test x
$gcc_no_link = xyes
; then
20884 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20887 /* end confdefs.h. */
20889 #ifdef HAVE_COMPLEX_H
20890 #include <complex.h>
20896 int (*ptr)() = (int (*)())pow;
20905 if ac_fn_c_try_link
"$LINENO"; then :
20906 gcc_cv_math_func_pow
=yes
20908 gcc_cv_math_func_pow
=no
20910 rm -f core conftest.err conftest.
$ac_objext \
20911 conftest
$ac_exeext conftest.
$ac_ext
20913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
20914 $as_echo "$gcc_cv_math_func_pow" >&6; }
20915 if test $gcc_cv_math_func_pow = yes; then
20917 cat >>confdefs.h
<<_ACEOF
20926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
20927 $as_echo_n "checking for cpowf... " >&6; }
20928 if test "${gcc_cv_math_func_cpowf+set}" = set; then :
20929 $as_echo_n "(cached) " >&6
20931 if test x
$gcc_no_link = xyes
; then
20932 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20935 /* end confdefs.h. */
20937 #ifdef HAVE_COMPLEX_H
20938 #include <complex.h>
20944 int (*ptr)() = (int (*)())cpowf;
20953 if ac_fn_c_try_link
"$LINENO"; then :
20954 gcc_cv_math_func_cpowf
=yes
20956 gcc_cv_math_func_cpowf
=no
20958 rm -f core conftest.err conftest.
$ac_objext \
20959 conftest
$ac_exeext conftest.
$ac_ext
20961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
20962 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
20963 if test $gcc_cv_math_func_cpowf = yes; then
20965 cat >>confdefs.h
<<_ACEOF
20966 #define HAVE_CPOWF 1
20974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
20975 $as_echo_n "checking for cpow... " >&6; }
20976 if test "${gcc_cv_math_func_cpow+set}" = set; then :
20977 $as_echo_n "(cached) " >&6
20979 if test x
$gcc_no_link = xyes
; then
20980 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20983 /* end confdefs.h. */
20985 #ifdef HAVE_COMPLEX_H
20986 #include <complex.h>
20992 int (*ptr)() = (int (*)())cpow;
21001 if ac_fn_c_try_link
"$LINENO"; then :
21002 gcc_cv_math_func_cpow
=yes
21004 gcc_cv_math_func_cpow
=no
21006 rm -f core conftest.err conftest.
$ac_objext \
21007 conftest
$ac_exeext conftest.
$ac_ext
21009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21010 $as_echo "$gcc_cv_math_func_cpow" >&6; }
21011 if test $gcc_cv_math_func_cpow = yes; then
21013 cat >>confdefs.h
<<_ACEOF
21014 #define HAVE_CPOW 1
21022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21023 $as_echo_n "checking for cpowl... " >&6; }
21024 if test "${gcc_cv_math_func_cpowl+set}" = set; then :
21025 $as_echo_n "(cached) " >&6
21027 if test x
$gcc_no_link = xyes
; then
21028 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21031 /* end confdefs.h. */
21033 #ifdef HAVE_COMPLEX_H
21034 #include <complex.h>
21040 int (*ptr)() = (int (*)())cpowl;
21049 if ac_fn_c_try_link
"$LINENO"; then :
21050 gcc_cv_math_func_cpowl
=yes
21052 gcc_cv_math_func_cpowl
=no
21054 rm -f core conftest.err conftest.
$ac_objext \
21055 conftest
$ac_exeext conftest.
$ac_ext
21057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21058 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21059 if test $gcc_cv_math_func_cpowl = yes; then
21061 cat >>confdefs.h
<<_ACEOF
21062 #define HAVE_CPOWL 1
21070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21071 $as_echo_n "checking for roundf... " >&6; }
21072 if test "${gcc_cv_math_func_roundf+set}" = set; then :
21073 $as_echo_n "(cached) " >&6
21075 if test x
$gcc_no_link = xyes
; then
21076 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21079 /* end confdefs.h. */
21081 #ifdef HAVE_COMPLEX_H
21082 #include <complex.h>
21088 int (*ptr)() = (int (*)())roundf;
21097 if ac_fn_c_try_link
"$LINENO"; then :
21098 gcc_cv_math_func_roundf
=yes
21100 gcc_cv_math_func_roundf
=no
21102 rm -f core conftest.err conftest.
$ac_objext \
21103 conftest
$ac_exeext conftest.
$ac_ext
21105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21106 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21107 if test $gcc_cv_math_func_roundf = yes; then
21109 cat >>confdefs.h
<<_ACEOF
21110 #define HAVE_ROUNDF 1
21118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21119 $as_echo_n "checking for round... " >&6; }
21120 if test "${gcc_cv_math_func_round+set}" = set; then :
21121 $as_echo_n "(cached) " >&6
21123 if test x
$gcc_no_link = xyes
; then
21124 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21127 /* end confdefs.h. */
21129 #ifdef HAVE_COMPLEX_H
21130 #include <complex.h>
21136 int (*ptr)() = (int (*)())round;
21145 if ac_fn_c_try_link
"$LINENO"; then :
21146 gcc_cv_math_func_round
=yes
21148 gcc_cv_math_func_round
=no
21150 rm -f core conftest.err conftest.
$ac_objext \
21151 conftest
$ac_exeext conftest.
$ac_ext
21153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21154 $as_echo "$gcc_cv_math_func_round" >&6; }
21155 if test $gcc_cv_math_func_round = yes; then
21157 cat >>confdefs.h
<<_ACEOF
21158 #define HAVE_ROUND 1
21166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21167 $as_echo_n "checking for roundl... " >&6; }
21168 if test "${gcc_cv_math_func_roundl+set}" = set; then :
21169 $as_echo_n "(cached) " >&6
21171 if test x
$gcc_no_link = xyes
; then
21172 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21175 /* end confdefs.h. */
21177 #ifdef HAVE_COMPLEX_H
21178 #include <complex.h>
21184 int (*ptr)() = (int (*)())roundl;
21193 if ac_fn_c_try_link
"$LINENO"; then :
21194 gcc_cv_math_func_roundl
=yes
21196 gcc_cv_math_func_roundl
=no
21198 rm -f core conftest.err conftest.
$ac_objext \
21199 conftest
$ac_exeext conftest.
$ac_ext
21201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21202 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21203 if test $gcc_cv_math_func_roundl = yes; then
21205 cat >>confdefs.h
<<_ACEOF
21206 #define HAVE_ROUNDL 1
21214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21215 $as_echo_n "checking for lroundf... " >&6; }
21216 if test "${gcc_cv_math_func_lroundf+set}" = set; then :
21217 $as_echo_n "(cached) " >&6
21219 if test x
$gcc_no_link = xyes
; then
21220 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21223 /* end confdefs.h. */
21225 #ifdef HAVE_COMPLEX_H
21226 #include <complex.h>
21232 int (*ptr)() = (int (*)())lroundf;
21241 if ac_fn_c_try_link
"$LINENO"; then :
21242 gcc_cv_math_func_lroundf
=yes
21244 gcc_cv_math_func_lroundf
=no
21246 rm -f core conftest.err conftest.
$ac_objext \
21247 conftest
$ac_exeext conftest.
$ac_ext
21249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21250 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21251 if test $gcc_cv_math_func_lroundf = yes; then
21253 cat >>confdefs.h
<<_ACEOF
21254 #define HAVE_LROUNDF 1
21262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21263 $as_echo_n "checking for lround... " >&6; }
21264 if test "${gcc_cv_math_func_lround+set}" = set; then :
21265 $as_echo_n "(cached) " >&6
21267 if test x
$gcc_no_link = xyes
; then
21268 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21271 /* end confdefs.h. */
21273 #ifdef HAVE_COMPLEX_H
21274 #include <complex.h>
21280 int (*ptr)() = (int (*)())lround;
21289 if ac_fn_c_try_link
"$LINENO"; then :
21290 gcc_cv_math_func_lround
=yes
21292 gcc_cv_math_func_lround
=no
21294 rm -f core conftest.err conftest.
$ac_objext \
21295 conftest
$ac_exeext conftest.
$ac_ext
21297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21298 $as_echo "$gcc_cv_math_func_lround" >&6; }
21299 if test $gcc_cv_math_func_lround = yes; then
21301 cat >>confdefs.h
<<_ACEOF
21302 #define HAVE_LROUND 1
21310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21311 $as_echo_n "checking for lroundl... " >&6; }
21312 if test "${gcc_cv_math_func_lroundl+set}" = set; then :
21313 $as_echo_n "(cached) " >&6
21315 if test x
$gcc_no_link = xyes
; then
21316 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21319 /* end confdefs.h. */
21321 #ifdef HAVE_COMPLEX_H
21322 #include <complex.h>
21328 int (*ptr)() = (int (*)())lroundl;
21337 if ac_fn_c_try_link
"$LINENO"; then :
21338 gcc_cv_math_func_lroundl
=yes
21340 gcc_cv_math_func_lroundl
=no
21342 rm -f core conftest.err conftest.
$ac_objext \
21343 conftest
$ac_exeext conftest.
$ac_ext
21345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21346 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21347 if test $gcc_cv_math_func_lroundl = yes; then
21349 cat >>confdefs.h
<<_ACEOF
21350 #define HAVE_LROUNDL 1
21358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21359 $as_echo_n "checking for llroundf... " >&6; }
21360 if test "${gcc_cv_math_func_llroundf+set}" = set; then :
21361 $as_echo_n "(cached) " >&6
21363 if test x
$gcc_no_link = xyes
; then
21364 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21367 /* end confdefs.h. */
21369 #ifdef HAVE_COMPLEX_H
21370 #include <complex.h>
21376 int (*ptr)() = (int (*)())llroundf;
21385 if ac_fn_c_try_link
"$LINENO"; then :
21386 gcc_cv_math_func_llroundf
=yes
21388 gcc_cv_math_func_llroundf
=no
21390 rm -f core conftest.err conftest.
$ac_objext \
21391 conftest
$ac_exeext conftest.
$ac_ext
21393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21394 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21395 if test $gcc_cv_math_func_llroundf = yes; then
21397 cat >>confdefs.h
<<_ACEOF
21398 #define HAVE_LLROUNDF 1
21406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21407 $as_echo_n "checking for llround... " >&6; }
21408 if test "${gcc_cv_math_func_llround+set}" = set; then :
21409 $as_echo_n "(cached) " >&6
21411 if test x
$gcc_no_link = xyes
; then
21412 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21415 /* end confdefs.h. */
21417 #ifdef HAVE_COMPLEX_H
21418 #include <complex.h>
21424 int (*ptr)() = (int (*)())llround;
21433 if ac_fn_c_try_link
"$LINENO"; then :
21434 gcc_cv_math_func_llround
=yes
21436 gcc_cv_math_func_llround
=no
21438 rm -f core conftest.err conftest.
$ac_objext \
21439 conftest
$ac_exeext conftest.
$ac_ext
21441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21442 $as_echo "$gcc_cv_math_func_llround" >&6; }
21443 if test $gcc_cv_math_func_llround = yes; then
21445 cat >>confdefs.h
<<_ACEOF
21446 #define HAVE_LLROUND 1
21454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21455 $as_echo_n "checking for llroundl... " >&6; }
21456 if test "${gcc_cv_math_func_llroundl+set}" = set; then :
21457 $as_echo_n "(cached) " >&6
21459 if test x
$gcc_no_link = xyes
; then
21460 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21463 /* end confdefs.h. */
21465 #ifdef HAVE_COMPLEX_H
21466 #include <complex.h>
21472 int (*ptr)() = (int (*)())llroundl;
21481 if ac_fn_c_try_link
"$LINENO"; then :
21482 gcc_cv_math_func_llroundl
=yes
21484 gcc_cv_math_func_llroundl
=no
21486 rm -f core conftest.err conftest.
$ac_objext \
21487 conftest
$ac_exeext conftest.
$ac_ext
21489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21490 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21491 if test $gcc_cv_math_func_llroundl = yes; then
21493 cat >>confdefs.h
<<_ACEOF
21494 #define HAVE_LLROUNDL 1
21502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21503 $as_echo_n "checking for scalbnf... " >&6; }
21504 if test "${gcc_cv_math_func_scalbnf+set}" = set; then :
21505 $as_echo_n "(cached) " >&6
21507 if test x
$gcc_no_link = xyes
; then
21508 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21511 /* end confdefs.h. */
21513 #ifdef HAVE_COMPLEX_H
21514 #include <complex.h>
21520 int (*ptr)() = (int (*)())scalbnf;
21529 if ac_fn_c_try_link
"$LINENO"; then :
21530 gcc_cv_math_func_scalbnf
=yes
21532 gcc_cv_math_func_scalbnf
=no
21534 rm -f core conftest.err conftest.
$ac_objext \
21535 conftest
$ac_exeext conftest.
$ac_ext
21537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21538 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21539 if test $gcc_cv_math_func_scalbnf = yes; then
21541 cat >>confdefs.h
<<_ACEOF
21542 #define HAVE_SCALBNF 1
21550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21551 $as_echo_n "checking for scalbn... " >&6; }
21552 if test "${gcc_cv_math_func_scalbn+set}" = set; then :
21553 $as_echo_n "(cached) " >&6
21555 if test x
$gcc_no_link = xyes
; then
21556 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21559 /* end confdefs.h. */
21561 #ifdef HAVE_COMPLEX_H
21562 #include <complex.h>
21568 int (*ptr)() = (int (*)())scalbn;
21577 if ac_fn_c_try_link
"$LINENO"; then :
21578 gcc_cv_math_func_scalbn
=yes
21580 gcc_cv_math_func_scalbn
=no
21582 rm -f core conftest.err conftest.
$ac_objext \
21583 conftest
$ac_exeext conftest.
$ac_ext
21585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21586 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
21587 if test $gcc_cv_math_func_scalbn = yes; then
21589 cat >>confdefs.h
<<_ACEOF
21590 #define HAVE_SCALBN 1
21598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21599 $as_echo_n "checking for scalbnl... " >&6; }
21600 if test "${gcc_cv_math_func_scalbnl+set}" = set; then :
21601 $as_echo_n "(cached) " >&6
21603 if test x
$gcc_no_link = xyes
; then
21604 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21607 /* end confdefs.h. */
21609 #ifdef HAVE_COMPLEX_H
21610 #include <complex.h>
21616 int (*ptr)() = (int (*)())scalbnl;
21625 if ac_fn_c_try_link
"$LINENO"; then :
21626 gcc_cv_math_func_scalbnl
=yes
21628 gcc_cv_math_func_scalbnl
=no
21630 rm -f core conftest.err conftest.
$ac_objext \
21631 conftest
$ac_exeext conftest.
$ac_ext
21633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21634 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21635 if test $gcc_cv_math_func_scalbnl = yes; then
21637 cat >>confdefs.h
<<_ACEOF
21638 #define HAVE_SCALBNL 1
21646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21647 $as_echo_n "checking for sinf... " >&6; }
21648 if test "${gcc_cv_math_func_sinf+set}" = set; then :
21649 $as_echo_n "(cached) " >&6
21651 if test x
$gcc_no_link = xyes
; then
21652 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21655 /* end confdefs.h. */
21657 #ifdef HAVE_COMPLEX_H
21658 #include <complex.h>
21664 int (*ptr)() = (int (*)())sinf;
21673 if ac_fn_c_try_link
"$LINENO"; then :
21674 gcc_cv_math_func_sinf
=yes
21676 gcc_cv_math_func_sinf
=no
21678 rm -f core conftest.err conftest.
$ac_objext \
21679 conftest
$ac_exeext conftest.
$ac_ext
21681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21682 $as_echo "$gcc_cv_math_func_sinf" >&6; }
21683 if test $gcc_cv_math_func_sinf = yes; then
21685 cat >>confdefs.h
<<_ACEOF
21686 #define HAVE_SINF 1
21694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21695 $as_echo_n "checking for sin... " >&6; }
21696 if test "${gcc_cv_math_func_sin+set}" = set; then :
21697 $as_echo_n "(cached) " >&6
21699 if test x
$gcc_no_link = xyes
; then
21700 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21703 /* end confdefs.h. */
21705 #ifdef HAVE_COMPLEX_H
21706 #include <complex.h>
21712 int (*ptr)() = (int (*)())sin;
21721 if ac_fn_c_try_link
"$LINENO"; then :
21722 gcc_cv_math_func_sin
=yes
21724 gcc_cv_math_func_sin
=no
21726 rm -f core conftest.err conftest.
$ac_objext \
21727 conftest
$ac_exeext conftest.
$ac_ext
21729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
21730 $as_echo "$gcc_cv_math_func_sin" >&6; }
21731 if test $gcc_cv_math_func_sin = yes; then
21733 cat >>confdefs.h
<<_ACEOF
21742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
21743 $as_echo_n "checking for sinl... " >&6; }
21744 if test "${gcc_cv_math_func_sinl+set}" = set; then :
21745 $as_echo_n "(cached) " >&6
21747 if test x
$gcc_no_link = xyes
; then
21748 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21751 /* end confdefs.h. */
21753 #ifdef HAVE_COMPLEX_H
21754 #include <complex.h>
21760 int (*ptr)() = (int (*)())sinl;
21769 if ac_fn_c_try_link
"$LINENO"; then :
21770 gcc_cv_math_func_sinl
=yes
21772 gcc_cv_math_func_sinl
=no
21774 rm -f core conftest.err conftest.
$ac_objext \
21775 conftest
$ac_exeext conftest.
$ac_ext
21777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
21778 $as_echo "$gcc_cv_math_func_sinl" >&6; }
21779 if test $gcc_cv_math_func_sinl = yes; then
21781 cat >>confdefs.h
<<_ACEOF
21782 #define HAVE_SINL 1
21790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
21791 $as_echo_n "checking for csinf... " >&6; }
21792 if test "${gcc_cv_math_func_csinf+set}" = set; then :
21793 $as_echo_n "(cached) " >&6
21795 if test x
$gcc_no_link = xyes
; then
21796 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21799 /* end confdefs.h. */
21801 #ifdef HAVE_COMPLEX_H
21802 #include <complex.h>
21808 int (*ptr)() = (int (*)())csinf;
21817 if ac_fn_c_try_link
"$LINENO"; then :
21818 gcc_cv_math_func_csinf
=yes
21820 gcc_cv_math_func_csinf
=no
21822 rm -f core conftest.err conftest.
$ac_objext \
21823 conftest
$ac_exeext conftest.
$ac_ext
21825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
21826 $as_echo "$gcc_cv_math_func_csinf" >&6; }
21827 if test $gcc_cv_math_func_csinf = yes; then
21829 cat >>confdefs.h
<<_ACEOF
21830 #define HAVE_CSINF 1
21838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
21839 $as_echo_n "checking for csin... " >&6; }
21840 if test "${gcc_cv_math_func_csin+set}" = set; then :
21841 $as_echo_n "(cached) " >&6
21843 if test x
$gcc_no_link = xyes
; then
21844 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21847 /* end confdefs.h. */
21849 #ifdef HAVE_COMPLEX_H
21850 #include <complex.h>
21856 int (*ptr)() = (int (*)())csin;
21865 if ac_fn_c_try_link
"$LINENO"; then :
21866 gcc_cv_math_func_csin
=yes
21868 gcc_cv_math_func_csin
=no
21870 rm -f core conftest.err conftest.
$ac_objext \
21871 conftest
$ac_exeext conftest.
$ac_ext
21873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
21874 $as_echo "$gcc_cv_math_func_csin" >&6; }
21875 if test $gcc_cv_math_func_csin = yes; then
21877 cat >>confdefs.h
<<_ACEOF
21878 #define HAVE_CSIN 1
21886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
21887 $as_echo_n "checking for csinl... " >&6; }
21888 if test "${gcc_cv_math_func_csinl+set}" = set; then :
21889 $as_echo_n "(cached) " >&6
21891 if test x
$gcc_no_link = xyes
; then
21892 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21895 /* end confdefs.h. */
21897 #ifdef HAVE_COMPLEX_H
21898 #include <complex.h>
21904 int (*ptr)() = (int (*)())csinl;
21913 if ac_fn_c_try_link
"$LINENO"; then :
21914 gcc_cv_math_func_csinl
=yes
21916 gcc_cv_math_func_csinl
=no
21918 rm -f core conftest.err conftest.
$ac_objext \
21919 conftest
$ac_exeext conftest.
$ac_ext
21921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
21922 $as_echo "$gcc_cv_math_func_csinl" >&6; }
21923 if test $gcc_cv_math_func_csinl = yes; then
21925 cat >>confdefs.h
<<_ACEOF
21926 #define HAVE_CSINL 1
21934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
21935 $as_echo_n "checking for sinhf... " >&6; }
21936 if test "${gcc_cv_math_func_sinhf+set}" = set; then :
21937 $as_echo_n "(cached) " >&6
21939 if test x
$gcc_no_link = xyes
; then
21940 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21943 /* end confdefs.h. */
21945 #ifdef HAVE_COMPLEX_H
21946 #include <complex.h>
21952 int (*ptr)() = (int (*)())sinhf;
21961 if ac_fn_c_try_link
"$LINENO"; then :
21962 gcc_cv_math_func_sinhf
=yes
21964 gcc_cv_math_func_sinhf
=no
21966 rm -f core conftest.err conftest.
$ac_objext \
21967 conftest
$ac_exeext conftest.
$ac_ext
21969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
21970 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
21971 if test $gcc_cv_math_func_sinhf = yes; then
21973 cat >>confdefs.h
<<_ACEOF
21974 #define HAVE_SINHF 1
21982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
21983 $as_echo_n "checking for sinh... " >&6; }
21984 if test "${gcc_cv_math_func_sinh+set}" = set; then :
21985 $as_echo_n "(cached) " >&6
21987 if test x
$gcc_no_link = xyes
; then
21988 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21991 /* end confdefs.h. */
21993 #ifdef HAVE_COMPLEX_H
21994 #include <complex.h>
22000 int (*ptr)() = (int (*)())sinh;
22009 if ac_fn_c_try_link
"$LINENO"; then :
22010 gcc_cv_math_func_sinh
=yes
22012 gcc_cv_math_func_sinh
=no
22014 rm -f core conftest.err conftest.
$ac_objext \
22015 conftest
$ac_exeext conftest.
$ac_ext
22017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22018 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22019 if test $gcc_cv_math_func_sinh = yes; then
22021 cat >>confdefs.h
<<_ACEOF
22022 #define HAVE_SINH 1
22030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22031 $as_echo_n "checking for sinhl... " >&6; }
22032 if test "${gcc_cv_math_func_sinhl+set}" = set; then :
22033 $as_echo_n "(cached) " >&6
22035 if test x
$gcc_no_link = xyes
; then
22036 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22039 /* end confdefs.h. */
22041 #ifdef HAVE_COMPLEX_H
22042 #include <complex.h>
22048 int (*ptr)() = (int (*)())sinhl;
22057 if ac_fn_c_try_link
"$LINENO"; then :
22058 gcc_cv_math_func_sinhl
=yes
22060 gcc_cv_math_func_sinhl
=no
22062 rm -f core conftest.err conftest.
$ac_objext \
22063 conftest
$ac_exeext conftest.
$ac_ext
22065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22066 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22067 if test $gcc_cv_math_func_sinhl = yes; then
22069 cat >>confdefs.h
<<_ACEOF
22070 #define HAVE_SINHL 1
22078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22079 $as_echo_n "checking for csinhf... " >&6; }
22080 if test "${gcc_cv_math_func_csinhf+set}" = set; then :
22081 $as_echo_n "(cached) " >&6
22083 if test x
$gcc_no_link = xyes
; then
22084 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22087 /* end confdefs.h. */
22089 #ifdef HAVE_COMPLEX_H
22090 #include <complex.h>
22096 int (*ptr)() = (int (*)())csinhf;
22105 if ac_fn_c_try_link
"$LINENO"; then :
22106 gcc_cv_math_func_csinhf
=yes
22108 gcc_cv_math_func_csinhf
=no
22110 rm -f core conftest.err conftest.
$ac_objext \
22111 conftest
$ac_exeext conftest.
$ac_ext
22113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22114 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22115 if test $gcc_cv_math_func_csinhf = yes; then
22117 cat >>confdefs.h
<<_ACEOF
22118 #define HAVE_CSINHF 1
22126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22127 $as_echo_n "checking for csinh... " >&6; }
22128 if test "${gcc_cv_math_func_csinh+set}" = set; then :
22129 $as_echo_n "(cached) " >&6
22131 if test x
$gcc_no_link = xyes
; then
22132 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22135 /* end confdefs.h. */
22137 #ifdef HAVE_COMPLEX_H
22138 #include <complex.h>
22144 int (*ptr)() = (int (*)())csinh;
22153 if ac_fn_c_try_link
"$LINENO"; then :
22154 gcc_cv_math_func_csinh
=yes
22156 gcc_cv_math_func_csinh
=no
22158 rm -f core conftest.err conftest.
$ac_objext \
22159 conftest
$ac_exeext conftest.
$ac_ext
22161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22162 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22163 if test $gcc_cv_math_func_csinh = yes; then
22165 cat >>confdefs.h
<<_ACEOF
22166 #define HAVE_CSINH 1
22174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22175 $as_echo_n "checking for csinhl... " >&6; }
22176 if test "${gcc_cv_math_func_csinhl+set}" = set; then :
22177 $as_echo_n "(cached) " >&6
22179 if test x
$gcc_no_link = xyes
; then
22180 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22183 /* end confdefs.h. */
22185 #ifdef HAVE_COMPLEX_H
22186 #include <complex.h>
22192 int (*ptr)() = (int (*)())csinhl;
22201 if ac_fn_c_try_link
"$LINENO"; then :
22202 gcc_cv_math_func_csinhl
=yes
22204 gcc_cv_math_func_csinhl
=no
22206 rm -f core conftest.err conftest.
$ac_objext \
22207 conftest
$ac_exeext conftest.
$ac_ext
22209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22210 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22211 if test $gcc_cv_math_func_csinhl = yes; then
22213 cat >>confdefs.h
<<_ACEOF
22214 #define HAVE_CSINHL 1
22222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22223 $as_echo_n "checking for sqrtf... " >&6; }
22224 if test "${gcc_cv_math_func_sqrtf+set}" = set; then :
22225 $as_echo_n "(cached) " >&6
22227 if test x
$gcc_no_link = xyes
; then
22228 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22231 /* end confdefs.h. */
22233 #ifdef HAVE_COMPLEX_H
22234 #include <complex.h>
22240 int (*ptr)() = (int (*)())sqrtf;
22249 if ac_fn_c_try_link
"$LINENO"; then :
22250 gcc_cv_math_func_sqrtf
=yes
22252 gcc_cv_math_func_sqrtf
=no
22254 rm -f core conftest.err conftest.
$ac_objext \
22255 conftest
$ac_exeext conftest.
$ac_ext
22257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22258 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22259 if test $gcc_cv_math_func_sqrtf = yes; then
22261 cat >>confdefs.h
<<_ACEOF
22262 #define HAVE_SQRTF 1
22270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22271 $as_echo_n "checking for sqrt... " >&6; }
22272 if test "${gcc_cv_math_func_sqrt+set}" = set; then :
22273 $as_echo_n "(cached) " >&6
22275 if test x
$gcc_no_link = xyes
; then
22276 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22279 /* end confdefs.h. */
22281 #ifdef HAVE_COMPLEX_H
22282 #include <complex.h>
22288 int (*ptr)() = (int (*)())sqrt;
22297 if ac_fn_c_try_link
"$LINENO"; then :
22298 gcc_cv_math_func_sqrt
=yes
22300 gcc_cv_math_func_sqrt
=no
22302 rm -f core conftest.err conftest.
$ac_objext \
22303 conftest
$ac_exeext conftest.
$ac_ext
22305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22306 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22307 if test $gcc_cv_math_func_sqrt = yes; then
22309 cat >>confdefs.h
<<_ACEOF
22310 #define HAVE_SQRT 1
22318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22319 $as_echo_n "checking for sqrtl... " >&6; }
22320 if test "${gcc_cv_math_func_sqrtl+set}" = set; then :
22321 $as_echo_n "(cached) " >&6
22323 if test x
$gcc_no_link = xyes
; then
22324 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22327 /* end confdefs.h. */
22329 #ifdef HAVE_COMPLEX_H
22330 #include <complex.h>
22336 int (*ptr)() = (int (*)())sqrtl;
22345 if ac_fn_c_try_link
"$LINENO"; then :
22346 gcc_cv_math_func_sqrtl
=yes
22348 gcc_cv_math_func_sqrtl
=no
22350 rm -f core conftest.err conftest.
$ac_objext \
22351 conftest
$ac_exeext conftest.
$ac_ext
22353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22354 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22355 if test $gcc_cv_math_func_sqrtl = yes; then
22357 cat >>confdefs.h
<<_ACEOF
22358 #define HAVE_SQRTL 1
22366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22367 $as_echo_n "checking for csqrtf... " >&6; }
22368 if test "${gcc_cv_math_func_csqrtf+set}" = set; then :
22369 $as_echo_n "(cached) " >&6
22371 if test x
$gcc_no_link = xyes
; then
22372 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22375 /* end confdefs.h. */
22377 #ifdef HAVE_COMPLEX_H
22378 #include <complex.h>
22384 int (*ptr)() = (int (*)())csqrtf;
22393 if ac_fn_c_try_link
"$LINENO"; then :
22394 gcc_cv_math_func_csqrtf
=yes
22396 gcc_cv_math_func_csqrtf
=no
22398 rm -f core conftest.err conftest.
$ac_objext \
22399 conftest
$ac_exeext conftest.
$ac_ext
22401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22402 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22403 if test $gcc_cv_math_func_csqrtf = yes; then
22405 cat >>confdefs.h
<<_ACEOF
22406 #define HAVE_CSQRTF 1
22414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22415 $as_echo_n "checking for csqrt... " >&6; }
22416 if test "${gcc_cv_math_func_csqrt+set}" = set; then :
22417 $as_echo_n "(cached) " >&6
22419 if test x
$gcc_no_link = xyes
; then
22420 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22423 /* end confdefs.h. */
22425 #ifdef HAVE_COMPLEX_H
22426 #include <complex.h>
22432 int (*ptr)() = (int (*)())csqrt;
22441 if ac_fn_c_try_link
"$LINENO"; then :
22442 gcc_cv_math_func_csqrt
=yes
22444 gcc_cv_math_func_csqrt
=no
22446 rm -f core conftest.err conftest.
$ac_objext \
22447 conftest
$ac_exeext conftest.
$ac_ext
22449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22450 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22451 if test $gcc_cv_math_func_csqrt = yes; then
22453 cat >>confdefs.h
<<_ACEOF
22454 #define HAVE_CSQRT 1
22462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22463 $as_echo_n "checking for csqrtl... " >&6; }
22464 if test "${gcc_cv_math_func_csqrtl+set}" = set; then :
22465 $as_echo_n "(cached) " >&6
22467 if test x
$gcc_no_link = xyes
; then
22468 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22471 /* end confdefs.h. */
22473 #ifdef HAVE_COMPLEX_H
22474 #include <complex.h>
22480 int (*ptr)() = (int (*)())csqrtl;
22489 if ac_fn_c_try_link
"$LINENO"; then :
22490 gcc_cv_math_func_csqrtl
=yes
22492 gcc_cv_math_func_csqrtl
=no
22494 rm -f core conftest.err conftest.
$ac_objext \
22495 conftest
$ac_exeext conftest.
$ac_ext
22497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22498 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22499 if test $gcc_cv_math_func_csqrtl = yes; then
22501 cat >>confdefs.h
<<_ACEOF
22502 #define HAVE_CSQRTL 1
22510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22511 $as_echo_n "checking for tanf... " >&6; }
22512 if test "${gcc_cv_math_func_tanf+set}" = set; then :
22513 $as_echo_n "(cached) " >&6
22515 if test x
$gcc_no_link = xyes
; then
22516 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22519 /* end confdefs.h. */
22521 #ifdef HAVE_COMPLEX_H
22522 #include <complex.h>
22528 int (*ptr)() = (int (*)())tanf;
22537 if ac_fn_c_try_link
"$LINENO"; then :
22538 gcc_cv_math_func_tanf
=yes
22540 gcc_cv_math_func_tanf
=no
22542 rm -f core conftest.err conftest.
$ac_objext \
22543 conftest
$ac_exeext conftest.
$ac_ext
22545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22546 $as_echo "$gcc_cv_math_func_tanf" >&6; }
22547 if test $gcc_cv_math_func_tanf = yes; then
22549 cat >>confdefs.h
<<_ACEOF
22550 #define HAVE_TANF 1
22558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22559 $as_echo_n "checking for tan... " >&6; }
22560 if test "${gcc_cv_math_func_tan+set}" = set; then :
22561 $as_echo_n "(cached) " >&6
22563 if test x
$gcc_no_link = xyes
; then
22564 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22567 /* end confdefs.h. */
22569 #ifdef HAVE_COMPLEX_H
22570 #include <complex.h>
22576 int (*ptr)() = (int (*)())tan;
22585 if ac_fn_c_try_link
"$LINENO"; then :
22586 gcc_cv_math_func_tan
=yes
22588 gcc_cv_math_func_tan
=no
22590 rm -f core conftest.err conftest.
$ac_objext \
22591 conftest
$ac_exeext conftest.
$ac_ext
22593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22594 $as_echo "$gcc_cv_math_func_tan" >&6; }
22595 if test $gcc_cv_math_func_tan = yes; then
22597 cat >>confdefs.h
<<_ACEOF
22606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22607 $as_echo_n "checking for tanl... " >&6; }
22608 if test "${gcc_cv_math_func_tanl+set}" = set; then :
22609 $as_echo_n "(cached) " >&6
22611 if test x
$gcc_no_link = xyes
; then
22612 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22615 /* end confdefs.h. */
22617 #ifdef HAVE_COMPLEX_H
22618 #include <complex.h>
22624 int (*ptr)() = (int (*)())tanl;
22633 if ac_fn_c_try_link
"$LINENO"; then :
22634 gcc_cv_math_func_tanl
=yes
22636 gcc_cv_math_func_tanl
=no
22638 rm -f core conftest.err conftest.
$ac_objext \
22639 conftest
$ac_exeext conftest.
$ac_ext
22641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22642 $as_echo "$gcc_cv_math_func_tanl" >&6; }
22643 if test $gcc_cv_math_func_tanl = yes; then
22645 cat >>confdefs.h
<<_ACEOF
22646 #define HAVE_TANL 1
22654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22655 $as_echo_n "checking for ctanf... " >&6; }
22656 if test "${gcc_cv_math_func_ctanf+set}" = set; then :
22657 $as_echo_n "(cached) " >&6
22659 if test x
$gcc_no_link = xyes
; then
22660 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22663 /* end confdefs.h. */
22665 #ifdef HAVE_COMPLEX_H
22666 #include <complex.h>
22672 int (*ptr)() = (int (*)())ctanf;
22681 if ac_fn_c_try_link
"$LINENO"; then :
22682 gcc_cv_math_func_ctanf
=yes
22684 gcc_cv_math_func_ctanf
=no
22686 rm -f core conftest.err conftest.
$ac_objext \
22687 conftest
$ac_exeext conftest.
$ac_ext
22689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22690 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
22691 if test $gcc_cv_math_func_ctanf = yes; then
22693 cat >>confdefs.h
<<_ACEOF
22694 #define HAVE_CTANF 1
22702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22703 $as_echo_n "checking for ctan... " >&6; }
22704 if test "${gcc_cv_math_func_ctan+set}" = set; then :
22705 $as_echo_n "(cached) " >&6
22707 if test x
$gcc_no_link = xyes
; then
22708 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22711 /* end confdefs.h. */
22713 #ifdef HAVE_COMPLEX_H
22714 #include <complex.h>
22720 int (*ptr)() = (int (*)())ctan;
22729 if ac_fn_c_try_link
"$LINENO"; then :
22730 gcc_cv_math_func_ctan
=yes
22732 gcc_cv_math_func_ctan
=no
22734 rm -f core conftest.err conftest.
$ac_objext \
22735 conftest
$ac_exeext conftest.
$ac_ext
22737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
22738 $as_echo "$gcc_cv_math_func_ctan" >&6; }
22739 if test $gcc_cv_math_func_ctan = yes; then
22741 cat >>confdefs.h
<<_ACEOF
22742 #define HAVE_CTAN 1
22750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
22751 $as_echo_n "checking for ctanl... " >&6; }
22752 if test "${gcc_cv_math_func_ctanl+set}" = set; then :
22753 $as_echo_n "(cached) " >&6
22755 if test x
$gcc_no_link = xyes
; then
22756 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22759 /* end confdefs.h. */
22761 #ifdef HAVE_COMPLEX_H
22762 #include <complex.h>
22768 int (*ptr)() = (int (*)())ctanl;
22777 if ac_fn_c_try_link
"$LINENO"; then :
22778 gcc_cv_math_func_ctanl
=yes
22780 gcc_cv_math_func_ctanl
=no
22782 rm -f core conftest.err conftest.
$ac_objext \
22783 conftest
$ac_exeext conftest.
$ac_ext
22785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
22786 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
22787 if test $gcc_cv_math_func_ctanl = yes; then
22789 cat >>confdefs.h
<<_ACEOF
22790 #define HAVE_CTANL 1
22798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
22799 $as_echo_n "checking for tanhf... " >&6; }
22800 if test "${gcc_cv_math_func_tanhf+set}" = set; then :
22801 $as_echo_n "(cached) " >&6
22803 if test x
$gcc_no_link = xyes
; then
22804 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22807 /* end confdefs.h. */
22809 #ifdef HAVE_COMPLEX_H
22810 #include <complex.h>
22816 int (*ptr)() = (int (*)())tanhf;
22825 if ac_fn_c_try_link
"$LINENO"; then :
22826 gcc_cv_math_func_tanhf
=yes
22828 gcc_cv_math_func_tanhf
=no
22830 rm -f core conftest.err conftest.
$ac_objext \
22831 conftest
$ac_exeext conftest.
$ac_ext
22833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
22834 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
22835 if test $gcc_cv_math_func_tanhf = yes; then
22837 cat >>confdefs.h
<<_ACEOF
22838 #define HAVE_TANHF 1
22846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
22847 $as_echo_n "checking for tanh... " >&6; }
22848 if test "${gcc_cv_math_func_tanh+set}" = set; then :
22849 $as_echo_n "(cached) " >&6
22851 if test x
$gcc_no_link = xyes
; then
22852 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22855 /* end confdefs.h. */
22857 #ifdef HAVE_COMPLEX_H
22858 #include <complex.h>
22864 int (*ptr)() = (int (*)())tanh;
22873 if ac_fn_c_try_link
"$LINENO"; then :
22874 gcc_cv_math_func_tanh
=yes
22876 gcc_cv_math_func_tanh
=no
22878 rm -f core conftest.err conftest.
$ac_objext \
22879 conftest
$ac_exeext conftest.
$ac_ext
22881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
22882 $as_echo "$gcc_cv_math_func_tanh" >&6; }
22883 if test $gcc_cv_math_func_tanh = yes; then
22885 cat >>confdefs.h
<<_ACEOF
22886 #define HAVE_TANH 1
22894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
22895 $as_echo_n "checking for tanhl... " >&6; }
22896 if test "${gcc_cv_math_func_tanhl+set}" = set; then :
22897 $as_echo_n "(cached) " >&6
22899 if test x
$gcc_no_link = xyes
; then
22900 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22903 /* end confdefs.h. */
22905 #ifdef HAVE_COMPLEX_H
22906 #include <complex.h>
22912 int (*ptr)() = (int (*)())tanhl;
22921 if ac_fn_c_try_link
"$LINENO"; then :
22922 gcc_cv_math_func_tanhl
=yes
22924 gcc_cv_math_func_tanhl
=no
22926 rm -f core conftest.err conftest.
$ac_objext \
22927 conftest
$ac_exeext conftest.
$ac_ext
22929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
22930 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
22931 if test $gcc_cv_math_func_tanhl = yes; then
22933 cat >>confdefs.h
<<_ACEOF
22934 #define HAVE_TANHL 1
22942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
22943 $as_echo_n "checking for ctanhf... " >&6; }
22944 if test "${gcc_cv_math_func_ctanhf+set}" = set; then :
22945 $as_echo_n "(cached) " >&6
22947 if test x
$gcc_no_link = xyes
; then
22948 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22951 /* end confdefs.h. */
22953 #ifdef HAVE_COMPLEX_H
22954 #include <complex.h>
22960 int (*ptr)() = (int (*)())ctanhf;
22969 if ac_fn_c_try_link
"$LINENO"; then :
22970 gcc_cv_math_func_ctanhf
=yes
22972 gcc_cv_math_func_ctanhf
=no
22974 rm -f core conftest.err conftest.
$ac_objext \
22975 conftest
$ac_exeext conftest.
$ac_ext
22977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
22978 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
22979 if test $gcc_cv_math_func_ctanhf = yes; then
22981 cat >>confdefs.h
<<_ACEOF
22982 #define HAVE_CTANHF 1
22990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
22991 $as_echo_n "checking for ctanh... " >&6; }
22992 if test "${gcc_cv_math_func_ctanh+set}" = set; then :
22993 $as_echo_n "(cached) " >&6
22995 if test x
$gcc_no_link = xyes
; then
22996 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22999 /* end confdefs.h. */
23001 #ifdef HAVE_COMPLEX_H
23002 #include <complex.h>
23008 int (*ptr)() = (int (*)())ctanh;
23017 if ac_fn_c_try_link
"$LINENO"; then :
23018 gcc_cv_math_func_ctanh
=yes
23020 gcc_cv_math_func_ctanh
=no
23022 rm -f core conftest.err conftest.
$ac_objext \
23023 conftest
$ac_exeext conftest.
$ac_ext
23025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23026 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23027 if test $gcc_cv_math_func_ctanh = yes; then
23029 cat >>confdefs.h
<<_ACEOF
23030 #define HAVE_CTANH 1
23038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23039 $as_echo_n "checking for ctanhl... " >&6; }
23040 if test "${gcc_cv_math_func_ctanhl+set}" = set; then :
23041 $as_echo_n "(cached) " >&6
23043 if test x
$gcc_no_link = xyes
; then
23044 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23047 /* end confdefs.h. */
23049 #ifdef HAVE_COMPLEX_H
23050 #include <complex.h>
23056 int (*ptr)() = (int (*)())ctanhl;
23065 if ac_fn_c_try_link
"$LINENO"; then :
23066 gcc_cv_math_func_ctanhl
=yes
23068 gcc_cv_math_func_ctanhl
=no
23070 rm -f core conftest.err conftest.
$ac_objext \
23071 conftest
$ac_exeext conftest.
$ac_ext
23073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23074 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23075 if test $gcc_cv_math_func_ctanhl = yes; then
23077 cat >>confdefs.h
<<_ACEOF
23078 #define HAVE_CTANHL 1
23086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23087 $as_echo_n "checking for truncf... " >&6; }
23088 if test "${gcc_cv_math_func_truncf+set}" = set; then :
23089 $as_echo_n "(cached) " >&6
23091 if test x
$gcc_no_link = xyes
; then
23092 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23095 /* end confdefs.h. */
23097 #ifdef HAVE_COMPLEX_H
23098 #include <complex.h>
23104 int (*ptr)() = (int (*)())truncf;
23113 if ac_fn_c_try_link
"$LINENO"; then :
23114 gcc_cv_math_func_truncf
=yes
23116 gcc_cv_math_func_truncf
=no
23118 rm -f core conftest.err conftest.
$ac_objext \
23119 conftest
$ac_exeext conftest.
$ac_ext
23121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23122 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23123 if test $gcc_cv_math_func_truncf = yes; then
23125 cat >>confdefs.h
<<_ACEOF
23126 #define HAVE_TRUNCF 1
23134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23135 $as_echo_n "checking for trunc... " >&6; }
23136 if test "${gcc_cv_math_func_trunc+set}" = set; then :
23137 $as_echo_n "(cached) " >&6
23139 if test x
$gcc_no_link = xyes
; then
23140 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23143 /* end confdefs.h. */
23145 #ifdef HAVE_COMPLEX_H
23146 #include <complex.h>
23152 int (*ptr)() = (int (*)())trunc;
23161 if ac_fn_c_try_link
"$LINENO"; then :
23162 gcc_cv_math_func_trunc
=yes
23164 gcc_cv_math_func_trunc
=no
23166 rm -f core conftest.err conftest.
$ac_objext \
23167 conftest
$ac_exeext conftest.
$ac_ext
23169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23170 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23171 if test $gcc_cv_math_func_trunc = yes; then
23173 cat >>confdefs.h
<<_ACEOF
23174 #define HAVE_TRUNC 1
23182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23183 $as_echo_n "checking for truncl... " >&6; }
23184 if test "${gcc_cv_math_func_truncl+set}" = set; then :
23185 $as_echo_n "(cached) " >&6
23187 if test x
$gcc_no_link = xyes
; then
23188 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23191 /* end confdefs.h. */
23193 #ifdef HAVE_COMPLEX_H
23194 #include <complex.h>
23200 int (*ptr)() = (int (*)())truncl;
23209 if ac_fn_c_try_link
"$LINENO"; then :
23210 gcc_cv_math_func_truncl
=yes
23212 gcc_cv_math_func_truncl
=no
23214 rm -f core conftest.err conftest.
$ac_objext \
23215 conftest
$ac_exeext conftest.
$ac_ext
23217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23218 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23219 if test $gcc_cv_math_func_truncl = yes; then
23221 cat >>confdefs.h
<<_ACEOF
23222 #define HAVE_TRUNCL 1
23230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23231 $as_echo_n "checking for erff... " >&6; }
23232 if test "${gcc_cv_math_func_erff+set}" = set; then :
23233 $as_echo_n "(cached) " >&6
23235 if test x
$gcc_no_link = xyes
; then
23236 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23239 /* end confdefs.h. */
23241 #ifdef HAVE_COMPLEX_H
23242 #include <complex.h>
23248 int (*ptr)() = (int (*)())erff;
23257 if ac_fn_c_try_link
"$LINENO"; then :
23258 gcc_cv_math_func_erff
=yes
23260 gcc_cv_math_func_erff
=no
23262 rm -f core conftest.err conftest.
$ac_objext \
23263 conftest
$ac_exeext conftest.
$ac_ext
23265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23266 $as_echo "$gcc_cv_math_func_erff" >&6; }
23267 if test $gcc_cv_math_func_erff = yes; then
23269 cat >>confdefs.h
<<_ACEOF
23270 #define HAVE_ERFF 1
23278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23279 $as_echo_n "checking for erf... " >&6; }
23280 if test "${gcc_cv_math_func_erf+set}" = set; then :
23281 $as_echo_n "(cached) " >&6
23283 if test x
$gcc_no_link = xyes
; then
23284 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23287 /* end confdefs.h. */
23289 #ifdef HAVE_COMPLEX_H
23290 #include <complex.h>
23296 int (*ptr)() = (int (*)())erf;
23305 if ac_fn_c_try_link
"$LINENO"; then :
23306 gcc_cv_math_func_erf
=yes
23308 gcc_cv_math_func_erf
=no
23310 rm -f core conftest.err conftest.
$ac_objext \
23311 conftest
$ac_exeext conftest.
$ac_ext
23313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23314 $as_echo "$gcc_cv_math_func_erf" >&6; }
23315 if test $gcc_cv_math_func_erf = yes; then
23317 cat >>confdefs.h
<<_ACEOF
23326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23327 $as_echo_n "checking for erfcf... " >&6; }
23328 if test "${gcc_cv_math_func_erfcf+set}" = set; then :
23329 $as_echo_n "(cached) " >&6
23331 if test x
$gcc_no_link = xyes
; then
23332 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23335 /* end confdefs.h. */
23337 #ifdef HAVE_COMPLEX_H
23338 #include <complex.h>
23344 int (*ptr)() = (int (*)())erfcf;
23353 if ac_fn_c_try_link
"$LINENO"; then :
23354 gcc_cv_math_func_erfcf
=yes
23356 gcc_cv_math_func_erfcf
=no
23358 rm -f core conftest.err conftest.
$ac_objext \
23359 conftest
$ac_exeext conftest.
$ac_ext
23361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23362 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23363 if test $gcc_cv_math_func_erfcf = yes; then
23365 cat >>confdefs.h
<<_ACEOF
23366 #define HAVE_ERFCF 1
23374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23375 $as_echo_n "checking for erfc... " >&6; }
23376 if test "${gcc_cv_math_func_erfc+set}" = set; then :
23377 $as_echo_n "(cached) " >&6
23379 if test x
$gcc_no_link = xyes
; then
23380 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23383 /* end confdefs.h. */
23385 #ifdef HAVE_COMPLEX_H
23386 #include <complex.h>
23392 int (*ptr)() = (int (*)())erfc;
23401 if ac_fn_c_try_link
"$LINENO"; then :
23402 gcc_cv_math_func_erfc
=yes
23404 gcc_cv_math_func_erfc
=no
23406 rm -f core conftest.err conftest.
$ac_objext \
23407 conftest
$ac_exeext conftest.
$ac_ext
23409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23410 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23411 if test $gcc_cv_math_func_erfc = yes; then
23413 cat >>confdefs.h
<<_ACEOF
23414 #define HAVE_ERFC 1
23422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23423 $as_echo_n "checking for erfcl... " >&6; }
23424 if test "${gcc_cv_math_func_erfcl+set}" = set; then :
23425 $as_echo_n "(cached) " >&6
23427 if test x
$gcc_no_link = xyes
; then
23428 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23431 /* end confdefs.h. */
23433 #ifdef HAVE_COMPLEX_H
23434 #include <complex.h>
23440 int (*ptr)() = (int (*)())erfcl;
23449 if ac_fn_c_try_link
"$LINENO"; then :
23450 gcc_cv_math_func_erfcl
=yes
23452 gcc_cv_math_func_erfcl
=no
23454 rm -f core conftest.err conftest.
$ac_objext \
23455 conftest
$ac_exeext conftest.
$ac_ext
23457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23458 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23459 if test $gcc_cv_math_func_erfcl = yes; then
23461 cat >>confdefs.h
<<_ACEOF
23462 #define HAVE_ERFCL 1
23470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23471 $as_echo_n "checking for j0f... " >&6; }
23472 if test "${gcc_cv_math_func_j0f+set}" = set; then :
23473 $as_echo_n "(cached) " >&6
23475 if test x
$gcc_no_link = xyes
; then
23476 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23479 /* end confdefs.h. */
23481 #ifdef HAVE_COMPLEX_H
23482 #include <complex.h>
23488 int (*ptr)() = (int (*)())j0f;
23497 if ac_fn_c_try_link
"$LINENO"; then :
23498 gcc_cv_math_func_j0f
=yes
23500 gcc_cv_math_func_j0f
=no
23502 rm -f core conftest.err conftest.
$ac_objext \
23503 conftest
$ac_exeext conftest.
$ac_ext
23505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23506 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23507 if test $gcc_cv_math_func_j0f = yes; then
23509 cat >>confdefs.h
<<_ACEOF
23518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23519 $as_echo_n "checking for j0... " >&6; }
23520 if test "${gcc_cv_math_func_j0+set}" = set; then :
23521 $as_echo_n "(cached) " >&6
23523 if test x
$gcc_no_link = xyes
; then
23524 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23527 /* end confdefs.h. */
23529 #ifdef HAVE_COMPLEX_H
23530 #include <complex.h>
23536 int (*ptr)() = (int (*)())j0;
23545 if ac_fn_c_try_link
"$LINENO"; then :
23546 gcc_cv_math_func_j0
=yes
23548 gcc_cv_math_func_j0
=no
23550 rm -f core conftest.err conftest.
$ac_objext \
23551 conftest
$ac_exeext conftest.
$ac_ext
23553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23554 $as_echo "$gcc_cv_math_func_j0" >&6; }
23555 if test $gcc_cv_math_func_j0 = yes; then
23557 cat >>confdefs.h
<<_ACEOF
23566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23567 $as_echo_n "checking for j1f... " >&6; }
23568 if test "${gcc_cv_math_func_j1f+set}" = set; then :
23569 $as_echo_n "(cached) " >&6
23571 if test x
$gcc_no_link = xyes
; then
23572 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23575 /* end confdefs.h. */
23577 #ifdef HAVE_COMPLEX_H
23578 #include <complex.h>
23584 int (*ptr)() = (int (*)())j1f;
23593 if ac_fn_c_try_link
"$LINENO"; then :
23594 gcc_cv_math_func_j1f
=yes
23596 gcc_cv_math_func_j1f
=no
23598 rm -f core conftest.err conftest.
$ac_objext \
23599 conftest
$ac_exeext conftest.
$ac_ext
23601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23602 $as_echo "$gcc_cv_math_func_j1f" >&6; }
23603 if test $gcc_cv_math_func_j1f = yes; then
23605 cat >>confdefs.h
<<_ACEOF
23614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23615 $as_echo_n "checking for j1... " >&6; }
23616 if test "${gcc_cv_math_func_j1+set}" = set; then :
23617 $as_echo_n "(cached) " >&6
23619 if test x
$gcc_no_link = xyes
; then
23620 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23623 /* end confdefs.h. */
23625 #ifdef HAVE_COMPLEX_H
23626 #include <complex.h>
23632 int (*ptr)() = (int (*)())j1;
23641 if ac_fn_c_try_link
"$LINENO"; then :
23642 gcc_cv_math_func_j1
=yes
23644 gcc_cv_math_func_j1
=no
23646 rm -f core conftest.err conftest.
$ac_objext \
23647 conftest
$ac_exeext conftest.
$ac_ext
23649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23650 $as_echo "$gcc_cv_math_func_j1" >&6; }
23651 if test $gcc_cv_math_func_j1 = yes; then
23653 cat >>confdefs.h
<<_ACEOF
23662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23663 $as_echo_n "checking for jnf... " >&6; }
23664 if test "${gcc_cv_math_func_jnf+set}" = set; then :
23665 $as_echo_n "(cached) " >&6
23667 if test x
$gcc_no_link = xyes
; then
23668 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23671 /* end confdefs.h. */
23673 #ifdef HAVE_COMPLEX_H
23674 #include <complex.h>
23680 int (*ptr)() = (int (*)())jnf;
23689 if ac_fn_c_try_link
"$LINENO"; then :
23690 gcc_cv_math_func_jnf
=yes
23692 gcc_cv_math_func_jnf
=no
23694 rm -f core conftest.err conftest.
$ac_objext \
23695 conftest
$ac_exeext conftest.
$ac_ext
23697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23698 $as_echo "$gcc_cv_math_func_jnf" >&6; }
23699 if test $gcc_cv_math_func_jnf = yes; then
23701 cat >>confdefs.h
<<_ACEOF
23710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
23711 $as_echo_n "checking for jn... " >&6; }
23712 if test "${gcc_cv_math_func_jn+set}" = set; then :
23713 $as_echo_n "(cached) " >&6
23715 if test x
$gcc_no_link = xyes
; then
23716 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23719 /* end confdefs.h. */
23721 #ifdef HAVE_COMPLEX_H
23722 #include <complex.h>
23728 int (*ptr)() = (int (*)())jn;
23737 if ac_fn_c_try_link
"$LINENO"; then :
23738 gcc_cv_math_func_jn
=yes
23740 gcc_cv_math_func_jn
=no
23742 rm -f core conftest.err conftest.
$ac_objext \
23743 conftest
$ac_exeext conftest.
$ac_ext
23745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
23746 $as_echo "$gcc_cv_math_func_jn" >&6; }
23747 if test $gcc_cv_math_func_jn = yes; then
23749 cat >>confdefs.h
<<_ACEOF
23758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
23759 $as_echo_n "checking for jnl... " >&6; }
23760 if test "${gcc_cv_math_func_jnl+set}" = set; then :
23761 $as_echo_n "(cached) " >&6
23763 if test x
$gcc_no_link = xyes
; then
23764 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23767 /* end confdefs.h. */
23769 #ifdef HAVE_COMPLEX_H
23770 #include <complex.h>
23776 int (*ptr)() = (int (*)())jnl;
23785 if ac_fn_c_try_link
"$LINENO"; then :
23786 gcc_cv_math_func_jnl
=yes
23788 gcc_cv_math_func_jnl
=no
23790 rm -f core conftest.err conftest.
$ac_objext \
23791 conftest
$ac_exeext conftest.
$ac_ext
23793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
23794 $as_echo "$gcc_cv_math_func_jnl" >&6; }
23795 if test $gcc_cv_math_func_jnl = yes; then
23797 cat >>confdefs.h
<<_ACEOF
23806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
23807 $as_echo_n "checking for y0f... " >&6; }
23808 if test "${gcc_cv_math_func_y0f+set}" = set; then :
23809 $as_echo_n "(cached) " >&6
23811 if test x
$gcc_no_link = xyes
; then
23812 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23815 /* end confdefs.h. */
23817 #ifdef HAVE_COMPLEX_H
23818 #include <complex.h>
23824 int (*ptr)() = (int (*)())y0f;
23833 if ac_fn_c_try_link
"$LINENO"; then :
23834 gcc_cv_math_func_y0f
=yes
23836 gcc_cv_math_func_y0f
=no
23838 rm -f core conftest.err conftest.
$ac_objext \
23839 conftest
$ac_exeext conftest.
$ac_ext
23841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
23842 $as_echo "$gcc_cv_math_func_y0f" >&6; }
23843 if test $gcc_cv_math_func_y0f = yes; then
23845 cat >>confdefs.h
<<_ACEOF
23854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
23855 $as_echo_n "checking for y0... " >&6; }
23856 if test "${gcc_cv_math_func_y0+set}" = set; then :
23857 $as_echo_n "(cached) " >&6
23859 if test x
$gcc_no_link = xyes
; then
23860 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23863 /* end confdefs.h. */
23865 #ifdef HAVE_COMPLEX_H
23866 #include <complex.h>
23872 int (*ptr)() = (int (*)())y0;
23881 if ac_fn_c_try_link
"$LINENO"; then :
23882 gcc_cv_math_func_y0
=yes
23884 gcc_cv_math_func_y0
=no
23886 rm -f core conftest.err conftest.
$ac_objext \
23887 conftest
$ac_exeext conftest.
$ac_ext
23889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
23890 $as_echo "$gcc_cv_math_func_y0" >&6; }
23891 if test $gcc_cv_math_func_y0 = yes; then
23893 cat >>confdefs.h
<<_ACEOF
23902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
23903 $as_echo_n "checking for y1f... " >&6; }
23904 if test "${gcc_cv_math_func_y1f+set}" = set; then :
23905 $as_echo_n "(cached) " >&6
23907 if test x
$gcc_no_link = xyes
; then
23908 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23911 /* end confdefs.h. */
23913 #ifdef HAVE_COMPLEX_H
23914 #include <complex.h>
23920 int (*ptr)() = (int (*)())y1f;
23929 if ac_fn_c_try_link
"$LINENO"; then :
23930 gcc_cv_math_func_y1f
=yes
23932 gcc_cv_math_func_y1f
=no
23934 rm -f core conftest.err conftest.
$ac_objext \
23935 conftest
$ac_exeext conftest.
$ac_ext
23937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
23938 $as_echo "$gcc_cv_math_func_y1f" >&6; }
23939 if test $gcc_cv_math_func_y1f = yes; then
23941 cat >>confdefs.h
<<_ACEOF
23950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
23951 $as_echo_n "checking for y1... " >&6; }
23952 if test "${gcc_cv_math_func_y1+set}" = set; then :
23953 $as_echo_n "(cached) " >&6
23955 if test x
$gcc_no_link = xyes
; then
23956 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23959 /* end confdefs.h. */
23961 #ifdef HAVE_COMPLEX_H
23962 #include <complex.h>
23968 int (*ptr)() = (int (*)())y1;
23977 if ac_fn_c_try_link
"$LINENO"; then :
23978 gcc_cv_math_func_y1
=yes
23980 gcc_cv_math_func_y1
=no
23982 rm -f core conftest.err conftest.
$ac_objext \
23983 conftest
$ac_exeext conftest.
$ac_ext
23985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
23986 $as_echo "$gcc_cv_math_func_y1" >&6; }
23987 if test $gcc_cv_math_func_y1 = yes; then
23989 cat >>confdefs.h
<<_ACEOF
23998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
23999 $as_echo_n "checking for ynf... " >&6; }
24000 if test "${gcc_cv_math_func_ynf+set}" = set; then :
24001 $as_echo_n "(cached) " >&6
24003 if test x
$gcc_no_link = xyes
; then
24004 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24007 /* end confdefs.h. */
24009 #ifdef HAVE_COMPLEX_H
24010 #include <complex.h>
24016 int (*ptr)() = (int (*)())ynf;
24025 if ac_fn_c_try_link
"$LINENO"; then :
24026 gcc_cv_math_func_ynf
=yes
24028 gcc_cv_math_func_ynf
=no
24030 rm -f core conftest.err conftest.
$ac_objext \
24031 conftest
$ac_exeext conftest.
$ac_ext
24033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24034 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24035 if test $gcc_cv_math_func_ynf = yes; then
24037 cat >>confdefs.h
<<_ACEOF
24046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24047 $as_echo_n "checking for yn... " >&6; }
24048 if test "${gcc_cv_math_func_yn+set}" = set; then :
24049 $as_echo_n "(cached) " >&6
24051 if test x
$gcc_no_link = xyes
; then
24052 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24055 /* end confdefs.h. */
24057 #ifdef HAVE_COMPLEX_H
24058 #include <complex.h>
24064 int (*ptr)() = (int (*)())yn;
24073 if ac_fn_c_try_link
"$LINENO"; then :
24074 gcc_cv_math_func_yn
=yes
24076 gcc_cv_math_func_yn
=no
24078 rm -f core conftest.err conftest.
$ac_objext \
24079 conftest
$ac_exeext conftest.
$ac_ext
24081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24082 $as_echo "$gcc_cv_math_func_yn" >&6; }
24083 if test $gcc_cv_math_func_yn = yes; then
24085 cat >>confdefs.h
<<_ACEOF
24094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24095 $as_echo_n "checking for ynl... " >&6; }
24096 if test "${gcc_cv_math_func_ynl+set}" = set; then :
24097 $as_echo_n "(cached) " >&6
24099 if test x
$gcc_no_link = xyes
; then
24100 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24103 /* end confdefs.h. */
24105 #ifdef HAVE_COMPLEX_H
24106 #include <complex.h>
24112 int (*ptr)() = (int (*)())ynl;
24121 if ac_fn_c_try_link
"$LINENO"; then :
24122 gcc_cv_math_func_ynl
=yes
24124 gcc_cv_math_func_ynl
=no
24126 rm -f core conftest.err conftest.
$ac_objext \
24127 conftest
$ac_exeext conftest.
$ac_ext
24129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24130 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24131 if test $gcc_cv_math_func_ynl = yes; then
24133 cat >>confdefs.h
<<_ACEOF
24142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24143 $as_echo_n "checking for tgamma... " >&6; }
24144 if test "${gcc_cv_math_func_tgamma+set}" = set; then :
24145 $as_echo_n "(cached) " >&6
24147 if test x
$gcc_no_link = xyes
; then
24148 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24151 /* end confdefs.h. */
24153 #ifdef HAVE_COMPLEX_H
24154 #include <complex.h>
24160 int (*ptr)() = (int (*)())tgamma;
24169 if ac_fn_c_try_link
"$LINENO"; then :
24170 gcc_cv_math_func_tgamma
=yes
24172 gcc_cv_math_func_tgamma
=no
24174 rm -f core conftest.err conftest.
$ac_objext \
24175 conftest
$ac_exeext conftest.
$ac_ext
24177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24178 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24179 if test $gcc_cv_math_func_tgamma = yes; then
24181 cat >>confdefs.h
<<_ACEOF
24182 #define HAVE_TGAMMA 1
24190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24191 $as_echo_n "checking for tgammaf... " >&6; }
24192 if test "${gcc_cv_math_func_tgammaf+set}" = set; then :
24193 $as_echo_n "(cached) " >&6
24195 if test x
$gcc_no_link = xyes
; then
24196 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24199 /* end confdefs.h. */
24201 #ifdef HAVE_COMPLEX_H
24202 #include <complex.h>
24208 int (*ptr)() = (int (*)())tgammaf;
24217 if ac_fn_c_try_link
"$LINENO"; then :
24218 gcc_cv_math_func_tgammaf
=yes
24220 gcc_cv_math_func_tgammaf
=no
24222 rm -f core conftest.err conftest.
$ac_objext \
24223 conftest
$ac_exeext conftest.
$ac_ext
24225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24226 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24227 if test $gcc_cv_math_func_tgammaf = yes; then
24229 cat >>confdefs.h
<<_ACEOF
24230 #define HAVE_TGAMMAF 1
24238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24239 $as_echo_n "checking for lgamma... " >&6; }
24240 if test "${gcc_cv_math_func_lgamma+set}" = set; then :
24241 $as_echo_n "(cached) " >&6
24243 if test x
$gcc_no_link = xyes
; then
24244 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24247 /* end confdefs.h. */
24249 #ifdef HAVE_COMPLEX_H
24250 #include <complex.h>
24256 int (*ptr)() = (int (*)())lgamma;
24265 if ac_fn_c_try_link
"$LINENO"; then :
24266 gcc_cv_math_func_lgamma
=yes
24268 gcc_cv_math_func_lgamma
=no
24270 rm -f core conftest.err conftest.
$ac_objext \
24271 conftest
$ac_exeext conftest.
$ac_ext
24273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24274 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24275 if test $gcc_cv_math_func_lgamma = yes; then
24277 cat >>confdefs.h
<<_ACEOF
24278 #define HAVE_LGAMMA 1
24286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24287 $as_echo_n "checking for lgammaf... " >&6; }
24288 if test "${gcc_cv_math_func_lgammaf+set}" = set; then :
24289 $as_echo_n "(cached) " >&6
24291 if test x
$gcc_no_link = xyes
; then
24292 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24295 /* end confdefs.h. */
24297 #ifdef HAVE_COMPLEX_H
24298 #include <complex.h>
24304 int (*ptr)() = (int (*)())lgammaf;
24313 if ac_fn_c_try_link
"$LINENO"; then :
24314 gcc_cv_math_func_lgammaf
=yes
24316 gcc_cv_math_func_lgammaf
=no
24318 rm -f core conftest.err conftest.
$ac_objext \
24319 conftest
$ac_exeext conftest.
$ac_ext
24321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24322 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24323 if test $gcc_cv_math_func_lgammaf = yes; then
24325 cat >>confdefs.h
<<_ACEOF
24326 #define HAVE_LGAMMAF 1
24332 # Check for GFORTRAN_C99_1.1 funcs
24336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24337 $as_echo_n "checking for cacos... " >&6; }
24338 if test "${gcc_cv_math_func_cacos+set}" = set; then :
24339 $as_echo_n "(cached) " >&6
24341 if test x
$gcc_no_link = xyes
; then
24342 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24345 /* end confdefs.h. */
24347 #ifdef HAVE_COMPLEX_H
24348 #include <complex.h>
24354 int (*ptr)() = (int (*)())cacos;
24363 if ac_fn_c_try_link
"$LINENO"; then :
24364 gcc_cv_math_func_cacos
=yes
24366 gcc_cv_math_func_cacos
=no
24368 rm -f core conftest.err conftest.
$ac_objext \
24369 conftest
$ac_exeext conftest.
$ac_ext
24371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24372 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24373 if test $gcc_cv_math_func_cacos = yes; then
24375 cat >>confdefs.h
<<_ACEOF
24376 #define HAVE_CACOS 1
24384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24385 $as_echo_n "checking for cacosf... " >&6; }
24386 if test "${gcc_cv_math_func_cacosf+set}" = set; then :
24387 $as_echo_n "(cached) " >&6
24389 if test x
$gcc_no_link = xyes
; then
24390 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24393 /* end confdefs.h. */
24395 #ifdef HAVE_COMPLEX_H
24396 #include <complex.h>
24402 int (*ptr)() = (int (*)())cacosf;
24411 if ac_fn_c_try_link
"$LINENO"; then :
24412 gcc_cv_math_func_cacosf
=yes
24414 gcc_cv_math_func_cacosf
=no
24416 rm -f core conftest.err conftest.
$ac_objext \
24417 conftest
$ac_exeext conftest.
$ac_ext
24419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24420 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24421 if test $gcc_cv_math_func_cacosf = yes; then
24423 cat >>confdefs.h
<<_ACEOF
24424 #define HAVE_CACOSF 1
24432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24433 $as_echo_n "checking for cacosh... " >&6; }
24434 if test "${gcc_cv_math_func_cacosh+set}" = set; then :
24435 $as_echo_n "(cached) " >&6
24437 if test x
$gcc_no_link = xyes
; then
24438 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24441 /* end confdefs.h. */
24443 #ifdef HAVE_COMPLEX_H
24444 #include <complex.h>
24450 int (*ptr)() = (int (*)())cacosh;
24459 if ac_fn_c_try_link
"$LINENO"; then :
24460 gcc_cv_math_func_cacosh
=yes
24462 gcc_cv_math_func_cacosh
=no
24464 rm -f core conftest.err conftest.
$ac_objext \
24465 conftest
$ac_exeext conftest.
$ac_ext
24467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24468 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24469 if test $gcc_cv_math_func_cacosh = yes; then
24471 cat >>confdefs.h
<<_ACEOF
24472 #define HAVE_CACOSH 1
24480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24481 $as_echo_n "checking for cacoshf... " >&6; }
24482 if test "${gcc_cv_math_func_cacoshf+set}" = set; then :
24483 $as_echo_n "(cached) " >&6
24485 if test x
$gcc_no_link = xyes
; then
24486 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24489 /* end confdefs.h. */
24491 #ifdef HAVE_COMPLEX_H
24492 #include <complex.h>
24498 int (*ptr)() = (int (*)())cacoshf;
24507 if ac_fn_c_try_link
"$LINENO"; then :
24508 gcc_cv_math_func_cacoshf
=yes
24510 gcc_cv_math_func_cacoshf
=no
24512 rm -f core conftest.err conftest.
$ac_objext \
24513 conftest
$ac_exeext conftest.
$ac_ext
24515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24516 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24517 if test $gcc_cv_math_func_cacoshf = yes; then
24519 cat >>confdefs.h
<<_ACEOF
24520 #define HAVE_CACOSHF 1
24528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24529 $as_echo_n "checking for cacoshl... " >&6; }
24530 if test "${gcc_cv_math_func_cacoshl+set}" = set; then :
24531 $as_echo_n "(cached) " >&6
24533 if test x
$gcc_no_link = xyes
; then
24534 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24537 /* end confdefs.h. */
24539 #ifdef HAVE_COMPLEX_H
24540 #include <complex.h>
24546 int (*ptr)() = (int (*)())cacoshl;
24555 if ac_fn_c_try_link
"$LINENO"; then :
24556 gcc_cv_math_func_cacoshl
=yes
24558 gcc_cv_math_func_cacoshl
=no
24560 rm -f core conftest.err conftest.
$ac_objext \
24561 conftest
$ac_exeext conftest.
$ac_ext
24563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
24564 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24565 if test $gcc_cv_math_func_cacoshl = yes; then
24567 cat >>confdefs.h
<<_ACEOF
24568 #define HAVE_CACOSHL 1
24576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24577 $as_echo_n "checking for cacosl... " >&6; }
24578 if test "${gcc_cv_math_func_cacosl+set}" = set; then :
24579 $as_echo_n "(cached) " >&6
24581 if test x
$gcc_no_link = xyes
; then
24582 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24585 /* end confdefs.h. */
24587 #ifdef HAVE_COMPLEX_H
24588 #include <complex.h>
24594 int (*ptr)() = (int (*)())cacosl;
24603 if ac_fn_c_try_link
"$LINENO"; then :
24604 gcc_cv_math_func_cacosl
=yes
24606 gcc_cv_math_func_cacosl
=no
24608 rm -f core conftest.err conftest.
$ac_objext \
24609 conftest
$ac_exeext conftest.
$ac_ext
24611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
24612 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
24613 if test $gcc_cv_math_func_cacosl = yes; then
24615 cat >>confdefs.h
<<_ACEOF
24616 #define HAVE_CACOSL 1
24624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24625 $as_echo_n "checking for casin... " >&6; }
24626 if test "${gcc_cv_math_func_casin+set}" = set; then :
24627 $as_echo_n "(cached) " >&6
24629 if test x
$gcc_no_link = xyes
; then
24630 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24633 /* end confdefs.h. */
24635 #ifdef HAVE_COMPLEX_H
24636 #include <complex.h>
24642 int (*ptr)() = (int (*)())casin;
24651 if ac_fn_c_try_link
"$LINENO"; then :
24652 gcc_cv_math_func_casin
=yes
24654 gcc_cv_math_func_casin
=no
24656 rm -f core conftest.err conftest.
$ac_objext \
24657 conftest
$ac_exeext conftest.
$ac_ext
24659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
24660 $as_echo "$gcc_cv_math_func_casin" >&6; }
24661 if test $gcc_cv_math_func_casin = yes; then
24663 cat >>confdefs.h
<<_ACEOF
24664 #define HAVE_CASIN 1
24672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
24673 $as_echo_n "checking for casinf... " >&6; }
24674 if test "${gcc_cv_math_func_casinf+set}" = set; then :
24675 $as_echo_n "(cached) " >&6
24677 if test x
$gcc_no_link = xyes
; then
24678 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24681 /* end confdefs.h. */
24683 #ifdef HAVE_COMPLEX_H
24684 #include <complex.h>
24690 int (*ptr)() = (int (*)())casinf;
24699 if ac_fn_c_try_link
"$LINENO"; then :
24700 gcc_cv_math_func_casinf
=yes
24702 gcc_cv_math_func_casinf
=no
24704 rm -f core conftest.err conftest.
$ac_objext \
24705 conftest
$ac_exeext conftest.
$ac_ext
24707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
24708 $as_echo "$gcc_cv_math_func_casinf" >&6; }
24709 if test $gcc_cv_math_func_casinf = yes; then
24711 cat >>confdefs.h
<<_ACEOF
24712 #define HAVE_CASINF 1
24720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
24721 $as_echo_n "checking for casinh... " >&6; }
24722 if test "${gcc_cv_math_func_casinh+set}" = set; then :
24723 $as_echo_n "(cached) " >&6
24725 if test x
$gcc_no_link = xyes
; then
24726 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24729 /* end confdefs.h. */
24731 #ifdef HAVE_COMPLEX_H
24732 #include <complex.h>
24738 int (*ptr)() = (int (*)())casinh;
24747 if ac_fn_c_try_link
"$LINENO"; then :
24748 gcc_cv_math_func_casinh
=yes
24750 gcc_cv_math_func_casinh
=no
24752 rm -f core conftest.err conftest.
$ac_objext \
24753 conftest
$ac_exeext conftest.
$ac_ext
24755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
24756 $as_echo "$gcc_cv_math_func_casinh" >&6; }
24757 if test $gcc_cv_math_func_casinh = yes; then
24759 cat >>confdefs.h
<<_ACEOF
24760 #define HAVE_CASINH 1
24768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
24769 $as_echo_n "checking for casinhf... " >&6; }
24770 if test "${gcc_cv_math_func_casinhf+set}" = set; then :
24771 $as_echo_n "(cached) " >&6
24773 if test x
$gcc_no_link = xyes
; then
24774 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24777 /* end confdefs.h. */
24779 #ifdef HAVE_COMPLEX_H
24780 #include <complex.h>
24786 int (*ptr)() = (int (*)())casinhf;
24795 if ac_fn_c_try_link
"$LINENO"; then :
24796 gcc_cv_math_func_casinhf
=yes
24798 gcc_cv_math_func_casinhf
=no
24800 rm -f core conftest.err conftest.
$ac_objext \
24801 conftest
$ac_exeext conftest.
$ac_ext
24803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
24804 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
24805 if test $gcc_cv_math_func_casinhf = yes; then
24807 cat >>confdefs.h
<<_ACEOF
24808 #define HAVE_CASINHF 1
24816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
24817 $as_echo_n "checking for casinhl... " >&6; }
24818 if test "${gcc_cv_math_func_casinhl+set}" = set; then :
24819 $as_echo_n "(cached) " >&6
24821 if test x
$gcc_no_link = xyes
; then
24822 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24825 /* end confdefs.h. */
24827 #ifdef HAVE_COMPLEX_H
24828 #include <complex.h>
24834 int (*ptr)() = (int (*)())casinhl;
24843 if ac_fn_c_try_link
"$LINENO"; then :
24844 gcc_cv_math_func_casinhl
=yes
24846 gcc_cv_math_func_casinhl
=no
24848 rm -f core conftest.err conftest.
$ac_objext \
24849 conftest
$ac_exeext conftest.
$ac_ext
24851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
24852 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
24853 if test $gcc_cv_math_func_casinhl = yes; then
24855 cat >>confdefs.h
<<_ACEOF
24856 #define HAVE_CASINHL 1
24864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
24865 $as_echo_n "checking for casinl... " >&6; }
24866 if test "${gcc_cv_math_func_casinl+set}" = set; then :
24867 $as_echo_n "(cached) " >&6
24869 if test x
$gcc_no_link = xyes
; then
24870 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24873 /* end confdefs.h. */
24875 #ifdef HAVE_COMPLEX_H
24876 #include <complex.h>
24882 int (*ptr)() = (int (*)())casinl;
24891 if ac_fn_c_try_link
"$LINENO"; then :
24892 gcc_cv_math_func_casinl
=yes
24894 gcc_cv_math_func_casinl
=no
24896 rm -f core conftest.err conftest.
$ac_objext \
24897 conftest
$ac_exeext conftest.
$ac_ext
24899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
24900 $as_echo "$gcc_cv_math_func_casinl" >&6; }
24901 if test $gcc_cv_math_func_casinl = yes; then
24903 cat >>confdefs.h
<<_ACEOF
24904 #define HAVE_CASINL 1
24912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
24913 $as_echo_n "checking for catan... " >&6; }
24914 if test "${gcc_cv_math_func_catan+set}" = set; then :
24915 $as_echo_n "(cached) " >&6
24917 if test x
$gcc_no_link = xyes
; then
24918 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24921 /* end confdefs.h. */
24923 #ifdef HAVE_COMPLEX_H
24924 #include <complex.h>
24930 int (*ptr)() = (int (*)())catan;
24939 if ac_fn_c_try_link
"$LINENO"; then :
24940 gcc_cv_math_func_catan
=yes
24942 gcc_cv_math_func_catan
=no
24944 rm -f core conftest.err conftest.
$ac_objext \
24945 conftest
$ac_exeext conftest.
$ac_ext
24947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
24948 $as_echo "$gcc_cv_math_func_catan" >&6; }
24949 if test $gcc_cv_math_func_catan = yes; then
24951 cat >>confdefs.h
<<_ACEOF
24952 #define HAVE_CATAN 1
24960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
24961 $as_echo_n "checking for catanf... " >&6; }
24962 if test "${gcc_cv_math_func_catanf+set}" = set; then :
24963 $as_echo_n "(cached) " >&6
24965 if test x
$gcc_no_link = xyes
; then
24966 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24969 /* end confdefs.h. */
24971 #ifdef HAVE_COMPLEX_H
24972 #include <complex.h>
24978 int (*ptr)() = (int (*)())catanf;
24987 if ac_fn_c_try_link
"$LINENO"; then :
24988 gcc_cv_math_func_catanf
=yes
24990 gcc_cv_math_func_catanf
=no
24992 rm -f core conftest.err conftest.
$ac_objext \
24993 conftest
$ac_exeext conftest.
$ac_ext
24995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
24996 $as_echo "$gcc_cv_math_func_catanf" >&6; }
24997 if test $gcc_cv_math_func_catanf = yes; then
24999 cat >>confdefs.h
<<_ACEOF
25000 #define HAVE_CATANF 1
25008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25009 $as_echo_n "checking for catanh... " >&6; }
25010 if test "${gcc_cv_math_func_catanh+set}" = set; then :
25011 $as_echo_n "(cached) " >&6
25013 if test x
$gcc_no_link = xyes
; then
25014 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25017 /* end confdefs.h. */
25019 #ifdef HAVE_COMPLEX_H
25020 #include <complex.h>
25026 int (*ptr)() = (int (*)())catanh;
25035 if ac_fn_c_try_link
"$LINENO"; then :
25036 gcc_cv_math_func_catanh
=yes
25038 gcc_cv_math_func_catanh
=no
25040 rm -f core conftest.err conftest.
$ac_objext \
25041 conftest
$ac_exeext conftest.
$ac_ext
25043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25044 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25045 if test $gcc_cv_math_func_catanh = yes; then
25047 cat >>confdefs.h
<<_ACEOF
25048 #define HAVE_CATANH 1
25056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25057 $as_echo_n "checking for catanhf... " >&6; }
25058 if test "${gcc_cv_math_func_catanhf+set}" = set; then :
25059 $as_echo_n "(cached) " >&6
25061 if test x
$gcc_no_link = xyes
; then
25062 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25065 /* end confdefs.h. */
25067 #ifdef HAVE_COMPLEX_H
25068 #include <complex.h>
25074 int (*ptr)() = (int (*)())catanhf;
25083 if ac_fn_c_try_link
"$LINENO"; then :
25084 gcc_cv_math_func_catanhf
=yes
25086 gcc_cv_math_func_catanhf
=no
25088 rm -f core conftest.err conftest.
$ac_objext \
25089 conftest
$ac_exeext conftest.
$ac_ext
25091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25092 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25093 if test $gcc_cv_math_func_catanhf = yes; then
25095 cat >>confdefs.h
<<_ACEOF
25096 #define HAVE_CATANHF 1
25104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25105 $as_echo_n "checking for catanhl... " >&6; }
25106 if test "${gcc_cv_math_func_catanhl+set}" = set; then :
25107 $as_echo_n "(cached) " >&6
25109 if test x
$gcc_no_link = xyes
; then
25110 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25113 /* end confdefs.h. */
25115 #ifdef HAVE_COMPLEX_H
25116 #include <complex.h>
25122 int (*ptr)() = (int (*)())catanhl;
25131 if ac_fn_c_try_link
"$LINENO"; then :
25132 gcc_cv_math_func_catanhl
=yes
25134 gcc_cv_math_func_catanhl
=no
25136 rm -f core conftest.err conftest.
$ac_objext \
25137 conftest
$ac_exeext conftest.
$ac_ext
25139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25140 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25141 if test $gcc_cv_math_func_catanhl = yes; then
25143 cat >>confdefs.h
<<_ACEOF
25144 #define HAVE_CATANHL 1
25152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25153 $as_echo_n "checking for catanl... " >&6; }
25154 if test "${gcc_cv_math_func_catanl+set}" = set; then :
25155 $as_echo_n "(cached) " >&6
25157 if test x
$gcc_no_link = xyes
; then
25158 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25161 /* end confdefs.h. */
25163 #ifdef HAVE_COMPLEX_H
25164 #include <complex.h>
25170 int (*ptr)() = (int (*)())catanl;
25179 if ac_fn_c_try_link
"$LINENO"; then :
25180 gcc_cv_math_func_catanl
=yes
25182 gcc_cv_math_func_catanl
=no
25184 rm -f core conftest.err conftest.
$ac_objext \
25185 conftest
$ac_exeext conftest.
$ac_ext
25187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25188 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25189 if test $gcc_cv_math_func_catanl = yes; then
25191 cat >>confdefs.h
<<_ACEOF
25192 #define HAVE_CATANL 1
25198 # On AIX, clog is present in libm as __clog
25199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25200 $as_echo_n "checking for __clog in -lm... " >&6; }
25201 if test "${ac_cv_lib_m___clog+set}" = set; then :
25202 $as_echo_n "(cached) " >&6
25204 ac_check_lib_save_LIBS
=$LIBS
25206 if test x
$gcc_no_link = xyes
; then
25207 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25210 /* end confdefs.h. */
25212 /* Override any GCC internal prototype to avoid an error.
25213 Use char because int might match the return type of a GCC
25214 builtin and then its argument prototype would still apply. */
25227 if ac_fn_c_try_link
"$LINENO"; then :
25228 ac_cv_lib_m___clog
=yes
25230 ac_cv_lib_m___clog
=no
25232 rm -f core conftest.err conftest.
$ac_objext \
25233 conftest
$ac_exeext conftest.
$ac_ext
25234 LIBS
=$ac_check_lib_save_LIBS
25236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25237 $as_echo "$ac_cv_lib_m___clog" >&6; }
25238 if test "x$ac_cv_lib_m___clog" = x
""yes; then :
25240 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25245 # Check whether the system has a working stat()
25247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25248 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25249 if test "${libgfor_cv_have_working_stat+set}" = set; then :
25250 $as_echo_n "(cached) " >&6
25253 if test "$cross_compiling" = yes; then :
25255 case "${target}" in
25256 *mingw
*) libgfor_cv_have_working_stat
=no
;;
25257 *) libgfor_cv_have_working_stat
=yes;;
25260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25261 /* end confdefs.h. */
25264 #include <sys/types.h>
25265 #include <sys/stat.h>
25266 #include <unistd.h>
25271 struct stat st1, st2;
25273 f = fopen ("foo", "w");
25274 g = fopen ("bar", "w");
25275 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25277 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25284 if ac_fn_c_try_run
"$LINENO"; then :
25285 libgfor_cv_have_working_stat
=yes
25287 libgfor_cv_have_working_stat
=no
25289 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
25290 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
25294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25295 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25296 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
25298 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25302 # Check whether __mingw_snprintf() is present
25304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25305 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25306 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
25307 $as_echo_n "(cached) " >&6
25310 if test x
$gcc_no_link = xyes
; then
25311 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25314 /* end confdefs.h. */
25317 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25323 __mingw_snprintf (NULL, 0, "%d\n", 1);
25329 if ac_fn_c_try_link
"$LINENO"; then :
25330 eval "libgfor_cv_have_mingw_snprintf=yes"
25332 eval "libgfor_cv_have_mingw_snprintf=no"
25334 rm -f core conftest.err conftest.
$ac_objext \
25335 conftest
$ac_exeext conftest.
$ac_ext
25338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25339 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25340 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
25342 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25347 # Check whether libquadmath should be used
25348 # Check whether --enable-libquadmath-support was given.
25349 if test "${enable_libquadmath_support+set}" = set; then :
25350 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
25352 ENABLE_LIBQUADMATH_SUPPORT
=yes
25355 enable_libquadmath_support
=
25356 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25357 enable_libquadmath_support
=no
25360 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25364 if test "x$enable_libquadmath_support" != xno
; then
25366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25367 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25368 if test "${libgfor_cv_have_float128+set}" = set; then :
25369 $as_echo_n "(cached) " >&6
25372 if test x
$gcc_no_link = xyes
; then
25373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25374 /* end confdefs.h. */
25376 typedef _Complex float __attribute__((mode(TC))) __complex128;
25378 __float128 foo (__float128 x)
25381 __complex128 z1, z2;
25387 return (__float128) z2;
25390 __float128 bar (__float128 x)
25392 return x * __builtin_huge_valq ();
25406 if ac_fn_c_try_compile
"$LINENO"; then :
25408 libgfor_cv_have_float128
=yes
25412 libgfor_cv_have_float128
=no
25415 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25417 if test x
$gcc_no_link = xyes
; then
25418 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25421 /* end confdefs.h. */
25423 typedef _Complex float __attribute__((mode(TC))) __complex128;
25425 __float128 foo (__float128 x)
25428 __complex128 z1, z2;
25434 return (__float128) z2;
25437 __float128 bar (__float128 x)
25439 return x * __builtin_huge_valq ();
25453 if ac_fn_c_try_link
"$LINENO"; then :
25455 libgfor_cv_have_float128
=yes
25459 libgfor_cv_have_float128
=no
25462 rm -f core conftest.err conftest.
$ac_objext \
25463 conftest
$ac_exeext conftest.
$ac_ext
25466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25467 $as_echo "$libgfor_cv_have_float128" >&6; }
25469 if test "x$libgfor_cv_have_float128" = xyes
; then
25471 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25474 ac_xsave_c_werror_flag
=$ac_c_werror_flag
25475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
25476 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
25477 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25478 $as_echo_n "(cached) " >&6
25481 # Test for native Solaris options first.
25482 # No whitespace after -z to pass it through -Wl.
25483 libgfor_cv_as_needed_option
="-zignore"
25484 libgfor_cv_no_as_needed_option
="-zrecord"
25485 save_LDFLAGS
="$LDFLAGS"
25486 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25487 libgfor_cv_have_as_needed
=no
25489 ac_c_werror_flag
=yes
25490 if test x
$gcc_no_link = xyes
; then
25491 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25494 /* end confdefs.h. */
25504 if ac_fn_c_try_link
"$LINENO"; then :
25505 libgfor_cv_have_as_needed
=yes
25507 libgfor_cv_have_as_needed
=no
25509 rm -f core conftest.err conftest.
$ac_objext \
25510 conftest
$ac_exeext conftest.
$ac_ext
25511 LDFLAGS
="$save_LDFLAGS"
25512 if test "x$libgfor_cv_have_as_needed" = xno
; then
25513 libgfor_cv_as_needed_option
="--as-needed"
25514 libgfor_cv_no_as_needed_option
="--no-as-needed"
25515 save_LDFLAGS
="$LDFLAGS"
25516 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25517 libgfor_cv_have_as_needed
=no
25519 ac_c_werror_flag
=yes
25520 if test x
$gcc_no_link = xyes
; then
25521 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25524 /* end confdefs.h. */
25534 if ac_fn_c_try_link
"$LINENO"; then :
25535 libgfor_cv_have_as_needed
=yes
25537 libgfor_cv_have_as_needed
=no
25539 rm -f core conftest.err conftest.
$ac_objext \
25540 conftest
$ac_exeext conftest.
$ac_ext
25541 LDFLAGS
="$save_LDFLAGS"
25543 ac_c_werror_flag
=$ac_xsave_c_werror_flag
25546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25547 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25549 if test "x$libgfor_cv_have_as_needed" = xyes
; then
25550 LIBQUADSPEC
="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
25552 LIBQUADSPEC
="-lquadmath"
25554 if test -f ..
/libquadmath
/libquadmath.la
; then
25555 LIBQUADLIB
=..
/libquadmath
/libquadmath.la
25556 LIBQUADLIB_DEP
=..
/libquadmath
/libquadmath.la
25557 LIBQUADINCLUDE
='-I$(srcdir)/../libquadmath'
25559 LIBQUADLIB
="-lquadmath"
25565 # for --disable-quadmath
25576 if test "x$libgfor_cv_have_float128" = xyes
; then
25577 LIBGFOR_BUILD_QUAD_TRUE
=
25578 LIBGFOR_BUILD_QUAD_FALSE
='#'
25580 LIBGFOR_BUILD_QUAD_TRUE
='#'
25581 LIBGFOR_BUILD_QUAD_FALSE
=
25586 # Check for GNU libc feenableexcept
25587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25588 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25589 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25590 $as_echo_n "(cached) " >&6
25592 ac_check_lib_save_LIBS
=$LIBS
25594 if test x
$gcc_no_link = xyes
; then
25595 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25598 /* end confdefs.h. */
25600 /* Override any GCC internal prototype to avoid an error.
25601 Use char because int might match the return type of a GCC
25602 builtin and then its argument prototype would still apply. */
25606 char feenableexcept ();
25610 return feenableexcept ();
25615 if ac_fn_c_try_link
"$LINENO"; then :
25616 ac_cv_lib_m_feenableexcept
=yes
25618 ac_cv_lib_m_feenableexcept
=no
25620 rm -f core conftest.err conftest.
$ac_objext \
25621 conftest
$ac_exeext conftest.
$ac_ext
25622 LIBS
=$ac_check_lib_save_LIBS
25624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25625 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25626 if test "x$ac_cv_lib_m_feenableexcept" = x
""yes; then :
25627 have_feenableexcept
=yes
25628 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25633 # At least for glibc, clock_gettime is in librt. But don't
25634 # pull that in if it still doesn't give us the function we want. This
25635 # test is copied from libgomp, and modified to not link in -lrt as
25636 # libgfortran calls clock_gettime via a weak reference if it's found
25638 if test "$ac_cv_func_clock_gettime" = no
; then
25639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25640 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25641 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25642 $as_echo_n "(cached) " >&6
25644 ac_check_lib_save_LIBS
=$LIBS
25646 if test x
$gcc_no_link = xyes
; then
25647 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25650 /* end confdefs.h. */
25652 /* Override any GCC internal prototype to avoid an error.
25653 Use char because int might match the return type of a GCC
25654 builtin and then its argument prototype would still apply. */
25658 char clock_gettime ();
25662 return clock_gettime ();
25667 if ac_fn_c_try_link
"$LINENO"; then :
25668 ac_cv_lib_rt_clock_gettime
=yes
25670 ac_cv_lib_rt_clock_gettime
=no
25672 rm -f core conftest.err conftest.
$ac_objext \
25673 conftest
$ac_exeext conftest.
$ac_ext
25674 LIBS
=$ac_check_lib_save_LIBS
25676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25677 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25678 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
25680 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
25686 # Check for SysV fpsetmask
25688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
25689 $as_echo_n "checking whether fpsetmask is present... " >&6; }
25690 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
25691 $as_echo_n "(cached) " >&6
25694 if test x
$gcc_no_link = xyes
; then
25695 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25698 /* end confdefs.h. */
25700 #if HAVE_FLOATINGPOINT_H
25701 # include <floatingpoint.h>
25702 #endif /* HAVE_FLOATINGPOINT_H */
25704 # include <ieeefp.h>
25705 #endif /* HAVE_IEEEFP_H */
25714 if ac_fn_c_try_link
"$LINENO"; then :
25715 eval "libgfor_cv_have_fpsetmask=yes"
25717 eval "libgfor_cv_have_fpsetmask=no"
25719 rm -f core conftest.err conftest.
$ac_objext \
25720 conftest
$ac_exeext conftest.
$ac_ext
25723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
25724 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
25725 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
25728 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
25732 ac_fn_c_check_type
"$LINENO" "fp_except" "ac_cv_type_fp_except" "
25733 #ifdef HAVE_IEEEFP_H
25734 #include <ieeefp.h>
25739 if test "x$ac_cv_type_fp_except" = x
""yes; then :
25741 cat >>confdefs.h
<<_ACEOF
25742 #define HAVE_FP_EXCEPT 1
25747 ac_fn_c_check_type
"$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
25748 #ifdef HAVE_IEEEFP_H
25749 #include <ieeefp.h>
25754 if test "x$ac_cv_type_fp_except_t" = x
""yes; then :
25756 cat >>confdefs.h
<<_ACEOF
25757 #define HAVE_FP_EXCEPT_T 1
25763 ac_fn_c_check_type
"$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
25764 #ifdef HAVE_IEEEFP_H
25765 #include <ieeefp.h>
25770 if test "x$ac_cv_type_fp_rnd" = x
""yes; then :
25772 cat >>confdefs.h
<<_ACEOF
25773 #define HAVE_FP_RND 1
25778 ac_fn_c_check_type
"$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
25779 #ifdef HAVE_IEEEFP_H
25780 #include <ieeefp.h>
25785 if test "x$ac_cv_type_fp_rnd_t" = x
""yes; then :
25787 cat >>confdefs.h
<<_ACEOF
25788 #define HAVE_FP_RND_T 1
25795 # Check whether we have fpsetsticky or fpresetsticky
25796 ac_fn_c_check_func
"$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
25797 if test "x$ac_cv_func_fpsetsticky" = x
""yes; then :
25798 have_fpsetsticky
=yes
25799 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
25803 ac_fn_c_check_func
"$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
25804 if test "x$ac_cv_func_fpresetsticky" = x
""yes; then :
25805 have_fpresetsticky
=yes
25806 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
25811 # Check for AIX fp_trap and fp_enable
25812 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
25813 if test "x$ac_cv_func_fp_trap" = x
""yes; then :
25815 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
25819 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
25820 if test "x$ac_cv_func_fp_enable" = x
""yes; then :
25822 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
25827 # Check if _SOFT_FLOAT is defined
25829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5
25830 $as_echo_n "checking for _SOFT_FLOAT defined... " >&6; }
25831 if test "${ac_cv_defined__SOFT_FLOAT+set}" = set; then :
25832 $as_echo_n "(cached) " >&6
25834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25835 /* end confdefs.h. */
25851 if ac_fn_c_try_compile
"$LINENO"; then :
25852 ac_cv_defined__SOFT_FLOAT
=yes
25854 ac_cv_defined__SOFT_FLOAT
=no
25856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5
25859 $as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; }
25860 if test $ac_cv_defined__SOFT_FLOAT != "no"; then :
25861 have_soft_float
=yes
25864 # Runs configure.host to set up necessary host-dependent shell variables.
25865 # We then display a message about it, and propagate them through the
25867 .
${srcdir}/configure.
host
25868 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
25869 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
25870 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
25871 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
25872 FPU_HOST_HEADER
=config
/${fpu_host}.h
25875 # Whether we will build the IEEE modules
25876 if test x
${ieee_support} = xyes
; then
25878 IEEE_SUPPORT_FALSE
='#'
25880 IEEE_SUPPORT_TRUE
='#'
25881 IEEE_SUPPORT_FALSE
=
25886 # Some targets require additional compiler options for IEEE compatibility.
25887 IEEE_FLAGS
="${ieee_flags}"
25891 # Check for POSIX getpwuid_r
25893 # There are two versions of getpwuid_r, the POSIX one with 5
25894 # arguments, and another one with 4 arguments used by at least HP-UX
25896 if test "$ac_cv_func_getpwuid_r" = "yes"; then
25897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
25898 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
25899 if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
25900 $as_echo_n "(cached) " >&6
25903 if test x
$gcc_no_link = xyes
; then
25904 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25907 /* end confdefs.h. */
25910 #include <sys/types.h>
25916 getpwuid_r(0, NULL, NULL, 0, NULL);
25922 if ac_fn_c_try_link
"$LINENO"; then :
25923 libgfor_cv_posix_getpwuid_r
="yes"
25925 libgfor_cv_posix_getpwuid_r
="no"
25927 rm -f core conftest.err conftest.
$ac_objext \
25928 conftest
$ac_exeext conftest.
$ac_ext
25930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
25931 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
25933 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
25935 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
25940 # Check out attribute support.
25942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
25943 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
25944 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
25945 $as_echo_n "(cached) " >&6
25948 save_CFLAGS
="$CFLAGS"
25949 CFLAGS
="$CFLAGS -Werror"
25950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25951 /* end confdefs.h. */
25952 void __attribute__((visibility("hidden"))) foo(void) { }
25961 if ac_fn_c_try_compile
"$LINENO"; then :
25962 libgfor_cv_have_attribute_visibility
=yes
25964 libgfor_cv_have_attribute_visibility
=no
25966 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25967 CFLAGS
="$save_CFLAGS"
25969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
25970 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
25971 if test $libgfor_cv_have_attribute_visibility = yes; then
25973 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
25977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
25978 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
25979 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
25980 $as_echo_n "(cached) " >&6
25983 if test x
$gcc_no_link = xyes
; then
25984 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25987 /* end confdefs.h. */
25990 extern void bar(void) __attribute__((alias("foo")));
25999 if ac_fn_c_try_link
"$LINENO"; then :
26000 libgfor_cv_have_attribute_alias
=yes
26002 libgfor_cv_have_attribute_alias
=no
26004 rm -f core conftest.err conftest.
$ac_objext \
26005 conftest
$ac_exeext conftest.
$ac_ext
26007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26008 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26009 if test $libgfor_cv_have_attribute_alias = yes; then
26011 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26015 # Check out sync builtins support.
26017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
26018 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
26019 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
26020 $as_echo_n "(cached) " >&6
26023 if test x
$gcc_no_link = xyes
; then
26024 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26027 /* end confdefs.h. */
26033 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
26034 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
26039 if ac_fn_c_try_link
"$LINENO"; then :
26040 libgfor_cv_have_sync_fetch_and_add
=yes
26042 libgfor_cv_have_sync_fetch_and_add
=no
26044 rm -f core conftest.err conftest.
$ac_objext \
26045 conftest
$ac_exeext conftest.
$ac_ext
26047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
26048 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
26049 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
26051 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
26055 # Check out #pragma weak.
26057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26058 $as_echo_n "checking whether pragma weak works... " >&6; }
26059 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
26060 $as_echo_n "(cached) " >&6
26063 gfor_save_CFLAGS
="$CFLAGS"
26064 CFLAGS
="$CFLAGS -Wunknown-pragmas"
26065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26066 /* end confdefs.h. */
26079 if ac_fn_c_try_compile
"$LINENO"; then :
26080 libgfor_cv_have_pragma_weak
=yes
26082 libgfor_cv_have_pragma_weak
=no
26084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26087 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26088 if test $libgfor_cv_have_pragma_weak = yes; then
26090 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26094 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* |
*-*-musl* )
26096 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26101 # Check out weakref support.
26103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
26104 $as_echo_n "checking whether the target supports weakref... " >&6; }
26105 if test "${libgfor_cv_have_weakref+set}" = set; then :
26106 $as_echo_n "(cached) " >&6
26109 save_CFLAGS
="$CFLAGS"
26110 CFLAGS
="$CFLAGS -Wunknown-pragmas -Werror"
26111 if test x
$gcc_no_link = xyes
; then
26112 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26115 /* end confdefs.h. */
26117 static int mytoto (int) __attribute__((__weakref__("toto")));
26122 return (mytoto != 0);
26127 if ac_fn_c_try_link
"$LINENO"; then :
26128 libgfor_cv_have_weakref
=yes
26130 libgfor_cv_have_weakref
=no
26132 rm -f core conftest.err conftest.
$ac_objext \
26133 conftest
$ac_exeext conftest.
$ac_ext
26134 CFLAGS
="$save_CFLAGS"
26136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
26137 $as_echo "$libgfor_cv_have_weakref" >&6; }
26138 if test $libgfor_cv_have_weakref = yes; then
26140 $as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
26144 # Various other checks on target
26146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26147 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26148 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
26149 $as_echo_n "(cached) " >&6
26152 if test "$cross_compiling" = yes; then :
26154 case "${target}" in
26155 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
26156 *) libgfor_cv_have_unlink_open_file
=yes;;
26159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26160 /* end confdefs.h. */
26164 #include <unistd.h>
26165 #include <sys/stat.h>
26171 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26174 if (unlink ("testfile") == -1)
26176 write (fd, "This is a test\n", 15);
26179 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26185 if ac_fn_c_try_run
"$LINENO"; then :
26186 libgfor_cv_have_unlink_open_file
=yes
26188 libgfor_cv_have_unlink_open_file
=no
26190 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26191 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26196 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26197 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
26199 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26203 # Check whether line terminator is LF or CRLF
26205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26206 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26207 if test "${libgfor_cv_have_crlf+set}" = set; then :
26208 $as_echo_n "(cached) " >&6
26211 if test "$cross_compiling" = yes; then :
26213 case "${target}" in
26214 *mingw
*) libgfor_cv_have_crlf
=yes ;;
26215 *) libgfor_cv_have_crlf
=no
;;
26218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26219 /* end confdefs.h. */
26221 /* This test program should exit with status 0 if system uses a CRLF as
26222 line terminator, and status 1 otherwise.
26223 Since it is used to check for mingw systems, and should return 0 in any
26224 other case, in case of a failure we will not use CRLF. */
26225 #include <sys/stat.h>
26226 #include <stdlib.h>
26238 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26241 if (write (fd, "\n", 1) < 0)
26246 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26248 bytes = read (fd, buff, 5);
26249 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26256 if ac_fn_c_try_run
"$LINENO"; then :
26257 libgfor_cv_have_crlf
=yes
26259 libgfor_cv_have_crlf
=no
26261 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26262 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26267 $as_echo "$libgfor_cv_have_crlf" >&6; }
26268 if test x
"$libgfor_cv_have_crlf" = xyes
; then
26270 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26274 # Check whether we support AVX extensions
26276 ac_save_CFLAGS
="$CFLAGS"
26278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26279 /* end confdefs.h. */
26281 void _mm256_zeroall (void)
26283 __builtin_ia32_vzeroall ();
26293 if ac_fn_c_try_compile
"$LINENO"; then :
26295 $as_echo "#define HAVE_AVX 1" >>confdefs.h
26298 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26299 CFLAGS
="$ac_save_CFLAGS"
26302 # Check wether we support AVX2 extensions
26304 ac_save_CFLAGS
="$CFLAGS"
26305 CFLAGS
="-O2 -mavx2"
26306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26307 /* end confdefs.h. */
26309 typedef long long __v4di __attribute__ ((__vector_size__ (32)));
26311 mm256_is32_andnotsi256 (__v4di __X, __v4di __Y)
26313 return __builtin_ia32_andnotsi256 (__X, __Y);
26323 if ac_fn_c_try_compile
"$LINENO"; then :
26325 $as_echo "#define HAVE_AVX2 1" >>confdefs.h
26328 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26329 CFLAGS
="$ac_save_CFLAGS"
26332 # Check wether we support AVX512f extensions
26334 ac_save_CFLAGS
="$CFLAGS"
26335 CFLAGS
="-O2 -mavx512f"
26336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26337 /* end confdefs.h. */
26339 typedef double __m512d __attribute__ ((__vector_size__ (64)));
26340 __m512d _mm512_add (__m512d a)
26342 __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
26343 /* For -m64/-mx32 also verify that code will work even if
26344 the target uses call saved zmm16+ and needs to emit
26345 unwind info for them (e.g. on mingw). See PR79127. */
26347 asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19");
26359 if ac_fn_c_try_compile
"$LINENO"; then :
26361 $as_echo "#define HAVE_AVX512F 1" >>confdefs.h
26364 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26365 CFLAGS
="$ac_save_CFLAGS"
26368 # Check for FMA3 extensions
26370 ac_save_CFLAGS
="$CFLAGS"
26371 CFLAGS
="-O2 -mfma -mno-fma4"
26372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26373 /* end confdefs.h. */
26375 typedef float __m128 __attribute__ ((__vector_size__ (16)));
26376 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
26377 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
26379 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
26391 if ac_fn_c_try_compile
"$LINENO"; then :
26393 $as_echo "#define HAVE_FMA3 1" >>confdefs.h
26396 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26397 CFLAGS
="$ac_save_CFLAGS"
26400 # Check for FMA4 extensions
26402 ac_save_CFLAGS
="$CFLAGS"
26403 CFLAGS
="-O2 -mfma4 -mno-fma"
26404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26405 /* end confdefs.h. */
26407 typedef float __m128 __attribute__ ((__vector_size__ (16)));
26408 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
26409 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
26411 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
26423 if ac_fn_c_try_compile
"$LINENO"; then :
26425 $as_echo "#define HAVE_FMA4 1" >>confdefs.h
26428 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26429 CFLAGS
="$ac_save_CFLAGS"
26432 # Check if AVX128 works
26434 ac_save_CFLAGS
="$CFLAGS"
26435 CFLAGS
="-O2 -mavx -mprefer-avx128"
26436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26437 /* end confdefs.h. */
26450 if ac_fn_c_try_compile
"$LINENO"; then :
26452 $as_echo "#define HAVE_AVX128 1" >>confdefs.h
26456 HAVE_AVX128_FALSE
='#'
26458 HAVE_AVX128_TRUE
='#'
26465 HAVE_AVX128_FALSE
='#'
26467 HAVE_AVX128_TRUE
='#'
26472 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26473 CFLAGS
="$ac_save_CFLAGS"
26476 # Determine what GCC version number to use in filesystem paths.
26478 get_gcc_base_ver
="cat"
26480 # Check whether --with-gcc-major-version-only was given.
26481 if test "${with_gcc_major_version_only+set}" = set; then :
26482 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
26483 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
26491 cat >confcache
<<\_ACEOF
26492 # This file is a shell script that caches the results of configure
26493 # tests run on this system so they can be shared between configure
26494 # scripts and configure runs, see configure's option --config-cache.
26495 # It is not useful on other systems. If it contains results you don't
26496 # want to keep, you may remove or edit it.
26498 # config.status only pays attention to the cache file if you give it
26499 # the --recheck option to rerun configure.
26501 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26502 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26503 # following values.
26507 # The following way of writing the cache mishandles newlines in values,
26508 # but we know of no workaround that is simple, portable, and efficient.
26509 # So, we kill variables containing newlines.
26510 # Ultrix sh set writes to stderr and can't be redirected directly,
26511 # and sets the high bit in the cache file unless we assign to the vars.
26513 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26514 eval ac_val
=\$
$ac_var
26518 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26519 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26522 _ | IFS | as_nl
) ;; #(
26523 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26524 *) { eval $ac_var=; unset $ac_var;} ;;
26530 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26531 *${as_nl}ac_space
=\
*)
26532 # `set' does not quote correctly, so add quotes: double-quote
26533 # substitution turns \\\\ into \\, and sed turns \\ into \.
26536 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26539 # `set' quotes correctly as required by POSIX, so do not add quotes.
26540 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26549 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26551 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26553 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26554 if test -w "$cache_file"; then
26555 test "x$cache_file" != "x/dev/null" &&
26556 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26557 $as_echo "$as_me: updating cache $cache_file" >&6;}
26558 cat confcache
>$cache_file
26560 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26561 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26566 if test ${multilib} = yes; then
26567 multilib_arg
="--enable-multilib"
26572 # Write our Makefile and spec file.
26573 ac_config_files
="$ac_config_files Makefile libgfortran.spec"
26575 cat >confcache
<<\_ACEOF
26576 # This file is a shell script that caches the results of configure
26577 # tests run on this system so they can be shared between configure
26578 # scripts and configure runs, see configure's option --config-cache.
26579 # It is not useful on other systems. If it contains results you don't
26580 # want to keep, you may remove or edit it.
26582 # config.status only pays attention to the cache file if you give it
26583 # the --recheck option to rerun configure.
26585 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26586 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26587 # following values.
26591 # The following way of writing the cache mishandles newlines in values,
26592 # but we know of no workaround that is simple, portable, and efficient.
26593 # So, we kill variables containing newlines.
26594 # Ultrix sh set writes to stderr and can't be redirected directly,
26595 # and sets the high bit in the cache file unless we assign to the vars.
26597 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26598 eval ac_val
=\$
$ac_var
26602 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26603 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26606 _ | IFS | as_nl
) ;; #(
26607 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26608 *) { eval $ac_var=; unset $ac_var;} ;;
26614 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26615 *${as_nl}ac_space
=\
*)
26616 # `set' does not quote correctly, so add quotes: double-quote
26617 # substitution turns \\\\ into \\, and sed turns \\ into \.
26620 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26623 # `set' quotes correctly as required by POSIX, so do not add quotes.
26624 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26633 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26635 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26637 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26638 if test -w "$cache_file"; then
26639 test "x$cache_file" != "x/dev/null" &&
26640 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26641 $as_echo "$as_me: updating cache $cache_file" >&6;}
26642 cat confcache
>$cache_file
26644 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26645 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26650 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
26651 # Let make expand exec_prefix.
26652 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
26654 DEFS
=-DHAVE_CONFIG_H
26658 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
26659 # 1. Remove the extension, and $U if already installed.
26660 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
26661 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
26662 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26663 # will be set to the directory where LIBOBJS objects are built.
26664 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26665 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
26667 LIBOBJS
=$ac_libobjs
26669 LTLIBOBJS
=$ac_ltlibobjs
26672 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26673 as_fn_error
"conditional \"onestep\" was never defined.
26674 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26676 if test -n "$EXEEXT"; then
26678 am__EXEEXT_FALSE
='#'
26680 am__EXEEXT_TRUE
='#'
26684 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26685 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
26686 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26688 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26689 as_fn_error
"conditional \"AMDEP\" was never defined.
26690 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26692 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26693 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26694 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26696 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26697 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26698 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26700 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
26701 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
26702 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26704 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
26705 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
26706 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26708 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
26709 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
26710 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26712 if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
26713 as_fn_error
"conditional \"LIBGFOR_MINIMAL\" was never defined.
26714 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26716 if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
26717 as_fn_error
"conditional \"HAVE_HWCAP\" was never defined.
26718 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26720 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
26721 as_fn_error
"conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
26722 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26724 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
26725 as_fn_error
"conditional \"IEEE_SUPPORT\" was never defined.
26726 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26728 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
26729 as_fn_error
"conditional \"HAVE_AVX128\" was never defined.
26730 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26732 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
26733 as_fn_error
"conditional \"HAVE_AVX128\" was never defined.
26734 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26737 : ${CONFIG_STATUS=./config.status}
26739 ac_clean_files_save
=$ac_clean_files
26740 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
26741 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26742 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26744 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26746 # Generated by $as_me.
26747 # Run this file to recreate the current configuration.
26748 # Compiler output produced by configure, useful for debugging
26749 # configure, is in config.log if it exists.
26752 ac_cs_recheck=false
26755 SHELL=\${CONFIG_SHELL-$SHELL}
26758 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
26759 ## -------------------- ##
26760 ## M4sh Initialization. ##
26761 ## -------------------- ##
26763 # Be more Bourne compatible
26764 DUALCASE
=1; export DUALCASE
# for MKS sh
26765 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
26768 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26769 # is contrary to our usage. Disable this feature.
26770 alias -g '${1+"$@"}'='"$@"'
26771 setopt NO_GLOB_SUBST
26773 case `(set -o) 2>/dev/null` in #(
26785 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26786 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26787 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26788 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26789 # Prefer a ksh shell builtin over an external printf program on Solaris,
26790 # but without wasting forks for bash or zsh.
26791 if test -z "$BASH_VERSION$ZSH_VERSION" \
26792 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26793 as_echo='print
-r --'
26794 as_echo_n='print
-rn --'
26795 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26796 as_echo='printf %s
\n'
26797 as_echo_n='printf %s
'
26799 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26800 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
26801 as_echo_n='/usr
/ucb
/echo -n'
26803 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26804 as_echo_n_body='eval
26808 expr "X$arg" : "X\\(.*\\)$as_nl";
26809 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26811 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
26813 export as_echo_n_body
26814 as_echo_n='sh
-c $as_echo_n_body as_echo
'
26816 export as_echo_body
26817 as_echo='sh
-c $as_echo_body as_echo
'
26820 # The user is always right.
26821 if test "${PATH_SEPARATOR+set}" != set; then
26823 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26824 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26831 # We need space, tab and new line, in precisely that order. Quoting is
26832 # there to prevent editors from complaining about space-tab.
26833 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26834 # splitting by setting IFS to empty value.)
26837 # Find who we are. Look in the path if we contain no directory separator.
26839 *[\\/]* ) as_myself=$0 ;;
26840 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26841 for as_dir in $PATH
26844 test -z "$as_dir" && as_dir=.
26845 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26851 # We did not find ourselves, most probably we were run as `sh COMMAND'
26852 # in which case we are not to be found in the path.
26853 if test "x$as_myself" = x
; then
26856 if test ! -f "$as_myself"; then
26857 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26861 # Unset variables that we do not need and which cause bugs (e.g. in
26862 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26863 # suppresses any "Segmentation fault" message there. '((' could
26864 # trigger a bug in pdksh 5.2.14.
26865 for as_var
in BASH_ENV ENV MAIL MAILPATH
26866 do eval test x\
${$as_var+set} = xset \
26867 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
26880 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
26883 # as_fn_error ERROR [LINENO LOG_FD]
26884 # ---------------------------------
26885 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26886 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26887 # script with status $?, using 1 if that was 0.
26890 as_status
=$?
; test $as_status -eq 0 && as_status
=1
26892 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
26893 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26895 $as_echo "$as_me: error: $1" >&2
26896 as_fn_exit
$as_status
26900 # as_fn_set_status STATUS
26901 # -----------------------
26902 # Set $? to STATUS, without forking.
26903 as_fn_set_status
()
26906 } # as_fn_set_status
26908 # as_fn_exit STATUS
26909 # -----------------
26910 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26914 as_fn_set_status
$1
26920 # Portably unset VAR.
26923 { eval $1=; unset $1;}
26925 as_unset
=as_fn_unset
26926 # as_fn_append VAR VALUE
26927 # ----------------------
26928 # Append the text in VALUE to the end of the definition contained in VAR. Take
26929 # advantage of any shell optimizations that allow amortized linear growth over
26930 # repeated appends, instead of the typical quadratic growth present in naive
26932 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
26933 eval 'as_fn_append ()
26944 # as_fn_arith ARG...
26945 # ------------------
26946 # Perform arithmetic evaluation on the ARGs, and store the result in the
26947 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26948 # must be portable across $(()) and expr.
26949 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
26950 eval 'as_fn_arith ()
26957 as_val
=`expr "$@" || test $? -eq 1`
26962 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
26963 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
26969 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26970 as_basename
=basename
26975 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
26981 as_me
=`$as_basename -- "$0" ||
26982 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26983 X"$0" : 'X\(//\)$' \| \
26984 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26986 sed '/^.*\/\([^/][^/]*\)\/*$/{
27000 # Avoid depending upon Character Ranges.
27001 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
27002 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27003 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
27004 as_cr_digits
='0123456789'
27005 as_cr_alnum
=$as_cr_Letters$as_cr_digits
27007 ECHO_C
= ECHO_N
= ECHO_T
=
27008 case `echo -n x` in #(((((
27010 case `echo 'xy\c'` in
27011 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
27013 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
27020 rm -f conf$$ conf$$.exe conf$$.
file
27021 if test -d conf$$.dir
; then
27022 rm -f conf$$.dir
/conf$$.
file
27025 mkdir conf$$.dir
2>/dev
/null
27027 if (echo >conf$$.
file) 2>/dev
/null
; then
27028 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
27030 # ... but there are two gotchas:
27031 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27032 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27033 # In both cases, we have to default to `cp -p'.
27034 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
27036 elif ln conf$$.
file conf$$
2>/dev
/null
; then
27044 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
27045 rmdir conf$$.dir
2>/dev
/null
27050 # Create "$as_dir" as a directory, including parents if necessary.
27055 -*) as_dir
=.
/$as_dir;;
27057 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
27061 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27062 *) as_qdir
=$as_dir;;
27064 as_dirs
="'$as_qdir' $as_dirs"
27065 as_dir
=`$as_dirname -- "$as_dir" ||
27066 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27067 X"$as_dir" : 'X\(//\)[^/]' \| \
27068 X"$as_dir" : 'X\(//\)$' \| \
27069 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27070 $as_echo X"$as_dir" |
27071 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27075 /^X\(\/\/\)[^/].*/{
27088 test -d "$as_dir" && break
27090 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
27091 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
27095 if mkdir
-p .
2>/dev
/null
; then
27096 as_mkdir_p
='mkdir -p "$as_dir"'
27098 test -d .
/-p && rmdir .
/-p
27102 if test -x / >/dev
/null
2>&1; then
27103 as_test_x
='test -x'
27105 if ls -dL / >/dev
/null
2>&1; then
27112 if test -d "$1"; then
27118 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
27119 ???[sx]*):;;*)false;;esac;fi
27123 as_executable_p
=$as_test_x
27125 # Sed expression to map a string onto a valid CPP name.
27126 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27128 # Sed expression to map a string onto a valid variable name.
27129 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27133 ## ----------------------------------- ##
27134 ## Main body of $CONFIG_STATUS script. ##
27135 ## ----------------------------------- ##
27137 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
27139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27140 # Save the log message, to keep $0 and so on meaningful, and to
27141 # report actual input values of CONFIG_FILES etc. instead of their
27142 # values after options handling.
27144 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27145 generated by GNU Autoconf 2.64. Invocation command line was
27147 CONFIG_FILES = $CONFIG_FILES
27148 CONFIG_HEADERS = $CONFIG_HEADERS
27149 CONFIG_LINKS = $CONFIG_LINKS
27150 CONFIG_COMMANDS = $CONFIG_COMMANDS
27153 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27158 case $ac_config_files in *"
27159 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
27162 case $ac_config_headers in *"
27163 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
27167 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27168 # Files that config.status was made for.
27169 config_files="$ac_config_files"
27170 config_headers="$ac_config_headers"
27171 config_commands="$ac_config_commands"
27175 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27177 \`$as_me' instantiates files and other configuration actions
27178 from templates according to the current configuration. Unless the files
27179 and actions are specified as TAGs, all are instantiated by default.
27181 Usage: $0 [OPTION]... [TAG]...
27183 -h, --help print this help, then exit
27184 -V, --version print version number and configuration settings, then exit
27185 -q, --quiet, --silent
27186 do not print progress messages
27187 -d, --debug don't remove temporary files
27188 --recheck update $as_me by reconfiguring in the same conditions
27189 --file=FILE[:TEMPLATE]
27190 instantiate the configuration file FILE
27191 --header=FILE[:TEMPLATE]
27192 instantiate the configuration header FILE
27194 Configuration files:
27197 Configuration headers:
27200 Configuration commands:
27203 Report bugs to the package provider.
27204 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27205 General help using GNU software: <http://www.gnu.org/gethelp/>."
27208 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27210 GNU Fortran Runtime Library config.status 0.3
27211 configured by $0, generated by GNU Autoconf 2.64,
27212 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
27214 Copyright (C) 2009 Free Software Foundation, Inc.
27215 This config.status script is free software; the Free Software Foundation
27216 gives unlimited permission to copy, distribute and modify it."
27223 test -n "\$AWK" || AWK=awk
27226 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27227 # The default lists apply if the user does not specify any file.
27233 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
27234 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
27245 # Handling of the options.
27246 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
27248 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
27249 $as_echo "$ac_cs_version"; exit ;;
27250 --debug |
--debu |
--deb |
--de |
--d |
-d )
27252 --file |
--fil |
--fi |
--f )
27255 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27257 as_fn_append CONFIG_FILES
" '$ac_optarg'"
27258 ac_need_defaults
=false
;;
27259 --header |
--heade |
--head |
--hea )
27262 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27264 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
27265 ac_need_defaults
=false
;;
27267 # Conflict between --help and --header
27268 as_fn_error
"ambiguous option: \`$1'
27269 Try \`$0 --help' for more information.";;
27270 --help |
--hel |
-h )
27271 $as_echo "$ac_cs_usage"; exit ;;
27272 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
27273 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
27276 # This is an error.
27277 -*) as_fn_error
"unrecognized option: \`$1'
27278 Try \`$0 --help' for more information." ;;
27280 *) as_fn_append ac_config_targets
" $1"
27281 ac_need_defaults
=false
;;
27287 ac_configure_extra_args
=
27289 if $ac_cs_silent; then
27291 ac_configure_extra_args
="$ac_configure_extra_args --silent"
27295 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27296 if \$ac_cs_recheck; then
27297 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27299 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27300 CONFIG_SHELL='$SHELL'
27301 export CONFIG_SHELL
27306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27310 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27311 ## Running $as_me. ##
27317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27325 with_multisubdir="$with_multisubdir"
27326 with_multisrctop="$with_multisrctop"
27327 with_target_subdir="$with_target_subdir"
27328 ac_configure_args="${multilib_arg} ${ac_configure_args}"
27329 multi_basedir="$multi_basedir"
27330 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27333 GFORTRAN="$GFORTRAN"
27334 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27337 # The HP-UX ksh and POSIX shell print the target directory to stdout
27338 # if CDPATH is set.
27339 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27341 sed_quote_subst='$sed_quote_subst'
27342 double_quote_subst='$double_quote_subst'
27343 delay_variable_subst='$delay_variable_subst'
27344 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27345 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27346 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27347 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27348 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27349 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27350 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27351 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27352 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27353 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27354 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27355 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27356 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27357 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27358 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27359 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27360 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27361 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27362 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27363 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27364 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27365 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27366 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27367 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27368 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27369 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27370 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27371 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27372 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27373 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27374 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27375 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27376 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27377 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27378 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27379 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27380 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27381 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27382 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27383 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27384 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27385 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27386 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27387 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27388 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27389 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27390 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27391 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27392 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"`'
27393 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27394 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27395 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27396 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27397 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27398 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27399 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27400 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27401 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27402 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27403 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27404 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27405 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27406 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27407 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27408 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27409 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27410 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27411 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27412 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27413 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27414 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27415 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27416 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27417 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27418 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27419 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27420 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27421 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27422 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27423 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27424 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27425 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27426 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27427 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27428 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27429 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27430 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27431 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27432 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27433 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27434 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27435 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27436 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27437 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27438 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27439 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27440 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27441 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27442 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27443 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27444 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27445 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27446 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27447 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27448 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27449 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27450 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27451 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27452 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27453 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27454 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27455 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27456 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27457 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27458 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27459 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27460 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27461 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27462 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27463 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27464 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27465 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27466 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27467 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27468 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27469 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27470 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27471 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27472 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27473 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27474 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27475 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27476 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27477 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27478 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27479 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27480 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27481 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27482 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27483 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27484 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27485 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27486 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27487 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27488 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27489 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27490 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27491 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27492 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27493 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27494 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27495 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27496 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27497 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27498 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27499 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27500 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27501 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27502 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27503 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27504 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27505 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27506 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27507 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27508 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27509 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27510 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27511 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27512 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27513 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27514 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27515 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27516 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27517 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27518 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27521 LTCFLAGS='$LTCFLAGS'
27522 compiler='$compiler_DEFAULT'
27524 # A function that is used when there is no print builtin or printf.
27525 func_fallback_echo ()
27527 eval 'cat <<_LTECHO_EOF
27532 # Quote evaled strings.
27546 deplibs_check_method \
27555 lt_cv_sys_global_symbol_pipe \
27556 lt_cv_sys_global_symbol_to_cdecl \
27557 lt_cv_sys_global_symbol_to_c_name_address \
27558 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27559 lt_prog_compiler_no_builtin_flag \
27560 lt_prog_compiler_wl \
27561 lt_prog_compiler_pic \
27562 lt_prog_compiler_static \
27563 lt_cv_prog_compiler_c_o \
27571 export_dynamic_flag_spec \
27572 whole_archive_flag_spec \
27573 compiler_needs_object \
27575 allow_undefined_flag \
27576 no_undefined_flag \
27577 hardcode_libdir_flag_spec \
27578 hardcode_libdir_flag_spec_ld \
27579 hardcode_libdir_separator \
27584 variables_saved_for_relink \
27586 library_names_spec \
27588 install_override_mode \
27592 compiler_lib_search_dirs \
27597 compiler_lib_search_path \
27601 lt_prog_compiler_no_builtin_flag_FC \
27602 lt_prog_compiler_wl_FC \
27603 lt_prog_compiler_pic_FC \
27604 lt_prog_compiler_static_FC \
27605 lt_cv_prog_compiler_c_o_FC \
27606 export_dynamic_flag_spec_FC \
27607 whole_archive_flag_spec_FC \
27608 compiler_needs_object_FC \
27610 allow_undefined_flag_FC \
27611 no_undefined_flag_FC \
27612 hardcode_libdir_flag_spec_FC \
27613 hardcode_libdir_flag_spec_ld_FC \
27614 hardcode_libdir_separator_FC \
27615 fix_srcfile_path_FC \
27616 exclude_expsyms_FC \
27617 include_expsyms_FC \
27618 file_list_spec_FC \
27619 compiler_lib_search_dirs_FC \
27620 predep_objects_FC \
27621 postdep_objects_FC \
27624 compiler_lib_search_path_FC; do
27625 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27626 *[\\\\\\\`\\"\\\$]*)
27627 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27630 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27635 # Double-quote double-evaled strings.
27636 for var in reload_cmds \
27637 old_postinstall_cmds \
27638 old_postuninstall_cmds \
27640 extract_expsyms_cmds \
27641 old_archive_from_new_cmds \
27642 old_archive_from_expsyms_cmds \
27644 archive_expsym_cmds \
27646 module_expsym_cmds \
27647 export_symbols_cmds \
27650 postuninstall_cmds \
27652 sys_lib_search_path_spec \
27653 sys_lib_dlsearch_path_spec \
27655 old_archive_cmds_FC \
27656 old_archive_from_new_cmds_FC \
27657 old_archive_from_expsyms_cmds_FC \
27659 archive_expsym_cmds_FC \
27661 module_expsym_cmds_FC \
27662 export_symbols_cmds_FC \
27663 prelink_cmds_FC; do
27664 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27665 *[\\\\\\\`\\"\\\$]*)
27666 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27669 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27674 ac_aux_dir='$ac_aux_dir'
27675 xsi_shell='$xsi_shell'
27676 lt_shell_append='$lt_shell_append'
27678 # See if we are running on zsh, and set the options which allow our
27679 # commands through without removal of \ escapes INIT.
27680 if test -n "\${ZSH_VERSION+set}" ; then
27681 setopt NO_GLOB_SUBST
27687 TIMESTAMP='$TIMESTAMP'
27698 acx_cv_header_stdint="$acx_cv_header_stdint"
27699 acx_cv_type_int8_t="$acx_cv_type_int8_t"
27700 acx_cv_type_int16_t="$acx_cv_type_int16_t"
27701 acx_cv_type_int32_t="$acx_cv_type_int32_t"
27702 acx_cv_type_int64_t="$acx_cv_type_int64_t"
27703 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
27704 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
27705 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
27706 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27707 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27708 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
27709 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27710 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27711 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
27716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27718 # Handling of arguments.
27719 for ac_config_target
in $ac_config_targets
27721 case $ac_config_target in
27722 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
27723 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
27724 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
27725 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
27726 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
27727 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
27728 "libgfortran.spec") CONFIG_FILES
="$CONFIG_FILES libgfortran.spec" ;;
27730 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27735 # If the user did not use the arguments to specify the items to instantiate,
27736 # then the envvar interface is used. Set only those that are not.
27737 # We use the long form for the default assignment because of an extremely
27738 # bizarre bug on SunOS 4.1.3.
27739 if $ac_need_defaults; then
27740 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
27741 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
27742 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
27745 # Have a temporary directory for convenience. Make it in the build tree
27746 # simply because there is no reason against having it here, and in addition,
27747 # creating and moving files from /tmp can sometimes cause problems.
27748 # Hook for its removal unless debugging.
27749 # Note that there is a small window in which the directory will not be cleaned:
27750 # after its creation but before its name has been assigned to `$tmp'.
27754 trap 'exit_status=$?
27755 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27757 trap 'as_fn_exit 1' 1 2 13 15
27759 # Create a (secure) tmp directory for tmp files.
27762 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27763 test -n "$tmp" && test -d "$tmp"
27766 tmp
=.
/conf$$
-$RANDOM
27767 (umask 077 && mkdir
"$tmp")
27768 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
27770 # Set up the scripts for CONFIG_FILES section.
27771 # No need to generate them if there are no CONFIG_FILES.
27772 # This happens for instance with `./config.status config.h'.
27773 if test -n "$CONFIG_FILES"; then
27776 ac_cr
=`echo X | tr X '\015'`
27777 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27778 # But we know of no other shell where ac_cr would be empty at this
27779 # point, so we can use a bashism as a fallback.
27780 if test "x$ac_cr" = x
; then
27781 eval ac_cr
=\$
\'\\r
\'
27783 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27784 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27787 ac_cs_awk_cr
=$ac_cr
27790 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27795 echo "cat >conf$$subs.awk <<_ACEOF" &&
27796 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27798 } >conf$$subs.sh ||
27799 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27800 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27802 for ac_last_try in false false false false false :; do
27803 . ./conf$$subs.sh ||
27804 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27806 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
27807 if test $ac_delim_n = $ac_delim_num; then
27809 elif $ac_last_try; then
27810 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27812 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27815 rm -f conf$$subs.sh
27817 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27818 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
27822 s/^/S["/; s
/!.
*/"]=/
27832 s/\(.\{148\}\).*/\1/
27834 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
27839 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27846 s/\(.\{148\}\).*/\1/
27848 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
27852 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27857 ' <conf$$subs.awk | sed '
27862 ' >>$CONFIG_STATUS || ac_write_fail=1
27863 rm -f conf$$subs.awk
27864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27866 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
27867 for (key in S) S_is_set[key] = 1
27873 nfields = split(line, field, "@
")
27875 len = length(field[1])
27876 for (i = 2; i < nfields; i++) {
27878 keylen = length(key)
27879 if (S_is_set[key]) {
27881 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27882 len += length(value) + length(field[++i])
27893 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27894 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27895 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
27898 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
27899 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
27902 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27903 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
27904 # trailing colons and then remove the whole line if VPATH becomes empty
27905 # (actually we leave an empty line to preserve line numbers).
27906 if test "x
$srcdir" = x.; then
27907 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27908 s/:*\$(srcdir):*/:/
27909 s/:*\${srcdir}:*/:/
27911 s/^\([^=]*=[ ]*\):*/\1/
27917 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27918 fi # test -n "$CONFIG_FILES"
27920 # Set up the scripts for CONFIG_HEADERS section.
27921 # No need to generate them if there are no CONFIG_HEADERS.
27922 # This happens for instance with `./config.status Makefile'.
27923 if test -n "$CONFIG_HEADERS"; then
27924 cat >"$tmp/defines.
awk" <<\_ACAWK ||
27928 # Transform confdefs.h into an awk script `defines.awk', embedded as
27929 # here-document in config.status, that substitutes the proper values into
27930 # config.h.in to produce config.h.
27932 # Create a delimiter string that does not exist in confdefs.h, to ease
27933 # handling of long lines.
27935 for ac_last_try in false false :; do
27936 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
27937 if test -z "$ac_t"; then
27939 elif $ac_last_try; then
27940 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
27942 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27946 # For the awk script, D is an array of macro values keyed by name,
27947 # likewise P contains macro parameters if any. Preserve backslash
27948 # newline sequences.
27950 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27952 s/.\{148\}/&'"$ac_delim"'/g
27955 s/^[ ]*#[ ]*define[ ][ ]*/ /
27962 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
27964 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
27968 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
27969 D["\
1"]=" \
3\\\\\\n
"\\/p
27971 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
27976 s/.\{148\}/&'"$ac_delim"'/g
27981 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
27984 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
27986 ' <confdefs.h | sed '
27987 s/'"$ac_delim"'/"\\\
27988 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27990 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27991 for (key in D) D_is_set[key] = 1
27994 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
27996 split(line, arg, " ")
27997 if (arg[1] == "#") {
28001 defundef
= substr
(arg
[1], 2)
28004 split(mac1
, mac2
, "(") #)
28006 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
28007 if (D_is_set
[macro
]) {
28008 # Preserve the white space surrounding the "#".
28009 print prefix
"define", macro P
[macro
] D
[macro
]
28012 # Replace #undef with comments. This is necessary, for example,
28013 # in the case of _POSIX_SOURCE, which is predefined and required
28014 # on some systems where configure will not decide to define it.
28015 if (defundef
== "undef") {
28016 print
"/*", prefix defundef
, macro
, "*/"
28024 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28025 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
28026 fi # test -n "$CONFIG_HEADERS"
28029 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
28034 :[FHLC
]) ac_mode
=$ac_tag; continue;;
28036 case $ac_mode$ac_tag in
28038 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
28039 :[FH
]-) ac_tag
=-:-;;
28040 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
28057 -) ac_f
="$tmp/stdin";;
28058 *) # Look for the file first in the build tree, then in the source tree
28059 # (if the path is not absolute). The absolute path cannot be DOS-style,
28060 # because $ac_f cannot contain `:'.
28064 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
28066 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
28068 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28069 as_fn_append ac_file_inputs
" '$ac_f'"
28072 # Let's still pretend it is `configure' which instantiates (i.e., don't
28073 # use $as_me), people would be surprised to read:
28074 # /* config.h. Generated by config.status. */
28075 configure_input
='Generated from '`
28076 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28078 if test x
"$ac_file" != x-
; then
28079 configure_input
="$ac_file. $configure_input"
28080 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
28081 $as_echo "$as_me: creating $ac_file" >&6;}
28083 # Neutralize special characters interpreted by sed in replacement strings.
28084 case $configure_input in #(
28085 *\
&* |
*\|
* |
*\\* )
28086 ac_sed_conf_input
=`$as_echo "$configure_input" |
28087 sed 's/[\\\\&|]/\\\\&/g'`;; #(
28088 *) ac_sed_conf_input
=$configure_input;;
28092 *:-:* |
*:-) cat >"$tmp/stdin" \
28093 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
28098 ac_dir
=`$as_dirname -- "$ac_file" ||
28099 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28100 X"$ac_file" : 'X\(//\)[^/]' \| \
28101 X"$ac_file" : 'X\(//\)$' \| \
28102 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28103 $as_echo X"$ac_file" |
28104 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28108 /^X\(\/\/\)[^/].*/{
28121 as_dir
="$ac_dir"; as_fn_mkdir_p
28125 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28127 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28128 # A ".." for each directory in $ac_dir_suffix.
28129 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28130 case $ac_top_builddir_sub in
28131 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28132 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
28135 ac_abs_top_builddir
=$ac_pwd
28136 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
28137 # for backward compatibility:
28138 ac_top_builddir
=$ac_top_build_prefix
28141 .
) # We are building in place.
28143 ac_top_srcdir
=$ac_top_builddir_sub
28144 ac_abs_top_srcdir
=$ac_pwd ;;
28145 [\\/]* | ?
:[\\/]* ) # Absolute name.
28146 ac_srcdir
=$srcdir$ac_dir_suffix;
28147 ac_top_srcdir
=$srcdir
28148 ac_abs_top_srcdir
=$srcdir ;;
28149 *) # Relative name.
28150 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
28151 ac_top_srcdir
=$ac_top_build_prefix$srcdir
28152 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
28154 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
28164 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
28165 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
28167 ac_MKDIR_P
=$MKDIR_P
28169 [\\/$
]* | ?
:[\\/]* ) ;;
28170 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
28174 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28175 # If the template does not know about datarootdir, expand it.
28176 # FIXME: This hack should be removed a few years after 2.60.
28177 ac_datarootdir_hack
=; ac_datarootdir_seen
=
28188 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28189 *datarootdir
*) ac_datarootdir_seen
=yes;;
28190 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
28191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28192 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28194 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28195 ac_datarootdir_hack='
28196 s&@datadir@&$datadir&g
28197 s&@docdir@&$docdir&g
28198 s&@infodir@&$infodir&g
28199 s&@localedir@&$localedir&g
28200 s&@mandir@&$mandir&g
28201 s&\\\${datarootdir}&$datarootdir&g' ;;
28205 # Neutralize VPATH when `$srcdir' = `.'.
28206 # Shell code in configure.ac might set extrasub.
28207 # FIXME: do we really want to maintain this feature?
28208 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28209 ac_sed_extra="$ac_vpsub
28212 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28214 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
28215 s|@configure_input@|
$ac_sed_conf_input|
;t t
28216 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
28217 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
28218 s
&@srcdir@
&$ac_srcdir&;t t
28219 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
28220 s
&@top_srcdir@
&$ac_top_srcdir&;t t
28221 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
28222 s
&@builddir@
&$ac_builddir&;t t
28223 s
&@abs_builddir@
&$ac_abs_builddir&;t t
28224 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
28225 s
&@INSTALL@
&$ac_INSTALL&;t t
28226 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
28227 $ac_datarootdir_hack
28229 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
28230 || as_fn_error "could not create
$ac_file" "$LINENO" 5
28232 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28233 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
28234 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
28235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
28236 which seems to be undefined. Please make sure it is defined." >&5
28237 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
28238 which seems to be undefined. Please make sure it is defined." >&2;}
28242 -) cat "$tmp/out" && rm -f "$tmp/out";;
28243 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
28245 || as_fn_error "could not create $ac_file" "$LINENO" 5
28251 if test x"$ac_file" != x-; then
28253 $as_echo "/* $configure_input */" \
28254 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
28255 } >"$tmp/config.h" \
28256 || as_fn_error "could not create $ac_file" "$LINENO" 5
28257 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
28258 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28259 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28262 mv "$tmp/config.h" "$ac_file" \
28263 || as_fn_error "could not create $ac_file" "$LINENO" 5
28266 $as_echo "/* $configure_input */" \
28267 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
28268 || as_fn_error "could not create -" "$LINENO" 5
28270 # Compute "$ac_file"'s index
in $config_headers.
28273 for _am_header
in $config_headers :; do
28274 case $_am_header in
28275 $_am_arg |
$_am_arg:* )
28278 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
28281 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28282 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28283 X"$_am_arg" : 'X\(//\)[^/]' \| \
28284 X"$_am_arg" : 'X\(//\)$' \| \
28285 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28286 $as_echo X"$_am_arg" |
28287 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28291 /^X\(\/\/\)[^/].*/{
28303 s/.*/./; q'`/stamp-h
$_am_stamp_count
28306 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28307 $as_echo "$as_me: executing $ac_file commands" >&6;}
28312 case $ac_file$ac_mode in
28314 # Only add multilib support code if we just rebuilt the top-level
28316 case " $CONFIG_FILES " in
28318 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
28321 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
28322 # Autoconf 2.62 quotes --file arguments for eval, but not when files
28323 # are listed without --file. Let's play safe and only enable the eval
28324 # if we detect the quoting.
28325 case $CONFIG_FILES in
28326 *\'*) eval set x
"$CONFIG_FILES" ;;
28327 *) set x
$CONFIG_FILES ;;
28332 # Strip MF so we end up with the name of the file.
28333 mf
=`echo "$mf" | sed -e 's/:.*$//'`
28334 # Check whether this is an Automake generated Makefile or not.
28335 # We used to match only the files named `Makefile.in', but
28336 # some people rename them; so instead we look at the file content.
28337 # Grep'ing the first line is not enough: some people post-process
28338 # each Makefile.in and add a new line on top of each file to say so.
28339 # Grep'ing the whole file is not good either: AIX grep has a line
28340 # limit of 2048, but all sed's we know have understand at least 4000.
28341 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
28342 dirpart
=`$as_dirname -- "$mf" ||
28343 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28344 X"$mf" : 'X\(//\)[^/]' \| \
28345 X"$mf" : 'X\(//\)$' \| \
28346 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28352 /^X\(\/\/\)[^/].*/{
28368 # Extract the definition of DEPDIR, am__include, and am__quote
28369 # from the Makefile without running `make'.
28370 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
28371 test -z "$DEPDIR" && continue
28372 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
28373 test -z "am__include" && continue
28374 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
28375 # When using ansi2knr, U may be empty or an underscore; expand it
28376 U
=`sed -n 's/^U = //p' < "$mf"`
28377 # Find all dependency output files, they are included files with
28378 # $(DEPDIR) in their names. We invoke sed twice because it is the
28379 # simplest approach to changing $(DEPDIR) to its actual value in the
28381 for file in `sed -n "
28382 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28383 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28384 # Make sure the directory exists.
28385 test -f "$dirpart/$file" && continue
28386 fdir
=`$as_dirname -- "$file" ||
28387 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28388 X"$file" : 'X\(//\)[^/]' \| \
28389 X"$file" : 'X\(//\)$' \| \
28390 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28391 $as_echo X"$file" |
28392 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28396 /^X\(\/\/\)[^/].*/{
28409 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
28410 # echo "creating $dirpart/$file"
28411 echo '# dummy' > "$dirpart/$file"
28418 # See if we are running on zsh, and set the options which allow our
28419 # commands through without removal of \ escapes.
28420 if test -n "${ZSH_VERSION+set}" ; then
28421 setopt NO_GLOB_SUBST
28424 cfgfile
="${ofile}T"
28425 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28428 cat <<_LT_EOF >> "$cfgfile"
28431 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28432 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28433 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28434 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28436 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28437 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28438 # Written by Gordon Matzigkeit, 1996
28440 # This file is part of GNU Libtool.
28442 # GNU Libtool is free software; you can redistribute it and/or
28443 # modify it under the terms of the GNU General Public License as
28444 # published by the Free Software Foundation; either version 2 of
28445 # the License, or (at your option) any later version.
28447 # As a special exception to the GNU General Public License,
28448 # if you distribute this file as part of a program or library that
28449 # is built using GNU Libtool, you may include this file under the
28450 # same distribution terms that you use for the rest of that program.
28452 # GNU Libtool is distributed in the hope that it will be useful,
28453 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28454 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28455 # GNU General Public License for more details.
28457 # You should have received a copy of the GNU General Public License
28458 # along with GNU Libtool; see the file COPYING. If not, a copy
28459 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28460 # obtained by writing to the Free Software Foundation, Inc.,
28461 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28464 # The names of the tagged configurations supported by this script.
28465 available_tags="FC "
28467 # ### BEGIN LIBTOOL CONFIG
28469 # A sed program that does not truncate output.
28472 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28473 Xsed="\$SED -e 1s/^X//"
28475 # A grep program that handles long lines.
28481 # A literal string matcher.
28484 # Shell to use when invoking shell scripts.
28487 # An echo program that protects backslashes.
28490 # Which release of libtool.m4 was used?
28491 macro_version=$macro_version
28492 macro_revision=$macro_revision
28494 # Whether or not to build shared libraries.
28495 build_libtool_libs=$enable_shared
28497 # Whether or not to build static libraries.
28498 build_old_libs=$enable_static
28500 # What type of objects to build.
28503 # Whether or not to optimize for fast installation.
28504 fast_install=$enable_fast_install
28507 host_alias=$host_alias
28511 # The build system.
28512 build_alias=$build_alias
28516 # A BSD- or MS-compatible name lister.
28519 # Whether we need soft or hard links.
28522 # What is the maximum length of a command?
28523 max_cmd_len=$max_cmd_len
28525 # Object file suffix (normally "o").
28528 # Executable file suffix (normally "").
28531 # whether the shell understands "unset".
28534 # turn spaces into newlines.
28537 # turn newlines into spaces.
28540 # An object symbol dumper.
28541 OBJDUMP=$lt_OBJDUMP
28543 # Method to check whether dependent libraries are shared objects.
28544 deplibs_check_method=$lt_deplibs_check_method
28546 # Command to use when deplibs_check_method == "file_magic".
28547 file_magic_cmd=$lt_file_magic_cmd
28551 AR_FLAGS=$lt_AR_FLAGS
28553 # A symbol stripping program.
28556 # Commands used to install an old-style archive.
28558 old_postinstall_cmds=$lt_old_postinstall_cmds
28559 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28561 # Whether to use a lock for old archive extraction.
28562 lock_old_archive_extraction=$lock_old_archive_extraction
28567 # LTCC compiler flags.
28568 LTCFLAGS=$lt_CFLAGS
28570 # Take the output of nm and produce a listing of raw symbols and C names.
28571 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28573 # Transform the output of nm in a proper C declaration.
28574 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28576 # Transform the output of nm in a C name address pair.
28577 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28579 # Transform the output of nm in a C name address pair when lib prefix is needed.
28580 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28582 # The name of the directory that contains temporary libtool files.
28585 # Used to examine libraries when file_magic_cmd begins with "file".
28586 MAGIC_CMD=$MAGIC_CMD
28588 # Must we lock files when doing compilation?
28589 need_locks=$lt_need_locks
28591 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28592 DSYMUTIL=$lt_DSYMUTIL
28594 # Tool to change global to local symbols on Mac OS X.
28597 # Tool to manipulate fat objects and archives on Mac OS X.
28600 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28603 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28604 OTOOL64=$lt_OTOOL64
28606 # Old archive suffix (normally "a").
28609 # Shared library suffix (normally ".so").
28610 shrext_cmds=$lt_shrext_cmds
28612 # The commands to extract the exported symbol list from a shared archive.
28613 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28615 # Variables whose values should be saved in libtool wrapper scripts and
28616 # restored at link time.
28617 variables_saved_for_relink=$lt_variables_saved_for_relink
28619 # Do we need the "lib" prefix for modules?
28620 need_lib_prefix=$need_lib_prefix
28622 # Do we need a version for libraries?
28623 need_version=$need_version
28625 # Library versioning type.
28626 version_type=$version_type
28628 # Shared library runtime path variable.
28629 runpath_var=$runpath_var
28631 # Shared library path variable.
28632 shlibpath_var=$shlibpath_var
28634 # Is shlibpath searched before the hard-coded library search path?
28635 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28637 # Format of library name prefix.
28638 libname_spec=$lt_libname_spec
28640 # List of archive names. First name is the real one, the rest are links.
28641 # The last name is the one that the linker finds with -lNAME
28642 library_names_spec=$lt_library_names_spec
28644 # The coded name of the library, if different from the real name.
28645 soname_spec=$lt_soname_spec
28647 # Permission mode override for installation of shared libraries.
28648 install_override_mode=$lt_install_override_mode
28650 # Command to use after installation of a shared archive.
28651 postinstall_cmds=$lt_postinstall_cmds
28653 # Command to use after uninstallation of a shared archive.
28654 postuninstall_cmds=$lt_postuninstall_cmds
28656 # Commands used to finish a libtool library installation in a directory.
28657 finish_cmds=$lt_finish_cmds
28659 # As "finish_cmds", except a single script fragment to be evaled but
28661 finish_eval=$lt_finish_eval
28663 # Whether we should hardcode library paths into libraries.
28664 hardcode_into_libs=$hardcode_into_libs
28666 # Compile-time system search path for libraries.
28667 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28669 # Run-time system search path for libraries.
28670 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28672 # Whether dlopen is supported.
28673 dlopen_support=$enable_dlopen
28675 # Whether dlopen of programs is supported.
28676 dlopen_self=$enable_dlopen_self
28678 # Whether dlopen of statically linked programs is supported.
28679 dlopen_self_static=$enable_dlopen_self_static
28681 # Commands to strip libraries.
28682 old_striplib=$lt_old_striplib
28683 striplib=$lt_striplib
28686 # The linker used to build libraries.
28689 # How to create reloadable object files.
28690 reload_flag=$lt_reload_flag
28691 reload_cmds=$lt_reload_cmds
28693 # Commands used to build an old-style archive.
28694 old_archive_cmds=$lt_old_archive_cmds
28696 # A language specific compiler.
28699 # Is the compiler the GNU compiler?
28702 # Compiler flag to turn off builtin functions.
28703 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28705 # How to pass a linker flag through the compiler.
28706 wl=$lt_lt_prog_compiler_wl
28708 # Additional compiler flags for building library objects.
28709 pic_flag=$lt_lt_prog_compiler_pic
28711 # Compiler flag to prevent dynamic linking.
28712 link_static_flag=$lt_lt_prog_compiler_static
28714 # Does compiler simultaneously support -c and -o options?
28715 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28717 # Whether or not to add -lc for building shared libraries.
28718 build_libtool_need_lc=$archive_cmds_need_lc
28720 # Whether or not to disallow shared libs when runtime libs are static.
28721 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28723 # Compiler flag to allow reflexive dlopens.
28724 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28726 # Compiler flag to generate shared objects directly from archives.
28727 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28729 # Whether the compiler copes with passing no objects directly.
28730 compiler_needs_object=$lt_compiler_needs_object
28732 # Create an old-style archive from a shared archive.
28733 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28735 # Create a temporary old-style archive to link instead of a shared archive.
28736 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28738 # Commands used to build a shared archive.
28739 archive_cmds=$lt_archive_cmds
28740 archive_expsym_cmds=$lt_archive_expsym_cmds
28742 # Commands used to build a loadable module if different from building
28743 # a shared archive.
28744 module_cmds=$lt_module_cmds
28745 module_expsym_cmds=$lt_module_expsym_cmds
28747 # Whether we are building with GNU ld or not.
28748 with_gnu_ld=$lt_with_gnu_ld
28750 # Flag that allows shared libraries with undefined symbols to be built.
28751 allow_undefined_flag=$lt_allow_undefined_flag
28753 # Flag that enforces no undefined symbols.
28754 no_undefined_flag=$lt_no_undefined_flag
28756 # Flag to hardcode \$libdir into a binary during linking.
28757 # This must work even if \$libdir does not exist
28758 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28760 # If ld is used when linking, flag to hardcode \$libdir into a binary
28761 # during linking. This must work even if \$libdir does not exist.
28762 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28764 # Whether we need a single "-rpath" flag with a separated argument.
28765 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28767 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28768 # DIR into the resulting binary.
28769 hardcode_direct=$hardcode_direct
28771 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28772 # DIR into the resulting binary and the resulting library dependency is
28773 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28774 # library is relocated.
28775 hardcode_direct_absolute=$hardcode_direct_absolute
28777 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28778 # into the resulting binary.
28779 hardcode_minus_L=$hardcode_minus_L
28781 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28782 # into the resulting binary.
28783 hardcode_shlibpath_var=$hardcode_shlibpath_var
28785 # Set to "yes" if building a shared library automatically hardcodes DIR
28786 # into the library and all subsequent libraries and executables linked
28788 hardcode_automatic=$hardcode_automatic
28790 # Set to yes if linker adds runtime paths of dependent libraries
28791 # to runtime path list.
28792 inherit_rpath=$inherit_rpath
28794 # Whether libtool must link a program against all its dependency libraries.
28795 link_all_deplibs=$link_all_deplibs
28797 # Fix the shell variable \$srcfile for the compiler.
28798 fix_srcfile_path=$lt_fix_srcfile_path
28800 # Set to "yes" if exported symbols are required.
28801 always_export_symbols=$always_export_symbols
28803 # The commands to list exported symbols.
28804 export_symbols_cmds=$lt_export_symbols_cmds
28806 # Symbols that should not be listed in the preloaded symbols.
28807 exclude_expsyms=$lt_exclude_expsyms
28809 # Symbols that must always be exported.
28810 include_expsyms=$lt_include_expsyms
28812 # Commands necessary for linking programs (against libraries) with templates.
28813 prelink_cmds=$lt_prelink_cmds
28815 # Specify filename containing input files.
28816 file_list_spec=$lt_file_list_spec
28818 # How to hardcode a shared library path into an executable.
28819 hardcode_action=$hardcode_action
28821 # The directories searched by this compiler when creating a shared library.
28822 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28824 # Dependencies to place before and after the objects being linked to
28825 # create a shared library.
28826 predep_objects=$lt_predep_objects
28827 postdep_objects=$lt_postdep_objects
28828 predeps=$lt_predeps
28829 postdeps=$lt_postdeps
28831 # The library search path used internally by the compiler when linking
28832 # a shared library.
28833 compiler_lib_search_path=$lt_compiler_lib_search_path
28835 # ### END LIBTOOL CONFIG
28841 cat <<\_LT_EOF
>> "$cfgfile"
28842 # AIX sometimes has problems with the GCC collect2 program. For some
28843 # reason, if we set the COLLECT_NAMES environment variable, the problems
28844 # vanish in a puff of smoke.
28845 if test "X${COLLECT_NAMES+set}" != Xset
; then
28847 export COLLECT_NAMES
28854 ltmain
="$ac_aux_dir/ltmain.sh"
28857 # We use sed instead of cat because bash on DJGPP gets confused if
28858 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28859 # text mode, it properly converts lines to CR/LF. This bash problem
28860 # is reportedly fixed, but why not run on old versions too?
28861 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28862 ||
(rm -f "$cfgfile"; exit 1)
28866 cat << \_LT_EOF
>> "$cfgfile"
28868 # func_dirname file append nondir_replacement
28869 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28870 # otherwise set result to NONDIR_REPLACEMENT.
28874 */*) func_dirname_result
="${1%/*}${2}" ;;
28875 * ) func_dirname_result
="${3}" ;;
28879 # func_basename file
28882 func_basename_result
="${1##*/}"
28885 # func_dirname_and_basename file append nondir_replacement
28886 # perform func_basename and func_dirname in a single function
28888 # dirname: Compute the dirname of FILE. If nonempty,
28889 # add APPEND to the result, otherwise set result
28890 # to NONDIR_REPLACEMENT.
28891 # value returned in "$func_dirname_result"
28892 # basename: Compute filename of FILE.
28893 # value retuned in "$func_basename_result"
28894 # Implementation must be kept synchronized with func_dirname
28895 # and func_basename. For efficiency, we do not delegate to
28896 # those functions but instead duplicate the functionality here.
28897 func_dirname_and_basename
()
28900 */*) func_dirname_result
="${1%/*}${2}" ;;
28901 * ) func_dirname_result
="${3}" ;;
28903 func_basename_result
="${1##*/}"
28906 # func_stripname prefix suffix name
28907 # strip PREFIX and SUFFIX off of NAME.
28908 # PREFIX and SUFFIX must not contain globbing or regex special
28909 # characters, hashes, percent signs, but SUFFIX may contain a leading
28910 # dot (in which case that matches only a dot).
28913 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28914 # positional parameters, so assign one to ordinary parameter first.
28915 func_stripname_result
=${3}
28916 func_stripname_result
=${func_stripname_result#"${1}"}
28917 func_stripname_result
=${func_stripname_result%"${2}"}
28923 func_opt_split_opt
=${1%%=*}
28924 func_opt_split_arg
=${1#*=}
28931 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
28932 *) func_lo2o_result
=${1} ;;
28936 # func_xform libobj-or-source
28939 func_xform_result
=${1%.*}.lo
28942 # func_arith arithmetic-term...
28945 func_arith_result
=$
(( $
* ))
28949 # STRING may not start with a hyphen.
28952 func_len_result
=${#1}
28957 *) # Bourne compatible functions.
28958 cat << \_LT_EOF
>> "$cfgfile"
28960 # func_dirname file append nondir_replacement
28961 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28962 # otherwise set result to NONDIR_REPLACEMENT.
28965 # Extract subdirectory from the argument.
28966 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
28967 if test "X$func_dirname_result" = "X${1}"; then
28968 func_dirname_result
="${3}"
28970 func_dirname_result
="$func_dirname_result${2}"
28974 # func_basename file
28977 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
28981 # func_stripname prefix suffix name
28982 # strip PREFIX and SUFFIX off of NAME.
28983 # PREFIX and SUFFIX must not contain globbing or regex special
28984 # characters, hashes, percent signs, but SUFFIX may contain a leading
28985 # dot (in which case that matches only a dot).
28986 # func_strip_suffix prefix name
28990 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
28991 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
28996 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
28997 my_sed_long_arg
='1s/^-[^=]*=//'
29002 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
29003 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
29009 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
29012 # func_xform libobj-or-source
29015 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
29018 # func_arith arithmetic-term...
29021 func_arith_result
=`expr "$@"`
29025 # STRING may not start with a hyphen.
29028 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
29034 case $lt_shell_append in
29036 cat << \_LT_EOF
>> "$cfgfile"
29038 # func_append var value
29039 # Append VALUE to the end of shell variable VAR.
29047 cat << \_LT_EOF
>> "$cfgfile"
29049 # func_append var value
29050 # Append VALUE to the end of shell variable VAR.
29061 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
29062 ||
(rm -f "$cfgfile"; exit 1)
29064 mv -f "$cfgfile" "$ofile" ||
29065 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29069 cat <<_LT_EOF >> "$ofile"
29071 # ### BEGIN LIBTOOL TAG CONFIG: FC
29073 # The linker used to build libraries.
29076 # How to create reloadable object files.
29077 reload_flag=$lt_reload_flag_FC
29078 reload_cmds=$lt_reload_cmds_FC
29080 # Commands used to build an old-style archive.
29081 old_archive_cmds=$lt_old_archive_cmds_FC
29083 # A language specific compiler.
29086 # Is the compiler the GNU compiler?
29089 # Compiler flag to turn off builtin functions.
29090 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
29092 # How to pass a linker flag through the compiler.
29093 wl=$lt_lt_prog_compiler_wl_FC
29095 # Additional compiler flags for building library objects.
29096 pic_flag=$lt_lt_prog_compiler_pic_FC
29098 # Compiler flag to prevent dynamic linking.
29099 link_static_flag=$lt_lt_prog_compiler_static_FC
29101 # Does compiler simultaneously support -c and -o options?
29102 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
29104 # Whether or not to add -lc for building shared libraries.
29105 build_libtool_need_lc=$archive_cmds_need_lc_FC
29107 # Whether or not to disallow shared libs when runtime libs are static.
29108 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
29110 # Compiler flag to allow reflexive dlopens.
29111 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
29113 # Compiler flag to generate shared objects directly from archives.
29114 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29116 # Whether the compiler copes with passing no objects directly.
29117 compiler_needs_object=$lt_compiler_needs_object_FC
29119 # Create an old-style archive from a shared archive.
29120 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29122 # Create a temporary old-style archive to link instead of a shared archive.
29123 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29125 # Commands used to build a shared archive.
29126 archive_cmds=$lt_archive_cmds_FC
29127 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29129 # Commands used to build a loadable module if different from building
29130 # a shared archive.
29131 module_cmds=$lt_module_cmds_FC
29132 module_expsym_cmds=$lt_module_expsym_cmds_FC
29134 # Whether we are building with GNU ld or not.
29135 with_gnu_ld=$lt_with_gnu_ld_FC
29137 # Flag that allows shared libraries with undefined symbols to be built.
29138 allow_undefined_flag=$lt_allow_undefined_flag_FC
29140 # Flag that enforces no undefined symbols.
29141 no_undefined_flag=$lt_no_undefined_flag_FC
29143 # Flag to hardcode \$libdir into a binary during linking.
29144 # This must work even if \$libdir does not exist
29145 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29147 # If ld is used when linking, flag to hardcode \$libdir into a binary
29148 # during linking. This must work even if \$libdir does not exist.
29149 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29151 # Whether we need a single "-rpath" flag with a separated argument.
29152 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29154 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29155 # DIR into the resulting binary.
29156 hardcode_direct=$hardcode_direct_FC
29158 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29159 # DIR into the resulting binary and the resulting library dependency is
29160 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29161 # library is relocated.
29162 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29164 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29165 # into the resulting binary.
29166 hardcode_minus_L=$hardcode_minus_L_FC
29168 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29169 # into the resulting binary.
29170 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29172 # Set to "yes" if building a shared library automatically hardcodes DIR
29173 # into the library and all subsequent libraries and executables linked
29175 hardcode_automatic=$hardcode_automatic_FC
29177 # Set to yes if linker adds runtime paths of dependent libraries
29178 # to runtime path list.
29179 inherit_rpath=$inherit_rpath_FC
29181 # Whether libtool must link a program against all its dependency libraries.
29182 link_all_deplibs=$link_all_deplibs_FC
29184 # Fix the shell variable \$srcfile for the compiler.
29185 fix_srcfile_path=$lt_fix_srcfile_path_FC
29187 # Set to "yes" if exported symbols are required.
29188 always_export_symbols=$always_export_symbols_FC
29190 # The commands to list exported symbols.
29191 export_symbols_cmds=$lt_export_symbols_cmds_FC
29193 # Symbols that should not be listed in the preloaded symbols.
29194 exclude_expsyms=$lt_exclude_expsyms_FC
29196 # Symbols that must always be exported.
29197 include_expsyms=$lt_include_expsyms_FC
29199 # Commands necessary for linking programs (against libraries) with templates.
29200 prelink_cmds=$lt_prelink_cmds_FC
29202 # Specify filename containing input files.
29203 file_list_spec=$lt_file_list_spec_FC
29205 # How to hardcode a shared library path into an executable.
29206 hardcode_action=$hardcode_action_FC
29208 # The directories searched by this compiler when creating a shared library.
29209 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29211 # Dependencies to place before and after the objects being linked to
29212 # create a shared library.
29213 predep_objects=$lt_predep_objects_FC
29214 postdep_objects=$lt_postdep_objects_FC
29215 predeps=$lt_predeps_FC
29216 postdeps=$lt_postdeps_FC
29218 # The library search path used internally by the compiler when linking
29219 # a shared library.
29220 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29222 # ### END LIBTOOL TAG CONFIG: FC
29227 if test "$GCC" = yes; then
29228 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29230 echo "/* generated for $CC */" > tmp-stdint.h
29233 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29235 #ifndef GCC_GENERATED_STDINT_H
29236 #define GCC_GENERATED_STDINT_H 1
29238 #include <sys/types.h>
29241 if test "$acx_cv_header_stdint" != stdint.h
; then
29242 echo "#include <stddef.h>" >> tmp-stdint.h
29244 if test "$acx_cv_header_stdint" != stddef.h
; then
29245 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29248 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29249 /* glibc uses these symbols as guards to prevent redefinitions. */
29250 #ifdef __int8_t_defined
29255 #ifdef __uint32_t_defined
29261 # ----------------- done header, emit basic int types -------------
29262 if test "$acx_cv_header_stdint" = stddef.h
; then
29263 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29267 #ifndef __uint8_t_defined
29268 #define __uint8_t_defined
29270 typedef unsigned $acx_cv_type_int8_t uint8_t;
29277 #ifndef __uint16_t_defined
29278 #define __uint16_t_defined
29280 typedef unsigned $acx_cv_type_int16_t uint16_t;
29287 #ifndef __uint32_t_defined
29288 #define __uint32_t_defined
29290 typedef unsigned $acx_cv_type_int32_t uint32_t;
29297 #ifndef __int8_t_defined
29298 #define __int8_t_defined
29300 typedef $acx_cv_type_int8_t int8_t;
29307 #ifndef __int16_t_defined
29308 #define __int16_t_defined
29310 typedef $acx_cv_type_int16_t int16_t;
29317 #ifndef __int32_t_defined
29318 #define __int32_t_defined
29320 typedef $acx_cv_type_int32_t int32_t;
29325 elif test "$ac_cv_type_u_int32_t" = yes; then
29326 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29328 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29341 #ifndef __uint8_t_defined
29342 #define __uint8_t_defined
29344 typedef u_int8_t uint8_t;
29351 #ifndef __uint16_t_defined
29352 #define __uint16_t_defined
29354 typedef u_int16_t uint16_t;
29361 #ifndef __uint32_t_defined
29362 #define __uint32_t_defined
29364 typedef u_int32_t uint32_t;
29370 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29372 /* Some systems have guard macros to prevent redefinitions, define them. */
29394 # ------------- done basic int types, emit int64_t types ------------
29395 if test "$ac_cv_type_uint64_t" = yes; then
29396 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29398 /* system headers have good uint64_t and int64_t */
29406 elif test "$ac_cv_type_u_int64_t" = yes; then
29407 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29409 /* system headers have an u_int64_t (and int64_t) */
29415 #ifndef __uint64_t_defined
29416 #define __uint64_t_defined
29418 typedef u_int64_t uint64_t;
29423 elif test -n "$acx_cv_type_int64_t"; then
29424 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29426 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29430 typedef $acx_cv_type_int64_t int64_t;
29435 #ifndef __uint64_t_defined
29436 #define __uint64_t_defined
29438 typedef unsigned $acx_cv_type_int64_t uint64_t;
29444 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29446 /* some common heuristics for int64_t, using compiler-specific tests */
29447 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29450 #ifndef __int64_t_defined
29452 typedef long long int64_t;
29459 typedef unsigned long long uint64_t;
29463 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29464 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29465 does not implement __extension__. But that compiler doesn't define
29467 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29468 # define __extension__
29474 __extension__ typedef long long int64_t;
29480 __extension__ typedef unsigned long long uint64_t;
29484 #elif !defined __STRICT_ANSI__
29485 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29490 typedef __int64 int64_t;
29496 typedef unsigned __int64 uint64_t;
29499 # endif /* compiler */
29501 #endif /* ANSI version */
29505 # ------------- done int64_t types, emit intptr types ------------
29506 if test "$ac_cv_type_uintptr_t" != yes; then
29507 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29509 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29510 #ifndef __uintptr_t_defined
29512 typedef u$acx_cv_type_intptr_t uintptr_t;
29515 #ifndef __intptr_t_defined
29517 typedef $acx_cv_type_intptr_t intptr_t;
29523 # ------------- done intptr types, emit int_least types ------------
29524 if test "$ac_cv_type_int_least32_t" != yes; then
29525 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29527 /* Define int_least types */
29528 typedef int8_t int_least8_t;
29529 typedef int16_t int_least16_t;
29530 typedef int32_t int_least32_t;
29532 typedef int64_t int_least64_t;
29535 typedef uint8_t uint_least8_t;
29536 typedef uint16_t uint_least16_t;
29537 typedef uint32_t uint_least32_t;
29539 typedef uint64_t uint_least64_t;
29544 # ------------- done intptr types, emit int_fast types ------------
29545 if test "$ac_cv_type_int_fast32_t" != yes; then
29546 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29548 /* Define int_fast types. short is often slow */
29549 typedef int8_t int_fast8_t;
29550 typedef int int_fast16_t;
29551 typedef int32_t int_fast32_t;
29553 typedef int64_t int_fast64_t;
29556 typedef uint8_t uint_fast8_t;
29557 typedef unsigned int uint_fast16_t;
29558 typedef uint32_t uint_fast32_t;
29560 typedef uint64_t uint_fast64_t;
29565 if test "$ac_cv_type_uintmax_t" != yes; then
29566 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29568 /* Define intmax based on what we found */
29571 typedef int64_t intmax_t;
29573 typedef long intmax_t;
29578 typedef uint64_t uintmax_t;
29580 typedef unsigned long uintmax_t;
29586 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29588 #endif /* GCC_GENERATED_STDINT_H */
29591 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
29594 mv -f tmp-stdint.h gstdint.h
29605 ac_clean_files
=$ac_clean_files_save
29607 test $ac_write_fail = 0 ||
29608 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
29611 # configure is writing to config.log, and then calls config.status.
29612 # config.status does its own redirection, appending to config.log.
29613 # Unfortunately, on DOS this fails, as config.log is still kept open
29614 # by configure, so config.status won't be able to write to it; its
29615 # output is simply discarded. So we exec the FD to /dev/null,
29616 # effectively closing config.log, so it can be properly (re)opened and
29617 # appended to by config.status. When coming back to configure, we
29618 # need to make the FD available again.
29619 if test "$no_create" != yes; then
29621 ac_config_status_args
=
29622 test "$silent" = yes &&
29623 ac_config_status_args
="$ac_config_status_args --quiet"
29625 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
29627 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29628 # would make configure fail if this is the last instruction.
29629 $ac_cs_success || as_fn_exit $?
29631 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
29632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29633 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}