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>
603 ac_subst_vars
='am__EXEEXT_FALSE
609 LIBGFOR_BUILD_QUAD_FALSE
610 LIBGFOR_BUILD_QUAD_TRUE
615 extra_ldflags_libgfortran
640 LIBGFOR_USE_SYMVER_SUN_FALSE
641 LIBGFOR_USE_SYMVER_SUN_TRUE
642 LIBGFOR_USE_SYMVER_GNU_FALSE
643 LIBGFOR_USE_SYMVER_GNU_TRUE
644 LIBGFOR_USE_SYMVER_FALSE
645 LIBGFOR_USE_SYMVER_TRUE
671 MAINTAINER_MODE_FALSE
681 INSTALL_STRIP_PROGRAM
743 program_transform_name
756 enable_option_checking
758 enable_version_specific_runtime_libs
760 enable_maintainer_mode
762 enable_dependency_tracking
771 enable_libquadmath_support
772 with_system_libunwind
774 ac_precious_vars
='build_alias
787 # Initialize some variables set by options.
789 ac_init_version
=false
790 ac_unrecognized_opts
=
792 # The variables have the same names as the options, with
793 # dashes changed to underlines.
801 program_transform_name
=s
,x
,x
,
809 # Installation directory options.
810 # These are left unexpanded so users can "make install exec_prefix=/foo"
811 # and all the variables that are supposed to be based on exec_prefix
812 # by default will actually change.
813 # Use braces instead of parens because sh, perl, etc. also accept them.
814 # (The list follows the same order as the GNU Coding Standards.)
815 bindir
='${exec_prefix}/bin'
816 sbindir
='${exec_prefix}/sbin'
817 libexecdir
='${exec_prefix}/libexec'
818 datarootdir
='${prefix}/share'
819 datadir
='${datarootdir}'
820 sysconfdir
='${prefix}/etc'
821 sharedstatedir
='${prefix}/com'
822 localstatedir
='${prefix}/var'
823 includedir
='${prefix}/include'
824 oldincludedir
='/usr/include'
825 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
826 infodir
='${datarootdir}/info'
831 libdir
='${exec_prefix}/lib'
832 localedir
='${datarootdir}/locale'
833 mandir
='${datarootdir}/man'
839 # If the previous option needs an argument, assign it.
840 if test -n "$ac_prev"; then
841 eval $ac_prev=\
$ac_option
847 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
851 # Accept the important Cygnus configure options, so we can diagnose typos.
853 case $ac_dashdash$ac_option in
857 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
859 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
862 -build |
--build |
--buil |
--bui |
--bu)
863 ac_prev
=build_alias
;;
864 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
865 build_alias
=$ac_optarg ;;
867 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
868 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
869 ac_prev
=cache_file
;;
870 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
871 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
872 cache_file
=$ac_optarg ;;
875 cache_file
=config.cache
;;
877 -datadir |
--datadir |
--datadi |
--datad)
879 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
880 datadir
=$ac_optarg ;;
882 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
883 |
--dataroo |
--dataro |
--datar)
884 ac_prev
=datarootdir
;;
885 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
886 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
887 datarootdir
=$ac_optarg ;;
889 -disable-* |
--disable-*)
890 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
891 # Reject names that are not valid shell variable names.
892 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
893 as_fn_error
"invalid feature name: $ac_useropt"
894 ac_useropt_orig
=$ac_useropt
895 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
896 case $ac_user_opts in
900 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
901 ac_unrecognized_sep
=', ';;
903 eval enable_
$ac_useropt=no
;;
905 -docdir |
--docdir |
--docdi |
--doc |
--do)
907 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
910 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
912 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
915 -enable-* |
--enable-*)
916 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
917 # Reject names that are not valid shell variable names.
918 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
919 as_fn_error
"invalid feature name: $ac_useropt"
920 ac_useropt_orig
=$ac_useropt
921 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
922 case $ac_user_opts in
926 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
927 ac_unrecognized_sep
=', ';;
929 eval enable_
$ac_useropt=\
$ac_optarg ;;
931 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
932 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
933 |
--exec |
--exe |
--ex)
934 ac_prev
=exec_prefix
;;
935 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
936 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
937 |
--exec=* |
--exe=* |
--ex=*)
938 exec_prefix
=$ac_optarg ;;
940 -gas |
--gas |
--ga |
--g)
941 # Obsolete; use --with-gas.
944 -help |
--help |
--hel |
--he |
-h)
946 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
947 ac_init_help
=recursive
;;
948 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
949 ac_init_help
=short
;;
951 -host |
--host |
--hos |
--ho)
952 ac_prev
=host_alias
;;
953 -host=* |
--host=* |
--hos=* |
--ho=*)
954 host_alias
=$ac_optarg ;;
956 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
958 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
960 htmldir
=$ac_optarg ;;
962 -includedir |
--includedir |
--includedi |
--included |
--include \
963 |
--includ |
--inclu |
--incl |
--inc)
964 ac_prev
=includedir
;;
965 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
966 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
967 includedir
=$ac_optarg ;;
969 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
971 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
972 infodir
=$ac_optarg ;;
974 -libdir |
--libdir |
--libdi |
--libd)
976 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
979 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
980 |
--libexe |
--libex |
--libe)
981 ac_prev
=libexecdir
;;
982 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
983 |
--libexe=* |
--libex=* |
--libe=*)
984 libexecdir
=$ac_optarg ;;
986 -localedir |
--localedir |
--localedi |
--localed |
--locale)
988 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
989 localedir
=$ac_optarg ;;
991 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
992 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
993 ac_prev
=localstatedir
;;
994 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
995 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
996 localstatedir
=$ac_optarg ;;
998 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1000 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1001 mandir
=$ac_optarg ;;
1003 -nfp |
--nfp |
--nf)
1004 # Obsolete; use --without-fp.
1007 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1008 |
--no-cr |
--no-c |
-n)
1011 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1012 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1015 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1016 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1017 |
--oldin |
--oldi |
--old |
--ol |
--o)
1018 ac_prev
=oldincludedir
;;
1019 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1020 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1021 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1022 oldincludedir
=$ac_optarg ;;
1024 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1026 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1027 prefix
=$ac_optarg ;;
1029 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1030 |
--program-pre |
--program-pr |
--program-p)
1031 ac_prev
=program_prefix
;;
1032 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1033 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1034 program_prefix
=$ac_optarg ;;
1036 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1037 |
--program-suf |
--program-su |
--program-s)
1038 ac_prev
=program_suffix
;;
1039 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1040 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1041 program_suffix
=$ac_optarg ;;
1043 -program-transform-name |
--program-transform-name \
1044 |
--program-transform-nam |
--program-transform-na \
1045 |
--program-transform-n |
--program-transform- \
1046 |
--program-transform |
--program-transfor \
1047 |
--program-transfo |
--program-transf \
1048 |
--program-trans |
--program-tran \
1049 |
--progr-tra |
--program-tr |
--program-t)
1050 ac_prev
=program_transform_name
;;
1051 -program-transform-name=* |
--program-transform-name=* \
1052 |
--program-transform-nam=* |
--program-transform-na=* \
1053 |
--program-transform-n=* |
--program-transform-=* \
1054 |
--program-transform=* |
--program-transfor=* \
1055 |
--program-transfo=* |
--program-transf=* \
1056 |
--program-trans=* |
--program-tran=* \
1057 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1058 program_transform_name
=$ac_optarg ;;
1060 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1062 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1063 pdfdir
=$ac_optarg ;;
1065 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1067 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1070 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1071 |
-silent |
--silent |
--silen |
--sile |
--sil)
1074 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1076 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1078 sbindir
=$ac_optarg ;;
1080 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1081 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1082 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1084 ac_prev
=sharedstatedir
;;
1085 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1086 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1087 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1089 sharedstatedir
=$ac_optarg ;;
1091 -site |
--site |
--sit)
1093 -site=* |
--site=* |
--sit=*)
1096 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1098 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1099 srcdir
=$ac_optarg ;;
1101 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1102 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1103 ac_prev
=sysconfdir
;;
1104 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1105 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1106 sysconfdir
=$ac_optarg ;;
1108 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1109 ac_prev
=target_alias
;;
1110 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1111 target_alias
=$ac_optarg ;;
1113 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1116 -version |
--version |
--versio |
--versi |
--vers |
-V)
1117 ac_init_version
=: ;;
1120 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1121 # Reject names that are not valid shell variable names.
1122 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1123 as_fn_error
"invalid package name: $ac_useropt"
1124 ac_useropt_orig
=$ac_useropt
1125 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1126 case $ac_user_opts in
1130 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1131 ac_unrecognized_sep
=', ';;
1133 eval with_
$ac_useropt=\
$ac_optarg ;;
1135 -without-* |
--without-*)
1136 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1137 # Reject names that are not valid shell variable names.
1138 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1139 as_fn_error
"invalid package name: $ac_useropt"
1140 ac_useropt_orig
=$ac_useropt
1141 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1142 case $ac_user_opts in
1146 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1147 ac_unrecognized_sep
=', ';;
1149 eval with_
$ac_useropt=no
;;
1152 # Obsolete; use --with-x.
1155 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1156 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1157 ac_prev
=x_includes
;;
1158 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1159 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1160 x_includes
=$ac_optarg ;;
1162 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1163 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1164 ac_prev
=x_libraries
;;
1165 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1166 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1167 x_libraries
=$ac_optarg ;;
1169 -*) as_fn_error
"unrecognized option: \`$ac_option'
1170 Try \`$0 --help' for more information."
1174 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1175 # Reject names that are not valid shell variable names.
1176 case $ac_envvar in #(
1177 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1178 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1180 eval $ac_envvar=\
$ac_optarg
1181 export $ac_envvar ;;
1184 # FIXME: should be removed in autoconf 3.0.
1185 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1186 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1187 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1188 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1194 if test -n "$ac_prev"; then
1195 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1196 as_fn_error
"missing argument to $ac_option"
1199 if test -n "$ac_unrecognized_opts"; then
1200 case $enable_option_checking in
1202 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1203 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1207 # Check all directory arguments for consistency.
1208 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1209 datadir sysconfdir sharedstatedir localstatedir includedir \
1210 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1211 libdir localedir mandir
1213 eval ac_val
=\$
$ac_var
1214 # Remove trailing slashes.
1217 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1218 eval $ac_var=\
$ac_val;;
1220 # Be sure to have absolute directory names.
1222 [\\/$
]* | ?
:[\\/]* ) continue;;
1223 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1225 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1228 # There might be people who depend on the old broken behavior: `$host'
1229 # used to hold the argument of --host etc.
1230 # FIXME: To remove some day.
1233 target
=$target_alias
1235 # FIXME: To remove some day.
1236 if test "x$host_alias" != x
; then
1237 if test "x$build_alias" = x
; then
1238 cross_compiling
=maybe
1239 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1240 If a cross compiler is detected then cross compile mode will be used." >&2
1241 elif test "x$build_alias" != "x$host_alias"; then
1247 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1249 test "$silent" = yes && exec 6>/dev
/null
1252 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1253 ac_ls_di
=`ls -di .` &&
1254 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1255 as_fn_error
"working directory cannot be determined"
1256 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1257 as_fn_error
"pwd does not report name of working directory"
1260 # Find the source files, if location was not specified.
1261 if test -z "$srcdir"; then
1262 ac_srcdir_defaulted
=yes
1263 # Try the directory containing this script, then the parent directory.
1264 ac_confdir
=`$as_dirname -- "$as_myself" ||
1265 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1266 X"$as_myself" : 'X\(//\)[^/]' \| \
1267 X"$as_myself" : 'X\(//\)$' \| \
1268 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1269 $as_echo X"$as_myself" |
1270 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1288 if test ! -r "$srcdir/$ac_unique_file"; then
1292 ac_srcdir_defaulted
=no
1294 if test ! -r "$srcdir/$ac_unique_file"; then
1295 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1296 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1298 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1300 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1302 # When building in place, set srcdir=.
1303 if test "$ac_abs_confdir" = "$ac_pwd"; then
1306 # Remove unnecessary trailing slashes from srcdir.
1307 # Double slashes in file names in object file debugging info
1308 # mess up M-x gdb in Emacs.
1310 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1312 for ac_var
in $ac_precious_vars; do
1313 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1314 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1315 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1316 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1320 # Report the --help message.
1322 if test "$ac_init_help" = "long"; then
1323 # Omit some internal or obsolete options to make the list less imposing.
1324 # This message is too long to be a string in the A/UX 3.1 sh.
1326 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1328 Usage: $0 [OPTION]... [VAR=VALUE]...
1330 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1331 VAR=VALUE. See below for descriptions of some of the useful variables.
1333 Defaults for the options are specified in brackets.
1336 -h, --help display this help and exit
1337 --help=short display options specific to this package
1338 --help=recursive display the short help of all the included packages
1339 -V, --version display version information and exit
1340 -q, --quiet, --silent do not print \`checking...' messages
1341 --cache-file=FILE cache test results in FILE [disabled]
1342 -C, --config-cache alias for \`--cache-file=config.cache'
1343 -n, --no-create do not create output files
1344 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1346 Installation directories:
1347 --prefix=PREFIX install architecture-independent files in PREFIX
1348 [$ac_default_prefix]
1349 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1352 By default, \`make install' will install all the files in
1353 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1354 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1355 for instance \`--prefix=\$HOME'.
1357 For better control, use the options below.
1359 Fine tuning of the installation directories:
1360 --bindir=DIR user executables [EPREFIX/bin]
1361 --sbindir=DIR system admin executables [EPREFIX/sbin]
1362 --libexecdir=DIR program executables [EPREFIX/libexec]
1363 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1364 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1365 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1366 --libdir=DIR object code libraries [EPREFIX/lib]
1367 --includedir=DIR C header files [PREFIX/include]
1368 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1369 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1370 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1371 --infodir=DIR info documentation [DATAROOTDIR/info]
1372 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1373 --mandir=DIR man documentation [DATAROOTDIR/man]
1374 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1375 --htmldir=DIR html documentation [DOCDIR]
1376 --dvidir=DIR dvi documentation [DOCDIR]
1377 --pdfdir=DIR pdf documentation [DOCDIR]
1378 --psdir=DIR ps documentation [DOCDIR]
1384 --program-prefix=PREFIX prepend PREFIX to installed program names
1385 --program-suffix=SUFFIX append SUFFIX to installed program names
1386 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1389 --build=BUILD configure
for building on BUILD
[guessed
]
1390 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1391 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1395 if test -n "$ac_init_help"; then
1396 case $ac_init_help in
1397 short | recursive
) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1402 --disable-option-checking ignore unrecognized
--enable/--with options
1403 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1404 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1405 --enable-version-specific-runtime-libs
1406 specify that runtime libraries should be installed
1407 in a compiler-specific directory
1408 --enable-intermodule build the library
in one step
1409 --enable-maintainer-mode enable make rules and dependencies not useful
1410 (and sometimes confusing
) to the casual installer
1411 --enable-multilib build many library versions
(default
)
1412 --disable-dependency-tracking speeds up one-time build
1413 --enable-dependency-tracking do not reject slow dependency extractors
1414 --disable-symvers disable symbol versioning
for libgfortran
1415 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1416 --enable-static[=PKGS
] build static libraries
[default
=yes]
1417 --enable-fast-install[=PKGS
]
1418 optimize
for fast installation
[default
=yes]
1419 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1420 --disable-largefile omit support
for large files
1421 --disable-libquadmath-support
1422 disable libquadmath support
for Fortran
1425 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1426 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1427 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1428 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1430 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1431 --with-system-libunwind use installed libunwind
1433 Some influential environment variables
:
1434 CC C compiler
command
1435 CFLAGS C compiler flags
1436 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1437 nonstandard directory
<lib dir
>
1438 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1439 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1440 you have headers
in a nonstandard directory
<include dir
>
1442 FC Fortran compiler
command
1443 FCFLAGS Fortran compiler flags
1445 Use these variables to override the choices made by
`configure' or to help
1446 it to find libraries and programs with nonstandard names/locations.
1448 Report bugs to the package provider.
1449 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1450 General help using GNU software: <http://www.gnu.org/gethelp/>.
1455 if test "$ac_init_help" = "recursive"; then
1456 # If there are subdirs, report their specific --help.
1457 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1458 test -d "$ac_dir" ||
1459 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1464 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1466 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1467 # A ".." for each directory in $ac_dir_suffix.
1468 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1469 case $ac_top_builddir_sub in
1470 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1471 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1474 ac_abs_top_builddir=$ac_pwd
1475 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1476 # for backward compatibility:
1477 ac_top_builddir=$ac_top_build_prefix
1480 .) # We are building in place.
1482 ac_top_srcdir=$ac_top_builddir_sub
1483 ac_abs_top_srcdir=$ac_pwd ;;
1484 [\\/]* | ?:[\\/]* ) # Absolute name.
1485 ac_srcdir=$srcdir$ac_dir_suffix;
1486 ac_top_srcdir=$srcdir
1487 ac_abs_top_srcdir=$srcdir ;;
1489 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1490 ac_top_srcdir=$ac_top_build_prefix$srcdir
1491 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1493 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1495 cd "$ac_dir" || { ac_status=$?; continue; }
1496 # Check for guested configure.
1497 if test -f "$ac_srcdir/configure.gnu"; then
1499 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1500 elif test -f "$ac_srcdir/configure"; then
1502 $SHELL "$ac_srcdir/configure" --help=recursive
1504 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1506 cd "$ac_pwd" || { ac_status=$?; break; }
1510 test -n "$ac_init_help" && exit $ac_status
1511 if $ac_init_version; then
1513 GNU Fortran Runtime Library configure 0.3
1514 generated by GNU Autoconf 2.64
1516 Copyright (C) 2009 Free Software Foundation, Inc.
1517 This configure script is free software; the Free Software Foundation
1518 gives unlimited permission to copy, distribute and modify it.
1523 ## ------------------------ ##
1524 ## Autoconf initialization. ##
1525 ## ------------------------ ##
1527 # ac_fn_c_try_compile LINENO
1528 # --------------------------
1529 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1530 ac_fn_c_try_compile ()
1532 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1533 rm -f conftest.$ac_objext
1534 if { { ac_try="$ac_compile"
1536 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1537 *) ac_try_echo
=$ac_try;;
1539 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1540 $as_echo "$ac_try_echo"; } >&5
1541 (eval "$ac_compile") 2>conftest.err
1543 if test -s conftest.err
; then
1544 grep -v '^ *+' conftest.err
>conftest.er1
1545 cat conftest.er1
>&5
1546 mv -f conftest.er1 conftest.err
1548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1549 test $ac_status = 0; } && {
1550 test -z "$ac_c_werror_flag" ||
1551 test ! -s conftest.err
1552 } && test -s conftest.
$ac_objext; then :
1555 $as_echo "$as_me: failed program was:" >&5
1556 sed 's/^/| /' conftest.
$ac_ext >&5
1560 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1563 } # ac_fn_c_try_compile
1565 # ac_fn_c_try_cpp LINENO
1566 # ----------------------
1567 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1570 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1571 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1573 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1574 *) ac_try_echo=$ac_try;;
1576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1577 $as_echo "$ac_try_echo"; } >&5
1578 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1580 if test -s conftest.err; then
1581 grep -v '^ *+' conftest.err >conftest.er1
1582 cat conftest.er1 >&5
1583 mv -f conftest.er1 conftest.err
1585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1586 test $ac_status = 0; } >/dev/null && {
1587 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1588 test ! -s conftest.err
1592 $as_echo "$as_me: failed program was:" >&5
1593 sed 's/^/| /' conftest.$ac_ext >&5
1597 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1602 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1603 # -------------------------------------------------------
1604 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1605 # the include files in INCLUDES and setting the cache variable VAR
1607 ac_fn_c_check_header_mongrel ()
1609 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1610 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1612 $as_echo_n "checking for $2... " >&6; }
1613 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1614 $as_echo_n "(cached) " >&6
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1618 $as_echo "$ac_res" >&6; }
1620 # Is the header compilable?
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1622 $as_echo_n "checking $2 usability... " >&6; }
1623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1624 /* end confdefs.h. */
1628 if ac_fn_c_try_compile "$LINENO"; then :
1629 ac_header_compiler=yes
1631 ac_header_compiler=no
1633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1635 $as_echo "$ac_header_compiler" >&6; }
1637 # Is the header present?
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1639 $as_echo_n "checking $2 presence... " >&6; }
1640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1641 /* end confdefs.h. */
1644 if ac_fn_c_try_cpp "$LINENO"; then :
1645 ac_header_preproc=yes
1647 ac_header_preproc=no
1649 rm -f conftest.err conftest.$ac_ext
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1651 $as_echo "$ac_header_preproc" >&6; }
1653 # So? What about this header?
1654 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1657 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1659 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1663 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1665 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1667 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1669 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1671 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1675 $as_echo_n "checking for $2... " >&6; }
1676 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1677 $as_echo_n "(cached) " >&6
1679 eval "$3=\$ac_header_compiler"
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1683 $as_echo "$ac_res" >&6; }
1685 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1687 } # ac_fn_c_check_header_mongrel
1689 # ac_fn_c_try_run LINENO
1690 # ----------------------
1691 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1692 # that executables *can* be run.
1695 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696 if { { ac_try="$ac_link"
1698 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1699 *) ac_try_echo
=$ac_try;;
1701 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1702 $as_echo "$ac_try_echo"; } >&5
1703 (eval "$ac_link") 2>&5
1705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1707 { { case "(($ac_try" in
1708 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1709 *) ac_try_echo=$ac_try;;
1711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1712 $as_echo "$ac_try_echo"; } >&5
1713 (eval "$ac_try") 2>&5
1715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1716 test $ac_status = 0; }; }; then :
1719 $as_echo "$as_me: program exited with status $ac_status" >&5
1720 $as_echo "$as_me: failed program was:" >&5
1721 sed 's/^/| /' conftest.$ac_ext >&5
1723 ac_retval=$ac_status
1725 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1726 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1731 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1732 # -------------------------------------------------------
1733 # Tests whether HEADER exists and can be compiled using the include files in
1734 # INCLUDES, setting the cache variable VAR accordingly.
1735 ac_fn_c_check_header_compile ()
1737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1739 $as_echo_n "checking for $2... " >&6; }
1740 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1741 $as_echo_n "(cached) " >&6
1743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1744 /* end confdefs.h. */
1748 if ac_fn_c_try_compile "$LINENO"; then :
1753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1757 $as_echo "$ac_res" >&6; }
1758 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1760 } # ac_fn_c_check_header_compile
1762 # ac_fn_c_try_link LINENO
1763 # -----------------------
1764 # Try to link conftest.$ac_ext, and return whether this succeeded.
1767 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768 rm -f conftest.$ac_objext conftest$ac_exeext
1769 if { { ac_try="$ac_link"
1771 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1772 *) ac_try_echo
=$ac_try;;
1774 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776 (eval "$ac_link") 2>conftest.err
1778 if test -s conftest.err
; then
1779 grep -v '^ *+' conftest.err
>conftest.er1
1780 cat conftest.er1
>&5
1781 mv -f conftest.er1 conftest.err
1783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784 test $ac_status = 0; } && {
1785 test -z "$ac_c_werror_flag" ||
1786 test ! -s conftest.err
1787 } && test -s conftest
$ac_exeext && {
1788 test "$cross_compiling" = yes ||
1789 $as_test_x conftest
$ac_exeext
1793 $as_echo "$as_me: failed program was:" >&5
1794 sed 's/^/| /' conftest.
$ac_ext >&5
1798 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1799 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1800 # interfere with the next link command; also delete a directory that is
1801 # left behind by Apple's compiler. We do this before executing the actions.
1802 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1803 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1806 } # ac_fn_c_try_link
1808 # ac_fn_c_check_func LINENO FUNC VAR
1809 # ----------------------------------
1810 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1811 ac_fn_c_check_func
()
1813 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1815 $as_echo_n "checking for $2... " >&6; }
1816 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1817 $as_echo_n "(cached) " >&6
1819 if test x
$gcc_no_link = xyes
; then
1820 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1823 /* end confdefs.h. */
1824 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1826 #define $2 innocuous_$2
1828 /* System header to define __stub macros and hopefully few prototypes,
1829 which can conflict with char $2 (); below.
1830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1831 <limits.h> exists even on freestanding compilers. */
1834 # include <limits.h>
1836 # include <assert.h>
1841 /* Override any GCC internal prototype to avoid an error.
1842 Use char because int might match the return type of a GCC
1843 builtin and then its argument prototype would still apply. */
1848 /* The GNU C library defines this for functions which it implements
1849 to always fail with ENOSYS. Some functions are actually named
1850 something starting with __ and the normal name is an alias. */
1851 #if defined __stub_$2 || defined __stub___$2
1863 if ac_fn_c_try_link
"$LINENO"; then :
1868 rm -f core conftest.err conftest.
$ac_objext \
1869 conftest
$ac_exeext conftest.
$ac_ext
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1873 $as_echo "$ac_res" >&6; }
1874 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1876 } # ac_fn_c_check_func
1878 # ac_fn_fc_try_compile LINENO
1879 # ---------------------------
1880 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1881 ac_fn_fc_try_compile
()
1883 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1884 rm -f conftest.
$ac_objext
1885 if { { ac_try
="$ac_compile"
1887 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1888 *) ac_try_echo=$ac_try;;
1890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1891 $as_echo "$ac_try_echo"; } >&5
1892 (eval "$ac_compile") 2>conftest.err
1894 if test -s conftest.err; then
1895 grep -v '^ *+' conftest.err >conftest.er1
1896 cat conftest.er1 >&5
1897 mv -f conftest.er1 conftest.err
1899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1900 test $ac_status = 0; } && {
1901 test -z "$ac_fc_werror_flag" ||
1902 test ! -s conftest.err
1903 } && test -s conftest.$ac_objext; then :
1906 $as_echo "$as_me: failed program was:" >&5
1907 sed 's/^/| /' conftest.$ac_ext >&5
1911 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1914 } # ac_fn_fc_try_compile
1916 # ac_fn_fc_try_link LINENO
1917 # ------------------------
1918 # Try to link conftest.$ac_ext, and return whether this succeeded.
1919 ac_fn_fc_try_link ()
1921 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1922 rm -f conftest.$ac_objext conftest$ac_exeext
1923 if { { ac_try="$ac_link"
1925 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1926 *) ac_try_echo
=$ac_try;;
1928 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1929 $as_echo "$ac_try_echo"; } >&5
1930 (eval "$ac_link") 2>conftest.err
1932 if test -s conftest.err
; then
1933 grep -v '^ *+' conftest.err
>conftest.er1
1934 cat conftest.er1
>&5
1935 mv -f conftest.er1 conftest.err
1937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1938 test $ac_status = 0; } && {
1939 test -z "$ac_fc_werror_flag" ||
1940 test ! -s conftest.err
1941 } && test -s conftest
$ac_exeext && {
1942 test "$cross_compiling" = yes ||
1943 $as_test_x conftest
$ac_exeext
1947 $as_echo "$as_me: failed program was:" >&5
1948 sed 's/^/| /' conftest.
$ac_ext >&5
1952 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1953 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1954 # interfere with the next link command; also delete a directory that is
1955 # left behind by Apple's compiler. We do this before executing the actions.
1956 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1957 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1960 } # ac_fn_fc_try_link
1962 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1963 # -------------------------------------------
1964 # Tests whether TYPE exists after having included INCLUDES, setting cache
1965 # variable VAR accordingly.
1966 ac_fn_c_check_type
()
1968 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1970 $as_echo_n "checking for $2... " >&6; }
1971 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1972 $as_echo_n "(cached) " >&6
1975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1976 /* end confdefs.h. */
1987 if ac_fn_c_try_compile
"$LINENO"; then :
1988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1989 /* end confdefs.h. */
2000 if ac_fn_c_try_compile
"$LINENO"; then :
2005 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2007 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2011 $as_echo "$ac_res" >&6; }
2012 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2014 } # ac_fn_c_check_type
2016 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2017 # --------------------------------------------
2018 # Tries to find the compile-time value of EXPR in a program that includes
2019 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2021 ac_fn_c_compute_int
()
2023 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2024 if test "$cross_compiling" = yes; then
2025 # Depending upon the size, compute the lo and hi bounds.
2026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2027 /* end confdefs.h. */
2032 static int test_array [1 - 2 * !(($2) >= 0)];
2039 if ac_fn_c_try_compile
"$LINENO"; then :
2042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2043 /* end confdefs.h. */
2048 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2055 if ac_fn_c_try_compile
"$LINENO"; then :
2056 ac_hi
=$ac_mid; break
2058 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2059 if test $ac_lo -le $ac_mid; then
2063 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2069 /* end confdefs.h. */
2074 static int test_array [1 - 2 * !(($2) < 0)];
2081 if ac_fn_c_try_compile
"$LINENO"; then :
2084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2085 /* end confdefs.h. */
2090 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2097 if ac_fn_c_try_compile
"$LINENO"; then :
2098 ac_lo
=$ac_mid; break
2100 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2101 if test $ac_mid -le $ac_hi; then
2105 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2115 # Binary search between lo and hi bounds.
2116 while test "x$ac_lo" != "x$ac_hi"; do
2117 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2119 /* end confdefs.h. */
2124 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2131 if ac_fn_c_try_compile
"$LINENO"; then :
2134 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2136 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2139 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2144 /* end confdefs.h. */
2146 static long int longval () { return $2; }
2147 static unsigned long int ulongval () { return $2; }
2154 FILE *f = fopen ("conftest.val", "w");
2159 long int i = longval ();
2162 fprintf (f, "%ld", i);
2166 unsigned long int i = ulongval ();
2169 fprintf (f, "%lu", i);
2171 /* Do not output a trailing newline, as this causes \r\n confusion
2172 on some platforms. */
2173 return ferror (f) || fclose (f) != 0;
2179 if ac_fn_c_try_run
"$LINENO"; then :
2180 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2184 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2185 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2189 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2192 } # ac_fn_c_compute_int
2194 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2195 # ----------------------------------------------------
2196 # Tries to find if the field MEMBER exists in type AGGR, after including
2197 # INCLUDES, setting cache variable VAR accordingly.
2198 ac_fn_c_check_member
()
2200 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2202 $as_echo_n "checking for $2.$3... " >&6; }
2203 if { as_var
=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2204 $as_echo_n "(cached) " >&6
2206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2207 /* end confdefs.h. */
2219 if ac_fn_c_try_compile
"$LINENO"; then :
2222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2223 /* end confdefs.h. */
2229 if (sizeof ac_aggr.$3)
2235 if ac_fn_c_try_compile
"$LINENO"; then :
2240 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2242 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2246 $as_echo "$ac_res" >&6; }
2247 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2249 } # ac_fn_c_check_member
2250 cat >config.log
<<_ACEOF
2251 This file contains any messages produced by compilers while
2252 running configure, to aid debugging if configure makes a mistake.
2254 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2255 generated by GNU Autoconf 2.64. Invocation command line was
2267 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2268 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2269 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2270 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2271 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2273 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2274 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2276 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2277 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2278 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2279 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2280 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2281 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2282 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2290 test -z "$as_dir" && as_dir
=.
2291 $as_echo "PATH: $as_dir"
2307 # Keep a trace of the command line.
2308 # Strip out --no-create and --no-recursion so they do not pile up.
2309 # Strip out --silent because we don't want to record it for future runs.
2310 # Also quote any args containing shell meta-characters.
2311 # Make two passes to allow for proper duplicate-argument suppression.
2315 ac_must_keep_next
=false
2321 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2322 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2323 |
-silent |
--silent |
--silen |
--sile |
--sil)
2326 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2329 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2331 as_fn_append ac_configure_args1
" '$ac_arg'"
2332 if test $ac_must_keep_next = true
; then
2333 ac_must_keep_next
=false
# Got value, back to normal.
2336 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2337 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2338 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2339 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2340 case "$ac_configure_args0 " in
2341 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2344 -* ) ac_must_keep_next
=true
;;
2347 as_fn_append ac_configure_args
" '$ac_arg'"
2352 { ac_configure_args0
=; unset ac_configure_args0
;}
2353 { ac_configure_args1
=; unset ac_configure_args1
;}
2355 # When interrupted or exit'd, cleanup temporary files, and complete
2356 # config.log. We remove comments because anyway the quotes in there
2357 # would cause problems or look ugly.
2358 # WARNING: Use '\'' to represent an apostrophe within the trap.
2359 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2360 trap 'exit_status=$?
2361 # Save into config.log some information that might help in debugging.
2366 ## ---------------- ##
2367 ## Cache variables. ##
2368 ## ---------------- ##
2371 # The following way of writing the cache mishandles newlines in values,
2373 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2374 eval ac_val=\$$ac_var
2378 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2379 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2382 _ | IFS | as_nl) ;; #(
2383 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2384 *) { eval $ac_var=; unset $ac_var;} ;;
2389 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2390 *${as_nl}ac_space=\ *)
2392 "s/'\''/'\''\\\\'\'''\''/g;
2393 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2396 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2404 ## ----------------- ##
2405 ## Output variables. ##
2406 ## ----------------- ##
2409 for ac_var in $ac_subst_vars
2411 eval ac_val=\$$ac_var
2413 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2415 $as_echo "$ac_var='\''$ac_val'\''"
2419 if test -n "$ac_subst_files"; then
2421 ## ------------------- ##
2422 ## File substitutions. ##
2423 ## ------------------- ##
2426 for ac_var
in $ac_subst_files
2428 eval ac_val
=\$
$ac_var
2430 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2432 $as_echo "$ac_var='\''$ac_val'\''"
2437 if test -s confdefs.h; then
2447 test "$ac_signal" != 0 &&
2448 $as_echo "$as_me: caught signal $ac_signal"
2449 $as_echo "$as_me: exit $exit_status"
2451 rm -f core *.core core.conftest.* &&
2452 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2455 for ac_signal
in 1 2 13 15; do
2456 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2460 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2461 rm -f -r conftest
* confdefs.h
2463 $as_echo "/* confdefs.h */" > confdefs.h
2465 # Predefined preprocessor variables.
2467 cat >>confdefs.h
<<_ACEOF
2468 #define PACKAGE_NAME "$PACKAGE_NAME"
2471 cat >>confdefs.h
<<_ACEOF
2472 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2475 cat >>confdefs.h
<<_ACEOF
2476 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2479 cat >>confdefs.h
<<_ACEOF
2480 #define PACKAGE_STRING "$PACKAGE_STRING"
2483 cat >>confdefs.h
<<_ACEOF
2484 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2487 cat >>confdefs.h
<<_ACEOF
2488 #define PACKAGE_URL "$PACKAGE_URL"
2492 # Let the site file select an alternate cache file if it wants to.
2493 # Prefer an explicitly selected file to automatically selected ones.
2496 if test -n "$CONFIG_SITE"; then
2497 ac_site_file1
=$CONFIG_SITE
2498 elif test "x$prefix" != xNONE
; then
2499 ac_site_file1
=$prefix/share
/config.site
2500 ac_site_file2
=$prefix/etc
/config.site
2502 ac_site_file1
=$ac_default_prefix/share
/config.site
2503 ac_site_file2
=$ac_default_prefix/etc
/config.site
2505 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2507 test "x$ac_site_file" = xNONE
&& continue
2508 if test -r "$ac_site_file"; then
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2510 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2511 sed 's/^/| /' "$ac_site_file" >&5
2516 if test -r "$cache_file"; then
2517 # Some versions of bash will fail to source /dev/null (special
2518 # files actually), so we avoid doing that.
2519 if test -f "$cache_file"; then
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2521 $as_echo "$as_me: loading cache $cache_file" >&6;}
2523 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2524 *) .
"./$cache_file";;
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2529 $as_echo "$as_me: creating cache $cache_file" >&6;}
2533 as_fn_append ac_header_list
" unistd.h"
2534 as_fn_append ac_header_list
" sys/time.h"
2535 as_fn_append ac_header_list
" sys/times.h"
2536 as_fn_append ac_header_list
" sys/resource.h"
2537 as_fn_append ac_header_list
" sys/types.h"
2538 as_fn_append ac_header_list
" sys/stat.h"
2539 as_fn_append ac_header_list
" sys/wait.h"
2540 as_fn_append ac_header_list
" floatingpoint.h"
2541 as_fn_append ac_header_list
" ieeefp.h"
2542 as_fn_append ac_header_list
" fenv.h"
2543 as_fn_append ac_header_list
" fptrap.h"
2544 as_fn_append ac_header_list
" pwd.h"
2545 as_fn_append ac_header_list
" complex.h"
2546 as_fn_append ac_func_list
" getrusage"
2547 as_fn_append ac_func_list
" times"
2548 as_fn_append ac_func_list
" mkstemp"
2549 as_fn_append ac_func_list
" strtof"
2550 as_fn_append ac_func_list
" strtold"
2551 as_fn_append ac_func_list
" snprintf"
2552 as_fn_append ac_func_list
" ftruncate"
2553 as_fn_append ac_func_list
" chsize"
2554 as_fn_append ac_func_list
" chdir"
2555 as_fn_append ac_func_list
" getlogin"
2556 as_fn_append ac_func_list
" gethostname"
2557 as_fn_append ac_func_list
" kill"
2558 as_fn_append ac_func_list
" link"
2559 as_fn_append ac_func_list
" symlink"
2560 as_fn_append ac_func_list
" sleep"
2561 as_fn_append ac_func_list
" ttyname"
2562 as_fn_append ac_func_list
" alarm"
2563 as_fn_append ac_func_list
" access"
2564 as_fn_append ac_func_list
" fork"
2565 as_fn_append ac_func_list
" execl"
2566 as_fn_append ac_func_list
" wait"
2567 as_fn_append ac_func_list
" setmode"
2568 as_fn_append ac_func_list
" execve"
2569 as_fn_append ac_func_list
" pipe"
2570 as_fn_append ac_func_list
" dup2"
2571 as_fn_append ac_func_list
" close"
2572 as_fn_append ac_func_list
" strcasestr"
2573 as_fn_append ac_func_list
" getrlimit"
2574 as_fn_append ac_func_list
" gettimeofday"
2575 as_fn_append ac_func_list
" stat"
2576 as_fn_append ac_func_list
" fstat"
2577 as_fn_append ac_func_list
" lstat"
2578 as_fn_append ac_func_list
" getpwuid"
2579 as_fn_append ac_func_list
" vsnprintf"
2580 as_fn_append ac_func_list
" dup"
2581 as_fn_append ac_func_list
" getcwd"
2582 as_fn_append ac_func_list
" localtime_r"
2583 as_fn_append ac_func_list
" gmtime_r"
2584 as_fn_append ac_func_list
" getpwuid_r"
2585 as_fn_append ac_func_list
" ttyname_r"
2586 as_fn_append ac_func_list
" clock_gettime"
2587 as_fn_append ac_func_list
" readlink"
2588 as_fn_append ac_func_list
" getgid"
2589 as_fn_append ac_func_list
" getpid"
2590 as_fn_append ac_func_list
" getppid"
2591 as_fn_append ac_func_list
" getuid"
2592 as_fn_append ac_func_list
" geteuid"
2593 as_fn_append ac_func_list
" umask"
2594 as_fn_append ac_func_list
" getegid"
2595 as_fn_append ac_func_list
" __secure_getenv"
2596 as_fn_append ac_header_list
" math.h"
2597 # Check that the precious variables saved in the cache have kept the same
2599 ac_cache_corrupted
=false
2600 for ac_var
in $ac_precious_vars; do
2601 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2602 eval ac_new_set
=\
$ac_env_${ac_var}_set
2603 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2604 eval ac_new_val
=\
$ac_env_${ac_var}_value
2605 case $ac_old_set,$ac_new_set in
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2608 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2609 ac_cache_corrupted
=: ;;
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2612 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2613 ac_cache_corrupted
=: ;;
2616 if test "x$ac_old_val" != "x$ac_new_val"; then
2617 # differences in whitespace do not lead to failure.
2618 ac_old_val_w
=`echo x $ac_old_val`
2619 ac_new_val_w
=`echo x $ac_new_val`
2620 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2622 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2623 ac_cache_corrupted
=:
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2626 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2627 eval $ac_var=\
$ac_old_val
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2630 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2632 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2635 # Pass precious variables to config.status.
2636 if test "$ac_new_set" = set; then
2638 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2639 *) ac_arg
=$ac_var=$ac_new_val ;;
2641 case " $ac_configure_args " in
2642 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2643 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2647 if $ac_cache_corrupted; then
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2649 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2651 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2652 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2654 ## -------------------- ##
2655 ## Main body of script. ##
2656 ## -------------------- ##
2659 ac_cpp
='$CPP $CPPFLAGS'
2660 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2661 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2662 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2668 ac_config_headers
="$ac_config_headers config.h"
2671 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2672 for ac_t
in install-sh
install.sh shtool
; do
2673 if test -f "$ac_dir/$ac_t"; then
2675 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2680 if test -z "$ac_aux_dir"; then
2681 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2684 # These three variables are undocumented and unsupported,
2685 # and are intended to be withdrawn in a future Autoconf release.
2686 # They can cause serious problems if a builder's source tree is in a directory
2687 # whose full name contains unusual characters.
2688 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2689 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2690 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2693 # Make sure we can run config.sub.
2694 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2695 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2698 $as_echo_n "checking build system type... " >&6; }
2699 if test "${ac_cv_build+set}" = set; then :
2700 $as_echo_n "(cached) " >&6
2702 ac_build_alias
=$build_alias
2703 test "x$ac_build_alias" = x
&&
2704 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2705 test "x$ac_build_alias" = x
&&
2706 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2707 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2708 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2712 $as_echo "$ac_cv_build" >&6; }
2713 case $ac_cv_build in
2715 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2718 ac_save_IFS
=$IFS; IFS
='-'
2724 # Remember, the first character of IFS is used to create $*,
2725 # except with old shells:
2728 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2731 case ${build_alias} in
2732 "") build_noncanonical
=${build} ;;
2733 *) build_noncanonical
=${build_alias} ;;
2736 case ${host_alias} in
2737 "") host_noncanonical
=${build_noncanonical} ;;
2738 *) host_noncanonical
=${host_alias} ;;
2741 case ${target_alias} in
2742 "") target_noncanonical
=${host_noncanonical} ;;
2743 *) target_noncanonical
=${target_alias} ;;
2747 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2748 # have matching libraries, they should use host libraries: Makefile.tpl
2749 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2750 # However, they still use the build modules, because the corresponding
2751 # host modules (e.g. bison) are only built for the host when bootstrap
2753 # - build_subdir is where we find build modules, and never changes.
2754 # - build_libsubdir is where we find build libraries, and can be overridden.
2756 # Prefix 'build-' so this never conflicts with target_subdir.
2757 build_subdir
="build-${build_noncanonical}"
2759 # Check whether --with-build-libsubdir was given.
2760 if test "${with_build_libsubdir+set}" = set; then :
2761 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2763 build_libsubdir
="$build_subdir"
2766 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2767 if ( test $srcdir = .
&& test -d gcc
) \
2768 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2769 host_subdir
="host-${host_noncanonical}"
2774 target_subdir
=${target_noncanonical}
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2782 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2783 # Check whether --enable-version-specific-runtime-libs was given.
2784 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2785 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2786 yes) version_specific_libs
=yes ;;
2787 no
) version_specific_libs
=no
;;
2788 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2791 version_specific_libs
=no
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2795 $as_echo "$version_specific_libs" >&6; }
2797 # Build with intermodule optimisations
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2799 $as_echo_n "checking for --enable-intermodule... " >&6; }
2800 # Check whether --enable-intermodule was given.
2801 if test "${enable_intermodule+set}" = set; then :
2802 enableval
=$enable_intermodule; case "$enable_intermodule" in
2803 yes) onestep
="-onestep";;
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2811 $as_echo "$enable_intermodule" >&6; }
2812 if test x
$onestep = x-onestep
; then
2822 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2824 # You will slowly go insane if you do not grok the following fact: when
2825 # building this library, the top-level /target/ becomes the library's /host/.
2827 # configure then causes --target to default to --host, exactly like any
2828 # other package using autoconf. Therefore, 'target' and 'host' will
2829 # always be the same. This makes sense both for native and cross compilers
2830 # just think about it for a little while. :-)
2832 # Also, if this library is being configured as part of a cross compiler, the
2833 # top-level configure script will pass the "real" host as $with_cross_host.
2835 # Do not delete or change the following two lines. For why, see
2836 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2838 $as_echo_n "checking host system type... " >&6; }
2839 if test "${ac_cv_host+set}" = set; then :
2840 $as_echo_n "(cached) " >&6
2842 if test "x$host_alias" = x
; then
2843 ac_cv_host
=$ac_cv_build
2845 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2846 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2851 $as_echo "$ac_cv_host" >&6; }
2854 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2857 ac_save_IFS
=$IFS; IFS
='-'
2863 # Remember, the first character of IFS is used to create $*,
2864 # except with old shells:
2867 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2871 $as_echo_n "checking target system type... " >&6; }
2872 if test "${ac_cv_target+set}" = set; then :
2873 $as_echo_n "(cached) " >&6
2875 if test "x$target_alias" = x
; then
2876 ac_cv_target
=$ac_cv_host
2878 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2879 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2884 $as_echo "$ac_cv_target" >&6; }
2885 case $ac_cv_target in
2887 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2889 target
=$ac_cv_target
2890 ac_save_IFS
=$IFS; IFS
='-'
2896 # Remember, the first character of IFS is used to create $*,
2897 # except with old shells:
2900 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2903 # The aliases save the names the user supplied, while $host etc.
2904 # will get canonicalized.
2905 test -n "$target_alias" &&
2906 test "$program_prefix$program_suffix$program_transform_name" = \
2908 program_prefix
=${target_alias}-
2913 target_alias
=${target_alias-$host_alias}
2916 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2917 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2918 # 1.9.6: minimum required version
2919 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2920 # of other PACKAGE_* variables will, however, and there's nothing
2921 # we can do about that; they come from AC_INIT).
2922 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2923 # file in the top srcdir, etc, etc), so stop complaining.
2924 # no-dist: we don't want 'dist' and related rules.
2925 # -Wall: turns on all automake warnings...
2926 # -Wno-portability: ...except this one, since GNU make is required.
2927 am__api_version
='1.11'
2929 # Find a good install program. We prefer a C program (faster),
2930 # so one script is as good as another. But avoid the broken or
2931 # incompatible versions:
2932 # SysV /etc/install, /usr/sbin/install
2933 # SunOS /usr/etc/install
2934 # IRIX /sbin/install
2936 # AmigaOS /C/install, which installs bootblocks on floppy discs
2937 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2938 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2939 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2940 # OS/2's system install, which has a completely different semantic
2941 # ./install, which can be erroneously created by make from ./install.sh.
2942 # Reject install programs that cannot install multiple files.
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2944 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2945 if test -z "$INSTALL"; then
2946 if test "${ac_cv_path_install+set}" = set; then :
2947 $as_echo_n "(cached) " >&6
2949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2953 test -z "$as_dir" && as_dir
=.
2954 # Account for people who put trailing slashes in PATH elements.
2955 case $as_dir/ in #((
2956 .
/ | .
// |
/[cC
]/* | \
2957 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2958 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2961 # OSF1 and SCO ODT 3.0 have their own names for install.
2962 # Don't use installbsd from OSF since it installs stuff as root
2964 for ac_prog
in ginstall scoinst
install; do
2965 for ac_exec_ext
in '' $ac_executable_extensions; do
2966 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2967 if test $ac_prog = install &&
2968 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2969 # AIX install. It has an incompatible calling convention.
2971 elif test $ac_prog = install &&
2972 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2973 # program-specific install script used by HP pwplus--don't use.
2976 rm -rf conftest.one conftest.two conftest.dir
2977 echo one
> conftest.one
2978 echo two
> conftest.two
2980 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2981 test -s conftest.one
&& test -s conftest.two
&&
2982 test -s conftest.dir
/conftest.one
&&
2983 test -s conftest.dir
/conftest.two
2985 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2998 rm -rf conftest.one conftest.two conftest.dir
3001 if test "${ac_cv_path_install+set}" = set; then
3002 INSTALL
=$ac_cv_path_install
3004 # As a last resort, use the slow shell script. Don't cache a
3005 # value for INSTALL within a source directory, because that will
3006 # break other packages using the cache if that directory is
3007 # removed, or if the value is a relative name.
3008 INSTALL
=$ac_install_sh
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3012 $as_echo "$INSTALL" >&6; }
3014 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3015 # It thinks the first close brace ends the variable substitution.
3016 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3018 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3020 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3023 $as_echo_n "checking whether build environment is sane... " >&6; }
3026 echo timestamp
> conftest.
file
3027 # Reject unsafe characters in $srcdir or the absolute working directory
3028 # name. Accept space and tab only in the latter.
3032 *[\\\"\
#\$\&\'\`$am_lf]*)
3033 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3036 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3037 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3040 # Do `set' in a subshell so we don't clobber the current shell's
3041 # arguments. Must try -L first in case configure is actually a
3042 # symlink; some systems play weird games with the mod time of symlinks
3043 # (eg FreeBSD returns the mod time of the symlink's containing
3046 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3047 if test "$*" = "X"; then
3049 set X
`ls -t "$srcdir/configure" conftest.file`
3052 if test "$*" != "X $srcdir/configure conftest.file" \
3053 && test "$*" != "X conftest.file $srcdir/configure"; then
3055 # If neither matched, then we have a broken ls. This can happen
3056 # if, for instance, CONFIG_SHELL is bash and it inherits a
3057 # broken ls alias from the environment. This has actually
3058 # happened. Such a system could not be considered "sane".
3059 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3060 alias in your environment" "$LINENO" 5
3063 test "$2" = conftest.
file
3069 as_fn_error
"newly created file is older than distributed files!
3070 Check your system clock" "$LINENO" 5
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3073 $as_echo "yes" >&6; }
3074 test "$program_prefix" != NONE
&&
3075 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3076 # Use a double $ so make ignores it.
3077 test "$program_suffix" != NONE
&&
3078 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3079 # Double any \ or $.
3080 # By default was `s,x,x', remove it if useless.
3081 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3082 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3084 # expand $ac_aux_dir to an absolute path
3085 am_aux_dir
=`cd $ac_aux_dir && pwd`
3087 if test x
"${MISSING+set}" != xset
; then
3090 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3092 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3095 # Use eval to expand $SHELL
3096 if eval "$MISSING --run true"; then
3097 am_missing_run
="$MISSING --run "
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3101 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3104 if test x
"${install_sh}" != xset
; then
3107 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3109 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3113 # Installed binaries are usually stripped using `strip' when the user
3114 # run `make install-strip'. However `strip' might not be the right
3115 # tool to use in cross-compilation environments, therefore Automake
3116 # will honor the `STRIP' environment variable to overrule this program.
3117 if test "$cross_compiling" != no
; then
3118 if test -n "$ac_tool_prefix"; then
3119 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3120 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3122 $as_echo_n "checking for $ac_word... " >&6; }
3123 if test "${ac_cv_prog_STRIP+set}" = set; then :
3124 $as_echo_n "(cached) " >&6
3126 if test -n "$STRIP"; then
3127 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3133 test -z "$as_dir" && as_dir
=.
3134 for ac_exec_ext
in '' $ac_executable_extensions; do
3135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3136 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3146 STRIP
=$ac_cv_prog_STRIP
3147 if test -n "$STRIP"; then
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3149 $as_echo "$STRIP" >&6; }
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3152 $as_echo "no" >&6; }
3157 if test -z "$ac_cv_prog_STRIP"; then
3159 # Extract the first word of "strip", so it can be a program name with args.
3160 set dummy strip
; ac_word
=$2
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3162 $as_echo_n "checking for $ac_word... " >&6; }
3163 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3164 $as_echo_n "(cached) " >&6
3166 if test -n "$ac_ct_STRIP"; then
3167 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3173 test -z "$as_dir" && as_dir
=.
3174 for ac_exec_ext
in '' $ac_executable_extensions; do
3175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3176 ac_cv_prog_ac_ct_STRIP
="strip"
3177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3186 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3187 if test -n "$ac_ct_STRIP"; then
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3189 $as_echo "$ac_ct_STRIP" >&6; }
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3192 $as_echo "no" >&6; }
3195 if test "x$ac_ct_STRIP" = x
; then
3198 case $cross_compiling:$ac_tool_warned in
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3201 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3202 ac_tool_warned
=yes ;;
3207 STRIP
="$ac_cv_prog_STRIP"
3211 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3214 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3215 if test -z "$MKDIR_P"; then
3216 if test "${ac_cv_path_mkdir+set}" = set; then :
3217 $as_echo_n "(cached) " >&6
3219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3220 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3223 test -z "$as_dir" && as_dir
=.
3224 for ac_prog
in mkdir gmkdir
; do
3225 for ac_exec_ext
in '' $ac_executable_extensions; do
3226 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3227 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3228 'mkdir (GNU coreutils) '* | \
3229 'mkdir (coreutils) '* | \
3230 'mkdir (fileutils) '4.1*)
3231 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3241 if test "${ac_cv_path_mkdir+set}" = set; then
3242 MKDIR_P
="$ac_cv_path_mkdir -p"
3244 # As a last resort, use the slow shell script. Don't cache a
3245 # value for MKDIR_P within a source directory, because that will
3246 # break other packages using the cache if that directory is
3247 # removed, or if the value is a relative name.
3248 test -d .
/--version && rmdir .
/--version
3249 MKDIR_P
="$ac_install_sh -d"
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3253 $as_echo "$MKDIR_P" >&6; }
3257 [\\/$
]* | ?
:[\\/]*) ;;
3258 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3261 for ac_prog
in gawk mawk nawk
awk
3263 # Extract the first word of "$ac_prog", so it can be a program name with args.
3264 set dummy
$ac_prog; ac_word
=$2
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3266 $as_echo_n "checking for $ac_word... " >&6; }
3267 if test "${ac_cv_prog_AWK+set}" = set; then :
3268 $as_echo_n "(cached) " >&6
3270 if test -n "$AWK"; then
3271 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3277 test -z "$as_dir" && as_dir
=.
3278 for ac_exec_ext
in '' $ac_executable_extensions; do
3279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3280 ac_cv_prog_AWK
="$ac_prog"
3281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3291 if test -n "$AWK"; then
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3293 $as_echo "$AWK" >&6; }
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3296 $as_echo "no" >&6; }
3300 test -n "$AWK" && break
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3304 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3306 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3307 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3308 $as_echo_n "(cached) " >&6
3310 cat >conftest.
make <<\_ACEOF
3313 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3315 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3316 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3318 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3320 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3324 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3326 $as_echo "yes" >&6; }
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3330 $as_echo "no" >&6; }
3331 SET_MAKE
="MAKE=${MAKE-make}"
3334 rm -rf .tst
2>/dev
/null
3335 mkdir .tst
2>/dev
/null
3336 if test -d .tst
; then
3341 rmdir .tst
2>/dev
/null
3343 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3344 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3345 # is not polluted with repeated "-I."
3346 am__isrc
=' -I$(srcdir)'
3347 # test to see if srcdir already configured
3348 if test -f $srcdir/config.status
; then
3349 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3353 # test whether we have cygpath
3354 if test -z "$CYGPATH_W"; then
3355 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3356 CYGPATH_W
='cygpath -w'
3363 # Define the identity of the package.
3364 PACKAGE
='libgfortran'
3368 # Some tools Automake needs.
3370 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3373 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3376 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3379 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3382 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3384 # We need awk for the "check" target. The system "awk" is bad on
3386 # Always define AMTAR for backward compatibility.
3388 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3390 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3399 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3400 # Check whether --enable-maintainer-mode was given.
3401 if test "${enable_maintainer_mode+set}" = set; then :
3402 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3404 USE_MAINTAINER_MODE
=no
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3408 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3409 if test $USE_MAINTAINER_MODE = yes; then
3410 MAINTAINER_MODE_TRUE
=
3411 MAINTAINER_MODE_FALSE
='#'
3413 MAINTAINER_MODE_TRUE
='#'
3414 MAINTAINER_MODE_FALSE
=
3417 MAINT
=$MAINTAINER_MODE_TRUE
3420 # Default to --enable-multilib
3421 # Check whether --enable-multilib was given.
3422 if test "${enable_multilib+set}" = set; then :
3423 enableval
=$enable_multilib; case "$enableval" in
3424 yes) multilib
=yes ;;
3426 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3433 # We may get other options which we leave undocumented:
3434 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3435 # See config-ml.in if you want the gory details.
3437 if test "$srcdir" = "."; then
3438 if test "$with_target_subdir" != "."; then
3439 multi_basedir
="$srcdir/$with_multisrctop../.."
3441 multi_basedir
="$srcdir/$with_multisrctop.."
3444 multi_basedir
="$srcdir/.."
3448 # Even if the default multilib is not a cross compilation,
3449 # it may be that some of the other multilibs are.
3450 if test $cross_compiling = no
&& test $multilib = yes \
3451 && test "x${with_multisubdir}" != x
; then
3452 cross_compiling
=maybe
3455 ac_config_commands
="$ac_config_commands default-1"
3458 # Handy for debugging:
3459 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3461 # Are we being configured with some form of cross compiler?
3462 # NB: We don't actually need to know this just now, but when, say, a test
3463 # suite is included, we'll have to know.
3464 if test "$build" != "$host"; then
3465 LIBGFOR_IS_NATIVE
=false
3468 LIBGFOR_IS_NATIVE
=true
3471 DEPDIR
="${am__leading_dot}deps"
3473 ac_config_commands
="$ac_config_commands depfiles"
3476 am_make
=${MAKE-make}
3477 cat > confinc
<< 'END'
3479 @
echo this is the am__doit target
3482 # If we don't find an include directive, just comment out the code.
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3484 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3488 # First try GNU make style include.
3489 echo "include confinc" > confmf
3490 # Ignore all kinds of additional output from `make'.
3491 case `$am_make -s -f confmf 2> /dev/null` in #(
3492 *the\ am__doit\ target
*)
3498 # Now try BSD make style include.
3499 if test "$am__include" = "#"; then
3500 echo '.include "confinc"' > confmf
3501 case `$am_make -s -f confmf 2> /dev/null` in #(
3502 *the\ am__doit\ target
*)
3503 am__include
=.include
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3512 $as_echo "$_am_result" >&6; }
3513 rm -f confinc confmf
3515 # Check whether --enable-dependency-tracking was given.
3516 if test "${enable_dependency_tracking+set}" = set; then :
3517 enableval
=$enable_dependency_tracking;
3520 if test "x$enable_dependency_tracking" != xno
; then
3521 am_depcomp
="$ac_aux_dir/depcomp"
3524 if test "x$enable_dependency_tracking" != xno; then
3534 ac_cpp
='$CPP $CPPFLAGS'
3535 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3536 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3537 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3538 if test -n "$ac_tool_prefix"; then
3539 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3540 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3542 $as_echo_n "checking for $ac_word... " >&6; }
3543 if test "${ac_cv_prog_CC+set}" = set; then :
3544 $as_echo_n "(cached) " >&6
3546 if test -n "$CC"; then
3547 ac_cv_prog_CC
="$CC" # Let the user override the test.
3549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3553 test -z "$as_dir" && as_dir
=.
3554 for ac_exec_ext
in '' $ac_executable_extensions; do
3555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3556 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3567 if test -n "$CC"; then
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3569 $as_echo "$CC" >&6; }
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3572 $as_echo "no" >&6; }
3577 if test -z "$ac_cv_prog_CC"; then
3579 # Extract the first word of "gcc", so it can be a program name with args.
3580 set dummy gcc
; ac_word
=$2
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3582 $as_echo_n "checking for $ac_word... " >&6; }
3583 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3584 $as_echo_n "(cached) " >&6
3586 if test -n "$ac_ct_CC"; then
3587 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3593 test -z "$as_dir" && as_dir
=.
3594 for ac_exec_ext
in '' $ac_executable_extensions; do
3595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3596 ac_cv_prog_ac_ct_CC
="gcc"
3597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3606 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3607 if test -n "$ac_ct_CC"; then
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3609 $as_echo "$ac_ct_CC" >&6; }
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3612 $as_echo "no" >&6; }
3615 if test "x$ac_ct_CC" = x
; then
3618 case $cross_compiling:$ac_tool_warned in
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3622 ac_tool_warned
=yes ;;
3630 if test -z "$CC"; then
3631 if test -n "$ac_tool_prefix"; then
3632 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3633 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3635 $as_echo_n "checking for $ac_word... " >&6; }
3636 if test "${ac_cv_prog_CC+set}" = set; then :
3637 $as_echo_n "(cached) " >&6
3639 if test -n "$CC"; then
3640 ac_cv_prog_CC
="$CC" # Let the user override the test.
3642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3646 test -z "$as_dir" && as_dir
=.
3647 for ac_exec_ext
in '' $ac_executable_extensions; do
3648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3649 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3660 if test -n "$CC"; then
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3662 $as_echo "$CC" >&6; }
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3665 $as_echo "no" >&6; }
3671 if test -z "$CC"; then
3672 # Extract the first word of "cc", so it can be a program name with args.
3673 set dummy cc
; ac_word
=$2
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3675 $as_echo_n "checking for $ac_word... " >&6; }
3676 if test "${ac_cv_prog_CC+set}" = set; then :
3677 $as_echo_n "(cached) " >&6
3679 if test -n "$CC"; then
3680 ac_cv_prog_CC
="$CC" # Let the user override the test.
3683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3687 test -z "$as_dir" && as_dir
=.
3688 for ac_exec_ext
in '' $ac_executable_extensions; do
3689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3690 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3691 ac_prog_rejected
=yes
3695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3702 if test $ac_prog_rejected = yes; then
3703 # We found a bogon in the path, so make sure we never use it.
3704 set dummy
$ac_cv_prog_CC
3706 if test $# != 0; then
3707 # We chose a different compiler from the bogus one.
3708 # However, it has the same basename, so the bogon will be chosen
3709 # first if we set CC to just the basename; use the full file name.
3711 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3717 if test -n "$CC"; then
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3719 $as_echo "$CC" >&6; }
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3722 $as_echo "no" >&6; }
3727 if test -z "$CC"; then
3728 if test -n "$ac_tool_prefix"; then
3729 for ac_prog
in cl.exe
3731 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3732 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3734 $as_echo_n "checking for $ac_word... " >&6; }
3735 if test "${ac_cv_prog_CC+set}" = set; then :
3736 $as_echo_n "(cached) " >&6
3738 if test -n "$CC"; then
3739 ac_cv_prog_CC
="$CC" # Let the user override the test.
3741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3745 test -z "$as_dir" && as_dir
=.
3746 for ac_exec_ext
in '' $ac_executable_extensions; do
3747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3748 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3759 if test -n "$CC"; then
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3761 $as_echo "$CC" >&6; }
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3764 $as_echo "no" >&6; }
3768 test -n "$CC" && break
3771 if test -z "$CC"; then
3773 for ac_prog
in cl.exe
3775 # Extract the first word of "$ac_prog", so it can be a program name with args.
3776 set dummy
$ac_prog; ac_word
=$2
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3778 $as_echo_n "checking for $ac_word... " >&6; }
3779 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3780 $as_echo_n "(cached) " >&6
3782 if test -n "$ac_ct_CC"; then
3783 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3789 test -z "$as_dir" && as_dir
=.
3790 for ac_exec_ext
in '' $ac_executable_extensions; do
3791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3792 ac_cv_prog_ac_ct_CC
="$ac_prog"
3793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3802 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3803 if test -n "$ac_ct_CC"; then
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3805 $as_echo "$ac_ct_CC" >&6; }
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3808 $as_echo "no" >&6; }
3812 test -n "$ac_ct_CC" && break
3815 if test "x$ac_ct_CC" = x
; then
3818 case $cross_compiling:$ac_tool_warned in
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3822 ac_tool_warned
=yes ;;
3831 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3833 as_fn_error
"no acceptable C compiler found in \$PATH
3834 See \`config.log' for more details." "$LINENO" 5; }
3836 # Provide some information about the compiler.
3837 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3840 for ac_option
in --version -v -V -qversion; do
3841 { { ac_try
="$ac_compiler $ac_option >&5"
3843 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3844 *) ac_try_echo=$ac_try;;
3846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3847 $as_echo "$ac_try_echo"; } >&5
3848 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3850 if test -s conftest.err; then
3852 ... rest of stderr output deleted ...
3853 10q' conftest.err >conftest.er1
3854 cat conftest.er1 >&5
3855 rm -f conftest.er1 conftest.err
3857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3858 test $ac_status = 0; }
3861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3862 /* end confdefs.h. */
3873 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3874 (eval $ac_link) 2>&5
3876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3877 test $ac_status = 0; }; then :
3882 if test x$gcc_no_link = xyes; then
3883 # Setting cross_compile will disable run tests; it will
3884 # also disable AC_CHECK_FILE but that's generally
3885 # correct if we can't link.
3889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3890 /* end confdefs.h. */
3900 ac_clean_files_save=$ac_clean_files
3901 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3902 # Try to create an executable without -o first, disregard a.out.
3903 # It will help us diagnose broken compilers, and finding out an intuition
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3906 $as_echo_n "checking for C compiler default output file name... " >&6; }
3907 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3909 # The possible output files:
3910 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3913 for ac_file in $ac_files
3916 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3917 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3922 if { { ac_try="$ac_link_default"
3924 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3925 *) ac_try_echo
=$ac_try;;
3927 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3928 $as_echo "$ac_try_echo"; } >&5
3929 (eval "$ac_link_default") 2>&5
3931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3932 test $ac_status = 0; }; then :
3933 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3934 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3935 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3936 # so that the user can short-circuit this test for compilers unknown to
3938 for ac_file
in $ac_files ''
3940 test -f "$ac_file" ||
continue
3942 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3945 # We found the default executable, but exeext='' is most
3949 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3951 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3953 # We set ac_cv_exeext here because the later test for it is not
3954 # safe: cross compilers may not add the suffix if given an `-o'
3955 # argument, so we may need to know it at that point already.
3956 # Even if this section looks crufty: it has the advantage of
3963 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3969 $as_echo "$ac_file" >&6; }
3970 if test -z "$ac_file"; then :
3971 $as_echo "$as_me: failed program was:" >&5
3972 sed 's/^/| /' conftest.
$ac_ext >&5
3974 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3975 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3976 { as_fn_set_status
77
3977 as_fn_error
"C compiler cannot create executables
3978 See \`config.log' for more details." "$LINENO" 5; }; }
3980 ac_exeext
=$ac_cv_exeext
3982 # Check that the compiler produces executables we can run. If not, either
3983 # the compiler is broken, or we cross compile.
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3985 $as_echo_n "checking whether the C compiler works... " >&6; }
3986 # If not cross compiling, check that we can run a simple program.
3987 if test "$cross_compiling" != yes; then
3988 if { ac_try
='./$ac_file'
3989 { { case "(($ac_try" in
3990 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3991 *) ac_try_echo=$ac_try;;
3993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3994 $as_echo "$ac_try_echo"; } >&5
3995 (eval "$ac_try") 2>&5
3997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3998 test $ac_status = 0; }; }; then
4001 if test "$cross_compiling" = maybe; then
4004 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4006 as_fn_error "cannot run C compiled programs.
4007 If you meant to cross compile
, use \
`--host'.
4008 See \`config.log
' for more details." "$LINENO" 5; }
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4013 $as_echo "yes" >&6; }
4015 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4016 ac_clean_files=$ac_clean_files_save
4017 # Check that the compiler produces executables we can run. If not, either
4018 # the compiler is broken, or we cross compile.
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4020 $as_echo_n "checking whether we are cross compiling... " >&6; }
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4022 $as_echo "$cross_compiling" >&6; }
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4025 $as_echo_n "checking for suffix of executables... " >&6; }
4026 if { { ac_try="$ac_link"
4028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4029 *) ac_try_echo=$ac_try;;
4031 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4032 $as_echo "$ac_try_echo"; } >&5
4033 (eval "$ac_link") 2>&5
4035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4036 test $ac_status = 0; }; then :
4037 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4038 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4039 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4041 for ac_file
in conftest.exe conftest conftest.
*; do
4042 test -f "$ac_file" ||
continue
4044 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4045 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4051 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4052 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4053 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4054 See \`config.log' for more details." "$LINENO" 5; }
4056 rm -f conftest
$ac_cv_exeext
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4058 $as_echo "$ac_cv_exeext" >&6; }
4060 rm -f conftest.
$ac_ext
4061 EXEEXT
=$ac_cv_exeext
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4065 $as_echo_n "checking for suffix of object files... " >&6; }
4066 if test "${ac_cv_objext+set}" = set; then :
4067 $as_echo_n "(cached) " >&6
4069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4070 /* end confdefs.h. */
4080 rm -f conftest.o conftest.obj
4081 if { { ac_try
="$ac_compile"
4083 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4084 *) ac_try_echo=$ac_try;;
4086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4087 $as_echo "$ac_try_echo"; } >&5
4088 (eval "$ac_compile") 2>&5
4090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4091 test $ac_status = 0; }; then :
4092 for ac_file in conftest.o conftest.obj conftest.*; do
4093 test -f "$ac_file" || continue;
4095 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4096 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4101 $as_echo "$as_me: failed program was:" >&5
4102 sed 's/^/| /' conftest.$ac_ext >&5
4104 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4106 as_fn_error "cannot compute suffix of object files
: cannot compile
4107 See \
`config.log' for more details." "$LINENO" 5; }
4109 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4112 $as_echo "$ac_cv_objext" >&6; }
4113 OBJEXT=$ac_cv_objext
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4116 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4117 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4118 $as_echo_n "(cached) " >&6
4120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4121 /* end confdefs.h. */
4134 if ac_fn_c_try_compile "$LINENO"; then :
4139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4140 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4144 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4145 if test $ac_compiler_gnu = yes; then
4150 ac_test_CFLAGS=${CFLAGS+set}
4151 ac_save_CFLAGS=$CFLAGS
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4153 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4154 if test "${ac_cv_prog_cc_g+set}" = set; then :
4155 $as_echo_n "(cached) " >&6
4157 ac_save_c_werror_flag=$ac_c_werror_flag
4158 ac_c_werror_flag=yes
4161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4162 /* end confdefs.h. */
4172 if ac_fn_c_try_compile "$LINENO"; then :
4176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4177 /* end confdefs.h. */
4187 if ac_fn_c_try_compile "$LINENO"; then :
4190 ac_c_werror_flag=$ac_save_c_werror_flag
4192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4193 /* end confdefs.h. */
4203 if ac_fn_c_try_compile "$LINENO"; then :
4206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4211 ac_c_werror_flag=$ac_save_c_werror_flag
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4214 $as_echo "$ac_cv_prog_cc_g" >&6; }
4215 if test "$ac_test_CFLAGS" = set; then
4216 CFLAGS=$ac_save_CFLAGS
4217 elif test $ac_cv_prog_cc_g = yes; then
4218 if test "$GCC" = yes; then
4224 if test "$GCC" = yes; then
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4231 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4232 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4233 $as_echo_n "(cached) " >&6
4235 ac_cv_prog_cc_c89=no
4237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4238 /* end confdefs.h. */
4241 #include <sys/types.h>
4242 #include <sys/stat.h>
4243 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4244 struct buf { int x; };
4245 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4246 static char *e (p, i)
4252 static char *f (char * (*g) (char **, int), char **p, ...)
4257 s = g (p, va_arg (v,int));
4262 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4263 function prototypes and stuff, but not '\xHH' hex character constants.
4264 These don't provoke an error unfortunately, instead are silently treated
4265 as 'x'. The following induces an error, until -std is added to get
4266 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4267 array size at least. It's necessary to write '\x00'==0 to get something
4268 that's true only with -std. */
4269 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4271 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4272 inside strings and character constants. */
4274 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4276 int test (int i, double x);
4277 struct s1 {int (*f) (int a);};
4278 struct s2 {int (*f) (double a);};
4279 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4285 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4290 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4291 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4293 CC="$ac_save_CC $ac_arg"
4294 if ac_fn_c_try_compile "$LINENO"; then :
4295 ac_cv_prog_cc_c89=$ac_arg
4297 rm -f core conftest.err conftest.$ac_objext
4298 test "x$ac_cv_prog_cc_c89" != "xno" && break
4300 rm -f conftest.$ac_ext
4305 case "x$ac_cv_prog_cc_c89" in
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4308 $as_echo "none needed" >&6; } ;;
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4311 $as_echo "unsupported" >&6; } ;;
4313 CC="$CC $ac_cv_prog_cc_c89"
4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4315 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4317 if test "x$ac_cv_prog_cc_c89" != xno; then :
4322 ac_cpp='$CPP $CPPFLAGS'
4323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4327 depcc="$CC" am_compiler_list=
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4330 $as_echo_n "checking dependency style of $depcc... " >&6; }
4331 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4332 $as_echo_n "(cached) " >&6
4334 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4335 # We make a subdir and do the tests there. Otherwise we can end up
4336 # making bogus files that we don't know about and never remove. For
4337 # instance it was reported that on HP-UX the gcc test will end up
4338 # making a dummy file named `D
' -- because `-MD' means
`put the output
4341 # Copy depcomp to subdir because otherwise we won't find it if we're
4342 # using a relative directory.
4343 cp "$am_depcomp" conftest.dir
4345 # We will build objects and dependencies in a subdirectory because
4346 # it helps to detect inapplicable dependency modes. For instance
4347 # both Tru64's cc and ICC support -MD to output dependencies as a
4348 # side effect of compilation, but ICC will put the dependencies in
4349 # the current directory while Tru64 will put them in the object
4353 am_cv_CC_dependencies_compiler_type=none
4354 if test "$am_compiler_list" = ""; then
4355 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4358 case " $depcc " in #(
4359 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4362 for depmode in $am_compiler_list; do
4363 # Setup a source with many dependencies, because some compilers
4364 # like to wrap large dependency lists on column 80 (with \), and
4365 # we should not choose a depcomp mode which is confused by this.
4367 # We need to recreate these files for each test, as the compiler may
4368 # overwrite some of them when testing with obscure command lines.
4369 # This happens at least with the AIX C compiler.
4371 for i in 1 2 3 4 5 6; do
4372 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4373 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4374 # Solaris 8's
{/usr
,}/bin
/sh.
4375 touch sub
/conftst
$i.h
4377 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4379 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4380 # mode. It turns out that the SunPro C++ compiler does not properly
4381 # handle `-M -o', and we need to detect this. Also, some Intel
4382 # versions had trouble with output in subdirs
4383 am__obj
=sub
/conftest.
${OBJEXT-o}
4384 am__minus_obj
="-o $am__obj"
4387 # This depmode causes a compiler race in universal mode.
4388 test "$am__universal" = false ||
continue
4391 # after this tag, mechanisms are not by side-effect, so they'll
4392 # only be used when explicitly requested
4393 if test "x$enable_dependency_tracking" = xyes
; then
4399 msvisualcpp | msvcmsys
)
4400 # This compiler won't grok `-c -o', but also, the minuso test has
4401 # not run yet. These depmodes are late enough in the game, and
4402 # so weak that their functioning should not be impacted.
4403 am__obj
=conftest.
${OBJEXT-o}
4408 if depmode
=$depmode \
4409 source=sub
/conftest.c object
=$am__obj \
4410 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4411 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4412 >/dev
/null
2>conftest.err
&&
4413 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4414 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4415 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4416 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4417 # icc doesn't choke on unknown options, it will just issue warnings
4418 # or remarks (even with -Werror). So we grep stderr for any message
4419 # that says an option was ignored or not supported.
4420 # When given -MP, icc 7.0 and 7.1 complain thusly:
4421 # icc: Command line warning: ignoring option '-M'; no argument required
4422 # The diagnosis changed in icc 8.0:
4423 # icc: Command line remark: option '-MP' not supported
4424 if (grep 'ignoring option' conftest.err ||
4425 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4426 am_cv_CC_dependencies_compiler_type
=$depmode
4435 am_cv_CC_dependencies_compiler_type
=none
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4440 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4441 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4444 test "x$enable_dependency_tracking" != xno \
4445 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4447 am__fastdepCC_FALSE
='#'
4449 am__fastdepCC_TRUE
='#'
4450 am__fastdepCC_FALSE
=
4456 ac_cpp
='$CPP $CPPFLAGS'
4457 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4458 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4459 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4461 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4462 # On Suns, sometimes $CPP names a directory.
4463 if test -n "$CPP" && test -d "$CPP"; then
4466 if test -z "$CPP"; then
4467 if test "${ac_cv_prog_CPP+set}" = set; then :
4468 $as_echo_n "(cached) " >&6
4470 # Double quotes because CPP needs to be expanded
4471 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4474 for ac_c_preproc_warn_flag
in '' yes
4476 # Use a header file that comes with gcc, so configuring glibc
4477 # with a fresh cross-compiler works.
4478 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4479 # <limits.h> exists even on freestanding compilers.
4480 # On the NeXT, cc -E runs the code through the compiler's parser,
4481 # not just through cpp. "Syntax error" is here to catch this case.
4482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4483 /* end confdefs.h. */
4485 # include <limits.h>
4487 # include <assert.h>
4491 if ac_fn_c_try_cpp
"$LINENO"; then :
4494 # Broken: fails on valid input.
4497 rm -f conftest.err conftest.
$ac_ext
4499 # OK, works on sane cases. Now check whether nonexistent headers
4500 # can be detected and how.
4501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4502 /* end confdefs.h. */
4503 #include <ac_nonexistent.h>
4505 if ac_fn_c_try_cpp
"$LINENO"; then :
4506 # Broken: success on invalid input.
4509 # Passes both tests.
4513 rm -f conftest.err conftest.
$ac_ext
4516 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4517 rm -f conftest.err conftest.
$ac_ext
4518 if $ac_preproc_ok; then :
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4531 $as_echo "$CPP" >&6; }
4533 for ac_c_preproc_warn_flag
in '' yes
4535 # Use a header file that comes with gcc, so configuring glibc
4536 # with a fresh cross-compiler works.
4537 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4538 # <limits.h> exists even on freestanding compilers.
4539 # On the NeXT, cc -E runs the code through the compiler's parser,
4540 # not just through cpp. "Syntax error" is here to catch this case.
4541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4542 /* end confdefs.h. */
4544 # include <limits.h>
4546 # include <assert.h>
4550 if ac_fn_c_try_cpp
"$LINENO"; then :
4553 # Broken: fails on valid input.
4556 rm -f conftest.err conftest.
$ac_ext
4558 # OK, works on sane cases. Now check whether nonexistent headers
4559 # can be detected and how.
4560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4561 /* end confdefs.h. */
4562 #include <ac_nonexistent.h>
4564 if ac_fn_c_try_cpp
"$LINENO"; then :
4565 # Broken: success on invalid input.
4568 # Passes both tests.
4572 rm -f conftest.err conftest.
$ac_ext
4575 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4576 rm -f conftest.err conftest.
$ac_ext
4577 if $ac_preproc_ok; then :
4580 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4581 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4582 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4583 See \`config.log' for more details." "$LINENO" 5; }
4587 ac_cpp
='$CPP $CPPFLAGS'
4588 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4589 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4590 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4594 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4595 if test "${ac_cv_path_GREP+set}" = set; then :
4596 $as_echo_n "(cached) " >&6
4598 if test -z "$GREP"; then
4599 ac_path_GREP_found
=false
4600 # Loop through the user's path and test for each of PROGNAME-LIST
4601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4602 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4605 test -z "$as_dir" && as_dir
=.
4606 for ac_prog
in grep ggrep
; do
4607 for ac_exec_ext
in '' $ac_executable_extensions; do
4608 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4609 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4610 # Check for GNU ac_path_GREP and select it if it is found.
4611 # Check for GNU $ac_path_GREP
4612 case `"$ac_path_GREP" --version 2>&1` in
4614 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4617 $as_echo_n 0123456789 >"conftest.in"
4620 cat "conftest.in" "conftest.in" >"conftest.tmp"
4621 mv "conftest.tmp" "conftest.in"
4622 cp "conftest.in" "conftest.nl"
4623 $as_echo 'GREP' >> "conftest.nl"
4624 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4625 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4626 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4627 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4628 # Best one so far, save it but keep looking for a better one
4629 ac_cv_path_GREP
="$ac_path_GREP"
4630 ac_path_GREP_max
=$ac_count
4632 # 10*(2^10) chars as input seems more than enough
4633 test $ac_count -gt 10 && break
4635 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4638 $ac_path_GREP_found && break 3
4643 if test -z "$ac_cv_path_GREP"; then
4644 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4647 ac_cv_path_GREP
=$GREP
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4652 $as_echo "$ac_cv_path_GREP" >&6; }
4653 GREP
="$ac_cv_path_GREP"
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4657 $as_echo_n "checking for egrep... " >&6; }
4658 if test "${ac_cv_path_EGREP+set}" = set; then :
4659 $as_echo_n "(cached) " >&6
4661 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4662 then ac_cv_path_EGREP
="$GREP -E"
4664 if test -z "$EGREP"; then
4665 ac_path_EGREP_found
=false
4666 # Loop through the user's path and test for each of PROGNAME-LIST
4667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4668 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4671 test -z "$as_dir" && as_dir
=.
4672 for ac_prog
in egrep; do
4673 for ac_exec_ext
in '' $ac_executable_extensions; do
4674 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4675 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4676 # Check for GNU ac_path_EGREP and select it if it is found.
4677 # Check for GNU $ac_path_EGREP
4678 case `"$ac_path_EGREP" --version 2>&1` in
4680 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4683 $as_echo_n 0123456789 >"conftest.in"
4686 cat "conftest.in" "conftest.in" >"conftest.tmp"
4687 mv "conftest.tmp" "conftest.in"
4688 cp "conftest.in" "conftest.nl"
4689 $as_echo 'EGREP' >> "conftest.nl"
4690 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4691 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4692 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4693 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4694 # Best one so far, save it but keep looking for a better one
4695 ac_cv_path_EGREP
="$ac_path_EGREP"
4696 ac_path_EGREP_max
=$ac_count
4698 # 10*(2^10) chars as input seems more than enough
4699 test $ac_count -gt 10 && break
4701 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4704 $ac_path_EGREP_found && break 3
4709 if test -z "$ac_cv_path_EGREP"; then
4710 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4713 ac_cv_path_EGREP
=$EGREP
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4719 $as_echo "$ac_cv_path_EGREP" >&6; }
4720 EGREP
="$ac_cv_path_EGREP"
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4724 $as_echo_n "checking for ANSI C header files... " >&6; }
4725 if test "${ac_cv_header_stdc+set}" = set; then :
4726 $as_echo_n "(cached) " >&6
4728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4729 /* end confdefs.h. */
4743 if ac_fn_c_try_compile
"$LINENO"; then :
4744 ac_cv_header_stdc
=yes
4746 ac_cv_header_stdc
=no
4748 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4750 if test $ac_cv_header_stdc = yes; then
4751 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4753 /* end confdefs.h. */
4757 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4758 $EGREP "memchr" >/dev
/null
2>&1; then :
4761 ac_cv_header_stdc
=no
4767 if test $ac_cv_header_stdc = yes; then
4768 # ISC 2.0.2 stdlib.h does not declare free, 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 "free" >/dev
/null
2>&1; then :
4778 ac_cv_header_stdc
=no
4784 if test $ac_cv_header_stdc = yes; then
4785 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4786 if test "$cross_compiling" = yes; then :
4789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4790 /* end confdefs.h. */
4793 #if ((' ' & 0x0FF) == 0x020)
4794 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4795 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4797 # define ISLOWER(c) \
4798 (('a' <= (c) && (c) <= 'i') \
4799 || ('j' <= (c) && (c) <= 'r') \
4800 || ('s' <= (c) && (c) <= 'z'))
4801 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4804 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4809 for (i = 0; i < 256; i++)
4810 if (XOR (islower (i), ISLOWER (i))
4811 || toupper (i) != TOUPPER (i))
4816 if ac_fn_c_try_run
"$LINENO"; then :
4819 ac_cv_header_stdc
=no
4821 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4822 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4828 $as_echo "$ac_cv_header_stdc" >&6; }
4829 if test $ac_cv_header_stdc = yes; then
4831 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4835 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4836 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4837 inttypes.h stdint.h unistd.h
4839 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4840 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4842 eval as_val
=\$
$as_ac_Header
4843 if test "x$as_val" = x
""yes; then :
4844 cat >>confdefs.h
<<_ACEOF
4845 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4854 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4855 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4862 if test "$MINIX" = yes; then
4864 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4867 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4870 $as_echo "#define _MINIX 1" >>confdefs.h
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4876 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4877 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4878 $as_echo_n "(cached) " >&6
4880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4881 /* end confdefs.h. */
4883 # define __EXTENSIONS__ 1
4884 $ac_includes_default
4893 if ac_fn_c_try_compile
"$LINENO"; then :
4894 ac_cv_safe_to_define___extensions__
=yes
4896 ac_cv_safe_to_define___extensions__
=no
4898 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4901 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4902 test $ac_cv_safe_to_define___extensions__ = yes &&
4903 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4905 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4907 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4909 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4911 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4915 # Calculate toolexeclibdir
4916 # Also toolexecdir, though it's only used in toolexeclibdir
4917 case ${version_specific_libs} in
4919 # Need the gcc compiler version to know where to install libraries
4920 # and header files if --enable-version-specific-runtime-libs option
4922 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4923 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4926 if test -n "$with_cross_host" &&
4927 test x
"$with_cross_host" != x
"no"; then
4928 # Install a library built with a cross compiler in tooldir, not libdir.
4929 toolexecdir
='$(exec_prefix)/$(target_alias)'
4930 toolexeclibdir
='$(toolexecdir)/lib'
4932 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4933 toolexeclibdir
='$(libdir)'
4935 multi_os_directory
=`$CC -print-multi-os-directory`
4936 case $multi_os_directory in
4937 .
) ;; # Avoid trailing /.
4938 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4945 # Create a spec file, so that compile/link tests don't fail
4946 test -f libgfortran.spec ||
touch libgfortran.spec
4949 ac_cpp
='$CPP $CPPFLAGS'
4950 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4951 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4952 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4954 # Check the compiler.
4955 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
4956 # We must force CC to /not/ be precious variables; otherwise
4957 # the wrong, non-multilib-adjusted value will be used in multilibs.
4958 # As a side effect, we have to subst CFLAGS ourselves.
4963 ac_cpp
='$CPP $CPPFLAGS'
4964 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4965 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4966 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4967 if test -n "$ac_tool_prefix"; then
4968 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4969 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4971 $as_echo_n "checking for $ac_word... " >&6; }
4972 if test "${ac_cv_prog_CC+set}" = set; then :
4973 $as_echo_n "(cached) " >&6
4975 if test -n "$CC"; then
4976 ac_cv_prog_CC
="$CC" # Let the user override the test.
4978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4982 test -z "$as_dir" && as_dir
=.
4983 for ac_exec_ext
in '' $ac_executable_extensions; do
4984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4985 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4996 if test -n "$CC"; then
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4998 $as_echo "$CC" >&6; }
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5001 $as_echo "no" >&6; }
5006 if test -z "$ac_cv_prog_CC"; then
5008 # Extract the first word of "gcc", so it can be a program name with args.
5009 set dummy gcc
; ac_word
=$2
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5011 $as_echo_n "checking for $ac_word... " >&6; }
5012 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5013 $as_echo_n "(cached) " >&6
5015 if test -n "$ac_ct_CC"; then
5016 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5022 test -z "$as_dir" && as_dir
=.
5023 for ac_exec_ext
in '' $ac_executable_extensions; do
5024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5025 ac_cv_prog_ac_ct_CC
="gcc"
5026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5035 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5036 if test -n "$ac_ct_CC"; then
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5038 $as_echo "$ac_ct_CC" >&6; }
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5041 $as_echo "no" >&6; }
5044 if test "x$ac_ct_CC" = x
; then
5047 case $cross_compiling:$ac_tool_warned in
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5051 ac_tool_warned
=yes ;;
5059 if test -z "$CC"; then
5060 if test -n "$ac_tool_prefix"; then
5061 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5062 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5064 $as_echo_n "checking for $ac_word... " >&6; }
5065 if test "${ac_cv_prog_CC+set}" = set; then :
5066 $as_echo_n "(cached) " >&6
5068 if test -n "$CC"; then
5069 ac_cv_prog_CC
="$CC" # Let the user override the test.
5071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5075 test -z "$as_dir" && as_dir
=.
5076 for ac_exec_ext
in '' $ac_executable_extensions; do
5077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5078 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5089 if test -n "$CC"; then
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5091 $as_echo "$CC" >&6; }
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5094 $as_echo "no" >&6; }
5100 if test -z "$CC"; then
5101 # Extract the first word of "cc", so it can be a program name with args.
5102 set dummy cc
; ac_word
=$2
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5104 $as_echo_n "checking for $ac_word... " >&6; }
5105 if test "${ac_cv_prog_CC+set}" = set; then :
5106 $as_echo_n "(cached) " >&6
5108 if test -n "$CC"; then
5109 ac_cv_prog_CC
="$CC" # Let the user override the test.
5112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5116 test -z "$as_dir" && as_dir
=.
5117 for ac_exec_ext
in '' $ac_executable_extensions; do
5118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5119 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5120 ac_prog_rejected
=yes
5124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5131 if test $ac_prog_rejected = yes; then
5132 # We found a bogon in the path, so make sure we never use it.
5133 set dummy
$ac_cv_prog_CC
5135 if test $# != 0; then
5136 # We chose a different compiler from the bogus one.
5137 # However, it has the same basename, so the bogon will be chosen
5138 # first if we set CC to just the basename; use the full file name.
5140 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5146 if test -n "$CC"; then
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5148 $as_echo "$CC" >&6; }
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5151 $as_echo "no" >&6; }
5156 if test -z "$CC"; then
5157 if test -n "$ac_tool_prefix"; then
5158 for ac_prog
in cl.exe
5160 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5161 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5163 $as_echo_n "checking for $ac_word... " >&6; }
5164 if test "${ac_cv_prog_CC+set}" = set; then :
5165 $as_echo_n "(cached) " >&6
5167 if test -n "$CC"; then
5168 ac_cv_prog_CC
="$CC" # Let the user override the test.
5170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5174 test -z "$as_dir" && as_dir
=.
5175 for ac_exec_ext
in '' $ac_executable_extensions; do
5176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5177 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5188 if test -n "$CC"; then
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5190 $as_echo "$CC" >&6; }
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5193 $as_echo "no" >&6; }
5197 test -n "$CC" && break
5200 if test -z "$CC"; then
5202 for ac_prog
in cl.exe
5204 # Extract the first word of "$ac_prog", so it can be a program name with args.
5205 set dummy
$ac_prog; ac_word
=$2
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5207 $as_echo_n "checking for $ac_word... " >&6; }
5208 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5209 $as_echo_n "(cached) " >&6
5211 if test -n "$ac_ct_CC"; then
5212 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5218 test -z "$as_dir" && as_dir
=.
5219 for ac_exec_ext
in '' $ac_executable_extensions; do
5220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5221 ac_cv_prog_ac_ct_CC
="$ac_prog"
5222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5231 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5232 if test -n "$ac_ct_CC"; then
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5234 $as_echo "$ac_ct_CC" >&6; }
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5237 $as_echo "no" >&6; }
5241 test -n "$ac_ct_CC" && break
5244 if test "x$ac_ct_CC" = x
; then
5247 case $cross_compiling:$ac_tool_warned in
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5250 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5251 ac_tool_warned
=yes ;;
5260 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5262 as_fn_error
"no acceptable C compiler found in \$PATH
5263 See \`config.log' for more details." "$LINENO" 5; }
5265 # Provide some information about the compiler.
5266 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5269 for ac_option
in --version -v -V -qversion; do
5270 { { ac_try
="$ac_compiler $ac_option >&5"
5272 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5273 *) ac_try_echo=$ac_try;;
5275 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5276 $as_echo "$ac_try_echo"; } >&5
5277 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5279 if test -s conftest.err; then
5281 ... rest of stderr output deleted ...
5282 10q' conftest.err >conftest.er1
5283 cat conftest.er1 >&5
5284 rm -f conftest.er1 conftest.err
5286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5287 test $ac_status = 0; }
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5291 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5292 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5293 $as_echo_n "(cached) " >&6
5295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5296 /* end confdefs.h. */
5309 if ac_fn_c_try_compile "$LINENO"; then :
5314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5315 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5319 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5320 if test $ac_compiler_gnu = yes; then
5325 ac_test_CFLAGS=${CFLAGS+set}
5326 ac_save_CFLAGS=$CFLAGS
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5328 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5329 if test "${ac_cv_prog_cc_g+set}" = set; then :
5330 $as_echo_n "(cached) " >&6
5332 ac_save_c_werror_flag=$ac_c_werror_flag
5333 ac_c_werror_flag=yes
5336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5337 /* end confdefs.h. */
5347 if ac_fn_c_try_compile "$LINENO"; then :
5351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5352 /* end confdefs.h. */
5362 if ac_fn_c_try_compile "$LINENO"; then :
5365 ac_c_werror_flag=$ac_save_c_werror_flag
5367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5368 /* end confdefs.h. */
5378 if ac_fn_c_try_compile "$LINENO"; then :
5381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5386 ac_c_werror_flag=$ac_save_c_werror_flag
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5389 $as_echo "$ac_cv_prog_cc_g" >&6; }
5390 if test "$ac_test_CFLAGS" = set; then
5391 CFLAGS=$ac_save_CFLAGS
5392 elif test $ac_cv_prog_cc_g = yes; then
5393 if test "$GCC" = yes; then
5399 if test "$GCC" = yes; then
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5406 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5407 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5408 $as_echo_n "(cached) " >&6
5410 ac_cv_prog_cc_c89=no
5412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5413 /* end confdefs.h. */
5416 #include <sys/types.h>
5417 #include <sys/stat.h>
5418 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5419 struct buf { int x; };
5420 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5421 static char *e (p, i)
5427 static char *f (char * (*g) (char **, int), char **p, ...)
5432 s = g (p, va_arg (v,int));
5437 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5438 function prototypes and stuff, but not '\xHH' hex character constants.
5439 These don't provoke an error unfortunately, instead are silently treated
5440 as 'x'. The following induces an error, until -std is added to get
5441 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5442 array size at least. It's necessary to write '\x00'==0 to get something
5443 that's true only with -std. */
5444 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5446 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5447 inside strings and character constants. */
5449 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5451 int test (int i, double x);
5452 struct s1 {int (*f) (int a);};
5453 struct s2 {int (*f) (double a);};
5454 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5460 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5465 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5466 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5468 CC="$ac_save_CC $ac_arg"
5469 if ac_fn_c_try_compile "$LINENO"; then :
5470 ac_cv_prog_cc_c89=$ac_arg
5472 rm -f core conftest.err conftest.$ac_objext
5473 test "x$ac_cv_prog_cc_c89" != "xno" && break
5475 rm -f conftest.$ac_ext
5480 case "x$ac_cv_prog_cc_c89" in
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5483 $as_echo "none needed" >&6; } ;;
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5486 $as_echo "unsupported" >&6; } ;;
5488 CC="$CC $ac_cv_prog_cc_c89"
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5490 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5492 if test "x$ac_cv_prog_cc_c89" != xno; then :
5497 ac_cpp='$CPP $CPPFLAGS'
5498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5502 depcc="$CC" am_compiler_list=
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5505 $as_echo_n "checking dependency style of $depcc... " >&6; }
5506 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5507 $as_echo_n "(cached) " >&6
5509 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5510 # We make a subdir and do the tests there. Otherwise we can end up
5511 # making bogus files that we don't know about and never remove. For
5512 # instance it was reported that on HP-UX the gcc test will end up
5513 # making a dummy file named `D
' -- because `-MD' means
`put the output
5516 # Copy depcomp to subdir because otherwise we won't find it if we're
5517 # using a relative directory.
5518 cp "$am_depcomp" conftest.dir
5520 # We will build objects and dependencies in a subdirectory because
5521 # it helps to detect inapplicable dependency modes. For instance
5522 # both Tru64's cc and ICC support -MD to output dependencies as a
5523 # side effect of compilation, but ICC will put the dependencies in
5524 # the current directory while Tru64 will put them in the object
5528 am_cv_CC_dependencies_compiler_type=none
5529 if test "$am_compiler_list" = ""; then
5530 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5533 case " $depcc " in #(
5534 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5537 for depmode in $am_compiler_list; do
5538 # Setup a source with many dependencies, because some compilers
5539 # like to wrap large dependency lists on column 80 (with \), and
5540 # we should not choose a depcomp mode which is confused by this.
5542 # We need to recreate these files for each test, as the compiler may
5543 # overwrite some of them when testing with obscure command lines.
5544 # This happens at least with the AIX C compiler.
5546 for i in 1 2 3 4 5 6; do
5547 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5548 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5549 # Solaris 8's
{/usr
,}/bin
/sh.
5550 touch sub
/conftst
$i.h
5552 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5554 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5555 # mode. It turns out that the SunPro C++ compiler does not properly
5556 # handle `-M -o', and we need to detect this. Also, some Intel
5557 # versions had trouble with output in subdirs
5558 am__obj
=sub
/conftest.
${OBJEXT-o}
5559 am__minus_obj
="-o $am__obj"
5562 # This depmode causes a compiler race in universal mode.
5563 test "$am__universal" = false ||
continue
5566 # after this tag, mechanisms are not by side-effect, so they'll
5567 # only be used when explicitly requested
5568 if test "x$enable_dependency_tracking" = xyes
; then
5574 msvisualcpp | msvcmsys
)
5575 # This compiler won't grok `-c -o', but also, the minuso test has
5576 # not run yet. These depmodes are late enough in the game, and
5577 # so weak that their functioning should not be impacted.
5578 am__obj
=conftest.
${OBJEXT-o}
5583 if depmode
=$depmode \
5584 source=sub
/conftest.c object
=$am__obj \
5585 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5586 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5587 >/dev
/null
2>conftest.err
&&
5588 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5589 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5590 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5591 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5592 # icc doesn't choke on unknown options, it will just issue warnings
5593 # or remarks (even with -Werror). So we grep stderr for any message
5594 # that says an option was ignored or not supported.
5595 # When given -MP, icc 7.0 and 7.1 complain thusly:
5596 # icc: Command line warning: ignoring option '-M'; no argument required
5597 # The diagnosis changed in icc 8.0:
5598 # icc: Command line remark: option '-MP' not supported
5599 if (grep 'ignoring option' conftest.err ||
5600 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5601 am_cv_CC_dependencies_compiler_type
=$depmode
5610 am_cv_CC_dependencies_compiler_type
=none
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5615 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5616 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5619 test "x$enable_dependency_tracking" != xno \
5620 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5622 am__fastdepCC_FALSE
='#'
5624 am__fastdepCC_TRUE
='#'
5625 am__fastdepCC_FALSE
=
5633 if test "x$CC" != xcc
; then
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5635 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5638 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5640 set dummy
$CC; ac_cc
=`$as_echo "$2" |
5641 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5642 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5643 $as_echo_n "(cached) " >&6
5645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5646 /* end confdefs.h. */
5656 # Make sure it works both with $CC and with simple cc.
5657 # We do the test twice because some compilers refuse to overwrite an
5658 # existing .o file with -o, though they will create one.
5659 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5661 if { { case "(($ac_try" in
5662 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5663 *) ac_try_echo=$ac_try;;
5665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5666 $as_echo "$ac_try_echo"; } >&5
5667 (eval "$ac_try") 2>&5
5669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5670 test $ac_status = 0; } &&
5671 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5672 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5673 *) ac_try_echo
=$ac_try;;
5675 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5676 $as_echo "$ac_try_echo"; } >&5
5677 (eval "$ac_try") 2>&5
5679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5680 test $ac_status = 0; };
5682 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
5683 if test "x$CC" != xcc
; then
5684 # Test first that cc exists at all.
5685 if { ac_try
='cc -c conftest.$ac_ext >&5'
5686 { { case "(($ac_try" in
5687 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5688 *) ac_try_echo=$ac_try;;
5690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5691 $as_echo "$ac_try_echo"; } >&5
5692 (eval "$ac_try") 2>&5
5694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5695 test $ac_status = 0; }; }; then
5696 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5698 if { { case "(($ac_try" in
5699 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5700 *) ac_try_echo
=$ac_try;;
5702 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5703 $as_echo "$ac_try_echo"; } >&5
5704 (eval "$ac_try") 2>&5
5706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5707 test $ac_status = 0; } &&
5708 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
5709 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5710 *) ac_try_echo=$ac_try;;
5712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5713 $as_echo "$ac_try_echo"; } >&5
5714 (eval "$ac_try") 2>&5
5716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5717 test $ac_status = 0; };
5722 # cc exists but doesn't like -o.
5723 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5728 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5730 rm -f core conftest*
5733 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5735 $as_echo "yes" >&6; }
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5738 $as_echo "no" >&6; }
5740 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5744 # FIXME: we rely on the cache variable name because
5745 # there is no other way.
5747 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5748 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5749 if test "$am_t" != yes; then
5750 # Losing compiler, so override with the script.
5751 # FIXME: It is wrong to rewrite CC.
5752 # But if we don't then we get into trouble of one sort or another.
5753 # A longer-term fix would be to have automake use am__CC in this case,
5754 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5755 CC="$am_aux_dir/compile $CC"
5760 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5761 if test "x$GCC" = "xyes"; then
5762 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5763 ## We like to use C99 routines when available. This makes sure that
5764 ## __STDC_VERSION__ is set such that libc includes make them available.
5765 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
5766 ## Compile the following tests with the same system header contents
5767 ## that we'll encounter when compiling our own source files.
5768 CFLAGS="-std=gnu99 $CFLAGS"
5774 # Check for symbol versioning (copied from libssp).
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5776 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5777 # Check whether --enable-symvers was given.
5778 if test "${enable_symvers+set}" = set; then :
5779 enableval=$enable_symvers; gfortran_use_symver=$enableval
5781 gfortran_use_symver=yes
5784 if test "x$gfortran_use_symver" != xno; then
5785 save_LDFLAGS="$LDFLAGS"
5786 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5787 cat > conftest.map <<EOF
5789 global: *foo*; bar; local: *;
5792 if test x$gcc_no_link = xyes; then
5793 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5796 /* end confdefs.h. */
5806 if ac_fn_c_try_link "$LINENO"; then :
5807 gfortran_use_symver=gnu
5809 gfortran_use_symver=no
5811 rm -f core conftest.err conftest.$ac_objext \
5812 conftest$ac_exeext conftest.$ac_ext
5813 if test x$gfortran_use_symver = xno; then
5814 case "$target_os" in
5816 LDFLAGS="$save_LDFLAGS"
5817 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5818 # Sun ld cannot handle wildcards and treats all entries as undefined.
5819 cat > conftest.map <<EOF
5821 global: foo; local: *;
5824 if test x$gcc_no_link = xyes; then
5825 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5828 /* end confdefs.h. */
5838 if ac_fn_c_try_link "$LINENO"; then :
5839 gfortran_use_symver=sun
5841 gfortran_use_symver=no
5843 rm -f core conftest.err conftest.$ac_objext \
5844 conftest$ac_exeext conftest.$ac_ext
5848 LDFLAGS="$save_LDFLAGS"
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
5851 $as_echo "$gfortran_use_symver" >&6; }
5852 if test "x$gfortran_use_symver" != xno; then
5853 LIBGFOR_USE_SYMVER_TRUE=
5854 LIBGFOR_USE_SYMVER_FALSE='#'
5856 LIBGFOR_USE_SYMVER_TRUE='#'
5857 LIBGFOR_USE_SYMVER_FALSE=
5860 if test "x$gfortran_use_symver" = xgnu; then
5861 LIBGFOR_USE_SYMVER_GNU_TRUE=
5862 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
5864 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
5865 LIBGFOR_USE_SYMVER_GNU_FALSE=
5868 if test "x$gfortran_use_symver" = xsun; then
5869 LIBGFOR_USE_SYMVER_SUN_TRUE=
5870 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
5872 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
5873 LIBGFOR_USE_SYMVER_SUN_FALSE=
5877 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5878 # similarly to how libstdc++ does it
5879 ac_test_CFLAGS="${CFLAGS+set}"
5880 ac_save_CFLAGS="$CFLAGS"
5882 # Check for -ffunction-sections -fdata-sections
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5884 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
5885 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5887 /* end confdefs.h. */
5897 if ac_fn_c_try_compile "$LINENO"; then :
5902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5903 if test "$ac_test_CFLAGS" = set; then
5904 CFLAGS="$ac_save_CFLAGS"
5906 # this is the suspicious part
5909 if test x"$ac_fdsections" = x"yes"; then
5910 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
5913 $as_echo "$ac_fdsections" >&6; }
5916 # Find other programs we need.
5917 if test -n "$ac_tool_prefix"; then
5918 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5919 set dummy ${ac_tool_prefix}as; ac_word=$2
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5921 $as_echo_n "checking for $ac_word... " >&6; }
5922 if test "${ac_cv_prog_AS+set}" = set; then :
5923 $as_echo_n "(cached) " >&6
5925 if test -n "$AS"; then
5926 ac_cv_prog_AS="$AS" # Let the user override the test.
5928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5932 test -z "$as_dir" && as_dir=.
5933 for ac_exec_ext in '' $ac_executable_extensions; do
5934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5935 ac_cv_prog_AS="${ac_tool_prefix}as"
5936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5946 if test -n "$AS"; then
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5948 $as_echo "$AS" >&6; }
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5951 $as_echo "no" >&6; }
5956 if test -z "$ac_cv_prog_AS"; then
5958 # Extract the first word of "as", so it can be a program name with args.
5959 set dummy as; ac_word=$2
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5961 $as_echo_n "checking for $ac_word... " >&6; }
5962 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5963 $as_echo_n "(cached) " >&6
5965 if test -n "$ac_ct_AS"; then
5966 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5972 test -z "$as_dir" && as_dir=.
5973 for ac_exec_ext in '' $ac_executable_extensions; do
5974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5975 ac_cv_prog_ac_ct_AS="as"
5976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5985 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5986 if test -n "$ac_ct_AS"; then
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5988 $as_echo "$ac_ct_AS" >&6; }
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5991 $as_echo "no" >&6; }
5994 if test "x$ac_ct_AS" = x; then
5997 case $cross_compiling:$ac_tool_warned in
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6000 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6001 ac_tool_warned=yes ;;
6009 if test -n "$ac_tool_prefix"; then
6010 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6011 set dummy ${ac_tool_prefix}ar; ac_word=$2
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6013 $as_echo_n "checking for $ac_word... " >&6; }
6014 if test "${ac_cv_prog_AR+set}" = set; then :
6015 $as_echo_n "(cached) " >&6
6017 if test -n "$AR"; then
6018 ac_cv_prog_AR="$AR" # Let the user override the test.
6020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6024 test -z "$as_dir" && as_dir=.
6025 for ac_exec_ext in '' $ac_executable_extensions; do
6026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6027 ac_cv_prog_AR="${ac_tool_prefix}ar"
6028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6038 if test -n "$AR"; then
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6040 $as_echo "$AR" >&6; }
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6043 $as_echo "no" >&6; }
6048 if test -z "$ac_cv_prog_AR"; then
6050 # Extract the first word of "ar", so it can be a program name with args.
6051 set dummy ar; ac_word=$2
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6053 $as_echo_n "checking for $ac_word... " >&6; }
6054 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6055 $as_echo_n "(cached) " >&6
6057 if test -n "$ac_ct_AR"; then
6058 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6064 test -z "$as_dir" && as_dir=.
6065 for ac_exec_ext in '' $ac_executable_extensions; do
6066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6067 ac_cv_prog_ac_ct_AR="ar"
6068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6077 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6078 if test -n "$ac_ct_AR"; then
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6080 $as_echo "$ac_ct_AR" >&6; }
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6083 $as_echo "no" >&6; }
6086 if test "x$ac_ct_AR" = x; then
6089 case $cross_compiling:$ac_tool_warned in
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6093 ac_tool_warned=yes ;;
6101 if test -n "$ac_tool_prefix"; then
6102 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6103 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6105 $as_echo_n "checking for $ac_word... " >&6; }
6106 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6107 $as_echo_n "(cached) " >&6
6109 if test -n "$RANLIB"; then
6110 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6116 test -z "$as_dir" && as_dir=.
6117 for ac_exec_ext in '' $ac_executable_extensions; do
6118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6119 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6129 RANLIB=$ac_cv_prog_RANLIB
6130 if test -n "$RANLIB"; then
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6132 $as_echo "$RANLIB" >&6; }
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6135 $as_echo "no" >&6; }
6140 if test -z "$ac_cv_prog_RANLIB"; then
6141 ac_ct_RANLIB=$RANLIB
6142 # Extract the first word of "ranlib", so it can be a program name with args.
6143 set dummy ranlib; ac_word=$2
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6145 $as_echo_n "checking for $ac_word... " >&6; }
6146 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6147 $as_echo_n "(cached) " >&6
6149 if test -n "$ac_ct_RANLIB"; then
6150 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156 test -z "$as_dir" && as_dir=.
6157 for ac_exec_ext in '' $ac_executable_extensions; do
6158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6159 ac_cv_prog_ac_ct_RANLIB="ranlib"
6160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6169 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6170 if test -n "$ac_ct_RANLIB"; then
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6172 $as_echo "$ac_ct_RANLIB" >&6; }
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6175 $as_echo "no" >&6; }
6178 if test "x$ac_ct_RANLIB" = x; then
6179 RANLIB="ranlib-not-found-in-path-error"
6181 case $cross_compiling:$ac_tool_warned in
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6184 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6185 ac_tool_warned=yes ;;
6187 RANLIB=$ac_ct_RANLIB
6190 RANLIB="$ac_cv_prog_RANLIB"
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6194 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6196 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6197 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6198 $as_echo_n "(cached) " >&6
6200 cat >conftest.make <<\_ACEOF
6203 @echo '@@@%%%=$(MAKE)=@@@%%%'
6205 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6206 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
6208 eval ac_cv_prog_make_${ac_make}_set=yes;;
6210 eval ac_cv_prog_make_${ac_make}_set=no;;
6214 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6216 $as_echo "yes" >&6; }
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6220 $as_echo "no" >&6; }
6221 SET_MAKE="MAKE=${MAKE-make}"
6227 #AC_MSG_NOTICE([====== Starting libtool configuration])
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
6235 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
6240 macro_version='2.2.7a'
6241 macro_revision='1.3134'
6255 ltmain="$ac_aux_dir/ltmain.sh"
6257 # Backslashify metacharacters that are still active within
6258 # double-quoted strings.
6259 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6261 # Same as above, but do not quote variable references.
6262 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6264 # Sed substitution to delay expansion of an escaped shell variable in a
6265 # double_quote_subst'ed string.
6266 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6268 # Sed substitution to delay expansion of an escaped single quote.
6269 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6271 # Sed substitution to avoid accidental globbing in evaled expressions
6272 no_glob_subst='s/\*/\\\*/g'
6274 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6275 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6276 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
6279 $as_echo_n "checking how to print
strings...
" >&6; }
6280 # Test print first, because it will be a builtin if present.
6281 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
6282 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
6284 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
6287 # Use this function as a fallback that always works.
6288 func_fallback_echo ()
6290 eval 'cat <<_LTECHO_EOF
6294 ECHO='func_fallback_echo'
6297 # func_echo_all arg...
6298 # Invoke $ECHO with all args, space-separated.
6305 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
6306 $as_echo "printf" >&6; } ;;
6307 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
6308 $as_echo "print
-r" >&6; } ;;
6309 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
6310 $as_echo "cat" >&6; } ;;
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
6327 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
6328 if test "${ac_cv_path_SED+set}" = set; then :
6329 $as_echo_n "(cached
) " >&6
6331 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6332 for ac_i in 1 2 3 4 5 6 7; do
6333 ac_script="$ac_script$as_nl$ac_script"
6335 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6336 { ac_script=; unset ac_script;}
6337 if test -z "$SED"; then
6338 ac_path_SED_found=false
6339 # Loop through the user's path and test for each of PROGNAME-LIST
6340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6344 test -z "$as_dir" && as_dir=.
6345 for ac_prog in sed gsed; do
6346 for ac_exec_ext in '' $ac_executable_extensions; do
6347 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6348 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6349 # Check for GNU ac_path_SED and select it if it is found.
6350 # Check for GNU $ac_path_SED
6351 case `"$ac_path_SED" --version 2>&1` in
6353 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6356 $as_echo_n 0123456789 >"conftest.
in"
6359 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6360 mv "conftest.tmp
" "conftest.
in"
6361 cp "conftest.
in" "conftest.
nl"
6362 $as_echo '' >> "conftest.
nl"
6363 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6364 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6365 as_fn_arith $ac_count + 1 && ac_count=$as_val
6366 if test $ac_count -gt ${ac_path_SED_max-0}; then
6367 # Best one so far, save it but keep looking for a better one
6368 ac_cv_path_SED="$ac_path_SED"
6369 ac_path_SED_max=$ac_count
6371 # 10*(2^10) chars as input seems more than enough
6372 test $ac_count -gt 10 && break
6374 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6377 $ac_path_SED_found && break 3
6382 if test -z "$ac_cv_path_SED"; then
6383 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
6391 $as_echo "$ac_cv_path_SED" >&6; }
6392 SED="$ac_cv_path_SED"
6395 test -z "$SED" && SED=sed
6396 Xsed="$SED -e 1s
/^X
//"
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
6409 $as_echo_n "checking
for fgrep...
" >&6; }
6410 if test "${ac_cv_path_FGREP+set}" = set; then :
6411 $as_echo_n "(cached
) " >&6
6413 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6414 then ac_cv_path_FGREP="$GREP -F"
6416 if test -z "$FGREP"; then
6417 ac_path_FGREP_found=false
6418 # Loop through the user's path and test for each of PROGNAME-LIST
6419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6420 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6423 test -z "$as_dir" && as_dir=.
6424 for ac_prog in fgrep; do
6425 for ac_exec_ext in '' $ac_executable_extensions; do
6426 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6427 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6428 # Check for GNU ac_path_FGREP and select it if it is found.
6429 # Check for GNU $ac_path_FGREP
6430 case `"$ac_path_FGREP" --version 2>&1` in
6432 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6435 $as_echo_n 0123456789 >"conftest.
in"
6438 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6439 mv "conftest.tmp
" "conftest.
in"
6440 cp "conftest.
in" "conftest.
nl"
6441 $as_echo 'FGREP' >> "conftest.
nl"
6442 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6443 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6444 as_fn_arith $ac_count + 1 && ac_count=$as_val
6445 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6446 # Best one so far, save it but keep looking for a better one
6447 ac_cv_path_FGREP="$ac_path_FGREP"
6448 ac_path_FGREP_max=$ac_count
6450 # 10*(2^10) chars as input seems more than enough
6451 test $ac_count -gt 10 && break
6453 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6456 $ac_path_FGREP_found && break 3
6461 if test -z "$ac_cv_path_FGREP"; then
6462 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
6465 ac_cv_path_FGREP=$FGREP
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
6471 $as_echo "$ac_cv_path_FGREP" >&6; }
6472 FGREP="$ac_cv_path_FGREP"
6475 test -z "$GREP" && GREP=grep
6495 # Check whether --with-gnu-ld was given.
6496 if test "${with_gnu_ld+set}" = set; then :
6497 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6503 if test "$GCC" = yes; then
6504 # Check if gcc -print-prog-name=ld gives a path.
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
6506 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
6509 # gcc leaves a trailing carriage return which upsets mingw
6510 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6512 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6515 # Accept absolute paths.
6517 re_direlt='/[^/][^/]*/\.\./'
6518 # Canonicalize the pathname of ld
6519 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6520 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6521 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
6523 test -z "$LD" && LD="$ac_prog"
6526 # If it fails, then pretend we aren't using GCC.
6530 # If it is relative, then search for the first ld in PATH.
6534 elif test "$with_gnu_ld" = yes; then
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
6536 $as_echo_n "checking
for GNU ld...
" >&6; }
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
6539 $as_echo_n "checking
for non-GNU ld...
" >&6; }
6541 if test "${lt_cv_path_LD+set}" = set; then :
6542 $as_echo_n "(cached
) " >&6
6544 if test -z "$LD"; then
6545 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6546 for ac_dir in $PATH; do
6548 test -z "$ac_dir" && ac_dir=.
6549 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6550 lt_cv_path_LD="$ac_dir/$ac_prog"
6551 # Check to see if the program is GNU ld. I'd rather use --version,
6552 # but apparently some variants of GNU ld only accept -v.
6553 # Break only if it was the GNU/non-GNU ld that we prefer.
6554 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6555 *GNU* | *'with BFD'*)
6556 test "$with_gnu_ld" != no && break
6559 test "$with_gnu_ld" != yes && break
6566 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6571 if test -n "$LD"; then
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
6573 $as_echo "$LD" >&6; }
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6576 $as_echo "no
" >&6; }
6578 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
6580 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
6581 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6582 $as_echo_n "(cached
) " >&6
6584 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6585 case `$LD -v 2>&1 </dev/null` in
6586 *GNU* | *'with BFD'*)
6587 lt_cv_prog_gnu_ld=yes
6590 lt_cv_prog_gnu_ld=no
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
6595 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6596 with_gnu_ld=$lt_cv_prog_gnu_ld
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6607 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6608 if test "${lt_cv_path_NM+set}" = set; then :
6609 $as_echo_n "(cached
) " >&6
6611 if test -n "$NM"; then
6612 # Let the user override the test.
6615 lt_nm_to_check="${ac_tool_prefix}nm
"
6616 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6617 lt_nm_to_check="$lt_nm_to_check nm
"
6619 for lt_tmp_nm in $lt_nm_to_check; do
6620 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6621 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6623 test -z "$ac_dir" && ac_dir=.
6624 tmp_nm="$ac_dir/$lt_tmp_nm"
6625 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6626 # Check to see if the nm accepts a BSD-compat flag.
6627 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6628 # nm: unknown option "B
" ignored
6629 # Tru64's nm complains that /dev/null is an invalid object file
6630 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6631 */dev/null* | *'Invalid file or object type'*)
6632 lt_cv_path_NM="$tmp_nm -B"
6636 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6638 lt_cv_path_NM="$tmp_nm -p"
6642 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6643 continue # so that we can try to find one that supports BSD flags
6652 : ${lt_cv_path_NM=no}
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
6656 $as_echo "$lt_cv_path_NM" >&6; }
6657 if test "$lt_cv_path_NM" != "no
"; then
6660 # Didn't find any BSD compatible name lister, look for dumpbin.
6661 if test -n "$DUMPBIN"; then :
6662 # Let the user override the test.
6664 if test -n "$ac_tool_prefix"; then
6665 for ac_prog in dumpbin "link
-dump"
6667 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6668 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6670 $as_echo_n "checking
for $ac_word...
" >&6; }
6671 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6672 $as_echo_n "(cached
) " >&6
6674 if test -n "$DUMPBIN"; then
6675 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6681 test -z "$as_dir" && as_dir=.
6682 for ac_exec_ext in '' $ac_executable_extensions; do
6683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6684 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6685 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6694 DUMPBIN=$ac_cv_prog_DUMPBIN
6695 if test -n "$DUMPBIN"; then
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
6697 $as_echo "$DUMPBIN" >&6; }
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6700 $as_echo "no
" >&6; }
6704 test -n "$DUMPBIN" && break
6707 if test -z "$DUMPBIN"; then
6708 ac_ct_DUMPBIN=$DUMPBIN
6709 for ac_prog in dumpbin "link
-dump"
6711 # Extract the first word of "$ac_prog", so it can be a program name with args.
6712 set dummy $ac_prog; ac_word=$2
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6714 $as_echo_n "checking
for $ac_word...
" >&6; }
6715 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6716 $as_echo_n "(cached
) " >&6
6718 if test -n "$ac_ct_DUMPBIN"; then
6719 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6725 test -z "$as_dir" && as_dir=.
6726 for ac_exec_ext in '' $ac_executable_extensions; do
6727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6728 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6729 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6738 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6739 if test -n "$ac_ct_DUMPBIN"; then
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6741 $as_echo "$ac_ct_DUMPBIN" >&6; }
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6744 $as_echo "no
" >&6; }
6748 test -n "$ac_ct_DUMPBIN" && break
6751 if test "x
$ac_ct_DUMPBIN" = x; then
6754 case $cross_compiling:$ac_tool_warned in
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6757 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6758 ac_tool_warned=yes ;;
6760 DUMPBIN=$ac_ct_DUMPBIN
6764 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6766 DUMPBIN="$DUMPBIN -symbols"
6774 if test "$DUMPBIN" != ":"; then
6778 test -z "$NM" && NM=nm
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6786 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6787 if test "${lt_cv_nm_interface+set}" = set; then :
6788 $as_echo_n "(cached
) " >&6
6790 lt_cv_nm_interface="BSD nm
"
6791 echo "int some_variable
= 0;" > conftest.$ac_ext
6792 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6793 (eval "$ac_compile" 2>conftest.err)
6794 cat conftest.err >&5
6795 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6796 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6797 cat conftest.err >&5
6798 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6799 cat conftest.out >&5
6800 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6801 lt_cv_nm_interface="MS dumpbin
"
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6806 $as_echo "$lt_cv_nm_interface" >&6; }
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
6809 $as_echo_n "checking whether
ln -s works...
" >&6; }
6811 if test "$LN_S" = "ln -s"; then
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
6813 $as_echo "yes" >&6; }
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
6816 $as_echo "no
, using
$LN_S" >&6; }
6819 # find the maximum length of command line arguments
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6821 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6822 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6823 $as_echo_n "(cached
) " >&6
6830 # On DJGPP, this test can blow up pretty badly due to problems in libc
6831 # (any single argument exceeding 2000 bytes causes a buffer overrun
6832 # during glob expansion). Even if it were fixed, the result of this
6833 # check would be larger than it should be.
6834 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6838 # Under GNU Hurd, this test is not required because there is
6839 # no limit to the length of command line arguments.
6840 # Libtool will interpret -1 as no limit whatsoever
6841 lt_cv_sys_max_cmd_len=-1;
6844 cygwin* | mingw* | cegcc*)
6845 # On Win9x/ME, this test blows up -- it succeeds, but takes
6846 # about 5 minutes as the teststring grows exponentially.
6847 # Worse, since 9x/ME are not pre-emptively multitasking,
6848 # you end up with a "frozen
" computer, even though with patience
6849 # the test eventually succeeds (with a max line length of 256k).
6850 # Instead, let's just punt: use the minimum linelength reported by
6851 # all of the supported platforms: 8192 (on NT/2K/XP).
6852 lt_cv_sys_max_cmd_len=8192;
6856 # On MiNT this can take a long time and run out of memory.
6857 lt_cv_sys_max_cmd_len=8192;
6861 # On AmigaOS with pdksh, this test takes hours, literally.
6862 # So we just punt and use a minimum line length of 8192.
6863 lt_cv_sys_max_cmd_len=8192;
6866 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6867 # This has been around since 386BSD, at least. Likely further.
6868 if test -x /sbin/sysctl; then
6869 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6870 elif test -x /usr/sbin/sysctl; then
6871 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6873 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6875 # And add a safety zone
6876 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6877 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6881 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6882 lt_cv_sys_max_cmd_len=196608
6886 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6887 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6888 # nice to cause kernel panics so lets avoid the loop below.
6889 # First set a reasonable default.
6890 lt_cv_sys_max_cmd_len=16384
6892 if test -x /sbin/sysconfig; then
6893 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6894 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6899 lt_cv_sys_max_cmd_len=102400
6901 sysv5* | sco5v6* | sysv4.2uw2*)
6902 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6903 if test -n "$kargmax"; then
6904 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6906 lt_cv_sys_max_cmd_len=32768
6910 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6911 if test -n "$lt_cv_sys_max_cmd_len"; then
6912 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6913 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6915 # Make teststring a little bigger before we do anything with it.
6916 # a 1K string should be a reasonable start.
6917 for i in 1 2 3 4 5 6 7 8 ; do
6918 teststring=$teststring$teststring
6920 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6921 # If test is not a shell built-in, we'll probably end up computing a
6922 # maximum length that is only half of the actual maximum length, but
6924 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6925 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6926 test $i != 17 # 1/2 MB should be enough
6929 teststring=$teststring$teststring
6931 # Only check the string length outside the loop.
6932 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6934 # Add a significant safety factor because C++ compilers can tack on
6935 # massive amounts of additional arguments before passing them to the
6936 # linker. It appears as though 1/2 is a usable value.
6937 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6944 if test -n $lt_cv_sys_max_cmd_len ; then
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6946 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6949 $as_echo "none
" >&6; }
6951 max_cmd_len=$lt_cv_sys_max_cmd_len
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6963 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6964 # Try some XSI features
6967 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6969 && eval 'test $(( 1 + 1 )) -eq 2 \
6970 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6973 $as_echo "$xsi_shell" >&6; }
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6977 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6979 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6981 && lt_shell_append
=yes
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6983 $as_echo "$lt_shell_append" >&6; }
6986 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6996 # test EBCDIC or ASCII
6997 case `echo X|tr X '\101'` in
6998 A
) # ASCII based system
6999 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7000 lt_SP2NL
='tr \040 \012'
7001 lt_NL2SP
='tr \015\012 \040\040'
7003 *) # EBCDIC based system
7004 lt_SP2NL
='tr \100 \n'
7005 lt_NL2SP
='tr \r\n \100\100'
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7018 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7019 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7020 $as_echo_n "(cached) " >&6
7022 lt_cv_ld_reload_flag
='-r'
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7025 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7026 reload_flag
=$lt_cv_ld_reload_flag
7027 case $reload_flag in
7029 *) reload_flag
=" $reload_flag" ;;
7031 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7034 if test "$GCC" = yes; then
7035 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7037 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7050 if test -n "$ac_tool_prefix"; then
7051 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7052 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7054 $as_echo_n "checking for $ac_word... " >&6; }
7055 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7056 $as_echo_n "(cached) " >&6
7058 if test -n "$OBJDUMP"; then
7059 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7065 test -z "$as_dir" && as_dir
=.
7066 for ac_exec_ext
in '' $ac_executable_extensions; do
7067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7068 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7078 OBJDUMP
=$ac_cv_prog_OBJDUMP
7079 if test -n "$OBJDUMP"; then
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7081 $as_echo "$OBJDUMP" >&6; }
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7084 $as_echo "no" >&6; }
7089 if test -z "$ac_cv_prog_OBJDUMP"; then
7090 ac_ct_OBJDUMP
=$OBJDUMP
7091 # Extract the first word of "objdump", so it can be a program name with args.
7092 set dummy objdump
; ac_word
=$2
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7094 $as_echo_n "checking for $ac_word... " >&6; }
7095 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7096 $as_echo_n "(cached) " >&6
7098 if test -n "$ac_ct_OBJDUMP"; then
7099 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7105 test -z "$as_dir" && as_dir
=.
7106 for ac_exec_ext
in '' $ac_executable_extensions; do
7107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7108 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7118 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7119 if test -n "$ac_ct_OBJDUMP"; then
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7121 $as_echo "$ac_ct_OBJDUMP" >&6; }
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7124 $as_echo "no" >&6; }
7127 if test "x$ac_ct_OBJDUMP" = x
; then
7130 case $cross_compiling:$ac_tool_warned in
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7133 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7134 ac_tool_warned
=yes ;;
7136 OBJDUMP
=$ac_ct_OBJDUMP
7139 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7142 test -z "$OBJDUMP" && OBJDUMP
=objdump
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7153 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7154 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7155 $as_echo_n "(cached) " >&6
7157 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7158 lt_cv_file_magic_test_file
=
7159 lt_cv_deplibs_check_method
='unknown'
7160 # Need to set the preceding variable on all platforms that support
7161 # interlibrary dependencies.
7162 # 'none' -- dependencies not supported.
7163 # `unknown' -- same as none, but documents that we really don't know.
7164 # 'pass_all' -- all dependencies passed with no checks.
7165 # 'test_compile' -- check by making test program.
7166 # 'file_magic [[regex]]' -- check by looking for files in library path
7167 # which responds to the $file_magic_cmd with a given extended regex.
7168 # If you have `file' or equivalent on your system and you're not sure
7169 # whether `pass_all' will *always* work, you probably want this one.
7173 lt_cv_deplibs_check_method
=pass_all
7177 lt_cv_deplibs_check_method
=pass_all
7181 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7182 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7183 lt_cv_file_magic_test_file
=/shlib
/libc.so
7187 # func_win32_libid is a shell function defined in ltmain.sh
7188 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7189 lt_cv_file_magic_cmd
='func_win32_libid'
7193 # Base MSYS/MinGW do not provide the 'file' command needed by
7194 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7195 # unless we find 'file', for example because we are cross-compiling.
7196 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7197 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
7198 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7199 lt_cv_file_magic_cmd
='func_win32_libid'
7201 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
7202 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7207 # use the weaker test based on 'objdump'. See mingw*.
7208 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7209 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7212 darwin
* | rhapsody
*)
7213 lt_cv_deplibs_check_method
=pass_all
7216 freebsd
* | dragonfly
*)
7217 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7220 # Not sure whether the presence of OpenBSD here was a mistake.
7221 # Let's accept both of them until this is cleared up.
7222 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7223 lt_cv_file_magic_cmd
=/usr
/bin
/file
7224 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7228 lt_cv_deplibs_check_method
=pass_all
7233 lt_cv_deplibs_check_method
=pass_all
7237 lt_cv_deplibs_check_method
=pass_all
7240 hpux10.20
* | hpux11
*)
7241 lt_cv_file_magic_cmd
=/usr
/bin
/file
7244 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7245 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7248 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]'
7249 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7252 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7253 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7259 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7260 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7263 irix5
* | irix6
* | nonstopux
*)
7265 *-32|
*"-32 ") libmagic
=32-bit;;
7266 *-n32|
*"-n32 ") libmagic
=N32
;;
7267 *-64|
*"-64 ") libmagic
=64-bit;;
7268 *) libmagic
=never-match
;;
7270 lt_cv_deplibs_check_method
=pass_all
7273 # This must be Linux ELF.
7274 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7275 lt_cv_deplibs_check_method
=pass_all
7279 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7280 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7282 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7287 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7288 lt_cv_file_magic_cmd
=/usr
/bin
/file
7289 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7293 lt_cv_deplibs_check_method
=pass_all
7297 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7298 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7300 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7304 osf3
* | osf4
* | osf5
*)
7305 lt_cv_deplibs_check_method
=pass_all
7309 lt_cv_deplibs_check_method
=pass_all
7313 lt_cv_deplibs_check_method
=pass_all
7316 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7317 lt_cv_deplibs_check_method
=pass_all
7321 case $host_vendor in
7323 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]'
7324 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7327 lt_cv_deplibs_check_method
=pass_all
7330 lt_cv_file_magic_cmd
='/bin/file'
7331 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7334 lt_cv_file_magic_cmd
='/bin/file'
7335 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7336 lt_cv_file_magic_test_file
=/lib
/libc.so
7339 lt_cv_deplibs_check_method
=pass_all
7342 lt_cv_deplibs_check_method
=pass_all
7348 lt_cv_deplibs_check_method
=pass_all
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7354 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7355 file_magic_cmd
=$lt_cv_file_magic_cmd
7356 deplibs_check_method
=$lt_cv_deplibs_check_method
7357 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7370 if test -n "$ac_tool_prefix"; then
7371 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7372 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7374 $as_echo_n "checking for $ac_word... " >&6; }
7375 if test "${ac_cv_prog_AR+set}" = set; then :
7376 $as_echo_n "(cached) " >&6
7378 if test -n "$AR"; then
7379 ac_cv_prog_AR
="$AR" # Let the user override the test.
7381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7385 test -z "$as_dir" && as_dir
=.
7386 for ac_exec_ext
in '' $ac_executable_extensions; do
7387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7388 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7399 if test -n "$AR"; then
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7401 $as_echo "$AR" >&6; }
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7404 $as_echo "no" >&6; }
7409 if test -z "$ac_cv_prog_AR"; then
7411 # Extract the first word of "ar", so it can be a program name with args.
7412 set dummy
ar; ac_word
=$2
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7414 $as_echo_n "checking for $ac_word... " >&6; }
7415 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7416 $as_echo_n "(cached) " >&6
7418 if test -n "$ac_ct_AR"; then
7419 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7425 test -z "$as_dir" && as_dir
=.
7426 for ac_exec_ext
in '' $ac_executable_extensions; do
7427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7428 ac_cv_prog_ac_ct_AR
="ar"
7429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7438 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7439 if test -n "$ac_ct_AR"; then
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7441 $as_echo "$ac_ct_AR" >&6; }
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7444 $as_echo "no" >&6; }
7447 if test "x$ac_ct_AR" = x
; then
7450 case $cross_compiling:$ac_tool_warned in
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7453 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7454 ac_tool_warned
=yes ;;
7462 test -z "$AR" && AR
=ar
7463 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7475 if test -n "$ac_tool_prefix"; then
7476 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7477 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7479 $as_echo_n "checking for $ac_word... " >&6; }
7480 if test "${ac_cv_prog_STRIP+set}" = set; then :
7481 $as_echo_n "(cached) " >&6
7483 if test -n "$STRIP"; then
7484 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7490 test -z "$as_dir" && as_dir
=.
7491 for ac_exec_ext
in '' $ac_executable_extensions; do
7492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7493 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7503 STRIP
=$ac_cv_prog_STRIP
7504 if test -n "$STRIP"; then
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7506 $as_echo "$STRIP" >&6; }
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7509 $as_echo "no" >&6; }
7514 if test -z "$ac_cv_prog_STRIP"; then
7516 # Extract the first word of "strip", so it can be a program name with args.
7517 set dummy strip
; ac_word
=$2
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7519 $as_echo_n "checking for $ac_word... " >&6; }
7520 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7521 $as_echo_n "(cached) " >&6
7523 if test -n "$ac_ct_STRIP"; then
7524 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7530 test -z "$as_dir" && as_dir
=.
7531 for ac_exec_ext
in '' $ac_executable_extensions; do
7532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7533 ac_cv_prog_ac_ct_STRIP
="strip"
7534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7543 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7544 if test -n "$ac_ct_STRIP"; then
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7546 $as_echo "$ac_ct_STRIP" >&6; }
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7549 $as_echo "no" >&6; }
7552 if test "x$ac_ct_STRIP" = x
; then
7555 case $cross_compiling:$ac_tool_warned in
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7558 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7559 ac_tool_warned
=yes ;;
7564 STRIP
="$ac_cv_prog_STRIP"
7567 test -z "$STRIP" && STRIP
=:
7574 if test -n "$ac_tool_prefix"; then
7575 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7576 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7578 $as_echo_n "checking for $ac_word... " >&6; }
7579 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7580 $as_echo_n "(cached) " >&6
7582 if test -n "$RANLIB"; then
7583 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7589 test -z "$as_dir" && as_dir
=.
7590 for ac_exec_ext
in '' $ac_executable_extensions; do
7591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7592 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7602 RANLIB
=$ac_cv_prog_RANLIB
7603 if test -n "$RANLIB"; then
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7605 $as_echo "$RANLIB" >&6; }
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7608 $as_echo "no" >&6; }
7613 if test -z "$ac_cv_prog_RANLIB"; then
7614 ac_ct_RANLIB
=$RANLIB
7615 # Extract the first word of "ranlib", so it can be a program name with args.
7616 set dummy ranlib
; ac_word
=$2
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7618 $as_echo_n "checking for $ac_word... " >&6; }
7619 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7620 $as_echo_n "(cached) " >&6
7622 if test -n "$ac_ct_RANLIB"; then
7623 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7629 test -z "$as_dir" && as_dir
=.
7630 for ac_exec_ext
in '' $ac_executable_extensions; do
7631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7632 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7642 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7643 if test -n "$ac_ct_RANLIB"; then
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7645 $as_echo "$ac_ct_RANLIB" >&6; }
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7648 $as_echo "no" >&6; }
7651 if test "x$ac_ct_RANLIB" = x
; then
7654 case $cross_compiling:$ac_tool_warned in
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7657 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7658 ac_tool_warned
=yes ;;
7660 RANLIB
=$ac_ct_RANLIB
7663 RANLIB
="$ac_cv_prog_RANLIB"
7666 test -z "$RANLIB" && RANLIB
=:
7673 # Determine commands to create old-style static archives.
7674 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7675 old_postinstall_cmds
='chmod 644 $oldlib'
7676 old_postuninstall_cmds
=
7678 if test -n "$RANLIB"; then
7681 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7684 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7687 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7692 lock_old_archive_extraction
=yes ;;
7694 lock_old_archive_extraction
=no
;;
7735 # If no C compiler was specified, use CC.
7738 # If no C compiler flags were specified, use CFLAGS.
7739 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7741 # Allow CC to be a program name with arguments.
7745 # Check for command to grab the raw symbol name followed by C symbol from nm.
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7747 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7748 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7749 $as_echo_n "(cached) " >&6
7752 # These are sane defaults that work on at least a few old systems.
7753 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7755 # Character class describing NM global symbol codes.
7756 symcode
='[BCDEGRST]'
7758 # Regexp to match symbols that can be accessed directly from C.
7759 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7761 # Define system-specific variables.
7766 cygwin
* | mingw
* | pw32
* | cegcc
*)
7767 symcode
='[ABCDGISTW]'
7770 if test "$host_cpu" = ia64
; then
7771 symcode
='[ABCDEGRST]'
7775 symcode
='[BCDEGRST]'
7778 symcode
='[BCDEGQRST]'
7789 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7797 # If we're using GNU nm, then use its standard symbol codes.
7798 case `$NM -V 2>&1` in
7799 *GNU
* |
*'with BFD'*)
7800 symcode
='[ABCDGIRSTW]' ;;
7803 # Transform an extracted symbol line into a proper C declaration.
7804 # Some systems (esp. on ia64) link data and code symbols differently,
7805 # so use this general approach.
7806 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7808 # Transform an extracted symbol line into symbol name and symbol address
7809 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7810 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'"
7812 # Handle CRLF in mingw tool chain
7816 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7820 # Try without a prefix underscore, then with it.
7821 for ac_symprfx
in "" "_"; do
7823 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7824 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7826 # Write the raw and C identifiers.
7827 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7828 # Fake it for dumpbin and say T for any non-static function
7829 # and D for any global variable.
7830 # Also find C++ and __fastcall symbols from MSVC++,
7831 # which start with @ or ?.
7832 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7833 " {last_section=section; section=\$ 3};"\
7834 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7835 " \$ 0!~/External *\|/{next};"\
7836 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7837 " {if(hide[section]) next};"\
7838 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7839 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7840 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7841 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7842 " ' prfx=^$ac_symprfx"
7844 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7847 # Check to see that the pipe works correctly.
7851 cat > conftest.
$ac_ext <<_LT_EOF
7856 void nm_test_func(void);
7857 void nm_test_func(void){}
7861 int main(){nm_test_var='a';nm_test_func();return(0);}
7864 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7865 (eval $ac_compile) 2>&5
7867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7868 test $ac_status = 0; }; then
7869 # Now try to grab the symbols.
7871 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7872 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7875 test $ac_status = 0; } && test -s "$nlist"; then
7876 # Try sorting and uniquifying the output.
7877 if sort "$nlist" |
uniq > "$nlist"T
; then
7878 mv -f "$nlist"T
"$nlist"
7883 # Make sure that we snagged all the symbols we need.
7884 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7885 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7886 cat <<_LT_EOF > conftest.$ac_ext
7892 # Now generate the symbol file.
7893 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7895 cat <<_LT_EOF >> conftest.$ac_ext
7897 /* The mapping between symbol names and symbols. */
7902 lt__PROGRAM__LTX_preloaded_symbols[] =
7904 { "@PROGRAM@", (void *) 0 },
7906 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7907 cat <<\_LT_EOF
>> conftest.
$ac_ext
7911 /* This works around a problem
in FreeBSD linker
*/
7912 #ifdef FREEBSD_WORKAROUND
7913 static const void
*lt_preloaded_setup
() {
7914 return lt__PROGRAM__LTX_preloaded_symbols
;
7922 # Now try linking the two files.
7923 mv conftest.
$ac_objext conftstm.
$ac_objext
7924 lt_save_LIBS
="$LIBS"
7925 lt_save_CFLAGS
="$CFLAGS"
7926 LIBS
="conftstm.$ac_objext"
7927 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7928 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7929 (eval $ac_link) 2>&5
7931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7932 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7935 LIBS
="$lt_save_LIBS"
7936 CFLAGS
="$lt_save_CFLAGS"
7938 echo "cannot find nm_test_func in $nlist" >&5
7941 echo "cannot find nm_test_var in $nlist" >&5
7944 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7947 echo "$progname: failed program was:" >&5
7948 cat conftest.
$ac_ext >&5
7950 rm -rf conftest
* conftst
*
7952 # Do not use the global_symbol_pipe unless it works.
7953 if test "$pipe_works" = yes; then
7956 lt_cv_sys_global_symbol_pipe
=
7962 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7963 lt_cv_sys_global_symbol_to_cdecl
=
7965 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7967 $as_echo "failed" >&6; }
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7970 $as_echo "ok" >&6; }
7994 # Check whether --enable-libtool-lock was given.
7995 if test "${enable_libtool_lock+set}" = set; then :
7996 enableval
=$enable_libtool_lock;
7999 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8001 # Some flags need to be propagated to the compiler or linker for good
8005 # Find out which ABI we are using.
8006 echo 'int i;' > conftest.
$ac_ext
8007 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8008 (eval $ac_compile) 2>&5
8010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8011 test $ac_status = 0; }; then
8012 case `/usr/bin/file conftest.$ac_objext` in
8024 # Find out which ABI we are using.
8025 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8026 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8027 (eval $ac_compile) 2>&5
8029 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8030 test $ac_status = 0; }; then
8031 if test "$lt_cv_prog_gnu_ld" = yes; then
8032 case `/usr/bin/file conftest.$ac_objext` in
8034 LD
="${LD-ld} -melf32bsmip"
8037 LD
="${LD-ld} -melf32bmipn32"
8040 LD
="${LD-ld} -melf64bmip"
8044 case `/usr/bin/file conftest.$ac_objext` in
8060 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
8061 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8062 # Find out which ABI we are using.
8063 echo 'int i;' > conftest.
$ac_ext
8064 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8065 (eval $ac_compile) 2>&5
8067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8068 test $ac_status = 0; }; then
8069 case `/usr/bin/file conftest.o` in
8072 x86_64-
*kfreebsd
*-gnu)
8073 LD
="${LD-ld} -m elf_i386_fbsd"
8076 case `/usr/bin/file conftest.o` in
8078 LD
="${LD-ld} -m elf32_x86_64"
8081 LD
="${LD-ld} -m elf_i386"
8085 ppc64-
*linux
*|powerpc64-
*linux
*)
8086 LD
="${LD-ld} -m elf32ppclinux"
8089 LD
="${LD-ld} -m elf_s390"
8092 LD
="${LD-ld} -m elf32_sparc"
8098 x86_64-
*kfreebsd
*-gnu)
8099 LD
="${LD-ld} -m elf_x86_64_fbsd"
8102 LD
="${LD-ld} -m elf_x86_64"
8104 ppc
*-*linux
*|powerpc
*-*linux
*)
8105 LD
="${LD-ld} -m elf64ppc"
8107 s390
*-*linux
*|s390
*-*tpf
*)
8108 LD
="${LD-ld} -m elf64_s390"
8111 LD
="${LD-ld} -m elf64_sparc"
8121 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8122 SAVE_CFLAGS
="$CFLAGS"
8123 CFLAGS
="$CFLAGS -belf"
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8125 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8126 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8127 $as_echo_n "(cached) " >&6
8130 ac_cpp
='$CPP $CPPFLAGS'
8131 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8132 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8133 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8135 if test x
$gcc_no_link = xyes
; then
8136 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8139 /* end confdefs.h. */
8149 if ac_fn_c_try_link
"$LINENO"; then :
8150 lt_cv_cc_needs_belf
=yes
8152 lt_cv_cc_needs_belf
=no
8154 rm -f core conftest.err conftest.
$ac_objext \
8155 conftest
$ac_exeext conftest.
$ac_ext
8157 ac_cpp
='$CPP $CPPFLAGS'
8158 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8159 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8160 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8164 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8165 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
8166 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8167 CFLAGS
="$SAVE_CFLAGS"
8171 # Find out which ABI we are using.
8172 echo 'int i;' > conftest.
$ac_ext
8173 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8174 (eval $ac_compile) 2>&5
8176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8177 test $ac_status = 0; }; then
8178 case `/usr/bin/file conftest.o` in
8180 case $lt_cv_prog_gnu_ld in
8181 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8183 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8195 need_locks
="$enable_libtool_lock"
8199 rhapsody
* | darwin
*)
8200 if test -n "$ac_tool_prefix"; then
8201 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8202 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8204 $as_echo_n "checking for $ac_word... " >&6; }
8205 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8206 $as_echo_n "(cached) " >&6
8208 if test -n "$DSYMUTIL"; then
8209 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8215 test -z "$as_dir" && as_dir
=.
8216 for ac_exec_ext
in '' $ac_executable_extensions; do
8217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8218 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8228 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8229 if test -n "$DSYMUTIL"; then
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8231 $as_echo "$DSYMUTIL" >&6; }
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8234 $as_echo "no" >&6; }
8239 if test -z "$ac_cv_prog_DSYMUTIL"; then
8240 ac_ct_DSYMUTIL
=$DSYMUTIL
8241 # Extract the first word of "dsymutil", so it can be a program name with args.
8242 set dummy dsymutil
; ac_word
=$2
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8244 $as_echo_n "checking for $ac_word... " >&6; }
8245 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8246 $as_echo_n "(cached) " >&6
8248 if test -n "$ac_ct_DSYMUTIL"; then
8249 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8255 test -z "$as_dir" && as_dir
=.
8256 for ac_exec_ext
in '' $ac_executable_extensions; do
8257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8258 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8268 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8269 if test -n "$ac_ct_DSYMUTIL"; then
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8271 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8274 $as_echo "no" >&6; }
8277 if test "x$ac_ct_DSYMUTIL" = x
; then
8280 case $cross_compiling:$ac_tool_warned in
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8283 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8284 ac_tool_warned
=yes ;;
8286 DSYMUTIL
=$ac_ct_DSYMUTIL
8289 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8292 if test -n "$ac_tool_prefix"; then
8293 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8294 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8296 $as_echo_n "checking for $ac_word... " >&6; }
8297 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8298 $as_echo_n "(cached) " >&6
8300 if test -n "$NMEDIT"; then
8301 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8307 test -z "$as_dir" && as_dir
=.
8308 for ac_exec_ext
in '' $ac_executable_extensions; do
8309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8310 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8320 NMEDIT
=$ac_cv_prog_NMEDIT
8321 if test -n "$NMEDIT"; then
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8323 $as_echo "$NMEDIT" >&6; }
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8326 $as_echo "no" >&6; }
8331 if test -z "$ac_cv_prog_NMEDIT"; then
8332 ac_ct_NMEDIT
=$NMEDIT
8333 # Extract the first word of "nmedit", so it can be a program name with args.
8334 set dummy nmedit
; ac_word
=$2
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8336 $as_echo_n "checking for $ac_word... " >&6; }
8337 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8338 $as_echo_n "(cached) " >&6
8340 if test -n "$ac_ct_NMEDIT"; then
8341 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8347 test -z "$as_dir" && as_dir
=.
8348 for ac_exec_ext
in '' $ac_executable_extensions; do
8349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8350 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8360 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8361 if test -n "$ac_ct_NMEDIT"; then
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8363 $as_echo "$ac_ct_NMEDIT" >&6; }
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8366 $as_echo "no" >&6; }
8369 if test "x$ac_ct_NMEDIT" = x
; then
8372 case $cross_compiling:$ac_tool_warned in
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8376 ac_tool_warned
=yes ;;
8378 NMEDIT
=$ac_ct_NMEDIT
8381 NMEDIT
="$ac_cv_prog_NMEDIT"
8384 if test -n "$ac_tool_prefix"; then
8385 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8386 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8388 $as_echo_n "checking for $ac_word... " >&6; }
8389 if test "${ac_cv_prog_LIPO+set}" = set; then :
8390 $as_echo_n "(cached) " >&6
8392 if test -n "$LIPO"; then
8393 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8399 test -z "$as_dir" && as_dir
=.
8400 for ac_exec_ext
in '' $ac_executable_extensions; do
8401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8402 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8412 LIPO
=$ac_cv_prog_LIPO
8413 if test -n "$LIPO"; then
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8415 $as_echo "$LIPO" >&6; }
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8418 $as_echo "no" >&6; }
8423 if test -z "$ac_cv_prog_LIPO"; then
8425 # Extract the first word of "lipo", so it can be a program name with args.
8426 set dummy lipo
; ac_word
=$2
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8428 $as_echo_n "checking for $ac_word... " >&6; }
8429 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8430 $as_echo_n "(cached) " >&6
8432 if test -n "$ac_ct_LIPO"; then
8433 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8439 test -z "$as_dir" && as_dir
=.
8440 for ac_exec_ext
in '' $ac_executable_extensions; do
8441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8442 ac_cv_prog_ac_ct_LIPO
="lipo"
8443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8452 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8453 if test -n "$ac_ct_LIPO"; then
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8455 $as_echo "$ac_ct_LIPO" >&6; }
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8458 $as_echo "no" >&6; }
8461 if test "x$ac_ct_LIPO" = x
; then
8464 case $cross_compiling:$ac_tool_warned in
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8468 ac_tool_warned
=yes ;;
8473 LIPO
="$ac_cv_prog_LIPO"
8476 if test -n "$ac_tool_prefix"; then
8477 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8478 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8480 $as_echo_n "checking for $ac_word... " >&6; }
8481 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8482 $as_echo_n "(cached) " >&6
8484 if test -n "$OTOOL"; then
8485 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8487 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8491 test -z "$as_dir" && as_dir
=.
8492 for ac_exec_ext
in '' $ac_executable_extensions; do
8493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8494 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8504 OTOOL
=$ac_cv_prog_OTOOL
8505 if test -n "$OTOOL"; then
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8507 $as_echo "$OTOOL" >&6; }
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8510 $as_echo "no" >&6; }
8515 if test -z "$ac_cv_prog_OTOOL"; then
8517 # Extract the first word of "otool", so it can be a program name with args.
8518 set dummy otool
; ac_word
=$2
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8520 $as_echo_n "checking for $ac_word... " >&6; }
8521 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8522 $as_echo_n "(cached) " >&6
8524 if test -n "$ac_ct_OTOOL"; then
8525 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8531 test -z "$as_dir" && as_dir
=.
8532 for ac_exec_ext
in '' $ac_executable_extensions; do
8533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8534 ac_cv_prog_ac_ct_OTOOL
="otool"
8535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8544 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8545 if test -n "$ac_ct_OTOOL"; then
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8547 $as_echo "$ac_ct_OTOOL" >&6; }
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8550 $as_echo "no" >&6; }
8553 if test "x$ac_ct_OTOOL" = x
; then
8556 case $cross_compiling:$ac_tool_warned in
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8559 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8560 ac_tool_warned
=yes ;;
8565 OTOOL
="$ac_cv_prog_OTOOL"
8568 if test -n "$ac_tool_prefix"; then
8569 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8570 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8572 $as_echo_n "checking for $ac_word... " >&6; }
8573 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8574 $as_echo_n "(cached) " >&6
8576 if test -n "$OTOOL64"; then
8577 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8583 test -z "$as_dir" && as_dir
=.
8584 for ac_exec_ext
in '' $ac_executable_extensions; do
8585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8586 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8596 OTOOL64
=$ac_cv_prog_OTOOL64
8597 if test -n "$OTOOL64"; then
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8599 $as_echo "$OTOOL64" >&6; }
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8602 $as_echo "no" >&6; }
8607 if test -z "$ac_cv_prog_OTOOL64"; then
8608 ac_ct_OTOOL64
=$OTOOL64
8609 # Extract the first word of "otool64", so it can be a program name with args.
8610 set dummy otool64
; ac_word
=$2
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8612 $as_echo_n "checking for $ac_word... " >&6; }
8613 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8614 $as_echo_n "(cached) " >&6
8616 if test -n "$ac_ct_OTOOL64"; then
8617 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8623 test -z "$as_dir" && as_dir
=.
8624 for ac_exec_ext
in '' $ac_executable_extensions; do
8625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8626 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8636 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8637 if test -n "$ac_ct_OTOOL64"; then
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8639 $as_echo "$ac_ct_OTOOL64" >&6; }
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8642 $as_echo "no" >&6; }
8645 if test "x$ac_ct_OTOOL64" = x
; then
8648 case $cross_compiling:$ac_tool_warned in
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8651 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8652 ac_tool_warned
=yes ;;
8654 OTOOL64
=$ac_ct_OTOOL64
8657 OTOOL64
="$ac_cv_prog_OTOOL64"
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8687 $as_echo_n "checking for -single_module linker flag... " >&6; }
8688 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8689 $as_echo_n "(cached) " >&6
8691 lt_cv_apple_cc_single_mod
=no
8692 if test -z "${LT_MULTI_MODULE}"; then
8693 # By default we will add the -single_module flag. You can override
8694 # by either setting the environment variable LT_MULTI_MODULE
8695 # non-empty at configure time, or by adding -multi_module to the
8697 rm -rf libconftest.dylib
*
8698 echo "int foo(void){return 1;}" > conftest.c
8699 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8700 -dynamiclib -Wl,-single_module conftest.c" >&5
8701 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8702 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8704 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8705 lt_cv_apple_cc_single_mod
=yes
8707 cat conftest.err
>&5
8709 rm -rf libconftest.dylib
*
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8714 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8716 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8717 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8718 $as_echo_n "(cached) " >&6
8720 lt_cv_ld_exported_symbols_list
=no
8721 save_LDFLAGS
=$LDFLAGS
8722 echo "_main" > conftest.sym
8723 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8724 if test x
$gcc_no_link = xyes
; then
8725 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8728 /* end confdefs.h. */
8738 if ac_fn_c_try_link
"$LINENO"; then :
8739 lt_cv_ld_exported_symbols_list
=yes
8741 lt_cv_ld_exported_symbols_list
=no
8743 rm -f core conftest.err conftest.
$ac_objext \
8744 conftest
$ac_exeext conftest.
$ac_ext
8745 LDFLAGS
="$save_LDFLAGS"
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8749 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8751 $as_echo_n "checking for -force_load linker flag... " >&6; }
8752 if test "${lt_cv_ld_force_load+set}" = set; then :
8753 $as_echo_n "(cached) " >&6
8755 lt_cv_ld_force_load
=no
8756 cat > conftest.c
<< _LT_EOF
8757 int forced_loaded() { return 2;}
8759 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8760 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8761 echo "$AR cru libconftest.a conftest.o" >&5
8762 $AR cru libconftest.a conftest.o
2>&5
8763 cat > conftest.c
<< _LT_EOF
8764 int main() { return 0;}
8766 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8767 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8769 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8770 lt_cv_ld_force_load
=yes
8772 cat conftest.err
>&5
8774 rm -f conftest.err libconftest.a conftest conftest.c
8775 rm -rf conftest.dSYM
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8779 $as_echo "$lt_cv_ld_force_load" >&6; }
8781 rhapsody
* | darwin1.
[012])
8782 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8784 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8785 darwin
*) # darwin 5.x on
8786 # if running on 10.5 or later, the deployment target defaults
8787 # to the OS version, if on x86, and 10.4, the deployment
8788 # target defaults to 10.4. Don't you love it?
8789 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8790 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8791 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8793 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8795 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8799 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8800 _lt_dar_single_mod
='$single_module'
8802 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8803 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8805 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8807 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8808 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8815 for ac_header
in dlfcn.h
8817 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8819 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8820 cat >>confdefs.h
<<_ACEOF
8821 #define HAVE_DLFCN_H 1
8840 # Check whether --enable-shared was given.
8841 if test "${enable_shared+set}" = set; then :
8842 enableval
=$enable_shared; p
=${PACKAGE-default}
8844 yes) enable_shared
=yes ;;
8845 no
) enable_shared
=no
;;
8848 # Look at the argument we got. We use all the common list separators.
8849 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8850 for pkg
in $enableval; do
8852 if test "X$pkg" = "X$p"; then
8871 # Check whether --enable-static was given.
8872 if test "${enable_static+set}" = set; then :
8873 enableval
=$enable_static; p
=${PACKAGE-default}
8875 yes) enable_static
=yes ;;
8876 no
) enable_static
=no
;;
8879 # Look at the argument we got. We use all the common list separators.
8880 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8881 for pkg
in $enableval; do
8883 if test "X$pkg" = "X$p"; then
8903 # Check whether --with-pic was given.
8904 if test "${with_pic+set}" = set; then :
8905 withval
=$with_pic; pic_mode
="$withval"
8911 test -z "$pic_mode" && pic_mode
=default
8919 # Check whether --enable-fast-install was given.
8920 if test "${enable_fast_install+set}" = set; then :
8921 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8923 yes) enable_fast_install
=yes ;;
8924 no
) enable_fast_install
=no
;;
8926 enable_fast_install
=no
8927 # Look at the argument we got. We use all the common list separators.
8928 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8929 for pkg
in $enableval; do
8931 if test "X$pkg" = "X$p"; then
8932 enable_fast_install
=yes
8939 enable_fast_install
=yes
8952 # This can be used to rebuild libtool when needed
8953 LIBTOOL_DEPS
="$ltmain"
8955 # Always use our own libtool.
8956 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8983 test -z "$LN_S" && LN_S
="ln -s"
8998 if test -n "${ZSH_VERSION+set}" ; then
8999 setopt NO_GLOB_SUBST
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9003 $as_echo_n "checking for objdir... " >&6; }
9004 if test "${lt_cv_objdir+set}" = set; then :
9005 $as_echo_n "(cached) " >&6
9007 rm -f .libs
2>/dev
/null
9008 mkdir .libs
2>/dev
/null
9009 if test -d .libs
; then
9012 # MS-DOS does not allow filenames that begin with a dot.
9015 rmdir .libs
2>/dev
/null
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9018 $as_echo "$lt_cv_objdir" >&6; }
9019 objdir
=$lt_cv_objdir
9025 cat >>confdefs.h
<<_ACEOF
9026 #define LT_OBJDIR "$lt_cv_objdir/"
9034 # AIX sometimes has problems with the GCC collect2 program. For some
9035 # reason, if we set the COLLECT_NAMES environment variable, the problems
9036 # vanish in a puff of smoke.
9037 if test "X${COLLECT_NAMES+set}" != Xset
; then
9039 export COLLECT_NAMES
9046 can_build_shared
=yes
9048 # All known linkers require a `.a' archive for static linking (except MSVC,
9049 # which needs '.lib').
9052 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9055 old_CFLAGS
="$CFLAGS"
9057 # Set sane defaults for various variables
9058 test -z "$CC" && CC
=cc
9059 test -z "$LTCC" && LTCC
=$CC
9060 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9061 test -z "$LD" && LD
=ld
9062 test -z "$ac_objext" && ac_objext
=o
9064 for cc_temp
in $compiler""; do
9066 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9067 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9072 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9075 # Only perform the check for file, if the check method requires it
9076 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9077 case $deplibs_check_method in
9079 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9081 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9082 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9083 $as_echo_n "(cached) " >&6
9087 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9090 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9091 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9092 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9093 for ac_dir
in $ac_dummy; do
9095 test -z "$ac_dir" && ac_dir
=.
9096 if test -f $ac_dir/${ac_tool_prefix}file; then
9097 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9098 if test -n "$file_magic_test_file"; then
9099 case $deplibs_check_method in
9101 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9102 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9103 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9104 $EGREP "$file_magic_regex" > /dev
/null
; then
9109 *** Warning: the command libtool uses to detect shared libraries,
9110 *** $file_magic_cmd, produces output that libtool cannot recognize.
9111 *** The result is that libtool may fail to recognize shared libraries
9112 *** as such. This will affect the creation of libtool libraries that
9113 *** depend on shared libraries, but programs linked with such libtool
9114 *** libraries will work regardless of this problem. Nevertheless, you
9115 *** may want to report the problem to your system manager and/or to
9116 *** bug-libtool@gnu.org
9126 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9131 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9132 if test -n "$MAGIC_CMD"; then
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9134 $as_echo "$MAGIC_CMD" >&6; }
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9137 $as_echo "no" >&6; }
9144 if test -z "$lt_cv_path_MAGIC_CMD"; then
9145 if test -n "$ac_tool_prefix"; then
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9147 $as_echo_n "checking for file... " >&6; }
9148 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9149 $as_echo_n "(cached) " >&6
9153 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9156 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9157 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9158 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9159 for ac_dir
in $ac_dummy; do
9161 test -z "$ac_dir" && ac_dir
=.
9162 if test -f $ac_dir/file; then
9163 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9164 if test -n "$file_magic_test_file"; then
9165 case $deplibs_check_method in
9167 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9168 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9169 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9170 $EGREP "$file_magic_regex" > /dev
/null
; then
9175 *** Warning: the command libtool uses to detect shared libraries,
9176 *** $file_magic_cmd, produces output that libtool cannot recognize.
9177 *** The result is that libtool may fail to recognize shared libraries
9178 *** as such. This will affect the creation of libtool libraries that
9179 *** depend on shared libraries, but programs linked with such libtool
9180 *** libraries will work regardless of this problem. Nevertheless, you
9181 *** may want to report the problem to your system manager and/or to
9182 *** bug-libtool@gnu.org
9192 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9197 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9198 if test -n "$MAGIC_CMD"; then
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9200 $as_echo "$MAGIC_CMD" >&6; }
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9203 $as_echo "no" >&6; }
9216 # Use C for the default configuration in the libtool script
9220 ac_cpp
='$CPP $CPPFLAGS'
9221 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9222 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9223 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9226 # Source file extension for C test sources.
9229 # Object file extension for compiled C test sources.
9233 # Code to be used in simple compile tests
9234 lt_simple_compile_test_code
="int some_variable = 0;"
9236 # Code to be used in simple link tests
9237 lt_simple_link_test_code
='int main(){return(0);}'
9245 # If no C compiler was specified, use CC.
9248 # If no C compiler flags were specified, use CFLAGS.
9249 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9251 # Allow CC to be a program name with arguments.
9254 # Save the default compiler, since it gets overwritten when the other
9255 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9256 compiler_DEFAULT
=$CC
9258 # save warnings/boilerplate of simple test code
9259 ac_outfile
=conftest.
$ac_objext
9260 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9261 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9262 _lt_compiler_boilerplate
=`cat conftest.err`
9265 ac_outfile
=conftest.
$ac_objext
9266 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9267 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9268 _lt_linker_boilerplate
=`cat conftest.err`
9273 ## There is no encapsulation within the following macros, do not change
9274 ## the running order or otherwise move them around unless you know exactly
9275 ## what you are doing...
9276 if test -n "$compiler"; then
9278 lt_prog_compiler_no_builtin_flag
=
9280 if test "$GCC" = yes; then
9281 case $cc_basename in
9283 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9285 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9289 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9290 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9291 $as_echo_n "(cached) " >&6
9293 lt_cv_prog_compiler_rtti_exceptions
=no
9294 ac_outfile
=conftest.
$ac_objext
9295 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9296 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9297 # Insert the option either (1) after the last *FLAGS variable, or
9298 # (2) before a word containing "conftest.", or (3) at the end.
9299 # Note that $ac_compile itself does not contain backslashes and begins
9300 # with a dollar sign (not a hyphen), so the echo should work correctly.
9301 # The option is referenced via a variable to avoid confusing sed.
9302 lt_compile
=`echo "$ac_compile" | $SED \
9303 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9304 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9305 -e 's:$: $lt_compiler_flag:'`
9306 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9307 (eval "$lt_compile" 2>conftest.err
)
9309 cat conftest.err
>&5
9310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9311 if (exit $ac_status) && test -s "$ac_outfile"; then
9312 # The compiler can only warn and ignore the option if not recognized
9313 # So say no if there are warnings other than the usual output.
9314 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9315 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9316 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9317 lt_cv_prog_compiler_rtti_exceptions
=yes
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9324 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9326 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9327 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9339 lt_prog_compiler_wl
=
9340 lt_prog_compiler_pic
=
9341 lt_prog_compiler_static
=
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9344 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9346 if test "$GCC" = yes; then
9347 lt_prog_compiler_wl
='-Wl,'
9348 lt_prog_compiler_static
='-static'
9352 # All AIX code is PIC.
9353 if test "$host_cpu" = ia64
; then
9354 # AIX 5 now supports IA64 processor
9355 lt_prog_compiler_static
='-Bstatic'
9357 lt_prog_compiler_pic
='-fPIC'
9363 # see comment about AmigaOS4 .so support
9364 lt_prog_compiler_pic
='-fPIC'
9367 # FIXME: we need at least 68020 code to build shared libraries, but
9368 # adding the `-m68020' flag to GCC prevents building anything better,
9370 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9375 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9376 # PIC is the default for these OSes.
9379 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9380 # This hack is so that the source file can tell whether it is being
9381 # built for inclusion in a dll (and should export symbols for example).
9382 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9383 # (--disable-auto-import) libraries
9384 lt_prog_compiler_pic
='-DDLL_EXPORT'
9387 darwin
* | rhapsody
*)
9388 # PIC is the default on this platform
9389 # Common symbols not allowed in MH_DYLIB files
9390 lt_prog_compiler_pic
='-fno-common'
9394 # PIC is the default for Haiku.
9395 # The "-static" flag exists, but is broken.
9396 lt_prog_compiler_static
=
9400 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9401 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9402 # sets the default TLS model and affects inlining.
9408 lt_prog_compiler_pic
='-fPIC'
9414 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9415 # Instead, we relocate shared libraries at runtime.
9419 # Just because we use GCC doesn't mean we suddenly get shared libraries
9420 # on systems that don't support them.
9421 lt_prog_compiler_can_build_shared
=no
9426 # QNX uses GNU C++, but need to define -shared option too, otherwise
9428 lt_prog_compiler_pic
='-fPIC -shared'
9432 if test -d /usr
/nec
; then
9433 lt_prog_compiler_pic
=-Kconform_pic
9438 lt_prog_compiler_pic
='-fPIC'
9442 case $cc_basename in
9443 nvcc
*) # Cuda Compiler Driver 2.2
9444 lt_prog_compiler_wl
='-Xlinker '
9445 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9449 # PORTME Check for flag to pass linker flags through the system compiler.
9452 lt_prog_compiler_wl
='-Wl,'
9453 if test "$host_cpu" = ia64
; then
9454 # AIX 5 now supports IA64 processor
9455 lt_prog_compiler_static
='-Bstatic'
9457 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9461 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9462 # This hack is so that the source file can tell whether it is being
9463 # built for inclusion in a dll (and should export symbols for example).
9464 lt_prog_compiler_pic
='-DDLL_EXPORT'
9467 hpux9
* | hpux10
* | hpux11
*)
9468 lt_prog_compiler_wl
='-Wl,'
9469 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9476 lt_prog_compiler_pic
='+Z'
9479 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9480 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9483 irix5
* | irix6
* | nonstopux
*)
9484 lt_prog_compiler_wl
='-Wl,'
9485 # PIC (with -KPIC) is the default.
9486 lt_prog_compiler_static
='-non_shared'
9489 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9490 case $cc_basename in
9491 # old Intel for x86_64 which still supported -KPIC.
9493 lt_prog_compiler_wl
='-Wl,'
9494 lt_prog_compiler_pic
='-KPIC'
9495 lt_prog_compiler_static
='-static'
9497 # icc used to be incompatible with GCC.
9498 # ICC 10 doesn't accept -KPIC any more.
9500 lt_prog_compiler_wl
='-Wl,'
9501 lt_prog_compiler_pic
='-fPIC'
9502 lt_prog_compiler_static
='-static'
9504 # Lahey Fortran 8.1.
9506 lt_prog_compiler_wl
='-Wl,'
9507 lt_prog_compiler_pic
='--shared'
9508 lt_prog_compiler_static
='--static'
9510 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9511 # Portland Group compilers (*not* the Pentium gcc compiler,
9512 # which looks to be a dead project)
9513 lt_prog_compiler_wl
='-Wl,'
9514 lt_prog_compiler_pic
='-fpic'
9515 lt_prog_compiler_static
='-Bstatic'
9518 lt_prog_compiler_wl
='-Wl,'
9519 # All Alpha code is PIC.
9520 lt_prog_compiler_static
='-non_shared'
9522 xl
* | bgxl
* | bgf
* | mpixl
*)
9523 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9524 lt_prog_compiler_wl
='-Wl,'
9525 lt_prog_compiler_pic
='-qpic'
9526 lt_prog_compiler_static
='-qstaticlink'
9529 case `$CC -V 2>&1 | sed 5q` in
9530 *Sun\ F
* |
*Sun
*Fortran
*)
9531 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9532 lt_prog_compiler_pic
='-KPIC'
9533 lt_prog_compiler_static
='-Bstatic'
9534 lt_prog_compiler_wl
=''
9538 lt_prog_compiler_pic
='-KPIC'
9539 lt_prog_compiler_static
='-Bstatic'
9540 lt_prog_compiler_wl
='-Wl,'
9548 lt_prog_compiler_pic
='-KPIC'
9549 lt_prog_compiler_static
='-Bstatic'
9553 # QNX uses GNU C++, but need to define -shared option too, otherwise
9555 lt_prog_compiler_pic
='-fPIC -shared'
9558 osf3
* | osf4
* | osf5
*)
9559 lt_prog_compiler_wl
='-Wl,'
9560 # All OSF/1 code is PIC.
9561 lt_prog_compiler_static
='-non_shared'
9565 lt_prog_compiler_static
='-non_shared'
9569 lt_prog_compiler_pic
='-KPIC'
9570 lt_prog_compiler_static
='-Bstatic'
9571 case $cc_basename in
9573 lt_prog_compiler_wl
='-Qoption ld ';;
9575 lt_prog_compiler_wl
='-Wl,';;
9580 lt_prog_compiler_wl
='-Qoption ld '
9581 lt_prog_compiler_pic
='-PIC'
9582 lt_prog_compiler_static
='-Bstatic'
9585 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9586 lt_prog_compiler_wl
='-Wl,'
9587 lt_prog_compiler_pic
='-KPIC'
9588 lt_prog_compiler_static
='-Bstatic'
9592 if test -d /usr
/nec
;then
9593 lt_prog_compiler_pic
='-Kconform_pic'
9594 lt_prog_compiler_static
='-Bstatic'
9598 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9599 lt_prog_compiler_wl
='-Wl,'
9600 lt_prog_compiler_pic
='-KPIC'
9601 lt_prog_compiler_static
='-Bstatic'
9605 lt_prog_compiler_wl
='-Wl,'
9606 lt_prog_compiler_can_build_shared
=no
9610 lt_prog_compiler_pic
='-pic'
9611 lt_prog_compiler_static
='-Bstatic'
9615 lt_prog_compiler_can_build_shared
=no
9621 # For platforms which do not support PIC, -DPIC is meaningless:
9623 lt_prog_compiler_pic
=
9626 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9630 $as_echo "$lt_prog_compiler_pic" >&6; }
9638 # Check to make sure the PIC flag actually works.
9640 if test -n "$lt_prog_compiler_pic"; then
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9642 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9643 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9644 $as_echo_n "(cached) " >&6
9646 lt_cv_prog_compiler_pic_works
=no
9647 ac_outfile
=conftest.
$ac_objext
9648 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9649 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9650 # Insert the option either (1) after the last *FLAGS variable, or
9651 # (2) before a word containing "conftest.", or (3) at the end.
9652 # Note that $ac_compile itself does not contain backslashes and begins
9653 # with a dollar sign (not a hyphen), so the echo should work correctly.
9654 # The option is referenced via a variable to avoid confusing sed.
9655 lt_compile
=`echo "$ac_compile" | $SED \
9656 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9657 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9658 -e 's:$: $lt_compiler_flag:'`
9659 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9660 (eval "$lt_compile" 2>conftest.err
)
9662 cat conftest.err
>&5
9663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9664 if (exit $ac_status) && test -s "$ac_outfile"; then
9665 # The compiler can only warn and ignore the option if not recognized
9666 # So say no if there are warnings other than the usual output.
9667 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9668 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9669 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9670 lt_cv_prog_compiler_pic_works
=yes
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9677 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9679 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9680 case $lt_prog_compiler_pic in
9682 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9685 lt_prog_compiler_pic
=
9686 lt_prog_compiler_can_build_shared
=no
9697 # Check to make sure the static flag actually works.
9699 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9701 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9702 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9703 $as_echo_n "(cached) " >&6
9705 lt_cv_prog_compiler_static_works
=no
9706 save_LDFLAGS
="$LDFLAGS"
9707 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9708 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9709 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9710 # The linker can only warn and ignore the option if not recognized
9711 # So say no if there are warnings
9712 if test -s conftest.err
; then
9713 # Append any errors to the config.log.
9714 cat conftest.err
1>&5
9715 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9716 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9717 if diff conftest.exp conftest.er2
>/dev
/null
; then
9718 lt_cv_prog_compiler_static_works
=yes
9721 lt_cv_prog_compiler_static_works
=yes
9725 LDFLAGS
="$save_LDFLAGS"
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9729 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9731 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9734 lt_prog_compiler_static
=
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9744 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9745 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9746 $as_echo_n "(cached) " >&6
9748 lt_cv_prog_compiler_c_o
=no
9749 $RM -r conftest
2>/dev
/null
9753 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9755 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9756 # Insert the option either (1) after the last *FLAGS variable, or
9757 # (2) before a word containing "conftest.", or (3) at the end.
9758 # Note that $ac_compile itself does not contain backslashes and begins
9759 # with a dollar sign (not a hyphen), so the echo should work correctly.
9760 lt_compile
=`echo "$ac_compile" | $SED \
9761 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9762 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9763 -e 's:$: $lt_compiler_flag:'`
9764 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9765 (eval "$lt_compile" 2>out
/conftest.err
)
9767 cat out
/conftest.err
>&5
9768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9769 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9771 # The compiler can only warn and ignore the option if not recognized
9772 # So say no if there are warnings
9773 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9774 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9775 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9776 lt_cv_prog_compiler_c_o
=yes
9781 # SGI C++ compiler will create directory out/ii_files/ for
9782 # template instantiation
9783 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9784 $RM out
/* && rmdir out
9790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9791 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9799 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9800 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9801 $as_echo_n "(cached) " >&6
9803 lt_cv_prog_compiler_c_o
=no
9804 $RM -r conftest
2>/dev
/null
9808 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9810 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9811 # Insert the option either (1) after the last *FLAGS variable, or
9812 # (2) before a word containing "conftest.", or (3) at the end.
9813 # Note that $ac_compile itself does not contain backslashes and begins
9814 # with a dollar sign (not a hyphen), so the echo should work correctly.
9815 lt_compile
=`echo "$ac_compile" | $SED \
9816 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9817 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9818 -e 's:$: $lt_compiler_flag:'`
9819 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9820 (eval "$lt_compile" 2>out
/conftest.err
)
9822 cat out
/conftest.err
>&5
9823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9824 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9826 # The compiler can only warn and ignore the option if not recognized
9827 # So say no if there are warnings
9828 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9829 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9830 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9831 lt_cv_prog_compiler_c_o
=yes
9836 # SGI C++ compiler will create directory out/ii_files/ for
9837 # template instantiation
9838 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9839 $RM out
/* && rmdir out
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9846 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9851 hard_links
="nottested"
9852 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9853 # do not overwrite the value of need_locks provided by the user
9854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9855 $as_echo_n "checking if we can lock with hard links... " >&6; }
9858 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9860 ln conftest.a conftest.b
2>&5 || hard_links
=no
9861 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9863 $as_echo "$hard_links" >&6; }
9864 if test "$hard_links" = no
; then
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9866 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9879 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9882 allow_undefined_flag
=
9883 always_export_symbols
=no
9885 archive_expsym_cmds
=
9886 compiler_needs_object
=no
9887 enable_shared_with_static_runtimes
=no
9888 export_dynamic_flag_spec
=
9889 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9890 hardcode_automatic
=no
9892 hardcode_direct_absolute
=no
9893 hardcode_libdir_flag_spec
=
9894 hardcode_libdir_flag_spec_ld
=
9895 hardcode_libdir_separator
=
9897 hardcode_shlibpath_var
=unsupported
9899 link_all_deplibs
=unknown
9902 old_archive_from_new_cmds
=
9903 old_archive_from_expsyms_cmds
=
9904 thread_safe_flag_spec
=
9905 whole_archive_flag_spec
=
9906 # include_expsyms should be a list of space-separated symbols to be *always*
9907 # included in the symbol list
9909 # exclude_expsyms can be an extended regexp of symbols to exclude
9910 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9911 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9912 # as well as any symbol that contains `d'.
9913 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9914 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9915 # platforms (ab)use it in PIC code, but their linkers get confused if
9916 # the symbol is explicitly referenced. Since portable code cannot
9917 # rely on this symbol name, it's probably fine to never include it in
9918 # preloaded symbol tables.
9919 # Exclude shared library initialization/finalization symbols.
9920 extract_expsyms_cmds
=
9923 cygwin
* | mingw
* | pw32
* | cegcc
*)
9924 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9925 # When not using gcc, we currently assume that we are using
9926 # Microsoft Visual C++.
9927 if test "$GCC" != yes; then
9932 # we just hope/assume this is gcc and not c89 (= MSVC++)
9942 # On some targets, GNU ld is compatible enough with the native linker
9943 # that we're better off using the native interface for both.
9944 lt_use_gnu_ld_interface
=no
9945 if test "$with_gnu_ld" = yes; then
9948 # The AIX port of GNU ld has always aspired to compatibility
9949 # with the native linker. However, as the warning in the GNU ld
9950 # block says, versions before 2.19.5* couldn't really create working
9951 # shared libraries, regardless of the interface used.
9952 case `$LD -v 2>&1` in
9953 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9954 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9955 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9957 lt_use_gnu_ld_interface
=yes
9962 lt_use_gnu_ld_interface
=yes
9967 if test "$lt_use_gnu_ld_interface" = yes; then
9968 # If archive_cmds runs LD, not CC, wlarc should be empty
9971 # Set some defaults for GNU ld with shared library support. These
9972 # are reset later if shared libraries are not supported. Putting them
9973 # here allows them to be overridden if necessary.
9974 runpath_var
=LD_RUN_PATH
9975 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9976 export_dynamic_flag_spec
='${wl}--export-dynamic'
9977 # ancient GNU ld didn't support --whole-archive et. al.
9978 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9979 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9981 whole_archive_flag_spec
=
9983 supports_anon_versioning
=no
9984 case `$LD -v 2>&1` in
9985 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9986 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9987 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9988 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9989 *\
2.11.
*) ;; # other 2.11 versions
9990 *) supports_anon_versioning
=yes ;;
9993 # See if GNU ld supports shared libraries.
9996 # On AIX/PPC, the GNU linker is very broken
9997 if test "$host_cpu" != ia64
; then
10001 *** Warning: the GNU linker, at least up to release 2.19, is reported
10002 *** to be unable to reliably create shared libraries on AIX.
10003 *** Therefore, libtool is disabling shared libraries support. If you
10004 *** really care for shared libraries, you may want to install binutils
10005 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10006 *** You will then need to restart the configuration process.
10015 # see comment about AmigaOS4 .so support
10016 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10017 archive_expsym_cmds
=''
10020 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)'
10021 hardcode_libdir_flag_spec
='-L$libdir'
10022 hardcode_minus_L
=yes
10028 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10029 allow_undefined_flag
=unsupported
10030 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10031 # support --undefined. This deserves some investigation. FIXME
10032 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10038 cygwin
* | mingw
* | pw32
* | cegcc
*)
10039 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10040 # as there is no search path for DLLs.
10041 hardcode_libdir_flag_spec
='-L$libdir'
10042 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10043 allow_undefined_flag
=unsupported
10044 always_export_symbols
=no
10045 enable_shared_with_static_runtimes
=yes
10046 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10048 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10049 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10050 # If the export-symbols file already is a .def file (1st line
10051 # is EXPORTS), use it as is; otherwise, prepend...
10052 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10053 cp $export_symbols $output_objdir/$soname.def;
10055 echo EXPORTS > $output_objdir/$soname.def;
10056 cat $export_symbols >> $output_objdir/$soname.def;
10058 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10065 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10066 link_all_deplibs
=yes
10071 hardcode_shlibpath_var
=no
10072 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10073 export_dynamic_flag_spec
='${wl}-E'
10074 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10075 # Instead, shared libraries are loaded at an image base (0x10000000 by
10076 # default) and relocated if they conflict, which is a slow very memory
10077 # consuming and fragmenting process. To avoid this, we pick a random,
10078 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10079 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10080 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10081 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'
10084 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10086 if test "$host_os" = linux-dietlibc
; then
10087 case $cc_basename in
10088 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10091 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10092 && test "$tmp_diet" = no
10095 tmp_sharedflag
='-shared'
10096 case $cc_basename,$host_cpu in
10097 pgcc
*) # Portland Group C compiler
10098 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'
10099 tmp_addflag
=' $pic_flag'
10101 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10102 # Portland Group f77 and f90 compilers
10103 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'
10104 tmp_addflag
=' $pic_flag -Mnomain' ;;
10105 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10106 tmp_addflag
=' -i_dynamic' ;;
10107 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10108 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10109 ifc
* | ifort
*) # Intel Fortran compiler
10110 tmp_addflag
=' -nofor_main' ;;
10111 lf95
*) # Lahey Fortran 8.1
10112 whole_archive_flag_spec
=
10113 tmp_sharedflag
='--shared' ;;
10114 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10115 tmp_sharedflag
='-qmkshrobj'
10117 nvcc
*) # Cuda Compiler Driver 2.2
10118 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'
10119 compiler_needs_object
=yes
10122 case `$CC -V 2>&1 | sed 5q` in
10123 *Sun\ C
*) # Sun C 5.9
10124 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'
10125 compiler_needs_object
=yes
10126 tmp_sharedflag
='-G' ;;
10127 *Sun\ F
*) # Sun Fortran 8.3
10128 tmp_sharedflag
='-G' ;;
10130 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10132 if test "x$supports_anon_versioning" = xyes
; then
10133 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10134 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10135 echo "local: *; };" >> $output_objdir/$libname.ver~
10136 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10139 case $cc_basename in
10140 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10141 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10142 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10143 hardcode_libdir_flag_spec
=
10144 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10145 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10146 if test "x$supports_anon_versioning" = xyes
; then
10147 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10148 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10149 echo "local: *; };" >> $output_objdir/$libname.ver~
10150 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10160 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10161 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10164 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10165 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10170 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10174 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10175 *** create shared libraries on Solaris systems. Therefore, libtool
10176 *** is disabling shared libraries support. We urge you to upgrade GNU
10177 *** binutils to release 2.9.1 or newer. Another option is to modify
10178 *** your PATH or compiler configuration so that the native linker is
10179 *** used, and then restart.
10182 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10183 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10184 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10190 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10191 case `$LD -v 2>&1` in
10192 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10196 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10197 *** reliably create shared libraries on SCO systems. Therefore, libtool
10198 *** is disabling shared libraries support. We urge you to upgrade GNU
10199 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10200 *** your PATH or compiler configuration so that the native linker is
10201 *** used, and then restart.
10206 # For security reasons, it is highly recommended that you always
10207 # use absolute paths for naming shared libraries, and exclude the
10208 # DT_RUNPATH tag from executables and libraries. But doing so
10209 # requires that you compile everything twice, which is a pain.
10210 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10211 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10212 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10213 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10222 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10224 hardcode_direct
=yes
10225 hardcode_shlibpath_var
=no
10229 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10230 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10231 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10238 if test "$ld_shlibs" = no
; then
10240 hardcode_libdir_flag_spec
=
10241 export_dynamic_flag_spec
=
10242 whole_archive_flag_spec
=
10245 # PORTME fill in a description of your system's linker (not GNU ld)
10248 allow_undefined_flag
=unsupported
10249 always_export_symbols
=yes
10250 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'
10251 # Note: this linker hardcodes the directories in LIBPATH if there
10252 # are no directories specified by -L.
10253 hardcode_minus_L
=yes
10254 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10255 # Neither direct hardcoding nor static linking is supported with a
10257 hardcode_direct
=unsupported
10262 if test "$host_cpu" = ia64
; then
10263 # On IA64, the linker does run time linking by default, so we don't
10264 # have to do anything special.
10265 aix_use_runtimelinking
=no
10266 exp_sym_flag
='-Bexport'
10269 # If we're using GNU nm, then we don't want the "-C" option.
10270 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10271 # Also, AIX nm treats weak defined symbols like other global
10272 # defined symbols, whereas GNU nm marks them as "W".
10273 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10274 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'
10276 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10278 aix_use_runtimelinking
=no
10280 # Test if we are trying to use run time linking or normal
10281 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10282 # need to do runtime linking.
10283 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10284 for ld_flag
in $LDFLAGS; do
10285 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10286 aix_use_runtimelinking
=yes
10293 exp_sym_flag
='-bexport'
10294 no_entry_flag
='-bnoentry'
10297 # When large executables or shared objects are built, AIX ld can
10298 # have problems creating the table of contents. If linking a library
10299 # or program results in "error TOC overflow" add -mminimal-toc to
10300 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10301 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10304 hardcode_direct
=yes
10305 hardcode_direct_absolute
=yes
10306 hardcode_libdir_separator
=':'
10307 link_all_deplibs
=yes
10308 file_list_spec
='${wl}-f,'
10310 if test "$GCC" = yes; then
10311 case $host_os in aix4.
[012]|aix4.
[012].
*)
10312 # We only want to do this on AIX 4.2 and lower, the check
10313 # below for broken collect2 doesn't work under 4.3+
10314 collect2name
=`${CC} -print-prog-name=collect2`
10315 if test -f "$collect2name" &&
10316 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10318 # We have reworked collect2
10321 # We have old collect2
10322 hardcode_direct
=unsupported
10323 # It fails to find uninstalled libraries when the uninstalled
10324 # path is not listed in the libpath. Setting hardcode_minus_L
10325 # to unsupported forces relinking
10326 hardcode_minus_L
=yes
10327 hardcode_libdir_flag_spec
='-L$libdir'
10328 hardcode_libdir_separator
=
10332 shared_flag
='-shared'
10333 if test "$aix_use_runtimelinking" = yes; then
10334 shared_flag
="$shared_flag "'${wl}-G'
10338 if test "$host_cpu" = ia64
; then
10339 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10340 # chokes on -Wl,-G. The following line is correct:
10343 if test "$aix_use_runtimelinking" = yes; then
10344 shared_flag
='${wl}-G'
10346 shared_flag
='${wl}-bM:SRE'
10351 export_dynamic_flag_spec
='${wl}-bexpall'
10352 # It seems that -bexpall does not export symbols beginning with
10353 # underscore (_), so it is better to generate a list of symbols to export.
10354 always_export_symbols
=yes
10355 if test "$aix_use_runtimelinking" = yes; then
10356 # Warning - without using the other runtime loading flags (-brtl),
10357 # -berok will link without error, but may produce a broken library.
10358 allow_undefined_flag
='-berok'
10359 # Determine the default libpath from the value encoded in an
10360 # empty executable.
10361 if test x
$gcc_no_link = xyes
; then
10362 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10365 /* end confdefs.h. */
10375 if ac_fn_c_try_link
"$LINENO"; then :
10377 lt_aix_libpath_sed
='
10378 /Import File Strings/,/^$/ {
10384 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10385 # Check for a 64-bit object if we didn't find anything.
10386 if test -z "$aix_libpath"; then
10387 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10390 rm -f core conftest.err conftest.
$ac_objext \
10391 conftest
$ac_exeext conftest.
$ac_ext
10392 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10394 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10395 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"
10397 if test "$host_cpu" = ia64
; then
10398 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10399 allow_undefined_flag
="-z nodefs"
10400 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"
10402 # Determine the default libpath from the value encoded in an
10403 # empty executable.
10404 if test x
$gcc_no_link = xyes
; then
10405 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10408 /* end confdefs.h. */
10418 if ac_fn_c_try_link
"$LINENO"; then :
10420 lt_aix_libpath_sed
='
10421 /Import File Strings/,/^$/ {
10427 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10428 # Check for a 64-bit object if we didn't find anything.
10429 if test -z "$aix_libpath"; then
10430 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10433 rm -f core conftest.err conftest.
$ac_objext \
10434 conftest
$ac_exeext conftest.
$ac_ext
10435 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10437 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10438 # Warning - without using the other run time loading flags,
10439 # -berok will link without error, but may produce a broken library.
10440 no_undefined_flag
=' ${wl}-bernotok'
10441 allow_undefined_flag
=' ${wl}-berok'
10442 if test "$with_gnu_ld" = yes; then
10443 # We only use this code for GNU lds that support --whole-archive.
10444 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10446 # Exported symbols can be pulled into shared objects from archives
10447 whole_archive_flag_spec
='$convenience'
10449 archive_cmds_need_lc
=yes
10450 # This is similar to how AIX traditionally builds its shared libraries.
10451 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'
10459 # see comment about AmigaOS4 .so support
10460 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10461 archive_expsym_cmds
=''
10464 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)'
10465 hardcode_libdir_flag_spec
='-L$libdir'
10466 hardcode_minus_L
=yes
10472 export_dynamic_flag_spec
=-rdynamic
10475 cygwin
* | mingw
* | pw32
* | cegcc
*)
10476 # When not using gcc, we currently assume that we are using
10477 # Microsoft Visual C++.
10478 # hardcode_libdir_flag_spec is actually meaningless, as there is
10479 # no search path for DLLs.
10480 hardcode_libdir_flag_spec
=' '
10481 allow_undefined_flag
=unsupported
10482 # Tell ltmain to make .lib files, not .a files.
10484 # Tell ltmain to make .dll files, not .so files.
10486 # FIXME: Setting linknames here is a bad hack.
10487 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10488 # The linker will automatically build a .lib file if we build a DLL.
10489 old_archive_from_new_cmds
='true'
10490 # FIXME: Should let the user specify the lib program.
10491 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10492 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10493 enable_shared_with_static_runtimes
=yes
10496 darwin
* | rhapsody
*)
10499 archive_cmds_need_lc
=no
10501 hardcode_automatic
=yes
10502 hardcode_shlibpath_var
=unsupported
10503 if test "$lt_cv_ld_force_load" = "yes"; then
10504 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\"`'
10506 whole_archive_flag_spec
=''
10508 link_all_deplibs
=yes
10509 allow_undefined_flag
="$_lt_dar_allow_undefined"
10510 case $cc_basename in
10511 ifort
*) _lt_dar_can_shared
=yes ;;
10512 *) _lt_dar_can_shared
=$GCC ;;
10514 if test "$_lt_dar_can_shared" = "yes"; then
10515 output_verbose_link_cmd
=func_echo_all
10516 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10517 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10518 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}"
10519 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}"
10528 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10529 hardcode_libdir_flag_spec
='-L$libdir'
10530 hardcode_shlibpath_var
=no
10533 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10534 # support. Future versions do this automatically, but an explicit c++rt0.o
10535 # does not break anything, and helps significantly (at the cost of a little
10538 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10539 hardcode_libdir_flag_spec
='-R$libdir'
10540 hardcode_direct
=yes
10541 hardcode_shlibpath_var
=no
10544 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10546 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10547 hardcode_direct
=yes
10548 hardcode_minus_L
=yes
10549 hardcode_shlibpath_var
=no
10552 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10553 freebsd
* | dragonfly
*)
10554 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10555 hardcode_libdir_flag_spec
='-R$libdir'
10556 hardcode_direct
=yes
10557 hardcode_shlibpath_var
=no
10561 if test "$GCC" = yes; then
10562 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'
10564 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'
10566 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10567 hardcode_libdir_separator
=:
10568 hardcode_direct
=yes
10570 # hardcode_minus_L: Not really in the search PATH,
10571 # but as the default location of the library.
10572 hardcode_minus_L
=yes
10573 export_dynamic_flag_spec
='${wl}-E'
10577 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10578 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10580 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10582 if test "$with_gnu_ld" = no
; then
10583 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10584 hardcode_libdir_flag_spec_ld
='+b $libdir'
10585 hardcode_libdir_separator
=:
10586 hardcode_direct
=yes
10587 hardcode_direct_absolute
=yes
10588 export_dynamic_flag_spec
='${wl}-E'
10589 # hardcode_minus_L: Not really in the search PATH,
10590 # but as the default location of the library.
10591 hardcode_minus_L
=yes
10596 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10599 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10602 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10605 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10611 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10614 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10618 # Older versions of the 11.00 compiler do not understand -b yet
10619 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10621 $as_echo_n "checking if $CC understands -b... " >&6; }
10622 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10623 $as_echo_n "(cached) " >&6
10625 lt_cv_prog_compiler__b
=no
10626 save_LDFLAGS
="$LDFLAGS"
10627 LDFLAGS
="$LDFLAGS -b"
10628 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10629 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10630 # The linker can only warn and ignore the option if not recognized
10631 # So say no if there are warnings
10632 if test -s conftest.err
; then
10633 # Append any errors to the config.log.
10634 cat conftest.err
1>&5
10635 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10636 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10637 if diff conftest.exp conftest.er2
>/dev
/null
; then
10638 lt_cv_prog_compiler__b
=yes
10641 lt_cv_prog_compiler__b
=yes
10645 LDFLAGS
="$save_LDFLAGS"
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10649 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10651 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10652 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10654 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10660 if test "$with_gnu_ld" = no
; then
10661 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10662 hardcode_libdir_separator
=:
10667 hardcode_shlibpath_var
=no
10670 hardcode_direct
=yes
10671 hardcode_direct_absolute
=yes
10672 export_dynamic_flag_spec
='${wl}-E'
10674 # hardcode_minus_L: Not really in the search PATH,
10675 # but as the default location of the library.
10676 hardcode_minus_L
=yes
10682 irix5
* | irix6
* | nonstopux
*)
10683 if test "$GCC" = yes; then
10684 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'
10685 # Try to use the -exported_symbol ld option, if it does not
10686 # work, assume that -exports_file does not work either and
10687 # implicitly export all symbols.
10688 save_LDFLAGS
="$LDFLAGS"
10689 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10690 if test x
$gcc_no_link = xyes
; then
10691 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10694 /* end confdefs.h. */
10697 if ac_fn_c_try_link
"$LINENO"; then :
10698 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'
10701 rm -f core conftest.err conftest.
$ac_objext \
10702 conftest
$ac_exeext conftest.
$ac_ext
10703 LDFLAGS
="$save_LDFLAGS"
10705 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'
10706 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'
10708 archive_cmds_need_lc
='no'
10709 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10710 hardcode_libdir_separator
=:
10712 link_all_deplibs
=yes
10716 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10717 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10719 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10721 hardcode_libdir_flag_spec
='-R$libdir'
10722 hardcode_direct
=yes
10723 hardcode_shlibpath_var
=no
10727 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10728 hardcode_direct
=yes
10729 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10730 hardcode_libdir_separator
=:
10731 hardcode_shlibpath_var
=no
10738 if test -f /usr
/libexec
/ld.so
; then
10739 hardcode_direct
=yes
10740 hardcode_shlibpath_var
=no
10741 hardcode_direct_absolute
=yes
10742 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10743 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10744 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10745 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10746 export_dynamic_flag_spec
='${wl}-E'
10749 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10750 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10751 hardcode_libdir_flag_spec
='-R$libdir'
10754 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10755 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10765 hardcode_libdir_flag_spec
='-L$libdir'
10766 hardcode_minus_L
=yes
10767 allow_undefined_flag
=unsupported
10768 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'
10769 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10773 if test "$GCC" = yes; then
10774 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10775 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'
10777 allow_undefined_flag
=' -expect_unresolved \*'
10778 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'
10780 archive_cmds_need_lc
='no'
10781 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10782 hardcode_libdir_separator
=:
10785 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10786 if test "$GCC" = yes; then
10787 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10788 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'
10789 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10791 allow_undefined_flag
=' -expect_unresolved \*'
10792 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'
10793 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~
10794 $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'
10796 # Both c and cxx compiler support -rpath directly
10797 hardcode_libdir_flag_spec
='-rpath $libdir'
10799 archive_cmds_need_lc
='no'
10800 hardcode_libdir_separator
=:
10804 no_undefined_flag
=' -z defs'
10805 if test "$GCC" = yes; then
10807 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10808 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10809 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10811 case `$CC -V 2>&1` in
10814 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10815 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10816 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10820 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10821 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10822 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10826 hardcode_libdir_flag_spec
='-R$libdir'
10827 hardcode_shlibpath_var
=no
10829 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10831 # The compiler driver will combine and reorder linker options,
10832 # but understands `-z linker_flag'. GCC discards it without `$wl',
10833 # but is careful enough not to reorder.
10834 # Supported since Solaris 2.6 (maybe 2.5.1?)
10835 if test "$GCC" = yes; then
10836 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10838 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10842 link_all_deplibs
=yes
10846 if test "x$host_vendor" = xsequent
; then
10847 # Use $CC to link under sequent, because it throws in some extra .o
10848 # files that make .init and .fini sections work.
10849 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10851 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10853 hardcode_libdir_flag_spec
='-L$libdir'
10854 hardcode_direct
=yes
10855 hardcode_minus_L
=yes
10856 hardcode_shlibpath_var
=no
10860 case $host_vendor in
10862 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10863 hardcode_direct
=yes # is this really true???
10866 ## LD is ld it makes a PLAMLIB
10867 ## CC just makes a GrossModule.
10868 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10869 reload_cmds
='$CC -r -o $output$reload_objs'
10873 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10874 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10877 runpath_var
='LD_RUN_PATH'
10878 hardcode_shlibpath_var
=no
10882 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10883 hardcode_shlibpath_var
=no
10884 export_dynamic_flag_spec
='-Bexport'
10888 if test -d /usr
/nec
; then
10889 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10890 hardcode_shlibpath_var
=no
10891 runpath_var
=LD_RUN_PATH
10892 hardcode_runpath_var
=yes
10897 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10898 no_undefined_flag
='${wl}-z,text'
10899 archive_cmds_need_lc
=no
10900 hardcode_shlibpath_var
=no
10901 runpath_var
='LD_RUN_PATH'
10903 if test "$GCC" = yes; then
10904 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10905 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10907 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10908 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10912 sysv5
* | sco3.2v5
* | sco5v6
*)
10913 # Note: We can NOT use -z defs as we might desire, because we do not
10914 # link with -lc, and that would cause any symbols used from libc to
10915 # always be unresolved, which means just about no library would
10916 # ever link correctly. If we're not using GNU ld we use -z text
10917 # though, which does catch some bad symbols but isn't as heavy-handed
10919 no_undefined_flag
='${wl}-z,text'
10920 allow_undefined_flag
='${wl}-z,nodefs'
10921 archive_cmds_need_lc
=no
10922 hardcode_shlibpath_var
=no
10923 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10924 hardcode_libdir_separator
=':'
10925 link_all_deplibs
=yes
10926 export_dynamic_flag_spec
='${wl}-Bexport'
10927 runpath_var
='LD_RUN_PATH'
10929 if test "$GCC" = yes; then
10930 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10931 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10933 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10934 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10939 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10940 hardcode_libdir_flag_spec
='-L$libdir'
10941 hardcode_shlibpath_var
=no
10949 if test x
$host_vendor = xsni
; then
10951 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10952 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10959 $as_echo "$ld_shlibs" >&6; }
10960 test "$ld_shlibs" = no
&& can_build_shared
=no
10962 with_gnu_ld
=$with_gnu_ld
10979 # Do we need to explicitly link libc?
10981 case "x$archive_cmds_need_lc" in
10983 # Assume -lc should be added
10984 archive_cmds_need_lc
=yes
10986 if test "$enable_shared" = yes && test "$GCC" = yes; then
10987 case $archive_cmds in
10989 # FIXME: we may have to deal with multi-command sequences.
10992 # Test whether the compiler implicitly links with -lc since on some
10993 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10994 # to ld, don't add -lc before -lgcc.
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10996 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10997 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10998 $as_echo_n "(cached) " >&6
11001 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11003 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11004 (eval $ac_compile) 2>&5
11006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11007 test $ac_status = 0; } 2>conftest.err
; then
11010 libobjs
=conftest.
$ac_objext
11012 wl
=$lt_prog_compiler_wl
11013 pic_flag
=$lt_prog_compiler_pic
11019 lt_save_allow_undefined_flag
=$allow_undefined_flag
11020 allow_undefined_flag
=
11021 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11022 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11025 test $ac_status = 0; }
11027 lt_cv_archive_cmds_need_lc
=no
11029 lt_cv_archive_cmds_need_lc
=yes
11031 allow_undefined_flag
=$lt_save_allow_undefined_flag
11033 cat conftest.err
1>&5
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11039 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11040 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11204 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11206 if test "$GCC" = yes; then
11208 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11209 *) lt_awk_arg
="/^libraries:/" ;;
11212 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11213 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11215 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11216 case $lt_search_path_spec in
11218 # if the path contains ";" then we assume it to be the separator
11219 # otherwise default to the standard path separator (i.e. ":") - it is
11220 # assumed that no part of a normal pathname contains ";" but that should
11221 # okay in the real world where ";" in dirpaths is itself problematic.
11222 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11225 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11228 # Ok, now we have the path, separated by spaces, we can step through it
11229 # and add multilib dir if necessary.
11230 lt_tmp_lt_search_path_spec
=
11231 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11232 for lt_sys_path
in $lt_search_path_spec; do
11233 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11234 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11236 test -d "$lt_sys_path" && \
11237 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11240 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11241 BEGIN {RS=" "; FS="/|\n";} {
11244 for (lt_i = NF; lt_i > 0; lt_i--) {
11245 if ($lt_i != "" && $lt_i != ".") {
11246 if ($lt_i == "..") {
11249 if (lt_count == 0) {
11250 lt_foo="/" $lt_i lt_foo;
11257 if (lt_foo != "") { lt_freq[lt_foo]++; }
11258 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11260 # AWK program above erroneously prepends '/' to C:/dos/paths
11263 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11264 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11266 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11268 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11270 library_names_spec
=
11271 libname_spec
='lib$name'
11275 postuninstall_cmds
=
11279 shlibpath_overrides_runpath
=unknown
11281 dynamic_linker
="$host_os ld.so"
11282 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11283 need_lib_prefix
=unknown
11284 hardcode_into_libs
=no
11286 # when you set need_version to no, make sure it does not cause -set_version
11287 # flags to be left without arguments
11288 need_version
=unknown
11293 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11294 shlibpath_var
=LIBPATH
11296 # AIX 3 has no versioning support, so we append a major version to the name.
11297 soname_spec
='${libname}${release}${shared_ext}$major'
11304 hardcode_into_libs
=yes
11305 if test "$host_cpu" = ia64
; then
11306 # AIX 5 supports IA64
11307 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11308 shlibpath_var
=LD_LIBRARY_PATH
11310 # With GCC up to 2.95.x, collect2 would create an import file
11311 # for dependence libraries. The import file would start with
11312 # the line `#! .'. This would cause the generated library to
11313 # depend on `.', always an invalid library. This was fixed in
11314 # development snapshots of GCC prior to 3.0.
11316 aix4 | aix4.
[01] | aix4.
[01].
*)
11317 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11319 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11322 can_build_shared
=no
11326 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11327 # soname into executable. Probably we can add versioning support to
11328 # collect2, so additional links can be useful in future.
11329 if test "$aix_use_runtimelinking" = yes; then
11330 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11331 # instead of lib<name>.a to let people know that these are not
11332 # typical AIX shared libraries.
11333 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11335 # We preserve .a as extension for shared libraries through AIX4.2
11336 # and later when we are not doing run time linking.
11337 library_names_spec
='${libname}${release}.a $libname.a'
11338 soname_spec
='${libname}${release}${shared_ext}$major'
11340 shlibpath_var
=LIBPATH
11347 # Since July 2007 AmigaOS4 officially supports .so libraries.
11348 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11352 library_names_spec
='$libname.ixlibrary $libname.a'
11353 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11354 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'
11360 library_names_spec
='${libname}${shared_ext}'
11361 dynamic_linker
="$host_os ld.so"
11362 shlibpath_var
=LIBRARY_PATH
11368 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11369 soname_spec
='${libname}${release}${shared_ext}$major'
11370 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11371 shlibpath_var
=LD_LIBRARY_PATH
11372 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11373 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11374 # the default ld.so.conf also contains /usr/contrib/lib and
11375 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11376 # libtool to hard-code these into programs
11379 cygwin
* | mingw
* | pw32
* | cegcc
*)
11380 version_type
=windows
11385 case $GCC,$host_os in
11386 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11387 library_names_spec
='$libname.dll.a'
11388 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11389 postinstall_cmds
='base_file=`basename \${file}`~
11390 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11391 dldir=$destdir/`dirname \$dlpath`~
11392 test -d \$dldir || mkdir -p \$dldir~
11393 $install_prog $dir/$dlname \$dldir/$dlname~
11394 chmod a+x \$dldir/$dlname~
11395 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11396 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11398 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11399 dlpath=$dir/\$dldll~
11401 shlibpath_overrides_runpath
=yes
11405 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11406 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11408 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11411 # MinGW DLLs use traditional 'lib' prefix
11412 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11415 # pw32 DLLs use 'pw' prefix rather than 'lib'
11416 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11422 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11425 dynamic_linker
='Win32 ld.exe'
11426 # FIXME: first we should search . and the directory the executable is in
11430 darwin
* | rhapsody
*)
11431 dynamic_linker
="$host_os dyld"
11432 version_type
=darwin
11435 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11436 soname_spec
='${libname}${release}${major}$shared_ext'
11437 shlibpath_overrides_runpath
=yes
11438 shlibpath_var
=DYLD_LIBRARY_PATH
11439 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11441 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11442 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11449 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11450 soname_spec
='${libname}${release}${shared_ext}$major'
11451 shlibpath_var
=LD_LIBRARY_PATH
11454 freebsd
* | dragonfly
*)
11455 # DragonFly does not have aout. When/if they implement a new
11456 # versioning mechanism, adjust this.
11457 if test -x /usr
/bin
/objformat
; then
11458 objformat
=`/usr/bin/objformat`
11461 freebsd
[23].
*) objformat
=aout
;;
11462 *) objformat
=elf
;;
11465 version_type
=freebsd-
$objformat
11466 case $version_type in
11468 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11473 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11477 shlibpath_var
=LD_LIBRARY_PATH
11480 shlibpath_overrides_runpath
=yes
11482 freebsd3.
[01]* | freebsdelf3.
[01]*)
11483 shlibpath_overrides_runpath
=yes
11484 hardcode_into_libs
=yes
11486 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11487 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11488 shlibpath_overrides_runpath
=no
11489 hardcode_into_libs
=yes
11491 *) # from 4.6 on, and DragonFly
11492 shlibpath_overrides_runpath
=yes
11493 hardcode_into_libs
=yes
11502 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11503 soname_spec
='${libname}${release}${shared_ext}$major'
11504 shlibpath_var
=LD_LIBRARY_PATH
11505 hardcode_into_libs
=yes
11512 dynamic_linker
="$host_os runtime_loader"
11513 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11514 soname_spec
='${libname}${release}${shared_ext}$major'
11515 shlibpath_var
=LIBRARY_PATH
11516 shlibpath_overrides_runpath
=yes
11517 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11518 hardcode_into_libs
=yes
11521 hpux9
* | hpux10
* | hpux11
*)
11522 # Give a soname corresponding to the major version so that dld.sl refuses to
11523 # link against other versions.
11530 hardcode_into_libs
=yes
11531 dynamic_linker
="$host_os dld.so"
11532 shlibpath_var
=LD_LIBRARY_PATH
11533 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11534 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11535 soname_spec
='${libname}${release}${shared_ext}$major'
11536 if test "X$HPUX_IA64_MODE" = X32
; then
11537 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11539 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11541 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11545 hardcode_into_libs
=yes
11546 dynamic_linker
="$host_os dld.sl"
11547 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11548 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11549 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11550 soname_spec
='${libname}${release}${shared_ext}$major'
11551 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11552 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11556 dynamic_linker
="$host_os dld.sl"
11557 shlibpath_var
=SHLIB_PATH
11558 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11559 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11560 soname_spec
='${libname}${release}${shared_ext}$major'
11563 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11564 postinstall_cmds
='chmod 555 $lib'
11565 # or fails outright, so override atomically:
11566 install_override_mode
=555
11573 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11574 soname_spec
='${libname}${release}${shared_ext}$major'
11575 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11576 shlibpath_var
=LD_LIBRARY_PATH
11577 shlibpath_overrides_runpath
=no
11578 hardcode_into_libs
=yes
11581 irix5
* | irix6
* | nonstopux
*)
11583 nonstopux
*) version_type
=nonstopux
;;
11585 if test "$lt_cv_prog_gnu_ld" = yes; then
11593 soname_spec
='${libname}${release}${shared_ext}$major'
11594 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11596 irix5
* | nonstopux
*)
11597 libsuff
= shlibsuff
=
11600 case $LD in # libtool.m4 will add one of these switches to LD
11601 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11602 libsuff
= shlibsuff
= libmagic
=32-bit;;
11603 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11604 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11605 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11606 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11607 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11611 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11612 shlibpath_overrides_runpath
=no
11613 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11614 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11615 hardcode_into_libs
=yes
11618 # No shared lib support for Linux oldld, aout, or coff.
11619 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11623 # This must be Linux ELF.
11624 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11628 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11629 soname_spec
='${libname}${release}${shared_ext}$major'
11630 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11631 shlibpath_var
=LD_LIBRARY_PATH
11632 shlibpath_overrides_runpath
=no
11634 # Some binutils ld are patched to set DT_RUNPATH
11635 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11636 $as_echo_n "(cached) " >&6
11638 lt_cv_shlibpath_overrides_runpath
=no
11639 save_LDFLAGS
=$LDFLAGS
11640 save_libdir
=$libdir
11641 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11642 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11643 if test x
$gcc_no_link = xyes
; then
11644 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11647 /* end confdefs.h. */
11657 if ac_fn_c_try_link
"$LINENO"; then :
11658 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11659 lt_cv_shlibpath_overrides_runpath
=yes
11662 rm -f core conftest.err conftest.
$ac_objext \
11663 conftest
$ac_exeext conftest.
$ac_ext
11664 LDFLAGS
=$save_LDFLAGS
11665 libdir
=$save_libdir
11669 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11671 # This implies no fast_install, which is unacceptable.
11672 # Some rework will be needed to allow for fast_install
11673 # before this can be enabled.
11674 hardcode_into_libs
=yes
11676 # Append ld.so.conf contents to the search path
11677 if test -f /etc
/ld.so.conf
; then
11678 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' ' '`
11679 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11682 # We used to test for /lib/ld.so.1 and disable shared libraries on
11683 # powerpc, because MkLinux only supported shared libraries with the
11684 # GNU dynamic linker. Since this was broken with cross compilers,
11685 # most powerpc-linux boxes support dynamic linking these days and
11686 # people can always --disable-shared, the test was removed, and we
11687 # assume the GNU/Linux dynamic linker is in use.
11688 dynamic_linker
='GNU/Linux ld.so'
11695 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11696 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11697 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11698 dynamic_linker
='NetBSD (a.out) ld.so'
11700 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11701 soname_spec
='${libname}${release}${shared_ext}$major'
11702 dynamic_linker
='NetBSD ld.elf_so'
11704 shlibpath_var
=LD_LIBRARY_PATH
11705 shlibpath_overrides_runpath
=yes
11706 hardcode_into_libs
=yes
11711 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11712 shlibpath_var
=LD_LIBRARY_PATH
11713 shlibpath_overrides_runpath
=yes
11720 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11721 soname_spec
='${libname}${release}${shared_ext}$major'
11722 shlibpath_var
=LD_LIBRARY_PATH
11723 shlibpath_overrides_runpath
=no
11724 hardcode_into_libs
=yes
11725 dynamic_linker
='ldqnx.so'
11730 sys_lib_dlsearch_path_spec
="/usr/lib"
11732 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11734 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11735 *) need_version
=no
;;
11737 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11738 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11739 shlibpath_var
=LD_LIBRARY_PATH
11740 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11742 openbsd2.
[89] | openbsd2.
[89].
*)
11743 shlibpath_overrides_runpath
=no
11746 shlibpath_overrides_runpath
=yes
11750 shlibpath_overrides_runpath
=yes
11755 libname_spec
='$name'
11758 library_names_spec
='$libname${shared_ext} $libname.a'
11759 dynamic_linker
='OS/2 ld.exe'
11760 shlibpath_var
=LIBPATH
11763 osf3
* | osf4
* | osf5
*)
11767 soname_spec
='${libname}${release}${shared_ext}$major'
11768 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11769 shlibpath_var
=LD_LIBRARY_PATH
11770 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11771 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11782 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11783 soname_spec
='${libname}${release}${shared_ext}$major'
11784 shlibpath_var
=LD_LIBRARY_PATH
11785 shlibpath_overrides_runpath
=yes
11786 hardcode_into_libs
=yes
11787 # ldd complains unless libraries are executable
11788 postinstall_cmds
='chmod +x $lib'
11793 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11794 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11795 shlibpath_var
=LD_LIBRARY_PATH
11796 shlibpath_overrides_runpath
=yes
11797 if test "$with_gnu_ld" = yes; then
11805 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11806 soname_spec
='${libname}${release}${shared_ext}$major'
11807 shlibpath_var
=LD_LIBRARY_PATH
11808 case $host_vendor in
11810 shlibpath_overrides_runpath
=no
11812 runpath_var
=LD_RUN_PATH
11820 shlibpath_overrides_runpath
=no
11821 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11827 if test -d /usr
/nec
;then
11829 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11830 soname_spec
='$libname${shared_ext}.$major'
11831 shlibpath_var
=LD_LIBRARY_PATH
11835 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11836 version_type
=freebsd-elf
11839 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11840 soname_spec
='${libname}${release}${shared_ext}$major'
11841 shlibpath_var
=LD_LIBRARY_PATH
11842 shlibpath_overrides_runpath
=yes
11843 hardcode_into_libs
=yes
11844 if test "$with_gnu_ld" = yes; then
11845 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11847 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11850 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11854 sys_lib_dlsearch_path_spec
='/usr/lib'
11858 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11862 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11863 shlibpath_var
=LD_LIBRARY_PATH
11864 shlibpath_overrides_runpath
=no
11865 hardcode_into_libs
=yes
11870 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11871 soname_spec
='${libname}${release}${shared_ext}$major'
11872 shlibpath_var
=LD_LIBRARY_PATH
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11880 $as_echo "$dynamic_linker" >&6; }
11881 test "$dynamic_linker" = no
&& can_build_shared
=no
11883 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11884 if test "$GCC" = yes; then
11885 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11888 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11889 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11891 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11892 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11987 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11989 if test -n "$hardcode_libdir_flag_spec" ||
11990 test -n "$runpath_var" ||
11991 test "X$hardcode_automatic" = "Xyes" ; then
11993 # We can hardcode non-existent directories.
11994 if test "$hardcode_direct" != no
&&
11995 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11996 # have to relink, otherwise we might link with an installed library
11997 # when we should be linking with a yet-to-be-installed one
11998 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11999 test "$hardcode_minus_L" != no
; then
12000 # Linking always hardcodes the temporary library directory.
12001 hardcode_action
=relink
12003 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12004 hardcode_action
=immediate
12007 # We cannot hardcode anything, or else we can only hardcode existing
12009 hardcode_action
=unsupported
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12012 $as_echo "$hardcode_action" >&6; }
12014 if test "$hardcode_action" = relink ||
12015 test "$inherit_rpath" = yes; then
12016 # Fast installation is not supported
12017 enable_fast_install
=no
12018 elif test "$shlibpath_overrides_runpath" = yes ||
12019 test "$enable_shared" = no
; then
12020 # Fast installation is not necessary
12021 enable_fast_install
=needless
12029 if test "x$enable_dlopen" != xyes
; then
12030 enable_dlopen
=unknown
12031 enable_dlopen_self
=unknown
12032 enable_dlopen_self_static
=unknown
12039 lt_cv_dlopen
="load_add_on"
12041 lt_cv_dlopen_self
=yes
12044 mingw
* | pw32
* | cegcc
*)
12045 lt_cv_dlopen
="LoadLibrary"
12050 lt_cv_dlopen
="dlopen"
12055 # if libdl is installed we need to link against it
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12057 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12058 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12059 $as_echo_n "(cached) " >&6
12061 ac_check_lib_save_LIBS
=$LIBS
12063 if test x
$gcc_no_link = xyes
; then
12064 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12067 /* end confdefs.h. */
12069 /* Override any GCC internal prototype to avoid an error.
12070 Use char because int might match the return type of a GCC
12071 builtin and then its argument prototype would still apply. */
12084 if ac_fn_c_try_link
"$LINENO"; then :
12085 ac_cv_lib_dl_dlopen
=yes
12087 ac_cv_lib_dl_dlopen
=no
12089 rm -f core conftest.err conftest.
$ac_objext \
12090 conftest
$ac_exeext conftest.
$ac_ext
12091 LIBS
=$ac_check_lib_save_LIBS
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12094 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12095 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12096 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12099 lt_cv_dlopen
="dyld"
12101 lt_cv_dlopen_self
=yes
12108 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12109 if test "x$ac_cv_func_shl_load" = x
""yes; then :
12110 lt_cv_dlopen
="shl_load"
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12113 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12114 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12115 $as_echo_n "(cached) " >&6
12117 ac_check_lib_save_LIBS
=$LIBS
12119 if test x
$gcc_no_link = xyes
; then
12120 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12123 /* end confdefs.h. */
12125 /* Override any GCC internal prototype to avoid an error.
12126 Use char because int might match the return type of a GCC
12127 builtin and then its argument prototype would still apply. */
12135 return shl_load ();
12140 if ac_fn_c_try_link
"$LINENO"; then :
12141 ac_cv_lib_dld_shl_load
=yes
12143 ac_cv_lib_dld_shl_load
=no
12145 rm -f core conftest.err conftest.
$ac_objext \
12146 conftest
$ac_exeext conftest.
$ac_ext
12147 LIBS
=$ac_check_lib_save_LIBS
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12150 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12151 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
12152 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12154 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12155 if test "x$ac_cv_func_dlopen" = x
""yes; then :
12156 lt_cv_dlopen
="dlopen"
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12159 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12160 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12161 $as_echo_n "(cached) " >&6
12163 ac_check_lib_save_LIBS
=$LIBS
12165 if test x
$gcc_no_link = xyes
; then
12166 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12169 /* end confdefs.h. */
12171 /* Override any GCC internal prototype to avoid an error.
12172 Use char because int might match the return type of a GCC
12173 builtin and then its argument prototype would still apply. */
12186 if ac_fn_c_try_link
"$LINENO"; then :
12187 ac_cv_lib_dl_dlopen
=yes
12189 ac_cv_lib_dl_dlopen
=no
12191 rm -f core conftest.err conftest.
$ac_objext \
12192 conftest
$ac_exeext conftest.
$ac_ext
12193 LIBS
=$ac_check_lib_save_LIBS
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12196 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12197 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12198 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12201 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12202 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12203 $as_echo_n "(cached) " >&6
12205 ac_check_lib_save_LIBS
=$LIBS
12206 LIBS
="-lsvld $LIBS"
12207 if test x
$gcc_no_link = xyes
; then
12208 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12211 /* end confdefs.h. */
12213 /* Override any GCC internal prototype to avoid an error.
12214 Use char because int might match the return type of a GCC
12215 builtin and then its argument prototype would still apply. */
12228 if ac_fn_c_try_link
"$LINENO"; then :
12229 ac_cv_lib_svld_dlopen
=yes
12231 ac_cv_lib_svld_dlopen
=no
12233 rm -f core conftest.err conftest.
$ac_objext \
12234 conftest
$ac_exeext conftest.
$ac_ext
12235 LIBS
=$ac_check_lib_save_LIBS
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12238 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12239 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
12240 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12243 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12244 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12245 $as_echo_n "(cached) " >&6
12247 ac_check_lib_save_LIBS
=$LIBS
12249 if test x
$gcc_no_link = xyes
; then
12250 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12253 /* end confdefs.h. */
12255 /* Override any GCC internal prototype to avoid an error.
12256 Use char because int might match the return type of a GCC
12257 builtin and then its argument prototype would still apply. */
12265 return dld_link ();
12270 if ac_fn_c_try_link
"$LINENO"; then :
12271 ac_cv_lib_dld_dld_link
=yes
12273 ac_cv_lib_dld_dld_link
=no
12275 rm -f core conftest.err conftest.
$ac_objext \
12276 conftest
$ac_exeext conftest.
$ac_ext
12277 LIBS
=$ac_check_lib_save_LIBS
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12280 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12281 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
12282 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12303 if test "x$lt_cv_dlopen" != xno
; then
12309 case $lt_cv_dlopen in
12311 save_CPPFLAGS
="$CPPFLAGS"
12312 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12314 save_LDFLAGS
="$LDFLAGS"
12315 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12318 LIBS
="$lt_cv_dlopen_libs $LIBS"
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12321 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12322 if test "${lt_cv_dlopen_self+set}" = set; then :
12323 $as_echo_n "(cached) " >&6
12325 if test "$cross_compiling" = yes; then :
12326 lt_cv_dlopen_self
=cross
12328 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12329 lt_status
=$lt_dlunknown
12330 cat > conftest.
$ac_ext <<_LT_EOF
12331 #line 12331 "configure"
12332 #include "confdefs.h"
12341 # define LT_DLGLOBAL RTLD_GLOBAL
12344 # define LT_DLGLOBAL DL_GLOBAL
12346 # define LT_DLGLOBAL 0
12350 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12351 find out it does not work in some platform. */
12352 #ifndef LT_DLLAZY_OR_NOW
12354 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12357 # define LT_DLLAZY_OR_NOW DL_LAZY
12360 # define LT_DLLAZY_OR_NOW RTLD_NOW
12363 # define LT_DLLAZY_OR_NOW DL_NOW
12365 # define LT_DLLAZY_OR_NOW 0
12372 /* When -fvisbility=hidden is used, assume the code has been annotated
12373 correspondingly for the symbols needed. */
12374 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12375 void fnord () __attribute__((visibility("default")));
12378 void fnord () { int i=42; }
12381 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12382 int status = $lt_dlunknown;
12386 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12389 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12390 else puts (dlerror ());
12392 /* dlclose (self); */
12400 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12401 (eval $ac_link) 2>&5
12403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12404 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12405 (.
/conftest
; exit; ) >&5 2>/dev
/null
12407 case x
$lt_status in
12408 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12409 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12410 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12413 # compilation failed
12414 lt_cv_dlopen_self
=no
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12422 $as_echo "$lt_cv_dlopen_self" >&6; }
12424 if test "x$lt_cv_dlopen_self" = xyes
; then
12425 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12427 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12428 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12429 $as_echo_n "(cached) " >&6
12431 if test "$cross_compiling" = yes; then :
12432 lt_cv_dlopen_self_static
=cross
12434 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12435 lt_status
=$lt_dlunknown
12436 cat > conftest.
$ac_ext <<_LT_EOF
12437 #line 12437 "configure"
12438 #include "confdefs.h"
12447 # define LT_DLGLOBAL RTLD_GLOBAL
12450 # define LT_DLGLOBAL DL_GLOBAL
12452 # define LT_DLGLOBAL 0
12456 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12457 find out it does not work in some platform. */
12458 #ifndef LT_DLLAZY_OR_NOW
12460 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12463 # define LT_DLLAZY_OR_NOW DL_LAZY
12466 # define LT_DLLAZY_OR_NOW RTLD_NOW
12469 # define LT_DLLAZY_OR_NOW DL_NOW
12471 # define LT_DLLAZY_OR_NOW 0
12478 /* When -fvisbility=hidden is used, assume the code has been annotated
12479 correspondingly for the symbols needed. */
12480 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12481 void fnord () __attribute__((visibility("default")));
12484 void fnord () { int i=42; }
12487 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12488 int status = $lt_dlunknown;
12492 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12495 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12496 else puts (dlerror ());
12498 /* dlclose (self); */
12506 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12507 (eval $ac_link) 2>&5
12509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12510 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12511 (.
/conftest
; exit; ) >&5 2>/dev
/null
12513 case x
$lt_status in
12514 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12515 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12516 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12519 # compilation failed
12520 lt_cv_dlopen_self_static
=no
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12528 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12531 CPPFLAGS
="$save_CPPFLAGS"
12532 LDFLAGS
="$save_LDFLAGS"
12537 case $lt_cv_dlopen_self in
12538 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12539 *) enable_dlopen_self
=unknown
;;
12542 case $lt_cv_dlopen_self_static in
12543 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12544 *) enable_dlopen_self_static
=unknown
;;
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12567 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12568 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12569 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12570 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12572 $as_echo "yes" >&6; }
12574 # FIXME - insert some real tests, host_os isn't really good enough
12577 if test -n "$STRIP" ; then
12578 striplib
="$STRIP -x"
12579 old_striplib
="$STRIP -S"
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12581 $as_echo "yes" >&6; }
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12584 $as_echo "no" >&6; }
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12589 $as_echo "no" >&6; }
12605 # Report which library types will actually be built
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12607 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12609 $as_echo "$can_build_shared" >&6; }
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12612 $as_echo_n "checking whether to build shared libraries... " >&6; }
12613 test "$can_build_shared" = "no" && enable_shared
=no
12615 # On AIX, shared libraries and static libraries use the same namespace, and
12616 # are all built from PIC.
12619 test "$enable_shared" = yes && enable_static
=no
12620 if test -n "$RANLIB"; then
12621 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12622 postinstall_cmds
='$RANLIB $lib'
12627 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12628 test "$enable_shared" = yes && enable_static
=no
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12633 $as_echo "$enable_shared" >&6; }
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12636 $as_echo_n "checking whether to build static libraries... " >&6; }
12637 # Make sure either enable_shared or enable_static is yes.
12638 test "$enable_shared" = yes || enable_static
=yes
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12640 $as_echo "$enable_static" >&6; }
12647 ac_cpp
='$CPP $CPPFLAGS'
12648 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12649 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12650 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12666 ac_config_commands
="$ac_config_commands libtool"
12671 # Only expand once:
12678 *-cygwin* |
*-mingw*)
12679 # 'host' will be top-level target in the case of a target lib,
12680 # we must compare to with_cross_host to decide if this is a native
12681 # or cross-compiler and select where to install dlls appropriately.
12682 if test -n "$with_cross_host" &&
12683 test x
"$with_cross_host" != x
"no"; then
12684 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
12686 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
12698 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12700 # We need gfortran to compile parts of the library
12701 #AC_PROG_FC(gfortran)
12703 ac_ext
=${ac_fc_srcext-f}
12704 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12705 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12706 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
12707 if test -n "$ac_tool_prefix"; then
12708 for ac_prog
in gfortran
12710 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12711 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12713 $as_echo_n "checking for $ac_word... " >&6; }
12714 if test "${ac_cv_prog_FC+set}" = set; then :
12715 $as_echo_n "(cached) " >&6
12717 if test -n "$FC"; then
12718 ac_cv_prog_FC
="$FC" # Let the user override the test.
12720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12721 for as_dir
in $PATH
12724 test -z "$as_dir" && as_dir
=.
12725 for ac_exec_ext
in '' $ac_executable_extensions; do
12726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12727 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
12728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12738 if test -n "$FC"; then
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12740 $as_echo "$FC" >&6; }
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12743 $as_echo "no" >&6; }
12747 test -n "$FC" && break
12750 if test -z "$FC"; then
12752 for ac_prog
in gfortran
12754 # Extract the first word of "$ac_prog", so it can be a program name with args.
12755 set dummy
$ac_prog; ac_word
=$2
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12757 $as_echo_n "checking for $ac_word... " >&6; }
12758 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12759 $as_echo_n "(cached) " >&6
12761 if test -n "$ac_ct_FC"; then
12762 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
12764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12765 for as_dir
in $PATH
12768 test -z "$as_dir" && as_dir
=.
12769 for ac_exec_ext
in '' $ac_executable_extensions; do
12770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12771 ac_cv_prog_ac_ct_FC
="$ac_prog"
12772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12781 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
12782 if test -n "$ac_ct_FC"; then
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12784 $as_echo "$ac_ct_FC" >&6; }
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12787 $as_echo "no" >&6; }
12791 test -n "$ac_ct_FC" && break
12794 if test "x$ac_ct_FC" = x
; then
12797 case $cross_compiling:$ac_tool_warned in
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12800 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12801 ac_tool_warned
=yes ;;
12808 # Provide some information about the compiler.
12809 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12812 for ac_option
in --version -v -V -qversion; do
12813 { { ac_try
="$ac_compiler $ac_option >&5"
12814 case "(($ac_try" in
12815 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12816 *) ac_try_echo=$ac_try;;
12818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12819 $as_echo "$ac_try_echo"; } >&5
12820 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12822 if test -s conftest.err; then
12824 ... rest of stderr output deleted ...
12825 10q' conftest.err >conftest.er1
12826 cat conftest.er1 >&5
12827 rm -f conftest.er1 conftest.err
12829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12830 test $ac_status = 0; }
12834 # If we don't use `.F
' as extension, the preprocessor is not run on the
12835 # input file. (Note that this only needs to work for GNU compilers.)
12836 ac_save_ext=$ac_ext
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
12839 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
12840 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
12841 $as_echo_n "(cached) " >&6
12843 cat > conftest.$ac_ext <<_ACEOF
12851 if ac_fn_fc_try_compile "$LINENO"; then :
12852 ac_compiler_gnu=yes
12856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12857 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
12861 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
12862 ac_ext=$ac_save_ext
12863 ac_test_FCFLAGS=${FCFLAGS+set}
12864 ac_save_FCFLAGS=$FCFLAGS
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
12867 $as_echo_n "checking whether $FC accepts -g... " >&6; }
12868 if test "${ac_cv_prog_fc_g+set}" = set; then :
12869 $as_echo_n "(cached) " >&6
12872 cat > conftest.$ac_ext <<_ACEOF
12877 if ac_fn_fc_try_compile "$LINENO"; then :
12878 ac_cv_prog_fc_g=yes
12882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
12886 $as_echo "$ac_cv_prog_fc_g" >&6; }
12887 if test "$ac_test_FCFLAGS" = set; then
12888 FCFLAGS=$ac_save_FCFLAGS
12889 elif test $ac_cv_prog_fc_g = yes; then
12890 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12896 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12904 ac_cpp='$CPP $CPPFLAGS'
12905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
12906 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
12907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12909 ac_ext=${ac_fc_srcext-f}
12910 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
12911 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
12912 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12915 if test -z "$FC" || test "X$FC" = "Xno"; then
12919 archive_cmds_need_lc_FC=no
12920 allow_undefined_flag_FC=
12921 always_export_symbols_FC=no
12922 archive_expsym_cmds_FC=
12923 export_dynamic_flag_spec_FC=
12924 hardcode_direct_FC=no
12925 hardcode_direct_absolute_FC=no
12926 hardcode_libdir_flag_spec_FC=
12927 hardcode_libdir_flag_spec_ld_FC=
12928 hardcode_libdir_separator_FC=
12929 hardcode_minus_L_FC=no
12930 hardcode_automatic_FC=no
12931 inherit_rpath_FC=no
12933 module_expsym_cmds_FC=
12934 link_all_deplibs_FC=unknown
12935 old_archive_cmds_FC=$old_archive_cmds
12936 reload_flag_FC=$reload_flag
12937 reload_cmds_FC=$reload_cmds
12938 no_undefined_flag_FC=
12939 whole_archive_flag_spec_FC=
12940 enable_shared_with_static_runtimes_FC=no
12942 # Source file extension for fc test sources.
12943 ac_ext=${ac_fc_srcext-f}
12945 # Object file extension for compiled fc test sources.
12949 # No sense in running all these tests if we already determined that
12950 # the FC compiler isn't working. Some variables
(like enable_shared
)
12951 # are currently assumed to apply to all compilers on this platform,
12952 # and will be corrupted by setting them based on a non-working compiler.
12953 if test "$_lt_disable_FC" != yes; then
12954 # Code to be used in simple compile tests
12955 lt_simple_compile_test_code
="\
12961 # Code to be used in simple link tests
12962 lt_simple_link_test_code
="\
12967 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12974 # If no C compiler was specified, use CC.
12977 # If no C compiler flags were specified, use CFLAGS.
12978 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12980 # Allow CC to be a program name with arguments.
12984 # save warnings/boilerplate of simple test code
12985 ac_outfile
=conftest.
$ac_objext
12986 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12987 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12988 _lt_compiler_boilerplate
=`cat conftest.err`
12991 ac_outfile
=conftest.
$ac_objext
12992 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12993 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12994 _lt_linker_boilerplate
=`cat conftest.err`
12998 # Allow CC to be a program name with arguments.
13003 GCC
=$ac_cv_fc_compiler_gnu
13006 for cc_temp
in $compiler""; do
13008 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13009 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13014 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13017 if test -n "$compiler"; then
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13019 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13021 $as_echo "$can_build_shared" >&6; }
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13024 $as_echo_n "checking whether to build shared libraries... " >&6; }
13025 test "$can_build_shared" = "no" && enable_shared
=no
13027 # On AIX, shared libraries and static libraries use the same namespace, and
13028 # are all built from PIC.
13031 test "$enable_shared" = yes && enable_static
=no
13032 if test -n "$RANLIB"; then
13033 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13034 postinstall_cmds
='$RANLIB $lib'
13038 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13039 test "$enable_shared" = yes && enable_static
=no
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13044 $as_echo "$enable_shared" >&6; }
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13047 $as_echo_n "checking whether to build static libraries... " >&6; }
13048 # Make sure either enable_shared or enable_static is yes.
13049 test "$enable_shared" = yes || enable_static
=yes
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13051 $as_echo "$enable_static" >&6; }
13053 GCC_FC
="$ac_cv_fc_compiler_gnu"
13057 ## There is no encapsulation within the following macros, do not change
13058 ## the running order or otherwise move them around unless you know exactly
13059 ## what you are doing...
13060 # Dependencies to place before and after the object being linked:
13062 postdep_objects_FC
=
13065 compiler_lib_search_path_FC
=
13067 cat > conftest.
$ac_ext <<_LT_EOF
13076 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13077 (eval $ac_compile) 2>&5
13079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13080 test $ac_status = 0; }; then
13081 # Parse the compiler output and extract the necessary
13082 # objects, libraries and library flags.
13084 # Sentinel used to keep track of whether or not we are before
13085 # the conftest object file.
13086 pre_test_object_deps_done
=no
13088 for p
in `eval "$output_verbose_link_cmd"`; do
13092 # Some compilers place space between "-{L,R}" and the path.
13093 # Remove the space.
13094 if test $p = "-L" ||
13095 test $p = "-R"; then
13102 if test "$pre_test_object_deps_done" = no
; then
13105 # Internal compiler library paths should come after those
13106 # provided the user. The postdeps already come after the
13107 # user supplied libs so there is no need to process them.
13108 if test -z "$compiler_lib_search_path_FC"; then
13109 compiler_lib_search_path_FC
="${prev}${p}"
13111 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
13114 # The "-l" case would never come before the object being
13115 # linked, so don't bother handling this case.
13118 if test -z "$postdeps_FC"; then
13119 postdeps_FC
="${prev}${p}"
13121 postdeps_FC
="${postdeps_FC} ${prev}${p}"
13127 # This assumes that the test object file only shows up
13128 # once in the compiler output.
13129 if test "$p" = "conftest.$objext"; then
13130 pre_test_object_deps_done
=yes
13134 if test "$pre_test_object_deps_done" = no
; then
13135 if test -z "$predep_objects_FC"; then
13136 predep_objects_FC
="$p"
13138 predep_objects_FC
="$predep_objects_FC $p"
13141 if test -z "$postdep_objects_FC"; then
13142 postdep_objects_FC
="$p"
13144 postdep_objects_FC
="$postdep_objects_FC $p"
13149 *) ;; # Ignore the rest.
13157 echo "libtool.m4: error: problem compiling FC test program"
13160 $RM -f confest.
$objext
13162 # PORTME: override above test on systems where it is broken
13165 case " $postdeps_FC " in
13166 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
13168 compiler_lib_search_dirs_FC
=
13169 if test -n "${compiler_lib_search_path_FC}"; then
13170 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13203 lt_prog_compiler_wl_FC
=
13204 lt_prog_compiler_pic_FC
=
13205 lt_prog_compiler_static_FC
=
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13208 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13210 if test "$GCC" = yes; then
13211 lt_prog_compiler_wl_FC
='-Wl,'
13212 lt_prog_compiler_static_FC
='-static'
13216 # All AIX code is PIC.
13217 if test "$host_cpu" = ia64
; then
13218 # AIX 5 now supports IA64 processor
13219 lt_prog_compiler_static_FC
='-Bstatic'
13221 lt_prog_compiler_pic_FC
='-fPIC'
13227 # see comment about AmigaOS4 .so support
13228 lt_prog_compiler_pic_FC
='-fPIC'
13231 # FIXME: we need at least 68020 code to build shared libraries, but
13232 # adding the `-m68020' flag to GCC prevents building anything better,
13234 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
13239 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13240 # PIC is the default for these OSes.
13243 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13244 # This hack is so that the source file can tell whether it is being
13245 # built for inclusion in a dll (and should export symbols for example).
13246 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13247 # (--disable-auto-import) libraries
13248 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13251 darwin
* | rhapsody
*)
13252 # PIC is the default on this platform
13253 # Common symbols not allowed in MH_DYLIB files
13254 lt_prog_compiler_pic_FC
='-fno-common'
13258 # PIC is the default for Haiku.
13259 # The "-static" flag exists, but is broken.
13260 lt_prog_compiler_static_FC
=
13264 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13265 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13266 # sets the default TLS model and affects inlining.
13272 lt_prog_compiler_pic_FC
='-fPIC'
13278 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13279 # Instead, we relocate shared libraries at runtime.
13283 # Just because we use GCC doesn't mean we suddenly get shared libraries
13284 # on systems that don't support them.
13285 lt_prog_compiler_can_build_shared_FC
=no
13290 # QNX uses GNU C++, but need to define -shared option too, otherwise
13291 # it will coredump.
13292 lt_prog_compiler_pic_FC
='-fPIC -shared'
13296 if test -d /usr
/nec
; then
13297 lt_prog_compiler_pic_FC
=-Kconform_pic
13302 lt_prog_compiler_pic_FC
='-fPIC'
13306 case $cc_basename in
13307 nvcc
*) # Cuda Compiler Driver 2.2
13308 lt_prog_compiler_wl_FC
='-Xlinker '
13309 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
13313 # PORTME Check for flag to pass linker flags through the system compiler.
13316 lt_prog_compiler_wl_FC
='-Wl,'
13317 if test "$host_cpu" = ia64
; then
13318 # AIX 5 now supports IA64 processor
13319 lt_prog_compiler_static_FC
='-Bstatic'
13321 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
13325 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13326 # This hack is so that the source file can tell whether it is being
13327 # built for inclusion in a dll (and should export symbols for example).
13328 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13331 hpux9
* | hpux10
* | hpux11
*)
13332 lt_prog_compiler_wl_FC
='-Wl,'
13333 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13334 # not for PA HP-UX.
13340 lt_prog_compiler_pic_FC
='+Z'
13343 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13344 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
13347 irix5
* | irix6
* | nonstopux
*)
13348 lt_prog_compiler_wl_FC
='-Wl,'
13349 # PIC (with -KPIC) is the default.
13350 lt_prog_compiler_static_FC
='-non_shared'
13353 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13354 case $cc_basename in
13355 # old Intel for x86_64 which still supported -KPIC.
13357 lt_prog_compiler_wl_FC
='-Wl,'
13358 lt_prog_compiler_pic_FC
='-KPIC'
13359 lt_prog_compiler_static_FC
='-static'
13361 # icc used to be incompatible with GCC.
13362 # ICC 10 doesn't accept -KPIC any more.
13364 lt_prog_compiler_wl_FC
='-Wl,'
13365 lt_prog_compiler_pic_FC
='-fPIC'
13366 lt_prog_compiler_static_FC
='-static'
13368 # Lahey Fortran 8.1.
13370 lt_prog_compiler_wl_FC
='-Wl,'
13371 lt_prog_compiler_pic_FC
='--shared'
13372 lt_prog_compiler_static_FC
='--static'
13374 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13375 # Portland Group compilers (*not* the Pentium gcc compiler,
13376 # which looks to be a dead project)
13377 lt_prog_compiler_wl_FC
='-Wl,'
13378 lt_prog_compiler_pic_FC
='-fpic'
13379 lt_prog_compiler_static_FC
='-Bstatic'
13382 lt_prog_compiler_wl_FC
='-Wl,'
13383 # All Alpha code is PIC.
13384 lt_prog_compiler_static_FC
='-non_shared'
13386 xl
* | bgxl
* | bgf
* | mpixl
*)
13387 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13388 lt_prog_compiler_wl_FC
='-Wl,'
13389 lt_prog_compiler_pic_FC
='-qpic'
13390 lt_prog_compiler_static_FC
='-qstaticlink'
13393 case `$CC -V 2>&1 | sed 5q` in
13394 *Sun\ F
* |
*Sun
*Fortran
*)
13395 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13396 lt_prog_compiler_pic_FC
='-KPIC'
13397 lt_prog_compiler_static_FC
='-Bstatic'
13398 lt_prog_compiler_wl_FC
=''
13402 lt_prog_compiler_pic_FC
='-KPIC'
13403 lt_prog_compiler_static_FC
='-Bstatic'
13404 lt_prog_compiler_wl_FC
='-Wl,'
13412 lt_prog_compiler_pic_FC
='-KPIC'
13413 lt_prog_compiler_static_FC
='-Bstatic'
13417 # QNX uses GNU C++, but need to define -shared option too, otherwise
13418 # it will coredump.
13419 lt_prog_compiler_pic_FC
='-fPIC -shared'
13422 osf3
* | osf4
* | osf5
*)
13423 lt_prog_compiler_wl_FC
='-Wl,'
13424 # All OSF/1 code is PIC.
13425 lt_prog_compiler_static_FC
='-non_shared'
13429 lt_prog_compiler_static_FC
='-non_shared'
13433 lt_prog_compiler_pic_FC
='-KPIC'
13434 lt_prog_compiler_static_FC
='-Bstatic'
13435 case $cc_basename in
13436 f77
* | f90
* | f95
*)
13437 lt_prog_compiler_wl_FC
='-Qoption ld ';;
13439 lt_prog_compiler_wl_FC
='-Wl,';;
13444 lt_prog_compiler_wl_FC
='-Qoption ld '
13445 lt_prog_compiler_pic_FC
='-PIC'
13446 lt_prog_compiler_static_FC
='-Bstatic'
13449 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13450 lt_prog_compiler_wl_FC
='-Wl,'
13451 lt_prog_compiler_pic_FC
='-KPIC'
13452 lt_prog_compiler_static_FC
='-Bstatic'
13456 if test -d /usr
/nec
;then
13457 lt_prog_compiler_pic_FC
='-Kconform_pic'
13458 lt_prog_compiler_static_FC
='-Bstatic'
13462 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13463 lt_prog_compiler_wl_FC
='-Wl,'
13464 lt_prog_compiler_pic_FC
='-KPIC'
13465 lt_prog_compiler_static_FC
='-Bstatic'
13469 lt_prog_compiler_wl_FC
='-Wl,'
13470 lt_prog_compiler_can_build_shared_FC
=no
13474 lt_prog_compiler_pic_FC
='-pic'
13475 lt_prog_compiler_static_FC
='-Bstatic'
13479 lt_prog_compiler_can_build_shared_FC
=no
13485 # For platforms which do not support PIC, -DPIC is meaningless:
13487 lt_prog_compiler_pic_FC
=
13490 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13494 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13499 # Check to make sure the PIC flag actually works.
13501 if test -n "$lt_prog_compiler_pic_FC"; then
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13503 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13504 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13505 $as_echo_n "(cached) " >&6
13507 lt_cv_prog_compiler_pic_works_FC
=no
13508 ac_outfile
=conftest.
$ac_objext
13509 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13510 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
13511 # Insert the option either (1) after the last *FLAGS variable, or
13512 # (2) before a word containing "conftest.", or (3) at the end.
13513 # Note that $ac_compile itself does not contain backslashes and begins
13514 # with a dollar sign (not a hyphen), so the echo should work correctly.
13515 # The option is referenced via a variable to avoid confusing sed.
13516 lt_compile
=`echo "$ac_compile" | $SED \
13517 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13518 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13519 -e 's:$: $lt_compiler_flag:'`
13520 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13521 (eval "$lt_compile" 2>conftest.err
)
13523 cat conftest.err
>&5
13524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13525 if (exit $ac_status) && test -s "$ac_outfile"; then
13526 # The compiler can only warn and ignore the option if not recognized
13527 # So say no if there are warnings other than the usual output.
13528 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13529 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13530 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13531 lt_cv_prog_compiler_pic_works_FC
=yes
13537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13538 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13540 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
13541 case $lt_prog_compiler_pic_FC in
13543 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
13546 lt_prog_compiler_pic_FC
=
13547 lt_prog_compiler_can_build_shared_FC
=no
13555 # Check to make sure the static flag actually works.
13557 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13559 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13560 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13561 $as_echo_n "(cached) " >&6
13563 lt_cv_prog_compiler_static_works_FC
=no
13564 save_LDFLAGS
="$LDFLAGS"
13565 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13566 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13567 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13568 # The linker can only warn and ignore the option if not recognized
13569 # So say no if there are warnings
13570 if test -s conftest.err
; then
13571 # Append any errors to the config.log.
13572 cat conftest.err
1>&5
13573 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13574 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13575 if diff conftest.exp conftest.er2
>/dev
/null
; then
13576 lt_cv_prog_compiler_static_works_FC
=yes
13579 lt_cv_prog_compiler_static_works_FC
=yes
13583 LDFLAGS
="$save_LDFLAGS"
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13587 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13589 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
13592 lt_prog_compiler_static_FC
=
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13599 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13600 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13601 $as_echo_n "(cached) " >&6
13603 lt_cv_prog_compiler_c_o_FC
=no
13604 $RM -r conftest
2>/dev
/null
13608 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13610 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13611 # Insert the option either (1) after the last *FLAGS variable, or
13612 # (2) before a word containing "conftest.", or (3) at the end.
13613 # Note that $ac_compile itself does not contain backslashes and begins
13614 # with a dollar sign (not a hyphen), so the echo should work correctly.
13615 lt_compile
=`echo "$ac_compile" | $SED \
13616 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13617 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13618 -e 's:$: $lt_compiler_flag:'`
13619 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13620 (eval "$lt_compile" 2>out
/conftest.err
)
13622 cat out
/conftest.err
>&5
13623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13624 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13626 # The compiler can only warn and ignore the option if not recognized
13627 # So say no if there are warnings
13628 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13629 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13630 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13631 lt_cv_prog_compiler_c_o_FC
=yes
13636 # SGI C++ compiler will create directory out/ii_files/ for
13637 # template instantiation
13638 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13639 $RM out
/* && rmdir out
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13646 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13651 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13652 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13653 $as_echo_n "(cached) " >&6
13655 lt_cv_prog_compiler_c_o_FC
=no
13656 $RM -r conftest
2>/dev
/null
13660 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13662 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13663 # Insert the option either (1) after the last *FLAGS variable, or
13664 # (2) before a word containing "conftest.", or (3) at the end.
13665 # Note that $ac_compile itself does not contain backslashes and begins
13666 # with a dollar sign (not a hyphen), so the echo should work correctly.
13667 lt_compile
=`echo "$ac_compile" | $SED \
13668 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13669 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13670 -e 's:$: $lt_compiler_flag:'`
13671 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13672 (eval "$lt_compile" 2>out
/conftest.err
)
13674 cat out
/conftest.err
>&5
13675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13676 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13678 # The compiler can only warn and ignore the option if not recognized
13679 # So say no if there are warnings
13680 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13681 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13682 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13683 lt_cv_prog_compiler_c_o_FC
=yes
13688 # SGI C++ compiler will create directory out/ii_files/ for
13689 # template instantiation
13690 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13691 $RM out
/* && rmdir out
13697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13698 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13703 hard_links
="nottested"
13704 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
13705 # do not overwrite the value of need_locks provided by the user
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13707 $as_echo_n "checking if we can lock with hard links... " >&6; }
13710 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13712 ln conftest.a conftest.b
2>&5 || hard_links
=no
13713 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13715 $as_echo "$hard_links" >&6; }
13716 if test "$hard_links" = no
; then
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13718 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13728 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13731 allow_undefined_flag_FC
=
13732 always_export_symbols_FC
=no
13734 archive_expsym_cmds_FC
=
13735 compiler_needs_object_FC
=no
13736 enable_shared_with_static_runtimes_FC
=no
13737 export_dynamic_flag_spec_FC
=
13738 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13739 hardcode_automatic_FC
=no
13740 hardcode_direct_FC
=no
13741 hardcode_direct_absolute_FC
=no
13742 hardcode_libdir_flag_spec_FC
=
13743 hardcode_libdir_flag_spec_ld_FC
=
13744 hardcode_libdir_separator_FC
=
13745 hardcode_minus_L_FC
=no
13746 hardcode_shlibpath_var_FC
=unsupported
13747 inherit_rpath_FC
=no
13748 link_all_deplibs_FC
=unknown
13750 module_expsym_cmds_FC
=
13751 old_archive_from_new_cmds_FC
=
13752 old_archive_from_expsyms_cmds_FC
=
13753 thread_safe_flag_spec_FC
=
13754 whole_archive_flag_spec_FC
=
13755 # include_expsyms should be a list of space-separated symbols to be *always*
13756 # included in the symbol list
13757 include_expsyms_FC
=
13758 # exclude_expsyms can be an extended regexp of symbols to exclude
13759 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13760 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13761 # as well as any symbol that contains `d'.
13762 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13763 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13764 # platforms (ab)use it in PIC code, but their linkers get confused if
13765 # the symbol is explicitly referenced. Since portable code cannot
13766 # rely on this symbol name, it's probably fine to never include it in
13767 # preloaded symbol tables.
13768 # Exclude shared library initialization/finalization symbols.
13769 extract_expsyms_cmds
=
13772 cygwin
* | mingw
* | pw32
* | cegcc
*)
13773 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13774 # When not using gcc, we currently assume that we are using
13775 # Microsoft Visual C++.
13776 if test "$GCC" != yes; then
13781 # we just hope/assume this is gcc and not c89 (= MSVC++)
13791 # On some targets, GNU ld is compatible enough with the native linker
13792 # that we're better off using the native interface for both.
13793 lt_use_gnu_ld_interface
=no
13794 if test "$with_gnu_ld" = yes; then
13797 # The AIX port of GNU ld has always aspired to compatibility
13798 # with the native linker. However, as the warning in the GNU ld
13799 # block says, versions before 2.19.5* couldn't really create working
13800 # shared libraries, regardless of the interface used.
13801 case `$LD -v 2>&1` in
13802 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
13803 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
13804 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
13806 lt_use_gnu_ld_interface
=yes
13811 lt_use_gnu_ld_interface
=yes
13816 if test "$lt_use_gnu_ld_interface" = yes; then
13817 # If archive_cmds runs LD, not CC, wlarc should be empty
13820 # Set some defaults for GNU ld with shared library support. These
13821 # are reset later if shared libraries are not supported. Putting them
13822 # here allows them to be overridden if necessary.
13823 runpath_var
=LD_RUN_PATH
13824 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13825 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
13826 # ancient GNU ld didn't support --whole-archive et. al.
13827 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
13828 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13830 whole_archive_flag_spec_FC
=
13832 supports_anon_versioning
=no
13833 case `$LD -v 2>&1` in
13834 *GNU\ gold
*) supports_anon_versioning
=yes ;;
13835 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13836 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13837 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13838 *\
2.11.
*) ;; # other 2.11 versions
13839 *) supports_anon_versioning
=yes ;;
13842 # See if GNU ld supports shared libraries.
13845 # On AIX/PPC, the GNU linker is very broken
13846 if test "$host_cpu" != ia64
; then
13850 *** Warning: the GNU linker, at least up to release 2.19, is reported
13851 *** to be unable to reliably create shared libraries on AIX.
13852 *** Therefore, libtool is disabling shared libraries support. If you
13853 *** really care for shared libraries, you may want to install binutils
13854 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13855 *** You will then need to restart the configuration process.
13864 # see comment about AmigaOS4 .so support
13865 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13866 archive_expsym_cmds_FC
=''
13869 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)'
13870 hardcode_libdir_flag_spec_FC
='-L$libdir'
13871 hardcode_minus_L_FC
=yes
13877 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13878 allow_undefined_flag_FC
=unsupported
13879 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13880 # support --undefined. This deserves some investigation. FIXME
13881 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13887 cygwin
* | mingw
* | pw32
* | cegcc
*)
13888 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
13889 # as there is no search path for DLLs.
13890 hardcode_libdir_flag_spec_FC
='-L$libdir'
13891 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
13892 allow_undefined_flag_FC
=unsupported
13893 always_export_symbols_FC
=no
13894 enable_shared_with_static_runtimes_FC
=yes
13895 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13897 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13898 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13899 # If the export-symbols file already is a .def file (1st line
13900 # is EXPORTS), use it as is; otherwise, prepend...
13901 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13902 cp $export_symbols $output_objdir/$soname.def;
13904 echo EXPORTS > $output_objdir/$soname.def;
13905 cat $export_symbols >> $output_objdir/$soname.def;
13907 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13914 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13915 link_all_deplibs_FC
=yes
13919 hardcode_direct_FC
=no
13920 hardcode_shlibpath_var_FC
=no
13921 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13922 export_dynamic_flag_spec_FC
='${wl}-E'
13923 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13924 # Instead, shared libraries are loaded at an image base (0x10000000 by
13925 # default) and relocated if they conflict, which is a slow very memory
13926 # consuming and fragmenting process. To avoid this, we pick a random,
13927 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13928 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13929 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'
13930 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'
13933 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13935 if test "$host_os" = linux-dietlibc
; then
13936 case $cc_basename in
13937 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
13940 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
13941 && test "$tmp_diet" = no
13944 tmp_sharedflag
='-shared'
13945 case $cc_basename,$host_cpu in
13946 pgcc
*) # Portland Group C compiler
13947 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'
13948 tmp_addflag
=' $pic_flag'
13950 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13951 # Portland Group f77 and f90 compilers
13952 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'
13953 tmp_addflag
=' $pic_flag -Mnomain' ;;
13954 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
13955 tmp_addflag
=' -i_dynamic' ;;
13956 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
13957 tmp_addflag
=' -i_dynamic -nofor_main' ;;
13958 ifc
* | ifort
*) # Intel Fortran compiler
13959 tmp_addflag
=' -nofor_main' ;;
13960 lf95
*) # Lahey Fortran 8.1
13961 whole_archive_flag_spec_FC
=
13962 tmp_sharedflag
='--shared' ;;
13963 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13964 tmp_sharedflag
='-qmkshrobj'
13966 nvcc
*) # Cuda Compiler Driver 2.2
13967 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'
13968 compiler_needs_object_FC
=yes
13971 case `$CC -V 2>&1 | sed 5q` in
13972 *Sun\ C
*) # Sun C 5.9
13973 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'
13974 compiler_needs_object_FC
=yes
13975 tmp_sharedflag
='-G' ;;
13976 *Sun\ F
*) # Sun Fortran 8.3
13977 tmp_sharedflag
='-G' ;;
13979 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13981 if test "x$supports_anon_versioning" = xyes
; then
13982 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
13983 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13984 echo "local: *; };" >> $output_objdir/$libname.ver~
13985 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13988 case $cc_basename in
13989 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
13990 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
13991 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
13992 hardcode_libdir_flag_spec_FC
=
13993 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
13994 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
13995 if test "x$supports_anon_versioning" = xyes
; then
13996 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
13997 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13998 echo "local: *; };" >> $output_objdir/$libname.ver~
13999 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14009 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14010 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14013 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14014 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14019 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
14023 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14024 *** create shared libraries on Solaris systems. Therefore, libtool
14025 *** is disabling shared libraries support. We urge you to upgrade GNU
14026 *** binutils to release 2.9.1 or newer. Another option is to modify
14027 *** your PATH or compiler configuration so that the native linker is
14028 *** used, and then restart.
14031 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14032 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14033 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14039 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14040 case `$LD -v 2>&1` in
14041 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14045 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14046 *** reliably create shared libraries on SCO systems. Therefore, libtool
14047 *** is disabling shared libraries support. We urge you to upgrade GNU
14048 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14049 *** your PATH or compiler configuration so that the native linker is
14050 *** used, and then restart.
14055 # For security reasons, it is highly recommended that you always
14056 # use absolute paths for naming shared libraries, and exclude the
14057 # DT_RUNPATH tag from executables and libraries. But doing so
14058 # requires that you compile everything twice, which is a pain.
14059 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14060 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14061 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14062 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14071 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14073 hardcode_direct_FC
=yes
14074 hardcode_shlibpath_var_FC
=no
14078 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14079 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14080 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14087 if test "$ld_shlibs_FC" = no
; then
14089 hardcode_libdir_flag_spec_FC
=
14090 export_dynamic_flag_spec_FC
=
14091 whole_archive_flag_spec_FC
=
14094 # PORTME fill in a description of your system's linker (not GNU ld)
14097 allow_undefined_flag_FC
=unsupported
14098 always_export_symbols_FC
=yes
14099 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'
14100 # Note: this linker hardcodes the directories in LIBPATH if there
14101 # are no directories specified by -L.
14102 hardcode_minus_L_FC
=yes
14103 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14104 # Neither direct hardcoding nor static linking is supported with a
14106 hardcode_direct_FC
=unsupported
14111 if test "$host_cpu" = ia64
; then
14112 # On IA64, the linker does run time linking by default, so we don't
14113 # have to do anything special.
14114 aix_use_runtimelinking
=no
14115 exp_sym_flag
='-Bexport'
14118 # If we're using GNU nm, then we don't want the "-C" option.
14119 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14120 # Also, AIX nm treats weak defined symbols like other global
14121 # defined symbols, whereas GNU nm marks them as "W".
14122 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14123 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'
14125 export_symbols_cmds_FC
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14127 aix_use_runtimelinking
=no
14129 # Test if we are trying to use run time linking or normal
14130 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14131 # need to do runtime linking.
14132 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14133 for ld_flag
in $LDFLAGS; do
14134 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14135 aix_use_runtimelinking
=yes
14142 exp_sym_flag
='-bexport'
14143 no_entry_flag
='-bnoentry'
14146 # When large executables or shared objects are built, AIX ld can
14147 # have problems creating the table of contents. If linking a library
14148 # or program results in "error TOC overflow" add -mminimal-toc to
14149 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14150 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14153 hardcode_direct_FC
=yes
14154 hardcode_direct_absolute_FC
=yes
14155 hardcode_libdir_separator_FC
=':'
14156 link_all_deplibs_FC
=yes
14157 file_list_spec_FC
='${wl}-f,'
14159 if test "$GCC" = yes; then
14160 case $host_os in aix4.
[012]|aix4.
[012].
*)
14161 # We only want to do this on AIX 4.2 and lower, the check
14162 # below for broken collect2 doesn't work under 4.3+
14163 collect2name
=`${CC} -print-prog-name=collect2`
14164 if test -f "$collect2name" &&
14165 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14167 # We have reworked collect2
14170 # We have old collect2
14171 hardcode_direct_FC
=unsupported
14172 # It fails to find uninstalled libraries when the uninstalled
14173 # path is not listed in the libpath. Setting hardcode_minus_L
14174 # to unsupported forces relinking
14175 hardcode_minus_L_FC
=yes
14176 hardcode_libdir_flag_spec_FC
='-L$libdir'
14177 hardcode_libdir_separator_FC
=
14181 shared_flag
='-shared'
14182 if test "$aix_use_runtimelinking" = yes; then
14183 shared_flag
="$shared_flag "'${wl}-G'
14187 if test "$host_cpu" = ia64
; then
14188 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14189 # chokes on -Wl,-G. The following line is correct:
14192 if test "$aix_use_runtimelinking" = yes; then
14193 shared_flag
='${wl}-G'
14195 shared_flag
='${wl}-bM:SRE'
14200 export_dynamic_flag_spec_FC
='${wl}-bexpall'
14201 # It seems that -bexpall does not export symbols beginning with
14202 # underscore (_), so it is better to generate a list of symbols to export.
14203 always_export_symbols_FC
=yes
14204 if test "$aix_use_runtimelinking" = yes; then
14205 # Warning - without using the other runtime loading flags (-brtl),
14206 # -berok will link without error, but may produce a broken library.
14207 allow_undefined_flag_FC
='-berok'
14208 # Determine the default libpath from the value encoded in an
14209 # empty executable.
14210 if test x
$gcc_no_link = xyes
; then
14211 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14213 cat > conftest.
$ac_ext <<_ACEOF
14218 if ac_fn_fc_try_link
"$LINENO"; then :
14220 lt_aix_libpath_sed
='
14221 /Import File Strings/,/^$/ {
14227 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14228 # Check for a 64-bit object if we didn't find anything.
14229 if test -z "$aix_libpath"; then
14230 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14233 rm -f core conftest.err conftest.
$ac_objext \
14234 conftest
$ac_exeext conftest.
$ac_ext
14235 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14237 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14238 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"
14240 if test "$host_cpu" = ia64
; then
14241 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
14242 allow_undefined_flag_FC
="-z nodefs"
14243 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"
14245 # Determine the default libpath from the value encoded in an
14246 # empty executable.
14247 if test x
$gcc_no_link = xyes
; then
14248 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14250 cat > conftest.
$ac_ext <<_ACEOF
14255 if ac_fn_fc_try_link
"$LINENO"; then :
14257 lt_aix_libpath_sed
='
14258 /Import File Strings/,/^$/ {
14264 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14265 # Check for a 64-bit object if we didn't find anything.
14266 if test -z "$aix_libpath"; then
14267 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14270 rm -f core conftest.err conftest.
$ac_objext \
14271 conftest
$ac_exeext conftest.
$ac_ext
14272 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14274 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14275 # Warning - without using the other run time loading flags,
14276 # -berok will link without error, but may produce a broken library.
14277 no_undefined_flag_FC
=' ${wl}-bernotok'
14278 allow_undefined_flag_FC
=' ${wl}-berok'
14279 if test "$with_gnu_ld" = yes; then
14280 # We only use this code for GNU lds that support --whole-archive.
14281 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14283 # Exported symbols can be pulled into shared objects from archives
14284 whole_archive_flag_spec_FC
='$convenience'
14286 archive_cmds_need_lc_FC
=yes
14287 # This is similar to how AIX traditionally builds its shared libraries.
14288 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'
14296 # see comment about AmigaOS4 .so support
14297 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14298 archive_expsym_cmds_FC
=''
14301 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)'
14302 hardcode_libdir_flag_spec_FC
='-L$libdir'
14303 hardcode_minus_L_FC
=yes
14309 export_dynamic_flag_spec_FC
=-rdynamic
14312 cygwin
* | mingw
* | pw32
* | cegcc
*)
14313 # When not using gcc, we currently assume that we are using
14314 # Microsoft Visual C++.
14315 # hardcode_libdir_flag_spec is actually meaningless, as there is
14316 # no search path for DLLs.
14317 hardcode_libdir_flag_spec_FC
=' '
14318 allow_undefined_flag_FC
=unsupported
14319 # Tell ltmain to make .lib files, not .a files.
14321 # Tell ltmain to make .dll files, not .so files.
14323 # FIXME: Setting linknames here is a bad hack.
14324 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14325 # The linker will automatically build a .lib file if we build a DLL.
14326 old_archive_from_new_cmds_FC
='true'
14327 # FIXME: Should let the user specify the lib program.
14328 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14329 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
14330 enable_shared_with_static_runtimes_FC
=yes
14333 darwin
* | rhapsody
*)
14336 archive_cmds_need_lc_FC
=no
14337 hardcode_direct_FC
=no
14338 hardcode_automatic_FC
=yes
14339 hardcode_shlibpath_var_FC
=unsupported
14340 if test "$lt_cv_ld_force_load" = "yes"; then
14341 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\"`'
14343 whole_archive_flag_spec_FC
=''
14345 link_all_deplibs_FC
=yes
14346 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
14347 case $cc_basename in
14348 ifort
*) _lt_dar_can_shared
=yes ;;
14349 *) _lt_dar_can_shared
=$GCC ;;
14351 if test "$_lt_dar_can_shared" = "yes"; then
14352 output_verbose_link_cmd
=func_echo_all
14353 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}"
14354 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14355 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}"
14356 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}"
14365 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14366 hardcode_libdir_flag_spec_FC
='-L$libdir'
14367 hardcode_shlibpath_var_FC
=no
14370 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14371 # support. Future versions do this automatically, but an explicit c++rt0.o
14372 # does not break anything, and helps significantly (at the cost of a little
14375 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14376 hardcode_libdir_flag_spec_FC
='-R$libdir'
14377 hardcode_direct_FC
=yes
14378 hardcode_shlibpath_var_FC
=no
14381 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14383 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14384 hardcode_direct_FC
=yes
14385 hardcode_minus_L_FC
=yes
14386 hardcode_shlibpath_var_FC
=no
14389 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14390 freebsd
* | dragonfly
*)
14391 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14392 hardcode_libdir_flag_spec_FC
='-R$libdir'
14393 hardcode_direct_FC
=yes
14394 hardcode_shlibpath_var_FC
=no
14398 if test "$GCC" = yes; then
14399 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'
14401 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'
14403 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14404 hardcode_libdir_separator_FC
=:
14405 hardcode_direct_FC
=yes
14407 # hardcode_minus_L: Not really in the search PATH,
14408 # but as the default location of the library.
14409 hardcode_minus_L_FC
=yes
14410 export_dynamic_flag_spec_FC
='${wl}-E'
14414 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14415 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14417 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14419 if test "$with_gnu_ld" = no
; then
14420 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14421 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
14422 hardcode_libdir_separator_FC
=:
14423 hardcode_direct_FC
=yes
14424 hardcode_direct_absolute_FC
=yes
14425 export_dynamic_flag_spec_FC
='${wl}-E'
14426 # hardcode_minus_L: Not really in the search PATH,
14427 # but as the default location of the library.
14428 hardcode_minus_L_FC
=yes
14433 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14436 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14439 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14442 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14448 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14451 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14454 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14458 if test "$with_gnu_ld" = no
; then
14459 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14460 hardcode_libdir_separator_FC
=:
14464 hardcode_direct_FC
=no
14465 hardcode_shlibpath_var_FC
=no
14468 hardcode_direct_FC
=yes
14469 hardcode_direct_absolute_FC
=yes
14470 export_dynamic_flag_spec_FC
='${wl}-E'
14472 # hardcode_minus_L: Not really in the search PATH,
14473 # but as the default location of the library.
14474 hardcode_minus_L_FC
=yes
14480 irix5
* | irix6
* | nonstopux
*)
14481 if test "$GCC" = yes; then
14482 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'
14483 # Try to use the -exported_symbol ld option, if it does not
14484 # work, assume that -exports_file does not work either and
14485 # implicitly export all symbols.
14486 save_LDFLAGS
="$LDFLAGS"
14487 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14488 if test x
$gcc_no_link = xyes
; then
14489 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14491 cat > conftest.
$ac_ext <<_ACEOF
14494 if ac_fn_fc_try_link
"$LINENO"; then :
14495 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'
14498 rm -f core conftest.err conftest.
$ac_objext \
14499 conftest
$ac_exeext conftest.
$ac_ext
14500 LDFLAGS
="$save_LDFLAGS"
14502 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'
14503 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'
14505 archive_cmds_need_lc_FC
='no'
14506 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14507 hardcode_libdir_separator_FC
=:
14508 inherit_rpath_FC
=yes
14509 link_all_deplibs_FC
=yes
14513 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14514 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14516 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14518 hardcode_libdir_flag_spec_FC
='-R$libdir'
14519 hardcode_direct_FC
=yes
14520 hardcode_shlibpath_var_FC
=no
14524 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14525 hardcode_direct_FC
=yes
14526 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14527 hardcode_libdir_separator_FC
=:
14528 hardcode_shlibpath_var_FC
=no
14535 if test -f /usr
/libexec
/ld.so
; then
14536 hardcode_direct_FC
=yes
14537 hardcode_shlibpath_var_FC
=no
14538 hardcode_direct_absolute_FC
=yes
14539 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14540 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14541 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14542 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14543 export_dynamic_flag_spec_FC
='${wl}-E'
14546 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14547 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14548 hardcode_libdir_flag_spec_FC
='-R$libdir'
14551 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14552 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14562 hardcode_libdir_flag_spec_FC
='-L$libdir'
14563 hardcode_minus_L_FC
=yes
14564 allow_undefined_flag_FC
=unsupported
14565 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'
14566 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14570 if test "$GCC" = yes; then
14571 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14572 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'
14574 allow_undefined_flag_FC
=' -expect_unresolved \*'
14575 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'
14577 archive_cmds_need_lc_FC
='no'
14578 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14579 hardcode_libdir_separator_FC
=:
14582 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14583 if test "$GCC" = yes; then
14584 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14585 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'
14586 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14588 allow_undefined_flag_FC
=' -expect_unresolved \*'
14589 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'
14590 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~
14591 $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'
14593 # Both c and cxx compiler support -rpath directly
14594 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
14596 archive_cmds_need_lc_FC
='no'
14597 hardcode_libdir_separator_FC
=:
14601 no_undefined_flag_FC
=' -z defs'
14602 if test "$GCC" = yes; then
14604 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14605 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14606 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14608 case `$CC -V 2>&1` in
14611 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14612 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14613 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14617 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14618 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14619 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14623 hardcode_libdir_flag_spec_FC
='-R$libdir'
14624 hardcode_shlibpath_var_FC
=no
14626 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14628 # The compiler driver will combine and reorder linker options,
14629 # but understands `-z linker_flag'. GCC discards it without `$wl',
14630 # but is careful enough not to reorder.
14631 # Supported since Solaris 2.6 (maybe 2.5.1?)
14632 if test "$GCC" = yes; then
14633 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14635 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
14639 link_all_deplibs_FC
=yes
14643 if test "x$host_vendor" = xsequent
; then
14644 # Use $CC to link under sequent, because it throws in some extra .o
14645 # files that make .init and .fini sections work.
14646 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14648 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14650 hardcode_libdir_flag_spec_FC
='-L$libdir'
14651 hardcode_direct_FC
=yes
14652 hardcode_minus_L_FC
=yes
14653 hardcode_shlibpath_var_FC
=no
14657 case $host_vendor in
14659 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14660 hardcode_direct_FC
=yes # is this really true???
14663 ## LD is ld it makes a PLAMLIB
14664 ## CC just makes a GrossModule.
14665 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14666 reload_cmds_FC
='$CC -r -o $output$reload_objs'
14667 hardcode_direct_FC
=no
14670 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14671 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
14674 runpath_var
='LD_RUN_PATH'
14675 hardcode_shlibpath_var_FC
=no
14679 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14680 hardcode_shlibpath_var_FC
=no
14681 export_dynamic_flag_spec_FC
='-Bexport'
14685 if test -d /usr
/nec
; then
14686 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14687 hardcode_shlibpath_var_FC
=no
14688 runpath_var
=LD_RUN_PATH
14689 hardcode_runpath_var
=yes
14694 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14695 no_undefined_flag_FC
='${wl}-z,text'
14696 archive_cmds_need_lc_FC
=no
14697 hardcode_shlibpath_var_FC
=no
14698 runpath_var
='LD_RUN_PATH'
14700 if test "$GCC" = yes; then
14701 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14702 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14704 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14705 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14709 sysv5
* | sco3.2v5
* | sco5v6
*)
14710 # Note: We can NOT use -z defs as we might desire, because we do not
14711 # link with -lc, and that would cause any symbols used from libc to
14712 # always be unresolved, which means just about no library would
14713 # ever link correctly. If we're not using GNU ld we use -z text
14714 # though, which does catch some bad symbols but isn't as heavy-handed
14716 no_undefined_flag_FC
='${wl}-z,text'
14717 allow_undefined_flag_FC
='${wl}-z,nodefs'
14718 archive_cmds_need_lc_FC
=no
14719 hardcode_shlibpath_var_FC
=no
14720 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
14721 hardcode_libdir_separator_FC
=':'
14722 link_all_deplibs_FC
=yes
14723 export_dynamic_flag_spec_FC
='${wl}-Bexport'
14724 runpath_var
='LD_RUN_PATH'
14726 if test "$GCC" = yes; then
14727 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14728 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14730 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14731 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14736 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14737 hardcode_libdir_flag_spec_FC
='-L$libdir'
14738 hardcode_shlibpath_var_FC
=no
14746 if test x
$host_vendor = xsni
; then
14748 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
14749 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14756 $as_echo "$ld_shlibs_FC" >&6; }
14757 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
14759 with_gnu_ld_FC
=$with_gnu_ld
14767 # Do we need to explicitly link libc?
14769 case "x$archive_cmds_need_lc_FC" in
14771 # Assume -lc should be added
14772 archive_cmds_need_lc_FC
=yes
14774 if test "$enable_shared" = yes && test "$GCC" = yes; then
14775 case $archive_cmds_FC in
14777 # FIXME: we may have to deal with multi-command sequences.
14780 # Test whether the compiler implicitly links with -lc since on some
14781 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14782 # to ld, don't add -lc before -lgcc.
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14784 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14785 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14786 $as_echo_n "(cached) " >&6
14789 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14791 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14792 (eval $ac_compile) 2>&5
14794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14795 test $ac_status = 0; } 2>conftest.err
; then
14798 libobjs
=conftest.
$ac_objext
14800 wl
=$lt_prog_compiler_wl_FC
14801 pic_flag
=$lt_prog_compiler_pic_FC
14807 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
14808 allow_undefined_flag_FC
=
14809 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14810 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14813 test $ac_status = 0; }
14815 lt_cv_archive_cmds_need_lc_FC
=no
14817 lt_cv_archive_cmds_need_lc_FC
=yes
14819 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
14821 cat conftest.err
1>&5
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14827 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14828 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14899 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14901 library_names_spec
=
14902 libname_spec
='lib$name'
14906 postuninstall_cmds
=
14910 shlibpath_overrides_runpath
=unknown
14912 dynamic_linker
="$host_os ld.so"
14913 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14914 need_lib_prefix
=unknown
14915 hardcode_into_libs
=no
14917 # when you set need_version to no, make sure it does not cause -set_version
14918 # flags to be left without arguments
14919 need_version
=unknown
14924 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14925 shlibpath_var
=LIBPATH
14927 # AIX 3 has no versioning support, so we append a major version to the name.
14928 soname_spec
='${libname}${release}${shared_ext}$major'
14935 hardcode_into_libs
=yes
14936 if test "$host_cpu" = ia64
; then
14937 # AIX 5 supports IA64
14938 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14939 shlibpath_var
=LD_LIBRARY_PATH
14941 # With GCC up to 2.95.x, collect2 would create an import file
14942 # for dependence libraries. The import file would start with
14943 # the line `#! .'. This would cause the generated library to
14944 # depend on `.', always an invalid library. This was fixed in
14945 # development snapshots of GCC prior to 3.0.
14947 aix4 | aix4.
[01] | aix4.
[01].
*)
14948 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14950 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14953 can_build_shared
=no
14957 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14958 # soname into executable. Probably we can add versioning support to
14959 # collect2, so additional links can be useful in future.
14960 if test "$aix_use_runtimelinking" = yes; then
14961 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14962 # instead of lib<name>.a to let people know that these are not
14963 # typical AIX shared libraries.
14964 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14966 # We preserve .a as extension for shared libraries through AIX4.2
14967 # and later when we are not doing run time linking.
14968 library_names_spec
='${libname}${release}.a $libname.a'
14969 soname_spec
='${libname}${release}${shared_ext}$major'
14971 shlibpath_var
=LIBPATH
14978 # Since July 2007 AmigaOS4 officially supports .so libraries.
14979 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14980 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14983 library_names_spec
='$libname.ixlibrary $libname.a'
14984 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14985 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'
14991 library_names_spec
='${libname}${shared_ext}'
14992 dynamic_linker
="$host_os ld.so"
14993 shlibpath_var
=LIBRARY_PATH
14999 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15000 soname_spec
='${libname}${release}${shared_ext}$major'
15001 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15002 shlibpath_var
=LD_LIBRARY_PATH
15003 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15004 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15005 # the default ld.so.conf also contains /usr/contrib/lib and
15006 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15007 # libtool to hard-code these into programs
15010 cygwin
* | mingw
* | pw32
* | cegcc
*)
15011 version_type
=windows
15016 case $GCC,$host_os in
15017 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15018 library_names_spec
='$libname.dll.a'
15019 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15020 postinstall_cmds
='base_file=`basename \${file}`~
15021 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15022 dldir=$destdir/`dirname \$dlpath`~
15023 test -d \$dldir || mkdir -p \$dldir~
15024 $install_prog $dir/$dlname \$dldir/$dlname~
15025 chmod a+x \$dldir/$dlname~
15026 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15027 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15029 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15030 dlpath=$dir/\$dldll~
15032 shlibpath_overrides_runpath
=yes
15036 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15037 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15041 # MinGW DLLs use traditional 'lib' prefix
15042 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15045 # pw32 DLLs use 'pw' prefix rather than 'lib'
15046 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15052 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15055 dynamic_linker
='Win32 ld.exe'
15056 # FIXME: first we should search . and the directory the executable is in
15060 darwin
* | rhapsody
*)
15061 dynamic_linker
="$host_os dyld"
15062 version_type
=darwin
15065 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15066 soname_spec
='${libname}${release}${major}$shared_ext'
15067 shlibpath_overrides_runpath
=yes
15068 shlibpath_var
=DYLD_LIBRARY_PATH
15069 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15071 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15078 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15079 soname_spec
='${libname}${release}${shared_ext}$major'
15080 shlibpath_var
=LD_LIBRARY_PATH
15083 freebsd
* | dragonfly
*)
15084 # DragonFly does not have aout. When/if they implement a new
15085 # versioning mechanism, adjust this.
15086 if test -x /usr
/bin
/objformat
; then
15087 objformat
=`/usr/bin/objformat`
15090 freebsd
[23].
*) objformat
=aout
;;
15091 *) objformat
=elf
;;
15094 version_type
=freebsd-
$objformat
15095 case $version_type in
15097 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15102 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15106 shlibpath_var
=LD_LIBRARY_PATH
15109 shlibpath_overrides_runpath
=yes
15111 freebsd3.
[01]* | freebsdelf3.
[01]*)
15112 shlibpath_overrides_runpath
=yes
15113 hardcode_into_libs
=yes
15115 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15116 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15117 shlibpath_overrides_runpath
=no
15118 hardcode_into_libs
=yes
15120 *) # from 4.6 on, and DragonFly
15121 shlibpath_overrides_runpath
=yes
15122 hardcode_into_libs
=yes
15131 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15132 soname_spec
='${libname}${release}${shared_ext}$major'
15133 shlibpath_var
=LD_LIBRARY_PATH
15134 hardcode_into_libs
=yes
15141 dynamic_linker
="$host_os runtime_loader"
15142 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15143 soname_spec
='${libname}${release}${shared_ext}$major'
15144 shlibpath_var
=LIBRARY_PATH
15145 shlibpath_overrides_runpath
=yes
15146 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15147 hardcode_into_libs
=yes
15150 hpux9
* | hpux10
* | hpux11
*)
15151 # Give a soname corresponding to the major version so that dld.sl refuses to
15152 # link against other versions.
15159 hardcode_into_libs
=yes
15160 dynamic_linker
="$host_os dld.so"
15161 shlibpath_var
=LD_LIBRARY_PATH
15162 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15163 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15164 soname_spec
='${libname}${release}${shared_ext}$major'
15165 if test "X$HPUX_IA64_MODE" = X32
; then
15166 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15168 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15170 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15174 hardcode_into_libs
=yes
15175 dynamic_linker
="$host_os dld.sl"
15176 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15177 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15178 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15179 soname_spec
='${libname}${release}${shared_ext}$major'
15180 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15181 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15185 dynamic_linker
="$host_os dld.sl"
15186 shlibpath_var
=SHLIB_PATH
15187 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15188 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15189 soname_spec
='${libname}${release}${shared_ext}$major'
15192 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15193 postinstall_cmds
='chmod 555 $lib'
15194 # or fails outright, so override atomically:
15195 install_override_mode
=555
15202 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15203 soname_spec
='${libname}${release}${shared_ext}$major'
15204 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15205 shlibpath_var
=LD_LIBRARY_PATH
15206 shlibpath_overrides_runpath
=no
15207 hardcode_into_libs
=yes
15210 irix5
* | irix6
* | nonstopux
*)
15212 nonstopux
*) version_type
=nonstopux
;;
15214 if test "$lt_cv_prog_gnu_ld" = yes; then
15222 soname_spec
='${libname}${release}${shared_ext}$major'
15223 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15225 irix5
* | nonstopux
*)
15226 libsuff
= shlibsuff
=
15229 case $LD in # libtool.m4 will add one of these switches to LD
15230 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15231 libsuff
= shlibsuff
= libmagic
=32-bit;;
15232 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15233 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15234 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15235 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15236 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15240 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15241 shlibpath_overrides_runpath
=no
15242 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15243 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15244 hardcode_into_libs
=yes
15247 # No shared lib support for Linux oldld, aout, or coff.
15248 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15252 # This must be Linux ELF.
15253 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15257 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15258 soname_spec
='${libname}${release}${shared_ext}$major'
15259 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15260 shlibpath_var
=LD_LIBRARY_PATH
15261 shlibpath_overrides_runpath
=no
15263 # Some binutils ld are patched to set DT_RUNPATH
15264 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15265 $as_echo_n "(cached) " >&6
15267 lt_cv_shlibpath_overrides_runpath
=no
15268 save_LDFLAGS
=$LDFLAGS
15269 save_libdir
=$libdir
15270 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15271 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15272 if test x
$gcc_no_link = xyes
; then
15273 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15275 cat > conftest.
$ac_ext <<_ACEOF
15280 if ac_fn_fc_try_link
"$LINENO"; then :
15281 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15282 lt_cv_shlibpath_overrides_runpath
=yes
15285 rm -f core conftest.err conftest.
$ac_objext \
15286 conftest
$ac_exeext conftest.
$ac_ext
15287 LDFLAGS
=$save_LDFLAGS
15288 libdir
=$save_libdir
15292 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15294 # This implies no fast_install, which is unacceptable.
15295 # Some rework will be needed to allow for fast_install
15296 # before this can be enabled.
15297 hardcode_into_libs
=yes
15299 # Append ld.so.conf contents to the search path
15300 if test -f /etc
/ld.so.conf
; then
15301 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' ' '`
15302 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15305 # We used to test for /lib/ld.so.1 and disable shared libraries on
15306 # powerpc, because MkLinux only supported shared libraries with the
15307 # GNU dynamic linker. Since this was broken with cross compilers,
15308 # most powerpc-linux boxes support dynamic linking these days and
15309 # people can always --disable-shared, the test was removed, and we
15310 # assume the GNU/Linux dynamic linker is in use.
15311 dynamic_linker
='GNU/Linux ld.so'
15318 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15319 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15320 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15321 dynamic_linker
='NetBSD (a.out) ld.so'
15323 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15324 soname_spec
='${libname}${release}${shared_ext}$major'
15325 dynamic_linker
='NetBSD ld.elf_so'
15327 shlibpath_var
=LD_LIBRARY_PATH
15328 shlibpath_overrides_runpath
=yes
15329 hardcode_into_libs
=yes
15334 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15335 shlibpath_var
=LD_LIBRARY_PATH
15336 shlibpath_overrides_runpath
=yes
15343 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15344 soname_spec
='${libname}${release}${shared_ext}$major'
15345 shlibpath_var
=LD_LIBRARY_PATH
15346 shlibpath_overrides_runpath
=no
15347 hardcode_into_libs
=yes
15348 dynamic_linker
='ldqnx.so'
15353 sys_lib_dlsearch_path_spec
="/usr/lib"
15355 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15357 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15358 *) need_version
=no
;;
15360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15361 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15362 shlibpath_var
=LD_LIBRARY_PATH
15363 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15365 openbsd2.
[89] | openbsd2.
[89].
*)
15366 shlibpath_overrides_runpath
=no
15369 shlibpath_overrides_runpath
=yes
15373 shlibpath_overrides_runpath
=yes
15378 libname_spec
='$name'
15381 library_names_spec
='$libname${shared_ext} $libname.a'
15382 dynamic_linker
='OS/2 ld.exe'
15383 shlibpath_var
=LIBPATH
15386 osf3
* | osf4
* | osf5
*)
15390 soname_spec
='${libname}${release}${shared_ext}$major'
15391 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15392 shlibpath_var
=LD_LIBRARY_PATH
15393 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15394 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15405 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15406 soname_spec
='${libname}${release}${shared_ext}$major'
15407 shlibpath_var
=LD_LIBRARY_PATH
15408 shlibpath_overrides_runpath
=yes
15409 hardcode_into_libs
=yes
15410 # ldd complains unless libraries are executable
15411 postinstall_cmds
='chmod +x $lib'
15416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15417 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15418 shlibpath_var
=LD_LIBRARY_PATH
15419 shlibpath_overrides_runpath
=yes
15420 if test "$with_gnu_ld" = yes; then
15428 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15429 soname_spec
='${libname}${release}${shared_ext}$major'
15430 shlibpath_var
=LD_LIBRARY_PATH
15431 case $host_vendor in
15433 shlibpath_overrides_runpath
=no
15435 runpath_var
=LD_RUN_PATH
15443 shlibpath_overrides_runpath
=no
15444 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15450 if test -d /usr
/nec
;then
15452 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15453 soname_spec
='$libname${shared_ext}.$major'
15454 shlibpath_var
=LD_LIBRARY_PATH
15458 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15459 version_type
=freebsd-elf
15462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15463 soname_spec
='${libname}${release}${shared_ext}$major'
15464 shlibpath_var
=LD_LIBRARY_PATH
15465 shlibpath_overrides_runpath
=yes
15466 hardcode_into_libs
=yes
15467 if test "$with_gnu_ld" = yes; then
15468 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15470 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15473 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15477 sys_lib_dlsearch_path_spec
='/usr/lib'
15481 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15485 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15486 shlibpath_var
=LD_LIBRARY_PATH
15487 shlibpath_overrides_runpath
=no
15488 hardcode_into_libs
=yes
15493 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15494 soname_spec
='${libname}${release}${shared_ext}$major'
15495 shlibpath_var
=LD_LIBRARY_PATH
15502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15503 $as_echo "$dynamic_linker" >&6; }
15504 test "$dynamic_linker" = no
&& can_build_shared
=no
15506 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15507 if test "$GCC" = yes; then
15508 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15511 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15512 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15514 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15515 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15556 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15557 hardcode_action_FC
=
15558 if test -n "$hardcode_libdir_flag_spec_FC" ||
15559 test -n "$runpath_var_FC" ||
15560 test "X$hardcode_automatic_FC" = "Xyes" ; then
15562 # We can hardcode non-existent directories.
15563 if test "$hardcode_direct_FC" != no
&&
15564 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15565 # have to relink, otherwise we might link with an installed library
15566 # when we should be linking with a yet-to-be-installed one
15567 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15568 test "$hardcode_minus_L_FC" != no
; then
15569 # Linking always hardcodes the temporary library directory.
15570 hardcode_action_FC
=relink
15572 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15573 hardcode_action_FC
=immediate
15576 # We cannot hardcode anything, or else we can only hardcode existing
15578 hardcode_action_FC
=unsupported
15580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15581 $as_echo "$hardcode_action_FC" >&6; }
15583 if test "$hardcode_action_FC" = relink ||
15584 test "$inherit_rpath_FC" = yes; then
15585 # Fast installation is not supported
15586 enable_fast_install
=no
15587 elif test "$shlibpath_overrides_runpath" = yes ||
15588 test "$enable_shared" = no
; then
15589 # Fast installation is not necessary
15590 enable_fast_install
=needless
15599 fi # test -n "$compiler"
15603 fi # test "$_lt_disable_FC" != yes
15606 ac_cpp
='$CPP $CPPFLAGS'
15607 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15608 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15609 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15613 # extra LD Flags which are required for targets
15616 # Darwin needs -single_module when linking libgfortran
15617 extra_ldflags_libgfortran
=-Wl,-single_module
15622 # We need a working compiler at that point, otherwise give a clear
15623 # error message and bail out.
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15626 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15627 ac_ext
=${ac_fc_srcext-f}
15628 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15629 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15630 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
15632 cat > conftest.
$ac_ext <<_ACEOF
15635 real, parameter :: bar = sin (12.34 / 2.5)
15638 if ac_fn_fc_try_compile
"$LINENO"; then :
15639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15640 $as_echo "yes" >&6; }
15642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15643 $as_echo "no" >&6; }
15644 as_fn_error
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15647 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15649 ac_cpp
='$CPP $CPPFLAGS'
15650 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15651 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15652 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15656 # Check whether --enable-largefile was given.
15657 if test "${enable_largefile+set}" = set; then :
15658 enableval
=$enable_largefile;
15661 if test "$enable_largefile" != no
; then
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15664 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15665 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15666 $as_echo_n "(cached) " >&6
15668 ac_cv_sys_largefile_CC
=no
15669 if test "$GCC" != yes; then
15672 # IRIX 6.2 and later do not support large files by default,
15673 # so use the C compiler's -n32 option if that helps.
15674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15675 /* end confdefs.h. */
15676 #include <sys/types.h>
15677 /* Check that off_t can represent 2**63 - 1 correctly.
15678 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15679 since some C++ compilers masquerading as C compilers
15680 incorrectly reject 9223372036854775807. */
15681 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15682 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15683 && LARGE_OFF_T % 2147483647 == 1)
15693 if ac_fn_c_try_compile
"$LINENO"; then :
15696 rm -f core conftest.err conftest.
$ac_objext
15698 if ac_fn_c_try_compile
"$LINENO"; then :
15699 ac_cv_sys_largefile_CC
=' -n32'; break
15701 rm -f core conftest.err conftest.
$ac_objext
15705 rm -f conftest.
$ac_ext
15708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15709 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15710 if test "$ac_cv_sys_largefile_CC" != no
; then
15711 CC
=$CC$ac_cv_sys_largefile_CC
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15715 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15716 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15717 $as_echo_n "(cached) " >&6
15720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15721 /* end confdefs.h. */
15722 #include <sys/types.h>
15723 /* Check that off_t can represent 2**63 - 1 correctly.
15724 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15725 since some C++ compilers masquerading as C compilers
15726 incorrectly reject 9223372036854775807. */
15727 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15728 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15729 && LARGE_OFF_T % 2147483647 == 1)
15739 if ac_fn_c_try_compile
"$LINENO"; then :
15740 ac_cv_sys_file_offset_bits
=no
; break
15742 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15744 /* end confdefs.h. */
15745 #define _FILE_OFFSET_BITS 64
15746 #include <sys/types.h>
15747 /* Check that off_t can represent 2**63 - 1 correctly.
15748 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15749 since some C++ compilers masquerading as C compilers
15750 incorrectly reject 9223372036854775807. */
15751 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15752 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15753 && LARGE_OFF_T % 2147483647 == 1)
15763 if ac_fn_c_try_compile
"$LINENO"; then :
15764 ac_cv_sys_file_offset_bits
=64; break
15766 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15767 ac_cv_sys_file_offset_bits
=unknown
15771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15772 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15773 case $ac_cv_sys_file_offset_bits in #(
15776 cat >>confdefs.h
<<_ACEOF
15777 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15782 if test $ac_cv_sys_file_offset_bits = unknown
; then
15783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15784 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15785 if test "${ac_cv_sys_large_files+set}" = set; then :
15786 $as_echo_n "(cached) " >&6
15789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15790 /* end confdefs.h. */
15791 #include <sys/types.h>
15792 /* Check that off_t can represent 2**63 - 1 correctly.
15793 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15794 since some C++ compilers masquerading as C compilers
15795 incorrectly reject 9223372036854775807. */
15796 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15797 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15798 && LARGE_OFF_T % 2147483647 == 1)
15808 if ac_fn_c_try_compile
"$LINENO"; then :
15809 ac_cv_sys_large_files
=no
; break
15811 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15813 /* end confdefs.h. */
15814 #define _LARGE_FILES 1
15815 #include <sys/types.h>
15816 /* Check that off_t can represent 2**63 - 1 correctly.
15817 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15818 since some C++ compilers masquerading as C compilers
15819 incorrectly reject 9223372036854775807. */
15820 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15821 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15822 && LARGE_OFF_T % 2147483647 == 1)
15832 if ac_fn_c_try_compile
"$LINENO"; then :
15833 ac_cv_sys_large_files
=1; break
15835 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15836 ac_cv_sys_large_files
=unknown
15840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15841 $as_echo "$ac_cv_sys_large_files" >&6; }
15842 case $ac_cv_sys_large_files in #(
15845 cat >>confdefs.h
<<_ACEOF
15846 #define _LARGE_FILES $ac_cv_sys_large_files
15856 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15857 if test "x$ac_cv_type_off_t" = x
""yes; then :
15861 cat >>confdefs.h
<<_ACEOF
15862 #define off_t long int
15868 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15869 if test "x$ac_cv_type_intptr_t" = x
""yes; then :
15871 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
15874 for ac_type
in 'int' 'long int' 'long long int'; do
15875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15876 /* end confdefs.h. */
15877 $ac_includes_default
15881 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15888 if ac_fn_c_try_compile
"$LINENO"; then :
15890 cat >>confdefs.h
<<_ACEOF
15891 #define intptr_t $ac_type
15896 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15897 test -z "$ac_type" && break
15903 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15904 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15906 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
15909 for ac_type
in 'unsigned int' 'unsigned long int' \
15910 'unsigned long long int'; do
15911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15912 /* end confdefs.h. */
15913 $ac_includes_default
15917 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15924 if ac_fn_c_try_compile
"$LINENO"; then :
15926 cat >>confdefs.h
<<_ACEOF
15927 #define uintptr_t $ac_type
15932 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15933 test -z "$ac_type" && break
15938 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
15939 if test "x$ac_cv_type_ptrdiff_t" = x
""yes; then :
15941 cat >>confdefs.h
<<_ACEOF
15942 #define HAVE_PTRDIFF_T 1
15949 # check header files (we assume C89 is available, so don't check for that)
15953 for ac_header
in $ac_header_list
15955 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15956 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
15958 eval as_val
=\$
$as_ac_Header
15959 if test "x$as_val" = x
""yes; then :
15960 cat >>confdefs.h
<<_ACEOF
15961 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15998 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16000 acx_cv_header_stdint
=stddef.h
16001 acx_cv_header_stdint_kind
="(already complete)"
16002 for i
in stdint.h
$inttype_headers; do
16003 unset ac_cv_type_uintptr_t
16004 unset ac_cv_type_uintmax_t
16005 unset ac_cv_type_int_least32_t
16006 unset ac_cv_type_int_fast32_t
16007 unset ac_cv_type_uint64_t
16008 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16009 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16012 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
16013 acx_cv_header_stdint
=$i
16018 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16021 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16024 acx_cv_header_stdint_kind
="(mostly complete)"
16027 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16030 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
16033 acx_cv_header_stdint_kind
="(mostly complete)"
16036 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16039 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
16042 acx_cv_header_stdint_kind
="(mostly complete)"
16045 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16048 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16051 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16056 if test "$acx_cv_header_stdint" = stddef.h
; then
16057 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16058 for i
in stdint.h
$inttype_headers; do
16059 unset ac_cv_type_uintptr_t
16060 unset ac_cv_type_uint32_t
16061 unset ac_cv_type_uint64_t
16062 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16063 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16066 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
16067 acx_cv_header_stdint
=$i
16072 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16075 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16079 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16082 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16089 if test "$acx_cv_header_stdint" = stddef.h
; then
16090 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16091 for i
in sys
/types.h
$inttype_headers; do
16092 unset ac_cv_type_u_int32_t
16093 unset ac_cv_type_u_int64_t
16094 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16095 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16098 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
16099 acx_cv_header_stdint
=$i
16104 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16107 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
16114 if test "$acx_cv_header_stdint" = stddef.h
; then
16115 acx_cv_header_stdint_kind
="(using manual detection)"
16118 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16119 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16120 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16121 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16122 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16124 # ----------------- Summarize what we found so far
16126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16127 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16129 case `$as_basename -- gstdint.h ||
16130 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16131 Xgstdint.h : 'X\(//\)$' \| \
16132 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16133 $as_echo X/gstdint.h |
16134 sed '/^.*\/\([^/][^/]*\)\/*$/{
16147 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16148 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16149 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16150 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16155 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16157 # ----------------- done included file, check C basic types --------
16159 # Lacking an uintptr_t? Test size of void *
16160 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16161 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16162 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16163 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16164 # This bug is HP SR number 8606223364.
16165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16166 $as_echo_n "checking size of void *... " >&6; }
16167 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16168 $as_echo_n "(cached) " >&6
16170 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16173 if test "$ac_cv_type_void_p" = yes; then
16174 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16175 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16176 { as_fn_set_status
77
16177 as_fn_error
"cannot compute sizeof (void *)
16178 See \`config.log' for more details." "$LINENO" 5; }; }
16180 ac_cv_sizeof_void_p
=0
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16186 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16190 cat >>confdefs.h
<<_ACEOF
16191 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16197 # Lacking an uint64_t? Test size of long
16198 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16199 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16200 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16201 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16202 # This bug is HP SR number 8606223364.
16203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16204 $as_echo_n "checking size of long... " >&6; }
16205 if test "${ac_cv_sizeof_long+set}" = set; then :
16206 $as_echo_n "(cached) " >&6
16208 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16211 if test "$ac_cv_type_long" = yes; then
16212 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16214 { as_fn_set_status
77
16215 as_fn_error
"cannot compute sizeof (long)
16216 See \`config.log' for more details." "$LINENO" 5; }; }
16218 ac_cv_sizeof_long
=0
16223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16224 $as_echo "$ac_cv_sizeof_long" >&6; }
16228 cat >>confdefs.h
<<_ACEOF
16229 #define SIZEOF_LONG $ac_cv_sizeof_long
16235 if test $acx_cv_header_stdint = stddef.h
; then
16236 # Lacking a good header? Test size of everything and deduce all types.
16237 # The cast to long int works around a bug in the HP C Compiler
16238 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16239 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16240 # This bug is HP SR number 8606223364.
16241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16242 $as_echo_n "checking size of int... " >&6; }
16243 if test "${ac_cv_sizeof_int+set}" = set; then :
16244 $as_echo_n "(cached) " >&6
16246 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16249 if test "$ac_cv_type_int" = yes; then
16250 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16251 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16252 { as_fn_set_status
77
16253 as_fn_error
"cannot compute sizeof (int)
16254 See \`config.log' for more details." "$LINENO" 5; }; }
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16262 $as_echo "$ac_cv_sizeof_int" >&6; }
16266 cat >>confdefs.h
<<_ACEOF
16267 #define SIZEOF_INT $ac_cv_sizeof_int
16271 # The cast to long int works around a bug in the HP C Compiler
16272 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16273 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16274 # This bug is HP SR number 8606223364.
16275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16276 $as_echo_n "checking size of short... " >&6; }
16277 if test "${ac_cv_sizeof_short+set}" = set; then :
16278 $as_echo_n "(cached) " >&6
16280 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16283 if test "$ac_cv_type_short" = yes; then
16284 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16286 { as_fn_set_status
77
16287 as_fn_error
"cannot compute sizeof (short)
16288 See \`config.log' for more details." "$LINENO" 5; }; }
16290 ac_cv_sizeof_short
=0
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16296 $as_echo "$ac_cv_sizeof_short" >&6; }
16300 cat >>confdefs.h
<<_ACEOF
16301 #define SIZEOF_SHORT $ac_cv_sizeof_short
16305 # The cast to long int works around a bug in the HP C Compiler
16306 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16307 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16308 # This bug is HP SR number 8606223364.
16309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16310 $as_echo_n "checking size of char... " >&6; }
16311 if test "${ac_cv_sizeof_char+set}" = set; then :
16312 $as_echo_n "(cached) " >&6
16314 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16317 if test "$ac_cv_type_char" = yes; then
16318 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16320 { as_fn_set_status
77
16321 as_fn_error
"cannot compute sizeof (char)
16322 See \`config.log' for more details." "$LINENO" 5; }; }
16324 ac_cv_sizeof_char
=0
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16330 $as_echo "$ac_cv_sizeof_char" >&6; }
16334 cat >>confdefs.h
<<_ACEOF
16335 #define SIZEOF_CHAR $ac_cv_sizeof_char
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16341 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16342 case "$ac_cv_sizeof_char" in
16343 1) acx_cv_type_int8_t
=char
;;
16344 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
16346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16347 $as_echo "$acx_cv_type_int8_t" >&6; }
16349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16350 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16351 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16352 2:*) acx_cv_type_int16_t
=int
;;
16353 *:2) acx_cv_type_int16_t
=short
;;
16354 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
16356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16357 $as_echo "$acx_cv_type_int16_t" >&6; }
16359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16360 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16361 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16362 4:*) acx_cv_type_int32_t
=int
;;
16363 *:4) acx_cv_type_int32_t
=long
;;
16364 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16367 $as_echo "$acx_cv_type_int32_t" >&6; }
16370 # These tests are here to make the output prettier
16372 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16373 case "$ac_cv_sizeof_long" in
16374 8) acx_cv_type_int64_t
=long
;;
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16377 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16379 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16382 # Now we can use the above types
16384 if test "$ac_cv_type_uintptr_t" != yes; then
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16386 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16387 case $ac_cv_sizeof_void_p in
16388 2) acx_cv_type_intptr_t
=int16_t
;;
16389 4) acx_cv_type_intptr_t
=int32_t
;;
16390 8) acx_cv_type_intptr_t
=int64_t
;;
16391 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16394 $as_echo "$acx_cv_type_intptr_t" >&6; }
16397 # ----------------- done all checks, emit header -------------
16398 ac_config_commands
="$ac_config_commands gstdint.h"
16403 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16404 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
16406 cat >>confdefs.h
<<_ACEOF
16407 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16412 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16413 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
16415 cat >>confdefs.h
<<_ACEOF
16416 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16421 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16422 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
16424 cat >>confdefs.h
<<_ACEOF
16425 #define HAVE_STRUCT_STAT_ST_RDEV 1
16432 # Check for library functions.
16436 for ac_func
in $ac_func_list
16438 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16439 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16440 eval as_val
=\$
$as_ac_var
16441 if test "x$as_val" = x
""yes; then :
16442 cat >>confdefs.h
<<_ACEOF
16443 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16551 # Check strerror_r, cannot be above as versions with two and three arguments exist
16553 ac_save_CFLAGS
="$CFLAGS"
16554 CFLAGS
="-Wimplicit-function-declaration -Werror"
16555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16556 /* end confdefs.h. */
16557 #define _GNU_SOURCE 1
16558 #include <string.h>
16559 #include <locale.h>
16563 char s[128]; strerror_r(5, s, 128);
16568 if ac_fn_c_try_compile
"$LINENO"; then :
16570 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16573 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16574 CFLAGS
="$ac_save_CFLAGS"
16576 ac_save_CFLAGS
="$CFLAGS"
16577 CFLAGS
="-Wimplicit-function-declaration -Werror"
16578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16579 /* end confdefs.h. */
16580 #define _GNU_SOURCE 1
16581 #include <string.h>
16582 #include <locale.h>
16586 char s[128]; strerror_r(5, s);
16591 if ac_fn_c_try_compile
"$LINENO"; then :
16593 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
16596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16597 CFLAGS
="$ac_save_CFLAGS"
16600 # Check for C99 (and other IEEE) math functions
16601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16602 $as_echo_n "checking for sin in -lm... " >&6; }
16603 if test "${ac_cv_lib_m_sin+set}" = set; then :
16604 $as_echo_n "(cached) " >&6
16606 ac_check_lib_save_LIBS
=$LIBS
16608 if test x
$gcc_no_link = xyes
; then
16609 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16612 /* end confdefs.h. */
16614 /* Override any GCC internal prototype to avoid an error.
16615 Use char because int might match the return type of a GCC
16616 builtin and then its argument prototype would still apply. */
16629 if ac_fn_c_try_link
"$LINENO"; then :
16630 ac_cv_lib_m_sin
=yes
16634 rm -f core conftest.err conftest.
$ac_objext \
16635 conftest
$ac_exeext conftest.
$ac_ext
16636 LIBS
=$ac_check_lib_save_LIBS
16638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16639 $as_echo "$ac_cv_lib_m_sin" >&6; }
16640 if test "x$ac_cv_lib_m_sin" = x
""yes; then :
16641 cat >>confdefs.h
<<_ACEOF
16642 #define HAVE_LIBM 1
16655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
16656 $as_echo_n "checking for acosf... " >&6; }
16657 if test "${gcc_cv_math_func_acosf+set}" = set; then :
16658 $as_echo_n "(cached) " >&6
16660 if test x
$gcc_no_link = xyes
; then
16661 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16664 /* end confdefs.h. */
16666 #ifdef HAVE_COMPLEX_H
16667 #include <complex.h>
16673 int (*ptr)() = (int (*)())acosf;
16682 if ac_fn_c_try_link
"$LINENO"; then :
16683 gcc_cv_math_func_acosf
=yes
16685 gcc_cv_math_func_acosf
=no
16687 rm -f core conftest.err conftest.
$ac_objext \
16688 conftest
$ac_exeext conftest.
$ac_ext
16690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
16691 $as_echo "$gcc_cv_math_func_acosf" >&6; }
16692 if test $gcc_cv_math_func_acosf = yes; then
16694 cat >>confdefs.h
<<_ACEOF
16695 #define HAVE_ACOSF 1
16703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
16704 $as_echo_n "checking for acos... " >&6; }
16705 if test "${gcc_cv_math_func_acos+set}" = set; then :
16706 $as_echo_n "(cached) " >&6
16708 if test x
$gcc_no_link = xyes
; then
16709 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16712 /* end confdefs.h. */
16714 #ifdef HAVE_COMPLEX_H
16715 #include <complex.h>
16721 int (*ptr)() = (int (*)())acos;
16730 if ac_fn_c_try_link
"$LINENO"; then :
16731 gcc_cv_math_func_acos
=yes
16733 gcc_cv_math_func_acos
=no
16735 rm -f core conftest.err conftest.
$ac_objext \
16736 conftest
$ac_exeext conftest.
$ac_ext
16738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
16739 $as_echo "$gcc_cv_math_func_acos" >&6; }
16740 if test $gcc_cv_math_func_acos = yes; then
16742 cat >>confdefs.h
<<_ACEOF
16743 #define HAVE_ACOS 1
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
16752 $as_echo_n "checking for acosl... " >&6; }
16753 if test "${gcc_cv_math_func_acosl+set}" = set; then :
16754 $as_echo_n "(cached) " >&6
16756 if test x
$gcc_no_link = xyes
; then
16757 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16760 /* end confdefs.h. */
16762 #ifdef HAVE_COMPLEX_H
16763 #include <complex.h>
16769 int (*ptr)() = (int (*)())acosl;
16778 if ac_fn_c_try_link
"$LINENO"; then :
16779 gcc_cv_math_func_acosl
=yes
16781 gcc_cv_math_func_acosl
=no
16783 rm -f core conftest.err conftest.
$ac_objext \
16784 conftest
$ac_exeext conftest.
$ac_ext
16786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
16787 $as_echo "$gcc_cv_math_func_acosl" >&6; }
16788 if test $gcc_cv_math_func_acosl = yes; then
16790 cat >>confdefs.h
<<_ACEOF
16791 #define HAVE_ACOSL 1
16799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
16800 $as_echo_n "checking for acoshf... " >&6; }
16801 if test "${gcc_cv_math_func_acoshf+set}" = set; then :
16802 $as_echo_n "(cached) " >&6
16804 if test x
$gcc_no_link = xyes
; then
16805 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16808 /* end confdefs.h. */
16810 #ifdef HAVE_COMPLEX_H
16811 #include <complex.h>
16817 int (*ptr)() = (int (*)())acoshf;
16826 if ac_fn_c_try_link
"$LINENO"; then :
16827 gcc_cv_math_func_acoshf
=yes
16829 gcc_cv_math_func_acoshf
=no
16831 rm -f core conftest.err conftest.
$ac_objext \
16832 conftest
$ac_exeext conftest.
$ac_ext
16834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
16835 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
16836 if test $gcc_cv_math_func_acoshf = yes; then
16838 cat >>confdefs.h
<<_ACEOF
16839 #define HAVE_ACOSHF 1
16847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
16848 $as_echo_n "checking for acosh... " >&6; }
16849 if test "${gcc_cv_math_func_acosh+set}" = set; then :
16850 $as_echo_n "(cached) " >&6
16852 if test x
$gcc_no_link = xyes
; then
16853 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16856 /* end confdefs.h. */
16858 #ifdef HAVE_COMPLEX_H
16859 #include <complex.h>
16865 int (*ptr)() = (int (*)())acosh;
16874 if ac_fn_c_try_link
"$LINENO"; then :
16875 gcc_cv_math_func_acosh
=yes
16877 gcc_cv_math_func_acosh
=no
16879 rm -f core conftest.err conftest.
$ac_objext \
16880 conftest
$ac_exeext conftest.
$ac_ext
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
16883 $as_echo "$gcc_cv_math_func_acosh" >&6; }
16884 if test $gcc_cv_math_func_acosh = yes; then
16886 cat >>confdefs.h
<<_ACEOF
16887 #define HAVE_ACOSH 1
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
16896 $as_echo_n "checking for acoshl... " >&6; }
16897 if test "${gcc_cv_math_func_acoshl+set}" = set; then :
16898 $as_echo_n "(cached) " >&6
16900 if test x
$gcc_no_link = xyes
; then
16901 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16904 /* end confdefs.h. */
16906 #ifdef HAVE_COMPLEX_H
16907 #include <complex.h>
16913 int (*ptr)() = (int (*)())acoshl;
16922 if ac_fn_c_try_link
"$LINENO"; then :
16923 gcc_cv_math_func_acoshl
=yes
16925 gcc_cv_math_func_acoshl
=no
16927 rm -f core conftest.err conftest.
$ac_objext \
16928 conftest
$ac_exeext conftest.
$ac_ext
16930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
16931 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
16932 if test $gcc_cv_math_func_acoshl = yes; then
16934 cat >>confdefs.h
<<_ACEOF
16935 #define HAVE_ACOSHL 1
16943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
16944 $as_echo_n "checking for asinf... " >&6; }
16945 if test "${gcc_cv_math_func_asinf+set}" = set; then :
16946 $as_echo_n "(cached) " >&6
16948 if test x
$gcc_no_link = xyes
; then
16949 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16952 /* end confdefs.h. */
16954 #ifdef HAVE_COMPLEX_H
16955 #include <complex.h>
16961 int (*ptr)() = (int (*)())asinf;
16970 if ac_fn_c_try_link
"$LINENO"; then :
16971 gcc_cv_math_func_asinf
=yes
16973 gcc_cv_math_func_asinf
=no
16975 rm -f core conftest.err conftest.
$ac_objext \
16976 conftest
$ac_exeext conftest.
$ac_ext
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
16979 $as_echo "$gcc_cv_math_func_asinf" >&6; }
16980 if test $gcc_cv_math_func_asinf = yes; then
16982 cat >>confdefs.h
<<_ACEOF
16983 #define HAVE_ASINF 1
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
16992 $as_echo_n "checking for asin... " >&6; }
16993 if test "${gcc_cv_math_func_asin+set}" = set; then :
16994 $as_echo_n "(cached) " >&6
16996 if test x
$gcc_no_link = xyes
; then
16997 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17000 /* end confdefs.h. */
17002 #ifdef HAVE_COMPLEX_H
17003 #include <complex.h>
17009 int (*ptr)() = (int (*)())asin;
17018 if ac_fn_c_try_link
"$LINENO"; then :
17019 gcc_cv_math_func_asin
=yes
17021 gcc_cv_math_func_asin
=no
17023 rm -f core conftest.err conftest.
$ac_objext \
17024 conftest
$ac_exeext conftest.
$ac_ext
17026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17027 $as_echo "$gcc_cv_math_func_asin" >&6; }
17028 if test $gcc_cv_math_func_asin = yes; then
17030 cat >>confdefs.h
<<_ACEOF
17031 #define HAVE_ASIN 1
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17040 $as_echo_n "checking for asinl... " >&6; }
17041 if test "${gcc_cv_math_func_asinl+set}" = set; then :
17042 $as_echo_n "(cached) " >&6
17044 if test x
$gcc_no_link = xyes
; then
17045 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17048 /* end confdefs.h. */
17050 #ifdef HAVE_COMPLEX_H
17051 #include <complex.h>
17057 int (*ptr)() = (int (*)())asinl;
17066 if ac_fn_c_try_link
"$LINENO"; then :
17067 gcc_cv_math_func_asinl
=yes
17069 gcc_cv_math_func_asinl
=no
17071 rm -f core conftest.err conftest.
$ac_objext \
17072 conftest
$ac_exeext conftest.
$ac_ext
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17075 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17076 if test $gcc_cv_math_func_asinl = yes; then
17078 cat >>confdefs.h
<<_ACEOF
17079 #define HAVE_ASINL 1
17087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17088 $as_echo_n "checking for asinhf... " >&6; }
17089 if test "${gcc_cv_math_func_asinhf+set}" = set; then :
17090 $as_echo_n "(cached) " >&6
17092 if test x
$gcc_no_link = xyes
; then
17093 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17096 /* end confdefs.h. */
17098 #ifdef HAVE_COMPLEX_H
17099 #include <complex.h>
17105 int (*ptr)() = (int (*)())asinhf;
17114 if ac_fn_c_try_link
"$LINENO"; then :
17115 gcc_cv_math_func_asinhf
=yes
17117 gcc_cv_math_func_asinhf
=no
17119 rm -f core conftest.err conftest.
$ac_objext \
17120 conftest
$ac_exeext conftest.
$ac_ext
17122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17123 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17124 if test $gcc_cv_math_func_asinhf = yes; then
17126 cat >>confdefs.h
<<_ACEOF
17127 #define HAVE_ASINHF 1
17135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17136 $as_echo_n "checking for asinh... " >&6; }
17137 if test "${gcc_cv_math_func_asinh+set}" = set; then :
17138 $as_echo_n "(cached) " >&6
17140 if test x
$gcc_no_link = xyes
; then
17141 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17144 /* end confdefs.h. */
17146 #ifdef HAVE_COMPLEX_H
17147 #include <complex.h>
17153 int (*ptr)() = (int (*)())asinh;
17162 if ac_fn_c_try_link
"$LINENO"; then :
17163 gcc_cv_math_func_asinh
=yes
17165 gcc_cv_math_func_asinh
=no
17167 rm -f core conftest.err conftest.
$ac_objext \
17168 conftest
$ac_exeext conftest.
$ac_ext
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17171 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17172 if test $gcc_cv_math_func_asinh = yes; then
17174 cat >>confdefs.h
<<_ACEOF
17175 #define HAVE_ASINH 1
17183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17184 $as_echo_n "checking for asinhl... " >&6; }
17185 if test "${gcc_cv_math_func_asinhl+set}" = set; then :
17186 $as_echo_n "(cached) " >&6
17188 if test x
$gcc_no_link = xyes
; then
17189 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17192 /* end confdefs.h. */
17194 #ifdef HAVE_COMPLEX_H
17195 #include <complex.h>
17201 int (*ptr)() = (int (*)())asinhl;
17210 if ac_fn_c_try_link
"$LINENO"; then :
17211 gcc_cv_math_func_asinhl
=yes
17213 gcc_cv_math_func_asinhl
=no
17215 rm -f core conftest.err conftest.
$ac_objext \
17216 conftest
$ac_exeext conftest.
$ac_ext
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17219 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17220 if test $gcc_cv_math_func_asinhl = yes; then
17222 cat >>confdefs.h
<<_ACEOF
17223 #define HAVE_ASINHL 1
17231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17232 $as_echo_n "checking for atan2f... " >&6; }
17233 if test "${gcc_cv_math_func_atan2f+set}" = set; then :
17234 $as_echo_n "(cached) " >&6
17236 if test x
$gcc_no_link = xyes
; then
17237 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17240 /* end confdefs.h. */
17242 #ifdef HAVE_COMPLEX_H
17243 #include <complex.h>
17249 int (*ptr)() = (int (*)())atan2f;
17258 if ac_fn_c_try_link
"$LINENO"; then :
17259 gcc_cv_math_func_atan2f
=yes
17261 gcc_cv_math_func_atan2f
=no
17263 rm -f core conftest.err conftest.
$ac_objext \
17264 conftest
$ac_exeext conftest.
$ac_ext
17266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17267 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17268 if test $gcc_cv_math_func_atan2f = yes; then
17270 cat >>confdefs.h
<<_ACEOF
17271 #define HAVE_ATAN2F 1
17279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17280 $as_echo_n "checking for atan2... " >&6; }
17281 if test "${gcc_cv_math_func_atan2+set}" = set; then :
17282 $as_echo_n "(cached) " >&6
17284 if test x
$gcc_no_link = xyes
; then
17285 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17288 /* end confdefs.h. */
17290 #ifdef HAVE_COMPLEX_H
17291 #include <complex.h>
17297 int (*ptr)() = (int (*)())atan2;
17306 if ac_fn_c_try_link
"$LINENO"; then :
17307 gcc_cv_math_func_atan2
=yes
17309 gcc_cv_math_func_atan2
=no
17311 rm -f core conftest.err conftest.
$ac_objext \
17312 conftest
$ac_exeext conftest.
$ac_ext
17314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17315 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17316 if test $gcc_cv_math_func_atan2 = yes; then
17318 cat >>confdefs.h
<<_ACEOF
17319 #define HAVE_ATAN2 1
17327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17328 $as_echo_n "checking for atan2l... " >&6; }
17329 if test "${gcc_cv_math_func_atan2l+set}" = set; then :
17330 $as_echo_n "(cached) " >&6
17332 if test x
$gcc_no_link = xyes
; then
17333 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17336 /* end confdefs.h. */
17338 #ifdef HAVE_COMPLEX_H
17339 #include <complex.h>
17345 int (*ptr)() = (int (*)())atan2l;
17354 if ac_fn_c_try_link
"$LINENO"; then :
17355 gcc_cv_math_func_atan2l
=yes
17357 gcc_cv_math_func_atan2l
=no
17359 rm -f core conftest.err conftest.
$ac_objext \
17360 conftest
$ac_exeext conftest.
$ac_ext
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17363 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17364 if test $gcc_cv_math_func_atan2l = yes; then
17366 cat >>confdefs.h
<<_ACEOF
17367 #define HAVE_ATAN2L 1
17375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17376 $as_echo_n "checking for atanf... " >&6; }
17377 if test "${gcc_cv_math_func_atanf+set}" = set; then :
17378 $as_echo_n "(cached) " >&6
17380 if test x
$gcc_no_link = xyes
; then
17381 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17384 /* end confdefs.h. */
17386 #ifdef HAVE_COMPLEX_H
17387 #include <complex.h>
17393 int (*ptr)() = (int (*)())atanf;
17402 if ac_fn_c_try_link
"$LINENO"; then :
17403 gcc_cv_math_func_atanf
=yes
17405 gcc_cv_math_func_atanf
=no
17407 rm -f core conftest.err conftest.
$ac_objext \
17408 conftest
$ac_exeext conftest.
$ac_ext
17410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17411 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17412 if test $gcc_cv_math_func_atanf = yes; then
17414 cat >>confdefs.h
<<_ACEOF
17415 #define HAVE_ATANF 1
17423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17424 $as_echo_n "checking for atan... " >&6; }
17425 if test "${gcc_cv_math_func_atan+set}" = set; then :
17426 $as_echo_n "(cached) " >&6
17428 if test x
$gcc_no_link = xyes
; then
17429 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17432 /* end confdefs.h. */
17434 #ifdef HAVE_COMPLEX_H
17435 #include <complex.h>
17441 int (*ptr)() = (int (*)())atan;
17450 if ac_fn_c_try_link
"$LINENO"; then :
17451 gcc_cv_math_func_atan
=yes
17453 gcc_cv_math_func_atan
=no
17455 rm -f core conftest.err conftest.
$ac_objext \
17456 conftest
$ac_exeext conftest.
$ac_ext
17458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17459 $as_echo "$gcc_cv_math_func_atan" >&6; }
17460 if test $gcc_cv_math_func_atan = yes; then
17462 cat >>confdefs.h
<<_ACEOF
17463 #define HAVE_ATAN 1
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17472 $as_echo_n "checking for atanl... " >&6; }
17473 if test "${gcc_cv_math_func_atanl+set}" = set; then :
17474 $as_echo_n "(cached) " >&6
17476 if test x
$gcc_no_link = xyes
; then
17477 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17480 /* end confdefs.h. */
17482 #ifdef HAVE_COMPLEX_H
17483 #include <complex.h>
17489 int (*ptr)() = (int (*)())atanl;
17498 if ac_fn_c_try_link
"$LINENO"; then :
17499 gcc_cv_math_func_atanl
=yes
17501 gcc_cv_math_func_atanl
=no
17503 rm -f core conftest.err conftest.
$ac_objext \
17504 conftest
$ac_exeext conftest.
$ac_ext
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17507 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17508 if test $gcc_cv_math_func_atanl = yes; then
17510 cat >>confdefs.h
<<_ACEOF
17511 #define HAVE_ATANL 1
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17520 $as_echo_n "checking for atanhf... " >&6; }
17521 if test "${gcc_cv_math_func_atanhf+set}" = set; then :
17522 $as_echo_n "(cached) " >&6
17524 if test x
$gcc_no_link = xyes
; then
17525 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17528 /* end confdefs.h. */
17530 #ifdef HAVE_COMPLEX_H
17531 #include <complex.h>
17537 int (*ptr)() = (int (*)())atanhf;
17546 if ac_fn_c_try_link
"$LINENO"; then :
17547 gcc_cv_math_func_atanhf
=yes
17549 gcc_cv_math_func_atanhf
=no
17551 rm -f core conftest.err conftest.
$ac_objext \
17552 conftest
$ac_exeext conftest.
$ac_ext
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17555 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
17556 if test $gcc_cv_math_func_atanhf = yes; then
17558 cat >>confdefs.h
<<_ACEOF
17559 #define HAVE_ATANHF 1
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
17568 $as_echo_n "checking for atanh... " >&6; }
17569 if test "${gcc_cv_math_func_atanh+set}" = set; then :
17570 $as_echo_n "(cached) " >&6
17572 if test x
$gcc_no_link = xyes
; then
17573 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17576 /* end confdefs.h. */
17578 #ifdef HAVE_COMPLEX_H
17579 #include <complex.h>
17585 int (*ptr)() = (int (*)())atanh;
17594 if ac_fn_c_try_link
"$LINENO"; then :
17595 gcc_cv_math_func_atanh
=yes
17597 gcc_cv_math_func_atanh
=no
17599 rm -f core conftest.err conftest.
$ac_objext \
17600 conftest
$ac_exeext conftest.
$ac_ext
17602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
17603 $as_echo "$gcc_cv_math_func_atanh" >&6; }
17604 if test $gcc_cv_math_func_atanh = yes; then
17606 cat >>confdefs.h
<<_ACEOF
17607 #define HAVE_ATANH 1
17615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
17616 $as_echo_n "checking for atanhl... " >&6; }
17617 if test "${gcc_cv_math_func_atanhl+set}" = set; then :
17618 $as_echo_n "(cached) " >&6
17620 if test x
$gcc_no_link = xyes
; then
17621 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17624 /* end confdefs.h. */
17626 #ifdef HAVE_COMPLEX_H
17627 #include <complex.h>
17633 int (*ptr)() = (int (*)())atanhl;
17642 if ac_fn_c_try_link
"$LINENO"; then :
17643 gcc_cv_math_func_atanhl
=yes
17645 gcc_cv_math_func_atanhl
=no
17647 rm -f core conftest.err conftest.
$ac_objext \
17648 conftest
$ac_exeext conftest.
$ac_ext
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
17651 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
17652 if test $gcc_cv_math_func_atanhl = yes; then
17654 cat >>confdefs.h
<<_ACEOF
17655 #define HAVE_ATANHL 1
17663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
17664 $as_echo_n "checking for cargf... " >&6; }
17665 if test "${gcc_cv_math_func_cargf+set}" = set; then :
17666 $as_echo_n "(cached) " >&6
17668 if test x
$gcc_no_link = xyes
; then
17669 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17672 /* end confdefs.h. */
17674 #ifdef HAVE_COMPLEX_H
17675 #include <complex.h>
17681 int (*ptr)() = (int (*)())cargf;
17690 if ac_fn_c_try_link
"$LINENO"; then :
17691 gcc_cv_math_func_cargf
=yes
17693 gcc_cv_math_func_cargf
=no
17695 rm -f core conftest.err conftest.
$ac_objext \
17696 conftest
$ac_exeext conftest.
$ac_ext
17698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
17699 $as_echo "$gcc_cv_math_func_cargf" >&6; }
17700 if test $gcc_cv_math_func_cargf = yes; then
17702 cat >>confdefs.h
<<_ACEOF
17703 #define HAVE_CARGF 1
17711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
17712 $as_echo_n "checking for carg... " >&6; }
17713 if test "${gcc_cv_math_func_carg+set}" = set; then :
17714 $as_echo_n "(cached) " >&6
17716 if test x
$gcc_no_link = xyes
; then
17717 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17720 /* end confdefs.h. */
17722 #ifdef HAVE_COMPLEX_H
17723 #include <complex.h>
17729 int (*ptr)() = (int (*)())carg;
17738 if ac_fn_c_try_link
"$LINENO"; then :
17739 gcc_cv_math_func_carg
=yes
17741 gcc_cv_math_func_carg
=no
17743 rm -f core conftest.err conftest.
$ac_objext \
17744 conftest
$ac_exeext conftest.
$ac_ext
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
17747 $as_echo "$gcc_cv_math_func_carg" >&6; }
17748 if test $gcc_cv_math_func_carg = yes; then
17750 cat >>confdefs.h
<<_ACEOF
17751 #define HAVE_CARG 1
17759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
17760 $as_echo_n "checking for cargl... " >&6; }
17761 if test "${gcc_cv_math_func_cargl+set}" = set; then :
17762 $as_echo_n "(cached) " >&6
17764 if test x
$gcc_no_link = xyes
; then
17765 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17768 /* end confdefs.h. */
17770 #ifdef HAVE_COMPLEX_H
17771 #include <complex.h>
17777 int (*ptr)() = (int (*)())cargl;
17786 if ac_fn_c_try_link
"$LINENO"; then :
17787 gcc_cv_math_func_cargl
=yes
17789 gcc_cv_math_func_cargl
=no
17791 rm -f core conftest.err conftest.
$ac_objext \
17792 conftest
$ac_exeext conftest.
$ac_ext
17794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
17795 $as_echo "$gcc_cv_math_func_cargl" >&6; }
17796 if test $gcc_cv_math_func_cargl = yes; then
17798 cat >>confdefs.h
<<_ACEOF
17799 #define HAVE_CARGL 1
17807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
17808 $as_echo_n "checking for ceilf... " >&6; }
17809 if test "${gcc_cv_math_func_ceilf+set}" = set; then :
17810 $as_echo_n "(cached) " >&6
17812 if test x
$gcc_no_link = xyes
; then
17813 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17816 /* end confdefs.h. */
17818 #ifdef HAVE_COMPLEX_H
17819 #include <complex.h>
17825 int (*ptr)() = (int (*)())ceilf;
17834 if ac_fn_c_try_link
"$LINENO"; then :
17835 gcc_cv_math_func_ceilf
=yes
17837 gcc_cv_math_func_ceilf
=no
17839 rm -f core conftest.err conftest.
$ac_objext \
17840 conftest
$ac_exeext conftest.
$ac_ext
17842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
17843 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
17844 if test $gcc_cv_math_func_ceilf = yes; then
17846 cat >>confdefs.h
<<_ACEOF
17847 #define HAVE_CEILF 1
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
17856 $as_echo_n "checking for ceil... " >&6; }
17857 if test "${gcc_cv_math_func_ceil+set}" = set; then :
17858 $as_echo_n "(cached) " >&6
17860 if test x
$gcc_no_link = xyes
; then
17861 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17864 /* end confdefs.h. */
17866 #ifdef HAVE_COMPLEX_H
17867 #include <complex.h>
17873 int (*ptr)() = (int (*)())ceil;
17882 if ac_fn_c_try_link
"$LINENO"; then :
17883 gcc_cv_math_func_ceil
=yes
17885 gcc_cv_math_func_ceil
=no
17887 rm -f core conftest.err conftest.
$ac_objext \
17888 conftest
$ac_exeext conftest.
$ac_ext
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
17891 $as_echo "$gcc_cv_math_func_ceil" >&6; }
17892 if test $gcc_cv_math_func_ceil = yes; then
17894 cat >>confdefs.h
<<_ACEOF
17895 #define HAVE_CEIL 1
17903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
17904 $as_echo_n "checking for ceill... " >&6; }
17905 if test "${gcc_cv_math_func_ceill+set}" = set; then :
17906 $as_echo_n "(cached) " >&6
17908 if test x
$gcc_no_link = xyes
; then
17909 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17912 /* end confdefs.h. */
17914 #ifdef HAVE_COMPLEX_H
17915 #include <complex.h>
17921 int (*ptr)() = (int (*)())ceill;
17930 if ac_fn_c_try_link
"$LINENO"; then :
17931 gcc_cv_math_func_ceill
=yes
17933 gcc_cv_math_func_ceill
=no
17935 rm -f core conftest.err conftest.
$ac_objext \
17936 conftest
$ac_exeext conftest.
$ac_ext
17938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
17939 $as_echo "$gcc_cv_math_func_ceill" >&6; }
17940 if test $gcc_cv_math_func_ceill = yes; then
17942 cat >>confdefs.h
<<_ACEOF
17943 #define HAVE_CEILL 1
17951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
17952 $as_echo_n "checking for copysignf... " >&6; }
17953 if test "${gcc_cv_math_func_copysignf+set}" = set; then :
17954 $as_echo_n "(cached) " >&6
17956 if test x
$gcc_no_link = xyes
; then
17957 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17960 /* end confdefs.h. */
17962 #ifdef HAVE_COMPLEX_H
17963 #include <complex.h>
17969 int (*ptr)() = (int (*)())copysignf;
17978 if ac_fn_c_try_link
"$LINENO"; then :
17979 gcc_cv_math_func_copysignf
=yes
17981 gcc_cv_math_func_copysignf
=no
17983 rm -f core conftest.err conftest.
$ac_objext \
17984 conftest
$ac_exeext conftest.
$ac_ext
17986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
17987 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
17988 if test $gcc_cv_math_func_copysignf = yes; then
17990 cat >>confdefs.h
<<_ACEOF
17991 #define HAVE_COPYSIGNF 1
17999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18000 $as_echo_n "checking for copysign... " >&6; }
18001 if test "${gcc_cv_math_func_copysign+set}" = set; then :
18002 $as_echo_n "(cached) " >&6
18004 if test x
$gcc_no_link = xyes
; then
18005 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18008 /* end confdefs.h. */
18010 #ifdef HAVE_COMPLEX_H
18011 #include <complex.h>
18017 int (*ptr)() = (int (*)())copysign;
18026 if ac_fn_c_try_link
"$LINENO"; then :
18027 gcc_cv_math_func_copysign
=yes
18029 gcc_cv_math_func_copysign
=no
18031 rm -f core conftest.err conftest.
$ac_objext \
18032 conftest
$ac_exeext conftest.
$ac_ext
18034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18035 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18036 if test $gcc_cv_math_func_copysign = yes; then
18038 cat >>confdefs.h
<<_ACEOF
18039 #define HAVE_COPYSIGN 1
18047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18048 $as_echo_n "checking for copysignl... " >&6; }
18049 if test "${gcc_cv_math_func_copysignl+set}" = set; then :
18050 $as_echo_n "(cached) " >&6
18052 if test x
$gcc_no_link = xyes
; then
18053 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18056 /* end confdefs.h. */
18058 #ifdef HAVE_COMPLEX_H
18059 #include <complex.h>
18065 int (*ptr)() = (int (*)())copysignl;
18074 if ac_fn_c_try_link
"$LINENO"; then :
18075 gcc_cv_math_func_copysignl
=yes
18077 gcc_cv_math_func_copysignl
=no
18079 rm -f core conftest.err conftest.
$ac_objext \
18080 conftest
$ac_exeext conftest.
$ac_ext
18082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18083 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18084 if test $gcc_cv_math_func_copysignl = yes; then
18086 cat >>confdefs.h
<<_ACEOF
18087 #define HAVE_COPYSIGNL 1
18095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18096 $as_echo_n "checking for cosf... " >&6; }
18097 if test "${gcc_cv_math_func_cosf+set}" = set; then :
18098 $as_echo_n "(cached) " >&6
18100 if test x
$gcc_no_link = xyes
; then
18101 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18104 /* end confdefs.h. */
18106 #ifdef HAVE_COMPLEX_H
18107 #include <complex.h>
18113 int (*ptr)() = (int (*)())cosf;
18122 if ac_fn_c_try_link
"$LINENO"; then :
18123 gcc_cv_math_func_cosf
=yes
18125 gcc_cv_math_func_cosf
=no
18127 rm -f core conftest.err conftest.
$ac_objext \
18128 conftest
$ac_exeext conftest.
$ac_ext
18130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18131 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18132 if test $gcc_cv_math_func_cosf = yes; then
18134 cat >>confdefs.h
<<_ACEOF
18135 #define HAVE_COSF 1
18143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18144 $as_echo_n "checking for cos... " >&6; }
18145 if test "${gcc_cv_math_func_cos+set}" = set; then :
18146 $as_echo_n "(cached) " >&6
18148 if test x
$gcc_no_link = xyes
; then
18149 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18152 /* end confdefs.h. */
18154 #ifdef HAVE_COMPLEX_H
18155 #include <complex.h>
18161 int (*ptr)() = (int (*)())cos;
18170 if ac_fn_c_try_link
"$LINENO"; then :
18171 gcc_cv_math_func_cos
=yes
18173 gcc_cv_math_func_cos
=no
18175 rm -f core conftest.err conftest.
$ac_objext \
18176 conftest
$ac_exeext conftest.
$ac_ext
18178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18179 $as_echo "$gcc_cv_math_func_cos" >&6; }
18180 if test $gcc_cv_math_func_cos = yes; then
18182 cat >>confdefs.h
<<_ACEOF
18191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18192 $as_echo_n "checking for cosl... " >&6; }
18193 if test "${gcc_cv_math_func_cosl+set}" = set; then :
18194 $as_echo_n "(cached) " >&6
18196 if test x
$gcc_no_link = xyes
; then
18197 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18200 /* end confdefs.h. */
18202 #ifdef HAVE_COMPLEX_H
18203 #include <complex.h>
18209 int (*ptr)() = (int (*)())cosl;
18218 if ac_fn_c_try_link
"$LINENO"; then :
18219 gcc_cv_math_func_cosl
=yes
18221 gcc_cv_math_func_cosl
=no
18223 rm -f core conftest.err conftest.
$ac_objext \
18224 conftest
$ac_exeext conftest.
$ac_ext
18226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18227 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18228 if test $gcc_cv_math_func_cosl = yes; then
18230 cat >>confdefs.h
<<_ACEOF
18231 #define HAVE_COSL 1
18239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18240 $as_echo_n "checking for ccosf... " >&6; }
18241 if test "${gcc_cv_math_func_ccosf+set}" = set; then :
18242 $as_echo_n "(cached) " >&6
18244 if test x
$gcc_no_link = xyes
; then
18245 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18248 /* end confdefs.h. */
18250 #ifdef HAVE_COMPLEX_H
18251 #include <complex.h>
18257 int (*ptr)() = (int (*)())ccosf;
18266 if ac_fn_c_try_link
"$LINENO"; then :
18267 gcc_cv_math_func_ccosf
=yes
18269 gcc_cv_math_func_ccosf
=no
18271 rm -f core conftest.err conftest.
$ac_objext \
18272 conftest
$ac_exeext conftest.
$ac_ext
18274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18275 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18276 if test $gcc_cv_math_func_ccosf = yes; then
18278 cat >>confdefs.h
<<_ACEOF
18279 #define HAVE_CCOSF 1
18287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18288 $as_echo_n "checking for ccos... " >&6; }
18289 if test "${gcc_cv_math_func_ccos+set}" = set; then :
18290 $as_echo_n "(cached) " >&6
18292 if test x
$gcc_no_link = xyes
; then
18293 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18296 /* end confdefs.h. */
18298 #ifdef HAVE_COMPLEX_H
18299 #include <complex.h>
18305 int (*ptr)() = (int (*)())ccos;
18314 if ac_fn_c_try_link
"$LINENO"; then :
18315 gcc_cv_math_func_ccos
=yes
18317 gcc_cv_math_func_ccos
=no
18319 rm -f core conftest.err conftest.
$ac_objext \
18320 conftest
$ac_exeext conftest.
$ac_ext
18322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18323 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18324 if test $gcc_cv_math_func_ccos = yes; then
18326 cat >>confdefs.h
<<_ACEOF
18327 #define HAVE_CCOS 1
18335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18336 $as_echo_n "checking for ccosl... " >&6; }
18337 if test "${gcc_cv_math_func_ccosl+set}" = set; then :
18338 $as_echo_n "(cached) " >&6
18340 if test x
$gcc_no_link = xyes
; then
18341 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18344 /* end confdefs.h. */
18346 #ifdef HAVE_COMPLEX_H
18347 #include <complex.h>
18353 int (*ptr)() = (int (*)())ccosl;
18362 if ac_fn_c_try_link
"$LINENO"; then :
18363 gcc_cv_math_func_ccosl
=yes
18365 gcc_cv_math_func_ccosl
=no
18367 rm -f core conftest.err conftest.
$ac_objext \
18368 conftest
$ac_exeext conftest.
$ac_ext
18370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18371 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18372 if test $gcc_cv_math_func_ccosl = yes; then
18374 cat >>confdefs.h
<<_ACEOF
18375 #define HAVE_CCOSL 1
18383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18384 $as_echo_n "checking for coshf... " >&6; }
18385 if test "${gcc_cv_math_func_coshf+set}" = set; then :
18386 $as_echo_n "(cached) " >&6
18388 if test x
$gcc_no_link = xyes
; then
18389 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18392 /* end confdefs.h. */
18394 #ifdef HAVE_COMPLEX_H
18395 #include <complex.h>
18401 int (*ptr)() = (int (*)())coshf;
18410 if ac_fn_c_try_link
"$LINENO"; then :
18411 gcc_cv_math_func_coshf
=yes
18413 gcc_cv_math_func_coshf
=no
18415 rm -f core conftest.err conftest.
$ac_objext \
18416 conftest
$ac_exeext conftest.
$ac_ext
18418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18419 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18420 if test $gcc_cv_math_func_coshf = yes; then
18422 cat >>confdefs.h
<<_ACEOF
18423 #define HAVE_COSHF 1
18431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18432 $as_echo_n "checking for cosh... " >&6; }
18433 if test "${gcc_cv_math_func_cosh+set}" = set; then :
18434 $as_echo_n "(cached) " >&6
18436 if test x
$gcc_no_link = xyes
; then
18437 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18440 /* end confdefs.h. */
18442 #ifdef HAVE_COMPLEX_H
18443 #include <complex.h>
18449 int (*ptr)() = (int (*)())cosh;
18458 if ac_fn_c_try_link
"$LINENO"; then :
18459 gcc_cv_math_func_cosh
=yes
18461 gcc_cv_math_func_cosh
=no
18463 rm -f core conftest.err conftest.
$ac_objext \
18464 conftest
$ac_exeext conftest.
$ac_ext
18466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18467 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18468 if test $gcc_cv_math_func_cosh = yes; then
18470 cat >>confdefs.h
<<_ACEOF
18471 #define HAVE_COSH 1
18479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18480 $as_echo_n "checking for coshl... " >&6; }
18481 if test "${gcc_cv_math_func_coshl+set}" = set; then :
18482 $as_echo_n "(cached) " >&6
18484 if test x
$gcc_no_link = xyes
; then
18485 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18488 /* end confdefs.h. */
18490 #ifdef HAVE_COMPLEX_H
18491 #include <complex.h>
18497 int (*ptr)() = (int (*)())coshl;
18506 if ac_fn_c_try_link
"$LINENO"; then :
18507 gcc_cv_math_func_coshl
=yes
18509 gcc_cv_math_func_coshl
=no
18511 rm -f core conftest.err conftest.
$ac_objext \
18512 conftest
$ac_exeext conftest.
$ac_ext
18514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18515 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18516 if test $gcc_cv_math_func_coshl = yes; then
18518 cat >>confdefs.h
<<_ACEOF
18519 #define HAVE_COSHL 1
18527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18528 $as_echo_n "checking for ccoshf... " >&6; }
18529 if test "${gcc_cv_math_func_ccoshf+set}" = set; then :
18530 $as_echo_n "(cached) " >&6
18532 if test x
$gcc_no_link = xyes
; then
18533 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18536 /* end confdefs.h. */
18538 #ifdef HAVE_COMPLEX_H
18539 #include <complex.h>
18545 int (*ptr)() = (int (*)())ccoshf;
18554 if ac_fn_c_try_link
"$LINENO"; then :
18555 gcc_cv_math_func_ccoshf
=yes
18557 gcc_cv_math_func_ccoshf
=no
18559 rm -f core conftest.err conftest.
$ac_objext \
18560 conftest
$ac_exeext conftest.
$ac_ext
18562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18563 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
18564 if test $gcc_cv_math_func_ccoshf = yes; then
18566 cat >>confdefs.h
<<_ACEOF
18567 #define HAVE_CCOSHF 1
18575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
18576 $as_echo_n "checking for ccosh... " >&6; }
18577 if test "${gcc_cv_math_func_ccosh+set}" = set; then :
18578 $as_echo_n "(cached) " >&6
18580 if test x
$gcc_no_link = xyes
; then
18581 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18584 /* end confdefs.h. */
18586 #ifdef HAVE_COMPLEX_H
18587 #include <complex.h>
18593 int (*ptr)() = (int (*)())ccosh;
18602 if ac_fn_c_try_link
"$LINENO"; then :
18603 gcc_cv_math_func_ccosh
=yes
18605 gcc_cv_math_func_ccosh
=no
18607 rm -f core conftest.err conftest.
$ac_objext \
18608 conftest
$ac_exeext conftest.
$ac_ext
18610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
18611 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
18612 if test $gcc_cv_math_func_ccosh = yes; then
18614 cat >>confdefs.h
<<_ACEOF
18615 #define HAVE_CCOSH 1
18623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
18624 $as_echo_n "checking for ccoshl... " >&6; }
18625 if test "${gcc_cv_math_func_ccoshl+set}" = set; then :
18626 $as_echo_n "(cached) " >&6
18628 if test x
$gcc_no_link = xyes
; then
18629 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18632 /* end confdefs.h. */
18634 #ifdef HAVE_COMPLEX_H
18635 #include <complex.h>
18641 int (*ptr)() = (int (*)())ccoshl;
18650 if ac_fn_c_try_link
"$LINENO"; then :
18651 gcc_cv_math_func_ccoshl
=yes
18653 gcc_cv_math_func_ccoshl
=no
18655 rm -f core conftest.err conftest.
$ac_objext \
18656 conftest
$ac_exeext conftest.
$ac_ext
18658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
18659 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
18660 if test $gcc_cv_math_func_ccoshl = yes; then
18662 cat >>confdefs.h
<<_ACEOF
18663 #define HAVE_CCOSHL 1
18671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
18672 $as_echo_n "checking for expf... " >&6; }
18673 if test "${gcc_cv_math_func_expf+set}" = set; then :
18674 $as_echo_n "(cached) " >&6
18676 if test x
$gcc_no_link = xyes
; then
18677 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18680 /* end confdefs.h. */
18682 #ifdef HAVE_COMPLEX_H
18683 #include <complex.h>
18689 int (*ptr)() = (int (*)())expf;
18698 if ac_fn_c_try_link
"$LINENO"; then :
18699 gcc_cv_math_func_expf
=yes
18701 gcc_cv_math_func_expf
=no
18703 rm -f core conftest.err conftest.
$ac_objext \
18704 conftest
$ac_exeext conftest.
$ac_ext
18706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
18707 $as_echo "$gcc_cv_math_func_expf" >&6; }
18708 if test $gcc_cv_math_func_expf = yes; then
18710 cat >>confdefs.h
<<_ACEOF
18711 #define HAVE_EXPF 1
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
18720 $as_echo_n "checking for exp... " >&6; }
18721 if test "${gcc_cv_math_func_exp+set}" = set; then :
18722 $as_echo_n "(cached) " >&6
18724 if test x
$gcc_no_link = xyes
; then
18725 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18728 /* end confdefs.h. */
18730 #ifdef HAVE_COMPLEX_H
18731 #include <complex.h>
18737 int (*ptr)() = (int (*)())exp;
18746 if ac_fn_c_try_link
"$LINENO"; then :
18747 gcc_cv_math_func_exp
=yes
18749 gcc_cv_math_func_exp
=no
18751 rm -f core conftest.err conftest.
$ac_objext \
18752 conftest
$ac_exeext conftest.
$ac_ext
18754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
18755 $as_echo "$gcc_cv_math_func_exp" >&6; }
18756 if test $gcc_cv_math_func_exp = yes; then
18758 cat >>confdefs.h
<<_ACEOF
18767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
18768 $as_echo_n "checking for expl... " >&6; }
18769 if test "${gcc_cv_math_func_expl+set}" = set; then :
18770 $as_echo_n "(cached) " >&6
18772 if test x
$gcc_no_link = xyes
; then
18773 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18776 /* end confdefs.h. */
18778 #ifdef HAVE_COMPLEX_H
18779 #include <complex.h>
18785 int (*ptr)() = (int (*)())expl;
18794 if ac_fn_c_try_link
"$LINENO"; then :
18795 gcc_cv_math_func_expl
=yes
18797 gcc_cv_math_func_expl
=no
18799 rm -f core conftest.err conftest.
$ac_objext \
18800 conftest
$ac_exeext conftest.
$ac_ext
18802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
18803 $as_echo "$gcc_cv_math_func_expl" >&6; }
18804 if test $gcc_cv_math_func_expl = yes; then
18806 cat >>confdefs.h
<<_ACEOF
18807 #define HAVE_EXPL 1
18815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
18816 $as_echo_n "checking for cexpf... " >&6; }
18817 if test "${gcc_cv_math_func_cexpf+set}" = set; then :
18818 $as_echo_n "(cached) " >&6
18820 if test x
$gcc_no_link = xyes
; then
18821 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18824 /* end confdefs.h. */
18826 #ifdef HAVE_COMPLEX_H
18827 #include <complex.h>
18833 int (*ptr)() = (int (*)())cexpf;
18842 if ac_fn_c_try_link
"$LINENO"; then :
18843 gcc_cv_math_func_cexpf
=yes
18845 gcc_cv_math_func_cexpf
=no
18847 rm -f core conftest.err conftest.
$ac_objext \
18848 conftest
$ac_exeext conftest.
$ac_ext
18850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
18851 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
18852 if test $gcc_cv_math_func_cexpf = yes; then
18854 cat >>confdefs.h
<<_ACEOF
18855 #define HAVE_CEXPF 1
18863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
18864 $as_echo_n "checking for cexp... " >&6; }
18865 if test "${gcc_cv_math_func_cexp+set}" = set; then :
18866 $as_echo_n "(cached) " >&6
18868 if test x
$gcc_no_link = xyes
; then
18869 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18872 /* end confdefs.h. */
18874 #ifdef HAVE_COMPLEX_H
18875 #include <complex.h>
18881 int (*ptr)() = (int (*)())cexp;
18890 if ac_fn_c_try_link
"$LINENO"; then :
18891 gcc_cv_math_func_cexp
=yes
18893 gcc_cv_math_func_cexp
=no
18895 rm -f core conftest.err conftest.
$ac_objext \
18896 conftest
$ac_exeext conftest.
$ac_ext
18898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
18899 $as_echo "$gcc_cv_math_func_cexp" >&6; }
18900 if test $gcc_cv_math_func_cexp = yes; then
18902 cat >>confdefs.h
<<_ACEOF
18903 #define HAVE_CEXP 1
18911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
18912 $as_echo_n "checking for cexpl... " >&6; }
18913 if test "${gcc_cv_math_func_cexpl+set}" = set; then :
18914 $as_echo_n "(cached) " >&6
18916 if test x
$gcc_no_link = xyes
; then
18917 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18920 /* end confdefs.h. */
18922 #ifdef HAVE_COMPLEX_H
18923 #include <complex.h>
18929 int (*ptr)() = (int (*)())cexpl;
18938 if ac_fn_c_try_link
"$LINENO"; then :
18939 gcc_cv_math_func_cexpl
=yes
18941 gcc_cv_math_func_cexpl
=no
18943 rm -f core conftest.err conftest.
$ac_objext \
18944 conftest
$ac_exeext conftest.
$ac_ext
18946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
18947 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
18948 if test $gcc_cv_math_func_cexpl = yes; then
18950 cat >>confdefs.h
<<_ACEOF
18951 #define HAVE_CEXPL 1
18959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
18960 $as_echo_n "checking for fabsf... " >&6; }
18961 if test "${gcc_cv_math_func_fabsf+set}" = set; then :
18962 $as_echo_n "(cached) " >&6
18964 if test x
$gcc_no_link = xyes
; then
18965 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18968 /* end confdefs.h. */
18970 #ifdef HAVE_COMPLEX_H
18971 #include <complex.h>
18977 int (*ptr)() = (int (*)())fabsf;
18986 if ac_fn_c_try_link
"$LINENO"; then :
18987 gcc_cv_math_func_fabsf
=yes
18989 gcc_cv_math_func_fabsf
=no
18991 rm -f core conftest.err conftest.
$ac_objext \
18992 conftest
$ac_exeext conftest.
$ac_ext
18994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
18995 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
18996 if test $gcc_cv_math_func_fabsf = yes; then
18998 cat >>confdefs.h
<<_ACEOF
18999 #define HAVE_FABSF 1
19007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19008 $as_echo_n "checking for fabs... " >&6; }
19009 if test "${gcc_cv_math_func_fabs+set}" = set; then :
19010 $as_echo_n "(cached) " >&6
19012 if test x
$gcc_no_link = xyes
; then
19013 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19016 /* end confdefs.h. */
19018 #ifdef HAVE_COMPLEX_H
19019 #include <complex.h>
19025 int (*ptr)() = (int (*)())fabs;
19034 if ac_fn_c_try_link
"$LINENO"; then :
19035 gcc_cv_math_func_fabs
=yes
19037 gcc_cv_math_func_fabs
=no
19039 rm -f core conftest.err conftest.
$ac_objext \
19040 conftest
$ac_exeext conftest.
$ac_ext
19042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19043 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19044 if test $gcc_cv_math_func_fabs = yes; then
19046 cat >>confdefs.h
<<_ACEOF
19047 #define HAVE_FABS 1
19055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19056 $as_echo_n "checking for fabsl... " >&6; }
19057 if test "${gcc_cv_math_func_fabsl+set}" = set; then :
19058 $as_echo_n "(cached) " >&6
19060 if test x
$gcc_no_link = xyes
; then
19061 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19064 /* end confdefs.h. */
19066 #ifdef HAVE_COMPLEX_H
19067 #include <complex.h>
19073 int (*ptr)() = (int (*)())fabsl;
19082 if ac_fn_c_try_link
"$LINENO"; then :
19083 gcc_cv_math_func_fabsl
=yes
19085 gcc_cv_math_func_fabsl
=no
19087 rm -f core conftest.err conftest.
$ac_objext \
19088 conftest
$ac_exeext conftest.
$ac_ext
19090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19091 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19092 if test $gcc_cv_math_func_fabsl = yes; then
19094 cat >>confdefs.h
<<_ACEOF
19095 #define HAVE_FABSL 1
19103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19104 $as_echo_n "checking for cabsf... " >&6; }
19105 if test "${gcc_cv_math_func_cabsf+set}" = set; then :
19106 $as_echo_n "(cached) " >&6
19108 if test x
$gcc_no_link = xyes
; then
19109 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19112 /* end confdefs.h. */
19114 #ifdef HAVE_COMPLEX_H
19115 #include <complex.h>
19121 int (*ptr)() = (int (*)())cabsf;
19130 if ac_fn_c_try_link
"$LINENO"; then :
19131 gcc_cv_math_func_cabsf
=yes
19133 gcc_cv_math_func_cabsf
=no
19135 rm -f core conftest.err conftest.
$ac_objext \
19136 conftest
$ac_exeext conftest.
$ac_ext
19138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19139 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19140 if test $gcc_cv_math_func_cabsf = yes; then
19142 cat >>confdefs.h
<<_ACEOF
19143 #define HAVE_CABSF 1
19151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19152 $as_echo_n "checking for cabs... " >&6; }
19153 if test "${gcc_cv_math_func_cabs+set}" = set; then :
19154 $as_echo_n "(cached) " >&6
19156 if test x
$gcc_no_link = xyes
; then
19157 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19160 /* end confdefs.h. */
19162 #ifdef HAVE_COMPLEX_H
19163 #include <complex.h>
19169 int (*ptr)() = (int (*)())cabs;
19178 if ac_fn_c_try_link
"$LINENO"; then :
19179 gcc_cv_math_func_cabs
=yes
19181 gcc_cv_math_func_cabs
=no
19183 rm -f core conftest.err conftest.
$ac_objext \
19184 conftest
$ac_exeext conftest.
$ac_ext
19186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19187 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19188 if test $gcc_cv_math_func_cabs = yes; then
19190 cat >>confdefs.h
<<_ACEOF
19191 #define HAVE_CABS 1
19199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19200 $as_echo_n "checking for cabsl... " >&6; }
19201 if test "${gcc_cv_math_func_cabsl+set}" = set; then :
19202 $as_echo_n "(cached) " >&6
19204 if test x
$gcc_no_link = xyes
; then
19205 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19208 /* end confdefs.h. */
19210 #ifdef HAVE_COMPLEX_H
19211 #include <complex.h>
19217 int (*ptr)() = (int (*)())cabsl;
19226 if ac_fn_c_try_link
"$LINENO"; then :
19227 gcc_cv_math_func_cabsl
=yes
19229 gcc_cv_math_func_cabsl
=no
19231 rm -f core conftest.err conftest.
$ac_objext \
19232 conftest
$ac_exeext conftest.
$ac_ext
19234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19235 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19236 if test $gcc_cv_math_func_cabsl = yes; then
19238 cat >>confdefs.h
<<_ACEOF
19239 #define HAVE_CABSL 1
19247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19248 $as_echo_n "checking for floorf... " >&6; }
19249 if test "${gcc_cv_math_func_floorf+set}" = set; then :
19250 $as_echo_n "(cached) " >&6
19252 if test x
$gcc_no_link = xyes
; then
19253 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19256 /* end confdefs.h. */
19258 #ifdef HAVE_COMPLEX_H
19259 #include <complex.h>
19265 int (*ptr)() = (int (*)())floorf;
19274 if ac_fn_c_try_link
"$LINENO"; then :
19275 gcc_cv_math_func_floorf
=yes
19277 gcc_cv_math_func_floorf
=no
19279 rm -f core conftest.err conftest.
$ac_objext \
19280 conftest
$ac_exeext conftest.
$ac_ext
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19283 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19284 if test $gcc_cv_math_func_floorf = yes; then
19286 cat >>confdefs.h
<<_ACEOF
19287 #define HAVE_FLOORF 1
19295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19296 $as_echo_n "checking for floor... " >&6; }
19297 if test "${gcc_cv_math_func_floor+set}" = set; then :
19298 $as_echo_n "(cached) " >&6
19300 if test x
$gcc_no_link = xyes
; then
19301 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19304 /* end confdefs.h. */
19306 #ifdef HAVE_COMPLEX_H
19307 #include <complex.h>
19313 int (*ptr)() = (int (*)())floor;
19322 if ac_fn_c_try_link
"$LINENO"; then :
19323 gcc_cv_math_func_floor
=yes
19325 gcc_cv_math_func_floor
=no
19327 rm -f core conftest.err conftest.
$ac_objext \
19328 conftest
$ac_exeext conftest.
$ac_ext
19330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19331 $as_echo "$gcc_cv_math_func_floor" >&6; }
19332 if test $gcc_cv_math_func_floor = yes; then
19334 cat >>confdefs.h
<<_ACEOF
19335 #define HAVE_FLOOR 1
19343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19344 $as_echo_n "checking for floorl... " >&6; }
19345 if test "${gcc_cv_math_func_floorl+set}" = set; then :
19346 $as_echo_n "(cached) " >&6
19348 if test x
$gcc_no_link = xyes
; then
19349 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19352 /* end confdefs.h. */
19354 #ifdef HAVE_COMPLEX_H
19355 #include <complex.h>
19361 int (*ptr)() = (int (*)())floorl;
19370 if ac_fn_c_try_link
"$LINENO"; then :
19371 gcc_cv_math_func_floorl
=yes
19373 gcc_cv_math_func_floorl
=no
19375 rm -f core conftest.err conftest.
$ac_objext \
19376 conftest
$ac_exeext conftest.
$ac_ext
19378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19379 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19380 if test $gcc_cv_math_func_floorl = yes; then
19382 cat >>confdefs.h
<<_ACEOF
19383 #define HAVE_FLOORL 1
19391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19392 $as_echo_n "checking for fmodf... " >&6; }
19393 if test "${gcc_cv_math_func_fmodf+set}" = set; then :
19394 $as_echo_n "(cached) " >&6
19396 if test x
$gcc_no_link = xyes
; then
19397 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19400 /* end confdefs.h. */
19402 #ifdef HAVE_COMPLEX_H
19403 #include <complex.h>
19409 int (*ptr)() = (int (*)())fmodf;
19418 if ac_fn_c_try_link
"$LINENO"; then :
19419 gcc_cv_math_func_fmodf
=yes
19421 gcc_cv_math_func_fmodf
=no
19423 rm -f core conftest.err conftest.
$ac_objext \
19424 conftest
$ac_exeext conftest.
$ac_ext
19426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19427 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
19428 if test $gcc_cv_math_func_fmodf = yes; then
19430 cat >>confdefs.h
<<_ACEOF
19431 #define HAVE_FMODF 1
19439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19440 $as_echo_n "checking for fmod... " >&6; }
19441 if test "${gcc_cv_math_func_fmod+set}" = set; then :
19442 $as_echo_n "(cached) " >&6
19444 if test x
$gcc_no_link = xyes
; then
19445 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19448 /* end confdefs.h. */
19450 #ifdef HAVE_COMPLEX_H
19451 #include <complex.h>
19457 int (*ptr)() = (int (*)())fmod;
19466 if ac_fn_c_try_link
"$LINENO"; then :
19467 gcc_cv_math_func_fmod
=yes
19469 gcc_cv_math_func_fmod
=no
19471 rm -f core conftest.err conftest.
$ac_objext \
19472 conftest
$ac_exeext conftest.
$ac_ext
19474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19475 $as_echo "$gcc_cv_math_func_fmod" >&6; }
19476 if test $gcc_cv_math_func_fmod = yes; then
19478 cat >>confdefs.h
<<_ACEOF
19479 #define HAVE_FMOD 1
19487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19488 $as_echo_n "checking for fmodl... " >&6; }
19489 if test "${gcc_cv_math_func_fmodl+set}" = set; then :
19490 $as_echo_n "(cached) " >&6
19492 if test x
$gcc_no_link = xyes
; then
19493 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19496 /* end confdefs.h. */
19498 #ifdef HAVE_COMPLEX_H
19499 #include <complex.h>
19505 int (*ptr)() = (int (*)())fmodl;
19514 if ac_fn_c_try_link
"$LINENO"; then :
19515 gcc_cv_math_func_fmodl
=yes
19517 gcc_cv_math_func_fmodl
=no
19519 rm -f core conftest.err conftest.
$ac_objext \
19520 conftest
$ac_exeext conftest.
$ac_ext
19522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19523 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
19524 if test $gcc_cv_math_func_fmodl = yes; then
19526 cat >>confdefs.h
<<_ACEOF
19527 #define HAVE_FMODL 1
19535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19536 $as_echo_n "checking for frexpf... " >&6; }
19537 if test "${gcc_cv_math_func_frexpf+set}" = set; then :
19538 $as_echo_n "(cached) " >&6
19540 if test x
$gcc_no_link = xyes
; then
19541 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19544 /* end confdefs.h. */
19546 #ifdef HAVE_COMPLEX_H
19547 #include <complex.h>
19553 int (*ptr)() = (int (*)())frexpf;
19562 if ac_fn_c_try_link
"$LINENO"; then :
19563 gcc_cv_math_func_frexpf
=yes
19565 gcc_cv_math_func_frexpf
=no
19567 rm -f core conftest.err conftest.
$ac_objext \
19568 conftest
$ac_exeext conftest.
$ac_ext
19570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
19571 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
19572 if test $gcc_cv_math_func_frexpf = yes; then
19574 cat >>confdefs.h
<<_ACEOF
19575 #define HAVE_FREXPF 1
19583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
19584 $as_echo_n "checking for frexp... " >&6; }
19585 if test "${gcc_cv_math_func_frexp+set}" = set; then :
19586 $as_echo_n "(cached) " >&6
19588 if test x
$gcc_no_link = xyes
; then
19589 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19592 /* end confdefs.h. */
19594 #ifdef HAVE_COMPLEX_H
19595 #include <complex.h>
19601 int (*ptr)() = (int (*)())frexp;
19610 if ac_fn_c_try_link
"$LINENO"; then :
19611 gcc_cv_math_func_frexp
=yes
19613 gcc_cv_math_func_frexp
=no
19615 rm -f core conftest.err conftest.
$ac_objext \
19616 conftest
$ac_exeext conftest.
$ac_ext
19618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
19619 $as_echo "$gcc_cv_math_func_frexp" >&6; }
19620 if test $gcc_cv_math_func_frexp = yes; then
19622 cat >>confdefs.h
<<_ACEOF
19623 #define HAVE_FREXP 1
19631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
19632 $as_echo_n "checking for frexpl... " >&6; }
19633 if test "${gcc_cv_math_func_frexpl+set}" = set; then :
19634 $as_echo_n "(cached) " >&6
19636 if test x
$gcc_no_link = xyes
; then
19637 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19640 /* end confdefs.h. */
19642 #ifdef HAVE_COMPLEX_H
19643 #include <complex.h>
19649 int (*ptr)() = (int (*)())frexpl;
19658 if ac_fn_c_try_link
"$LINENO"; then :
19659 gcc_cv_math_func_frexpl
=yes
19661 gcc_cv_math_func_frexpl
=no
19663 rm -f core conftest.err conftest.
$ac_objext \
19664 conftest
$ac_exeext conftest.
$ac_ext
19666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
19667 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
19668 if test $gcc_cv_math_func_frexpl = yes; then
19670 cat >>confdefs.h
<<_ACEOF
19671 #define HAVE_FREXPL 1
19679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
19680 $as_echo_n "checking for hypotf... " >&6; }
19681 if test "${gcc_cv_math_func_hypotf+set}" = set; then :
19682 $as_echo_n "(cached) " >&6
19684 if test x
$gcc_no_link = xyes
; then
19685 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19688 /* end confdefs.h. */
19690 #ifdef HAVE_COMPLEX_H
19691 #include <complex.h>
19697 int (*ptr)() = (int (*)())hypotf;
19706 if ac_fn_c_try_link
"$LINENO"; then :
19707 gcc_cv_math_func_hypotf
=yes
19709 gcc_cv_math_func_hypotf
=no
19711 rm -f core conftest.err conftest.
$ac_objext \
19712 conftest
$ac_exeext conftest.
$ac_ext
19714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
19715 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
19716 if test $gcc_cv_math_func_hypotf = yes; then
19718 cat >>confdefs.h
<<_ACEOF
19719 #define HAVE_HYPOTF 1
19727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
19728 $as_echo_n "checking for hypot... " >&6; }
19729 if test "${gcc_cv_math_func_hypot+set}" = set; then :
19730 $as_echo_n "(cached) " >&6
19732 if test x
$gcc_no_link = xyes
; then
19733 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19736 /* end confdefs.h. */
19738 #ifdef HAVE_COMPLEX_H
19739 #include <complex.h>
19745 int (*ptr)() = (int (*)())hypot;
19754 if ac_fn_c_try_link
"$LINENO"; then :
19755 gcc_cv_math_func_hypot
=yes
19757 gcc_cv_math_func_hypot
=no
19759 rm -f core conftest.err conftest.
$ac_objext \
19760 conftest
$ac_exeext conftest.
$ac_ext
19762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
19763 $as_echo "$gcc_cv_math_func_hypot" >&6; }
19764 if test $gcc_cv_math_func_hypot = yes; then
19766 cat >>confdefs.h
<<_ACEOF
19767 #define HAVE_HYPOT 1
19775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
19776 $as_echo_n "checking for hypotl... " >&6; }
19777 if test "${gcc_cv_math_func_hypotl+set}" = set; then :
19778 $as_echo_n "(cached) " >&6
19780 if test x
$gcc_no_link = xyes
; then
19781 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19784 /* end confdefs.h. */
19786 #ifdef HAVE_COMPLEX_H
19787 #include <complex.h>
19793 int (*ptr)() = (int (*)())hypotl;
19802 if ac_fn_c_try_link
"$LINENO"; then :
19803 gcc_cv_math_func_hypotl
=yes
19805 gcc_cv_math_func_hypotl
=no
19807 rm -f core conftest.err conftest.
$ac_objext \
19808 conftest
$ac_exeext conftest.
$ac_ext
19810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
19811 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
19812 if test $gcc_cv_math_func_hypotl = yes; then
19814 cat >>confdefs.h
<<_ACEOF
19815 #define HAVE_HYPOTL 1
19823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
19824 $as_echo_n "checking for ldexpf... " >&6; }
19825 if test "${gcc_cv_math_func_ldexpf+set}" = set; then :
19826 $as_echo_n "(cached) " >&6
19828 if test x
$gcc_no_link = xyes
; then
19829 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19832 /* end confdefs.h. */
19834 #ifdef HAVE_COMPLEX_H
19835 #include <complex.h>
19841 int (*ptr)() = (int (*)())ldexpf;
19850 if ac_fn_c_try_link
"$LINENO"; then :
19851 gcc_cv_math_func_ldexpf
=yes
19853 gcc_cv_math_func_ldexpf
=no
19855 rm -f core conftest.err conftest.
$ac_objext \
19856 conftest
$ac_exeext conftest.
$ac_ext
19858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
19859 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
19860 if test $gcc_cv_math_func_ldexpf = yes; then
19862 cat >>confdefs.h
<<_ACEOF
19863 #define HAVE_LDEXPF 1
19871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
19872 $as_echo_n "checking for ldexp... " >&6; }
19873 if test "${gcc_cv_math_func_ldexp+set}" = set; then :
19874 $as_echo_n "(cached) " >&6
19876 if test x
$gcc_no_link = xyes
; then
19877 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19880 /* end confdefs.h. */
19882 #ifdef HAVE_COMPLEX_H
19883 #include <complex.h>
19889 int (*ptr)() = (int (*)())ldexp;
19898 if ac_fn_c_try_link
"$LINENO"; then :
19899 gcc_cv_math_func_ldexp
=yes
19901 gcc_cv_math_func_ldexp
=no
19903 rm -f core conftest.err conftest.
$ac_objext \
19904 conftest
$ac_exeext conftest.
$ac_ext
19906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
19907 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
19908 if test $gcc_cv_math_func_ldexp = yes; then
19910 cat >>confdefs.h
<<_ACEOF
19911 #define HAVE_LDEXP 1
19919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
19920 $as_echo_n "checking for ldexpl... " >&6; }
19921 if test "${gcc_cv_math_func_ldexpl+set}" = set; then :
19922 $as_echo_n "(cached) " >&6
19924 if test x
$gcc_no_link = xyes
; then
19925 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19928 /* end confdefs.h. */
19930 #ifdef HAVE_COMPLEX_H
19931 #include <complex.h>
19937 int (*ptr)() = (int (*)())ldexpl;
19946 if ac_fn_c_try_link
"$LINENO"; then :
19947 gcc_cv_math_func_ldexpl
=yes
19949 gcc_cv_math_func_ldexpl
=no
19951 rm -f core conftest.err conftest.
$ac_objext \
19952 conftest
$ac_exeext conftest.
$ac_ext
19954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
19955 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
19956 if test $gcc_cv_math_func_ldexpl = yes; then
19958 cat >>confdefs.h
<<_ACEOF
19959 #define HAVE_LDEXPL 1
19967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
19968 $as_echo_n "checking for logf... " >&6; }
19969 if test "${gcc_cv_math_func_logf+set}" = set; then :
19970 $as_echo_n "(cached) " >&6
19972 if test x
$gcc_no_link = xyes
; then
19973 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19976 /* end confdefs.h. */
19978 #ifdef HAVE_COMPLEX_H
19979 #include <complex.h>
19985 int (*ptr)() = (int (*)())logf;
19994 if ac_fn_c_try_link
"$LINENO"; then :
19995 gcc_cv_math_func_logf
=yes
19997 gcc_cv_math_func_logf
=no
19999 rm -f core conftest.err conftest.
$ac_objext \
20000 conftest
$ac_exeext conftest.
$ac_ext
20002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20003 $as_echo "$gcc_cv_math_func_logf" >&6; }
20004 if test $gcc_cv_math_func_logf = yes; then
20006 cat >>confdefs.h
<<_ACEOF
20007 #define HAVE_LOGF 1
20015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20016 $as_echo_n "checking for log... " >&6; }
20017 if test "${gcc_cv_math_func_log+set}" = set; then :
20018 $as_echo_n "(cached) " >&6
20020 if test x
$gcc_no_link = xyes
; then
20021 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20024 /* end confdefs.h. */
20026 #ifdef HAVE_COMPLEX_H
20027 #include <complex.h>
20033 int (*ptr)() = (int (*)())log;
20042 if ac_fn_c_try_link
"$LINENO"; then :
20043 gcc_cv_math_func_log
=yes
20045 gcc_cv_math_func_log
=no
20047 rm -f core conftest.err conftest.
$ac_objext \
20048 conftest
$ac_exeext conftest.
$ac_ext
20050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20051 $as_echo "$gcc_cv_math_func_log" >&6; }
20052 if test $gcc_cv_math_func_log = yes; then
20054 cat >>confdefs.h
<<_ACEOF
20063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20064 $as_echo_n "checking for logl... " >&6; }
20065 if test "${gcc_cv_math_func_logl+set}" = set; then :
20066 $as_echo_n "(cached) " >&6
20068 if test x
$gcc_no_link = xyes
; then
20069 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20072 /* end confdefs.h. */
20074 #ifdef HAVE_COMPLEX_H
20075 #include <complex.h>
20081 int (*ptr)() = (int (*)())logl;
20090 if ac_fn_c_try_link
"$LINENO"; then :
20091 gcc_cv_math_func_logl
=yes
20093 gcc_cv_math_func_logl
=no
20095 rm -f core conftest.err conftest.
$ac_objext \
20096 conftest
$ac_exeext conftest.
$ac_ext
20098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20099 $as_echo "$gcc_cv_math_func_logl" >&6; }
20100 if test $gcc_cv_math_func_logl = yes; then
20102 cat >>confdefs.h
<<_ACEOF
20103 #define HAVE_LOGL 1
20111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20112 $as_echo_n "checking for clogf... " >&6; }
20113 if test "${gcc_cv_math_func_clogf+set}" = set; then :
20114 $as_echo_n "(cached) " >&6
20116 if test x
$gcc_no_link = xyes
; then
20117 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20120 /* end confdefs.h. */
20122 #ifdef HAVE_COMPLEX_H
20123 #include <complex.h>
20129 int (*ptr)() = (int (*)())clogf;
20138 if ac_fn_c_try_link
"$LINENO"; then :
20139 gcc_cv_math_func_clogf
=yes
20141 gcc_cv_math_func_clogf
=no
20143 rm -f core conftest.err conftest.
$ac_objext \
20144 conftest
$ac_exeext conftest.
$ac_ext
20146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20147 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20148 if test $gcc_cv_math_func_clogf = yes; then
20150 cat >>confdefs.h
<<_ACEOF
20151 #define HAVE_CLOGF 1
20159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20160 $as_echo_n "checking for clog... " >&6; }
20161 if test "${gcc_cv_math_func_clog+set}" = set; then :
20162 $as_echo_n "(cached) " >&6
20164 if test x
$gcc_no_link = xyes
; then
20165 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20168 /* end confdefs.h. */
20170 #ifdef HAVE_COMPLEX_H
20171 #include <complex.h>
20177 int (*ptr)() = (int (*)())clog;
20186 if ac_fn_c_try_link
"$LINENO"; then :
20187 gcc_cv_math_func_clog
=yes
20189 gcc_cv_math_func_clog
=no
20191 rm -f core conftest.err conftest.
$ac_objext \
20192 conftest
$ac_exeext conftest.
$ac_ext
20194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20195 $as_echo "$gcc_cv_math_func_clog" >&6; }
20196 if test $gcc_cv_math_func_clog = yes; then
20198 cat >>confdefs.h
<<_ACEOF
20199 #define HAVE_CLOG 1
20207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20208 $as_echo_n "checking for clogl... " >&6; }
20209 if test "${gcc_cv_math_func_clogl+set}" = set; then :
20210 $as_echo_n "(cached) " >&6
20212 if test x
$gcc_no_link = xyes
; then
20213 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20216 /* end confdefs.h. */
20218 #ifdef HAVE_COMPLEX_H
20219 #include <complex.h>
20225 int (*ptr)() = (int (*)())clogl;
20234 if ac_fn_c_try_link
"$LINENO"; then :
20235 gcc_cv_math_func_clogl
=yes
20237 gcc_cv_math_func_clogl
=no
20239 rm -f core conftest.err conftest.
$ac_objext \
20240 conftest
$ac_exeext conftest.
$ac_ext
20242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20243 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20244 if test $gcc_cv_math_func_clogl = yes; then
20246 cat >>confdefs.h
<<_ACEOF
20247 #define HAVE_CLOGL 1
20255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20256 $as_echo_n "checking for log10f... " >&6; }
20257 if test "${gcc_cv_math_func_log10f+set}" = set; then :
20258 $as_echo_n "(cached) " >&6
20260 if test x
$gcc_no_link = xyes
; then
20261 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20264 /* end confdefs.h. */
20266 #ifdef HAVE_COMPLEX_H
20267 #include <complex.h>
20273 int (*ptr)() = (int (*)())log10f;
20282 if ac_fn_c_try_link
"$LINENO"; then :
20283 gcc_cv_math_func_log10f
=yes
20285 gcc_cv_math_func_log10f
=no
20287 rm -f core conftest.err conftest.
$ac_objext \
20288 conftest
$ac_exeext conftest.
$ac_ext
20290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20291 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20292 if test $gcc_cv_math_func_log10f = yes; then
20294 cat >>confdefs.h
<<_ACEOF
20295 #define HAVE_LOG10F 1
20303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20304 $as_echo_n "checking for log10... " >&6; }
20305 if test "${gcc_cv_math_func_log10+set}" = set; then :
20306 $as_echo_n "(cached) " >&6
20308 if test x
$gcc_no_link = xyes
; then
20309 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20312 /* end confdefs.h. */
20314 #ifdef HAVE_COMPLEX_H
20315 #include <complex.h>
20321 int (*ptr)() = (int (*)())log10;
20330 if ac_fn_c_try_link
"$LINENO"; then :
20331 gcc_cv_math_func_log10
=yes
20333 gcc_cv_math_func_log10
=no
20335 rm -f core conftest.err conftest.
$ac_objext \
20336 conftest
$ac_exeext conftest.
$ac_ext
20338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20339 $as_echo "$gcc_cv_math_func_log10" >&6; }
20340 if test $gcc_cv_math_func_log10 = yes; then
20342 cat >>confdefs.h
<<_ACEOF
20343 #define HAVE_LOG10 1
20351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20352 $as_echo_n "checking for log10l... " >&6; }
20353 if test "${gcc_cv_math_func_log10l+set}" = set; then :
20354 $as_echo_n "(cached) " >&6
20356 if test x
$gcc_no_link = xyes
; then
20357 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20360 /* end confdefs.h. */
20362 #ifdef HAVE_COMPLEX_H
20363 #include <complex.h>
20369 int (*ptr)() = (int (*)())log10l;
20378 if ac_fn_c_try_link
"$LINENO"; then :
20379 gcc_cv_math_func_log10l
=yes
20381 gcc_cv_math_func_log10l
=no
20383 rm -f core conftest.err conftest.
$ac_objext \
20384 conftest
$ac_exeext conftest.
$ac_ext
20386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20387 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20388 if test $gcc_cv_math_func_log10l = yes; then
20390 cat >>confdefs.h
<<_ACEOF
20391 #define HAVE_LOG10L 1
20399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20400 $as_echo_n "checking for clog10f... " >&6; }
20401 if test "${gcc_cv_math_func_clog10f+set}" = set; then :
20402 $as_echo_n "(cached) " >&6
20404 if test x
$gcc_no_link = xyes
; then
20405 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20408 /* end confdefs.h. */
20410 #ifdef HAVE_COMPLEX_H
20411 #include <complex.h>
20417 int (*ptr)() = (int (*)())clog10f;
20426 if ac_fn_c_try_link
"$LINENO"; then :
20427 gcc_cv_math_func_clog10f
=yes
20429 gcc_cv_math_func_clog10f
=no
20431 rm -f core conftest.err conftest.
$ac_objext \
20432 conftest
$ac_exeext conftest.
$ac_ext
20434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20435 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
20436 if test $gcc_cv_math_func_clog10f = yes; then
20438 cat >>confdefs.h
<<_ACEOF
20439 #define HAVE_CLOG10F 1
20447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20448 $as_echo_n "checking for clog10... " >&6; }
20449 if test "${gcc_cv_math_func_clog10+set}" = set; then :
20450 $as_echo_n "(cached) " >&6
20452 if test x
$gcc_no_link = xyes
; then
20453 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20456 /* end confdefs.h. */
20458 #ifdef HAVE_COMPLEX_H
20459 #include <complex.h>
20465 int (*ptr)() = (int (*)())clog10;
20474 if ac_fn_c_try_link
"$LINENO"; then :
20475 gcc_cv_math_func_clog10
=yes
20477 gcc_cv_math_func_clog10
=no
20479 rm -f core conftest.err conftest.
$ac_objext \
20480 conftest
$ac_exeext conftest.
$ac_ext
20482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20483 $as_echo "$gcc_cv_math_func_clog10" >&6; }
20484 if test $gcc_cv_math_func_clog10 = yes; then
20486 cat >>confdefs.h
<<_ACEOF
20487 #define HAVE_CLOG10 1
20495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20496 $as_echo_n "checking for clog10l... " >&6; }
20497 if test "${gcc_cv_math_func_clog10l+set}" = set; then :
20498 $as_echo_n "(cached) " >&6
20500 if test x
$gcc_no_link = xyes
; then
20501 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20504 /* end confdefs.h. */
20506 #ifdef HAVE_COMPLEX_H
20507 #include <complex.h>
20513 int (*ptr)() = (int (*)())clog10l;
20522 if ac_fn_c_try_link
"$LINENO"; then :
20523 gcc_cv_math_func_clog10l
=yes
20525 gcc_cv_math_func_clog10l
=no
20527 rm -f core conftest.err conftest.
$ac_objext \
20528 conftest
$ac_exeext conftest.
$ac_ext
20530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20531 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
20532 if test $gcc_cv_math_func_clog10l = yes; then
20534 cat >>confdefs.h
<<_ACEOF
20535 #define HAVE_CLOG10L 1
20543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20544 $as_echo_n "checking for nextafterf... " >&6; }
20545 if test "${gcc_cv_math_func_nextafterf+set}" = set; then :
20546 $as_echo_n "(cached) " >&6
20548 if test x
$gcc_no_link = xyes
; then
20549 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20552 /* end confdefs.h. */
20554 #ifdef HAVE_COMPLEX_H
20555 #include <complex.h>
20561 int (*ptr)() = (int (*)())nextafterf;
20570 if ac_fn_c_try_link
"$LINENO"; then :
20571 gcc_cv_math_func_nextafterf
=yes
20573 gcc_cv_math_func_nextafterf
=no
20575 rm -f core conftest.err conftest.
$ac_objext \
20576 conftest
$ac_exeext conftest.
$ac_ext
20578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
20579 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
20580 if test $gcc_cv_math_func_nextafterf = yes; then
20582 cat >>confdefs.h
<<_ACEOF
20583 #define HAVE_NEXTAFTERF 1
20591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
20592 $as_echo_n "checking for nextafter... " >&6; }
20593 if test "${gcc_cv_math_func_nextafter+set}" = set; then :
20594 $as_echo_n "(cached) " >&6
20596 if test x
$gcc_no_link = xyes
; then
20597 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20600 /* end confdefs.h. */
20602 #ifdef HAVE_COMPLEX_H
20603 #include <complex.h>
20609 int (*ptr)() = (int (*)())nextafter;
20618 if ac_fn_c_try_link
"$LINENO"; then :
20619 gcc_cv_math_func_nextafter
=yes
20621 gcc_cv_math_func_nextafter
=no
20623 rm -f core conftest.err conftest.
$ac_objext \
20624 conftest
$ac_exeext conftest.
$ac_ext
20626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
20627 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
20628 if test $gcc_cv_math_func_nextafter = yes; then
20630 cat >>confdefs.h
<<_ACEOF
20631 #define HAVE_NEXTAFTER 1
20639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
20640 $as_echo_n "checking for nextafterl... " >&6; }
20641 if test "${gcc_cv_math_func_nextafterl+set}" = set; then :
20642 $as_echo_n "(cached) " >&6
20644 if test x
$gcc_no_link = xyes
; then
20645 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20648 /* end confdefs.h. */
20650 #ifdef HAVE_COMPLEX_H
20651 #include <complex.h>
20657 int (*ptr)() = (int (*)())nextafterl;
20666 if ac_fn_c_try_link
"$LINENO"; then :
20667 gcc_cv_math_func_nextafterl
=yes
20669 gcc_cv_math_func_nextafterl
=no
20671 rm -f core conftest.err conftest.
$ac_objext \
20672 conftest
$ac_exeext conftest.
$ac_ext
20674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
20675 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
20676 if test $gcc_cv_math_func_nextafterl = yes; then
20678 cat >>confdefs.h
<<_ACEOF
20679 #define HAVE_NEXTAFTERL 1
20687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
20688 $as_echo_n "checking for powf... " >&6; }
20689 if test "${gcc_cv_math_func_powf+set}" = set; then :
20690 $as_echo_n "(cached) " >&6
20692 if test x
$gcc_no_link = xyes
; then
20693 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20696 /* end confdefs.h. */
20698 #ifdef HAVE_COMPLEX_H
20699 #include <complex.h>
20705 int (*ptr)() = (int (*)())powf;
20714 if ac_fn_c_try_link
"$LINENO"; then :
20715 gcc_cv_math_func_powf
=yes
20717 gcc_cv_math_func_powf
=no
20719 rm -f core conftest.err conftest.
$ac_objext \
20720 conftest
$ac_exeext conftest.
$ac_ext
20722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
20723 $as_echo "$gcc_cv_math_func_powf" >&6; }
20724 if test $gcc_cv_math_func_powf = yes; then
20726 cat >>confdefs.h
<<_ACEOF
20727 #define HAVE_POWF 1
20735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
20736 $as_echo_n "checking for pow... " >&6; }
20737 if test "${gcc_cv_math_func_pow+set}" = set; then :
20738 $as_echo_n "(cached) " >&6
20740 if test x
$gcc_no_link = xyes
; then
20741 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20744 /* end confdefs.h. */
20746 #ifdef HAVE_COMPLEX_H
20747 #include <complex.h>
20753 int (*ptr)() = (int (*)())pow;
20762 if ac_fn_c_try_link
"$LINENO"; then :
20763 gcc_cv_math_func_pow
=yes
20765 gcc_cv_math_func_pow
=no
20767 rm -f core conftest.err conftest.
$ac_objext \
20768 conftest
$ac_exeext conftest.
$ac_ext
20770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
20771 $as_echo "$gcc_cv_math_func_pow" >&6; }
20772 if test $gcc_cv_math_func_pow = yes; then
20774 cat >>confdefs.h
<<_ACEOF
20783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl" >&5
20784 $as_echo_n "checking for powl... " >&6; }
20785 if test "${gcc_cv_math_func_powl+set}" = set; then :
20786 $as_echo_n "(cached) " >&6
20788 if test x
$gcc_no_link = xyes
; then
20789 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20792 /* end confdefs.h. */
20794 #ifdef HAVE_COMPLEX_H
20795 #include <complex.h>
20801 int (*ptr)() = (int (*)())powl;
20810 if ac_fn_c_try_link
"$LINENO"; then :
20811 gcc_cv_math_func_powl
=yes
20813 gcc_cv_math_func_powl
=no
20815 rm -f core conftest.err conftest.
$ac_objext \
20816 conftest
$ac_exeext conftest.
$ac_ext
20818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powl" >&5
20819 $as_echo "$gcc_cv_math_func_powl" >&6; }
20820 if test $gcc_cv_math_func_powl = yes; then
20822 cat >>confdefs.h
<<_ACEOF
20823 #define HAVE_POWL 1
20831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
20832 $as_echo_n "checking for cpowf... " >&6; }
20833 if test "${gcc_cv_math_func_cpowf+set}" = set; then :
20834 $as_echo_n "(cached) " >&6
20836 if test x
$gcc_no_link = xyes
; then
20837 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20840 /* end confdefs.h. */
20842 #ifdef HAVE_COMPLEX_H
20843 #include <complex.h>
20849 int (*ptr)() = (int (*)())cpowf;
20858 if ac_fn_c_try_link
"$LINENO"; then :
20859 gcc_cv_math_func_cpowf
=yes
20861 gcc_cv_math_func_cpowf
=no
20863 rm -f core conftest.err conftest.
$ac_objext \
20864 conftest
$ac_exeext conftest.
$ac_ext
20866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
20867 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
20868 if test $gcc_cv_math_func_cpowf = yes; then
20870 cat >>confdefs.h
<<_ACEOF
20871 #define HAVE_CPOWF 1
20879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
20880 $as_echo_n "checking for cpow... " >&6; }
20881 if test "${gcc_cv_math_func_cpow+set}" = set; then :
20882 $as_echo_n "(cached) " >&6
20884 if test x
$gcc_no_link = xyes
; then
20885 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20888 /* end confdefs.h. */
20890 #ifdef HAVE_COMPLEX_H
20891 #include <complex.h>
20897 int (*ptr)() = (int (*)())cpow;
20906 if ac_fn_c_try_link
"$LINENO"; then :
20907 gcc_cv_math_func_cpow
=yes
20909 gcc_cv_math_func_cpow
=no
20911 rm -f core conftest.err conftest.
$ac_objext \
20912 conftest
$ac_exeext conftest.
$ac_ext
20914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
20915 $as_echo "$gcc_cv_math_func_cpow" >&6; }
20916 if test $gcc_cv_math_func_cpow = yes; then
20918 cat >>confdefs.h
<<_ACEOF
20919 #define HAVE_CPOW 1
20927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
20928 $as_echo_n "checking for cpowl... " >&6; }
20929 if test "${gcc_cv_math_func_cpowl+set}" = set; then :
20930 $as_echo_n "(cached) " >&6
20932 if test x
$gcc_no_link = xyes
; then
20933 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20936 /* end confdefs.h. */
20938 #ifdef HAVE_COMPLEX_H
20939 #include <complex.h>
20945 int (*ptr)() = (int (*)())cpowl;
20954 if ac_fn_c_try_link
"$LINENO"; then :
20955 gcc_cv_math_func_cpowl
=yes
20957 gcc_cv_math_func_cpowl
=no
20959 rm -f core conftest.err conftest.
$ac_objext \
20960 conftest
$ac_exeext conftest.
$ac_ext
20962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
20963 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
20964 if test $gcc_cv_math_func_cpowl = yes; then
20966 cat >>confdefs.h
<<_ACEOF
20967 #define HAVE_CPOWL 1
20975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
20976 $as_echo_n "checking for roundf... " >&6; }
20977 if test "${gcc_cv_math_func_roundf+set}" = set; then :
20978 $as_echo_n "(cached) " >&6
20980 if test x
$gcc_no_link = xyes
; then
20981 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20984 /* end confdefs.h. */
20986 #ifdef HAVE_COMPLEX_H
20987 #include <complex.h>
20993 int (*ptr)() = (int (*)())roundf;
21002 if ac_fn_c_try_link
"$LINENO"; then :
21003 gcc_cv_math_func_roundf
=yes
21005 gcc_cv_math_func_roundf
=no
21007 rm -f core conftest.err conftest.
$ac_objext \
21008 conftest
$ac_exeext conftest.
$ac_ext
21010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21011 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21012 if test $gcc_cv_math_func_roundf = yes; then
21014 cat >>confdefs.h
<<_ACEOF
21015 #define HAVE_ROUNDF 1
21023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21024 $as_echo_n "checking for round... " >&6; }
21025 if test "${gcc_cv_math_func_round+set}" = set; then :
21026 $as_echo_n "(cached) " >&6
21028 if test x
$gcc_no_link = xyes
; then
21029 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21032 /* end confdefs.h. */
21034 #ifdef HAVE_COMPLEX_H
21035 #include <complex.h>
21041 int (*ptr)() = (int (*)())round;
21050 if ac_fn_c_try_link
"$LINENO"; then :
21051 gcc_cv_math_func_round
=yes
21053 gcc_cv_math_func_round
=no
21055 rm -f core conftest.err conftest.
$ac_objext \
21056 conftest
$ac_exeext conftest.
$ac_ext
21058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21059 $as_echo "$gcc_cv_math_func_round" >&6; }
21060 if test $gcc_cv_math_func_round = yes; then
21062 cat >>confdefs.h
<<_ACEOF
21063 #define HAVE_ROUND 1
21071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21072 $as_echo_n "checking for roundl... " >&6; }
21073 if test "${gcc_cv_math_func_roundl+set}" = set; then :
21074 $as_echo_n "(cached) " >&6
21076 if test x
$gcc_no_link = xyes
; then
21077 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21080 /* end confdefs.h. */
21082 #ifdef HAVE_COMPLEX_H
21083 #include <complex.h>
21089 int (*ptr)() = (int (*)())roundl;
21098 if ac_fn_c_try_link
"$LINENO"; then :
21099 gcc_cv_math_func_roundl
=yes
21101 gcc_cv_math_func_roundl
=no
21103 rm -f core conftest.err conftest.
$ac_objext \
21104 conftest
$ac_exeext conftest.
$ac_ext
21106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21107 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21108 if test $gcc_cv_math_func_roundl = yes; then
21110 cat >>confdefs.h
<<_ACEOF
21111 #define HAVE_ROUNDL 1
21119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21120 $as_echo_n "checking for lroundf... " >&6; }
21121 if test "${gcc_cv_math_func_lroundf+set}" = set; then :
21122 $as_echo_n "(cached) " >&6
21124 if test x
$gcc_no_link = xyes
; then
21125 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21128 /* end confdefs.h. */
21130 #ifdef HAVE_COMPLEX_H
21131 #include <complex.h>
21137 int (*ptr)() = (int (*)())lroundf;
21146 if ac_fn_c_try_link
"$LINENO"; then :
21147 gcc_cv_math_func_lroundf
=yes
21149 gcc_cv_math_func_lroundf
=no
21151 rm -f core conftest.err conftest.
$ac_objext \
21152 conftest
$ac_exeext conftest.
$ac_ext
21154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21155 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21156 if test $gcc_cv_math_func_lroundf = yes; then
21158 cat >>confdefs.h
<<_ACEOF
21159 #define HAVE_LROUNDF 1
21167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21168 $as_echo_n "checking for lround... " >&6; }
21169 if test "${gcc_cv_math_func_lround+set}" = set; then :
21170 $as_echo_n "(cached) " >&6
21172 if test x
$gcc_no_link = xyes
; then
21173 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21176 /* end confdefs.h. */
21178 #ifdef HAVE_COMPLEX_H
21179 #include <complex.h>
21185 int (*ptr)() = (int (*)())lround;
21194 if ac_fn_c_try_link
"$LINENO"; then :
21195 gcc_cv_math_func_lround
=yes
21197 gcc_cv_math_func_lround
=no
21199 rm -f core conftest.err conftest.
$ac_objext \
21200 conftest
$ac_exeext conftest.
$ac_ext
21202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21203 $as_echo "$gcc_cv_math_func_lround" >&6; }
21204 if test $gcc_cv_math_func_lround = yes; then
21206 cat >>confdefs.h
<<_ACEOF
21207 #define HAVE_LROUND 1
21215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21216 $as_echo_n "checking for lroundl... " >&6; }
21217 if test "${gcc_cv_math_func_lroundl+set}" = set; then :
21218 $as_echo_n "(cached) " >&6
21220 if test x
$gcc_no_link = xyes
; then
21221 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21224 /* end confdefs.h. */
21226 #ifdef HAVE_COMPLEX_H
21227 #include <complex.h>
21233 int (*ptr)() = (int (*)())lroundl;
21242 if ac_fn_c_try_link
"$LINENO"; then :
21243 gcc_cv_math_func_lroundl
=yes
21245 gcc_cv_math_func_lroundl
=no
21247 rm -f core conftest.err conftest.
$ac_objext \
21248 conftest
$ac_exeext conftest.
$ac_ext
21250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21251 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21252 if test $gcc_cv_math_func_lroundl = yes; then
21254 cat >>confdefs.h
<<_ACEOF
21255 #define HAVE_LROUNDL 1
21263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21264 $as_echo_n "checking for llroundf... " >&6; }
21265 if test "${gcc_cv_math_func_llroundf+set}" = set; then :
21266 $as_echo_n "(cached) " >&6
21268 if test x
$gcc_no_link = xyes
; then
21269 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21272 /* end confdefs.h. */
21274 #ifdef HAVE_COMPLEX_H
21275 #include <complex.h>
21281 int (*ptr)() = (int (*)())llroundf;
21290 if ac_fn_c_try_link
"$LINENO"; then :
21291 gcc_cv_math_func_llroundf
=yes
21293 gcc_cv_math_func_llroundf
=no
21295 rm -f core conftest.err conftest.
$ac_objext \
21296 conftest
$ac_exeext conftest.
$ac_ext
21298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21299 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21300 if test $gcc_cv_math_func_llroundf = yes; then
21302 cat >>confdefs.h
<<_ACEOF
21303 #define HAVE_LLROUNDF 1
21311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21312 $as_echo_n "checking for llround... " >&6; }
21313 if test "${gcc_cv_math_func_llround+set}" = set; then :
21314 $as_echo_n "(cached) " >&6
21316 if test x
$gcc_no_link = xyes
; then
21317 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21320 /* end confdefs.h. */
21322 #ifdef HAVE_COMPLEX_H
21323 #include <complex.h>
21329 int (*ptr)() = (int (*)())llround;
21338 if ac_fn_c_try_link
"$LINENO"; then :
21339 gcc_cv_math_func_llround
=yes
21341 gcc_cv_math_func_llround
=no
21343 rm -f core conftest.err conftest.
$ac_objext \
21344 conftest
$ac_exeext conftest.
$ac_ext
21346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21347 $as_echo "$gcc_cv_math_func_llround" >&6; }
21348 if test $gcc_cv_math_func_llround = yes; then
21350 cat >>confdefs.h
<<_ACEOF
21351 #define HAVE_LLROUND 1
21359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21360 $as_echo_n "checking for llroundl... " >&6; }
21361 if test "${gcc_cv_math_func_llroundl+set}" = set; then :
21362 $as_echo_n "(cached) " >&6
21364 if test x
$gcc_no_link = xyes
; then
21365 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21368 /* end confdefs.h. */
21370 #ifdef HAVE_COMPLEX_H
21371 #include <complex.h>
21377 int (*ptr)() = (int (*)())llroundl;
21386 if ac_fn_c_try_link
"$LINENO"; then :
21387 gcc_cv_math_func_llroundl
=yes
21389 gcc_cv_math_func_llroundl
=no
21391 rm -f core conftest.err conftest.
$ac_objext \
21392 conftest
$ac_exeext conftest.
$ac_ext
21394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21395 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21396 if test $gcc_cv_math_func_llroundl = yes; then
21398 cat >>confdefs.h
<<_ACEOF
21399 #define HAVE_LLROUNDL 1
21407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21408 $as_echo_n "checking for scalbnf... " >&6; }
21409 if test "${gcc_cv_math_func_scalbnf+set}" = set; then :
21410 $as_echo_n "(cached) " >&6
21412 if test x
$gcc_no_link = xyes
; then
21413 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21416 /* end confdefs.h. */
21418 #ifdef HAVE_COMPLEX_H
21419 #include <complex.h>
21425 int (*ptr)() = (int (*)())scalbnf;
21434 if ac_fn_c_try_link
"$LINENO"; then :
21435 gcc_cv_math_func_scalbnf
=yes
21437 gcc_cv_math_func_scalbnf
=no
21439 rm -f core conftest.err conftest.
$ac_objext \
21440 conftest
$ac_exeext conftest.
$ac_ext
21442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21443 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21444 if test $gcc_cv_math_func_scalbnf = yes; then
21446 cat >>confdefs.h
<<_ACEOF
21447 #define HAVE_SCALBNF 1
21455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21456 $as_echo_n "checking for scalbn... " >&6; }
21457 if test "${gcc_cv_math_func_scalbn+set}" = set; then :
21458 $as_echo_n "(cached) " >&6
21460 if test x
$gcc_no_link = xyes
; then
21461 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21464 /* end confdefs.h. */
21466 #ifdef HAVE_COMPLEX_H
21467 #include <complex.h>
21473 int (*ptr)() = (int (*)())scalbn;
21482 if ac_fn_c_try_link
"$LINENO"; then :
21483 gcc_cv_math_func_scalbn
=yes
21485 gcc_cv_math_func_scalbn
=no
21487 rm -f core conftest.err conftest.
$ac_objext \
21488 conftest
$ac_exeext conftest.
$ac_ext
21490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21491 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
21492 if test $gcc_cv_math_func_scalbn = yes; then
21494 cat >>confdefs.h
<<_ACEOF
21495 #define HAVE_SCALBN 1
21503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21504 $as_echo_n "checking for scalbnl... " >&6; }
21505 if test "${gcc_cv_math_func_scalbnl+set}" = set; then :
21506 $as_echo_n "(cached) " >&6
21508 if test x
$gcc_no_link = xyes
; then
21509 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21512 /* end confdefs.h. */
21514 #ifdef HAVE_COMPLEX_H
21515 #include <complex.h>
21521 int (*ptr)() = (int (*)())scalbnl;
21530 if ac_fn_c_try_link
"$LINENO"; then :
21531 gcc_cv_math_func_scalbnl
=yes
21533 gcc_cv_math_func_scalbnl
=no
21535 rm -f core conftest.err conftest.
$ac_objext \
21536 conftest
$ac_exeext conftest.
$ac_ext
21538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21539 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21540 if test $gcc_cv_math_func_scalbnl = yes; then
21542 cat >>confdefs.h
<<_ACEOF
21543 #define HAVE_SCALBNL 1
21551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21552 $as_echo_n "checking for sinf... " >&6; }
21553 if test "${gcc_cv_math_func_sinf+set}" = set; then :
21554 $as_echo_n "(cached) " >&6
21556 if test x
$gcc_no_link = xyes
; then
21557 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21560 /* end confdefs.h. */
21562 #ifdef HAVE_COMPLEX_H
21563 #include <complex.h>
21569 int (*ptr)() = (int (*)())sinf;
21578 if ac_fn_c_try_link
"$LINENO"; then :
21579 gcc_cv_math_func_sinf
=yes
21581 gcc_cv_math_func_sinf
=no
21583 rm -f core conftest.err conftest.
$ac_objext \
21584 conftest
$ac_exeext conftest.
$ac_ext
21586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21587 $as_echo "$gcc_cv_math_func_sinf" >&6; }
21588 if test $gcc_cv_math_func_sinf = yes; then
21590 cat >>confdefs.h
<<_ACEOF
21591 #define HAVE_SINF 1
21599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21600 $as_echo_n "checking for sin... " >&6; }
21601 if test "${gcc_cv_math_func_sin+set}" = set; then :
21602 $as_echo_n "(cached) " >&6
21604 if test x
$gcc_no_link = xyes
; then
21605 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21608 /* end confdefs.h. */
21610 #ifdef HAVE_COMPLEX_H
21611 #include <complex.h>
21617 int (*ptr)() = (int (*)())sin;
21626 if ac_fn_c_try_link
"$LINENO"; then :
21627 gcc_cv_math_func_sin
=yes
21629 gcc_cv_math_func_sin
=no
21631 rm -f core conftest.err conftest.
$ac_objext \
21632 conftest
$ac_exeext conftest.
$ac_ext
21634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
21635 $as_echo "$gcc_cv_math_func_sin" >&6; }
21636 if test $gcc_cv_math_func_sin = yes; then
21638 cat >>confdefs.h
<<_ACEOF
21647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
21648 $as_echo_n "checking for sinl... " >&6; }
21649 if test "${gcc_cv_math_func_sinl+set}" = set; then :
21650 $as_echo_n "(cached) " >&6
21652 if test x
$gcc_no_link = xyes
; then
21653 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21656 /* end confdefs.h. */
21658 #ifdef HAVE_COMPLEX_H
21659 #include <complex.h>
21665 int (*ptr)() = (int (*)())sinl;
21674 if ac_fn_c_try_link
"$LINENO"; then :
21675 gcc_cv_math_func_sinl
=yes
21677 gcc_cv_math_func_sinl
=no
21679 rm -f core conftest.err conftest.
$ac_objext \
21680 conftest
$ac_exeext conftest.
$ac_ext
21682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
21683 $as_echo "$gcc_cv_math_func_sinl" >&6; }
21684 if test $gcc_cv_math_func_sinl = yes; then
21686 cat >>confdefs.h
<<_ACEOF
21687 #define HAVE_SINL 1
21695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
21696 $as_echo_n "checking for csinf... " >&6; }
21697 if test "${gcc_cv_math_func_csinf+set}" = set; then :
21698 $as_echo_n "(cached) " >&6
21700 if test x
$gcc_no_link = xyes
; then
21701 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21704 /* end confdefs.h. */
21706 #ifdef HAVE_COMPLEX_H
21707 #include <complex.h>
21713 int (*ptr)() = (int (*)())csinf;
21722 if ac_fn_c_try_link
"$LINENO"; then :
21723 gcc_cv_math_func_csinf
=yes
21725 gcc_cv_math_func_csinf
=no
21727 rm -f core conftest.err conftest.
$ac_objext \
21728 conftest
$ac_exeext conftest.
$ac_ext
21730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
21731 $as_echo "$gcc_cv_math_func_csinf" >&6; }
21732 if test $gcc_cv_math_func_csinf = yes; then
21734 cat >>confdefs.h
<<_ACEOF
21735 #define HAVE_CSINF 1
21743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
21744 $as_echo_n "checking for csin... " >&6; }
21745 if test "${gcc_cv_math_func_csin+set}" = set; then :
21746 $as_echo_n "(cached) " >&6
21748 if test x
$gcc_no_link = xyes
; then
21749 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21752 /* end confdefs.h. */
21754 #ifdef HAVE_COMPLEX_H
21755 #include <complex.h>
21761 int (*ptr)() = (int (*)())csin;
21770 if ac_fn_c_try_link
"$LINENO"; then :
21771 gcc_cv_math_func_csin
=yes
21773 gcc_cv_math_func_csin
=no
21775 rm -f core conftest.err conftest.
$ac_objext \
21776 conftest
$ac_exeext conftest.
$ac_ext
21778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
21779 $as_echo "$gcc_cv_math_func_csin" >&6; }
21780 if test $gcc_cv_math_func_csin = yes; then
21782 cat >>confdefs.h
<<_ACEOF
21783 #define HAVE_CSIN 1
21791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
21792 $as_echo_n "checking for csinl... " >&6; }
21793 if test "${gcc_cv_math_func_csinl+set}" = set; then :
21794 $as_echo_n "(cached) " >&6
21796 if test x
$gcc_no_link = xyes
; then
21797 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21800 /* end confdefs.h. */
21802 #ifdef HAVE_COMPLEX_H
21803 #include <complex.h>
21809 int (*ptr)() = (int (*)())csinl;
21818 if ac_fn_c_try_link
"$LINENO"; then :
21819 gcc_cv_math_func_csinl
=yes
21821 gcc_cv_math_func_csinl
=no
21823 rm -f core conftest.err conftest.
$ac_objext \
21824 conftest
$ac_exeext conftest.
$ac_ext
21826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
21827 $as_echo "$gcc_cv_math_func_csinl" >&6; }
21828 if test $gcc_cv_math_func_csinl = yes; then
21830 cat >>confdefs.h
<<_ACEOF
21831 #define HAVE_CSINL 1
21839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
21840 $as_echo_n "checking for sinhf... " >&6; }
21841 if test "${gcc_cv_math_func_sinhf+set}" = set; then :
21842 $as_echo_n "(cached) " >&6
21844 if test x
$gcc_no_link = xyes
; then
21845 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21848 /* end confdefs.h. */
21850 #ifdef HAVE_COMPLEX_H
21851 #include <complex.h>
21857 int (*ptr)() = (int (*)())sinhf;
21866 if ac_fn_c_try_link
"$LINENO"; then :
21867 gcc_cv_math_func_sinhf
=yes
21869 gcc_cv_math_func_sinhf
=no
21871 rm -f core conftest.err conftest.
$ac_objext \
21872 conftest
$ac_exeext conftest.
$ac_ext
21874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
21875 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
21876 if test $gcc_cv_math_func_sinhf = yes; then
21878 cat >>confdefs.h
<<_ACEOF
21879 #define HAVE_SINHF 1
21887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
21888 $as_echo_n "checking for sinh... " >&6; }
21889 if test "${gcc_cv_math_func_sinh+set}" = set; then :
21890 $as_echo_n "(cached) " >&6
21892 if test x
$gcc_no_link = xyes
; then
21893 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21896 /* end confdefs.h. */
21898 #ifdef HAVE_COMPLEX_H
21899 #include <complex.h>
21905 int (*ptr)() = (int (*)())sinh;
21914 if ac_fn_c_try_link
"$LINENO"; then :
21915 gcc_cv_math_func_sinh
=yes
21917 gcc_cv_math_func_sinh
=no
21919 rm -f core conftest.err conftest.
$ac_objext \
21920 conftest
$ac_exeext conftest.
$ac_ext
21922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
21923 $as_echo "$gcc_cv_math_func_sinh" >&6; }
21924 if test $gcc_cv_math_func_sinh = yes; then
21926 cat >>confdefs.h
<<_ACEOF
21927 #define HAVE_SINH 1
21935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
21936 $as_echo_n "checking for sinhl... " >&6; }
21937 if test "${gcc_cv_math_func_sinhl+set}" = set; then :
21938 $as_echo_n "(cached) " >&6
21940 if test x
$gcc_no_link = xyes
; then
21941 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21944 /* end confdefs.h. */
21946 #ifdef HAVE_COMPLEX_H
21947 #include <complex.h>
21953 int (*ptr)() = (int (*)())sinhl;
21962 if ac_fn_c_try_link
"$LINENO"; then :
21963 gcc_cv_math_func_sinhl
=yes
21965 gcc_cv_math_func_sinhl
=no
21967 rm -f core conftest.err conftest.
$ac_objext \
21968 conftest
$ac_exeext conftest.
$ac_ext
21970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
21971 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
21972 if test $gcc_cv_math_func_sinhl = yes; then
21974 cat >>confdefs.h
<<_ACEOF
21975 #define HAVE_SINHL 1
21983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
21984 $as_echo_n "checking for csinhf... " >&6; }
21985 if test "${gcc_cv_math_func_csinhf+set}" = set; then :
21986 $as_echo_n "(cached) " >&6
21988 if test x
$gcc_no_link = xyes
; then
21989 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21992 /* end confdefs.h. */
21994 #ifdef HAVE_COMPLEX_H
21995 #include <complex.h>
22001 int (*ptr)() = (int (*)())csinhf;
22010 if ac_fn_c_try_link
"$LINENO"; then :
22011 gcc_cv_math_func_csinhf
=yes
22013 gcc_cv_math_func_csinhf
=no
22015 rm -f core conftest.err conftest.
$ac_objext \
22016 conftest
$ac_exeext conftest.
$ac_ext
22018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22019 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22020 if test $gcc_cv_math_func_csinhf = yes; then
22022 cat >>confdefs.h
<<_ACEOF
22023 #define HAVE_CSINHF 1
22031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22032 $as_echo_n "checking for csinh... " >&6; }
22033 if test "${gcc_cv_math_func_csinh+set}" = set; then :
22034 $as_echo_n "(cached) " >&6
22036 if test x
$gcc_no_link = xyes
; then
22037 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22040 /* end confdefs.h. */
22042 #ifdef HAVE_COMPLEX_H
22043 #include <complex.h>
22049 int (*ptr)() = (int (*)())csinh;
22058 if ac_fn_c_try_link
"$LINENO"; then :
22059 gcc_cv_math_func_csinh
=yes
22061 gcc_cv_math_func_csinh
=no
22063 rm -f core conftest.err conftest.
$ac_objext \
22064 conftest
$ac_exeext conftest.
$ac_ext
22066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22067 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22068 if test $gcc_cv_math_func_csinh = yes; then
22070 cat >>confdefs.h
<<_ACEOF
22071 #define HAVE_CSINH 1
22079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22080 $as_echo_n "checking for csinhl... " >&6; }
22081 if test "${gcc_cv_math_func_csinhl+set}" = set; then :
22082 $as_echo_n "(cached) " >&6
22084 if test x
$gcc_no_link = xyes
; then
22085 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22088 /* end confdefs.h. */
22090 #ifdef HAVE_COMPLEX_H
22091 #include <complex.h>
22097 int (*ptr)() = (int (*)())csinhl;
22106 if ac_fn_c_try_link
"$LINENO"; then :
22107 gcc_cv_math_func_csinhl
=yes
22109 gcc_cv_math_func_csinhl
=no
22111 rm -f core conftest.err conftest.
$ac_objext \
22112 conftest
$ac_exeext conftest.
$ac_ext
22114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22115 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22116 if test $gcc_cv_math_func_csinhl = yes; then
22118 cat >>confdefs.h
<<_ACEOF
22119 #define HAVE_CSINHL 1
22127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22128 $as_echo_n "checking for sqrtf... " >&6; }
22129 if test "${gcc_cv_math_func_sqrtf+set}" = set; then :
22130 $as_echo_n "(cached) " >&6
22132 if test x
$gcc_no_link = xyes
; then
22133 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22136 /* end confdefs.h. */
22138 #ifdef HAVE_COMPLEX_H
22139 #include <complex.h>
22145 int (*ptr)() = (int (*)())sqrtf;
22154 if ac_fn_c_try_link
"$LINENO"; then :
22155 gcc_cv_math_func_sqrtf
=yes
22157 gcc_cv_math_func_sqrtf
=no
22159 rm -f core conftest.err conftest.
$ac_objext \
22160 conftest
$ac_exeext conftest.
$ac_ext
22162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22163 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22164 if test $gcc_cv_math_func_sqrtf = yes; then
22166 cat >>confdefs.h
<<_ACEOF
22167 #define HAVE_SQRTF 1
22175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22176 $as_echo_n "checking for sqrt... " >&6; }
22177 if test "${gcc_cv_math_func_sqrt+set}" = set; then :
22178 $as_echo_n "(cached) " >&6
22180 if test x
$gcc_no_link = xyes
; then
22181 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22184 /* end confdefs.h. */
22186 #ifdef HAVE_COMPLEX_H
22187 #include <complex.h>
22193 int (*ptr)() = (int (*)())sqrt;
22202 if ac_fn_c_try_link
"$LINENO"; then :
22203 gcc_cv_math_func_sqrt
=yes
22205 gcc_cv_math_func_sqrt
=no
22207 rm -f core conftest.err conftest.
$ac_objext \
22208 conftest
$ac_exeext conftest.
$ac_ext
22210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22211 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22212 if test $gcc_cv_math_func_sqrt = yes; then
22214 cat >>confdefs.h
<<_ACEOF
22215 #define HAVE_SQRT 1
22223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22224 $as_echo_n "checking for sqrtl... " >&6; }
22225 if test "${gcc_cv_math_func_sqrtl+set}" = set; then :
22226 $as_echo_n "(cached) " >&6
22228 if test x
$gcc_no_link = xyes
; then
22229 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22232 /* end confdefs.h. */
22234 #ifdef HAVE_COMPLEX_H
22235 #include <complex.h>
22241 int (*ptr)() = (int (*)())sqrtl;
22250 if ac_fn_c_try_link
"$LINENO"; then :
22251 gcc_cv_math_func_sqrtl
=yes
22253 gcc_cv_math_func_sqrtl
=no
22255 rm -f core conftest.err conftest.
$ac_objext \
22256 conftest
$ac_exeext conftest.
$ac_ext
22258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22259 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22260 if test $gcc_cv_math_func_sqrtl = yes; then
22262 cat >>confdefs.h
<<_ACEOF
22263 #define HAVE_SQRTL 1
22271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22272 $as_echo_n "checking for csqrtf... " >&6; }
22273 if test "${gcc_cv_math_func_csqrtf+set}" = set; then :
22274 $as_echo_n "(cached) " >&6
22276 if test x
$gcc_no_link = xyes
; then
22277 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22280 /* end confdefs.h. */
22282 #ifdef HAVE_COMPLEX_H
22283 #include <complex.h>
22289 int (*ptr)() = (int (*)())csqrtf;
22298 if ac_fn_c_try_link
"$LINENO"; then :
22299 gcc_cv_math_func_csqrtf
=yes
22301 gcc_cv_math_func_csqrtf
=no
22303 rm -f core conftest.err conftest.
$ac_objext \
22304 conftest
$ac_exeext conftest.
$ac_ext
22306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22307 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22308 if test $gcc_cv_math_func_csqrtf = yes; then
22310 cat >>confdefs.h
<<_ACEOF
22311 #define HAVE_CSQRTF 1
22319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22320 $as_echo_n "checking for csqrt... " >&6; }
22321 if test "${gcc_cv_math_func_csqrt+set}" = set; then :
22322 $as_echo_n "(cached) " >&6
22324 if test x
$gcc_no_link = xyes
; then
22325 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22328 /* end confdefs.h. */
22330 #ifdef HAVE_COMPLEX_H
22331 #include <complex.h>
22337 int (*ptr)() = (int (*)())csqrt;
22346 if ac_fn_c_try_link
"$LINENO"; then :
22347 gcc_cv_math_func_csqrt
=yes
22349 gcc_cv_math_func_csqrt
=no
22351 rm -f core conftest.err conftest.
$ac_objext \
22352 conftest
$ac_exeext conftest.
$ac_ext
22354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22355 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22356 if test $gcc_cv_math_func_csqrt = yes; then
22358 cat >>confdefs.h
<<_ACEOF
22359 #define HAVE_CSQRT 1
22367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22368 $as_echo_n "checking for csqrtl... " >&6; }
22369 if test "${gcc_cv_math_func_csqrtl+set}" = set; then :
22370 $as_echo_n "(cached) " >&6
22372 if test x
$gcc_no_link = xyes
; then
22373 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22376 /* end confdefs.h. */
22378 #ifdef HAVE_COMPLEX_H
22379 #include <complex.h>
22385 int (*ptr)() = (int (*)())csqrtl;
22394 if ac_fn_c_try_link
"$LINENO"; then :
22395 gcc_cv_math_func_csqrtl
=yes
22397 gcc_cv_math_func_csqrtl
=no
22399 rm -f core conftest.err conftest.
$ac_objext \
22400 conftest
$ac_exeext conftest.
$ac_ext
22402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22403 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22404 if test $gcc_cv_math_func_csqrtl = yes; then
22406 cat >>confdefs.h
<<_ACEOF
22407 #define HAVE_CSQRTL 1
22415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22416 $as_echo_n "checking for tanf... " >&6; }
22417 if test "${gcc_cv_math_func_tanf+set}" = set; then :
22418 $as_echo_n "(cached) " >&6
22420 if test x
$gcc_no_link = xyes
; then
22421 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22424 /* end confdefs.h. */
22426 #ifdef HAVE_COMPLEX_H
22427 #include <complex.h>
22433 int (*ptr)() = (int (*)())tanf;
22442 if ac_fn_c_try_link
"$LINENO"; then :
22443 gcc_cv_math_func_tanf
=yes
22445 gcc_cv_math_func_tanf
=no
22447 rm -f core conftest.err conftest.
$ac_objext \
22448 conftest
$ac_exeext conftest.
$ac_ext
22450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22451 $as_echo "$gcc_cv_math_func_tanf" >&6; }
22452 if test $gcc_cv_math_func_tanf = yes; then
22454 cat >>confdefs.h
<<_ACEOF
22455 #define HAVE_TANF 1
22463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22464 $as_echo_n "checking for tan... " >&6; }
22465 if test "${gcc_cv_math_func_tan+set}" = set; then :
22466 $as_echo_n "(cached) " >&6
22468 if test x
$gcc_no_link = xyes
; then
22469 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22472 /* end confdefs.h. */
22474 #ifdef HAVE_COMPLEX_H
22475 #include <complex.h>
22481 int (*ptr)() = (int (*)())tan;
22490 if ac_fn_c_try_link
"$LINENO"; then :
22491 gcc_cv_math_func_tan
=yes
22493 gcc_cv_math_func_tan
=no
22495 rm -f core conftest.err conftest.
$ac_objext \
22496 conftest
$ac_exeext conftest.
$ac_ext
22498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22499 $as_echo "$gcc_cv_math_func_tan" >&6; }
22500 if test $gcc_cv_math_func_tan = yes; then
22502 cat >>confdefs.h
<<_ACEOF
22511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22512 $as_echo_n "checking for tanl... " >&6; }
22513 if test "${gcc_cv_math_func_tanl+set}" = set; then :
22514 $as_echo_n "(cached) " >&6
22516 if test x
$gcc_no_link = xyes
; then
22517 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22520 /* end confdefs.h. */
22522 #ifdef HAVE_COMPLEX_H
22523 #include <complex.h>
22529 int (*ptr)() = (int (*)())tanl;
22538 if ac_fn_c_try_link
"$LINENO"; then :
22539 gcc_cv_math_func_tanl
=yes
22541 gcc_cv_math_func_tanl
=no
22543 rm -f core conftest.err conftest.
$ac_objext \
22544 conftest
$ac_exeext conftest.
$ac_ext
22546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22547 $as_echo "$gcc_cv_math_func_tanl" >&6; }
22548 if test $gcc_cv_math_func_tanl = yes; then
22550 cat >>confdefs.h
<<_ACEOF
22551 #define HAVE_TANL 1
22559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22560 $as_echo_n "checking for ctanf... " >&6; }
22561 if test "${gcc_cv_math_func_ctanf+set}" = set; then :
22562 $as_echo_n "(cached) " >&6
22564 if test x
$gcc_no_link = xyes
; then
22565 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22568 /* end confdefs.h. */
22570 #ifdef HAVE_COMPLEX_H
22571 #include <complex.h>
22577 int (*ptr)() = (int (*)())ctanf;
22586 if ac_fn_c_try_link
"$LINENO"; then :
22587 gcc_cv_math_func_ctanf
=yes
22589 gcc_cv_math_func_ctanf
=no
22591 rm -f core conftest.err conftest.
$ac_objext \
22592 conftest
$ac_exeext conftest.
$ac_ext
22594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22595 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
22596 if test $gcc_cv_math_func_ctanf = yes; then
22598 cat >>confdefs.h
<<_ACEOF
22599 #define HAVE_CTANF 1
22607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22608 $as_echo_n "checking for ctan... " >&6; }
22609 if test "${gcc_cv_math_func_ctan+set}" = set; then :
22610 $as_echo_n "(cached) " >&6
22612 if test x
$gcc_no_link = xyes
; then
22613 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22616 /* end confdefs.h. */
22618 #ifdef HAVE_COMPLEX_H
22619 #include <complex.h>
22625 int (*ptr)() = (int (*)())ctan;
22634 if ac_fn_c_try_link
"$LINENO"; then :
22635 gcc_cv_math_func_ctan
=yes
22637 gcc_cv_math_func_ctan
=no
22639 rm -f core conftest.err conftest.
$ac_objext \
22640 conftest
$ac_exeext conftest.
$ac_ext
22642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
22643 $as_echo "$gcc_cv_math_func_ctan" >&6; }
22644 if test $gcc_cv_math_func_ctan = yes; then
22646 cat >>confdefs.h
<<_ACEOF
22647 #define HAVE_CTAN 1
22655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
22656 $as_echo_n "checking for ctanl... " >&6; }
22657 if test "${gcc_cv_math_func_ctanl+set}" = set; then :
22658 $as_echo_n "(cached) " >&6
22660 if test x
$gcc_no_link = xyes
; then
22661 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22664 /* end confdefs.h. */
22666 #ifdef HAVE_COMPLEX_H
22667 #include <complex.h>
22673 int (*ptr)() = (int (*)())ctanl;
22682 if ac_fn_c_try_link
"$LINENO"; then :
22683 gcc_cv_math_func_ctanl
=yes
22685 gcc_cv_math_func_ctanl
=no
22687 rm -f core conftest.err conftest.
$ac_objext \
22688 conftest
$ac_exeext conftest.
$ac_ext
22690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
22691 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
22692 if test $gcc_cv_math_func_ctanl = yes; then
22694 cat >>confdefs.h
<<_ACEOF
22695 #define HAVE_CTANL 1
22703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
22704 $as_echo_n "checking for tanhf... " >&6; }
22705 if test "${gcc_cv_math_func_tanhf+set}" = set; then :
22706 $as_echo_n "(cached) " >&6
22708 if test x
$gcc_no_link = xyes
; then
22709 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22712 /* end confdefs.h. */
22714 #ifdef HAVE_COMPLEX_H
22715 #include <complex.h>
22721 int (*ptr)() = (int (*)())tanhf;
22730 if ac_fn_c_try_link
"$LINENO"; then :
22731 gcc_cv_math_func_tanhf
=yes
22733 gcc_cv_math_func_tanhf
=no
22735 rm -f core conftest.err conftest.
$ac_objext \
22736 conftest
$ac_exeext conftest.
$ac_ext
22738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
22739 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
22740 if test $gcc_cv_math_func_tanhf = yes; then
22742 cat >>confdefs.h
<<_ACEOF
22743 #define HAVE_TANHF 1
22751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
22752 $as_echo_n "checking for tanh... " >&6; }
22753 if test "${gcc_cv_math_func_tanh+set}" = set; then :
22754 $as_echo_n "(cached) " >&6
22756 if test x
$gcc_no_link = xyes
; then
22757 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22760 /* end confdefs.h. */
22762 #ifdef HAVE_COMPLEX_H
22763 #include <complex.h>
22769 int (*ptr)() = (int (*)())tanh;
22778 if ac_fn_c_try_link
"$LINENO"; then :
22779 gcc_cv_math_func_tanh
=yes
22781 gcc_cv_math_func_tanh
=no
22783 rm -f core conftest.err conftest.
$ac_objext \
22784 conftest
$ac_exeext conftest.
$ac_ext
22786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
22787 $as_echo "$gcc_cv_math_func_tanh" >&6; }
22788 if test $gcc_cv_math_func_tanh = yes; then
22790 cat >>confdefs.h
<<_ACEOF
22791 #define HAVE_TANH 1
22799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
22800 $as_echo_n "checking for tanhl... " >&6; }
22801 if test "${gcc_cv_math_func_tanhl+set}" = set; then :
22802 $as_echo_n "(cached) " >&6
22804 if test x
$gcc_no_link = xyes
; then
22805 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22808 /* end confdefs.h. */
22810 #ifdef HAVE_COMPLEX_H
22811 #include <complex.h>
22817 int (*ptr)() = (int (*)())tanhl;
22826 if ac_fn_c_try_link
"$LINENO"; then :
22827 gcc_cv_math_func_tanhl
=yes
22829 gcc_cv_math_func_tanhl
=no
22831 rm -f core conftest.err conftest.
$ac_objext \
22832 conftest
$ac_exeext conftest.
$ac_ext
22834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
22835 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
22836 if test $gcc_cv_math_func_tanhl = yes; then
22838 cat >>confdefs.h
<<_ACEOF
22839 #define HAVE_TANHL 1
22847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
22848 $as_echo_n "checking for ctanhf... " >&6; }
22849 if test "${gcc_cv_math_func_ctanhf+set}" = set; then :
22850 $as_echo_n "(cached) " >&6
22852 if test x
$gcc_no_link = xyes
; then
22853 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22856 /* end confdefs.h. */
22858 #ifdef HAVE_COMPLEX_H
22859 #include <complex.h>
22865 int (*ptr)() = (int (*)())ctanhf;
22874 if ac_fn_c_try_link
"$LINENO"; then :
22875 gcc_cv_math_func_ctanhf
=yes
22877 gcc_cv_math_func_ctanhf
=no
22879 rm -f core conftest.err conftest.
$ac_objext \
22880 conftest
$ac_exeext conftest.
$ac_ext
22882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
22883 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
22884 if test $gcc_cv_math_func_ctanhf = yes; then
22886 cat >>confdefs.h
<<_ACEOF
22887 #define HAVE_CTANHF 1
22895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
22896 $as_echo_n "checking for ctanh... " >&6; }
22897 if test "${gcc_cv_math_func_ctanh+set}" = set; then :
22898 $as_echo_n "(cached) " >&6
22900 if test x
$gcc_no_link = xyes
; then
22901 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22904 /* end confdefs.h. */
22906 #ifdef HAVE_COMPLEX_H
22907 #include <complex.h>
22913 int (*ptr)() = (int (*)())ctanh;
22922 if ac_fn_c_try_link
"$LINENO"; then :
22923 gcc_cv_math_func_ctanh
=yes
22925 gcc_cv_math_func_ctanh
=no
22927 rm -f core conftest.err conftest.
$ac_objext \
22928 conftest
$ac_exeext conftest.
$ac_ext
22930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
22931 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
22932 if test $gcc_cv_math_func_ctanh = yes; then
22934 cat >>confdefs.h
<<_ACEOF
22935 #define HAVE_CTANH 1
22943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
22944 $as_echo_n "checking for ctanhl... " >&6; }
22945 if test "${gcc_cv_math_func_ctanhl+set}" = set; then :
22946 $as_echo_n "(cached) " >&6
22948 if test x
$gcc_no_link = xyes
; then
22949 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22952 /* end confdefs.h. */
22954 #ifdef HAVE_COMPLEX_H
22955 #include <complex.h>
22961 int (*ptr)() = (int (*)())ctanhl;
22970 if ac_fn_c_try_link
"$LINENO"; then :
22971 gcc_cv_math_func_ctanhl
=yes
22973 gcc_cv_math_func_ctanhl
=no
22975 rm -f core conftest.err conftest.
$ac_objext \
22976 conftest
$ac_exeext conftest.
$ac_ext
22978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
22979 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
22980 if test $gcc_cv_math_func_ctanhl = yes; then
22982 cat >>confdefs.h
<<_ACEOF
22983 #define HAVE_CTANHL 1
22991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
22992 $as_echo_n "checking for truncf... " >&6; }
22993 if test "${gcc_cv_math_func_truncf+set}" = set; then :
22994 $as_echo_n "(cached) " >&6
22996 if test x
$gcc_no_link = xyes
; then
22997 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23000 /* end confdefs.h. */
23002 #ifdef HAVE_COMPLEX_H
23003 #include <complex.h>
23009 int (*ptr)() = (int (*)())truncf;
23018 if ac_fn_c_try_link
"$LINENO"; then :
23019 gcc_cv_math_func_truncf
=yes
23021 gcc_cv_math_func_truncf
=no
23023 rm -f core conftest.err conftest.
$ac_objext \
23024 conftest
$ac_exeext conftest.
$ac_ext
23026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23027 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23028 if test $gcc_cv_math_func_truncf = yes; then
23030 cat >>confdefs.h
<<_ACEOF
23031 #define HAVE_TRUNCF 1
23039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23040 $as_echo_n "checking for trunc... " >&6; }
23041 if test "${gcc_cv_math_func_trunc+set}" = set; then :
23042 $as_echo_n "(cached) " >&6
23044 if test x
$gcc_no_link = xyes
; then
23045 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23048 /* end confdefs.h. */
23050 #ifdef HAVE_COMPLEX_H
23051 #include <complex.h>
23057 int (*ptr)() = (int (*)())trunc;
23066 if ac_fn_c_try_link
"$LINENO"; then :
23067 gcc_cv_math_func_trunc
=yes
23069 gcc_cv_math_func_trunc
=no
23071 rm -f core conftest.err conftest.
$ac_objext \
23072 conftest
$ac_exeext conftest.
$ac_ext
23074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23075 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23076 if test $gcc_cv_math_func_trunc = yes; then
23078 cat >>confdefs.h
<<_ACEOF
23079 #define HAVE_TRUNC 1
23087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23088 $as_echo_n "checking for truncl... " >&6; }
23089 if test "${gcc_cv_math_func_truncl+set}" = set; then :
23090 $as_echo_n "(cached) " >&6
23092 if test x
$gcc_no_link = xyes
; then
23093 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23096 /* end confdefs.h. */
23098 #ifdef HAVE_COMPLEX_H
23099 #include <complex.h>
23105 int (*ptr)() = (int (*)())truncl;
23114 if ac_fn_c_try_link
"$LINENO"; then :
23115 gcc_cv_math_func_truncl
=yes
23117 gcc_cv_math_func_truncl
=no
23119 rm -f core conftest.err conftest.
$ac_objext \
23120 conftest
$ac_exeext conftest.
$ac_ext
23122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23123 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23124 if test $gcc_cv_math_func_truncl = yes; then
23126 cat >>confdefs.h
<<_ACEOF
23127 #define HAVE_TRUNCL 1
23135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23136 $as_echo_n "checking for erff... " >&6; }
23137 if test "${gcc_cv_math_func_erff+set}" = set; then :
23138 $as_echo_n "(cached) " >&6
23140 if test x
$gcc_no_link = xyes
; then
23141 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23144 /* end confdefs.h. */
23146 #ifdef HAVE_COMPLEX_H
23147 #include <complex.h>
23153 int (*ptr)() = (int (*)())erff;
23162 if ac_fn_c_try_link
"$LINENO"; then :
23163 gcc_cv_math_func_erff
=yes
23165 gcc_cv_math_func_erff
=no
23167 rm -f core conftest.err conftest.
$ac_objext \
23168 conftest
$ac_exeext conftest.
$ac_ext
23170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23171 $as_echo "$gcc_cv_math_func_erff" >&6; }
23172 if test $gcc_cv_math_func_erff = yes; then
23174 cat >>confdefs.h
<<_ACEOF
23175 #define HAVE_ERFF 1
23183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23184 $as_echo_n "checking for erf... " >&6; }
23185 if test "${gcc_cv_math_func_erf+set}" = set; then :
23186 $as_echo_n "(cached) " >&6
23188 if test x
$gcc_no_link = xyes
; then
23189 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23192 /* end confdefs.h. */
23194 #ifdef HAVE_COMPLEX_H
23195 #include <complex.h>
23201 int (*ptr)() = (int (*)())erf;
23210 if ac_fn_c_try_link
"$LINENO"; then :
23211 gcc_cv_math_func_erf
=yes
23213 gcc_cv_math_func_erf
=no
23215 rm -f core conftest.err conftest.
$ac_objext \
23216 conftest
$ac_exeext conftest.
$ac_ext
23218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23219 $as_echo "$gcc_cv_math_func_erf" >&6; }
23220 if test $gcc_cv_math_func_erf = yes; then
23222 cat >>confdefs.h
<<_ACEOF
23231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl" >&5
23232 $as_echo_n "checking for erfl... " >&6; }
23233 if test "${gcc_cv_math_func_erfl+set}" = set; then :
23234 $as_echo_n "(cached) " >&6
23236 if test x
$gcc_no_link = xyes
; then
23237 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23239 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23240 /* end confdefs.h. */
23242 #ifdef HAVE_COMPLEX_H
23243 #include <complex.h>
23249 int (*ptr)() = (int (*)())erfl;
23258 if ac_fn_c_try_link
"$LINENO"; then :
23259 gcc_cv_math_func_erfl
=yes
23261 gcc_cv_math_func_erfl
=no
23263 rm -f core conftest.err conftest.
$ac_objext \
23264 conftest
$ac_exeext conftest.
$ac_ext
23266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfl" >&5
23267 $as_echo "$gcc_cv_math_func_erfl" >&6; }
23268 if test $gcc_cv_math_func_erfl = yes; then
23270 cat >>confdefs.h
<<_ACEOF
23271 #define HAVE_ERFL 1
23279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23280 $as_echo_n "checking for erfcf... " >&6; }
23281 if test "${gcc_cv_math_func_erfcf+set}" = set; then :
23282 $as_echo_n "(cached) " >&6
23284 if test x
$gcc_no_link = xyes
; then
23285 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23288 /* end confdefs.h. */
23290 #ifdef HAVE_COMPLEX_H
23291 #include <complex.h>
23297 int (*ptr)() = (int (*)())erfcf;
23306 if ac_fn_c_try_link
"$LINENO"; then :
23307 gcc_cv_math_func_erfcf
=yes
23309 gcc_cv_math_func_erfcf
=no
23311 rm -f core conftest.err conftest.
$ac_objext \
23312 conftest
$ac_exeext conftest.
$ac_ext
23314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23315 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23316 if test $gcc_cv_math_func_erfcf = yes; then
23318 cat >>confdefs.h
<<_ACEOF
23319 #define HAVE_ERFCF 1
23327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23328 $as_echo_n "checking for erfc... " >&6; }
23329 if test "${gcc_cv_math_func_erfc+set}" = set; then :
23330 $as_echo_n "(cached) " >&6
23332 if test x
$gcc_no_link = xyes
; then
23333 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23336 /* end confdefs.h. */
23338 #ifdef HAVE_COMPLEX_H
23339 #include <complex.h>
23345 int (*ptr)() = (int (*)())erfc;
23354 if ac_fn_c_try_link
"$LINENO"; then :
23355 gcc_cv_math_func_erfc
=yes
23357 gcc_cv_math_func_erfc
=no
23359 rm -f core conftest.err conftest.
$ac_objext \
23360 conftest
$ac_exeext conftest.
$ac_ext
23362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23363 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23364 if test $gcc_cv_math_func_erfc = yes; then
23366 cat >>confdefs.h
<<_ACEOF
23367 #define HAVE_ERFC 1
23375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23376 $as_echo_n "checking for erfcl... " >&6; }
23377 if test "${gcc_cv_math_func_erfcl+set}" = set; then :
23378 $as_echo_n "(cached) " >&6
23380 if test x
$gcc_no_link = xyes
; then
23381 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23384 /* end confdefs.h. */
23386 #ifdef HAVE_COMPLEX_H
23387 #include <complex.h>
23393 int (*ptr)() = (int (*)())erfcl;
23402 if ac_fn_c_try_link
"$LINENO"; then :
23403 gcc_cv_math_func_erfcl
=yes
23405 gcc_cv_math_func_erfcl
=no
23407 rm -f core conftest.err conftest.
$ac_objext \
23408 conftest
$ac_exeext conftest.
$ac_ext
23410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23411 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23412 if test $gcc_cv_math_func_erfcl = yes; then
23414 cat >>confdefs.h
<<_ACEOF
23415 #define HAVE_ERFCL 1
23423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23424 $as_echo_n "checking for j0f... " >&6; }
23425 if test "${gcc_cv_math_func_j0f+set}" = set; then :
23426 $as_echo_n "(cached) " >&6
23428 if test x
$gcc_no_link = xyes
; then
23429 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23432 /* end confdefs.h. */
23434 #ifdef HAVE_COMPLEX_H
23435 #include <complex.h>
23441 int (*ptr)() = (int (*)())j0f;
23450 if ac_fn_c_try_link
"$LINENO"; then :
23451 gcc_cv_math_func_j0f
=yes
23453 gcc_cv_math_func_j0f
=no
23455 rm -f core conftest.err conftest.
$ac_objext \
23456 conftest
$ac_exeext conftest.
$ac_ext
23458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23459 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23460 if test $gcc_cv_math_func_j0f = yes; then
23462 cat >>confdefs.h
<<_ACEOF
23471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23472 $as_echo_n "checking for j0... " >&6; }
23473 if test "${gcc_cv_math_func_j0+set}" = set; then :
23474 $as_echo_n "(cached) " >&6
23476 if test x
$gcc_no_link = xyes
; then
23477 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23480 /* end confdefs.h. */
23482 #ifdef HAVE_COMPLEX_H
23483 #include <complex.h>
23489 int (*ptr)() = (int (*)())j0;
23498 if ac_fn_c_try_link
"$LINENO"; then :
23499 gcc_cv_math_func_j0
=yes
23501 gcc_cv_math_func_j0
=no
23503 rm -f core conftest.err conftest.
$ac_objext \
23504 conftest
$ac_exeext conftest.
$ac_ext
23506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23507 $as_echo "$gcc_cv_math_func_j0" >&6; }
23508 if test $gcc_cv_math_func_j0 = yes; then
23510 cat >>confdefs.h
<<_ACEOF
23519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l" >&5
23520 $as_echo_n "checking for j0l... " >&6; }
23521 if test "${gcc_cv_math_func_j0l+set}" = set; then :
23522 $as_echo_n "(cached) " >&6
23524 if test x
$gcc_no_link = xyes
; then
23525 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23528 /* end confdefs.h. */
23530 #ifdef HAVE_COMPLEX_H
23531 #include <complex.h>
23537 int (*ptr)() = (int (*)())j0l;
23546 if ac_fn_c_try_link
"$LINENO"; then :
23547 gcc_cv_math_func_j0l
=yes
23549 gcc_cv_math_func_j0l
=no
23551 rm -f core conftest.err conftest.
$ac_objext \
23552 conftest
$ac_exeext conftest.
$ac_ext
23554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0l" >&5
23555 $as_echo "$gcc_cv_math_func_j0l" >&6; }
23556 if test $gcc_cv_math_func_j0l = yes; then
23558 cat >>confdefs.h
<<_ACEOF
23567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23568 $as_echo_n "checking for j1f... " >&6; }
23569 if test "${gcc_cv_math_func_j1f+set}" = set; then :
23570 $as_echo_n "(cached) " >&6
23572 if test x
$gcc_no_link = xyes
; then
23573 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23576 /* end confdefs.h. */
23578 #ifdef HAVE_COMPLEX_H
23579 #include <complex.h>
23585 int (*ptr)() = (int (*)())j1f;
23594 if ac_fn_c_try_link
"$LINENO"; then :
23595 gcc_cv_math_func_j1f
=yes
23597 gcc_cv_math_func_j1f
=no
23599 rm -f core conftest.err conftest.
$ac_objext \
23600 conftest
$ac_exeext conftest.
$ac_ext
23602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23603 $as_echo "$gcc_cv_math_func_j1f" >&6; }
23604 if test $gcc_cv_math_func_j1f = yes; then
23606 cat >>confdefs.h
<<_ACEOF
23615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23616 $as_echo_n "checking for j1... " >&6; }
23617 if test "${gcc_cv_math_func_j1+set}" = set; then :
23618 $as_echo_n "(cached) " >&6
23620 if test x
$gcc_no_link = xyes
; then
23621 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23624 /* end confdefs.h. */
23626 #ifdef HAVE_COMPLEX_H
23627 #include <complex.h>
23633 int (*ptr)() = (int (*)())j1;
23642 if ac_fn_c_try_link
"$LINENO"; then :
23643 gcc_cv_math_func_j1
=yes
23645 gcc_cv_math_func_j1
=no
23647 rm -f core conftest.err conftest.
$ac_objext \
23648 conftest
$ac_exeext conftest.
$ac_ext
23650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23651 $as_echo "$gcc_cv_math_func_j1" >&6; }
23652 if test $gcc_cv_math_func_j1 = yes; then
23654 cat >>confdefs.h
<<_ACEOF
23663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l" >&5
23664 $as_echo_n "checking for j1l... " >&6; }
23665 if test "${gcc_cv_math_func_j1l+set}" = set; then :
23666 $as_echo_n "(cached) " >&6
23668 if test x
$gcc_no_link = xyes
; then
23669 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23672 /* end confdefs.h. */
23674 #ifdef HAVE_COMPLEX_H
23675 #include <complex.h>
23681 int (*ptr)() = (int (*)())j1l;
23690 if ac_fn_c_try_link
"$LINENO"; then :
23691 gcc_cv_math_func_j1l
=yes
23693 gcc_cv_math_func_j1l
=no
23695 rm -f core conftest.err conftest.
$ac_objext \
23696 conftest
$ac_exeext conftest.
$ac_ext
23698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1l" >&5
23699 $as_echo "$gcc_cv_math_func_j1l" >&6; }
23700 if test $gcc_cv_math_func_j1l = yes; then
23702 cat >>confdefs.h
<<_ACEOF
23711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23712 $as_echo_n "checking for jnf... " >&6; }
23713 if test "${gcc_cv_math_func_jnf+set}" = set; then :
23714 $as_echo_n "(cached) " >&6
23716 if test x
$gcc_no_link = xyes
; then
23717 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23720 /* end confdefs.h. */
23722 #ifdef HAVE_COMPLEX_H
23723 #include <complex.h>
23729 int (*ptr)() = (int (*)())jnf;
23738 if ac_fn_c_try_link
"$LINENO"; then :
23739 gcc_cv_math_func_jnf
=yes
23741 gcc_cv_math_func_jnf
=no
23743 rm -f core conftest.err conftest.
$ac_objext \
23744 conftest
$ac_exeext conftest.
$ac_ext
23746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23747 $as_echo "$gcc_cv_math_func_jnf" >&6; }
23748 if test $gcc_cv_math_func_jnf = yes; then
23750 cat >>confdefs.h
<<_ACEOF
23759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
23760 $as_echo_n "checking for jn... " >&6; }
23761 if test "${gcc_cv_math_func_jn+set}" = set; then :
23762 $as_echo_n "(cached) " >&6
23764 if test x
$gcc_no_link = xyes
; then
23765 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23768 /* end confdefs.h. */
23770 #ifdef HAVE_COMPLEX_H
23771 #include <complex.h>
23777 int (*ptr)() = (int (*)())jn;
23786 if ac_fn_c_try_link
"$LINENO"; then :
23787 gcc_cv_math_func_jn
=yes
23789 gcc_cv_math_func_jn
=no
23791 rm -f core conftest.err conftest.
$ac_objext \
23792 conftest
$ac_exeext conftest.
$ac_ext
23794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
23795 $as_echo "$gcc_cv_math_func_jn" >&6; }
23796 if test $gcc_cv_math_func_jn = yes; then
23798 cat >>confdefs.h
<<_ACEOF
23807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
23808 $as_echo_n "checking for jnl... " >&6; }
23809 if test "${gcc_cv_math_func_jnl+set}" = set; then :
23810 $as_echo_n "(cached) " >&6
23812 if test x
$gcc_no_link = xyes
; then
23813 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23816 /* end confdefs.h. */
23818 #ifdef HAVE_COMPLEX_H
23819 #include <complex.h>
23825 int (*ptr)() = (int (*)())jnl;
23834 if ac_fn_c_try_link
"$LINENO"; then :
23835 gcc_cv_math_func_jnl
=yes
23837 gcc_cv_math_func_jnl
=no
23839 rm -f core conftest.err conftest.
$ac_objext \
23840 conftest
$ac_exeext conftest.
$ac_ext
23842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
23843 $as_echo "$gcc_cv_math_func_jnl" >&6; }
23844 if test $gcc_cv_math_func_jnl = yes; then
23846 cat >>confdefs.h
<<_ACEOF
23855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
23856 $as_echo_n "checking for y0f... " >&6; }
23857 if test "${gcc_cv_math_func_y0f+set}" = set; then :
23858 $as_echo_n "(cached) " >&6
23860 if test x
$gcc_no_link = xyes
; then
23861 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23864 /* end confdefs.h. */
23866 #ifdef HAVE_COMPLEX_H
23867 #include <complex.h>
23873 int (*ptr)() = (int (*)())y0f;
23882 if ac_fn_c_try_link
"$LINENO"; then :
23883 gcc_cv_math_func_y0f
=yes
23885 gcc_cv_math_func_y0f
=no
23887 rm -f core conftest.err conftest.
$ac_objext \
23888 conftest
$ac_exeext conftest.
$ac_ext
23890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
23891 $as_echo "$gcc_cv_math_func_y0f" >&6; }
23892 if test $gcc_cv_math_func_y0f = yes; then
23894 cat >>confdefs.h
<<_ACEOF
23903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
23904 $as_echo_n "checking for y0... " >&6; }
23905 if test "${gcc_cv_math_func_y0+set}" = set; then :
23906 $as_echo_n "(cached) " >&6
23908 if test x
$gcc_no_link = xyes
; then
23909 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23912 /* end confdefs.h. */
23914 #ifdef HAVE_COMPLEX_H
23915 #include <complex.h>
23921 int (*ptr)() = (int (*)())y0;
23930 if ac_fn_c_try_link
"$LINENO"; then :
23931 gcc_cv_math_func_y0
=yes
23933 gcc_cv_math_func_y0
=no
23935 rm -f core conftest.err conftest.
$ac_objext \
23936 conftest
$ac_exeext conftest.
$ac_ext
23938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
23939 $as_echo "$gcc_cv_math_func_y0" >&6; }
23940 if test $gcc_cv_math_func_y0 = yes; then
23942 cat >>confdefs.h
<<_ACEOF
23951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l" >&5
23952 $as_echo_n "checking for y0l... " >&6; }
23953 if test "${gcc_cv_math_func_y0l+set}" = set; then :
23954 $as_echo_n "(cached) " >&6
23956 if test x
$gcc_no_link = xyes
; then
23957 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23960 /* end confdefs.h. */
23962 #ifdef HAVE_COMPLEX_H
23963 #include <complex.h>
23969 int (*ptr)() = (int (*)())y0l;
23978 if ac_fn_c_try_link
"$LINENO"; then :
23979 gcc_cv_math_func_y0l
=yes
23981 gcc_cv_math_func_y0l
=no
23983 rm -f core conftest.err conftest.
$ac_objext \
23984 conftest
$ac_exeext conftest.
$ac_ext
23986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0l" >&5
23987 $as_echo "$gcc_cv_math_func_y0l" >&6; }
23988 if test $gcc_cv_math_func_y0l = yes; then
23990 cat >>confdefs.h
<<_ACEOF
23999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24000 $as_echo_n "checking for y1f... " >&6; }
24001 if test "${gcc_cv_math_func_y1f+set}" = set; then :
24002 $as_echo_n "(cached) " >&6
24004 if test x
$gcc_no_link = xyes
; then
24005 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24008 /* end confdefs.h. */
24010 #ifdef HAVE_COMPLEX_H
24011 #include <complex.h>
24017 int (*ptr)() = (int (*)())y1f;
24026 if ac_fn_c_try_link
"$LINENO"; then :
24027 gcc_cv_math_func_y1f
=yes
24029 gcc_cv_math_func_y1f
=no
24031 rm -f core conftest.err conftest.
$ac_objext \
24032 conftest
$ac_exeext conftest.
$ac_ext
24034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24035 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24036 if test $gcc_cv_math_func_y1f = yes; then
24038 cat >>confdefs.h
<<_ACEOF
24047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24048 $as_echo_n "checking for y1... " >&6; }
24049 if test "${gcc_cv_math_func_y1+set}" = set; then :
24050 $as_echo_n "(cached) " >&6
24052 if test x
$gcc_no_link = xyes
; then
24053 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24056 /* end confdefs.h. */
24058 #ifdef HAVE_COMPLEX_H
24059 #include <complex.h>
24065 int (*ptr)() = (int (*)())y1;
24074 if ac_fn_c_try_link
"$LINENO"; then :
24075 gcc_cv_math_func_y1
=yes
24077 gcc_cv_math_func_y1
=no
24079 rm -f core conftest.err conftest.
$ac_objext \
24080 conftest
$ac_exeext conftest.
$ac_ext
24082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24083 $as_echo "$gcc_cv_math_func_y1" >&6; }
24084 if test $gcc_cv_math_func_y1 = yes; then
24086 cat >>confdefs.h
<<_ACEOF
24095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l" >&5
24096 $as_echo_n "checking for y1l... " >&6; }
24097 if test "${gcc_cv_math_func_y1l+set}" = set; then :
24098 $as_echo_n "(cached) " >&6
24100 if test x
$gcc_no_link = xyes
; then
24101 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24104 /* end confdefs.h. */
24106 #ifdef HAVE_COMPLEX_H
24107 #include <complex.h>
24113 int (*ptr)() = (int (*)())y1l;
24122 if ac_fn_c_try_link
"$LINENO"; then :
24123 gcc_cv_math_func_y1l
=yes
24125 gcc_cv_math_func_y1l
=no
24127 rm -f core conftest.err conftest.
$ac_objext \
24128 conftest
$ac_exeext conftest.
$ac_ext
24130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1l" >&5
24131 $as_echo "$gcc_cv_math_func_y1l" >&6; }
24132 if test $gcc_cv_math_func_y1l = yes; then
24134 cat >>confdefs.h
<<_ACEOF
24143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24144 $as_echo_n "checking for ynf... " >&6; }
24145 if test "${gcc_cv_math_func_ynf+set}" = set; then :
24146 $as_echo_n "(cached) " >&6
24148 if test x
$gcc_no_link = xyes
; then
24149 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24152 /* end confdefs.h. */
24154 #ifdef HAVE_COMPLEX_H
24155 #include <complex.h>
24161 int (*ptr)() = (int (*)())ynf;
24170 if ac_fn_c_try_link
"$LINENO"; then :
24171 gcc_cv_math_func_ynf
=yes
24173 gcc_cv_math_func_ynf
=no
24175 rm -f core conftest.err conftest.
$ac_objext \
24176 conftest
$ac_exeext conftest.
$ac_ext
24178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24179 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24180 if test $gcc_cv_math_func_ynf = yes; then
24182 cat >>confdefs.h
<<_ACEOF
24191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24192 $as_echo_n "checking for yn... " >&6; }
24193 if test "${gcc_cv_math_func_yn+set}" = set; then :
24194 $as_echo_n "(cached) " >&6
24196 if test x
$gcc_no_link = xyes
; then
24197 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24200 /* end confdefs.h. */
24202 #ifdef HAVE_COMPLEX_H
24203 #include <complex.h>
24209 int (*ptr)() = (int (*)())yn;
24218 if ac_fn_c_try_link
"$LINENO"; then :
24219 gcc_cv_math_func_yn
=yes
24221 gcc_cv_math_func_yn
=no
24223 rm -f core conftest.err conftest.
$ac_objext \
24224 conftest
$ac_exeext conftest.
$ac_ext
24226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24227 $as_echo "$gcc_cv_math_func_yn" >&6; }
24228 if test $gcc_cv_math_func_yn = yes; then
24230 cat >>confdefs.h
<<_ACEOF
24239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24240 $as_echo_n "checking for ynl... " >&6; }
24241 if test "${gcc_cv_math_func_ynl+set}" = set; then :
24242 $as_echo_n "(cached) " >&6
24244 if test x
$gcc_no_link = xyes
; then
24245 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24248 /* end confdefs.h. */
24250 #ifdef HAVE_COMPLEX_H
24251 #include <complex.h>
24257 int (*ptr)() = (int (*)())ynl;
24266 if ac_fn_c_try_link
"$LINENO"; then :
24267 gcc_cv_math_func_ynl
=yes
24269 gcc_cv_math_func_ynl
=no
24271 rm -f core conftest.err conftest.
$ac_objext \
24272 conftest
$ac_exeext conftest.
$ac_ext
24274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24275 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24276 if test $gcc_cv_math_func_ynl = yes; then
24278 cat >>confdefs.h
<<_ACEOF
24287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24288 $as_echo_n "checking for tgamma... " >&6; }
24289 if test "${gcc_cv_math_func_tgamma+set}" = set; then :
24290 $as_echo_n "(cached) " >&6
24292 if test x
$gcc_no_link = xyes
; then
24293 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24296 /* end confdefs.h. */
24298 #ifdef HAVE_COMPLEX_H
24299 #include <complex.h>
24305 int (*ptr)() = (int (*)())tgamma;
24314 if ac_fn_c_try_link
"$LINENO"; then :
24315 gcc_cv_math_func_tgamma
=yes
24317 gcc_cv_math_func_tgamma
=no
24319 rm -f core conftest.err conftest.
$ac_objext \
24320 conftest
$ac_exeext conftest.
$ac_ext
24322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24323 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24324 if test $gcc_cv_math_func_tgamma = yes; then
24326 cat >>confdefs.h
<<_ACEOF
24327 #define HAVE_TGAMMA 1
24335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24336 $as_echo_n "checking for tgammaf... " >&6; }
24337 if test "${gcc_cv_math_func_tgammaf+set}" = set; then :
24338 $as_echo_n "(cached) " >&6
24340 if test x
$gcc_no_link = xyes
; then
24341 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24344 /* end confdefs.h. */
24346 #ifdef HAVE_COMPLEX_H
24347 #include <complex.h>
24353 int (*ptr)() = (int (*)())tgammaf;
24362 if ac_fn_c_try_link
"$LINENO"; then :
24363 gcc_cv_math_func_tgammaf
=yes
24365 gcc_cv_math_func_tgammaf
=no
24367 rm -f core conftest.err conftest.
$ac_objext \
24368 conftest
$ac_exeext conftest.
$ac_ext
24370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24371 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24372 if test $gcc_cv_math_func_tgammaf = yes; then
24374 cat >>confdefs.h
<<_ACEOF
24375 #define HAVE_TGAMMAF 1
24383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal" >&5
24384 $as_echo_n "checking for tgammal... " >&6; }
24385 if test "${gcc_cv_math_func_tgammal+set}" = set; then :
24386 $as_echo_n "(cached) " >&6
24388 if test x
$gcc_no_link = xyes
; then
24389 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24392 /* end confdefs.h. */
24394 #ifdef HAVE_COMPLEX_H
24395 #include <complex.h>
24401 int (*ptr)() = (int (*)())tgammal;
24410 if ac_fn_c_try_link
"$LINENO"; then :
24411 gcc_cv_math_func_tgammal
=yes
24413 gcc_cv_math_func_tgammal
=no
24415 rm -f core conftest.err conftest.
$ac_objext \
24416 conftest
$ac_exeext conftest.
$ac_ext
24418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammal" >&5
24419 $as_echo "$gcc_cv_math_func_tgammal" >&6; }
24420 if test $gcc_cv_math_func_tgammal = yes; then
24422 cat >>confdefs.h
<<_ACEOF
24423 #define HAVE_TGAMMAL 1
24431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24432 $as_echo_n "checking for lgamma... " >&6; }
24433 if test "${gcc_cv_math_func_lgamma+set}" = set; then :
24434 $as_echo_n "(cached) " >&6
24436 if test x
$gcc_no_link = xyes
; then
24437 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24440 /* end confdefs.h. */
24442 #ifdef HAVE_COMPLEX_H
24443 #include <complex.h>
24449 int (*ptr)() = (int (*)())lgamma;
24458 if ac_fn_c_try_link
"$LINENO"; then :
24459 gcc_cv_math_func_lgamma
=yes
24461 gcc_cv_math_func_lgamma
=no
24463 rm -f core conftest.err conftest.
$ac_objext \
24464 conftest
$ac_exeext conftest.
$ac_ext
24466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24467 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24468 if test $gcc_cv_math_func_lgamma = yes; then
24470 cat >>confdefs.h
<<_ACEOF
24471 #define HAVE_LGAMMA 1
24479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24480 $as_echo_n "checking for lgammaf... " >&6; }
24481 if test "${gcc_cv_math_func_lgammaf+set}" = set; then :
24482 $as_echo_n "(cached) " >&6
24484 if test x
$gcc_no_link = xyes
; then
24485 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24488 /* end confdefs.h. */
24490 #ifdef HAVE_COMPLEX_H
24491 #include <complex.h>
24497 int (*ptr)() = (int (*)())lgammaf;
24506 if ac_fn_c_try_link
"$LINENO"; then :
24507 gcc_cv_math_func_lgammaf
=yes
24509 gcc_cv_math_func_lgammaf
=no
24511 rm -f core conftest.err conftest.
$ac_objext \
24512 conftest
$ac_exeext conftest.
$ac_ext
24514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24515 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24516 if test $gcc_cv_math_func_lgammaf = yes; then
24518 cat >>confdefs.h
<<_ACEOF
24519 #define HAVE_LGAMMAF 1
24527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal" >&5
24528 $as_echo_n "checking for lgammal... " >&6; }
24529 if test "${gcc_cv_math_func_lgammal+set}" = set; then :
24530 $as_echo_n "(cached) " >&6
24532 if test x
$gcc_no_link = xyes
; then
24533 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24536 /* end confdefs.h. */
24538 #ifdef HAVE_COMPLEX_H
24539 #include <complex.h>
24545 int (*ptr)() = (int (*)())lgammal;
24554 if ac_fn_c_try_link
"$LINENO"; then :
24555 gcc_cv_math_func_lgammal
=yes
24557 gcc_cv_math_func_lgammal
=no
24559 rm -f core conftest.err conftest.
$ac_objext \
24560 conftest
$ac_exeext conftest.
$ac_ext
24562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammal" >&5
24563 $as_echo "$gcc_cv_math_func_lgammal" >&6; }
24564 if test $gcc_cv_math_func_lgammal = yes; then
24566 cat >>confdefs.h
<<_ACEOF
24567 #define HAVE_LGAMMAL 1
24573 # Check for GFORTRAN_C99_1.1 funcs
24577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24578 $as_echo_n "checking for cacos... " >&6; }
24579 if test "${gcc_cv_math_func_cacos+set}" = set; then :
24580 $as_echo_n "(cached) " >&6
24582 if test x
$gcc_no_link = xyes
; then
24583 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24586 /* end confdefs.h. */
24588 #ifdef HAVE_COMPLEX_H
24589 #include <complex.h>
24595 int (*ptr)() = (int (*)())cacos;
24604 if ac_fn_c_try_link
"$LINENO"; then :
24605 gcc_cv_math_func_cacos
=yes
24607 gcc_cv_math_func_cacos
=no
24609 rm -f core conftest.err conftest.
$ac_objext \
24610 conftest
$ac_exeext conftest.
$ac_ext
24612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24613 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24614 if test $gcc_cv_math_func_cacos = yes; then
24616 cat >>confdefs.h
<<_ACEOF
24617 #define HAVE_CACOS 1
24625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24626 $as_echo_n "checking for cacosf... " >&6; }
24627 if test "${gcc_cv_math_func_cacosf+set}" = set; then :
24628 $as_echo_n "(cached) " >&6
24630 if test x
$gcc_no_link = xyes
; then
24631 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24634 /* end confdefs.h. */
24636 #ifdef HAVE_COMPLEX_H
24637 #include <complex.h>
24643 int (*ptr)() = (int (*)())cacosf;
24652 if ac_fn_c_try_link
"$LINENO"; then :
24653 gcc_cv_math_func_cacosf
=yes
24655 gcc_cv_math_func_cacosf
=no
24657 rm -f core conftest.err conftest.
$ac_objext \
24658 conftest
$ac_exeext conftest.
$ac_ext
24660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24661 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24662 if test $gcc_cv_math_func_cacosf = yes; then
24664 cat >>confdefs.h
<<_ACEOF
24665 #define HAVE_CACOSF 1
24673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24674 $as_echo_n "checking for cacosh... " >&6; }
24675 if test "${gcc_cv_math_func_cacosh+set}" = set; then :
24676 $as_echo_n "(cached) " >&6
24678 if test x
$gcc_no_link = xyes
; then
24679 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24682 /* end confdefs.h. */
24684 #ifdef HAVE_COMPLEX_H
24685 #include <complex.h>
24691 int (*ptr)() = (int (*)())cacosh;
24700 if ac_fn_c_try_link
"$LINENO"; then :
24701 gcc_cv_math_func_cacosh
=yes
24703 gcc_cv_math_func_cacosh
=no
24705 rm -f core conftest.err conftest.
$ac_objext \
24706 conftest
$ac_exeext conftest.
$ac_ext
24708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24709 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24710 if test $gcc_cv_math_func_cacosh = yes; then
24712 cat >>confdefs.h
<<_ACEOF
24713 #define HAVE_CACOSH 1
24721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24722 $as_echo_n "checking for cacoshf... " >&6; }
24723 if test "${gcc_cv_math_func_cacoshf+set}" = set; then :
24724 $as_echo_n "(cached) " >&6
24726 if test x
$gcc_no_link = xyes
; then
24727 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24730 /* end confdefs.h. */
24732 #ifdef HAVE_COMPLEX_H
24733 #include <complex.h>
24739 int (*ptr)() = (int (*)())cacoshf;
24748 if ac_fn_c_try_link
"$LINENO"; then :
24749 gcc_cv_math_func_cacoshf
=yes
24751 gcc_cv_math_func_cacoshf
=no
24753 rm -f core conftest.err conftest.
$ac_objext \
24754 conftest
$ac_exeext conftest.
$ac_ext
24756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24757 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24758 if test $gcc_cv_math_func_cacoshf = yes; then
24760 cat >>confdefs.h
<<_ACEOF
24761 #define HAVE_CACOSHF 1
24769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24770 $as_echo_n "checking for cacoshl... " >&6; }
24771 if test "${gcc_cv_math_func_cacoshl+set}" = set; then :
24772 $as_echo_n "(cached) " >&6
24774 if test x
$gcc_no_link = xyes
; then
24775 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24778 /* end confdefs.h. */
24780 #ifdef HAVE_COMPLEX_H
24781 #include <complex.h>
24787 int (*ptr)() = (int (*)())cacoshl;
24796 if ac_fn_c_try_link
"$LINENO"; then :
24797 gcc_cv_math_func_cacoshl
=yes
24799 gcc_cv_math_func_cacoshl
=no
24801 rm -f core conftest.err conftest.
$ac_objext \
24802 conftest
$ac_exeext conftest.
$ac_ext
24804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
24805 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24806 if test $gcc_cv_math_func_cacoshl = yes; then
24808 cat >>confdefs.h
<<_ACEOF
24809 #define HAVE_CACOSHL 1
24817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24818 $as_echo_n "checking for cacosl... " >&6; }
24819 if test "${gcc_cv_math_func_cacosl+set}" = set; then :
24820 $as_echo_n "(cached) " >&6
24822 if test x
$gcc_no_link = xyes
; then
24823 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24826 /* end confdefs.h. */
24828 #ifdef HAVE_COMPLEX_H
24829 #include <complex.h>
24835 int (*ptr)() = (int (*)())cacosl;
24844 if ac_fn_c_try_link
"$LINENO"; then :
24845 gcc_cv_math_func_cacosl
=yes
24847 gcc_cv_math_func_cacosl
=no
24849 rm -f core conftest.err conftest.
$ac_objext \
24850 conftest
$ac_exeext conftest.
$ac_ext
24852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
24853 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
24854 if test $gcc_cv_math_func_cacosl = yes; then
24856 cat >>confdefs.h
<<_ACEOF
24857 #define HAVE_CACOSL 1
24865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24866 $as_echo_n "checking for casin... " >&6; }
24867 if test "${gcc_cv_math_func_casin+set}" = set; then :
24868 $as_echo_n "(cached) " >&6
24870 if test x
$gcc_no_link = xyes
; then
24871 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24874 /* end confdefs.h. */
24876 #ifdef HAVE_COMPLEX_H
24877 #include <complex.h>
24883 int (*ptr)() = (int (*)())casin;
24892 if ac_fn_c_try_link
"$LINENO"; then :
24893 gcc_cv_math_func_casin
=yes
24895 gcc_cv_math_func_casin
=no
24897 rm -f core conftest.err conftest.
$ac_objext \
24898 conftest
$ac_exeext conftest.
$ac_ext
24900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
24901 $as_echo "$gcc_cv_math_func_casin" >&6; }
24902 if test $gcc_cv_math_func_casin = yes; then
24904 cat >>confdefs.h
<<_ACEOF
24905 #define HAVE_CASIN 1
24913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
24914 $as_echo_n "checking for casinf... " >&6; }
24915 if test "${gcc_cv_math_func_casinf+set}" = set; then :
24916 $as_echo_n "(cached) " >&6
24918 if test x
$gcc_no_link = xyes
; then
24919 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24922 /* end confdefs.h. */
24924 #ifdef HAVE_COMPLEX_H
24925 #include <complex.h>
24931 int (*ptr)() = (int (*)())casinf;
24940 if ac_fn_c_try_link
"$LINENO"; then :
24941 gcc_cv_math_func_casinf
=yes
24943 gcc_cv_math_func_casinf
=no
24945 rm -f core conftest.err conftest.
$ac_objext \
24946 conftest
$ac_exeext conftest.
$ac_ext
24948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
24949 $as_echo "$gcc_cv_math_func_casinf" >&6; }
24950 if test $gcc_cv_math_func_casinf = yes; then
24952 cat >>confdefs.h
<<_ACEOF
24953 #define HAVE_CASINF 1
24961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
24962 $as_echo_n "checking for casinh... " >&6; }
24963 if test "${gcc_cv_math_func_casinh+set}" = set; then :
24964 $as_echo_n "(cached) " >&6
24966 if test x
$gcc_no_link = xyes
; then
24967 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24970 /* end confdefs.h. */
24972 #ifdef HAVE_COMPLEX_H
24973 #include <complex.h>
24979 int (*ptr)() = (int (*)())casinh;
24988 if ac_fn_c_try_link
"$LINENO"; then :
24989 gcc_cv_math_func_casinh
=yes
24991 gcc_cv_math_func_casinh
=no
24993 rm -f core conftest.err conftest.
$ac_objext \
24994 conftest
$ac_exeext conftest.
$ac_ext
24996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
24997 $as_echo "$gcc_cv_math_func_casinh" >&6; }
24998 if test $gcc_cv_math_func_casinh = yes; then
25000 cat >>confdefs.h
<<_ACEOF
25001 #define HAVE_CASINH 1
25009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25010 $as_echo_n "checking for casinhf... " >&6; }
25011 if test "${gcc_cv_math_func_casinhf+set}" = set; then :
25012 $as_echo_n "(cached) " >&6
25014 if test x
$gcc_no_link = xyes
; then
25015 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25018 /* end confdefs.h. */
25020 #ifdef HAVE_COMPLEX_H
25021 #include <complex.h>
25027 int (*ptr)() = (int (*)())casinhf;
25036 if ac_fn_c_try_link
"$LINENO"; then :
25037 gcc_cv_math_func_casinhf
=yes
25039 gcc_cv_math_func_casinhf
=no
25041 rm -f core conftest.err conftest.
$ac_objext \
25042 conftest
$ac_exeext conftest.
$ac_ext
25044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25045 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25046 if test $gcc_cv_math_func_casinhf = yes; then
25048 cat >>confdefs.h
<<_ACEOF
25049 #define HAVE_CASINHF 1
25057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25058 $as_echo_n "checking for casinhl... " >&6; }
25059 if test "${gcc_cv_math_func_casinhl+set}" = set; then :
25060 $as_echo_n "(cached) " >&6
25062 if test x
$gcc_no_link = xyes
; then
25063 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25066 /* end confdefs.h. */
25068 #ifdef HAVE_COMPLEX_H
25069 #include <complex.h>
25075 int (*ptr)() = (int (*)())casinhl;
25084 if ac_fn_c_try_link
"$LINENO"; then :
25085 gcc_cv_math_func_casinhl
=yes
25087 gcc_cv_math_func_casinhl
=no
25089 rm -f core conftest.err conftest.
$ac_objext \
25090 conftest
$ac_exeext conftest.
$ac_ext
25092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25093 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25094 if test $gcc_cv_math_func_casinhl = yes; then
25096 cat >>confdefs.h
<<_ACEOF
25097 #define HAVE_CASINHL 1
25105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25106 $as_echo_n "checking for casinl... " >&6; }
25107 if test "${gcc_cv_math_func_casinl+set}" = set; then :
25108 $as_echo_n "(cached) " >&6
25110 if test x
$gcc_no_link = xyes
; then
25111 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25114 /* end confdefs.h. */
25116 #ifdef HAVE_COMPLEX_H
25117 #include <complex.h>
25123 int (*ptr)() = (int (*)())casinl;
25132 if ac_fn_c_try_link
"$LINENO"; then :
25133 gcc_cv_math_func_casinl
=yes
25135 gcc_cv_math_func_casinl
=no
25137 rm -f core conftest.err conftest.
$ac_objext \
25138 conftest
$ac_exeext conftest.
$ac_ext
25140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25141 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25142 if test $gcc_cv_math_func_casinl = yes; then
25144 cat >>confdefs.h
<<_ACEOF
25145 #define HAVE_CASINL 1
25153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25154 $as_echo_n "checking for catan... " >&6; }
25155 if test "${gcc_cv_math_func_catan+set}" = set; then :
25156 $as_echo_n "(cached) " >&6
25158 if test x
$gcc_no_link = xyes
; then
25159 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25162 /* end confdefs.h. */
25164 #ifdef HAVE_COMPLEX_H
25165 #include <complex.h>
25171 int (*ptr)() = (int (*)())catan;
25180 if ac_fn_c_try_link
"$LINENO"; then :
25181 gcc_cv_math_func_catan
=yes
25183 gcc_cv_math_func_catan
=no
25185 rm -f core conftest.err conftest.
$ac_objext \
25186 conftest
$ac_exeext conftest.
$ac_ext
25188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25189 $as_echo "$gcc_cv_math_func_catan" >&6; }
25190 if test $gcc_cv_math_func_catan = yes; then
25192 cat >>confdefs.h
<<_ACEOF
25193 #define HAVE_CATAN 1
25201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25202 $as_echo_n "checking for catanf... " >&6; }
25203 if test "${gcc_cv_math_func_catanf+set}" = set; then :
25204 $as_echo_n "(cached) " >&6
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 #ifdef HAVE_COMPLEX_H
25213 #include <complex.h>
25219 int (*ptr)() = (int (*)())catanf;
25228 if ac_fn_c_try_link
"$LINENO"; then :
25229 gcc_cv_math_func_catanf
=yes
25231 gcc_cv_math_func_catanf
=no
25233 rm -f core conftest.err conftest.
$ac_objext \
25234 conftest
$ac_exeext conftest.
$ac_ext
25236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25237 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25238 if test $gcc_cv_math_func_catanf = yes; then
25240 cat >>confdefs.h
<<_ACEOF
25241 #define HAVE_CATANF 1
25249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25250 $as_echo_n "checking for catanh... " >&6; }
25251 if test "${gcc_cv_math_func_catanh+set}" = set; then :
25252 $as_echo_n "(cached) " >&6
25254 if test x
$gcc_no_link = xyes
; then
25255 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25258 /* end confdefs.h. */
25260 #ifdef HAVE_COMPLEX_H
25261 #include <complex.h>
25267 int (*ptr)() = (int (*)())catanh;
25276 if ac_fn_c_try_link
"$LINENO"; then :
25277 gcc_cv_math_func_catanh
=yes
25279 gcc_cv_math_func_catanh
=no
25281 rm -f core conftest.err conftest.
$ac_objext \
25282 conftest
$ac_exeext conftest.
$ac_ext
25284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25285 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25286 if test $gcc_cv_math_func_catanh = yes; then
25288 cat >>confdefs.h
<<_ACEOF
25289 #define HAVE_CATANH 1
25297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25298 $as_echo_n "checking for catanhf... " >&6; }
25299 if test "${gcc_cv_math_func_catanhf+set}" = set; then :
25300 $as_echo_n "(cached) " >&6
25302 if test x
$gcc_no_link = xyes
; then
25303 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25306 /* end confdefs.h. */
25308 #ifdef HAVE_COMPLEX_H
25309 #include <complex.h>
25315 int (*ptr)() = (int (*)())catanhf;
25324 if ac_fn_c_try_link
"$LINENO"; then :
25325 gcc_cv_math_func_catanhf
=yes
25327 gcc_cv_math_func_catanhf
=no
25329 rm -f core conftest.err conftest.
$ac_objext \
25330 conftest
$ac_exeext conftest.
$ac_ext
25332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25333 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25334 if test $gcc_cv_math_func_catanhf = yes; then
25336 cat >>confdefs.h
<<_ACEOF
25337 #define HAVE_CATANHF 1
25345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25346 $as_echo_n "checking for catanhl... " >&6; }
25347 if test "${gcc_cv_math_func_catanhl+set}" = set; then :
25348 $as_echo_n "(cached) " >&6
25350 if test x
$gcc_no_link = xyes
; then
25351 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25354 /* end confdefs.h. */
25356 #ifdef HAVE_COMPLEX_H
25357 #include <complex.h>
25363 int (*ptr)() = (int (*)())catanhl;
25372 if ac_fn_c_try_link
"$LINENO"; then :
25373 gcc_cv_math_func_catanhl
=yes
25375 gcc_cv_math_func_catanhl
=no
25377 rm -f core conftest.err conftest.
$ac_objext \
25378 conftest
$ac_exeext conftest.
$ac_ext
25380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25381 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25382 if test $gcc_cv_math_func_catanhl = yes; then
25384 cat >>confdefs.h
<<_ACEOF
25385 #define HAVE_CATANHL 1
25393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25394 $as_echo_n "checking for catanl... " >&6; }
25395 if test "${gcc_cv_math_func_catanl+set}" = set; then :
25396 $as_echo_n "(cached) " >&6
25398 if test x
$gcc_no_link = xyes
; then
25399 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25402 /* end confdefs.h. */
25404 #ifdef HAVE_COMPLEX_H
25405 #include <complex.h>
25411 int (*ptr)() = (int (*)())catanl;
25420 if ac_fn_c_try_link
"$LINENO"; then :
25421 gcc_cv_math_func_catanl
=yes
25423 gcc_cv_math_func_catanl
=no
25425 rm -f core conftest.err conftest.
$ac_objext \
25426 conftest
$ac_exeext conftest.
$ac_ext
25428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25429 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25430 if test $gcc_cv_math_func_catanl = yes; then
25432 cat >>confdefs.h
<<_ACEOF
25433 #define HAVE_CATANL 1
25439 # On AIX, clog is present in libm as __clog
25440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25441 $as_echo_n "checking for __clog in -lm... " >&6; }
25442 if test "${ac_cv_lib_m___clog+set}" = set; then :
25443 $as_echo_n "(cached) " >&6
25445 ac_check_lib_save_LIBS
=$LIBS
25447 if test x
$gcc_no_link = xyes
; then
25448 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25451 /* end confdefs.h. */
25453 /* Override any GCC internal prototype to avoid an error.
25454 Use char because int might match the return type of a GCC
25455 builtin and then its argument prototype would still apply. */
25468 if ac_fn_c_try_link
"$LINENO"; then :
25469 ac_cv_lib_m___clog
=yes
25471 ac_cv_lib_m___clog
=no
25473 rm -f core conftest.err conftest.
$ac_objext \
25474 conftest
$ac_exeext conftest.
$ac_ext
25475 LIBS
=$ac_check_lib_save_LIBS
25477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25478 $as_echo "$ac_cv_lib_m___clog" >&6; }
25479 if test "x$ac_cv_lib_m___clog" = x
""yes; then :
25481 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25486 # Check whether the system has a working stat()
25488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25489 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25490 if test "${libgfor_cv_have_working_stat+set}" = set; then :
25491 $as_echo_n "(cached) " >&6
25494 if test "$cross_compiling" = yes; then :
25496 case "${target}" in
25497 *mingw
*) libgfor_cv_have_working_stat
=no
;;
25498 *) libgfor_cv_have_working_stat
=yes;;
25501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25502 /* end confdefs.h. */
25505 #include <sys/types.h>
25506 #include <sys/stat.h>
25507 #include <unistd.h>
25512 struct stat st1, st2;
25514 f = fopen ("foo", "w");
25515 g = fopen ("bar", "w");
25516 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25518 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25525 if ac_fn_c_try_run
"$LINENO"; then :
25526 libgfor_cv_have_working_stat
=yes
25528 libgfor_cv_have_working_stat
=no
25530 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
25531 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
25535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25536 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25537 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
25539 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25543 # Check whether __mingw_snprintf() is present
25545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25546 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25547 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
25548 $as_echo_n "(cached) " >&6
25551 if test x
$gcc_no_link = xyes
; then
25552 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25555 /* end confdefs.h. */
25558 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25564 __mingw_snprintf (NULL, 0, "%d\n", 1);
25570 if ac_fn_c_try_link
"$LINENO"; then :
25571 eval "libgfor_cv_have_mingw_snprintf=yes"
25573 eval "libgfor_cv_have_mingw_snprintf=no"
25575 rm -f core conftest.err conftest.
$ac_objext \
25576 conftest
$ac_exeext conftest.
$ac_ext
25579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25580 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25581 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
25583 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25588 # Check for a broken powf implementation
25590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether powf is broken" >&5
25591 $as_echo_n "checking whether powf is broken... " >&6; }
25592 if test "${libgfor_cv_have_broken_powf+set}" = set; then :
25593 $as_echo_n "(cached) " >&6
25596 case "${target}" in
25597 hppa
*64*-*-hpux*) libgfor_cv_have_broken_powf
=yes ;;
25598 *) libgfor_cv_have_broken_powf
=no
;;
25601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_powf" >&5
25602 $as_echo "$libgfor_cv_have_broken_powf" >&6; }
25603 if test x
"$libgfor_cv_have_broken_powf" = xyes
; then
25605 $as_echo "#define HAVE_BROKEN_POWF 1" >>confdefs.h
25610 # Check whether libquadmath should be used
25611 # Check whether --enable-libquadmath-support was given.
25612 if test "${enable_libquadmath_support+set}" = set; then :
25613 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
25615 ENABLE_LIBQUADMATH_SUPPORT
=yes
25618 enable_libquadmath_support
=
25619 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25620 enable_libquadmath_support
=no
25623 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25627 if test "x$enable_libquadmath_support" != xno
; then
25629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25630 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25631 if test "${libgfor_cv_have_float128+set}" = set; then :
25632 $as_echo_n "(cached) " >&6
25635 if test x
$gcc_no_link = xyes
; then
25636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25637 /* end confdefs.h. */
25639 typedef _Complex float __attribute__((mode(TC))) __complex128;
25641 __float128 foo (__float128 x)
25644 __complex128 z1, z2;
25650 return (__float128) z2;
25653 __float128 bar (__float128 x)
25655 return x * __builtin_huge_valq ();
25669 if ac_fn_c_try_compile
"$LINENO"; then :
25671 libgfor_cv_have_float128
=yes
25675 libgfor_cv_have_float128
=no
25678 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25680 if test x
$gcc_no_link = xyes
; then
25681 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25684 /* end confdefs.h. */
25686 typedef _Complex float __attribute__((mode(TC))) __complex128;
25688 __float128 foo (__float128 x)
25691 __complex128 z1, z2;
25697 return (__float128) z2;
25700 __float128 bar (__float128 x)
25702 return x * __builtin_huge_valq ();
25716 if ac_fn_c_try_link
"$LINENO"; then :
25718 libgfor_cv_have_float128
=yes
25722 libgfor_cv_have_float128
=no
25725 rm -f core conftest.err conftest.
$ac_objext \
25726 conftest
$ac_exeext conftest.
$ac_ext
25729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25730 $as_echo "$libgfor_cv_have_float128" >&6; }
25732 if test "x$libgfor_cv_have_float128" = xyes
; then
25734 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25737 ac_xsave_c_werror_flag
=$ac_c_werror_flag
25738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed works" >&5
25739 $as_echo_n "checking whether --as-needed works... " >&6; }
25740 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25741 $as_echo_n "(cached) " >&6
25744 save_LDFLAGS
="$LDFLAGS"
25745 LDFLAGS
="$LDFLAGS -Wl,--as-needed -lm -Wl,--no-as-needed"
25746 libgfor_cv_have_as_needed
=no
25748 ac_c_werror_flag
=yes
25749 if test x
$gcc_no_link = xyes
; then
25750 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25753 /* end confdefs.h. */
25763 if ac_fn_c_try_link
"$LINENO"; then :
25764 libgfor_cv_have_as_needed
=yes
25766 libgfor_cv_have_as_needed
=no
25768 rm -f core conftest.err conftest.
$ac_objext \
25769 conftest
$ac_exeext conftest.
$ac_ext
25770 LDFLAGS
="$save_LDFLAGS"
25771 ac_c_werror_flag
=$ac_xsave_c_werror_flag
25774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25775 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25777 if test "x$libgfor_cv_have_as_needed" = xyes
; then
25778 LIBQUADSPEC
="%{static-libgfortran:--as-needed} -lquadmath %{static-libgfortran:--no-as-needed}"
25780 LIBQUADSPEC
="-lquadmath"
25782 if test -f ..
/libquadmath
/libquadmath.la
; then
25783 LIBQUADLIB
=..
/libquadmath
/libquadmath.la
25784 LIBQUADLIB_DEP
=..
/libquadmath
/libquadmath.la
25785 LIBQUADINCLUDE
='-I$(srcdir)/../libquadmath'
25787 LIBQUADLIB
="-lquadmath"
25793 # for --disable-quadmath
25804 if test "x$libgfor_cv_have_float128" = xyes
; then
25805 LIBGFOR_BUILD_QUAD_TRUE
=
25806 LIBGFOR_BUILD_QUAD_FALSE
='#'
25808 LIBGFOR_BUILD_QUAD_TRUE
='#'
25809 LIBGFOR_BUILD_QUAD_FALSE
=
25814 # Check for GNU libc feenableexcept
25815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25816 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25817 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25818 $as_echo_n "(cached) " >&6
25820 ac_check_lib_save_LIBS
=$LIBS
25822 if test x
$gcc_no_link = xyes
; then
25823 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25826 /* end confdefs.h. */
25828 /* Override any GCC internal prototype to avoid an error.
25829 Use char because int might match the return type of a GCC
25830 builtin and then its argument prototype would still apply. */
25834 char feenableexcept ();
25838 return feenableexcept ();
25843 if ac_fn_c_try_link
"$LINENO"; then :
25844 ac_cv_lib_m_feenableexcept
=yes
25846 ac_cv_lib_m_feenableexcept
=no
25848 rm -f core conftest.err conftest.
$ac_objext \
25849 conftest
$ac_exeext conftest.
$ac_ext
25850 LIBS
=$ac_check_lib_save_LIBS
25852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25853 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25854 if test "x$ac_cv_lib_m_feenableexcept" = x
""yes; then :
25855 have_feenableexcept
=yes
25856 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25861 # At least for glibc, clock_gettime is in librt. But don't
25862 # pull that in if it still doesn't give us the function we want. This
25863 # test is copied from libgomp, and modified to not link in -lrt as
25864 # libgfortran calls clock_gettime via a weak reference if it's found
25866 if test $ac_cv_func_clock_gettime = no
; then
25867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25868 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25869 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25870 $as_echo_n "(cached) " >&6
25872 ac_check_lib_save_LIBS
=$LIBS
25874 if test x
$gcc_no_link = xyes
; then
25875 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25878 /* end confdefs.h. */
25880 /* Override any GCC internal prototype to avoid an error.
25881 Use char because int might match the return type of a GCC
25882 builtin and then its argument prototype would still apply. */
25886 char clock_gettime ();
25890 return clock_gettime ();
25895 if ac_fn_c_try_link
"$LINENO"; then :
25896 ac_cv_lib_rt_clock_gettime
=yes
25898 ac_cv_lib_rt_clock_gettime
=no
25900 rm -f core conftest.err conftest.
$ac_objext \
25901 conftest
$ac_exeext conftest.
$ac_ext
25902 LIBS
=$ac_check_lib_save_LIBS
25904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25905 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25906 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
25908 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
25914 # Check for SysV fpsetmask
25916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
25917 $as_echo_n "checking whether fpsetmask is present... " >&6; }
25918 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
25919 $as_echo_n "(cached) " >&6
25922 if test x
$gcc_no_link = xyes
; then
25923 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25926 /* end confdefs.h. */
25928 #if HAVE_FLOATINGPOINT_H
25929 # include <floatingpoint.h>
25930 #endif /* HAVE_FLOATINGPOINT_H */
25932 # include <ieeefp.h>
25933 #endif /* HAVE_IEEEFP_H */
25942 if ac_fn_c_try_link
"$LINENO"; then :
25943 eval "libgfor_cv_have_fpsetmask=yes"
25945 eval "libgfor_cv_have_fpsetmask=no"
25947 rm -f core conftest.err conftest.
$ac_objext \
25948 conftest
$ac_exeext conftest.
$ac_ext
25951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
25952 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
25953 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
25956 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
25961 # Check for AIX fp_trap and fp_enable
25962 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
25963 if test "x$ac_cv_func_fp_trap" = x
""yes; then :
25965 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
25969 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
25970 if test "x$ac_cv_func_fp_enable" = x
""yes; then :
25972 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
25977 # Runs configure.host to set up necessary host-dependent shell variables.
25978 # We then display a message about it, and propagate them through the
25980 .
${srcdir}/configure.
host
25981 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
25982 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
25983 FPU_HOST_HEADER
=config
/${fpu_host}.h
25986 # Some targets require additional compiler options for IEEE compatibility.
25987 IEEE_FLAGS
="${ieee_flags}"
25991 # Check for POSIX getpwuid_r
25993 # There are two versions of getpwuid_r, the POSIX one with 5
25994 # arguments, and another one with 4 arguments used by at least HP-UX
25996 if test "$ac_cv_func_getpwuid_r" = "yes"; then
25997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
25998 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
25999 if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
26000 $as_echo_n "(cached) " >&6
26003 if test x
$gcc_no_link = xyes
; then
26004 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26007 /* end confdefs.h. */
26010 #include <sys/types.h>
26016 getpwuid_r(0, NULL, NULL, 0, NULL);
26022 if ac_fn_c_try_link
"$LINENO"; then :
26023 libgfor_cv_posix_getpwuid_r
="yes"
26025 libgfor_cv_posix_getpwuid_r
="no"
26027 rm -f core conftest.err conftest.
$ac_objext \
26028 conftest
$ac_exeext conftest.
$ac_ext
26030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
26031 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
26033 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
26035 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
26040 # Check out attribute support.
26042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
26043 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
26044 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
26045 $as_echo_n "(cached) " >&6
26048 save_CFLAGS
="$CFLAGS"
26049 CFLAGS
="$CFLAGS -Werror"
26050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26051 /* end confdefs.h. */
26052 void __attribute__((visibility("hidden"))) foo(void) { }
26061 if ac_fn_c_try_compile
"$LINENO"; then :
26062 libgfor_cv_have_attribute_visibility
=yes
26064 libgfor_cv_have_attribute_visibility
=no
26066 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26067 CFLAGS
="$save_CFLAGS"
26069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26070 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26071 if test $libgfor_cv_have_attribute_visibility = yes; then
26073 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
26078 $as_echo_n "checking whether the target supports dllexport... " >&6; }
26079 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
26080 $as_echo_n "(cached) " >&6
26083 save_CFLAGS
="$CFLAGS"
26084 CFLAGS
="$CFLAGS -Werror"
26085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26086 /* end confdefs.h. */
26087 void __attribute__((dllexport)) foo(void) { }
26096 if ac_fn_c_try_compile
"$LINENO"; then :
26097 libgfor_cv_have_attribute_dllexport
=yes
26099 libgfor_cv_have_attribute_dllexport
=no
26101 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26102 CFLAGS
="$save_CFLAGS"
26104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
26105 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
26106 if test $libgfor_cv_have_attribute_dllexport = yes; then
26108 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
26112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26113 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26114 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
26115 $as_echo_n "(cached) " >&6
26118 if test x
$gcc_no_link = xyes
; then
26119 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26122 /* end confdefs.h. */
26125 extern void bar(void) __attribute__((alias("foo")));
26134 if ac_fn_c_try_link
"$LINENO"; then :
26135 libgfor_cv_have_attribute_alias
=yes
26137 libgfor_cv_have_attribute_alias
=no
26139 rm -f core conftest.err conftest.
$ac_objext \
26140 conftest
$ac_exeext conftest.
$ac_ext
26142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26143 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26144 if test $libgfor_cv_have_attribute_alias = yes; then
26146 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26150 # Check out sync builtins support.
26152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
26153 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
26154 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
26155 $as_echo_n "(cached) " >&6
26158 if test x
$gcc_no_link = xyes
; then
26159 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26162 /* end confdefs.h. */
26168 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
26169 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
26174 if ac_fn_c_try_link
"$LINENO"; then :
26175 libgfor_cv_have_sync_fetch_and_add
=yes
26177 libgfor_cv_have_sync_fetch_and_add
=no
26179 rm -f core conftest.err conftest.
$ac_objext \
26180 conftest
$ac_exeext conftest.
$ac_ext
26182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
26183 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
26184 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
26186 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
26190 # Check out #pragma weak.
26192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26193 $as_echo_n "checking whether pragma weak works... " >&6; }
26194 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
26195 $as_echo_n "(cached) " >&6
26198 gfor_save_CFLAGS
="$CFLAGS"
26199 CFLAGS
="$CFLAGS -Wunknown-pragmas"
26200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26201 /* end confdefs.h. */
26214 if ac_fn_c_try_compile
"$LINENO"; then :
26215 libgfor_cv_have_pragma_weak
=yes
26217 libgfor_cv_have_pragma_weak
=no
26219 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26222 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26223 if test $libgfor_cv_have_pragma_weak = yes; then
26225 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26229 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* )
26231 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26236 # Various other checks on target
26238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26239 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26240 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
26241 $as_echo_n "(cached) " >&6
26244 if test "$cross_compiling" = yes; then :
26246 case "${target}" in
26247 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
26248 *) libgfor_cv_have_unlink_open_file
=yes;;
26251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26252 /* end confdefs.h. */
26256 #include <unistd.h>
26257 #include <sys/stat.h>
26263 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26266 if (unlink ("testfile") == -1)
26268 write (fd, "This is a test\n", 15);
26271 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26277 if ac_fn_c_try_run
"$LINENO"; then :
26278 libgfor_cv_have_unlink_open_file
=yes
26280 libgfor_cv_have_unlink_open_file
=no
26282 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26283 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26288 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26289 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
26291 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26295 # Check whether line terminator is LF or CRLF
26297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26298 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26299 if test "${libgfor_cv_have_crlf+set}" = set; then :
26300 $as_echo_n "(cached) " >&6
26303 if test "$cross_compiling" = yes; then :
26305 case "${target}" in
26306 *mingw
*) libgfor_cv_have_crlf
=yes ;;
26307 *) libgfor_cv_have_crlf
=no
;;
26310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26311 /* end confdefs.h. */
26313 /* This test program should exit with status 0 if system uses a CRLF as
26314 line terminator, and status 1 otherwise.
26315 Since it is used to check for mingw systems, and should return 0 in any
26316 other case, in case of a failure we will not use CRLF. */
26317 #include <sys/stat.h>
26318 #include <stdlib.h>
26330 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26333 if (write (fd, "\n", 1) < 0)
26338 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26340 bytes = read (fd, buff, 5);
26341 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26348 if ac_fn_c_try_run
"$LINENO"; then :
26349 libgfor_cv_have_crlf
=yes
26351 libgfor_cv_have_crlf
=no
26353 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26354 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26359 $as_echo "$libgfor_cv_have_crlf" >&6; }
26360 if test x
"$libgfor_cv_have_crlf" = xyes
; then
26362 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26366 # Check whether we have _Unwind_GetIPInfo for backtrace
26369 # Check whether --with-system-libunwind was given.
26370 if test "${with_system_libunwind+set}" = set; then :
26371 withval
=$with_system_libunwind;
26374 # If system-libunwind was not specifically set, pick a default setting.
26375 if test x
$with_system_libunwind = x
; then
26377 ia64-
*-hpux*) with_system_libunwind
=yes ;;
26378 *) with_system_libunwind
=no
;;
26381 # Based on system-libunwind and target, do we have ipinfo?
26382 if test x
$with_system_libunwind = xyes
; then
26384 ia64-
*-*) have_unwind_getipinfo
=no
;;
26385 *) have_unwind_getipinfo
=yes ;;
26388 # Darwin before version 9 does not have _Unwind_GetIPInfo.
26391 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
26392 *) have_unwind_getipinfo
=yes ;;
26397 if test x
$have_unwind_getipinfo = xyes
; then
26399 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
26404 cat >confcache
<<\_ACEOF
26405 # This file is a shell script that caches the results of configure
26406 # tests run on this system so they can be shared between configure
26407 # scripts and configure runs, see configure's option --config-cache.
26408 # It is not useful on other systems. If it contains results you don't
26409 # want to keep, you may remove or edit it.
26411 # config.status only pays attention to the cache file if you give it
26412 # the --recheck option to rerun configure.
26414 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26415 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26416 # following values.
26420 # The following way of writing the cache mishandles newlines in values,
26421 # but we know of no workaround that is simple, portable, and efficient.
26422 # So, we kill variables containing newlines.
26423 # Ultrix sh set writes to stderr and can't be redirected directly,
26424 # and sets the high bit in the cache file unless we assign to the vars.
26426 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26427 eval ac_val
=\$
$ac_var
26431 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26432 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26435 _ | IFS | as_nl
) ;; #(
26436 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26437 *) { eval $ac_var=; unset $ac_var;} ;;
26443 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26444 *${as_nl}ac_space
=\
*)
26445 # `set' does not quote correctly, so add quotes: double-quote
26446 # substitution turns \\\\ into \\, and sed turns \\ into \.
26449 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26452 # `set' quotes correctly as required by POSIX, so do not add quotes.
26453 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26462 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26464 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26466 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26467 if test -w "$cache_file"; then
26468 test "x$cache_file" != "x/dev/null" &&
26469 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26470 $as_echo "$as_me: updating cache $cache_file" >&6;}
26471 cat confcache
>$cache_file
26473 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26474 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26479 if test ${multilib} = yes; then
26480 multilib_arg
="--enable-multilib"
26485 # Write our Makefile and spec file.
26486 ac_config_files
="$ac_config_files Makefile libgfortran.spec"
26488 cat >confcache
<<\_ACEOF
26489 # This file is a shell script that caches the results of configure
26490 # tests run on this system so they can be shared between configure
26491 # scripts and configure runs, see configure's option --config-cache.
26492 # It is not useful on other systems. If it contains results you don't
26493 # want to keep, you may remove or edit it.
26495 # config.status only pays attention to the cache file if you give it
26496 # the --recheck option to rerun configure.
26498 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26499 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26500 # following values.
26504 # The following way of writing the cache mishandles newlines in values,
26505 # but we know of no workaround that is simple, portable, and efficient.
26506 # So, we kill variables containing newlines.
26507 # Ultrix sh set writes to stderr and can't be redirected directly,
26508 # and sets the high bit in the cache file unless we assign to the vars.
26510 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26511 eval ac_val
=\$
$ac_var
26515 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26516 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26519 _ | IFS | as_nl
) ;; #(
26520 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26521 *) { eval $ac_var=; unset $ac_var;} ;;
26527 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26528 *${as_nl}ac_space
=\
*)
26529 # `set' does not quote correctly, so add quotes: double-quote
26530 # substitution turns \\\\ into \\, and sed turns \\ into \.
26533 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26536 # `set' quotes correctly as required by POSIX, so do not add quotes.
26537 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26546 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26548 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26550 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26551 if test -w "$cache_file"; then
26552 test "x$cache_file" != "x/dev/null" &&
26553 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26554 $as_echo "$as_me: updating cache $cache_file" >&6;}
26555 cat confcache
>$cache_file
26557 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26558 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26563 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
26564 # Let make expand exec_prefix.
26565 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
26567 DEFS
=-DHAVE_CONFIG_H
26571 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
26572 # 1. Remove the extension, and $U if already installed.
26573 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
26574 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
26575 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26576 # will be set to the directory where LIBOBJS objects are built.
26577 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26578 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
26580 LIBOBJS
=$ac_libobjs
26582 LTLIBOBJS
=$ac_ltlibobjs
26585 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26586 as_fn_error
"conditional \"onestep\" was never defined.
26587 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26589 if test -n "$EXEEXT"; then
26591 am__EXEEXT_FALSE
='#'
26593 am__EXEEXT_TRUE
='#'
26597 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26598 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
26599 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26601 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26602 as_fn_error
"conditional \"AMDEP\" was never defined.
26603 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26605 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26606 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26607 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26609 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26610 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26611 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26613 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
26614 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
26615 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26617 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
26618 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
26619 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26621 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
26622 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
26623 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26625 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
26626 as_fn_error
"conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
26627 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26630 : ${CONFIG_STATUS=./config.status}
26632 ac_clean_files_save
=$ac_clean_files
26633 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
26634 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26635 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26637 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26639 # Generated by $as_me.
26640 # Run this file to recreate the current configuration.
26641 # Compiler output produced by configure, useful for debugging
26642 # configure, is in config.log if it exists.
26645 ac_cs_recheck=false
26648 SHELL=\${CONFIG_SHELL-$SHELL}
26651 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
26652 ## -------------------- ##
26653 ## M4sh Initialization. ##
26654 ## -------------------- ##
26656 # Be more Bourne compatible
26657 DUALCASE
=1; export DUALCASE
# for MKS sh
26658 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
26661 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26662 # is contrary to our usage. Disable this feature.
26663 alias -g '${1+"$@"}'='"$@"'
26664 setopt NO_GLOB_SUBST
26666 case `(set -o) 2>/dev/null` in #(
26678 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26679 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26680 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26681 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26682 # Prefer a ksh shell builtin over an external printf program on Solaris,
26683 # but without wasting forks for bash or zsh.
26684 if test -z "$BASH_VERSION$ZSH_VERSION" \
26685 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26686 as_echo='print
-r --'
26687 as_echo_n='print
-rn --'
26688 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26689 as_echo='printf %s
\n'
26690 as_echo_n='printf %s
'
26692 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26693 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
26694 as_echo_n='/usr
/ucb
/echo -n'
26696 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26697 as_echo_n_body='eval
26701 expr "X$arg" : "X\\(.*\\)$as_nl";
26702 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26704 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
26706 export as_echo_n_body
26707 as_echo_n='sh
-c $as_echo_n_body as_echo
'
26709 export as_echo_body
26710 as_echo='sh
-c $as_echo_body as_echo
'
26713 # The user is always right.
26714 if test "${PATH_SEPARATOR+set}" != set; then
26716 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26717 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26724 # We need space, tab and new line, in precisely that order. Quoting is
26725 # there to prevent editors from complaining about space-tab.
26726 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26727 # splitting by setting IFS to empty value.)
26730 # Find who we are. Look in the path if we contain no directory separator.
26732 *[\\/]* ) as_myself=$0 ;;
26733 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26734 for as_dir in $PATH
26737 test -z "$as_dir" && as_dir=.
26738 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26744 # We did not find ourselves, most probably we were run as `sh COMMAND'
26745 # in which case we are not to be found in the path.
26746 if test "x$as_myself" = x
; then
26749 if test ! -f "$as_myself"; then
26750 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26754 # Unset variables that we do not need and which cause bugs (e.g. in
26755 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26756 # suppresses any "Segmentation fault" message there. '((' could
26757 # trigger a bug in pdksh 5.2.14.
26758 for as_var
in BASH_ENV ENV MAIL MAILPATH
26759 do eval test x\
${$as_var+set} = xset \
26760 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
26773 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
26776 # as_fn_error ERROR [LINENO LOG_FD]
26777 # ---------------------------------
26778 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26779 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26780 # script with status $?, using 1 if that was 0.
26783 as_status
=$?
; test $as_status -eq 0 && as_status
=1
26785 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
26786 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26788 $as_echo "$as_me: error: $1" >&2
26789 as_fn_exit
$as_status
26793 # as_fn_set_status STATUS
26794 # -----------------------
26795 # Set $? to STATUS, without forking.
26796 as_fn_set_status
()
26799 } # as_fn_set_status
26801 # as_fn_exit STATUS
26802 # -----------------
26803 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26807 as_fn_set_status
$1
26813 # Portably unset VAR.
26816 { eval $1=; unset $1;}
26818 as_unset
=as_fn_unset
26819 # as_fn_append VAR VALUE
26820 # ----------------------
26821 # Append the text in VALUE to the end of the definition contained in VAR. Take
26822 # advantage of any shell optimizations that allow amortized linear growth over
26823 # repeated appends, instead of the typical quadratic growth present in naive
26825 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
26826 eval 'as_fn_append ()
26837 # as_fn_arith ARG...
26838 # ------------------
26839 # Perform arithmetic evaluation on the ARGs, and store the result in the
26840 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26841 # must be portable across $(()) and expr.
26842 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
26843 eval 'as_fn_arith ()
26850 as_val
=`expr "$@" || test $? -eq 1`
26855 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
26856 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
26862 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26863 as_basename
=basename
26868 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
26874 as_me
=`$as_basename -- "$0" ||
26875 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26876 X"$0" : 'X\(//\)$' \| \
26877 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26879 sed '/^.*\/\([^/][^/]*\)\/*$/{
26893 # Avoid depending upon Character Ranges.
26894 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
26895 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26896 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
26897 as_cr_digits
='0123456789'
26898 as_cr_alnum
=$as_cr_Letters$as_cr_digits
26900 ECHO_C
= ECHO_N
= ECHO_T
=
26901 case `echo -n x` in #(((((
26903 case `echo 'xy\c'` in
26904 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
26906 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
26913 rm -f conf$$ conf$$.exe conf$$.
file
26914 if test -d conf$$.dir
; then
26915 rm -f conf$$.dir
/conf$$.
file
26918 mkdir conf$$.dir
2>/dev
/null
26920 if (echo >conf$$.
file) 2>/dev
/null
; then
26921 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
26923 # ... but there are two gotchas:
26924 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26925 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26926 # In both cases, we have to default to `cp -p'.
26927 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
26929 elif ln conf$$.
file conf$$
2>/dev
/null
; then
26937 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
26938 rmdir conf$$.dir
2>/dev
/null
26943 # Create "$as_dir" as a directory, including parents if necessary.
26948 -*) as_dir
=.
/$as_dir;;
26950 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
26954 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26955 *) as_qdir
=$as_dir;;
26957 as_dirs
="'$as_qdir' $as_dirs"
26958 as_dir
=`$as_dirname -- "$as_dir" ||
26959 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26960 X"$as_dir" : 'X\(//\)[^/]' \| \
26961 X"$as_dir" : 'X\(//\)$' \| \
26962 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26963 $as_echo X"$as_dir" |
26964 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26968 /^X\(\/\/\)[^/].*/{
26981 test -d "$as_dir" && break
26983 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
26984 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
26988 if mkdir
-p .
2>/dev
/null
; then
26989 as_mkdir_p
='mkdir -p "$as_dir"'
26991 test -d .
/-p && rmdir .
/-p
26995 if test -x / >/dev
/null
2>&1; then
26996 as_test_x
='test -x'
26998 if ls -dL / >/dev
/null
2>&1; then
27005 if test -d "$1"; then
27011 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
27012 ???[sx]*):;;*)false;;esac;fi
27016 as_executable_p
=$as_test_x
27018 # Sed expression to map a string onto a valid CPP name.
27019 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27021 # Sed expression to map a string onto a valid variable name.
27022 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27026 ## ----------------------------------- ##
27027 ## Main body of $CONFIG_STATUS script. ##
27028 ## ----------------------------------- ##
27030 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
27032 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27033 # Save the log message, to keep $0 and so on meaningful, and to
27034 # report actual input values of CONFIG_FILES etc. instead of their
27035 # values after options handling.
27037 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27038 generated by GNU Autoconf 2.64. Invocation command line was
27040 CONFIG_FILES = $CONFIG_FILES
27041 CONFIG_HEADERS = $CONFIG_HEADERS
27042 CONFIG_LINKS = $CONFIG_LINKS
27043 CONFIG_COMMANDS = $CONFIG_COMMANDS
27046 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27051 case $ac_config_files in *"
27052 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
27055 case $ac_config_headers in *"
27056 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
27060 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27061 # Files that config.status was made for.
27062 config_files="$ac_config_files"
27063 config_headers="$ac_config_headers"
27064 config_commands="$ac_config_commands"
27068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27070 \`$as_me' instantiates files and other configuration actions
27071 from templates according to the current configuration. Unless the files
27072 and actions are specified as TAGs, all are instantiated by default.
27074 Usage: $0 [OPTION]... [TAG]...
27076 -h, --help print this help, then exit
27077 -V, --version print version number and configuration settings, then exit
27078 -q, --quiet, --silent
27079 do not print progress messages
27080 -d, --debug don't remove temporary files
27081 --recheck update $as_me by reconfiguring in the same conditions
27082 --file=FILE[:TEMPLATE]
27083 instantiate the configuration file FILE
27084 --header=FILE[:TEMPLATE]
27085 instantiate the configuration header FILE
27087 Configuration files:
27090 Configuration headers:
27093 Configuration commands:
27096 Report bugs to the package provider.
27097 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27098 General help using GNU software: <http://www.gnu.org/gethelp/>."
27101 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27103 GNU Fortran Runtime Library config.status 0.3
27104 configured by $0, generated by GNU Autoconf 2.64,
27105 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
27107 Copyright (C) 2009 Free Software Foundation, Inc.
27108 This config.status script is free software; the Free Software Foundation
27109 gives unlimited permission to copy, distribute and modify it."
27116 test -n "\$AWK" || AWK=awk
27119 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27120 # The default lists apply if the user does not specify any file.
27126 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
27127 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
27138 # Handling of the options.
27139 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
27141 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
27142 $as_echo "$ac_cs_version"; exit ;;
27143 --debug |
--debu |
--deb |
--de |
--d |
-d )
27145 --file |
--fil |
--fi |
--f )
27148 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27150 as_fn_append CONFIG_FILES
" '$ac_optarg'"
27151 ac_need_defaults
=false
;;
27152 --header |
--heade |
--head |
--hea )
27155 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27157 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
27158 ac_need_defaults
=false
;;
27160 # Conflict between --help and --header
27161 as_fn_error
"ambiguous option: \`$1'
27162 Try \`$0 --help' for more information.";;
27163 --help |
--hel |
-h )
27164 $as_echo "$ac_cs_usage"; exit ;;
27165 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
27166 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
27169 # This is an error.
27170 -*) as_fn_error
"unrecognized option: \`$1'
27171 Try \`$0 --help' for more information." ;;
27173 *) as_fn_append ac_config_targets
" $1"
27174 ac_need_defaults
=false
;;
27180 ac_configure_extra_args
=
27182 if $ac_cs_silent; then
27184 ac_configure_extra_args
="$ac_configure_extra_args --silent"
27188 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27189 if \$ac_cs_recheck; then
27190 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27192 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27193 CONFIG_SHELL='$SHELL'
27194 export CONFIG_SHELL
27199 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27203 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27204 ## Running $as_me. ##
27210 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27218 with_multisubdir="$with_multisubdir"
27219 with_multisrctop="$with_multisrctop"
27220 with_target_subdir="$with_target_subdir"
27221 ac_configure_args="${multilib_arg} ${ac_configure_args}"
27222 multi_basedir="$multi_basedir"
27223 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27226 GFORTRAN="$GFORTRAN"
27228 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27231 # The HP-UX ksh and POSIX shell print the target directory to stdout
27232 # if CDPATH is set.
27233 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27235 sed_quote_subst='$sed_quote_subst'
27236 double_quote_subst='$double_quote_subst'
27237 delay_variable_subst='$delay_variable_subst'
27238 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27239 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27240 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27241 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27242 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27243 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27244 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27245 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27246 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27247 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27248 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27249 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27250 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27251 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27252 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27253 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27254 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27255 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27256 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27257 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27258 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27259 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27260 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27261 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27262 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27263 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27264 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27265 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27266 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27267 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27268 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27269 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27270 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27271 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27272 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27273 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27274 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27275 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27276 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27277 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27278 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27279 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27280 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27281 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27282 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27283 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27284 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27285 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27286 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"`'
27287 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27288 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27289 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27290 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27291 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27292 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27293 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27294 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27295 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27296 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27297 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27298 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27299 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27300 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27301 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27302 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27303 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27304 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27305 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27306 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27307 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27308 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27309 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27310 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27311 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27312 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27313 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27314 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27315 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27316 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27317 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27318 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27319 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27320 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27321 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27322 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27323 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27324 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27325 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27326 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27327 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27328 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27329 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27330 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27331 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27332 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27333 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27334 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27335 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27336 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27337 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27338 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27339 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27340 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27341 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27342 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27343 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27344 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27345 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27346 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27347 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27348 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27349 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27350 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27351 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27352 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27353 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27354 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27355 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27356 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27357 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27358 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27359 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27360 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27361 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27362 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27363 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27364 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27365 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27366 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27367 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27368 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27369 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27370 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27371 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27372 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27373 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27374 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27375 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27376 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27377 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27378 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27379 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27380 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27381 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27382 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27383 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27384 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27385 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27386 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27387 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27388 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27389 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27390 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27391 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27392 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27393 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27394 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27395 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27396 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27397 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27398 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27399 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27400 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27401 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27402 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27403 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27404 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27405 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27406 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27407 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27408 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27409 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27410 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27411 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27412 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27415 LTCFLAGS='$LTCFLAGS'
27416 compiler='$compiler_DEFAULT'
27418 # A function that is used when there is no print builtin or printf.
27419 func_fallback_echo ()
27421 eval 'cat <<_LTECHO_EOF
27426 # Quote evaled strings.
27440 deplibs_check_method \
27449 lt_cv_sys_global_symbol_pipe \
27450 lt_cv_sys_global_symbol_to_cdecl \
27451 lt_cv_sys_global_symbol_to_c_name_address \
27452 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27453 lt_prog_compiler_no_builtin_flag \
27454 lt_prog_compiler_wl \
27455 lt_prog_compiler_pic \
27456 lt_prog_compiler_static \
27457 lt_cv_prog_compiler_c_o \
27465 export_dynamic_flag_spec \
27466 whole_archive_flag_spec \
27467 compiler_needs_object \
27469 allow_undefined_flag \
27470 no_undefined_flag \
27471 hardcode_libdir_flag_spec \
27472 hardcode_libdir_flag_spec_ld \
27473 hardcode_libdir_separator \
27478 variables_saved_for_relink \
27480 library_names_spec \
27482 install_override_mode \
27486 compiler_lib_search_dirs \
27491 compiler_lib_search_path \
27495 lt_prog_compiler_no_builtin_flag_FC \
27496 lt_prog_compiler_wl_FC \
27497 lt_prog_compiler_pic_FC \
27498 lt_prog_compiler_static_FC \
27499 lt_cv_prog_compiler_c_o_FC \
27500 export_dynamic_flag_spec_FC \
27501 whole_archive_flag_spec_FC \
27502 compiler_needs_object_FC \
27504 allow_undefined_flag_FC \
27505 no_undefined_flag_FC \
27506 hardcode_libdir_flag_spec_FC \
27507 hardcode_libdir_flag_spec_ld_FC \
27508 hardcode_libdir_separator_FC \
27509 fix_srcfile_path_FC \
27510 exclude_expsyms_FC \
27511 include_expsyms_FC \
27512 file_list_spec_FC \
27513 compiler_lib_search_dirs_FC \
27514 predep_objects_FC \
27515 postdep_objects_FC \
27518 compiler_lib_search_path_FC; do
27519 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27520 *[\\\\\\\`\\"\\\$]*)
27521 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27524 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27529 # Double-quote double-evaled strings.
27530 for var in reload_cmds \
27531 old_postinstall_cmds \
27532 old_postuninstall_cmds \
27534 extract_expsyms_cmds \
27535 old_archive_from_new_cmds \
27536 old_archive_from_expsyms_cmds \
27538 archive_expsym_cmds \
27540 module_expsym_cmds \
27541 export_symbols_cmds \
27544 postuninstall_cmds \
27546 sys_lib_search_path_spec \
27547 sys_lib_dlsearch_path_spec \
27549 old_archive_cmds_FC \
27550 old_archive_from_new_cmds_FC \
27551 old_archive_from_expsyms_cmds_FC \
27553 archive_expsym_cmds_FC \
27555 module_expsym_cmds_FC \
27556 export_symbols_cmds_FC \
27557 prelink_cmds_FC; do
27558 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27559 *[\\\\\\\`\\"\\\$]*)
27560 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27563 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27568 ac_aux_dir='$ac_aux_dir'
27569 xsi_shell='$xsi_shell'
27570 lt_shell_append='$lt_shell_append'
27572 # See if we are running on zsh, and set the options which allow our
27573 # commands through without removal of \ escapes INIT.
27574 if test -n "\${ZSH_VERSION+set}" ; then
27575 setopt NO_GLOB_SUBST
27581 TIMESTAMP='$TIMESTAMP'
27592 acx_cv_header_stdint="$acx_cv_header_stdint"
27593 acx_cv_type_int8_t="$acx_cv_type_int8_t"
27594 acx_cv_type_int16_t="$acx_cv_type_int16_t"
27595 acx_cv_type_int32_t="$acx_cv_type_int32_t"
27596 acx_cv_type_int64_t="$acx_cv_type_int64_t"
27597 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
27598 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
27599 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
27600 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27601 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27602 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
27603 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27604 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27605 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
27610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27612 # Handling of arguments.
27613 for ac_config_target
in $ac_config_targets
27615 case $ac_config_target in
27616 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
27617 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
27618 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
27619 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
27620 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
27621 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
27622 "libgfortran.spec") CONFIG_FILES
="$CONFIG_FILES libgfortran.spec" ;;
27624 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27629 # If the user did not use the arguments to specify the items to instantiate,
27630 # then the envvar interface is used. Set only those that are not.
27631 # We use the long form for the default assignment because of an extremely
27632 # bizarre bug on SunOS 4.1.3.
27633 if $ac_need_defaults; then
27634 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
27635 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
27636 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
27639 # Have a temporary directory for convenience. Make it in the build tree
27640 # simply because there is no reason against having it here, and in addition,
27641 # creating and moving files from /tmp can sometimes cause problems.
27642 # Hook for its removal unless debugging.
27643 # Note that there is a small window in which the directory will not be cleaned:
27644 # after its creation but before its name has been assigned to `$tmp'.
27648 trap 'exit_status=$?
27649 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27651 trap 'as_fn_exit 1' 1 2 13 15
27653 # Create a (secure) tmp directory for tmp files.
27656 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27657 test -n "$tmp" && test -d "$tmp"
27660 tmp
=.
/conf$$
-$RANDOM
27661 (umask 077 && mkdir
"$tmp")
27662 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
27664 # Set up the scripts for CONFIG_FILES section.
27665 # No need to generate them if there are no CONFIG_FILES.
27666 # This happens for instance with `./config.status config.h'.
27667 if test -n "$CONFIG_FILES"; then
27670 ac_cr
=`echo X | tr X '\015'`
27671 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27672 # But we know of no other shell where ac_cr would be empty at this
27673 # point, so we can use a bashism as a fallback.
27674 if test "x$ac_cr" = x
; then
27675 eval ac_cr
=\$
\'\\r
\'
27677 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27678 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27681 ac_cs_awk_cr
=$ac_cr
27684 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27689 echo "cat >conf$$subs.awk <<_ACEOF" &&
27690 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27692 } >conf$$subs.sh ||
27693 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27694 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27696 for ac_last_try in false false false false false :; do
27697 . ./conf$$subs.sh ||
27698 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27700 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
27701 if test $ac_delim_n = $ac_delim_num; then
27703 elif $ac_last_try; then
27704 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27706 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27709 rm -f conf$$subs.sh
27711 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27712 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
27716 s/^/S["/; s
/!.
*/"]=/
27726 s/\(.\{148\}\).*/\1/
27728 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
27733 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27740 s/\(.\{148\}\).*/\1/
27742 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
27746 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27751 ' <conf$$subs.awk | sed '
27756 ' >>$CONFIG_STATUS || ac_write_fail=1
27757 rm -f conf$$subs.awk
27758 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27760 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
27761 for (key in S) S_is_set[key] = 1
27767 nfields = split(line, field, "@
")
27769 len = length(field[1])
27770 for (i = 2; i < nfields; i++) {
27772 keylen = length(key)
27773 if (S_is_set[key]) {
27775 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27776 len += length(value) + length(field[++i])
27787 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27788 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27789 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
27792 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
27793 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
27796 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27797 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
27798 # trailing colons and then remove the whole line if VPATH becomes empty
27799 # (actually we leave an empty line to preserve line numbers).
27800 if test "x
$srcdir" = x.; then
27801 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27802 s/:*\$(srcdir):*/:/
27803 s/:*\${srcdir}:*/:/
27805 s/^\([^=]*=[ ]*\):*/\1/
27811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27812 fi # test -n "$CONFIG_FILES"
27814 # Set up the scripts for CONFIG_HEADERS section.
27815 # No need to generate them if there are no CONFIG_HEADERS.
27816 # This happens for instance with `./config.status Makefile'.
27817 if test -n "$CONFIG_HEADERS"; then
27818 cat >"$tmp/defines.
awk" <<\_ACAWK ||
27822 # Transform confdefs.h into an awk script `defines.awk', embedded as
27823 # here-document in config.status, that substitutes the proper values into
27824 # config.h.in to produce config.h.
27826 # Create a delimiter string that does not exist in confdefs.h, to ease
27827 # handling of long lines.
27829 for ac_last_try in false false :; do
27830 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
27831 if test -z "$ac_t"; then
27833 elif $ac_last_try; then
27834 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
27836 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27840 # For the awk script, D is an array of macro values keyed by name,
27841 # likewise P contains macro parameters if any. Preserve backslash
27842 # newline sequences.
27844 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27846 s/.\{148\}/&'"$ac_delim"'/g
27849 s/^[ ]*#[ ]*define[ ][ ]*/ /
27856 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
27858 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
27862 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
27863 D["\
1"]=" \
3\\\\\\n
"\\/p
27865 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
27870 s/.\{148\}/&'"$ac_delim"'/g
27875 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
27878 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
27880 ' <confdefs.h | sed '
27881 s/'"$ac_delim"'/"\\\
27882 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27884 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27885 for (key in D) D_is_set[key] = 1
27888 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
27890 split(line, arg, " ")
27891 if (arg[1] == "#") {
27895 defundef
= substr
(arg
[1], 2)
27898 split(mac1
, mac2
, "(") #)
27900 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
27901 if (D_is_set
[macro
]) {
27902 # Preserve the white space surrounding the "#".
27903 print prefix
"define", macro P
[macro
] D
[macro
]
27906 # Replace #undef with comments. This is necessary, for example,
27907 # in the case of _POSIX_SOURCE, which is predefined and required
27908 # on some systems where configure will not decide to define it.
27909 if (defundef
== "undef") {
27910 print
"/*", prefix defundef
, macro
, "*/"
27918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27919 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
27920 fi # test -n "$CONFIG_HEADERS"
27923 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
27928 :[FHLC
]) ac_mode
=$ac_tag; continue;;
27930 case $ac_mode$ac_tag in
27932 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
27933 :[FH
]-) ac_tag
=-:-;;
27934 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
27951 -) ac_f
="$tmp/stdin";;
27952 *) # Look for the file first in the build tree, then in the source tree
27953 # (if the path is not absolute). The absolute path cannot be DOS-style,
27954 # because $ac_f cannot contain `:'.
27958 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
27960 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
27962 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
27963 as_fn_append ac_file_inputs
" '$ac_f'"
27966 # Let's still pretend it is `configure' which instantiates (i.e., don't
27967 # use $as_me), people would be surprised to read:
27968 # /* config.h. Generated by config.status. */
27969 configure_input
='Generated from '`
27970 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
27972 if test x
"$ac_file" != x-
; then
27973 configure_input
="$ac_file. $configure_input"
27974 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
27975 $as_echo "$as_me: creating $ac_file" >&6;}
27977 # Neutralize special characters interpreted by sed in replacement strings.
27978 case $configure_input in #(
27979 *\
&* |
*\|
* |
*\\* )
27980 ac_sed_conf_input
=`$as_echo "$configure_input" |
27981 sed 's/[\\\\&|]/\\\\&/g'`;; #(
27982 *) ac_sed_conf_input
=$configure_input;;
27986 *:-:* |
*:-) cat >"$tmp/stdin" \
27987 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
27992 ac_dir
=`$as_dirname -- "$ac_file" ||
27993 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27994 X"$ac_file" : 'X\(//\)[^/]' \| \
27995 X"$ac_file" : 'X\(//\)$' \| \
27996 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27997 $as_echo X"$ac_file" |
27998 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28002 /^X\(\/\/\)[^/].*/{
28015 as_dir
="$ac_dir"; as_fn_mkdir_p
28019 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28021 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28022 # A ".." for each directory in $ac_dir_suffix.
28023 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28024 case $ac_top_builddir_sub in
28025 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28026 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
28029 ac_abs_top_builddir
=$ac_pwd
28030 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
28031 # for backward compatibility:
28032 ac_top_builddir
=$ac_top_build_prefix
28035 .
) # We are building in place.
28037 ac_top_srcdir
=$ac_top_builddir_sub
28038 ac_abs_top_srcdir
=$ac_pwd ;;
28039 [\\/]* | ?
:[\\/]* ) # Absolute name.
28040 ac_srcdir
=$srcdir$ac_dir_suffix;
28041 ac_top_srcdir
=$srcdir
28042 ac_abs_top_srcdir
=$srcdir ;;
28043 *) # Relative name.
28044 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
28045 ac_top_srcdir
=$ac_top_build_prefix$srcdir
28046 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
28048 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
28058 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
28059 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
28061 ac_MKDIR_P
=$MKDIR_P
28063 [\\/$
]* | ?
:[\\/]* ) ;;
28064 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
28068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28069 # If the template does not know about datarootdir, expand it.
28070 # FIXME: This hack should be removed a few years after 2.60.
28071 ac_datarootdir_hack
=; ac_datarootdir_seen
=
28082 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28083 *datarootdir
*) ac_datarootdir_seen
=yes;;
28084 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
28085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28086 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28089 ac_datarootdir_hack='
28090 s&@datadir@&$datadir&g
28091 s&@docdir@&$docdir&g
28092 s&@infodir@&$infodir&g
28093 s&@localedir@&$localedir&g
28094 s&@mandir@&$mandir&g
28095 s&\\\${datarootdir}&$datarootdir&g' ;;
28099 # Neutralize VPATH when `$srcdir' = `.'.
28100 # Shell code in configure.ac might set extrasub.
28101 # FIXME: do we really want to maintain this feature?
28102 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28103 ac_sed_extra="$ac_vpsub
28106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28108 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
28109 s|@configure_input@|
$ac_sed_conf_input|
;t t
28110 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
28111 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
28112 s
&@srcdir@
&$ac_srcdir&;t t
28113 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
28114 s
&@top_srcdir@
&$ac_top_srcdir&;t t
28115 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
28116 s
&@builddir@
&$ac_builddir&;t t
28117 s
&@abs_builddir@
&$ac_abs_builddir&;t t
28118 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
28119 s
&@INSTALL@
&$ac_INSTALL&;t t
28120 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
28121 $ac_datarootdir_hack
28123 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
28124 || as_fn_error "could not create
$ac_file" "$LINENO" 5
28126 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28127 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
28128 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
28129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
28130 which seems to be undefined. Please make sure it is defined." >&5
28131 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
28132 which seems to be undefined. Please make sure it is defined." >&2;}
28136 -) cat "$tmp/out" && rm -f "$tmp/out";;
28137 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
28139 || as_fn_error "could not create $ac_file" "$LINENO" 5
28145 if test x"$ac_file" != x-; then
28147 $as_echo "/* $configure_input */" \
28148 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
28149 } >"$tmp/config.h" \
28150 || as_fn_error "could not create $ac_file" "$LINENO" 5
28151 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
28152 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28153 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28156 mv "$tmp/config.h" "$ac_file" \
28157 || as_fn_error "could not create $ac_file" "$LINENO" 5
28160 $as_echo "/* $configure_input */" \
28161 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
28162 || as_fn_error "could not create -" "$LINENO" 5
28164 # Compute "$ac_file"'s index
in $config_headers.
28167 for _am_header
in $config_headers :; do
28168 case $_am_header in
28169 $_am_arg |
$_am_arg:* )
28172 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
28175 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28176 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28177 X"$_am_arg" : 'X\(//\)[^/]' \| \
28178 X"$_am_arg" : 'X\(//\)$' \| \
28179 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28180 $as_echo X"$_am_arg" |
28181 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28185 /^X\(\/\/\)[^/].*/{
28197 s/.*/./; q'`/stamp-h
$_am_stamp_count
28200 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28201 $as_echo "$as_me: executing $ac_file commands" >&6;}
28206 case $ac_file$ac_mode in
28208 # Only add multilib support code if we just rebuilt the top-level
28210 case " $CONFIG_FILES " in
28212 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
28215 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
28216 # Autoconf 2.62 quotes --file arguments for eval, but not when files
28217 # are listed without --file. Let's play safe and only enable the eval
28218 # if we detect the quoting.
28219 case $CONFIG_FILES in
28220 *\'*) eval set x
"$CONFIG_FILES" ;;
28221 *) set x
$CONFIG_FILES ;;
28226 # Strip MF so we end up with the name of the file.
28227 mf
=`echo "$mf" | sed -e 's/:.*$//'`
28228 # Check whether this is an Automake generated Makefile or not.
28229 # We used to match only the files named `Makefile.in', but
28230 # some people rename them; so instead we look at the file content.
28231 # Grep'ing the first line is not enough: some people post-process
28232 # each Makefile.in and add a new line on top of each file to say so.
28233 # Grep'ing the whole file is not good either: AIX grep has a line
28234 # limit of 2048, but all sed's we know have understand at least 4000.
28235 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
28236 dirpart
=`$as_dirname -- "$mf" ||
28237 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28238 X"$mf" : 'X\(//\)[^/]' \| \
28239 X"$mf" : 'X\(//\)$' \| \
28240 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28242 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28246 /^X\(\/\/\)[^/].*/{
28262 # Extract the definition of DEPDIR, am__include, and am__quote
28263 # from the Makefile without running `make'.
28264 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
28265 test -z "$DEPDIR" && continue
28266 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
28267 test -z "am__include" && continue
28268 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
28269 # When using ansi2knr, U may be empty or an underscore; expand it
28270 U
=`sed -n 's/^U = //p' < "$mf"`
28271 # Find all dependency output files, they are included files with
28272 # $(DEPDIR) in their names. We invoke sed twice because it is the
28273 # simplest approach to changing $(DEPDIR) to its actual value in the
28275 for file in `sed -n "
28276 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28277 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28278 # Make sure the directory exists.
28279 test -f "$dirpart/$file" && continue
28280 fdir
=`$as_dirname -- "$file" ||
28281 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28282 X"$file" : 'X\(//\)[^/]' \| \
28283 X"$file" : 'X\(//\)$' \| \
28284 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28285 $as_echo X"$file" |
28286 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28290 /^X\(\/\/\)[^/].*/{
28303 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
28304 # echo "creating $dirpart/$file"
28305 echo '# dummy' > "$dirpart/$file"
28312 # See if we are running on zsh, and set the options which allow our
28313 # commands through without removal of \ escapes.
28314 if test -n "${ZSH_VERSION+set}" ; then
28315 setopt NO_GLOB_SUBST
28318 cfgfile
="${ofile}T"
28319 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28322 cat <<_LT_EOF >> "$cfgfile"
28325 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28326 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28327 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28328 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28330 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28331 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28332 # Written by Gordon Matzigkeit, 1996
28334 # This file is part of GNU Libtool.
28336 # GNU Libtool is free software; you can redistribute it and/or
28337 # modify it under the terms of the GNU General Public License as
28338 # published by the Free Software Foundation; either version 2 of
28339 # the License, or (at your option) any later version.
28341 # As a special exception to the GNU General Public License,
28342 # if you distribute this file as part of a program or library that
28343 # is built using GNU Libtool, you may include this file under the
28344 # same distribution terms that you use for the rest of that program.
28346 # GNU Libtool is distributed in the hope that it will be useful,
28347 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28348 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28349 # GNU General Public License for more details.
28351 # You should have received a copy of the GNU General Public License
28352 # along with GNU Libtool; see the file COPYING. If not, a copy
28353 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28354 # obtained by writing to the Free Software Foundation, Inc.,
28355 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28358 # The names of the tagged configurations supported by this script.
28359 available_tags="FC "
28361 # ### BEGIN LIBTOOL CONFIG
28363 # Which release of libtool.m4 was used?
28364 macro_version=$macro_version
28365 macro_revision=$macro_revision
28367 # Whether or not to build shared libraries.
28368 build_libtool_libs=$enable_shared
28370 # Whether or not to build static libraries.
28371 build_old_libs=$enable_static
28373 # What type of objects to build.
28376 # Whether or not to optimize for fast installation.
28377 fast_install=$enable_fast_install
28379 # Shell to use when invoking shell scripts.
28382 # An echo program that protects backslashes.
28386 host_alias=$host_alias
28390 # The build system.
28391 build_alias=$build_alias
28395 # A sed program that does not truncate output.
28398 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28399 Xsed="\$SED -e 1s/^X//"
28401 # A grep program that handles long lines.
28407 # A literal string matcher.
28410 # A BSD- or MS-compatible name lister.
28413 # Whether we need soft or hard links.
28416 # What is the maximum length of a command?
28417 max_cmd_len=$max_cmd_len
28419 # Object file suffix (normally "o").
28422 # Executable file suffix (normally "").
28425 # whether the shell understands "unset".
28428 # turn spaces into newlines.
28431 # turn newlines into spaces.
28434 # An object symbol dumper.
28435 OBJDUMP=$lt_OBJDUMP
28437 # Method to check whether dependent libraries are shared objects.
28438 deplibs_check_method=$lt_deplibs_check_method
28440 # Command to use when deplibs_check_method == "file_magic".
28441 file_magic_cmd=$lt_file_magic_cmd
28445 AR_FLAGS=$lt_AR_FLAGS
28447 # A symbol stripping program.
28450 # Commands used to install an old-style archive.
28452 old_postinstall_cmds=$lt_old_postinstall_cmds
28453 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28455 # Whether to use a lock for old archive extraction.
28456 lock_old_archive_extraction=$lock_old_archive_extraction
28461 # LTCC compiler flags.
28462 LTCFLAGS=$lt_CFLAGS
28464 # Take the output of nm and produce a listing of raw symbols and C names.
28465 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28467 # Transform the output of nm in a proper C declaration.
28468 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28470 # Transform the output of nm in a C name address pair.
28471 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28473 # Transform the output of nm in a C name address pair when lib prefix is needed.
28474 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28476 # The name of the directory that contains temporary libtool files.
28479 # Used to examine libraries when file_magic_cmd begins with "file".
28480 MAGIC_CMD=$MAGIC_CMD
28482 # Must we lock files when doing compilation?
28483 need_locks=$lt_need_locks
28485 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28486 DSYMUTIL=$lt_DSYMUTIL
28488 # Tool to change global to local symbols on Mac OS X.
28491 # Tool to manipulate fat objects and archives on Mac OS X.
28494 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28497 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28498 OTOOL64=$lt_OTOOL64
28500 # Old archive suffix (normally "a").
28503 # Shared library suffix (normally ".so").
28504 shrext_cmds=$lt_shrext_cmds
28506 # The commands to extract the exported symbol list from a shared archive.
28507 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28509 # Variables whose values should be saved in libtool wrapper scripts and
28510 # restored at link time.
28511 variables_saved_for_relink=$lt_variables_saved_for_relink
28513 # Do we need the "lib" prefix for modules?
28514 need_lib_prefix=$need_lib_prefix
28516 # Do we need a version for libraries?
28517 need_version=$need_version
28519 # Library versioning type.
28520 version_type=$version_type
28522 # Shared library runtime path variable.
28523 runpath_var=$runpath_var
28525 # Shared library path variable.
28526 shlibpath_var=$shlibpath_var
28528 # Is shlibpath searched before the hard-coded library search path?
28529 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28531 # Format of library name prefix.
28532 libname_spec=$lt_libname_spec
28534 # List of archive names. First name is the real one, the rest are links.
28535 # The last name is the one that the linker finds with -lNAME
28536 library_names_spec=$lt_library_names_spec
28538 # The coded name of the library, if different from the real name.
28539 soname_spec=$lt_soname_spec
28541 # Permission mode override for installation of shared libraries.
28542 install_override_mode=$lt_install_override_mode
28544 # Command to use after installation of a shared archive.
28545 postinstall_cmds=$lt_postinstall_cmds
28547 # Command to use after uninstallation of a shared archive.
28548 postuninstall_cmds=$lt_postuninstall_cmds
28550 # Commands used to finish a libtool library installation in a directory.
28551 finish_cmds=$lt_finish_cmds
28553 # As "finish_cmds", except a single script fragment to be evaled but
28555 finish_eval=$lt_finish_eval
28557 # Whether we should hardcode library paths into libraries.
28558 hardcode_into_libs=$hardcode_into_libs
28560 # Compile-time system search path for libraries.
28561 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28563 # Run-time system search path for libraries.
28564 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28566 # Whether dlopen is supported.
28567 dlopen_support=$enable_dlopen
28569 # Whether dlopen of programs is supported.
28570 dlopen_self=$enable_dlopen_self
28572 # Whether dlopen of statically linked programs is supported.
28573 dlopen_self_static=$enable_dlopen_self_static
28575 # Commands to strip libraries.
28576 old_striplib=$lt_old_striplib
28577 striplib=$lt_striplib
28580 # The linker used to build libraries.
28583 # How to create reloadable object files.
28584 reload_flag=$lt_reload_flag
28585 reload_cmds=$lt_reload_cmds
28587 # Commands used to build an old-style archive.
28588 old_archive_cmds=$lt_old_archive_cmds
28590 # A language specific compiler.
28593 # Is the compiler the GNU compiler?
28596 # Compiler flag to turn off builtin functions.
28597 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28599 # How to pass a linker flag through the compiler.
28600 wl=$lt_lt_prog_compiler_wl
28602 # Additional compiler flags for building library objects.
28603 pic_flag=$lt_lt_prog_compiler_pic
28605 # Compiler flag to prevent dynamic linking.
28606 link_static_flag=$lt_lt_prog_compiler_static
28608 # Does compiler simultaneously support -c and -o options?
28609 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28611 # Whether or not to add -lc for building shared libraries.
28612 build_libtool_need_lc=$archive_cmds_need_lc
28614 # Whether or not to disallow shared libs when runtime libs are static.
28615 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28617 # Compiler flag to allow reflexive dlopens.
28618 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28620 # Compiler flag to generate shared objects directly from archives.
28621 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28623 # Whether the compiler copes with passing no objects directly.
28624 compiler_needs_object=$lt_compiler_needs_object
28626 # Create an old-style archive from a shared archive.
28627 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28629 # Create a temporary old-style archive to link instead of a shared archive.
28630 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28632 # Commands used to build a shared archive.
28633 archive_cmds=$lt_archive_cmds
28634 archive_expsym_cmds=$lt_archive_expsym_cmds
28636 # Commands used to build a loadable module if different from building
28637 # a shared archive.
28638 module_cmds=$lt_module_cmds
28639 module_expsym_cmds=$lt_module_expsym_cmds
28641 # Whether we are building with GNU ld or not.
28642 with_gnu_ld=$lt_with_gnu_ld
28644 # Flag that allows shared libraries with undefined symbols to be built.
28645 allow_undefined_flag=$lt_allow_undefined_flag
28647 # Flag that enforces no undefined symbols.
28648 no_undefined_flag=$lt_no_undefined_flag
28650 # Flag to hardcode \$libdir into a binary during linking.
28651 # This must work even if \$libdir does not exist
28652 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28654 # If ld is used when linking, flag to hardcode \$libdir into a binary
28655 # during linking. This must work even if \$libdir does not exist.
28656 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28658 # Whether we need a single "-rpath" flag with a separated argument.
28659 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28661 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28662 # DIR into the resulting binary.
28663 hardcode_direct=$hardcode_direct
28665 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28666 # DIR into the resulting binary and the resulting library dependency is
28667 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28668 # library is relocated.
28669 hardcode_direct_absolute=$hardcode_direct_absolute
28671 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28672 # into the resulting binary.
28673 hardcode_minus_L=$hardcode_minus_L
28675 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28676 # into the resulting binary.
28677 hardcode_shlibpath_var=$hardcode_shlibpath_var
28679 # Set to "yes" if building a shared library automatically hardcodes DIR
28680 # into the library and all subsequent libraries and executables linked
28682 hardcode_automatic=$hardcode_automatic
28684 # Set to yes if linker adds runtime paths of dependent libraries
28685 # to runtime path list.
28686 inherit_rpath=$inherit_rpath
28688 # Whether libtool must link a program against all its dependency libraries.
28689 link_all_deplibs=$link_all_deplibs
28691 # Fix the shell variable \$srcfile for the compiler.
28692 fix_srcfile_path=$lt_fix_srcfile_path
28694 # Set to "yes" if exported symbols are required.
28695 always_export_symbols=$always_export_symbols
28697 # The commands to list exported symbols.
28698 export_symbols_cmds=$lt_export_symbols_cmds
28700 # Symbols that should not be listed in the preloaded symbols.
28701 exclude_expsyms=$lt_exclude_expsyms
28703 # Symbols that must always be exported.
28704 include_expsyms=$lt_include_expsyms
28706 # Commands necessary for linking programs (against libraries) with templates.
28707 prelink_cmds=$lt_prelink_cmds
28709 # Specify filename containing input files.
28710 file_list_spec=$lt_file_list_spec
28712 # How to hardcode a shared library path into an executable.
28713 hardcode_action=$hardcode_action
28715 # The directories searched by this compiler when creating a shared library.
28716 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28718 # Dependencies to place before and after the objects being linked to
28719 # create a shared library.
28720 predep_objects=$lt_predep_objects
28721 postdep_objects=$lt_postdep_objects
28722 predeps=$lt_predeps
28723 postdeps=$lt_postdeps
28725 # The library search path used internally by the compiler when linking
28726 # a shared library.
28727 compiler_lib_search_path=$lt_compiler_lib_search_path
28729 # ### END LIBTOOL CONFIG
28735 cat <<\_LT_EOF
>> "$cfgfile"
28736 # AIX sometimes has problems with the GCC collect2 program. For some
28737 # reason, if we set the COLLECT_NAMES environment variable, the problems
28738 # vanish in a puff of smoke.
28739 if test "X${COLLECT_NAMES+set}" != Xset
; then
28741 export COLLECT_NAMES
28748 ltmain
="$ac_aux_dir/ltmain.sh"
28751 # We use sed instead of cat because bash on DJGPP gets confused if
28752 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28753 # text mode, it properly converts lines to CR/LF. This bash problem
28754 # is reportedly fixed, but why not run on old versions too?
28755 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28756 ||
(rm -f "$cfgfile"; exit 1)
28760 cat << \_LT_EOF
>> "$cfgfile"
28762 # func_dirname file append nondir_replacement
28763 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28764 # otherwise set result to NONDIR_REPLACEMENT.
28768 */*) func_dirname_result
="${1%/*}${2}" ;;
28769 * ) func_dirname_result
="${3}" ;;
28773 # func_basename file
28776 func_basename_result
="${1##*/}"
28779 # func_dirname_and_basename file append nondir_replacement
28780 # perform func_basename and func_dirname in a single function
28782 # dirname: Compute the dirname of FILE. If nonempty,
28783 # add APPEND to the result, otherwise set result
28784 # to NONDIR_REPLACEMENT.
28785 # value returned in "$func_dirname_result"
28786 # basename: Compute filename of FILE.
28787 # value retuned in "$func_basename_result"
28788 # Implementation must be kept synchronized with func_dirname
28789 # and func_basename. For efficiency, we do not delegate to
28790 # those functions but instead duplicate the functionality here.
28791 func_dirname_and_basename
()
28794 */*) func_dirname_result
="${1%/*}${2}" ;;
28795 * ) func_dirname_result
="${3}" ;;
28797 func_basename_result
="${1##*/}"
28800 # func_stripname prefix suffix name
28801 # strip PREFIX and SUFFIX off of NAME.
28802 # PREFIX and SUFFIX must not contain globbing or regex special
28803 # characters, hashes, percent signs, but SUFFIX may contain a leading
28804 # dot (in which case that matches only a dot).
28807 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28808 # positional parameters, so assign one to ordinary parameter first.
28809 func_stripname_result
=${3}
28810 func_stripname_result
=${func_stripname_result#"${1}"}
28811 func_stripname_result
=${func_stripname_result%"${2}"}
28817 func_opt_split_opt
=${1%%=*}
28818 func_opt_split_arg
=${1#*=}
28825 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
28826 *) func_lo2o_result
=${1} ;;
28830 # func_xform libobj-or-source
28833 func_xform_result
=${1%.*}.lo
28836 # func_arith arithmetic-term...
28839 func_arith_result
=$
(( $
* ))
28843 # STRING may not start with a hyphen.
28846 func_len_result
=${#1}
28851 *) # Bourne compatible functions.
28852 cat << \_LT_EOF
>> "$cfgfile"
28854 # func_dirname file append nondir_replacement
28855 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28856 # otherwise set result to NONDIR_REPLACEMENT.
28859 # Extract subdirectory from the argument.
28860 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
28861 if test "X$func_dirname_result" = "X${1}"; then
28862 func_dirname_result
="${3}"
28864 func_dirname_result
="$func_dirname_result${2}"
28868 # func_basename file
28871 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
28875 # func_stripname prefix suffix name
28876 # strip PREFIX and SUFFIX off of NAME.
28877 # PREFIX and SUFFIX must not contain globbing or regex special
28878 # characters, hashes, percent signs, but SUFFIX may contain a leading
28879 # dot (in which case that matches only a dot).
28880 # func_strip_suffix prefix name
28884 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
28885 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
28890 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
28891 my_sed_long_arg
='1s/^-[^=]*=//'
28896 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
28897 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
28903 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
28906 # func_xform libobj-or-source
28909 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
28912 # func_arith arithmetic-term...
28915 func_arith_result
=`expr "$@"`
28919 # STRING may not start with a hyphen.
28922 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
28928 case $lt_shell_append in
28930 cat << \_LT_EOF
>> "$cfgfile"
28932 # func_append var value
28933 # Append VALUE to the end of shell variable VAR.
28941 cat << \_LT_EOF
>> "$cfgfile"
28943 # func_append var value
28944 # Append VALUE to the end of shell variable VAR.
28955 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
28956 ||
(rm -f "$cfgfile"; exit 1)
28958 mv -f "$cfgfile" "$ofile" ||
28959 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
28963 cat <<_LT_EOF >> "$ofile"
28965 # ### BEGIN LIBTOOL TAG CONFIG: FC
28967 # The linker used to build libraries.
28970 # How to create reloadable object files.
28971 reload_flag=$lt_reload_flag_FC
28972 reload_cmds=$lt_reload_cmds_FC
28974 # Commands used to build an old-style archive.
28975 old_archive_cmds=$lt_old_archive_cmds_FC
28977 # A language specific compiler.
28980 # Is the compiler the GNU compiler?
28983 # Compiler flag to turn off builtin functions.
28984 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
28986 # How to pass a linker flag through the compiler.
28987 wl=$lt_lt_prog_compiler_wl_FC
28989 # Additional compiler flags for building library objects.
28990 pic_flag=$lt_lt_prog_compiler_pic_FC
28992 # Compiler flag to prevent dynamic linking.
28993 link_static_flag=$lt_lt_prog_compiler_static_FC
28995 # Does compiler simultaneously support -c and -o options?
28996 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
28998 # Whether or not to add -lc for building shared libraries.
28999 build_libtool_need_lc=$archive_cmds_need_lc_FC
29001 # Whether or not to disallow shared libs when runtime libs are static.
29002 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
29004 # Compiler flag to allow reflexive dlopens.
29005 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
29007 # Compiler flag to generate shared objects directly from archives.
29008 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29010 # Whether the compiler copes with passing no objects directly.
29011 compiler_needs_object=$lt_compiler_needs_object_FC
29013 # Create an old-style archive from a shared archive.
29014 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29016 # Create a temporary old-style archive to link instead of a shared archive.
29017 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29019 # Commands used to build a shared archive.
29020 archive_cmds=$lt_archive_cmds_FC
29021 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29023 # Commands used to build a loadable module if different from building
29024 # a shared archive.
29025 module_cmds=$lt_module_cmds_FC
29026 module_expsym_cmds=$lt_module_expsym_cmds_FC
29028 # Whether we are building with GNU ld or not.
29029 with_gnu_ld=$lt_with_gnu_ld_FC
29031 # Flag that allows shared libraries with undefined symbols to be built.
29032 allow_undefined_flag=$lt_allow_undefined_flag_FC
29034 # Flag that enforces no undefined symbols.
29035 no_undefined_flag=$lt_no_undefined_flag_FC
29037 # Flag to hardcode \$libdir into a binary during linking.
29038 # This must work even if \$libdir does not exist
29039 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29041 # If ld is used when linking, flag to hardcode \$libdir into a binary
29042 # during linking. This must work even if \$libdir does not exist.
29043 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29045 # Whether we need a single "-rpath" flag with a separated argument.
29046 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29048 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29049 # DIR into the resulting binary.
29050 hardcode_direct=$hardcode_direct_FC
29052 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29053 # DIR into the resulting binary and the resulting library dependency is
29054 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29055 # library is relocated.
29056 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29058 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29059 # into the resulting binary.
29060 hardcode_minus_L=$hardcode_minus_L_FC
29062 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29063 # into the resulting binary.
29064 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29066 # Set to "yes" if building a shared library automatically hardcodes DIR
29067 # into the library and all subsequent libraries and executables linked
29069 hardcode_automatic=$hardcode_automatic_FC
29071 # Set to yes if linker adds runtime paths of dependent libraries
29072 # to runtime path list.
29073 inherit_rpath=$inherit_rpath_FC
29075 # Whether libtool must link a program against all its dependency libraries.
29076 link_all_deplibs=$link_all_deplibs_FC
29078 # Fix the shell variable \$srcfile for the compiler.
29079 fix_srcfile_path=$lt_fix_srcfile_path_FC
29081 # Set to "yes" if exported symbols are required.
29082 always_export_symbols=$always_export_symbols_FC
29084 # The commands to list exported symbols.
29085 export_symbols_cmds=$lt_export_symbols_cmds_FC
29087 # Symbols that should not be listed in the preloaded symbols.
29088 exclude_expsyms=$lt_exclude_expsyms_FC
29090 # Symbols that must always be exported.
29091 include_expsyms=$lt_include_expsyms_FC
29093 # Commands necessary for linking programs (against libraries) with templates.
29094 prelink_cmds=$lt_prelink_cmds_FC
29096 # Specify filename containing input files.
29097 file_list_spec=$lt_file_list_spec_FC
29099 # How to hardcode a shared library path into an executable.
29100 hardcode_action=$hardcode_action_FC
29102 # The directories searched by this compiler when creating a shared library.
29103 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29105 # Dependencies to place before and after the objects being linked to
29106 # create a shared library.
29107 predep_objects=$lt_predep_objects_FC
29108 postdep_objects=$lt_postdep_objects_FC
29109 predeps=$lt_predeps_FC
29110 postdeps=$lt_postdeps_FC
29112 # The library search path used internally by the compiler when linking
29113 # a shared library.
29114 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29116 # ### END LIBTOOL TAG CONFIG: FC
29121 if test "$GCC" = yes; then
29122 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29124 echo "/* generated for $CC */" > tmp-stdint.h
29127 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29129 #ifndef GCC_GENERATED_STDINT_H
29130 #define GCC_GENERATED_STDINT_H 1
29132 #include <sys/types.h>
29135 if test "$acx_cv_header_stdint" != stdint.h
; then
29136 echo "#include <stddef.h>" >> tmp-stdint.h
29138 if test "$acx_cv_header_stdint" != stddef.h
; then
29139 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29142 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29143 /* glibc uses these symbols as guards to prevent redefinitions. */
29144 #ifdef __int8_t_defined
29149 #ifdef __uint32_t_defined
29155 # ----------------- done header, emit basic int types -------------
29156 if test "$acx_cv_header_stdint" = stddef.h
; then
29157 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29161 #ifndef __uint8_t_defined
29162 #define __uint8_t_defined
29164 typedef unsigned $acx_cv_type_int8_t uint8_t;
29171 #ifndef __uint16_t_defined
29172 #define __uint16_t_defined
29174 typedef unsigned $acx_cv_type_int16_t uint16_t;
29181 #ifndef __uint32_t_defined
29182 #define __uint32_t_defined
29184 typedef unsigned $acx_cv_type_int32_t uint32_t;
29191 #ifndef __int8_t_defined
29192 #define __int8_t_defined
29194 typedef $acx_cv_type_int8_t int8_t;
29201 #ifndef __int16_t_defined
29202 #define __int16_t_defined
29204 typedef $acx_cv_type_int16_t int16_t;
29211 #ifndef __int32_t_defined
29212 #define __int32_t_defined
29214 typedef $acx_cv_type_int32_t int32_t;
29219 elif test "$ac_cv_type_u_int32_t" = yes; then
29220 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29222 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29235 #ifndef __uint8_t_defined
29236 #define __uint8_t_defined
29238 typedef u_int8_t uint8_t;
29245 #ifndef __uint16_t_defined
29246 #define __uint16_t_defined
29248 typedef u_int16_t uint16_t;
29255 #ifndef __uint32_t_defined
29256 #define __uint32_t_defined
29258 typedef u_int32_t uint32_t;
29264 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29266 /* Some systems have guard macros to prevent redefinitions, define them. */
29288 # ------------- done basic int types, emit int64_t types ------------
29289 if test "$ac_cv_type_uint64_t" = yes; then
29290 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29292 /* system headers have good uint64_t and int64_t */
29300 elif test "$ac_cv_type_u_int64_t" = yes; then
29301 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29303 /* system headers have an u_int64_t (and int64_t) */
29309 #ifndef __uint64_t_defined
29310 #define __uint64_t_defined
29312 typedef u_int64_t uint64_t;
29317 elif test -n "$acx_cv_type_int64_t"; then
29318 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29320 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29324 typedef $acx_cv_type_int64_t int64_t;
29329 #ifndef __uint64_t_defined
29330 #define __uint64_t_defined
29332 typedef unsigned $acx_cv_type_int64_t uint64_t;
29338 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29340 /* some common heuristics for int64_t, using compiler-specific tests */
29341 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29344 #ifndef __int64_t_defined
29346 typedef long long int64_t;
29353 typedef unsigned long long uint64_t;
29357 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29358 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29359 does not implement __extension__. But that compiler doesn't define
29361 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29362 # define __extension__
29368 __extension__ typedef long long int64_t;
29374 __extension__ typedef unsigned long long uint64_t;
29378 #elif !defined __STRICT_ANSI__
29379 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29384 typedef __int64 int64_t;
29390 typedef unsigned __int64 uint64_t;
29393 # endif /* compiler */
29395 #endif /* ANSI version */
29399 # ------------- done int64_t types, emit intptr types ------------
29400 if test "$ac_cv_type_uintptr_t" != yes; then
29401 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29403 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29404 #ifndef __uintptr_t_defined
29406 typedef u$acx_cv_type_intptr_t uintptr_t;
29409 #ifndef __intptr_t_defined
29411 typedef $acx_cv_type_intptr_t intptr_t;
29417 # ------------- done intptr types, emit int_least types ------------
29418 if test "$ac_cv_type_int_least32_t" != yes; then
29419 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29421 /* Define int_least types */
29422 typedef int8_t int_least8_t;
29423 typedef int16_t int_least16_t;
29424 typedef int32_t int_least32_t;
29426 typedef int64_t int_least64_t;
29429 typedef uint8_t uint_least8_t;
29430 typedef uint16_t uint_least16_t;
29431 typedef uint32_t uint_least32_t;
29433 typedef uint64_t uint_least64_t;
29438 # ------------- done intptr types, emit int_fast types ------------
29439 if test "$ac_cv_type_int_fast32_t" != yes; then
29440 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29442 /* Define int_fast types. short is often slow */
29443 typedef int8_t int_fast8_t;
29444 typedef int int_fast16_t;
29445 typedef int32_t int_fast32_t;
29447 typedef int64_t int_fast64_t;
29450 typedef uint8_t uint_fast8_t;
29451 typedef unsigned int uint_fast16_t;
29452 typedef uint32_t uint_fast32_t;
29454 typedef uint64_t uint_fast64_t;
29459 if test "$ac_cv_type_uintmax_t" != yes; then
29460 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29462 /* Define intmax based on what we found */
29465 typedef int64_t intmax_t;
29467 typedef long intmax_t;
29472 typedef uint64_t uintmax_t;
29474 typedef unsigned long uintmax_t;
29480 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29482 #endif /* GCC_GENERATED_STDINT_H */
29485 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
29488 mv -f tmp-stdint.h gstdint.h
29499 ac_clean_files
=$ac_clean_files_save
29501 test $ac_write_fail = 0 ||
29502 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
29505 # configure is writing to config.log, and then calls config.status.
29506 # config.status does its own redirection, appending to config.log.
29507 # Unfortunately, on DOS this fails, as config.log is still kept open
29508 # by configure, so config.status won't be able to write to it; its
29509 # output is simply discarded. So we exec the FD to /dev/null,
29510 # effectively closing config.log, so it can be properly (re)opened and
29511 # appended to by config.status. When coming back to configure, we
29512 # need to make the FD available again.
29513 if test "$no_create" != yes; then
29515 ac_config_status_args
=
29516 test "$silent" = yes &&
29517 ac_config_status_args
="$ac_config_status_args --quiet"
29519 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
29521 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29522 # would make configure fail if this is the last instruction.
29523 $ac_cs_success || as_fn_exit $?
29525 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
29526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29527 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}