2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GNU Fortran Runtime Library 0.3.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev
/null
; then :
186 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
191 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir
=.
198 for as_base
in sh bash ksh sh5
; do
199 # Try only shells that exist, to save several forks.
200 as_shell
=$as_dir/$as_base
201 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 CONFIG_SHELL
=$as_shell as_have_required
=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
212 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
214 CONFIG_SHELL
=$SHELL as_have_required
=yes
219 if test "x$CONFIG_SHELL" != x
; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x
$as_have_required = xno
; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x
${ZSH_VERSION+set} = xset
; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL
=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE
= GREP_OPTIONS
=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir
=.
/$as_dir;;
291 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
295 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs
="'$as_qdir' $as_dirs"
299 as_dir
=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
325 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
360 as_val
=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status
=$?
; test $as_status -eq 0 && as_status
=1
374 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit
$as_status
381 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
388 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
400 as_me
=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits
='0123456789'
424 as_cr_alnum
=$as_cr_Letters$as_cr_digits
427 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
428 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C
= ECHO_N
= ECHO_T
=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
471 rm -f conf$$ conf$$.exe conf$$.
file
472 if test -d conf$$.dir
; then
473 rm -f conf$$.dir
/conf$$.
file
476 mkdir conf$$.dir
2>/dev
/null
478 if (echo >conf$$.
file) 2>/dev
/null
; then
479 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
496 rmdir conf$$.dir
2>/dev
/null
498 if mkdir
-p .
2>/dev
/null
; then
499 as_mkdir_p
='mkdir -p "$as_dir"'
501 test -d .
/-p && rmdir .
/-p
505 if test -x / >/dev
/null
2>&1; then
508 if ls -dL / >/dev
/null
2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p
=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL
=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev
/null
6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
557 PACKAGE_NAME
='GNU Fortran Runtime Library'
558 PACKAGE_TARNAME
='libgfortran'
559 PACKAGE_VERSION
='0.3'
560 PACKAGE_STRING
='GNU Fortran Runtime Library 0.3'
562 PACKAGE_URL
='http://www.gnu.org/software/libgfortran/'
564 # Factoring default headers for most tests.
565 ac_includes_default
="\
567 #ifdef HAVE_SYS_TYPES_H
568 # include <sys/types.h>
570 #ifdef HAVE_SYS_STAT_H
571 # include <sys/stat.h>
577 # ifdef HAVE_STDLIB_H
582 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
587 #ifdef HAVE_STRINGS_H
588 # include <strings.h>
590 #ifdef HAVE_INTTYPES_H
591 # include <inttypes.h>
604 ac_subst_vars
='am__EXEEXT_FALSE
613 LIBGFOR_BUILD_QUAD_FALSE
614 LIBGFOR_BUILD_QUAD_TRUE
619 extra_ldflags_libgfortran
644 LIBGFOR_USE_SYMVER_SUN_FALSE
645 LIBGFOR_USE_SYMVER_SUN_TRUE
646 LIBGFOR_USE_SYMVER_GNU_FALSE
647 LIBGFOR_USE_SYMVER_GNU_TRUE
648 LIBGFOR_USE_SYMVER_FALSE
649 LIBGFOR_USE_SYMVER_TRUE
676 MAINTAINER_MODE_FALSE
686 INSTALL_STRIP_PROGRAM
748 program_transform_name
761 enable_option_checking
763 enable_version_specific_runtime_libs
765 enable_maintainer_mode
767 enable_dependency_tracking
776 enable_libquadmath_support
777 with_system_libunwind
779 ac_precious_vars
='build_alias
792 # Initialize some variables set by options.
794 ac_init_version
=false
795 ac_unrecognized_opts
=
797 # The variables have the same names as the options, with
798 # dashes changed to underlines.
806 program_transform_name
=s
,x
,x
,
814 # Installation directory options.
815 # These are left unexpanded so users can "make install exec_prefix=/foo"
816 # and all the variables that are supposed to be based on exec_prefix
817 # by default will actually change.
818 # Use braces instead of parens because sh, perl, etc. also accept them.
819 # (The list follows the same order as the GNU Coding Standards.)
820 bindir
='${exec_prefix}/bin'
821 sbindir
='${exec_prefix}/sbin'
822 libexecdir
='${exec_prefix}/libexec'
823 datarootdir
='${prefix}/share'
824 datadir
='${datarootdir}'
825 sysconfdir
='${prefix}/etc'
826 sharedstatedir
='${prefix}/com'
827 localstatedir
='${prefix}/var'
828 includedir
='${prefix}/include'
829 oldincludedir
='/usr/include'
830 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
831 infodir
='${datarootdir}/info'
836 libdir
='${exec_prefix}/lib'
837 localedir
='${datarootdir}/locale'
838 mandir
='${datarootdir}/man'
844 # If the previous option needs an argument, assign it.
845 if test -n "$ac_prev"; then
846 eval $ac_prev=\
$ac_option
852 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
856 # Accept the important Cygnus configure options, so we can diagnose typos.
858 case $ac_dashdash$ac_option in
862 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
864 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
867 -build |
--build |
--buil |
--bui |
--bu)
868 ac_prev
=build_alias
;;
869 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
870 build_alias
=$ac_optarg ;;
872 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
873 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
874 ac_prev
=cache_file
;;
875 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
876 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
877 cache_file
=$ac_optarg ;;
880 cache_file
=config.cache
;;
882 -datadir |
--datadir |
--datadi |
--datad)
884 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
885 datadir
=$ac_optarg ;;
887 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
888 |
--dataroo |
--dataro |
--datar)
889 ac_prev
=datarootdir
;;
890 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
891 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
892 datarootdir
=$ac_optarg ;;
894 -disable-* |
--disable-*)
895 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
896 # Reject names that are not valid shell variable names.
897 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
898 as_fn_error
"invalid feature name: $ac_useropt"
899 ac_useropt_orig
=$ac_useropt
900 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
901 case $ac_user_opts in
905 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
906 ac_unrecognized_sep
=', ';;
908 eval enable_
$ac_useropt=no
;;
910 -docdir |
--docdir |
--docdi |
--doc |
--do)
912 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
915 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
917 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
920 -enable-* |
--enable-*)
921 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
922 # Reject names that are not valid shell variable names.
923 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
924 as_fn_error
"invalid feature name: $ac_useropt"
925 ac_useropt_orig
=$ac_useropt
926 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
927 case $ac_user_opts in
931 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
932 ac_unrecognized_sep
=', ';;
934 eval enable_
$ac_useropt=\
$ac_optarg ;;
936 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
937 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
938 |
--exec |
--exe |
--ex)
939 ac_prev
=exec_prefix
;;
940 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
941 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
942 |
--exec=* |
--exe=* |
--ex=*)
943 exec_prefix
=$ac_optarg ;;
945 -gas |
--gas |
--ga |
--g)
946 # Obsolete; use --with-gas.
949 -help |
--help |
--hel |
--he |
-h)
951 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
952 ac_init_help
=recursive
;;
953 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
954 ac_init_help
=short
;;
956 -host |
--host |
--hos |
--ho)
957 ac_prev
=host_alias
;;
958 -host=* |
--host=* |
--hos=* |
--ho=*)
959 host_alias
=$ac_optarg ;;
961 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
963 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
965 htmldir
=$ac_optarg ;;
967 -includedir |
--includedir |
--includedi |
--included |
--include \
968 |
--includ |
--inclu |
--incl |
--inc)
969 ac_prev
=includedir
;;
970 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
971 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
972 includedir
=$ac_optarg ;;
974 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
976 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
977 infodir
=$ac_optarg ;;
979 -libdir |
--libdir |
--libdi |
--libd)
981 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
984 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
985 |
--libexe |
--libex |
--libe)
986 ac_prev
=libexecdir
;;
987 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
988 |
--libexe=* |
--libex=* |
--libe=*)
989 libexecdir
=$ac_optarg ;;
991 -localedir |
--localedir |
--localedi |
--localed |
--locale)
993 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
994 localedir
=$ac_optarg ;;
996 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
997 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
998 ac_prev
=localstatedir
;;
999 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1000 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1001 localstatedir
=$ac_optarg ;;
1003 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1005 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1006 mandir
=$ac_optarg ;;
1008 -nfp |
--nfp |
--nf)
1009 # Obsolete; use --without-fp.
1012 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1013 |
--no-cr |
--no-c |
-n)
1016 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1017 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1020 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1021 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1022 |
--oldin |
--oldi |
--old |
--ol |
--o)
1023 ac_prev
=oldincludedir
;;
1024 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1025 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1026 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1027 oldincludedir
=$ac_optarg ;;
1029 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1031 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1032 prefix
=$ac_optarg ;;
1034 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1035 |
--program-pre |
--program-pr |
--program-p)
1036 ac_prev
=program_prefix
;;
1037 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1038 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1039 program_prefix
=$ac_optarg ;;
1041 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1042 |
--program-suf |
--program-su |
--program-s)
1043 ac_prev
=program_suffix
;;
1044 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1045 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1046 program_suffix
=$ac_optarg ;;
1048 -program-transform-name |
--program-transform-name \
1049 |
--program-transform-nam |
--program-transform-na \
1050 |
--program-transform-n |
--program-transform- \
1051 |
--program-transform |
--program-transfor \
1052 |
--program-transfo |
--program-transf \
1053 |
--program-trans |
--program-tran \
1054 |
--progr-tra |
--program-tr |
--program-t)
1055 ac_prev
=program_transform_name
;;
1056 -program-transform-name=* |
--program-transform-name=* \
1057 |
--program-transform-nam=* |
--program-transform-na=* \
1058 |
--program-transform-n=* |
--program-transform-=* \
1059 |
--program-transform=* |
--program-transfor=* \
1060 |
--program-transfo=* |
--program-transf=* \
1061 |
--program-trans=* |
--program-tran=* \
1062 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1063 program_transform_name
=$ac_optarg ;;
1065 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1067 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1068 pdfdir
=$ac_optarg ;;
1070 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1072 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1075 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1076 |
-silent |
--silent |
--silen |
--sile |
--sil)
1079 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1081 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1083 sbindir
=$ac_optarg ;;
1085 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1086 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1087 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1089 ac_prev
=sharedstatedir
;;
1090 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1091 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1092 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1094 sharedstatedir
=$ac_optarg ;;
1096 -site |
--site |
--sit)
1098 -site=* |
--site=* |
--sit=*)
1101 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1103 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1104 srcdir
=$ac_optarg ;;
1106 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1107 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1108 ac_prev
=sysconfdir
;;
1109 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1110 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1111 sysconfdir
=$ac_optarg ;;
1113 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1114 ac_prev
=target_alias
;;
1115 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1116 target_alias
=$ac_optarg ;;
1118 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1121 -version |
--version |
--versio |
--versi |
--vers |
-V)
1122 ac_init_version
=: ;;
1125 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1126 # Reject names that are not valid shell variable names.
1127 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1128 as_fn_error
"invalid package name: $ac_useropt"
1129 ac_useropt_orig
=$ac_useropt
1130 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1131 case $ac_user_opts in
1135 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1136 ac_unrecognized_sep
=', ';;
1138 eval with_
$ac_useropt=\
$ac_optarg ;;
1140 -without-* |
--without-*)
1141 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1142 # Reject names that are not valid shell variable names.
1143 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1144 as_fn_error
"invalid package name: $ac_useropt"
1145 ac_useropt_orig
=$ac_useropt
1146 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1147 case $ac_user_opts in
1151 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1152 ac_unrecognized_sep
=', ';;
1154 eval with_
$ac_useropt=no
;;
1157 # Obsolete; use --with-x.
1160 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1161 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1162 ac_prev
=x_includes
;;
1163 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1164 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1165 x_includes
=$ac_optarg ;;
1167 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1168 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1169 ac_prev
=x_libraries
;;
1170 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1171 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1172 x_libraries
=$ac_optarg ;;
1174 -*) as_fn_error
"unrecognized option: \`$ac_option'
1175 Try \`$0 --help' for more information."
1179 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1180 # Reject names that are not valid shell variable names.
1181 case $ac_envvar in #(
1182 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1183 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1185 eval $ac_envvar=\
$ac_optarg
1186 export $ac_envvar ;;
1189 # FIXME: should be removed in autoconf 3.0.
1190 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1191 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1192 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1193 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1199 if test -n "$ac_prev"; then
1200 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1201 as_fn_error
"missing argument to $ac_option"
1204 if test -n "$ac_unrecognized_opts"; then
1205 case $enable_option_checking in
1207 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1208 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1212 # Check all directory arguments for consistency.
1213 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1214 datadir sysconfdir sharedstatedir localstatedir includedir \
1215 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1216 libdir localedir mandir
1218 eval ac_val
=\$
$ac_var
1219 # Remove trailing slashes.
1222 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1223 eval $ac_var=\
$ac_val;;
1225 # Be sure to have absolute directory names.
1227 [\\/$
]* | ?
:[\\/]* ) continue;;
1228 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1230 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1233 # There might be people who depend on the old broken behavior: `$host'
1234 # used to hold the argument of --host etc.
1235 # FIXME: To remove some day.
1238 target
=$target_alias
1240 # FIXME: To remove some day.
1241 if test "x$host_alias" != x
; then
1242 if test "x$build_alias" = x
; then
1243 cross_compiling
=maybe
1244 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1245 If a cross compiler is detected then cross compile mode will be used." >&2
1246 elif test "x$build_alias" != "x$host_alias"; then
1252 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1254 test "$silent" = yes && exec 6>/dev
/null
1257 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1258 ac_ls_di
=`ls -di .` &&
1259 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1260 as_fn_error
"working directory cannot be determined"
1261 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1262 as_fn_error
"pwd does not report name of working directory"
1265 # Find the source files, if location was not specified.
1266 if test -z "$srcdir"; then
1267 ac_srcdir_defaulted
=yes
1268 # Try the directory containing this script, then the parent directory.
1269 ac_confdir
=`$as_dirname -- "$as_myself" ||
1270 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1271 X"$as_myself" : 'X\(//\)[^/]' \| \
1272 X"$as_myself" : 'X\(//\)$' \| \
1273 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1274 $as_echo X"$as_myself" |
1275 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1293 if test ! -r "$srcdir/$ac_unique_file"; then
1297 ac_srcdir_defaulted
=no
1299 if test ! -r "$srcdir/$ac_unique_file"; then
1300 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1301 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1303 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1305 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1307 # When building in place, set srcdir=.
1308 if test "$ac_abs_confdir" = "$ac_pwd"; then
1311 # Remove unnecessary trailing slashes from srcdir.
1312 # Double slashes in file names in object file debugging info
1313 # mess up M-x gdb in Emacs.
1315 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1317 for ac_var
in $ac_precious_vars; do
1318 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1319 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1320 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1321 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1325 # Report the --help message.
1327 if test "$ac_init_help" = "long"; then
1328 # Omit some internal or obsolete options to make the list less imposing.
1329 # This message is too long to be a string in the A/UX 3.1 sh.
1331 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1333 Usage: $0 [OPTION]... [VAR=VALUE]...
1335 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1336 VAR=VALUE. See below for descriptions of some of the useful variables.
1338 Defaults for the options are specified in brackets.
1341 -h, --help display this help and exit
1342 --help=short display options specific to this package
1343 --help=recursive display the short help of all the included packages
1344 -V, --version display version information and exit
1345 -q, --quiet, --silent do not print \`checking...' messages
1346 --cache-file=FILE cache test results in FILE [disabled]
1347 -C, --config-cache alias for \`--cache-file=config.cache'
1348 -n, --no-create do not create output files
1349 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1351 Installation directories:
1352 --prefix=PREFIX install architecture-independent files in PREFIX
1353 [$ac_default_prefix]
1354 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1357 By default, \`make install' will install all the files in
1358 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1359 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1360 for instance \`--prefix=\$HOME'.
1362 For better control, use the options below.
1364 Fine tuning of the installation directories:
1365 --bindir=DIR user executables [EPREFIX/bin]
1366 --sbindir=DIR system admin executables [EPREFIX/sbin]
1367 --libexecdir=DIR program executables [EPREFIX/libexec]
1368 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1369 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1370 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1371 --libdir=DIR object code libraries [EPREFIX/lib]
1372 --includedir=DIR C header files [PREFIX/include]
1373 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1374 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1375 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1376 --infodir=DIR info documentation [DATAROOTDIR/info]
1377 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1378 --mandir=DIR man documentation [DATAROOTDIR/man]
1379 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1380 --htmldir=DIR html documentation [DOCDIR]
1381 --dvidir=DIR dvi documentation [DOCDIR]
1382 --pdfdir=DIR pdf documentation [DOCDIR]
1383 --psdir=DIR ps documentation [DOCDIR]
1389 --program-prefix=PREFIX prepend PREFIX to installed program names
1390 --program-suffix=SUFFIX append SUFFIX to installed program names
1391 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1394 --build=BUILD configure
for building on BUILD
[guessed
]
1395 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1396 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1400 if test -n "$ac_init_help"; then
1401 case $ac_init_help in
1402 short | recursive
) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1407 --disable-option-checking ignore unrecognized
--enable/--with options
1408 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1409 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1410 --enable-version-specific-runtime-libs
1411 specify that runtime libraries should be installed
1412 in a compiler-specific directory
1413 --enable-intermodule build the library
in one step
1414 --enable-maintainer-mode enable make rules and dependencies not useful
1415 (and sometimes confusing
) to the casual installer
1416 --enable-multilib build many library versions
(default
)
1417 --disable-dependency-tracking speeds up one-time build
1418 --enable-dependency-tracking do not reject slow dependency extractors
1419 --disable-symvers disable symbol versioning
for libgfortran
1420 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1421 --enable-static[=PKGS
] build static libraries
[default
=yes]
1422 --enable-fast-install[=PKGS
]
1423 optimize
for fast installation
[default
=yes]
1424 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1425 --disable-largefile omit support
for large files
1426 --disable-libquadmath-support
1427 disable libquadmath support
for Fortran
1430 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1431 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1432 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1433 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1435 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1436 --with-system-libunwind use installed libunwind
1438 Some influential environment variables
:
1439 CC C compiler
command
1440 CFLAGS C compiler flags
1441 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1442 nonstandard directory
<lib dir
>
1443 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1444 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1445 you have headers
in a nonstandard directory
<include dir
>
1447 FC Fortran compiler
command
1448 FCFLAGS Fortran compiler flags
1450 Use these variables to override the choices made by
`configure' or to help
1451 it to find libraries and programs with nonstandard names/locations.
1453 Report bugs to the package provider.
1454 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1455 General help using GNU software: <http://www.gnu.org/gethelp/>.
1460 if test "$ac_init_help" = "recursive"; then
1461 # If there are subdirs, report their specific --help.
1462 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1463 test -d "$ac_dir" ||
1464 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1469 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1471 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1472 # A ".." for each directory in $ac_dir_suffix.
1473 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1474 case $ac_top_builddir_sub in
1475 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1476 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1479 ac_abs_top_builddir=$ac_pwd
1480 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1481 # for backward compatibility:
1482 ac_top_builddir=$ac_top_build_prefix
1485 .) # We are building in place.
1487 ac_top_srcdir=$ac_top_builddir_sub
1488 ac_abs_top_srcdir=$ac_pwd ;;
1489 [\\/]* | ?:[\\/]* ) # Absolute name.
1490 ac_srcdir=$srcdir$ac_dir_suffix;
1491 ac_top_srcdir=$srcdir
1492 ac_abs_top_srcdir=$srcdir ;;
1494 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1495 ac_top_srcdir=$ac_top_build_prefix$srcdir
1496 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1498 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1500 cd "$ac_dir" || { ac_status=$?; continue; }
1501 # Check for guested configure.
1502 if test -f "$ac_srcdir/configure.gnu"; then
1504 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1505 elif test -f "$ac_srcdir/configure"; then
1507 $SHELL "$ac_srcdir/configure" --help=recursive
1509 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1511 cd "$ac_pwd" || { ac_status=$?; break; }
1515 test -n "$ac_init_help" && exit $ac_status
1516 if $ac_init_version; then
1518 GNU Fortran Runtime Library configure 0.3
1519 generated by GNU Autoconf 2.64
1521 Copyright (C) 2009 Free Software Foundation, Inc.
1522 This configure script is free software; the Free Software Foundation
1523 gives unlimited permission to copy, distribute and modify it.
1528 ## ------------------------ ##
1529 ## Autoconf initialization. ##
1530 ## ------------------------ ##
1532 # ac_fn_c_try_compile LINENO
1533 # --------------------------
1534 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1535 ac_fn_c_try_compile ()
1537 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1538 rm -f conftest.$ac_objext
1539 if { { ac_try="$ac_compile"
1541 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1542 *) ac_try_echo
=$ac_try;;
1544 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1545 $as_echo "$ac_try_echo"; } >&5
1546 (eval "$ac_compile") 2>conftest.err
1548 if test -s conftest.err
; then
1549 grep -v '^ *+' conftest.err
>conftest.er1
1550 cat conftest.er1
>&5
1551 mv -f conftest.er1 conftest.err
1553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1554 test $ac_status = 0; } && {
1555 test -z "$ac_c_werror_flag" ||
1556 test ! -s conftest.err
1557 } && test -s conftest.
$ac_objext; then :
1560 $as_echo "$as_me: failed program was:" >&5
1561 sed 's/^/| /' conftest.
$ac_ext >&5
1565 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1568 } # ac_fn_c_try_compile
1570 # ac_fn_c_try_cpp LINENO
1571 # ----------------------
1572 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1575 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1576 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1578 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1579 *) ac_try_echo=$ac_try;;
1581 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1582 $as_echo "$ac_try_echo"; } >&5
1583 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1585 if test -s conftest.err; then
1586 grep -v '^ *+' conftest.err >conftest.er1
1587 cat conftest.er1 >&5
1588 mv -f conftest.er1 conftest.err
1590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1591 test $ac_status = 0; } >/dev/null && {
1592 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1593 test ! -s conftest.err
1597 $as_echo "$as_me: failed program was:" >&5
1598 sed 's/^/| /' conftest.$ac_ext >&5
1602 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1607 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1608 # -------------------------------------------------------
1609 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1610 # the include files in INCLUDES and setting the cache variable VAR
1612 ac_fn_c_check_header_mongrel ()
1614 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1615 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1617 $as_echo_n "checking for $2... " >&6; }
1618 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1619 $as_echo_n "(cached) " >&6
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1623 $as_echo "$ac_res" >&6; }
1625 # Is the header compilable?
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1627 $as_echo_n "checking $2 usability... " >&6; }
1628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1629 /* end confdefs.h. */
1633 if ac_fn_c_try_compile "$LINENO"; then :
1634 ac_header_compiler=yes
1636 ac_header_compiler=no
1638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1640 $as_echo "$ac_header_compiler" >&6; }
1642 # Is the header present?
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1644 $as_echo_n "checking $2 presence... " >&6; }
1645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1646 /* end confdefs.h. */
1649 if ac_fn_c_try_cpp "$LINENO"; then :
1650 ac_header_preproc=yes
1652 ac_header_preproc=no
1654 rm -f conftest.err conftest.$ac_ext
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1656 $as_echo "$ac_header_preproc" >&6; }
1658 # So? What about this header?
1659 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1662 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1664 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1668 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1670 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1672 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1674 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1676 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1680 $as_echo_n "checking for $2... " >&6; }
1681 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1682 $as_echo_n "(cached) " >&6
1684 eval "$3=\$ac_header_compiler"
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1688 $as_echo "$ac_res" >&6; }
1690 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1692 } # ac_fn_c_check_header_mongrel
1694 # ac_fn_c_try_run LINENO
1695 # ----------------------
1696 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1697 # that executables *can* be run.
1700 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701 if { { ac_try="$ac_link"
1703 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1704 *) ac_try_echo
=$ac_try;;
1706 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707 $as_echo "$ac_try_echo"; } >&5
1708 (eval "$ac_link") 2>&5
1710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1711 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1712 { { case "(($ac_try" in
1713 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1714 *) ac_try_echo=$ac_try;;
1716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1717 $as_echo "$ac_try_echo"; } >&5
1718 (eval "$ac_try") 2>&5
1720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721 test $ac_status = 0; }; }; then :
1724 $as_echo "$as_me: program exited with status $ac_status" >&5
1725 $as_echo "$as_me: failed program was:" >&5
1726 sed 's/^/| /' conftest.$ac_ext >&5
1728 ac_retval=$ac_status
1730 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1731 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1736 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1737 # -------------------------------------------------------
1738 # Tests whether HEADER exists and can be compiled using the include files in
1739 # INCLUDES, setting the cache variable VAR accordingly.
1740 ac_fn_c_check_header_compile ()
1742 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1744 $as_echo_n "checking for $2... " >&6; }
1745 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1746 $as_echo_n "(cached) " >&6
1748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1749 /* end confdefs.h. */
1753 if ac_fn_c_try_compile "$LINENO"; then :
1758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1762 $as_echo "$ac_res" >&6; }
1763 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1765 } # ac_fn_c_check_header_compile
1767 # ac_fn_c_try_link LINENO
1768 # -----------------------
1769 # Try to link conftest.$ac_ext, and return whether this succeeded.
1772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773 rm -f conftest.$ac_objext conftest$ac_exeext
1774 if { { ac_try="$ac_link"
1776 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1777 *) ac_try_echo
=$ac_try;;
1779 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1780 $as_echo "$ac_try_echo"; } >&5
1781 (eval "$ac_link") 2>conftest.err
1783 if test -s conftest.err
; then
1784 grep -v '^ *+' conftest.err
>conftest.er1
1785 cat conftest.er1
>&5
1786 mv -f conftest.er1 conftest.err
1788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1789 test $ac_status = 0; } && {
1790 test -z "$ac_c_werror_flag" ||
1791 test ! -s conftest.err
1792 } && test -s conftest
$ac_exeext && {
1793 test "$cross_compiling" = yes ||
1794 $as_test_x conftest
$ac_exeext
1798 $as_echo "$as_me: failed program was:" >&5
1799 sed 's/^/| /' conftest.
$ac_ext >&5
1803 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1804 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1805 # interfere with the next link command; also delete a directory that is
1806 # left behind by Apple's compiler. We do this before executing the actions.
1807 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1808 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1811 } # ac_fn_c_try_link
1813 # ac_fn_c_check_func LINENO FUNC VAR
1814 # ----------------------------------
1815 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1816 ac_fn_c_check_func
()
1818 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1820 $as_echo_n "checking for $2... " >&6; }
1821 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1822 $as_echo_n "(cached) " >&6
1824 if test x
$gcc_no_link = xyes
; then
1825 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1828 /* end confdefs.h. */
1829 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1831 #define $2 innocuous_$2
1833 /* System header to define __stub macros and hopefully few prototypes,
1834 which can conflict with char $2 (); below.
1835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1836 <limits.h> exists even on freestanding compilers. */
1839 # include <limits.h>
1841 # include <assert.h>
1846 /* Override any GCC internal prototype to avoid an error.
1847 Use char because int might match the return type of a GCC
1848 builtin and then its argument prototype would still apply. */
1853 /* The GNU C library defines this for functions which it implements
1854 to always fail with ENOSYS. Some functions are actually named
1855 something starting with __ and the normal name is an alias. */
1856 #if defined __stub_$2 || defined __stub___$2
1868 if ac_fn_c_try_link
"$LINENO"; then :
1873 rm -f core conftest.err conftest.
$ac_objext \
1874 conftest
$ac_exeext conftest.
$ac_ext
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1878 $as_echo "$ac_res" >&6; }
1879 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1881 } # ac_fn_c_check_func
1883 # ac_fn_fc_try_compile LINENO
1884 # ---------------------------
1885 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1886 ac_fn_fc_try_compile
()
1888 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1889 rm -f conftest.
$ac_objext
1890 if { { ac_try
="$ac_compile"
1892 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1893 *) ac_try_echo=$ac_try;;
1895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1896 $as_echo "$ac_try_echo"; } >&5
1897 (eval "$ac_compile") 2>conftest.err
1899 if test -s conftest.err; then
1900 grep -v '^ *+' conftest.err >conftest.er1
1901 cat conftest.er1 >&5
1902 mv -f conftest.er1 conftest.err
1904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1905 test $ac_status = 0; } && {
1906 test -z "$ac_fc_werror_flag" ||
1907 test ! -s conftest.err
1908 } && test -s conftest.$ac_objext; then :
1911 $as_echo "$as_me: failed program was:" >&5
1912 sed 's/^/| /' conftest.$ac_ext >&5
1916 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1919 } # ac_fn_fc_try_compile
1921 # ac_fn_fc_try_link LINENO
1922 # ------------------------
1923 # Try to link conftest.$ac_ext, and return whether this succeeded.
1924 ac_fn_fc_try_link ()
1926 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1927 rm -f conftest.$ac_objext conftest$ac_exeext
1928 if { { ac_try="$ac_link"
1930 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1931 *) ac_try_echo
=$ac_try;;
1933 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1934 $as_echo "$ac_try_echo"; } >&5
1935 (eval "$ac_link") 2>conftest.err
1937 if test -s conftest.err
; then
1938 grep -v '^ *+' conftest.err
>conftest.er1
1939 cat conftest.er1
>&5
1940 mv -f conftest.er1 conftest.err
1942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1943 test $ac_status = 0; } && {
1944 test -z "$ac_fc_werror_flag" ||
1945 test ! -s conftest.err
1946 } && test -s conftest
$ac_exeext && {
1947 test "$cross_compiling" = yes ||
1948 $as_test_x conftest
$ac_exeext
1952 $as_echo "$as_me: failed program was:" >&5
1953 sed 's/^/| /' conftest.
$ac_ext >&5
1957 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1958 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1959 # interfere with the next link command; also delete a directory that is
1960 # left behind by Apple's compiler. We do this before executing the actions.
1961 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1962 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1965 } # ac_fn_fc_try_link
1967 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1968 # -------------------------------------------
1969 # Tests whether TYPE exists after having included INCLUDES, setting cache
1970 # variable VAR accordingly.
1971 ac_fn_c_check_type
()
1973 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1975 $as_echo_n "checking for $2... " >&6; }
1976 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1977 $as_echo_n "(cached) " >&6
1980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1981 /* end confdefs.h. */
1992 if ac_fn_c_try_compile
"$LINENO"; then :
1993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1994 /* end confdefs.h. */
2005 if ac_fn_c_try_compile
"$LINENO"; then :
2010 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2016 $as_echo "$ac_res" >&6; }
2017 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2019 } # ac_fn_c_check_type
2021 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2022 # --------------------------------------------
2023 # Tries to find the compile-time value of EXPR in a program that includes
2024 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2026 ac_fn_c_compute_int
()
2028 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2029 if test "$cross_compiling" = yes; then
2030 # Depending upon the size, compute the lo and hi bounds.
2031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2032 /* end confdefs.h. */
2037 static int test_array [1 - 2 * !(($2) >= 0)];
2044 if ac_fn_c_try_compile
"$LINENO"; then :
2047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2048 /* end confdefs.h. */
2053 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2060 if ac_fn_c_try_compile
"$LINENO"; then :
2061 ac_hi
=$ac_mid; break
2063 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2064 if test $ac_lo -le $ac_mid; then
2068 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2074 /* end confdefs.h. */
2079 static int test_array [1 - 2 * !(($2) < 0)];
2086 if ac_fn_c_try_compile
"$LINENO"; then :
2089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2090 /* end confdefs.h. */
2095 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2102 if ac_fn_c_try_compile
"$LINENO"; then :
2103 ac_lo
=$ac_mid; break
2105 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2106 if test $ac_mid -le $ac_hi; then
2110 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2117 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2120 # Binary search between lo and hi bounds.
2121 while test "x$ac_lo" != "x$ac_hi"; do
2122 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2124 /* end confdefs.h. */
2129 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2136 if ac_fn_c_try_compile
"$LINENO"; then :
2139 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2141 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2144 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2149 /* end confdefs.h. */
2151 static long int longval () { return $2; }
2152 static unsigned long int ulongval () { return $2; }
2159 FILE *f = fopen ("conftest.val", "w");
2164 long int i = longval ();
2167 fprintf (f, "%ld", i);
2171 unsigned long int i = ulongval ();
2174 fprintf (f, "%lu", i);
2176 /* Do not output a trailing newline, as this causes \r\n confusion
2177 on some platforms. */
2178 return ferror (f) || fclose (f) != 0;
2184 if ac_fn_c_try_run
"$LINENO"; then :
2185 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2189 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2190 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2194 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2197 } # ac_fn_c_compute_int
2199 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2200 # ----------------------------------------------------
2201 # Tries to find if the field MEMBER exists in type AGGR, after including
2202 # INCLUDES, setting cache variable VAR accordingly.
2203 ac_fn_c_check_member
()
2205 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2207 $as_echo_n "checking for $2.$3... " >&6; }
2208 if { as_var
=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2209 $as_echo_n "(cached) " >&6
2211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2212 /* end confdefs.h. */
2224 if ac_fn_c_try_compile
"$LINENO"; then :
2227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2228 /* end confdefs.h. */
2234 if (sizeof ac_aggr.$3)
2240 if ac_fn_c_try_compile
"$LINENO"; then :
2245 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2247 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2251 $as_echo "$ac_res" >&6; }
2252 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2254 } # ac_fn_c_check_member
2255 cat >config.log
<<_ACEOF
2256 This file contains any messages produced by compilers while
2257 running configure, to aid debugging if configure makes a mistake.
2259 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2260 generated by GNU Autoconf 2.64. Invocation command line was
2272 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2273 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2274 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2275 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2276 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2278 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2279 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2281 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2282 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2283 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2284 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2285 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2286 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2287 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2295 test -z "$as_dir" && as_dir
=.
2296 $as_echo "PATH: $as_dir"
2312 # Keep a trace of the command line.
2313 # Strip out --no-create and --no-recursion so they do not pile up.
2314 # Strip out --silent because we don't want to record it for future runs.
2315 # Also quote any args containing shell meta-characters.
2316 # Make two passes to allow for proper duplicate-argument suppression.
2320 ac_must_keep_next
=false
2326 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2327 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2328 |
-silent |
--silent |
--silen |
--sile |
--sil)
2331 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2334 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2336 as_fn_append ac_configure_args1
" '$ac_arg'"
2337 if test $ac_must_keep_next = true
; then
2338 ac_must_keep_next
=false
# Got value, back to normal.
2341 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2342 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2343 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2344 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2345 case "$ac_configure_args0 " in
2346 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2349 -* ) ac_must_keep_next
=true
;;
2352 as_fn_append ac_configure_args
" '$ac_arg'"
2357 { ac_configure_args0
=; unset ac_configure_args0
;}
2358 { ac_configure_args1
=; unset ac_configure_args1
;}
2360 # When interrupted or exit'd, cleanup temporary files, and complete
2361 # config.log. We remove comments because anyway the quotes in there
2362 # would cause problems or look ugly.
2363 # WARNING: Use '\'' to represent an apostrophe within the trap.
2364 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2365 trap 'exit_status=$?
2366 # Save into config.log some information that might help in debugging.
2371 ## ---------------- ##
2372 ## Cache variables. ##
2373 ## ---------------- ##
2376 # The following way of writing the cache mishandles newlines in values,
2378 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2379 eval ac_val=\$$ac_var
2383 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2384 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2387 _ | IFS | as_nl) ;; #(
2388 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2389 *) { eval $ac_var=; unset $ac_var;} ;;
2394 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2395 *${as_nl}ac_space=\ *)
2397 "s/'\''/'\''\\\\'\'''\''/g;
2398 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2401 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2409 ## ----------------- ##
2410 ## Output variables. ##
2411 ## ----------------- ##
2414 for ac_var in $ac_subst_vars
2416 eval ac_val=\$$ac_var
2418 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2420 $as_echo "$ac_var='\''$ac_val'\''"
2424 if test -n "$ac_subst_files"; then
2426 ## ------------------- ##
2427 ## File substitutions. ##
2428 ## ------------------- ##
2431 for ac_var
in $ac_subst_files
2433 eval ac_val
=\$
$ac_var
2435 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2437 $as_echo "$ac_var='\''$ac_val'\''"
2442 if test -s confdefs.h; then
2452 test "$ac_signal" != 0 &&
2453 $as_echo "$as_me: caught signal $ac_signal"
2454 $as_echo "$as_me: exit $exit_status"
2456 rm -f core *.core core.conftest.* &&
2457 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2460 for ac_signal
in 1 2 13 15; do
2461 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2465 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2466 rm -f -r conftest
* confdefs.h
2468 $as_echo "/* confdefs.h */" > confdefs.h
2470 # Predefined preprocessor variables.
2472 cat >>confdefs.h
<<_ACEOF
2473 #define PACKAGE_NAME "$PACKAGE_NAME"
2476 cat >>confdefs.h
<<_ACEOF
2477 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2480 cat >>confdefs.h
<<_ACEOF
2481 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2484 cat >>confdefs.h
<<_ACEOF
2485 #define PACKAGE_STRING "$PACKAGE_STRING"
2488 cat >>confdefs.h
<<_ACEOF
2489 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2492 cat >>confdefs.h
<<_ACEOF
2493 #define PACKAGE_URL "$PACKAGE_URL"
2497 # Let the site file select an alternate cache file if it wants to.
2498 # Prefer an explicitly selected file to automatically selected ones.
2501 if test -n "$CONFIG_SITE"; then
2502 ac_site_file1
=$CONFIG_SITE
2503 elif test "x$prefix" != xNONE
; then
2504 ac_site_file1
=$prefix/share
/config.site
2505 ac_site_file2
=$prefix/etc
/config.site
2507 ac_site_file1
=$ac_default_prefix/share
/config.site
2508 ac_site_file2
=$ac_default_prefix/etc
/config.site
2510 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2512 test "x$ac_site_file" = xNONE
&& continue
2513 if test -r "$ac_site_file"; then
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2515 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2516 sed 's/^/| /' "$ac_site_file" >&5
2521 if test -r "$cache_file"; then
2522 # Some versions of bash will fail to source /dev/null (special
2523 # files actually), so we avoid doing that.
2524 if test -f "$cache_file"; then
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2526 $as_echo "$as_me: loading cache $cache_file" >&6;}
2528 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2529 *) .
"./$cache_file";;
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2534 $as_echo "$as_me: creating cache $cache_file" >&6;}
2538 as_fn_append ac_header_list
" unistd.h"
2539 as_fn_append ac_header_list
" sys/time.h"
2540 as_fn_append ac_header_list
" sys/times.h"
2541 as_fn_append ac_header_list
" sys/resource.h"
2542 as_fn_append ac_header_list
" sys/types.h"
2543 as_fn_append ac_header_list
" sys/stat.h"
2544 as_fn_append ac_header_list
" sys/wait.h"
2545 as_fn_append ac_header_list
" floatingpoint.h"
2546 as_fn_append ac_header_list
" ieeefp.h"
2547 as_fn_append ac_header_list
" fenv.h"
2548 as_fn_append ac_header_list
" fptrap.h"
2549 as_fn_append ac_header_list
" fpxcp.h"
2550 as_fn_append ac_header_list
" pwd.h"
2551 as_fn_append ac_header_list
" complex.h"
2552 as_fn_append ac_func_list
" getrusage"
2553 as_fn_append ac_func_list
" times"
2554 as_fn_append ac_func_list
" mkstemp"
2555 as_fn_append ac_func_list
" strtof"
2556 as_fn_append ac_func_list
" strtold"
2557 as_fn_append ac_func_list
" snprintf"
2558 as_fn_append ac_func_list
" ftruncate"
2559 as_fn_append ac_func_list
" chsize"
2560 as_fn_append ac_func_list
" chdir"
2561 as_fn_append ac_func_list
" getlogin"
2562 as_fn_append ac_func_list
" gethostname"
2563 as_fn_append ac_func_list
" kill"
2564 as_fn_append ac_func_list
" link"
2565 as_fn_append ac_func_list
" symlink"
2566 as_fn_append ac_func_list
" sleep"
2567 as_fn_append ac_func_list
" ttyname"
2568 as_fn_append ac_func_list
" alarm"
2569 as_fn_append ac_func_list
" access"
2570 as_fn_append ac_func_list
" fork"
2571 as_fn_append ac_func_list
" execl"
2572 as_fn_append ac_func_list
" wait"
2573 as_fn_append ac_func_list
" setmode"
2574 as_fn_append ac_func_list
" execve"
2575 as_fn_append ac_func_list
" pipe"
2576 as_fn_append ac_func_list
" dup2"
2577 as_fn_append ac_func_list
" close"
2578 as_fn_append ac_func_list
" fcntl"
2579 as_fn_append ac_func_list
" strcasestr"
2580 as_fn_append ac_func_list
" getrlimit"
2581 as_fn_append ac_func_list
" gettimeofday"
2582 as_fn_append ac_func_list
" stat"
2583 as_fn_append ac_func_list
" fstat"
2584 as_fn_append ac_func_list
" lstat"
2585 as_fn_append ac_func_list
" getpwuid"
2586 as_fn_append ac_func_list
" vsnprintf"
2587 as_fn_append ac_func_list
" dup"
2588 as_fn_append ac_func_list
" getcwd"
2589 as_fn_append ac_func_list
" localtime_r"
2590 as_fn_append ac_func_list
" gmtime_r"
2591 as_fn_append ac_func_list
" getpwuid_r"
2592 as_fn_append ac_func_list
" ttyname_r"
2593 as_fn_append ac_func_list
" clock_gettime"
2594 as_fn_append ac_func_list
" readlink"
2595 as_fn_append ac_func_list
" getgid"
2596 as_fn_append ac_func_list
" getpid"
2597 as_fn_append ac_func_list
" getppid"
2598 as_fn_append ac_func_list
" getuid"
2599 as_fn_append ac_func_list
" geteuid"
2600 as_fn_append ac_func_list
" umask"
2601 as_fn_append ac_func_list
" getegid"
2602 as_fn_append ac_func_list
" secure_getenv"
2603 as_fn_append ac_func_list
" __secure_getenv"
2604 as_fn_append ac_func_list
" mkostemp"
2605 as_fn_append ac_func_list
" strnlen"
2606 as_fn_append ac_func_list
" strndup"
2607 as_fn_append ac_func_list
" strtok_r"
2608 as_fn_append ac_header_list
" math.h"
2609 # Check that the precious variables saved in the cache have kept the same
2611 ac_cache_corrupted
=false
2612 for ac_var
in $ac_precious_vars; do
2613 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2614 eval ac_new_set
=\
$ac_env_${ac_var}_set
2615 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2616 eval ac_new_val
=\
$ac_env_${ac_var}_value
2617 case $ac_old_set,$ac_new_set in
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2620 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2621 ac_cache_corrupted
=: ;;
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2624 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2625 ac_cache_corrupted
=: ;;
2628 if test "x$ac_old_val" != "x$ac_new_val"; then
2629 # differences in whitespace do not lead to failure.
2630 ac_old_val_w
=`echo x $ac_old_val`
2631 ac_new_val_w
=`echo x $ac_new_val`
2632 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2634 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2635 ac_cache_corrupted
=:
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2638 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2639 eval $ac_var=\
$ac_old_val
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2642 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2644 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2647 # Pass precious variables to config.status.
2648 if test "$ac_new_set" = set; then
2650 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2651 *) ac_arg
=$ac_var=$ac_new_val ;;
2653 case " $ac_configure_args " in
2654 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2655 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2659 if $ac_cache_corrupted; then
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2661 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2663 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2664 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2666 ## -------------------- ##
2667 ## Main body of script. ##
2668 ## -------------------- ##
2671 ac_cpp
='$CPP $CPPFLAGS'
2672 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2673 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2674 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2680 ac_config_headers
="$ac_config_headers config.h"
2683 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2684 for ac_t
in install-sh
install.sh shtool
; do
2685 if test -f "$ac_dir/$ac_t"; then
2687 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2692 if test -z "$ac_aux_dir"; then
2693 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2696 # These three variables are undocumented and unsupported,
2697 # and are intended to be withdrawn in a future Autoconf release.
2698 # They can cause serious problems if a builder's source tree is in a directory
2699 # whose full name contains unusual characters.
2700 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2701 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2702 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2705 # Make sure we can run config.sub.
2706 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2707 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2710 $as_echo_n "checking build system type... " >&6; }
2711 if test "${ac_cv_build+set}" = set; then :
2712 $as_echo_n "(cached) " >&6
2714 ac_build_alias
=$build_alias
2715 test "x$ac_build_alias" = x
&&
2716 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2717 test "x$ac_build_alias" = x
&&
2718 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2719 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2720 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2724 $as_echo "$ac_cv_build" >&6; }
2725 case $ac_cv_build in
2727 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2730 ac_save_IFS
=$IFS; IFS
='-'
2736 # Remember, the first character of IFS is used to create $*,
2737 # except with old shells:
2740 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2743 case ${build_alias} in
2744 "") build_noncanonical
=${build} ;;
2745 *) build_noncanonical
=${build_alias} ;;
2748 case ${host_alias} in
2749 "") host_noncanonical
=${build_noncanonical} ;;
2750 *) host_noncanonical
=${host_alias} ;;
2753 case ${target_alias} in
2754 "") target_noncanonical
=${host_noncanonical} ;;
2755 *) target_noncanonical
=${target_alias} ;;
2759 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2760 # have matching libraries, they should use host libraries: Makefile.tpl
2761 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2762 # However, they still use the build modules, because the corresponding
2763 # host modules (e.g. bison) are only built for the host when bootstrap
2765 # - build_subdir is where we find build modules, and never changes.
2766 # - build_libsubdir is where we find build libraries, and can be overridden.
2768 # Prefix 'build-' so this never conflicts with target_subdir.
2769 build_subdir
="build-${build_noncanonical}"
2771 # Check whether --with-build-libsubdir was given.
2772 if test "${with_build_libsubdir+set}" = set; then :
2773 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2775 build_libsubdir
="$build_subdir"
2778 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2779 if ( test $srcdir = .
&& test -d gcc
) \
2780 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2781 host_subdir
="host-${host_noncanonical}"
2786 target_subdir
=${target_noncanonical}
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2794 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2795 # Check whether --enable-version-specific-runtime-libs was given.
2796 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2797 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2798 yes) version_specific_libs
=yes ;;
2799 no
) version_specific_libs
=no
;;
2800 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2803 version_specific_libs
=no
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2807 $as_echo "$version_specific_libs" >&6; }
2809 # Build with intermodule optimisations
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2811 $as_echo_n "checking for --enable-intermodule... " >&6; }
2812 # Check whether --enable-intermodule was given.
2813 if test "${enable_intermodule+set}" = set; then :
2814 enableval
=$enable_intermodule; case "$enable_intermodule" in
2815 yes) onestep
="-onestep";;
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2823 $as_echo "$enable_intermodule" >&6; }
2824 if test x
$onestep = x-onestep
; then
2834 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2836 # You will slowly go insane if you do not grok the following fact: when
2837 # building this library, the top-level /target/ becomes the library's /host/.
2839 # configure then causes --target to default to --host, exactly like any
2840 # other package using autoconf. Therefore, 'target' and 'host' will
2841 # always be the same. This makes sense both for native and cross compilers
2842 # just think about it for a little while. :-)
2844 # Also, if this library is being configured as part of a cross compiler, the
2845 # top-level configure script will pass the "real" host as $with_cross_host.
2847 # Do not delete or change the following two lines. For why, see
2848 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2850 $as_echo_n "checking host system type... " >&6; }
2851 if test "${ac_cv_host+set}" = set; then :
2852 $as_echo_n "(cached) " >&6
2854 if test "x$host_alias" = x
; then
2855 ac_cv_host
=$ac_cv_build
2857 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2858 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2863 $as_echo "$ac_cv_host" >&6; }
2866 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2869 ac_save_IFS
=$IFS; IFS
='-'
2875 # Remember, the first character of IFS is used to create $*,
2876 # except with old shells:
2879 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2883 $as_echo_n "checking target system type... " >&6; }
2884 if test "${ac_cv_target+set}" = set; then :
2885 $as_echo_n "(cached) " >&6
2887 if test "x$target_alias" = x
; then
2888 ac_cv_target
=$ac_cv_host
2890 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2891 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2896 $as_echo "$ac_cv_target" >&6; }
2897 case $ac_cv_target in
2899 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2901 target
=$ac_cv_target
2902 ac_save_IFS
=$IFS; IFS
='-'
2908 # Remember, the first character of IFS is used to create $*,
2909 # except with old shells:
2912 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2915 # The aliases save the names the user supplied, while $host etc.
2916 # will get canonicalized.
2917 test -n "$target_alias" &&
2918 test "$program_prefix$program_suffix$program_transform_name" = \
2920 program_prefix
=${target_alias}-
2925 target_alias
=${target_alias-$host_alias}
2928 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2929 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2930 # 1.9.6: minimum required version
2931 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2932 # of other PACKAGE_* variables will, however, and there's nothing
2933 # we can do about that; they come from AC_INIT).
2934 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2935 # file in the top srcdir, etc, etc), so stop complaining.
2936 # no-dist: we don't want 'dist' and related rules.
2937 # -Wall: turns on all automake warnings...
2938 # -Wno-portability: ...except this one, since GNU make is required.
2939 am__api_version
='1.11'
2941 # Find a good install program. We prefer a C program (faster),
2942 # so one script is as good as another. But avoid the broken or
2943 # incompatible versions:
2944 # SysV /etc/install, /usr/sbin/install
2945 # SunOS /usr/etc/install
2946 # IRIX /sbin/install
2948 # AmigaOS /C/install, which installs bootblocks on floppy discs
2949 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2950 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2951 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2952 # OS/2's system install, which has a completely different semantic
2953 # ./install, which can be erroneously created by make from ./install.sh.
2954 # Reject install programs that cannot install multiple files.
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2956 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2957 if test -z "$INSTALL"; then
2958 if test "${ac_cv_path_install+set}" = set; then :
2959 $as_echo_n "(cached) " >&6
2961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2965 test -z "$as_dir" && as_dir
=.
2966 # Account for people who put trailing slashes in PATH elements.
2967 case $as_dir/ in #((
2968 .
/ | .
// |
/[cC
]/* | \
2969 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2970 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2973 # OSF1 and SCO ODT 3.0 have their own names for install.
2974 # Don't use installbsd from OSF since it installs stuff as root
2976 for ac_prog
in ginstall scoinst
install; do
2977 for ac_exec_ext
in '' $ac_executable_extensions; do
2978 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2979 if test $ac_prog = install &&
2980 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2981 # AIX install. It has an incompatible calling convention.
2983 elif test $ac_prog = install &&
2984 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2985 # program-specific install script used by HP pwplus--don't use.
2988 rm -rf conftest.one conftest.two conftest.dir
2989 echo one
> conftest.one
2990 echo two
> conftest.two
2992 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2993 test -s conftest.one
&& test -s conftest.two
&&
2994 test -s conftest.dir
/conftest.one
&&
2995 test -s conftest.dir
/conftest.two
2997 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3010 rm -rf conftest.one conftest.two conftest.dir
3013 if test "${ac_cv_path_install+set}" = set; then
3014 INSTALL
=$ac_cv_path_install
3016 # As a last resort, use the slow shell script. Don't cache a
3017 # value for INSTALL within a source directory, because that will
3018 # break other packages using the cache if that directory is
3019 # removed, or if the value is a relative name.
3020 INSTALL
=$ac_install_sh
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3024 $as_echo "$INSTALL" >&6; }
3026 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3027 # It thinks the first close brace ends the variable substitution.
3028 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3030 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3032 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3035 $as_echo_n "checking whether build environment is sane... " >&6; }
3038 echo timestamp
> conftest.
file
3039 # Reject unsafe characters in $srcdir or the absolute working directory
3040 # name. Accept space and tab only in the latter.
3044 *[\\\"\
#\$\&\'\`$am_lf]*)
3045 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3048 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3049 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3052 # Do `set' in a subshell so we don't clobber the current shell's
3053 # arguments. Must try -L first in case configure is actually a
3054 # symlink; some systems play weird games with the mod time of symlinks
3055 # (eg FreeBSD returns the mod time of the symlink's containing
3058 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3059 if test "$*" = "X"; then
3061 set X
`ls -t "$srcdir/configure" conftest.file`
3064 if test "$*" != "X $srcdir/configure conftest.file" \
3065 && test "$*" != "X conftest.file $srcdir/configure"; then
3067 # If neither matched, then we have a broken ls. This can happen
3068 # if, for instance, CONFIG_SHELL is bash and it inherits a
3069 # broken ls alias from the environment. This has actually
3070 # happened. Such a system could not be considered "sane".
3071 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3072 alias in your environment" "$LINENO" 5
3075 test "$2" = conftest.
file
3081 as_fn_error
"newly created file is older than distributed files!
3082 Check your system clock" "$LINENO" 5
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3085 $as_echo "yes" >&6; }
3086 test "$program_prefix" != NONE
&&
3087 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3088 # Use a double $ so make ignores it.
3089 test "$program_suffix" != NONE
&&
3090 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3091 # Double any \ or $.
3092 # By default was `s,x,x', remove it if useless.
3093 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3094 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3096 # expand $ac_aux_dir to an absolute path
3097 am_aux_dir
=`cd $ac_aux_dir && pwd`
3099 if test x
"${MISSING+set}" != xset
; then
3102 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3104 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3107 # Use eval to expand $SHELL
3108 if eval "$MISSING --run true"; then
3109 am_missing_run
="$MISSING --run "
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3113 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3116 if test x
"${install_sh}" != xset
; then
3119 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3121 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3125 # Installed binaries are usually stripped using `strip' when the user
3126 # run `make install-strip'. However `strip' might not be the right
3127 # tool to use in cross-compilation environments, therefore Automake
3128 # will honor the `STRIP' environment variable to overrule this program.
3129 if test "$cross_compiling" != no
; then
3130 if test -n "$ac_tool_prefix"; then
3131 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3132 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3134 $as_echo_n "checking for $ac_word... " >&6; }
3135 if test "${ac_cv_prog_STRIP+set}" = set; then :
3136 $as_echo_n "(cached) " >&6
3138 if test -n "$STRIP"; then
3139 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3145 test -z "$as_dir" && as_dir
=.
3146 for ac_exec_ext
in '' $ac_executable_extensions; do
3147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3148 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3158 STRIP
=$ac_cv_prog_STRIP
3159 if test -n "$STRIP"; then
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3161 $as_echo "$STRIP" >&6; }
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3164 $as_echo "no" >&6; }
3169 if test -z "$ac_cv_prog_STRIP"; then
3171 # Extract the first word of "strip", so it can be a program name with args.
3172 set dummy strip
; ac_word
=$2
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3174 $as_echo_n "checking for $ac_word... " >&6; }
3175 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3176 $as_echo_n "(cached) " >&6
3178 if test -n "$ac_ct_STRIP"; then
3179 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3185 test -z "$as_dir" && as_dir
=.
3186 for ac_exec_ext
in '' $ac_executable_extensions; do
3187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3188 ac_cv_prog_ac_ct_STRIP
="strip"
3189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3198 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3199 if test -n "$ac_ct_STRIP"; then
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3201 $as_echo "$ac_ct_STRIP" >&6; }
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3204 $as_echo "no" >&6; }
3207 if test "x$ac_ct_STRIP" = x
; then
3210 case $cross_compiling:$ac_tool_warned in
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3214 ac_tool_warned
=yes ;;
3219 STRIP
="$ac_cv_prog_STRIP"
3223 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3226 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3227 if test -z "$MKDIR_P"; then
3228 if test "${ac_cv_path_mkdir+set}" = set; then :
3229 $as_echo_n "(cached) " >&6
3231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3232 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3235 test -z "$as_dir" && as_dir
=.
3236 for ac_prog
in mkdir gmkdir
; do
3237 for ac_exec_ext
in '' $ac_executable_extensions; do
3238 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3239 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3240 'mkdir (GNU coreutils) '* | \
3241 'mkdir (coreutils) '* | \
3242 'mkdir (fileutils) '4.1*)
3243 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3253 if test "${ac_cv_path_mkdir+set}" = set; then
3254 MKDIR_P
="$ac_cv_path_mkdir -p"
3256 # As a last resort, use the slow shell script. Don't cache a
3257 # value for MKDIR_P within a source directory, because that will
3258 # break other packages using the cache if that directory is
3259 # removed, or if the value is a relative name.
3260 test -d .
/--version && rmdir .
/--version
3261 MKDIR_P
="$ac_install_sh -d"
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3265 $as_echo "$MKDIR_P" >&6; }
3269 [\\/$
]* | ?
:[\\/]*) ;;
3270 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3273 for ac_prog
in gawk mawk nawk
awk
3275 # Extract the first word of "$ac_prog", so it can be a program name with args.
3276 set dummy
$ac_prog; ac_word
=$2
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3278 $as_echo_n "checking for $ac_word... " >&6; }
3279 if test "${ac_cv_prog_AWK+set}" = set; then :
3280 $as_echo_n "(cached) " >&6
3282 if test -n "$AWK"; then
3283 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3289 test -z "$as_dir" && as_dir
=.
3290 for ac_exec_ext
in '' $ac_executable_extensions; do
3291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3292 ac_cv_prog_AWK
="$ac_prog"
3293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3303 if test -n "$AWK"; then
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3305 $as_echo "$AWK" >&6; }
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3308 $as_echo "no" >&6; }
3312 test -n "$AWK" && break
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3316 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3318 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3319 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3320 $as_echo_n "(cached) " >&6
3322 cat >conftest.
make <<\_ACEOF
3325 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3327 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3328 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3330 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3332 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3336 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3338 $as_echo "yes" >&6; }
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3342 $as_echo "no" >&6; }
3343 SET_MAKE
="MAKE=${MAKE-make}"
3346 rm -rf .tst
2>/dev
/null
3347 mkdir .tst
2>/dev
/null
3348 if test -d .tst
; then
3353 rmdir .tst
2>/dev
/null
3355 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3356 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3357 # is not polluted with repeated "-I."
3358 am__isrc
=' -I$(srcdir)'
3359 # test to see if srcdir already configured
3360 if test -f $srcdir/config.status
; then
3361 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3365 # test whether we have cygpath
3366 if test -z "$CYGPATH_W"; then
3367 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3368 CYGPATH_W
='cygpath -w'
3375 # Define the identity of the package.
3376 PACKAGE
='libgfortran'
3380 # Some tools Automake needs.
3382 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3385 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3388 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3391 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3394 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3396 # We need awk for the "check" target. The system "awk" is bad on
3398 # Always define AMTAR for backward compatibility. Yes, it's still used
3399 # in the wild :-( We should find a proper way to deprecate it ...
3402 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3411 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3412 # Check whether --enable-maintainer-mode was given.
3413 if test "${enable_maintainer_mode+set}" = set; then :
3414 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3416 USE_MAINTAINER_MODE
=no
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3420 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3421 if test $USE_MAINTAINER_MODE = yes; then
3422 MAINTAINER_MODE_TRUE
=
3423 MAINTAINER_MODE_FALSE
='#'
3425 MAINTAINER_MODE_TRUE
='#'
3426 MAINTAINER_MODE_FALSE
=
3429 MAINT
=$MAINTAINER_MODE_TRUE
3432 # Default to --enable-multilib
3433 # Check whether --enable-multilib was given.
3434 if test "${enable_multilib+set}" = set; then :
3435 enableval
=$enable_multilib; case "$enableval" in
3436 yes) multilib
=yes ;;
3438 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3445 # We may get other options which we leave undocumented:
3446 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3447 # See config-ml.in if you want the gory details.
3449 if test "$srcdir" = "."; then
3450 if test "$with_target_subdir" != "."; then
3451 multi_basedir
="$srcdir/$with_multisrctop../.."
3453 multi_basedir
="$srcdir/$with_multisrctop.."
3456 multi_basedir
="$srcdir/.."
3460 # Even if the default multilib is not a cross compilation,
3461 # it may be that some of the other multilibs are.
3462 if test $cross_compiling = no
&& test $multilib = yes \
3463 && test "x${with_multisubdir}" != x
; then
3464 cross_compiling
=maybe
3467 ac_config_commands
="$ac_config_commands default-1"
3470 # Handy for debugging:
3471 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3473 # Are we being configured with some form of cross compiler?
3474 # NB: We don't actually need to know this just now, but when, say, a test
3475 # suite is included, we'll have to know.
3476 if test "$build" != "$host"; then
3477 LIBGFOR_IS_NATIVE
=false
3480 LIBGFOR_IS_NATIVE
=true
3483 DEPDIR
="${am__leading_dot}deps"
3485 ac_config_commands
="$ac_config_commands depfiles"
3488 am_make
=${MAKE-make}
3489 cat > confinc
<< 'END'
3491 @
echo this is the am__doit target
3494 # If we don't find an include directive, just comment out the code.
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3496 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3500 # First try GNU make style include.
3501 echo "include confinc" > confmf
3502 # Ignore all kinds of additional output from `make'.
3503 case `$am_make -s -f confmf 2> /dev/null` in #(
3504 *the\ am__doit\ target
*)
3510 # Now try BSD make style include.
3511 if test "$am__include" = "#"; then
3512 echo '.include "confinc"' > confmf
3513 case `$am_make -s -f confmf 2> /dev/null` in #(
3514 *the\ am__doit\ target
*)
3515 am__include
=.include
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3524 $as_echo "$_am_result" >&6; }
3525 rm -f confinc confmf
3527 # Check whether --enable-dependency-tracking was given.
3528 if test "${enable_dependency_tracking+set}" = set; then :
3529 enableval
=$enable_dependency_tracking;
3532 if test "x$enable_dependency_tracking" != xno
; then
3533 am_depcomp
="$ac_aux_dir/depcomp"
3537 if test "x$enable_dependency_tracking" != xno; then
3547 ac_cpp
='$CPP $CPPFLAGS'
3548 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3549 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3550 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3551 if test -n "$ac_tool_prefix"; then
3552 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3553 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3555 $as_echo_n "checking for $ac_word... " >&6; }
3556 if test "${ac_cv_prog_CC+set}" = set; then :
3557 $as_echo_n "(cached) " >&6
3559 if test -n "$CC"; then
3560 ac_cv_prog_CC
="$CC" # Let the user override the test.
3562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3566 test -z "$as_dir" && as_dir
=.
3567 for ac_exec_ext
in '' $ac_executable_extensions; do
3568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3569 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3580 if test -n "$CC"; then
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3582 $as_echo "$CC" >&6; }
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3585 $as_echo "no" >&6; }
3590 if test -z "$ac_cv_prog_CC"; then
3592 # Extract the first word of "gcc", so it can be a program name with args.
3593 set dummy gcc
; ac_word
=$2
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3595 $as_echo_n "checking for $ac_word... " >&6; }
3596 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3597 $as_echo_n "(cached) " >&6
3599 if test -n "$ac_ct_CC"; then
3600 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3606 test -z "$as_dir" && as_dir
=.
3607 for ac_exec_ext
in '' $ac_executable_extensions; do
3608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3609 ac_cv_prog_ac_ct_CC
="gcc"
3610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3619 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3620 if test -n "$ac_ct_CC"; then
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3622 $as_echo "$ac_ct_CC" >&6; }
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3625 $as_echo "no" >&6; }
3628 if test "x$ac_ct_CC" = x
; then
3631 case $cross_compiling:$ac_tool_warned in
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3634 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3635 ac_tool_warned
=yes ;;
3643 if test -z "$CC"; then
3644 if test -n "$ac_tool_prefix"; then
3645 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3646 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3648 $as_echo_n "checking for $ac_word... " >&6; }
3649 if test "${ac_cv_prog_CC+set}" = set; then :
3650 $as_echo_n "(cached) " >&6
3652 if test -n "$CC"; then
3653 ac_cv_prog_CC
="$CC" # Let the user override the test.
3655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3659 test -z "$as_dir" && as_dir
=.
3660 for ac_exec_ext
in '' $ac_executable_extensions; do
3661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3662 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3673 if test -n "$CC"; then
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3675 $as_echo "$CC" >&6; }
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3678 $as_echo "no" >&6; }
3684 if test -z "$CC"; then
3685 # Extract the first word of "cc", so it can be a program name with args.
3686 set dummy cc
; ac_word
=$2
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3688 $as_echo_n "checking for $ac_word... " >&6; }
3689 if test "${ac_cv_prog_CC+set}" = set; then :
3690 $as_echo_n "(cached) " >&6
3692 if test -n "$CC"; then
3693 ac_cv_prog_CC
="$CC" # Let the user override the test.
3696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3700 test -z "$as_dir" && as_dir
=.
3701 for ac_exec_ext
in '' $ac_executable_extensions; do
3702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3703 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3704 ac_prog_rejected
=yes
3708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3715 if test $ac_prog_rejected = yes; then
3716 # We found a bogon in the path, so make sure we never use it.
3717 set dummy
$ac_cv_prog_CC
3719 if test $# != 0; then
3720 # We chose a different compiler from the bogus one.
3721 # However, it has the same basename, so the bogon will be chosen
3722 # first if we set CC to just the basename; use the full file name.
3724 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3730 if test -n "$CC"; then
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3732 $as_echo "$CC" >&6; }
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3735 $as_echo "no" >&6; }
3740 if test -z "$CC"; then
3741 if test -n "$ac_tool_prefix"; then
3742 for ac_prog
in cl.exe
3744 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3745 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3747 $as_echo_n "checking for $ac_word... " >&6; }
3748 if test "${ac_cv_prog_CC+set}" = set; then :
3749 $as_echo_n "(cached) " >&6
3751 if test -n "$CC"; then
3752 ac_cv_prog_CC
="$CC" # Let the user override the test.
3754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3758 test -z "$as_dir" && as_dir
=.
3759 for ac_exec_ext
in '' $ac_executable_extensions; do
3760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3761 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3772 if test -n "$CC"; then
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3774 $as_echo "$CC" >&6; }
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3777 $as_echo "no" >&6; }
3781 test -n "$CC" && break
3784 if test -z "$CC"; then
3786 for ac_prog
in cl.exe
3788 # Extract the first word of "$ac_prog", so it can be a program name with args.
3789 set dummy
$ac_prog; ac_word
=$2
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3791 $as_echo_n "checking for $ac_word... " >&6; }
3792 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3793 $as_echo_n "(cached) " >&6
3795 if test -n "$ac_ct_CC"; then
3796 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3802 test -z "$as_dir" && as_dir
=.
3803 for ac_exec_ext
in '' $ac_executable_extensions; do
3804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3805 ac_cv_prog_ac_ct_CC
="$ac_prog"
3806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3815 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3816 if test -n "$ac_ct_CC"; then
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3818 $as_echo "$ac_ct_CC" >&6; }
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3821 $as_echo "no" >&6; }
3825 test -n "$ac_ct_CC" && break
3828 if test "x$ac_ct_CC" = x
; then
3831 case $cross_compiling:$ac_tool_warned in
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3834 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3835 ac_tool_warned
=yes ;;
3844 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3845 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3846 as_fn_error
"no acceptable C compiler found in \$PATH
3847 See \`config.log' for more details." "$LINENO" 5; }
3849 # Provide some information about the compiler.
3850 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3853 for ac_option
in --version -v -V -qversion; do
3854 { { ac_try
="$ac_compiler $ac_option >&5"
3856 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3857 *) ac_try_echo=$ac_try;;
3859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3860 $as_echo "$ac_try_echo"; } >&5
3861 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3863 if test -s conftest.err; then
3865 ... rest of stderr output deleted ...
3866 10q' conftest.err >conftest.er1
3867 cat conftest.er1 >&5
3868 rm -f conftest.er1 conftest.err
3870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3871 test $ac_status = 0; }
3874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3875 /* end confdefs.h. */
3886 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3887 (eval $ac_link) 2>&5
3889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3890 test $ac_status = 0; }; then :
3895 if test x$gcc_no_link = xyes; then
3896 # Setting cross_compile will disable run tests; it will
3897 # also disable AC_CHECK_FILE but that's generally
3898 # correct if we can't link.
3902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3903 /* end confdefs.h. */
3913 ac_clean_files_save=$ac_clean_files
3914 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3915 # Try to create an executable without -o first, disregard a.out.
3916 # It will help us diagnose broken compilers, and finding out an intuition
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3919 $as_echo_n "checking for C compiler default output file name... " >&6; }
3920 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3922 # The possible output files:
3923 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3926 for ac_file in $ac_files
3929 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3930 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3935 if { { ac_try="$ac_link_default"
3937 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3938 *) ac_try_echo
=$ac_try;;
3940 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3941 $as_echo "$ac_try_echo"; } >&5
3942 (eval "$ac_link_default") 2>&5
3944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3945 test $ac_status = 0; }; then :
3946 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3947 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3948 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3949 # so that the user can short-circuit this test for compilers unknown to
3951 for ac_file
in $ac_files ''
3953 test -f "$ac_file" ||
continue
3955 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3958 # We found the default executable, but exeext='' is most
3962 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3964 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3966 # We set ac_cv_exeext here because the later test for it is not
3967 # safe: cross compilers may not add the suffix if given an `-o'
3968 # argument, so we may need to know it at that point already.
3969 # Even if this section looks crufty: it has the advantage of
3976 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3982 $as_echo "$ac_file" >&6; }
3983 if test -z "$ac_file"; then :
3984 $as_echo "$as_me: failed program was:" >&5
3985 sed 's/^/| /' conftest.
$ac_ext >&5
3987 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3988 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3989 { as_fn_set_status
77
3990 as_fn_error
"C compiler cannot create executables
3991 See \`config.log' for more details." "$LINENO" 5; }; }
3993 ac_exeext
=$ac_cv_exeext
3995 # Check that the compiler produces executables we can run. If not, either
3996 # the compiler is broken, or we cross compile.
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3998 $as_echo_n "checking whether the C compiler works... " >&6; }
3999 # If not cross compiling, check that we can run a simple program.
4000 if test "$cross_compiling" != yes; then
4001 if { ac_try
='./$ac_file'
4002 { { case "(($ac_try" in
4003 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4004 *) ac_try_echo=$ac_try;;
4006 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4007 $as_echo "$ac_try_echo"; } >&5
4008 (eval "$ac_try") 2>&5
4010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4011 test $ac_status = 0; }; }; then
4014 if test "$cross_compiling" = maybe; then
4017 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4018 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4019 as_fn_error "cannot run C compiled programs.
4020 If you meant to cross compile
, use \
`--host'.
4021 See \`config.log
' for more details." "$LINENO" 5; }
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4026 $as_echo "yes" >&6; }
4028 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4029 ac_clean_files=$ac_clean_files_save
4030 # Check that the compiler produces executables we can run. If not, either
4031 # the compiler is broken, or we cross compile.
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4033 $as_echo_n "checking whether we are cross compiling... " >&6; }
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4035 $as_echo "$cross_compiling" >&6; }
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4038 $as_echo_n "checking for suffix of executables... " >&6; }
4039 if { { ac_try="$ac_link"
4041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4042 *) ac_try_echo=$ac_try;;
4044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4045 $as_echo "$ac_try_echo"; } >&5
4046 (eval "$ac_link") 2>&5
4048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4049 test $ac_status = 0; }; then :
4050 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4051 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4052 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4054 for ac_file
in conftest.exe conftest conftest.
*; do
4055 test -f "$ac_file" ||
continue
4057 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4058 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4064 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4066 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4067 See \`config.log' for more details." "$LINENO" 5; }
4069 rm -f conftest
$ac_cv_exeext
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4071 $as_echo "$ac_cv_exeext" >&6; }
4073 rm -f conftest.
$ac_ext
4074 EXEEXT
=$ac_cv_exeext
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4078 $as_echo_n "checking for suffix of object files... " >&6; }
4079 if test "${ac_cv_objext+set}" = set; then :
4080 $as_echo_n "(cached) " >&6
4082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4083 /* end confdefs.h. */
4093 rm -f conftest.o conftest.obj
4094 if { { ac_try
="$ac_compile"
4096 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4097 *) ac_try_echo=$ac_try;;
4099 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4100 $as_echo "$ac_try_echo"; } >&5
4101 (eval "$ac_compile") 2>&5
4103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4104 test $ac_status = 0; }; then :
4105 for ac_file in conftest.o conftest.obj conftest.*; do
4106 test -f "$ac_file" || continue;
4108 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4109 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4114 $as_echo "$as_me: failed program was:" >&5
4115 sed 's/^/| /' conftest.$ac_ext >&5
4117 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4118 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4119 as_fn_error "cannot compute suffix of object files
: cannot compile
4120 See \
`config.log' for more details." "$LINENO" 5; }
4122 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4125 $as_echo "$ac_cv_objext" >&6; }
4126 OBJEXT=$ac_cv_objext
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4129 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4130 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4131 $as_echo_n "(cached) " >&6
4133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4134 /* end confdefs.h. */
4147 if ac_fn_c_try_compile "$LINENO"; then :
4152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4153 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4157 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4158 if test $ac_compiler_gnu = yes; then
4163 ac_test_CFLAGS=${CFLAGS+set}
4164 ac_save_CFLAGS=$CFLAGS
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4166 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4167 if test "${ac_cv_prog_cc_g+set}" = set; then :
4168 $as_echo_n "(cached) " >&6
4170 ac_save_c_werror_flag=$ac_c_werror_flag
4171 ac_c_werror_flag=yes
4174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4175 /* end confdefs.h. */
4185 if ac_fn_c_try_compile "$LINENO"; then :
4189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4190 /* end confdefs.h. */
4200 if ac_fn_c_try_compile "$LINENO"; then :
4203 ac_c_werror_flag=$ac_save_c_werror_flag
4205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4206 /* end confdefs.h. */
4216 if ac_fn_c_try_compile "$LINENO"; then :
4219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4224 ac_c_werror_flag=$ac_save_c_werror_flag
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4227 $as_echo "$ac_cv_prog_cc_g" >&6; }
4228 if test "$ac_test_CFLAGS" = set; then
4229 CFLAGS=$ac_save_CFLAGS
4230 elif test $ac_cv_prog_cc_g = yes; then
4231 if test "$GCC" = yes; then
4237 if test "$GCC" = yes; then
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4244 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4245 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4246 $as_echo_n "(cached) " >&6
4248 ac_cv_prog_cc_c89=no
4250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4251 /* end confdefs.h. */
4254 #include <sys/types.h>
4255 #include <sys/stat.h>
4256 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4257 struct buf { int x; };
4258 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4259 static char *e (p, i)
4265 static char *f (char * (*g) (char **, int), char **p, ...)
4270 s = g (p, va_arg (v,int));
4275 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4276 function prototypes and stuff, but not '\xHH' hex character constants.
4277 These don't provoke an error unfortunately, instead are silently treated
4278 as 'x'. The following induces an error, until -std is added to get
4279 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4280 array size at least. It's necessary to write '\x00'==0 to get something
4281 that's true only with -std. */
4282 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4284 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4285 inside strings and character constants. */
4287 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4289 int test (int i, double x);
4290 struct s1 {int (*f) (int a);};
4291 struct s2 {int (*f) (double a);};
4292 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4298 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4303 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4304 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4306 CC="$ac_save_CC $ac_arg"
4307 if ac_fn_c_try_compile "$LINENO"; then :
4308 ac_cv_prog_cc_c89=$ac_arg
4310 rm -f core conftest.err conftest.$ac_objext
4311 test "x$ac_cv_prog_cc_c89" != "xno" && break
4313 rm -f conftest.$ac_ext
4318 case "x$ac_cv_prog_cc_c89" in
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4321 $as_echo "none needed" >&6; } ;;
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4324 $as_echo "unsupported" >&6; } ;;
4326 CC="$CC $ac_cv_prog_cc_c89"
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4328 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4330 if test "x$ac_cv_prog_cc_c89" != xno; then :
4335 ac_cpp='$CPP $CPPFLAGS'
4336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4340 depcc="$CC" am_compiler_list=
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4343 $as_echo_n "checking dependency style of $depcc... " >&6; }
4344 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4345 $as_echo_n "(cached) " >&6
4347 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4348 # We make a subdir and do the tests there. Otherwise we can end up
4349 # making bogus files that we don't know about and never remove. For
4350 # instance it was reported that on HP-UX the gcc test will end up
4351 # making a dummy file named `D
' -- because `-MD' means
`put the output
4355 # Copy depcomp to subdir because otherwise we won't find it if we're
4356 # using a relative directory.
4357 cp "$am_depcomp" conftest.dir
4359 # We will build objects and dependencies in a subdirectory because
4360 # it helps to detect inapplicable dependency modes. For instance
4361 # both Tru64's cc and ICC support -MD to output dependencies as a
4362 # side effect of compilation, but ICC will put the dependencies in
4363 # the current directory while Tru64 will put them in the object
4367 am_cv_CC_dependencies_compiler_type=none
4368 if test "$am_compiler_list" = ""; then
4369 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4372 case " $depcc " in #(
4373 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4376 for depmode in $am_compiler_list; do
4377 # Setup a source with many dependencies, because some compilers
4378 # like to wrap large dependency lists on column 80 (with \), and
4379 # we should not choose a depcomp mode which is confused by this.
4381 # We need to recreate these files for each test, as the compiler may
4382 # overwrite some of them when testing with obscure command lines.
4383 # This happens at least with the AIX C compiler.
4385 for i in 1 2 3 4 5 6; do
4386 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4387 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4388 # Solaris 8's
{/usr
,}/bin
/sh.
4389 touch sub
/conftst
$i.h
4391 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4393 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4394 # mode. It turns out that the SunPro C++ compiler does not properly
4395 # handle `-M -o', and we need to detect this. Also, some Intel
4396 # versions had trouble with output in subdirs
4397 am__obj
=sub
/conftest.
${OBJEXT-o}
4398 am__minus_obj
="-o $am__obj"
4401 # This depmode causes a compiler race in universal mode.
4402 test "$am__universal" = false ||
continue
4405 # after this tag, mechanisms are not by side-effect, so they'll
4406 # only be used when explicitly requested
4407 if test "x$enable_dependency_tracking" = xyes
; then
4413 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4414 # This compiler won't grok `-c -o', but also, the minuso test has
4415 # not run yet. These depmodes are late enough in the game, and
4416 # so weak that their functioning should not be impacted.
4417 am__obj
=conftest.
${OBJEXT-o}
4422 if depmode
=$depmode \
4423 source=sub
/conftest.c object
=$am__obj \
4424 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4425 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4426 >/dev
/null
2>conftest.err
&&
4427 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4428 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4429 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4430 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4431 # icc doesn't choke on unknown options, it will just issue warnings
4432 # or remarks (even with -Werror). So we grep stderr for any message
4433 # that says an option was ignored or not supported.
4434 # When given -MP, icc 7.0 and 7.1 complain thusly:
4435 # icc: Command line warning: ignoring option '-M'; no argument required
4436 # The diagnosis changed in icc 8.0:
4437 # icc: Command line remark: option '-MP' not supported
4438 if (grep 'ignoring option' conftest.err ||
4439 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4440 am_cv_CC_dependencies_compiler_type
=$depmode
4449 am_cv_CC_dependencies_compiler_type
=none
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4454 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4455 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4458 test "x$enable_dependency_tracking" != xno \
4459 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4461 am__fastdepCC_FALSE
='#'
4463 am__fastdepCC_TRUE
='#'
4464 am__fastdepCC_FALSE
=
4470 ac_cpp
='$CPP $CPPFLAGS'
4471 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4472 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4473 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4475 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4476 # On Suns, sometimes $CPP names a directory.
4477 if test -n "$CPP" && test -d "$CPP"; then
4480 if test -z "$CPP"; then
4481 if test "${ac_cv_prog_CPP+set}" = set; then :
4482 $as_echo_n "(cached) " >&6
4484 # Double quotes because CPP needs to be expanded
4485 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4488 for ac_c_preproc_warn_flag
in '' yes
4490 # Use a header file that comes with gcc, so configuring glibc
4491 # with a fresh cross-compiler works.
4492 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4493 # <limits.h> exists even on freestanding compilers.
4494 # On the NeXT, cc -E runs the code through the compiler's parser,
4495 # not just through cpp. "Syntax error" is here to catch this case.
4496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4497 /* end confdefs.h. */
4499 # include <limits.h>
4501 # include <assert.h>
4505 if ac_fn_c_try_cpp
"$LINENO"; then :
4508 # Broken: fails on valid input.
4511 rm -f conftest.err conftest.
$ac_ext
4513 # OK, works on sane cases. Now check whether nonexistent headers
4514 # can be detected and how.
4515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4516 /* end confdefs.h. */
4517 #include <ac_nonexistent.h>
4519 if ac_fn_c_try_cpp
"$LINENO"; then :
4520 # Broken: success on invalid input.
4523 # Passes both tests.
4527 rm -f conftest.err conftest.
$ac_ext
4530 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4531 rm -f conftest.err conftest.
$ac_ext
4532 if $ac_preproc_ok; then :
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4545 $as_echo "$CPP" >&6; }
4547 for ac_c_preproc_warn_flag
in '' yes
4549 # Use a header file that comes with gcc, so configuring glibc
4550 # with a fresh cross-compiler works.
4551 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4552 # <limits.h> exists even on freestanding compilers.
4553 # On the NeXT, cc -E runs the code through the compiler's parser,
4554 # not just through cpp. "Syntax error" is here to catch this case.
4555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4556 /* end confdefs.h. */
4558 # include <limits.h>
4560 # include <assert.h>
4564 if ac_fn_c_try_cpp
"$LINENO"; then :
4567 # Broken: fails on valid input.
4570 rm -f conftest.err conftest.
$ac_ext
4572 # OK, works on sane cases. Now check whether nonexistent headers
4573 # can be detected and how.
4574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4575 /* end confdefs.h. */
4576 #include <ac_nonexistent.h>
4578 if ac_fn_c_try_cpp
"$LINENO"; then :
4579 # Broken: success on invalid input.
4582 # Passes both tests.
4586 rm -f conftest.err conftest.
$ac_ext
4589 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4590 rm -f conftest.err conftest.
$ac_ext
4591 if $ac_preproc_ok; then :
4594 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4595 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4596 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4597 See \`config.log' for more details." "$LINENO" 5; }
4601 ac_cpp
='$CPP $CPPFLAGS'
4602 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4603 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4604 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4608 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4609 if test "${ac_cv_path_GREP+set}" = set; then :
4610 $as_echo_n "(cached) " >&6
4612 if test -z "$GREP"; then
4613 ac_path_GREP_found
=false
4614 # Loop through the user's path and test for each of PROGNAME-LIST
4615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4616 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4619 test -z "$as_dir" && as_dir
=.
4620 for ac_prog
in grep ggrep
; do
4621 for ac_exec_ext
in '' $ac_executable_extensions; do
4622 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4623 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4624 # Check for GNU ac_path_GREP and select it if it is found.
4625 # Check for GNU $ac_path_GREP
4626 case `"$ac_path_GREP" --version 2>&1` in
4628 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4631 $as_echo_n 0123456789 >"conftest.in"
4634 cat "conftest.in" "conftest.in" >"conftest.tmp"
4635 mv "conftest.tmp" "conftest.in"
4636 cp "conftest.in" "conftest.nl"
4637 $as_echo 'GREP' >> "conftest.nl"
4638 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4639 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4640 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4641 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4642 # Best one so far, save it but keep looking for a better one
4643 ac_cv_path_GREP
="$ac_path_GREP"
4644 ac_path_GREP_max
=$ac_count
4646 # 10*(2^10) chars as input seems more than enough
4647 test $ac_count -gt 10 && break
4649 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4652 $ac_path_GREP_found && break 3
4657 if test -z "$ac_cv_path_GREP"; then
4658 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4661 ac_cv_path_GREP
=$GREP
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4666 $as_echo "$ac_cv_path_GREP" >&6; }
4667 GREP
="$ac_cv_path_GREP"
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4671 $as_echo_n "checking for egrep... " >&6; }
4672 if test "${ac_cv_path_EGREP+set}" = set; then :
4673 $as_echo_n "(cached) " >&6
4675 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4676 then ac_cv_path_EGREP
="$GREP -E"
4678 if test -z "$EGREP"; then
4679 ac_path_EGREP_found
=false
4680 # Loop through the user's path and test for each of PROGNAME-LIST
4681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4682 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4685 test -z "$as_dir" && as_dir
=.
4686 for ac_prog
in egrep; do
4687 for ac_exec_ext
in '' $ac_executable_extensions; do
4688 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4689 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4690 # Check for GNU ac_path_EGREP and select it if it is found.
4691 # Check for GNU $ac_path_EGREP
4692 case `"$ac_path_EGREP" --version 2>&1` in
4694 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4697 $as_echo_n 0123456789 >"conftest.in"
4700 cat "conftest.in" "conftest.in" >"conftest.tmp"
4701 mv "conftest.tmp" "conftest.in"
4702 cp "conftest.in" "conftest.nl"
4703 $as_echo 'EGREP' >> "conftest.nl"
4704 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4705 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4706 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4707 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4708 # Best one so far, save it but keep looking for a better one
4709 ac_cv_path_EGREP
="$ac_path_EGREP"
4710 ac_path_EGREP_max
=$ac_count
4712 # 10*(2^10) chars as input seems more than enough
4713 test $ac_count -gt 10 && break
4715 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4718 $ac_path_EGREP_found && break 3
4723 if test -z "$ac_cv_path_EGREP"; then
4724 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4727 ac_cv_path_EGREP
=$EGREP
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4733 $as_echo "$ac_cv_path_EGREP" >&6; }
4734 EGREP
="$ac_cv_path_EGREP"
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4738 $as_echo_n "checking for ANSI C header files... " >&6; }
4739 if test "${ac_cv_header_stdc+set}" = set; then :
4740 $as_echo_n "(cached) " >&6
4742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4743 /* end confdefs.h. */
4757 if ac_fn_c_try_compile
"$LINENO"; then :
4758 ac_cv_header_stdc
=yes
4760 ac_cv_header_stdc
=no
4762 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4764 if test $ac_cv_header_stdc = yes; then
4765 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4767 /* end confdefs.h. */
4771 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4772 $EGREP "memchr" >/dev
/null
2>&1; then :
4775 ac_cv_header_stdc
=no
4781 if test $ac_cv_header_stdc = yes; then
4782 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4784 /* end confdefs.h. */
4788 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4789 $EGREP "free" >/dev
/null
2>&1; then :
4792 ac_cv_header_stdc
=no
4798 if test $ac_cv_header_stdc = yes; then
4799 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4800 if test "$cross_compiling" = yes; then :
4803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4804 /* end confdefs.h. */
4807 #if ((' ' & 0x0FF) == 0x020)
4808 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4809 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4811 # define ISLOWER(c) \
4812 (('a' <= (c) && (c) <= 'i') \
4813 || ('j' <= (c) && (c) <= 'r') \
4814 || ('s' <= (c) && (c) <= 'z'))
4815 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4818 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4823 for (i = 0; i < 256; i++)
4824 if (XOR (islower (i), ISLOWER (i))
4825 || toupper (i) != TOUPPER (i))
4830 if ac_fn_c_try_run
"$LINENO"; then :
4833 ac_cv_header_stdc
=no
4835 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4836 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4842 $as_echo "$ac_cv_header_stdc" >&6; }
4843 if test $ac_cv_header_stdc = yes; then
4845 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4849 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4850 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4851 inttypes.h stdint.h unistd.h
4853 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4854 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4856 eval as_val
=\$
$as_ac_Header
4857 if test "x$as_val" = x
""yes; then :
4858 cat >>confdefs.h
<<_ACEOF
4859 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4868 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4869 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4876 if test "$MINIX" = yes; then
4878 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4881 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4884 $as_echo "#define _MINIX 1" >>confdefs.h
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4890 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4891 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4892 $as_echo_n "(cached) " >&6
4894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4895 /* end confdefs.h. */
4897 # define __EXTENSIONS__ 1
4898 $ac_includes_default
4907 if ac_fn_c_try_compile
"$LINENO"; then :
4908 ac_cv_safe_to_define___extensions__
=yes
4910 ac_cv_safe_to_define___extensions__
=no
4912 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4915 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4916 test $ac_cv_safe_to_define___extensions__ = yes &&
4917 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4919 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4921 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4923 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4925 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4929 # Calculate toolexeclibdir
4930 # Also toolexecdir, though it's only used in toolexeclibdir
4931 case ${version_specific_libs} in
4933 # Need the gcc compiler version to know where to install libraries
4934 # and header files if --enable-version-specific-runtime-libs option
4936 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4937 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4940 if test -n "$with_cross_host" &&
4941 test x
"$with_cross_host" != x
"no"; then
4942 # Install a library built with a cross compiler in tooldir, not libdir.
4943 toolexecdir
='$(exec_prefix)/$(target_alias)'
4944 toolexeclibdir
='$(toolexecdir)/lib'
4946 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4947 toolexeclibdir
='$(libdir)'
4949 multi_os_directory
=`$CC -print-multi-os-directory`
4950 case $multi_os_directory in
4951 .
) ;; # Avoid trailing /.
4952 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4959 # Create a spec file, so that compile/link tests don't fail
4960 test -f libgfortran.spec ||
touch libgfortran.spec
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
4968 # Check the compiler.
4969 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
4970 # We must force CC to /not/ be precious variables; otherwise
4971 # the wrong, non-multilib-adjusted value will be used in multilibs.
4972 # As a side effect, we have to subst CFLAGS ourselves.
4977 ac_cpp
='$CPP $CPPFLAGS'
4978 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4979 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4980 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4981 if test -n "$ac_tool_prefix"; then
4982 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4983 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4985 $as_echo_n "checking for $ac_word... " >&6; }
4986 if test "${ac_cv_prog_CC+set}" = set; then :
4987 $as_echo_n "(cached) " >&6
4989 if test -n "$CC"; then
4990 ac_cv_prog_CC
="$CC" # Let the user override the test.
4992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4996 test -z "$as_dir" && as_dir
=.
4997 for ac_exec_ext
in '' $ac_executable_extensions; do
4998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4999 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5010 if test -n "$CC"; then
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5012 $as_echo "$CC" >&6; }
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5015 $as_echo "no" >&6; }
5020 if test -z "$ac_cv_prog_CC"; then
5022 # Extract the first word of "gcc", so it can be a program name with args.
5023 set dummy gcc
; ac_word
=$2
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5025 $as_echo_n "checking for $ac_word... " >&6; }
5026 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5027 $as_echo_n "(cached) " >&6
5029 if test -n "$ac_ct_CC"; then
5030 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5036 test -z "$as_dir" && as_dir
=.
5037 for ac_exec_ext
in '' $ac_executable_extensions; do
5038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5039 ac_cv_prog_ac_ct_CC
="gcc"
5040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5049 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5050 if test -n "$ac_ct_CC"; then
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5052 $as_echo "$ac_ct_CC" >&6; }
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5055 $as_echo "no" >&6; }
5058 if test "x$ac_ct_CC" = x
; then
5061 case $cross_compiling:$ac_tool_warned in
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5065 ac_tool_warned
=yes ;;
5073 if test -z "$CC"; then
5074 if test -n "$ac_tool_prefix"; then
5075 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5076 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5078 $as_echo_n "checking for $ac_word... " >&6; }
5079 if test "${ac_cv_prog_CC+set}" = set; then :
5080 $as_echo_n "(cached) " >&6
5082 if test -n "$CC"; then
5083 ac_cv_prog_CC
="$CC" # Let the user override the test.
5085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5089 test -z "$as_dir" && as_dir
=.
5090 for ac_exec_ext
in '' $ac_executable_extensions; do
5091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5092 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5103 if test -n "$CC"; then
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5105 $as_echo "$CC" >&6; }
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5108 $as_echo "no" >&6; }
5114 if test -z "$CC"; then
5115 # Extract the first word of "cc", so it can be a program name with args.
5116 set dummy cc
; ac_word
=$2
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5118 $as_echo_n "checking for $ac_word... " >&6; }
5119 if test "${ac_cv_prog_CC+set}" = set; then :
5120 $as_echo_n "(cached) " >&6
5122 if test -n "$CC"; then
5123 ac_cv_prog_CC
="$CC" # Let the user override the test.
5126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5130 test -z "$as_dir" && as_dir
=.
5131 for ac_exec_ext
in '' $ac_executable_extensions; do
5132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5133 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5134 ac_prog_rejected
=yes
5138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5145 if test $ac_prog_rejected = yes; then
5146 # We found a bogon in the path, so make sure we never use it.
5147 set dummy
$ac_cv_prog_CC
5149 if test $# != 0; then
5150 # We chose a different compiler from the bogus one.
5151 # However, it has the same basename, so the bogon will be chosen
5152 # first if we set CC to just the basename; use the full file name.
5154 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5160 if test -n "$CC"; then
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5162 $as_echo "$CC" >&6; }
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5165 $as_echo "no" >&6; }
5170 if test -z "$CC"; then
5171 if test -n "$ac_tool_prefix"; then
5172 for ac_prog
in cl.exe
5174 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5175 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5177 $as_echo_n "checking for $ac_word... " >&6; }
5178 if test "${ac_cv_prog_CC+set}" = set; then :
5179 $as_echo_n "(cached) " >&6
5181 if test -n "$CC"; then
5182 ac_cv_prog_CC
="$CC" # Let the user override the test.
5184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5188 test -z "$as_dir" && as_dir
=.
5189 for ac_exec_ext
in '' $ac_executable_extensions; do
5190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5191 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5202 if test -n "$CC"; then
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5204 $as_echo "$CC" >&6; }
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5207 $as_echo "no" >&6; }
5211 test -n "$CC" && break
5214 if test -z "$CC"; then
5216 for ac_prog
in cl.exe
5218 # Extract the first word of "$ac_prog", so it can be a program name with args.
5219 set dummy
$ac_prog; ac_word
=$2
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5221 $as_echo_n "checking for $ac_word... " >&6; }
5222 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5223 $as_echo_n "(cached) " >&6
5225 if test -n "$ac_ct_CC"; then
5226 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5232 test -z "$as_dir" && as_dir
=.
5233 for ac_exec_ext
in '' $ac_executable_extensions; do
5234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5235 ac_cv_prog_ac_ct_CC
="$ac_prog"
5236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5245 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5246 if test -n "$ac_ct_CC"; then
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5248 $as_echo "$ac_ct_CC" >&6; }
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5251 $as_echo "no" >&6; }
5255 test -n "$ac_ct_CC" && break
5258 if test "x$ac_ct_CC" = x
; then
5261 case $cross_compiling:$ac_tool_warned in
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5264 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5265 ac_tool_warned
=yes ;;
5274 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5276 as_fn_error
"no acceptable C compiler found in \$PATH
5277 See \`config.log' for more details." "$LINENO" 5; }
5279 # Provide some information about the compiler.
5280 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5283 for ac_option
in --version -v -V -qversion; do
5284 { { ac_try
="$ac_compiler $ac_option >&5"
5286 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5287 *) ac_try_echo=$ac_try;;
5289 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5290 $as_echo "$ac_try_echo"; } >&5
5291 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5293 if test -s conftest.err; then
5295 ... rest of stderr output deleted ...
5296 10q' conftest.err >conftest.er1
5297 cat conftest.er1 >&5
5298 rm -f conftest.er1 conftest.err
5300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5301 test $ac_status = 0; }
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5305 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5306 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5307 $as_echo_n "(cached) " >&6
5309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5310 /* end confdefs.h. */
5323 if ac_fn_c_try_compile "$LINENO"; then :
5328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5329 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5333 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5334 if test $ac_compiler_gnu = yes; then
5339 ac_test_CFLAGS=${CFLAGS+set}
5340 ac_save_CFLAGS=$CFLAGS
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5342 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5343 if test "${ac_cv_prog_cc_g+set}" = set; then :
5344 $as_echo_n "(cached) " >&6
5346 ac_save_c_werror_flag=$ac_c_werror_flag
5347 ac_c_werror_flag=yes
5350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5351 /* end confdefs.h. */
5361 if ac_fn_c_try_compile "$LINENO"; then :
5365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5366 /* end confdefs.h. */
5376 if ac_fn_c_try_compile "$LINENO"; then :
5379 ac_c_werror_flag=$ac_save_c_werror_flag
5381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5382 /* end confdefs.h. */
5392 if ac_fn_c_try_compile "$LINENO"; then :
5395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5400 ac_c_werror_flag=$ac_save_c_werror_flag
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5403 $as_echo "$ac_cv_prog_cc_g" >&6; }
5404 if test "$ac_test_CFLAGS" = set; then
5405 CFLAGS=$ac_save_CFLAGS
5406 elif test $ac_cv_prog_cc_g = yes; then
5407 if test "$GCC" = yes; then
5413 if test "$GCC" = yes; then
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5420 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5421 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5422 $as_echo_n "(cached) " >&6
5424 ac_cv_prog_cc_c89=no
5426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5427 /* end confdefs.h. */
5430 #include <sys/types.h>
5431 #include <sys/stat.h>
5432 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5433 struct buf { int x; };
5434 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5435 static char *e (p, i)
5441 static char *f (char * (*g) (char **, int), char **p, ...)
5446 s = g (p, va_arg (v,int));
5451 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5452 function prototypes and stuff, but not '\xHH' hex character constants.
5453 These don't provoke an error unfortunately, instead are silently treated
5454 as 'x'. The following induces an error, until -std is added to get
5455 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5456 array size at least. It's necessary to write '\x00'==0 to get something
5457 that's true only with -std. */
5458 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5460 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5461 inside strings and character constants. */
5463 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5465 int test (int i, double x);
5466 struct s1 {int (*f) (int a);};
5467 struct s2 {int (*f) (double a);};
5468 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5474 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5479 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5480 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5482 CC="$ac_save_CC $ac_arg"
5483 if ac_fn_c_try_compile "$LINENO"; then :
5484 ac_cv_prog_cc_c89=$ac_arg
5486 rm -f core conftest.err conftest.$ac_objext
5487 test "x$ac_cv_prog_cc_c89" != "xno" && break
5489 rm -f conftest.$ac_ext
5494 case "x$ac_cv_prog_cc_c89" in
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5497 $as_echo "none needed" >&6; } ;;
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5500 $as_echo "unsupported" >&6; } ;;
5502 CC="$CC $ac_cv_prog_cc_c89"
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5504 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5506 if test "x$ac_cv_prog_cc_c89" != xno; then :
5511 ac_cpp='$CPP $CPPFLAGS'
5512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5516 depcc="$CC" am_compiler_list=
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5519 $as_echo_n "checking dependency style of $depcc... " >&6; }
5520 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5521 $as_echo_n "(cached) " >&6
5523 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5524 # We make a subdir and do the tests there. Otherwise we can end up
5525 # making bogus files that we don't know about and never remove. For
5526 # instance it was reported that on HP-UX the gcc test will end up
5527 # making a dummy file named `D
' -- because `-MD' means
`put the output
5531 # Copy depcomp to subdir because otherwise we won't find it if we're
5532 # using a relative directory.
5533 cp "$am_depcomp" conftest.dir
5535 # We will build objects and dependencies in a subdirectory because
5536 # it helps to detect inapplicable dependency modes. For instance
5537 # both Tru64's cc and ICC support -MD to output dependencies as a
5538 # side effect of compilation, but ICC will put the dependencies in
5539 # the current directory while Tru64 will put them in the object
5543 am_cv_CC_dependencies_compiler_type=none
5544 if test "$am_compiler_list" = ""; then
5545 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5548 case " $depcc " in #(
5549 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5552 for depmode in $am_compiler_list; do
5553 # Setup a source with many dependencies, because some compilers
5554 # like to wrap large dependency lists on column 80 (with \), and
5555 # we should not choose a depcomp mode which is confused by this.
5557 # We need to recreate these files for each test, as the compiler may
5558 # overwrite some of them when testing with obscure command lines.
5559 # This happens at least with the AIX C compiler.
5561 for i in 1 2 3 4 5 6; do
5562 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5563 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5564 # Solaris 8's
{/usr
,}/bin
/sh.
5565 touch sub
/conftst
$i.h
5567 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5569 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5570 # mode. It turns out that the SunPro C++ compiler does not properly
5571 # handle `-M -o', and we need to detect this. Also, some Intel
5572 # versions had trouble with output in subdirs
5573 am__obj
=sub
/conftest.
${OBJEXT-o}
5574 am__minus_obj
="-o $am__obj"
5577 # This depmode causes a compiler race in universal mode.
5578 test "$am__universal" = false ||
continue
5581 # after this tag, mechanisms are not by side-effect, so they'll
5582 # only be used when explicitly requested
5583 if test "x$enable_dependency_tracking" = xyes
; then
5589 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5590 # This compiler won't grok `-c -o', but also, the minuso test has
5591 # not run yet. These depmodes are late enough in the game, and
5592 # so weak that their functioning should not be impacted.
5593 am__obj
=conftest.
${OBJEXT-o}
5598 if depmode
=$depmode \
5599 source=sub
/conftest.c object
=$am__obj \
5600 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5601 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5602 >/dev
/null
2>conftest.err
&&
5603 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5604 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5605 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5606 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5607 # icc doesn't choke on unknown options, it will just issue warnings
5608 # or remarks (even with -Werror). So we grep stderr for any message
5609 # that says an option was ignored or not supported.
5610 # When given -MP, icc 7.0 and 7.1 complain thusly:
5611 # icc: Command line warning: ignoring option '-M'; no argument required
5612 # The diagnosis changed in icc 8.0:
5613 # icc: Command line remark: option '-MP' not supported
5614 if (grep 'ignoring option' conftest.err ||
5615 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5616 am_cv_CC_dependencies_compiler_type
=$depmode
5625 am_cv_CC_dependencies_compiler_type
=none
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5630 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5631 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5634 test "x$enable_dependency_tracking" != xno \
5635 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5637 am__fastdepCC_FALSE
='#'
5639 am__fastdepCC_TRUE
='#'
5640 am__fastdepCC_FALSE
=
5648 if test "x$CC" != xcc
; then
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5650 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5653 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5655 set dummy
$CC; ac_cc
=`$as_echo "$2" |
5656 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5657 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5658 $as_echo_n "(cached) " >&6
5660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5661 /* end confdefs.h. */
5671 # Make sure it works both with $CC and with simple cc.
5672 # We do the test twice because some compilers refuse to overwrite an
5673 # existing .o file with -o, though they will create one.
5674 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5676 if { { case "(($ac_try" in
5677 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5678 *) ac_try_echo=$ac_try;;
5680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5681 $as_echo "$ac_try_echo"; } >&5
5682 (eval "$ac_try") 2>&5
5684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5685 test $ac_status = 0; } &&
5686 test -f conftest2.$ac_objext && { { 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; };
5697 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
5698 if test "x$CC" != xcc
; then
5699 # Test first that cc exists at all.
5700 if { ac_try
='cc -c conftest.$ac_ext >&5'
5701 { { case "(($ac_try" in
5702 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5703 *) ac_try_echo=$ac_try;;
5705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5706 $as_echo "$ac_try_echo"; } >&5
5707 (eval "$ac_try") 2>&5
5709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5710 test $ac_status = 0; }; }; then
5711 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5713 if { { case "(($ac_try" in
5714 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5715 *) ac_try_echo
=$ac_try;;
5717 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5718 $as_echo "$ac_try_echo"; } >&5
5719 (eval "$ac_try") 2>&5
5721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5722 test $ac_status = 0; } &&
5723 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
5724 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5725 *) ac_try_echo=$ac_try;;
5727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5728 $as_echo "$ac_try_echo"; } >&5
5729 (eval "$ac_try") 2>&5
5731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5732 test $ac_status = 0; };
5737 # cc exists but doesn't like -o.
5738 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5743 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5745 rm -f core conftest*
5748 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5750 $as_echo "yes" >&6; }
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5753 $as_echo "no" >&6; }
5755 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5759 # FIXME: we rely on the cache variable name because
5760 # there is no other way.
5762 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5763 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5764 if test "$am_t" != yes; then
5765 # Losing compiler, so override with the script.
5766 # FIXME: It is wrong to rewrite CC.
5767 # But if we don't then we get into trouble of one sort or another.
5768 # A longer-term fix would be to have automake use am__CC in this case,
5769 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5770 CC="$am_aux_dir/compile $CC"
5775 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5776 if test "x$GCC" = "xyes"; then
5777 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5778 ## We like to use C11 and C99 routines when available. This makes
5780 ## __STDC_VERSION__ is set such that libc includes make them available.
5781 AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration"
5782 ## Compile the following tests with the same system header contents
5783 ## that we'll encounter when compiling our own source files.
5784 CFLAGS="-std=gnu11 $CFLAGS"
5790 # Check for symbol versioning (copied from libssp).
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5792 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5793 # Check whether --enable-symvers was given.
5794 if test "${enable_symvers+set}" = set; then :
5795 enableval=$enable_symvers; gfortran_use_symver=$enableval
5797 gfortran_use_symver=yes
5800 if test "x$gfortran_use_symver" != xno; then
5801 save_LDFLAGS="$LDFLAGS"
5802 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5803 cat > conftest.map <<EOF
5805 global: *foo*; bar; local: *;
5808 if test x$gcc_no_link = xyes; then
5809 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5812 /* end confdefs.h. */
5822 if ac_fn_c_try_link "$LINENO"; then :
5823 gfortran_use_symver=gnu
5825 gfortran_use_symver=no
5827 rm -f core conftest.err conftest.$ac_objext \
5828 conftest$ac_exeext conftest.$ac_ext
5829 if test x$gfortran_use_symver = xno; then
5830 case "$target_os" in
5832 LDFLAGS="$save_LDFLAGS"
5833 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5834 # Sun ld cannot handle wildcards and treats all entries as undefined.
5835 cat > conftest.map <<EOF
5837 global: foo; local: *;
5840 if test x$gcc_no_link = xyes; then
5841 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5844 /* end confdefs.h. */
5854 if ac_fn_c_try_link "$LINENO"; then :
5855 gfortran_use_symver=sun
5857 gfortran_use_symver=no
5859 rm -f core conftest.err conftest.$ac_objext \
5860 conftest$ac_exeext conftest.$ac_ext
5864 LDFLAGS="$save_LDFLAGS"
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
5867 $as_echo "$gfortran_use_symver" >&6; }
5868 if test "x$gfortran_use_symver" != xno; then
5869 LIBGFOR_USE_SYMVER_TRUE=
5870 LIBGFOR_USE_SYMVER_FALSE='#'
5872 LIBGFOR_USE_SYMVER_TRUE='#'
5873 LIBGFOR_USE_SYMVER_FALSE=
5876 if test "x$gfortran_use_symver" = xgnu; then
5877 LIBGFOR_USE_SYMVER_GNU_TRUE=
5878 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
5880 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
5881 LIBGFOR_USE_SYMVER_GNU_FALSE=
5884 if test "x$gfortran_use_symver" = xsun; then
5885 LIBGFOR_USE_SYMVER_SUN_TRUE=
5886 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
5888 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
5889 LIBGFOR_USE_SYMVER_SUN_FALSE=
5893 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5894 # similarly to how libstdc++ does it
5895 ac_test_CFLAGS="${CFLAGS+set}"
5896 ac_save_CFLAGS="$CFLAGS"
5898 # Check for -ffunction-sections -fdata-sections
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5900 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
5901 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5903 /* end confdefs.h. */
5913 if ac_fn_c_try_compile "$LINENO"; then :
5918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5919 if test "$ac_test_CFLAGS" = set; then
5920 CFLAGS="$ac_save_CFLAGS"
5922 # this is the suspicious part
5925 if test x"$ac_fdsections" = x"yes"; then
5926 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
5929 $as_echo "$ac_fdsections" >&6; }
5932 # Find other programs we need.
5933 if test -n "$ac_tool_prefix"; then
5934 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5935 set dummy ${ac_tool_prefix}as; ac_word=$2
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5937 $as_echo_n "checking for $ac_word... " >&6; }
5938 if test "${ac_cv_prog_AS+set}" = set; then :
5939 $as_echo_n "(cached) " >&6
5941 if test -n "$AS"; then
5942 ac_cv_prog_AS="$AS" # Let the user override the test.
5944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5948 test -z "$as_dir" && as_dir=.
5949 for ac_exec_ext in '' $ac_executable_extensions; do
5950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5951 ac_cv_prog_AS="${ac_tool_prefix}as"
5952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5962 if test -n "$AS"; then
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5964 $as_echo "$AS" >&6; }
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5967 $as_echo "no" >&6; }
5972 if test -z "$ac_cv_prog_AS"; then
5974 # Extract the first word of "as", so it can be a program name with args.
5975 set dummy as; ac_word=$2
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5977 $as_echo_n "checking for $ac_word... " >&6; }
5978 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5979 $as_echo_n "(cached) " >&6
5981 if test -n "$ac_ct_AS"; then
5982 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5988 test -z "$as_dir" && as_dir=.
5989 for ac_exec_ext in '' $ac_executable_extensions; do
5990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5991 ac_cv_prog_ac_ct_AS="as"
5992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6001 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6002 if test -n "$ac_ct_AS"; then
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6004 $as_echo "$ac_ct_AS" >&6; }
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6007 $as_echo "no" >&6; }
6010 if test "x$ac_ct_AS" = x; then
6013 case $cross_compiling:$ac_tool_warned in
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6016 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6017 ac_tool_warned=yes ;;
6025 if test -n "$ac_tool_prefix"; then
6026 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6027 set dummy ${ac_tool_prefix}ar; ac_word=$2
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6029 $as_echo_n "checking for $ac_word... " >&6; }
6030 if test "${ac_cv_prog_AR+set}" = set; then :
6031 $as_echo_n "(cached) " >&6
6033 if test -n "$AR"; then
6034 ac_cv_prog_AR="$AR" # Let the user override the test.
6036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6040 test -z "$as_dir" && as_dir=.
6041 for ac_exec_ext in '' $ac_executable_extensions; do
6042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6043 ac_cv_prog_AR="${ac_tool_prefix}ar"
6044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6054 if test -n "$AR"; then
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6056 $as_echo "$AR" >&6; }
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6059 $as_echo "no" >&6; }
6064 if test -z "$ac_cv_prog_AR"; then
6066 # Extract the first word of "ar", so it can be a program name with args.
6067 set dummy ar; ac_word=$2
6068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6069 $as_echo_n "checking for $ac_word... " >&6; }
6070 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6071 $as_echo_n "(cached) " >&6
6073 if test -n "$ac_ct_AR"; then
6074 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6080 test -z "$as_dir" && as_dir=.
6081 for ac_exec_ext in '' $ac_executable_extensions; do
6082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6083 ac_cv_prog_ac_ct_AR="ar"
6084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6093 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6094 if test -n "$ac_ct_AR"; then
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6096 $as_echo "$ac_ct_AR" >&6; }
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6099 $as_echo "no" >&6; }
6102 if test "x$ac_ct_AR" = x; then
6105 case $cross_compiling:$ac_tool_warned in
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6109 ac_tool_warned=yes ;;
6117 if test -n "$ac_tool_prefix"; then
6118 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6119 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6121 $as_echo_n "checking for $ac_word... " >&6; }
6122 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6123 $as_echo_n "(cached) " >&6
6125 if test -n "$RANLIB"; then
6126 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6132 test -z "$as_dir" && as_dir=.
6133 for ac_exec_ext in '' $ac_executable_extensions; do
6134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6135 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6145 RANLIB=$ac_cv_prog_RANLIB
6146 if test -n "$RANLIB"; then
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6148 $as_echo "$RANLIB" >&6; }
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6151 $as_echo "no" >&6; }
6156 if test -z "$ac_cv_prog_RANLIB"; then
6157 ac_ct_RANLIB=$RANLIB
6158 # Extract the first word of "ranlib", so it can be a program name with args.
6159 set dummy ranlib; ac_word=$2
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6161 $as_echo_n "checking for $ac_word... " >&6; }
6162 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6163 $as_echo_n "(cached) " >&6
6165 if test -n "$ac_ct_RANLIB"; then
6166 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6172 test -z "$as_dir" && as_dir=.
6173 for ac_exec_ext in '' $ac_executable_extensions; do
6174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6175 ac_cv_prog_ac_ct_RANLIB="ranlib"
6176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6185 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6186 if test -n "$ac_ct_RANLIB"; then
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6188 $as_echo "$ac_ct_RANLIB" >&6; }
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6191 $as_echo "no" >&6; }
6194 if test "x$ac_ct_RANLIB" = x; then
6195 RANLIB="ranlib-not-found-in-path-error"
6197 case $cross_compiling:$ac_tool_warned in
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6200 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6201 ac_tool_warned=yes ;;
6203 RANLIB=$ac_ct_RANLIB
6206 RANLIB="$ac_cv_prog_RANLIB"
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6210 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6212 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6213 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6214 $as_echo_n "(cached) " >&6
6216 cat >conftest.make <<\_ACEOF
6219 @echo '@@@%%%=$(MAKE)=@@@%%%'
6221 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6222 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
6224 eval ac_cv_prog_make_${ac_make}_set=yes;;
6226 eval ac_cv_prog_make_${ac_make}_set=no;;
6230 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6232 $as_echo "yes" >&6; }
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6236 $as_echo "no" >&6; }
6237 SET_MAKE="MAKE=${MAKE-make}"
6243 #AC_MSG_NOTICE([====== Starting libtool configuration])
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
6251 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
6256 macro_version='2.2.7a'
6257 macro_revision='1.3134'
6271 ltmain="$ac_aux_dir/ltmain.sh"
6273 # Backslashify metacharacters that are still active within
6274 # double-quoted strings.
6275 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6277 # Same as above, but do not quote variable references.
6278 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6280 # Sed substitution to delay expansion of an escaped shell variable in a
6281 # double_quote_subst'ed string.
6282 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6284 # Sed substitution to delay expansion of an escaped single quote.
6285 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6287 # Sed substitution to avoid accidental globbing in evaled expressions
6288 no_glob_subst='s/\*/\\\*/g'
6290 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6291 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6292 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
6295 $as_echo_n "checking how to print
strings...
" >&6; }
6296 # Test print first, because it will be a builtin if present.
6297 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
6298 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
6300 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
6303 # Use this function as a fallback that always works.
6304 func_fallback_echo ()
6306 eval 'cat <<_LTECHO_EOF
6310 ECHO='func_fallback_echo'
6313 # func_echo_all arg...
6314 # Invoke $ECHO with all args, space-separated.
6321 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
6322 $as_echo "printf" >&6; } ;;
6323 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
6324 $as_echo "print
-r" >&6; } ;;
6325 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
6326 $as_echo "cat" >&6; } ;;
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
6343 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
6344 if test "${ac_cv_path_SED+set}" = set; then :
6345 $as_echo_n "(cached
) " >&6
6347 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6348 for ac_i in 1 2 3 4 5 6 7; do
6349 ac_script="$ac_script$as_nl$ac_script"
6351 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6352 { ac_script=; unset ac_script;}
6353 if test -z "$SED"; then
6354 ac_path_SED_found=false
6355 # Loop through the user's path and test for each of PROGNAME-LIST
6356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6360 test -z "$as_dir" && as_dir=.
6361 for ac_prog in sed gsed; do
6362 for ac_exec_ext in '' $ac_executable_extensions; do
6363 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6364 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6365 # Check for GNU ac_path_SED and select it if it is found.
6366 # Check for GNU $ac_path_SED
6367 case `"$ac_path_SED" --version 2>&1` in
6369 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6372 $as_echo_n 0123456789 >"conftest.
in"
6375 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6376 mv "conftest.tmp
" "conftest.
in"
6377 cp "conftest.
in" "conftest.
nl"
6378 $as_echo '' >> "conftest.
nl"
6379 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6380 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6381 as_fn_arith $ac_count + 1 && ac_count=$as_val
6382 if test $ac_count -gt ${ac_path_SED_max-0}; then
6383 # Best one so far, save it but keep looking for a better one
6384 ac_cv_path_SED="$ac_path_SED"
6385 ac_path_SED_max=$ac_count
6387 # 10*(2^10) chars as input seems more than enough
6388 test $ac_count -gt 10 && break
6390 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6393 $ac_path_SED_found && break 3
6398 if test -z "$ac_cv_path_SED"; then
6399 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
6407 $as_echo "$ac_cv_path_SED" >&6; }
6408 SED="$ac_cv_path_SED"
6411 test -z "$SED" && SED=sed
6412 Xsed="$SED -e 1s
/^X
//"
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
6425 $as_echo_n "checking
for fgrep...
" >&6; }
6426 if test "${ac_cv_path_FGREP+set}" = set; then :
6427 $as_echo_n "(cached
) " >&6
6429 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6430 then ac_cv_path_FGREP="$GREP -F"
6432 if test -z "$FGREP"; then
6433 ac_path_FGREP_found=false
6434 # Loop through the user's path and test for each of PROGNAME-LIST
6435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6436 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6439 test -z "$as_dir" && as_dir=.
6440 for ac_prog in fgrep; do
6441 for ac_exec_ext in '' $ac_executable_extensions; do
6442 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6443 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6444 # Check for GNU ac_path_FGREP and select it if it is found.
6445 # Check for GNU $ac_path_FGREP
6446 case `"$ac_path_FGREP" --version 2>&1` in
6448 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6451 $as_echo_n 0123456789 >"conftest.
in"
6454 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6455 mv "conftest.tmp
" "conftest.
in"
6456 cp "conftest.
in" "conftest.
nl"
6457 $as_echo 'FGREP' >> "conftest.
nl"
6458 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6459 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6460 as_fn_arith $ac_count + 1 && ac_count=$as_val
6461 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6462 # Best one so far, save it but keep looking for a better one
6463 ac_cv_path_FGREP="$ac_path_FGREP"
6464 ac_path_FGREP_max=$ac_count
6466 # 10*(2^10) chars as input seems more than enough
6467 test $ac_count -gt 10 && break
6469 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6472 $ac_path_FGREP_found && break 3
6477 if test -z "$ac_cv_path_FGREP"; then
6478 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
6481 ac_cv_path_FGREP=$FGREP
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
6487 $as_echo "$ac_cv_path_FGREP" >&6; }
6488 FGREP="$ac_cv_path_FGREP"
6491 test -z "$GREP" && GREP=grep
6511 # Check whether --with-gnu-ld was given.
6512 if test "${with_gnu_ld+set}" = set; then :
6513 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6519 if test "$GCC" = yes; then
6520 # Check if gcc -print-prog-name=ld gives a path.
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
6522 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
6525 # gcc leaves a trailing carriage return which upsets mingw
6526 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6528 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6531 # Accept absolute paths.
6533 re_direlt='/[^/][^/]*/\.\./'
6534 # Canonicalize the pathname of ld
6535 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6536 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6537 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
6539 test -z "$LD" && LD="$ac_prog"
6542 # If it fails, then pretend we aren't using GCC.
6546 # If it is relative, then search for the first ld in PATH.
6550 elif test "$with_gnu_ld" = yes; then
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
6552 $as_echo_n "checking
for GNU ld...
" >&6; }
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
6555 $as_echo_n "checking
for non-GNU ld...
" >&6; }
6557 if test "${lt_cv_path_LD+set}" = set; then :
6558 $as_echo_n "(cached
) " >&6
6560 if test -z "$LD"; then
6561 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6562 for ac_dir in $PATH; do
6564 test -z "$ac_dir" && ac_dir=.
6565 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6566 lt_cv_path_LD="$ac_dir/$ac_prog"
6567 # Check to see if the program is GNU ld. I'd rather use --version,
6568 # but apparently some variants of GNU ld only accept -v.
6569 # Break only if it was the GNU/non-GNU ld that we prefer.
6570 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6571 *GNU* | *'with BFD'*)
6572 test "$with_gnu_ld" != no && break
6575 test "$with_gnu_ld" != yes && break
6582 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6587 if test -n "$LD"; then
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
6589 $as_echo "$LD" >&6; }
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6592 $as_echo "no
" >&6; }
6594 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
6596 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
6597 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6598 $as_echo_n "(cached
) " >&6
6600 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6601 case `$LD -v 2>&1 </dev/null` in
6602 *GNU* | *'with BFD'*)
6603 lt_cv_prog_gnu_ld=yes
6606 lt_cv_prog_gnu_ld=no
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
6611 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6612 with_gnu_ld=$lt_cv_prog_gnu_ld
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6623 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6624 if test "${lt_cv_path_NM+set}" = set; then :
6625 $as_echo_n "(cached
) " >&6
6627 if test -n "$NM"; then
6628 # Let the user override the test.
6631 lt_nm_to_check="${ac_tool_prefix}nm
"
6632 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6633 lt_nm_to_check="$lt_nm_to_check nm
"
6635 for lt_tmp_nm in $lt_nm_to_check; do
6636 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6637 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6639 test -z "$ac_dir" && ac_dir=.
6640 tmp_nm="$ac_dir/$lt_tmp_nm"
6641 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6642 # Check to see if the nm accepts a BSD-compat flag.
6643 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6644 # nm: unknown option "B
" ignored
6645 # Tru64's nm complains that /dev/null is an invalid object file
6646 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6647 */dev/null* | *'Invalid file or object type'*)
6648 lt_cv_path_NM="$tmp_nm -B"
6652 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6654 lt_cv_path_NM="$tmp_nm -p"
6658 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6659 continue # so that we can try to find one that supports BSD flags
6668 : ${lt_cv_path_NM=no}
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
6672 $as_echo "$lt_cv_path_NM" >&6; }
6673 if test "$lt_cv_path_NM" != "no
"; then
6676 # Didn't find any BSD compatible name lister, look for dumpbin.
6677 if test -n "$DUMPBIN"; then :
6678 # Let the user override the test.
6680 if test -n "$ac_tool_prefix"; then
6681 for ac_prog in dumpbin "link
-dump"
6683 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6684 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6686 $as_echo_n "checking
for $ac_word...
" >&6; }
6687 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6688 $as_echo_n "(cached
) " >&6
6690 if test -n "$DUMPBIN"; then
6691 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6697 test -z "$as_dir" && as_dir=.
6698 for ac_exec_ext in '' $ac_executable_extensions; do
6699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6700 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6701 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6710 DUMPBIN=$ac_cv_prog_DUMPBIN
6711 if test -n "$DUMPBIN"; then
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
6713 $as_echo "$DUMPBIN" >&6; }
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6716 $as_echo "no
" >&6; }
6720 test -n "$DUMPBIN" && break
6723 if test -z "$DUMPBIN"; then
6724 ac_ct_DUMPBIN=$DUMPBIN
6725 for ac_prog in dumpbin "link
-dump"
6727 # Extract the first word of "$ac_prog", so it can be a program name with args.
6728 set dummy $ac_prog; ac_word=$2
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6730 $as_echo_n "checking
for $ac_word...
" >&6; }
6731 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6732 $as_echo_n "(cached
) " >&6
6734 if test -n "$ac_ct_DUMPBIN"; then
6735 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6741 test -z "$as_dir" && as_dir=.
6742 for ac_exec_ext in '' $ac_executable_extensions; do
6743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6744 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6745 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6754 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6755 if test -n "$ac_ct_DUMPBIN"; then
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6757 $as_echo "$ac_ct_DUMPBIN" >&6; }
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6760 $as_echo "no
" >&6; }
6764 test -n "$ac_ct_DUMPBIN" && break
6767 if test "x
$ac_ct_DUMPBIN" = x; then
6770 case $cross_compiling:$ac_tool_warned in
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6773 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6774 ac_tool_warned=yes ;;
6776 DUMPBIN=$ac_ct_DUMPBIN
6780 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6782 DUMPBIN="$DUMPBIN -symbols"
6790 if test "$DUMPBIN" != ":"; then
6794 test -z "$NM" && NM=nm
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6802 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6803 if test "${lt_cv_nm_interface+set}" = set; then :
6804 $as_echo_n "(cached
) " >&6
6806 lt_cv_nm_interface="BSD nm
"
6807 echo "int some_variable
= 0;" > conftest.$ac_ext
6808 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6809 (eval "$ac_compile" 2>conftest.err)
6810 cat conftest.err >&5
6811 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6812 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6813 cat conftest.err >&5
6814 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6815 cat conftest.out >&5
6816 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6817 lt_cv_nm_interface="MS dumpbin
"
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6822 $as_echo "$lt_cv_nm_interface" >&6; }
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
6825 $as_echo_n "checking whether
ln -s works...
" >&6; }
6827 if test "$LN_S" = "ln -s"; then
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
6829 $as_echo "yes" >&6; }
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
6832 $as_echo "no
, using
$LN_S" >&6; }
6835 # find the maximum length of command line arguments
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6837 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6838 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6839 $as_echo_n "(cached
) " >&6
6846 # On DJGPP, this test can blow up pretty badly due to problems in libc
6847 # (any single argument exceeding 2000 bytes causes a buffer overrun
6848 # during glob expansion). Even if it were fixed, the result of this
6849 # check would be larger than it should be.
6850 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6854 # Under GNU Hurd, this test is not required because there is
6855 # no limit to the length of command line arguments.
6856 # Libtool will interpret -1 as no limit whatsoever
6857 lt_cv_sys_max_cmd_len=-1;
6860 cygwin* | mingw* | cegcc*)
6861 # On Win9x/ME, this test blows up -- it succeeds, but takes
6862 # about 5 minutes as the teststring grows exponentially.
6863 # Worse, since 9x/ME are not pre-emptively multitasking,
6864 # you end up with a "frozen
" computer, even though with patience
6865 # the test eventually succeeds (with a max line length of 256k).
6866 # Instead, let's just punt: use the minimum linelength reported by
6867 # all of the supported platforms: 8192 (on NT/2K/XP).
6868 lt_cv_sys_max_cmd_len=8192;
6872 # On MiNT this can take a long time and run out of memory.
6873 lt_cv_sys_max_cmd_len=8192;
6877 # On AmigaOS with pdksh, this test takes hours, literally.
6878 # So we just punt and use a minimum line length of 8192.
6879 lt_cv_sys_max_cmd_len=8192;
6882 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6883 # This has been around since 386BSD, at least. Likely further.
6884 if test -x /sbin/sysctl; then
6885 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6886 elif test -x /usr/sbin/sysctl; then
6887 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6889 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6891 # And add a safety zone
6892 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6893 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6897 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6898 lt_cv_sys_max_cmd_len=196608
6902 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6903 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6904 # nice to cause kernel panics so lets avoid the loop below.
6905 # First set a reasonable default.
6906 lt_cv_sys_max_cmd_len=16384
6908 if test -x /sbin/sysconfig; then
6909 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6910 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6915 lt_cv_sys_max_cmd_len=102400
6917 sysv5* | sco5v6* | sysv4.2uw2*)
6918 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6919 if test -n "$kargmax"; then
6920 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6922 lt_cv_sys_max_cmd_len=32768
6926 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6927 if test -n "$lt_cv_sys_max_cmd_len"; then
6928 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6929 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6931 # Make teststring a little bigger before we do anything with it.
6932 # a 1K string should be a reasonable start.
6933 for i in 1 2 3 4 5 6 7 8 ; do
6934 teststring=$teststring$teststring
6936 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6937 # If test is not a shell built-in, we'll probably end up computing a
6938 # maximum length that is only half of the actual maximum length, but
6940 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6941 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6942 test $i != 17 # 1/2 MB should be enough
6945 teststring=$teststring$teststring
6947 # Only check the string length outside the loop.
6948 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6950 # Add a significant safety factor because C++ compilers can tack on
6951 # massive amounts of additional arguments before passing them to the
6952 # linker. It appears as though 1/2 is a usable value.
6953 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6960 if test -n $lt_cv_sys_max_cmd_len ; then
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6962 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6965 $as_echo "none
" >&6; }
6967 max_cmd_len=$lt_cv_sys_max_cmd_len
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6979 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6980 # Try some XSI features
6983 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6985 && eval 'test $(( 1 + 1 )) -eq 2 \
6986 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6989 $as_echo "$xsi_shell" >&6; }
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6993 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6995 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6997 && lt_shell_append
=yes
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6999 $as_echo "$lt_shell_append" >&6; }
7002 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7012 # test EBCDIC or ASCII
7013 case `echo X|tr X '\101'` in
7014 A
) # ASCII based system
7015 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7016 lt_SP2NL
='tr \040 \012'
7017 lt_NL2SP
='tr \015\012 \040\040'
7019 *) # EBCDIC based system
7020 lt_SP2NL
='tr \100 \n'
7021 lt_NL2SP
='tr \r\n \100\100'
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7034 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7035 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7036 $as_echo_n "(cached) " >&6
7038 lt_cv_ld_reload_flag
='-r'
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7041 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7042 reload_flag
=$lt_cv_ld_reload_flag
7043 case $reload_flag in
7045 *) reload_flag
=" $reload_flag" ;;
7047 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7050 if test "$GCC" = yes; then
7051 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7053 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7066 if test -n "$ac_tool_prefix"; then
7067 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7068 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7070 $as_echo_n "checking for $ac_word... " >&6; }
7071 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7072 $as_echo_n "(cached) " >&6
7074 if test -n "$OBJDUMP"; then
7075 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7077 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7081 test -z "$as_dir" && as_dir
=.
7082 for ac_exec_ext
in '' $ac_executable_extensions; do
7083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7084 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7094 OBJDUMP
=$ac_cv_prog_OBJDUMP
7095 if test -n "$OBJDUMP"; then
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7097 $as_echo "$OBJDUMP" >&6; }
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7100 $as_echo "no" >&6; }
7105 if test -z "$ac_cv_prog_OBJDUMP"; then
7106 ac_ct_OBJDUMP
=$OBJDUMP
7107 # Extract the first word of "objdump", so it can be a program name with args.
7108 set dummy objdump
; ac_word
=$2
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7110 $as_echo_n "checking for $ac_word... " >&6; }
7111 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7112 $as_echo_n "(cached) " >&6
7114 if test -n "$ac_ct_OBJDUMP"; then
7115 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7121 test -z "$as_dir" && as_dir
=.
7122 for ac_exec_ext
in '' $ac_executable_extensions; do
7123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7124 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7134 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7135 if test -n "$ac_ct_OBJDUMP"; then
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7137 $as_echo "$ac_ct_OBJDUMP" >&6; }
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7140 $as_echo "no" >&6; }
7143 if test "x$ac_ct_OBJDUMP" = x
; then
7146 case $cross_compiling:$ac_tool_warned in
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7150 ac_tool_warned
=yes ;;
7152 OBJDUMP
=$ac_ct_OBJDUMP
7155 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7158 test -z "$OBJDUMP" && OBJDUMP
=objdump
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7169 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7170 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7171 $as_echo_n "(cached) " >&6
7173 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7174 lt_cv_file_magic_test_file
=
7175 lt_cv_deplibs_check_method
='unknown'
7176 # Need to set the preceding variable on all platforms that support
7177 # interlibrary dependencies.
7178 # 'none' -- dependencies not supported.
7179 # `unknown' -- same as none, but documents that we really don't know.
7180 # 'pass_all' -- all dependencies passed with no checks.
7181 # 'test_compile' -- check by making test program.
7182 # 'file_magic [[regex]]' -- check by looking for files in library path
7183 # which responds to the $file_magic_cmd with a given extended regex.
7184 # If you have `file' or equivalent on your system and you're not sure
7185 # whether `pass_all' will *always* work, you probably want this one.
7189 lt_cv_deplibs_check_method
=pass_all
7193 lt_cv_deplibs_check_method
=pass_all
7197 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7198 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7199 lt_cv_file_magic_test_file
=/shlib
/libc.so
7203 # func_win32_libid is a shell function defined in ltmain.sh
7204 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7205 lt_cv_file_magic_cmd
='func_win32_libid'
7209 # Base MSYS/MinGW do not provide the 'file' command needed by
7210 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7211 # unless we find 'file', for example because we are cross-compiling.
7212 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7213 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
7214 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7215 lt_cv_file_magic_cmd
='func_win32_libid'
7217 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
7218 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7223 # use the weaker test based on 'objdump'. See mingw*.
7224 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7225 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7228 darwin
* | rhapsody
*)
7229 lt_cv_deplibs_check_method
=pass_all
7232 freebsd
* | dragonfly
*)
7233 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7236 # Not sure whether the presence of OpenBSD here was a mistake.
7237 # Let's accept both of them until this is cleared up.
7238 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7239 lt_cv_file_magic_cmd
=/usr
/bin
/file
7240 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7244 lt_cv_deplibs_check_method
=pass_all
7249 lt_cv_deplibs_check_method
=pass_all
7253 lt_cv_deplibs_check_method
=pass_all
7256 hpux10.20
* | hpux11
*)
7257 lt_cv_file_magic_cmd
=/usr
/bin
/file
7260 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7261 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7264 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]'
7265 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7268 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7269 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7275 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7276 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7279 irix5
* | irix6
* | nonstopux
*)
7281 *-32|
*"-32 ") libmagic
=32-bit;;
7282 *-n32|
*"-n32 ") libmagic
=N32
;;
7283 *-64|
*"-64 ") libmagic
=64-bit;;
7284 *) libmagic
=never-match
;;
7286 lt_cv_deplibs_check_method
=pass_all
7289 # This must be Linux ELF.
7290 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7291 lt_cv_deplibs_check_method
=pass_all
7295 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7296 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7298 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7303 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7304 lt_cv_file_magic_cmd
=/usr
/bin
/file
7305 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7309 lt_cv_deplibs_check_method
=pass_all
7313 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7314 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7316 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7320 osf3
* | osf4
* | osf5
*)
7321 lt_cv_deplibs_check_method
=pass_all
7325 lt_cv_deplibs_check_method
=pass_all
7329 lt_cv_deplibs_check_method
=pass_all
7332 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7333 lt_cv_deplibs_check_method
=pass_all
7337 case $host_vendor in
7339 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]'
7340 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7343 lt_cv_deplibs_check_method
=pass_all
7346 lt_cv_file_magic_cmd
='/bin/file'
7347 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7350 lt_cv_file_magic_cmd
='/bin/file'
7351 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7352 lt_cv_file_magic_test_file
=/lib
/libc.so
7355 lt_cv_deplibs_check_method
=pass_all
7358 lt_cv_deplibs_check_method
=pass_all
7364 lt_cv_deplibs_check_method
=pass_all
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7370 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7371 file_magic_cmd
=$lt_cv_file_magic_cmd
7372 deplibs_check_method
=$lt_cv_deplibs_check_method
7373 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7386 if test -n "$ac_tool_prefix"; then
7387 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7388 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 $as_echo_n "checking for $ac_word... " >&6; }
7391 if test "${ac_cv_prog_AR+set}" = set; then :
7392 $as_echo_n "(cached) " >&6
7394 if test -n "$AR"; then
7395 ac_cv_prog_AR
="$AR" # Let the user override the test.
7397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7401 test -z "$as_dir" && as_dir
=.
7402 for ac_exec_ext
in '' $ac_executable_extensions; do
7403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7404 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7415 if test -n "$AR"; then
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7417 $as_echo "$AR" >&6; }
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420 $as_echo "no" >&6; }
7425 if test -z "$ac_cv_prog_AR"; then
7427 # Extract the first word of "ar", so it can be a program name with args.
7428 set dummy
ar; ac_word
=$2
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7430 $as_echo_n "checking for $ac_word... " >&6; }
7431 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7432 $as_echo_n "(cached) " >&6
7434 if test -n "$ac_ct_AR"; then
7435 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7441 test -z "$as_dir" && as_dir
=.
7442 for ac_exec_ext
in '' $ac_executable_extensions; do
7443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7444 ac_cv_prog_ac_ct_AR
="ar"
7445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7454 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7455 if test -n "$ac_ct_AR"; then
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7457 $as_echo "$ac_ct_AR" >&6; }
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7460 $as_echo "no" >&6; }
7463 if test "x$ac_ct_AR" = x
; then
7466 case $cross_compiling:$ac_tool_warned in
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7469 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7470 ac_tool_warned
=yes ;;
7478 test -z "$AR" && AR
=ar
7479 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7491 if test -n "$ac_tool_prefix"; then
7492 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7493 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7495 $as_echo_n "checking for $ac_word... " >&6; }
7496 if test "${ac_cv_prog_STRIP+set}" = set; then :
7497 $as_echo_n "(cached) " >&6
7499 if test -n "$STRIP"; then
7500 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7506 test -z "$as_dir" && as_dir
=.
7507 for ac_exec_ext
in '' $ac_executable_extensions; do
7508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7509 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7519 STRIP
=$ac_cv_prog_STRIP
7520 if test -n "$STRIP"; then
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7522 $as_echo "$STRIP" >&6; }
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7525 $as_echo "no" >&6; }
7530 if test -z "$ac_cv_prog_STRIP"; then
7532 # Extract the first word of "strip", so it can be a program name with args.
7533 set dummy strip
; ac_word
=$2
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7535 $as_echo_n "checking for $ac_word... " >&6; }
7536 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7537 $as_echo_n "(cached) " >&6
7539 if test -n "$ac_ct_STRIP"; then
7540 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7546 test -z "$as_dir" && as_dir
=.
7547 for ac_exec_ext
in '' $ac_executable_extensions; do
7548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7549 ac_cv_prog_ac_ct_STRIP
="strip"
7550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7559 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7560 if test -n "$ac_ct_STRIP"; then
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7562 $as_echo "$ac_ct_STRIP" >&6; }
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7565 $as_echo "no" >&6; }
7568 if test "x$ac_ct_STRIP" = x
; then
7571 case $cross_compiling:$ac_tool_warned in
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7574 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7575 ac_tool_warned
=yes ;;
7580 STRIP
="$ac_cv_prog_STRIP"
7583 test -z "$STRIP" && STRIP
=:
7590 if test -n "$ac_tool_prefix"; then
7591 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7592 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7594 $as_echo_n "checking for $ac_word... " >&6; }
7595 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7596 $as_echo_n "(cached) " >&6
7598 if test -n "$RANLIB"; then
7599 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7605 test -z "$as_dir" && as_dir
=.
7606 for ac_exec_ext
in '' $ac_executable_extensions; do
7607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7608 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7618 RANLIB
=$ac_cv_prog_RANLIB
7619 if test -n "$RANLIB"; then
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7621 $as_echo "$RANLIB" >&6; }
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7624 $as_echo "no" >&6; }
7629 if test -z "$ac_cv_prog_RANLIB"; then
7630 ac_ct_RANLIB
=$RANLIB
7631 # Extract the first word of "ranlib", so it can be a program name with args.
7632 set dummy ranlib
; ac_word
=$2
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7634 $as_echo_n "checking for $ac_word... " >&6; }
7635 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7636 $as_echo_n "(cached) " >&6
7638 if test -n "$ac_ct_RANLIB"; then
7639 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7645 test -z "$as_dir" && as_dir
=.
7646 for ac_exec_ext
in '' $ac_executable_extensions; do
7647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7648 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7658 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7659 if test -n "$ac_ct_RANLIB"; then
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7661 $as_echo "$ac_ct_RANLIB" >&6; }
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7664 $as_echo "no" >&6; }
7667 if test "x$ac_ct_RANLIB" = x
; then
7670 case $cross_compiling:$ac_tool_warned in
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7674 ac_tool_warned
=yes ;;
7676 RANLIB
=$ac_ct_RANLIB
7679 RANLIB
="$ac_cv_prog_RANLIB"
7682 test -z "$RANLIB" && RANLIB
=:
7689 # Determine commands to create old-style static archives.
7690 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7691 old_postinstall_cmds
='chmod 644 $oldlib'
7692 old_postuninstall_cmds
=
7694 if test -n "$RANLIB"; then
7697 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7700 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7703 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7708 lock_old_archive_extraction
=yes ;;
7710 lock_old_archive_extraction
=no
;;
7751 # If no C compiler was specified, use CC.
7754 # If no C compiler flags were specified, use CFLAGS.
7755 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7757 # Allow CC to be a program name with arguments.
7761 # Check for command to grab the raw symbol name followed by C symbol from nm.
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7763 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7764 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7765 $as_echo_n "(cached) " >&6
7768 # These are sane defaults that work on at least a few old systems.
7769 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7771 # Character class describing NM global symbol codes.
7772 symcode
='[BCDEGRST]'
7774 # Regexp to match symbols that can be accessed directly from C.
7775 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7777 # Define system-specific variables.
7782 cygwin
* | mingw
* | pw32
* | cegcc
*)
7783 symcode
='[ABCDGISTW]'
7786 if test "$host_cpu" = ia64
; then
7787 symcode
='[ABCDEGRST]'
7791 symcode
='[BCDEGRST]'
7794 symcode
='[BCDEGQRST]'
7805 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7813 # If we're using GNU nm, then use its standard symbol codes.
7814 case `$NM -V 2>&1` in
7815 *GNU
* |
*'with BFD'*)
7816 symcode
='[ABCDGIRSTW]' ;;
7819 # Transform an extracted symbol line into a proper C declaration.
7820 # Some systems (esp. on ia64) link data and code symbols differently,
7821 # so use this general approach.
7822 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7824 # Transform an extracted symbol line into symbol name and symbol address
7825 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7826 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'"
7828 # Handle CRLF in mingw tool chain
7832 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7836 # Try without a prefix underscore, then with it.
7837 for ac_symprfx
in "" "_"; do
7839 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7840 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7842 # Write the raw and C identifiers.
7843 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7844 # Fake it for dumpbin and say T for any non-static function
7845 # and D for any global variable.
7846 # Also find C++ and __fastcall symbols from MSVC++,
7847 # which start with @ or ?.
7848 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7849 " {last_section=section; section=\$ 3};"\
7850 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7851 " \$ 0!~/External *\|/{next};"\
7852 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7853 " {if(hide[section]) next};"\
7854 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7855 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7856 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7857 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7858 " ' prfx=^$ac_symprfx"
7860 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7863 # Check to see that the pipe works correctly.
7867 cat > conftest.
$ac_ext <<_LT_EOF
7872 void nm_test_func(void);
7873 void nm_test_func(void){}
7877 int main(){nm_test_var='a';nm_test_func();return(0);}
7880 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7881 (eval $ac_compile) 2>&5
7883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7884 test $ac_status = 0; }; then
7885 # Now try to grab the symbols.
7887 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7888 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7891 test $ac_status = 0; } && test -s "$nlist"; then
7892 # Try sorting and uniquifying the output.
7893 if sort "$nlist" |
uniq > "$nlist"T
; then
7894 mv -f "$nlist"T
"$nlist"
7899 # Make sure that we snagged all the symbols we need.
7900 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7901 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7902 cat <<_LT_EOF > conftest.$ac_ext
7908 # Now generate the symbol file.
7909 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7911 cat <<_LT_EOF >> conftest.$ac_ext
7913 /* The mapping between symbol names and symbols. */
7918 lt__PROGRAM__LTX_preloaded_symbols[] =
7920 { "@PROGRAM@", (void *) 0 },
7922 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7923 cat <<\_LT_EOF
>> conftest.
$ac_ext
7927 /* This works around a problem
in FreeBSD linker
*/
7928 #ifdef FREEBSD_WORKAROUND
7929 static const void
*lt_preloaded_setup
() {
7930 return lt__PROGRAM__LTX_preloaded_symbols
;
7938 # Now try linking the two files.
7939 mv conftest.
$ac_objext conftstm.
$ac_objext
7940 lt_save_LIBS
="$LIBS"
7941 lt_save_CFLAGS
="$CFLAGS"
7942 LIBS
="conftstm.$ac_objext"
7943 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7944 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7945 (eval $ac_link) 2>&5
7947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7948 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7951 LIBS
="$lt_save_LIBS"
7952 CFLAGS
="$lt_save_CFLAGS"
7954 echo "cannot find nm_test_func in $nlist" >&5
7957 echo "cannot find nm_test_var in $nlist" >&5
7960 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7963 echo "$progname: failed program was:" >&5
7964 cat conftest.
$ac_ext >&5
7966 rm -rf conftest
* conftst
*
7968 # Do not use the global_symbol_pipe unless it works.
7969 if test "$pipe_works" = yes; then
7972 lt_cv_sys_global_symbol_pipe
=
7978 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7979 lt_cv_sys_global_symbol_to_cdecl
=
7981 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7983 $as_echo "failed" >&6; }
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7986 $as_echo "ok" >&6; }
8010 # Check whether --enable-libtool-lock was given.
8011 if test "${enable_libtool_lock+set}" = set; then :
8012 enableval
=$enable_libtool_lock;
8015 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8017 # Some flags need to be propagated to the compiler or linker for good
8021 # Find out which ABI we are using.
8022 echo 'int i;' > conftest.
$ac_ext
8023 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8024 (eval $ac_compile) 2>&5
8026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8027 test $ac_status = 0; }; then
8028 case `/usr/bin/file conftest.$ac_objext` in
8040 # Find out which ABI we are using.
8041 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8042 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8043 (eval $ac_compile) 2>&5
8045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8046 test $ac_status = 0; }; then
8047 if test "$lt_cv_prog_gnu_ld" = yes; then
8048 case `/usr/bin/file conftest.$ac_objext` in
8050 LD
="${LD-ld} -melf32bsmip"
8053 LD
="${LD-ld} -melf32bmipn32"
8056 LD
="${LD-ld} -melf64bmip"
8060 case `/usr/bin/file conftest.$ac_objext` in
8076 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
8077 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8078 # Find out which ABI we are using.
8079 echo 'int i;' > conftest.
$ac_ext
8080 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8081 (eval $ac_compile) 2>&5
8083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8084 test $ac_status = 0; }; then
8085 case `/usr/bin/file conftest.o` in
8088 x86_64-
*kfreebsd
*-gnu)
8089 LD
="${LD-ld} -m elf_i386_fbsd"
8092 case `/usr/bin/file conftest.o` in
8094 LD
="${LD-ld} -m elf32_x86_64"
8097 LD
="${LD-ld} -m elf_i386"
8101 powerpc64le-
*linux
*)
8102 LD
="${LD-ld} -m elf32lppclinux"
8105 LD
="${LD-ld} -m elf32ppclinux"
8108 LD
="${LD-ld} -m elf_s390"
8111 LD
="${LD-ld} -m elf32_sparc"
8117 x86_64-
*kfreebsd
*-gnu)
8118 LD
="${LD-ld} -m elf_x86_64_fbsd"
8121 LD
="${LD-ld} -m elf_x86_64"
8124 LD
="${LD-ld} -m elf64lppc"
8127 LD
="${LD-ld} -m elf64ppc"
8129 s390
*-*linux
*|s390
*-*tpf
*)
8130 LD
="${LD-ld} -m elf64_s390"
8133 LD
="${LD-ld} -m elf64_sparc"
8143 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8144 SAVE_CFLAGS
="$CFLAGS"
8145 CFLAGS
="$CFLAGS -belf"
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8147 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8148 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8149 $as_echo_n "(cached) " >&6
8152 ac_cpp
='$CPP $CPPFLAGS'
8153 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8154 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8155 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8157 if test x
$gcc_no_link = xyes
; then
8158 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8161 /* end confdefs.h. */
8171 if ac_fn_c_try_link
"$LINENO"; then :
8172 lt_cv_cc_needs_belf
=yes
8174 lt_cv_cc_needs_belf
=no
8176 rm -f core conftest.err conftest.
$ac_objext \
8177 conftest
$ac_exeext conftest.
$ac_ext
8179 ac_cpp
='$CPP $CPPFLAGS'
8180 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8181 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8182 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8186 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8187 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
8188 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8189 CFLAGS
="$SAVE_CFLAGS"
8193 # Find out which ABI we are using.
8194 echo 'int i;' > conftest.
$ac_ext
8195 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8196 (eval $ac_compile) 2>&5
8198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8199 test $ac_status = 0; }; then
8200 case `/usr/bin/file conftest.o` in
8202 case $lt_cv_prog_gnu_ld in
8203 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8205 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8217 need_locks
="$enable_libtool_lock"
8221 rhapsody
* | darwin
*)
8222 if test -n "$ac_tool_prefix"; then
8223 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8224 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8226 $as_echo_n "checking for $ac_word... " >&6; }
8227 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8228 $as_echo_n "(cached) " >&6
8230 if test -n "$DSYMUTIL"; then
8231 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8237 test -z "$as_dir" && as_dir
=.
8238 for ac_exec_ext
in '' $ac_executable_extensions; do
8239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8240 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8250 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8251 if test -n "$DSYMUTIL"; then
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8253 $as_echo "$DSYMUTIL" >&6; }
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8256 $as_echo "no" >&6; }
8261 if test -z "$ac_cv_prog_DSYMUTIL"; then
8262 ac_ct_DSYMUTIL
=$DSYMUTIL
8263 # Extract the first word of "dsymutil", so it can be a program name with args.
8264 set dummy dsymutil
; ac_word
=$2
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8266 $as_echo_n "checking for $ac_word... " >&6; }
8267 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8268 $as_echo_n "(cached) " >&6
8270 if test -n "$ac_ct_DSYMUTIL"; then
8271 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8277 test -z "$as_dir" && as_dir
=.
8278 for ac_exec_ext
in '' $ac_executable_extensions; do
8279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8280 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8290 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8291 if test -n "$ac_ct_DSYMUTIL"; then
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8293 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8296 $as_echo "no" >&6; }
8299 if test "x$ac_ct_DSYMUTIL" = x
; then
8302 case $cross_compiling:$ac_tool_warned in
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8306 ac_tool_warned
=yes ;;
8308 DSYMUTIL
=$ac_ct_DSYMUTIL
8311 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8314 if test -n "$ac_tool_prefix"; then
8315 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8316 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8318 $as_echo_n "checking for $ac_word... " >&6; }
8319 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8320 $as_echo_n "(cached) " >&6
8322 if test -n "$NMEDIT"; then
8323 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8329 test -z "$as_dir" && as_dir
=.
8330 for ac_exec_ext
in '' $ac_executable_extensions; do
8331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8332 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8342 NMEDIT
=$ac_cv_prog_NMEDIT
8343 if test -n "$NMEDIT"; then
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8345 $as_echo "$NMEDIT" >&6; }
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8348 $as_echo "no" >&6; }
8353 if test -z "$ac_cv_prog_NMEDIT"; then
8354 ac_ct_NMEDIT
=$NMEDIT
8355 # Extract the first word of "nmedit", so it can be a program name with args.
8356 set dummy nmedit
; ac_word
=$2
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8358 $as_echo_n "checking for $ac_word... " >&6; }
8359 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8360 $as_echo_n "(cached) " >&6
8362 if test -n "$ac_ct_NMEDIT"; then
8363 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8369 test -z "$as_dir" && as_dir
=.
8370 for ac_exec_ext
in '' $ac_executable_extensions; do
8371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8372 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8382 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8383 if test -n "$ac_ct_NMEDIT"; then
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8385 $as_echo "$ac_ct_NMEDIT" >&6; }
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8388 $as_echo "no" >&6; }
8391 if test "x$ac_ct_NMEDIT" = x
; then
8394 case $cross_compiling:$ac_tool_warned in
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8397 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8398 ac_tool_warned
=yes ;;
8400 NMEDIT
=$ac_ct_NMEDIT
8403 NMEDIT
="$ac_cv_prog_NMEDIT"
8406 if test -n "$ac_tool_prefix"; then
8407 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8408 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8410 $as_echo_n "checking for $ac_word... " >&6; }
8411 if test "${ac_cv_prog_LIPO+set}" = set; then :
8412 $as_echo_n "(cached) " >&6
8414 if test -n "$LIPO"; then
8415 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8421 test -z "$as_dir" && as_dir
=.
8422 for ac_exec_ext
in '' $ac_executable_extensions; do
8423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8424 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8434 LIPO
=$ac_cv_prog_LIPO
8435 if test -n "$LIPO"; then
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8437 $as_echo "$LIPO" >&6; }
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8440 $as_echo "no" >&6; }
8445 if test -z "$ac_cv_prog_LIPO"; then
8447 # Extract the first word of "lipo", so it can be a program name with args.
8448 set dummy lipo
; ac_word
=$2
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8450 $as_echo_n "checking for $ac_word... " >&6; }
8451 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8452 $as_echo_n "(cached) " >&6
8454 if test -n "$ac_ct_LIPO"; then
8455 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8461 test -z "$as_dir" && as_dir
=.
8462 for ac_exec_ext
in '' $ac_executable_extensions; do
8463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8464 ac_cv_prog_ac_ct_LIPO
="lipo"
8465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8474 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8475 if test -n "$ac_ct_LIPO"; then
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8477 $as_echo "$ac_ct_LIPO" >&6; }
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8480 $as_echo "no" >&6; }
8483 if test "x$ac_ct_LIPO" = x
; then
8486 case $cross_compiling:$ac_tool_warned in
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8490 ac_tool_warned
=yes ;;
8495 LIPO
="$ac_cv_prog_LIPO"
8498 if test -n "$ac_tool_prefix"; then
8499 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8500 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8502 $as_echo_n "checking for $ac_word... " >&6; }
8503 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8504 $as_echo_n "(cached) " >&6
8506 if test -n "$OTOOL"; then
8507 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8513 test -z "$as_dir" && as_dir
=.
8514 for ac_exec_ext
in '' $ac_executable_extensions; do
8515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8516 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8526 OTOOL
=$ac_cv_prog_OTOOL
8527 if test -n "$OTOOL"; then
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8529 $as_echo "$OTOOL" >&6; }
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8532 $as_echo "no" >&6; }
8537 if test -z "$ac_cv_prog_OTOOL"; then
8539 # Extract the first word of "otool", so it can be a program name with args.
8540 set dummy otool
; ac_word
=$2
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8542 $as_echo_n "checking for $ac_word... " >&6; }
8543 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8544 $as_echo_n "(cached) " >&6
8546 if test -n "$ac_ct_OTOOL"; then
8547 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8553 test -z "$as_dir" && as_dir
=.
8554 for ac_exec_ext
in '' $ac_executable_extensions; do
8555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8556 ac_cv_prog_ac_ct_OTOOL
="otool"
8557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8566 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8567 if test -n "$ac_ct_OTOOL"; then
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8569 $as_echo "$ac_ct_OTOOL" >&6; }
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8572 $as_echo "no" >&6; }
8575 if test "x$ac_ct_OTOOL" = x
; then
8578 case $cross_compiling:$ac_tool_warned in
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8581 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8582 ac_tool_warned
=yes ;;
8587 OTOOL
="$ac_cv_prog_OTOOL"
8590 if test -n "$ac_tool_prefix"; then
8591 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8592 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8594 $as_echo_n "checking for $ac_word... " >&6; }
8595 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8596 $as_echo_n "(cached) " >&6
8598 if test -n "$OTOOL64"; then
8599 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8605 test -z "$as_dir" && as_dir
=.
8606 for ac_exec_ext
in '' $ac_executable_extensions; do
8607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8608 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8618 OTOOL64
=$ac_cv_prog_OTOOL64
8619 if test -n "$OTOOL64"; then
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8621 $as_echo "$OTOOL64" >&6; }
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8624 $as_echo "no" >&6; }
8629 if test -z "$ac_cv_prog_OTOOL64"; then
8630 ac_ct_OTOOL64
=$OTOOL64
8631 # Extract the first word of "otool64", so it can be a program name with args.
8632 set dummy otool64
; ac_word
=$2
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8634 $as_echo_n "checking for $ac_word... " >&6; }
8635 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8636 $as_echo_n "(cached) " >&6
8638 if test -n "$ac_ct_OTOOL64"; then
8639 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8645 test -z "$as_dir" && as_dir
=.
8646 for ac_exec_ext
in '' $ac_executable_extensions; do
8647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8648 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8658 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8659 if test -n "$ac_ct_OTOOL64"; then
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8661 $as_echo "$ac_ct_OTOOL64" >&6; }
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8664 $as_echo "no" >&6; }
8667 if test "x$ac_ct_OTOOL64" = x
; then
8670 case $cross_compiling:$ac_tool_warned in
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8674 ac_tool_warned
=yes ;;
8676 OTOOL64
=$ac_ct_OTOOL64
8679 OTOOL64
="$ac_cv_prog_OTOOL64"
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8709 $as_echo_n "checking for -single_module linker flag... " >&6; }
8710 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8711 $as_echo_n "(cached) " >&6
8713 lt_cv_apple_cc_single_mod
=no
8714 if test -z "${LT_MULTI_MODULE}"; then
8715 # By default we will add the -single_module flag. You can override
8716 # by either setting the environment variable LT_MULTI_MODULE
8717 # non-empty at configure time, or by adding -multi_module to the
8719 rm -rf libconftest.dylib
*
8720 echo "int foo(void){return 1;}" > conftest.c
8721 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8722 -dynamiclib -Wl,-single_module conftest.c" >&5
8723 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8724 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8726 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8727 lt_cv_apple_cc_single_mod
=yes
8729 cat conftest.err
>&5
8731 rm -rf libconftest.dylib
*
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8736 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8738 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8739 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8740 $as_echo_n "(cached) " >&6
8742 lt_cv_ld_exported_symbols_list
=no
8743 save_LDFLAGS
=$LDFLAGS
8744 echo "_main" > conftest.sym
8745 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8746 if test x
$gcc_no_link = xyes
; then
8747 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8750 /* end confdefs.h. */
8760 if ac_fn_c_try_link
"$LINENO"; then :
8761 lt_cv_ld_exported_symbols_list
=yes
8763 lt_cv_ld_exported_symbols_list
=no
8765 rm -f core conftest.err conftest.
$ac_objext \
8766 conftest
$ac_exeext conftest.
$ac_ext
8767 LDFLAGS
="$save_LDFLAGS"
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8771 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8773 $as_echo_n "checking for -force_load linker flag... " >&6; }
8774 if test "${lt_cv_ld_force_load+set}" = set; then :
8775 $as_echo_n "(cached) " >&6
8777 lt_cv_ld_force_load
=no
8778 cat > conftest.c
<< _LT_EOF
8779 int forced_loaded() { return 2;}
8781 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8782 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8783 echo "$AR cru libconftest.a conftest.o" >&5
8784 $AR cru libconftest.a conftest.o
2>&5
8785 cat > conftest.c
<< _LT_EOF
8786 int main() { return 0;}
8788 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8789 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8791 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8792 lt_cv_ld_force_load
=yes
8794 cat conftest.err
>&5
8796 rm -f conftest.err libconftest.a conftest conftest.c
8797 rm -rf conftest.dSYM
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8801 $as_echo "$lt_cv_ld_force_load" >&6; }
8803 rhapsody
* | darwin1.
[012])
8804 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8806 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8807 darwin
*) # darwin 5.x on
8808 # if running on 10.5 or later, the deployment target defaults
8809 # to the OS version, if on x86, and 10.4, the deployment
8810 # target defaults to 10.4. Don't you love it?
8811 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8812 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8813 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8815 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8817 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8821 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8822 _lt_dar_single_mod
='$single_module'
8824 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8825 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8827 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8829 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8830 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8837 for ac_header
in dlfcn.h
8839 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8841 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8842 cat >>confdefs.h
<<_ACEOF
8843 #define HAVE_DLFCN_H 1
8862 # Check whether --enable-shared was given.
8863 if test "${enable_shared+set}" = set; then :
8864 enableval
=$enable_shared; p
=${PACKAGE-default}
8866 yes) enable_shared
=yes ;;
8867 no
) enable_shared
=no
;;
8870 # Look at the argument we got. We use all the common list separators.
8871 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8872 for pkg
in $enableval; do
8874 if test "X$pkg" = "X$p"; then
8893 # Check whether --enable-static was given.
8894 if test "${enable_static+set}" = set; then :
8895 enableval
=$enable_static; p
=${PACKAGE-default}
8897 yes) enable_static
=yes ;;
8898 no
) enable_static
=no
;;
8901 # Look at the argument we got. We use all the common list separators.
8902 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8903 for pkg
in $enableval; do
8905 if test "X$pkg" = "X$p"; then
8925 # Check whether --with-pic was given.
8926 if test "${with_pic+set}" = set; then :
8927 withval
=$with_pic; pic_mode
="$withval"
8933 test -z "$pic_mode" && pic_mode
=default
8941 # Check whether --enable-fast-install was given.
8942 if test "${enable_fast_install+set}" = set; then :
8943 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8945 yes) enable_fast_install
=yes ;;
8946 no
) enable_fast_install
=no
;;
8948 enable_fast_install
=no
8949 # Look at the argument we got. We use all the common list separators.
8950 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8951 for pkg
in $enableval; do
8953 if test "X$pkg" = "X$p"; then
8954 enable_fast_install
=yes
8961 enable_fast_install
=yes
8974 # This can be used to rebuild libtool when needed
8975 LIBTOOL_DEPS
="$ltmain"
8977 # Always use our own libtool.
8978 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9005 test -z "$LN_S" && LN_S
="ln -s"
9020 if test -n "${ZSH_VERSION+set}" ; then
9021 setopt NO_GLOB_SUBST
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9025 $as_echo_n "checking for objdir... " >&6; }
9026 if test "${lt_cv_objdir+set}" = set; then :
9027 $as_echo_n "(cached) " >&6
9029 rm -f .libs
2>/dev
/null
9030 mkdir .libs
2>/dev
/null
9031 if test -d .libs
; then
9034 # MS-DOS does not allow filenames that begin with a dot.
9037 rmdir .libs
2>/dev
/null
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9040 $as_echo "$lt_cv_objdir" >&6; }
9041 objdir
=$lt_cv_objdir
9047 cat >>confdefs.h
<<_ACEOF
9048 #define LT_OBJDIR "$lt_cv_objdir/"
9056 # AIX sometimes has problems with the GCC collect2 program. For some
9057 # reason, if we set the COLLECT_NAMES environment variable, the problems
9058 # vanish in a puff of smoke.
9059 if test "X${COLLECT_NAMES+set}" != Xset
; then
9061 export COLLECT_NAMES
9068 can_build_shared
=yes
9070 # All known linkers require a `.a' archive for static linking (except MSVC,
9071 # which needs '.lib').
9074 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9077 old_CFLAGS
="$CFLAGS"
9079 # Set sane defaults for various variables
9080 test -z "$CC" && CC
=cc
9081 test -z "$LTCC" && LTCC
=$CC
9082 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9083 test -z "$LD" && LD
=ld
9084 test -z "$ac_objext" && ac_objext
=o
9086 for cc_temp
in $compiler""; do
9088 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9089 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9094 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9097 # Only perform the check for file, if the check method requires it
9098 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9099 case $deplibs_check_method in
9101 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9103 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9104 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9105 $as_echo_n "(cached) " >&6
9109 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9112 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9113 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9114 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9115 for ac_dir
in $ac_dummy; do
9117 test -z "$ac_dir" && ac_dir
=.
9118 if test -f $ac_dir/${ac_tool_prefix}file; then
9119 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9120 if test -n "$file_magic_test_file"; then
9121 case $deplibs_check_method in
9123 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9124 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9125 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9126 $EGREP "$file_magic_regex" > /dev
/null
; then
9131 *** Warning: the command libtool uses to detect shared libraries,
9132 *** $file_magic_cmd, produces output that libtool cannot recognize.
9133 *** The result is that libtool may fail to recognize shared libraries
9134 *** as such. This will affect the creation of libtool libraries that
9135 *** depend on shared libraries, but programs linked with such libtool
9136 *** libraries will work regardless of this problem. Nevertheless, you
9137 *** may want to report the problem to your system manager and/or to
9138 *** bug-libtool@gnu.org
9148 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9153 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9154 if test -n "$MAGIC_CMD"; then
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9156 $as_echo "$MAGIC_CMD" >&6; }
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9159 $as_echo "no" >&6; }
9166 if test -z "$lt_cv_path_MAGIC_CMD"; then
9167 if test -n "$ac_tool_prefix"; then
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9169 $as_echo_n "checking for file... " >&6; }
9170 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9171 $as_echo_n "(cached) " >&6
9175 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9178 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9179 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9180 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9181 for ac_dir
in $ac_dummy; do
9183 test -z "$ac_dir" && ac_dir
=.
9184 if test -f $ac_dir/file; then
9185 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9186 if test -n "$file_magic_test_file"; then
9187 case $deplibs_check_method in
9189 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9190 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9191 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9192 $EGREP "$file_magic_regex" > /dev
/null
; then
9197 *** Warning: the command libtool uses to detect shared libraries,
9198 *** $file_magic_cmd, produces output that libtool cannot recognize.
9199 *** The result is that libtool may fail to recognize shared libraries
9200 *** as such. This will affect the creation of libtool libraries that
9201 *** depend on shared libraries, but programs linked with such libtool
9202 *** libraries will work regardless of this problem. Nevertheless, you
9203 *** may want to report the problem to your system manager and/or to
9204 *** bug-libtool@gnu.org
9214 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9219 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9220 if test -n "$MAGIC_CMD"; then
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9222 $as_echo "$MAGIC_CMD" >&6; }
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9225 $as_echo "no" >&6; }
9238 # Use C for the default configuration in the libtool script
9242 ac_cpp
='$CPP $CPPFLAGS'
9243 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9244 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9245 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9248 # Source file extension for C test sources.
9251 # Object file extension for compiled C test sources.
9255 # Code to be used in simple compile tests
9256 lt_simple_compile_test_code
="int some_variable = 0;"
9258 # Code to be used in simple link tests
9259 lt_simple_link_test_code
='int main(){return(0);}'
9267 # If no C compiler was specified, use CC.
9270 # If no C compiler flags were specified, use CFLAGS.
9271 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9273 # Allow CC to be a program name with arguments.
9276 # Save the default compiler, since it gets overwritten when the other
9277 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9278 compiler_DEFAULT
=$CC
9280 # save warnings/boilerplate of simple test code
9281 ac_outfile
=conftest.
$ac_objext
9282 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9283 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9284 _lt_compiler_boilerplate
=`cat conftest.err`
9287 ac_outfile
=conftest.
$ac_objext
9288 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9289 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9290 _lt_linker_boilerplate
=`cat conftest.err`
9295 ## There is no encapsulation within the following macros, do not change
9296 ## the running order or otherwise move them around unless you know exactly
9297 ## what you are doing...
9298 if test -n "$compiler"; then
9300 lt_prog_compiler_no_builtin_flag
=
9302 if test "$GCC" = yes; then
9303 case $cc_basename in
9305 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9307 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9311 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9312 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9313 $as_echo_n "(cached) " >&6
9315 lt_cv_prog_compiler_rtti_exceptions
=no
9316 ac_outfile
=conftest.
$ac_objext
9317 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9318 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9319 # Insert the option either (1) after the last *FLAGS variable, or
9320 # (2) before a word containing "conftest.", or (3) at the end.
9321 # Note that $ac_compile itself does not contain backslashes and begins
9322 # with a dollar sign (not a hyphen), so the echo should work correctly.
9323 # The option is referenced via a variable to avoid confusing sed.
9324 lt_compile
=`echo "$ac_compile" | $SED \
9325 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9326 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9327 -e 's:$: $lt_compiler_flag:'`
9328 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9329 (eval "$lt_compile" 2>conftest.err
)
9331 cat conftest.err
>&5
9332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9333 if (exit $ac_status) && test -s "$ac_outfile"; then
9334 # The compiler can only warn and ignore the option if not recognized
9335 # So say no if there are warnings other than the usual output.
9336 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9337 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9338 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9339 lt_cv_prog_compiler_rtti_exceptions
=yes
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9346 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9348 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9349 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9361 lt_prog_compiler_wl
=
9362 lt_prog_compiler_pic
=
9363 lt_prog_compiler_static
=
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9366 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9368 if test "$GCC" = yes; then
9369 lt_prog_compiler_wl
='-Wl,'
9370 lt_prog_compiler_static
='-static'
9374 # All AIX code is PIC.
9375 if test "$host_cpu" = ia64
; then
9376 # AIX 5 now supports IA64 processor
9377 lt_prog_compiler_static
='-Bstatic'
9379 lt_prog_compiler_pic
='-fPIC'
9385 # see comment about AmigaOS4 .so support
9386 lt_prog_compiler_pic
='-fPIC'
9389 # FIXME: we need at least 68020 code to build shared libraries, but
9390 # adding the `-m68020' flag to GCC prevents building anything better,
9392 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9397 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9398 # PIC is the default for these OSes.
9401 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9402 # This hack is so that the source file can tell whether it is being
9403 # built for inclusion in a dll (and should export symbols for example).
9404 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9405 # (--disable-auto-import) libraries
9406 lt_prog_compiler_pic
='-DDLL_EXPORT'
9409 darwin
* | rhapsody
*)
9410 # PIC is the default on this platform
9411 # Common symbols not allowed in MH_DYLIB files
9412 lt_prog_compiler_pic
='-fno-common'
9416 # PIC is the default for Haiku.
9417 # The "-static" flag exists, but is broken.
9418 lt_prog_compiler_static
=
9422 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9423 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9424 # sets the default TLS model and affects inlining.
9430 lt_prog_compiler_pic
='-fPIC'
9436 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9437 # Instead, we relocate shared libraries at runtime.
9441 # Just because we use GCC doesn't mean we suddenly get shared libraries
9442 # on systems that don't support them.
9443 lt_prog_compiler_can_build_shared
=no
9448 # QNX uses GNU C++, but need to define -shared option too, otherwise
9450 lt_prog_compiler_pic
='-fPIC -shared'
9454 if test -d /usr
/nec
; then
9455 lt_prog_compiler_pic
=-Kconform_pic
9460 lt_prog_compiler_pic
='-fPIC'
9464 case $cc_basename in
9465 nvcc
*) # Cuda Compiler Driver 2.2
9466 lt_prog_compiler_wl
='-Xlinker '
9467 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9471 # PORTME Check for flag to pass linker flags through the system compiler.
9474 lt_prog_compiler_wl
='-Wl,'
9475 if test "$host_cpu" = ia64
; then
9476 # AIX 5 now supports IA64 processor
9477 lt_prog_compiler_static
='-Bstatic'
9479 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9483 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9484 # This hack is so that the source file can tell whether it is being
9485 # built for inclusion in a dll (and should export symbols for example).
9486 lt_prog_compiler_pic
='-DDLL_EXPORT'
9489 hpux9
* | hpux10
* | hpux11
*)
9490 lt_prog_compiler_wl
='-Wl,'
9491 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9498 lt_prog_compiler_pic
='+Z'
9501 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9502 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9505 irix5
* | irix6
* | nonstopux
*)
9506 lt_prog_compiler_wl
='-Wl,'
9507 # PIC (with -KPIC) is the default.
9508 lt_prog_compiler_static
='-non_shared'
9511 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9512 case $cc_basename in
9513 # old Intel for x86_64 which still supported -KPIC.
9515 lt_prog_compiler_wl
='-Wl,'
9516 lt_prog_compiler_pic
='-KPIC'
9517 lt_prog_compiler_static
='-static'
9519 # icc used to be incompatible with GCC.
9520 # ICC 10 doesn't accept -KPIC any more.
9522 lt_prog_compiler_wl
='-Wl,'
9523 lt_prog_compiler_pic
='-fPIC'
9524 lt_prog_compiler_static
='-static'
9526 # Lahey Fortran 8.1.
9528 lt_prog_compiler_wl
='-Wl,'
9529 lt_prog_compiler_pic
='--shared'
9530 lt_prog_compiler_static
='--static'
9532 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9533 # Portland Group compilers (*not* the Pentium gcc compiler,
9534 # which looks to be a dead project)
9535 lt_prog_compiler_wl
='-Wl,'
9536 lt_prog_compiler_pic
='-fpic'
9537 lt_prog_compiler_static
='-Bstatic'
9540 lt_prog_compiler_wl
='-Wl,'
9541 # All Alpha code is PIC.
9542 lt_prog_compiler_static
='-non_shared'
9544 xl
* | bgxl
* | bgf
* | mpixl
*)
9545 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9546 lt_prog_compiler_wl
='-Wl,'
9547 lt_prog_compiler_pic
='-qpic'
9548 lt_prog_compiler_static
='-qstaticlink'
9551 case `$CC -V 2>&1 | sed 5q` in
9552 *Sun\ F
* |
*Sun
*Fortran
*)
9553 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9554 lt_prog_compiler_pic
='-KPIC'
9555 lt_prog_compiler_static
='-Bstatic'
9556 lt_prog_compiler_wl
=''
9560 lt_prog_compiler_pic
='-KPIC'
9561 lt_prog_compiler_static
='-Bstatic'
9562 lt_prog_compiler_wl
='-Wl,'
9570 lt_prog_compiler_pic
='-KPIC'
9571 lt_prog_compiler_static
='-Bstatic'
9575 # QNX uses GNU C++, but need to define -shared option too, otherwise
9577 lt_prog_compiler_pic
='-fPIC -shared'
9580 osf3
* | osf4
* | osf5
*)
9581 lt_prog_compiler_wl
='-Wl,'
9582 # All OSF/1 code is PIC.
9583 lt_prog_compiler_static
='-non_shared'
9587 lt_prog_compiler_static
='-non_shared'
9591 lt_prog_compiler_pic
='-KPIC'
9592 lt_prog_compiler_static
='-Bstatic'
9593 case $cc_basename in
9595 lt_prog_compiler_wl
='-Qoption ld ';;
9597 lt_prog_compiler_wl
='-Wl,';;
9602 lt_prog_compiler_wl
='-Qoption ld '
9603 lt_prog_compiler_pic
='-PIC'
9604 lt_prog_compiler_static
='-Bstatic'
9607 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9608 lt_prog_compiler_wl
='-Wl,'
9609 lt_prog_compiler_pic
='-KPIC'
9610 lt_prog_compiler_static
='-Bstatic'
9614 if test -d /usr
/nec
;then
9615 lt_prog_compiler_pic
='-Kconform_pic'
9616 lt_prog_compiler_static
='-Bstatic'
9620 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9621 lt_prog_compiler_wl
='-Wl,'
9622 lt_prog_compiler_pic
='-KPIC'
9623 lt_prog_compiler_static
='-Bstatic'
9627 lt_prog_compiler_wl
='-Wl,'
9628 lt_prog_compiler_can_build_shared
=no
9632 lt_prog_compiler_pic
='-pic'
9633 lt_prog_compiler_static
='-Bstatic'
9637 lt_prog_compiler_can_build_shared
=no
9643 # For platforms which do not support PIC, -DPIC is meaningless:
9645 lt_prog_compiler_pic
=
9648 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9652 $as_echo "$lt_prog_compiler_pic" >&6; }
9660 # Check to make sure the PIC flag actually works.
9662 if test -n "$lt_prog_compiler_pic"; then
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9664 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9665 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9666 $as_echo_n "(cached) " >&6
9668 lt_cv_prog_compiler_pic_works
=no
9669 ac_outfile
=conftest.
$ac_objext
9670 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9671 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9672 # Insert the option either (1) after the last *FLAGS variable, or
9673 # (2) before a word containing "conftest.", or (3) at the end.
9674 # Note that $ac_compile itself does not contain backslashes and begins
9675 # with a dollar sign (not a hyphen), so the echo should work correctly.
9676 # The option is referenced via a variable to avoid confusing sed.
9677 lt_compile
=`echo "$ac_compile" | $SED \
9678 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9679 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9680 -e 's:$: $lt_compiler_flag:'`
9681 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9682 (eval "$lt_compile" 2>conftest.err
)
9684 cat conftest.err
>&5
9685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9686 if (exit $ac_status) && test -s "$ac_outfile"; then
9687 # The compiler can only warn and ignore the option if not recognized
9688 # So say no if there are warnings other than the usual output.
9689 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9690 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9691 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9692 lt_cv_prog_compiler_pic_works
=yes
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9699 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9701 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9702 case $lt_prog_compiler_pic in
9704 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9707 lt_prog_compiler_pic
=
9708 lt_prog_compiler_can_build_shared
=no
9719 # Check to make sure the static flag actually works.
9721 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9723 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9724 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9725 $as_echo_n "(cached) " >&6
9727 lt_cv_prog_compiler_static_works
=no
9728 save_LDFLAGS
="$LDFLAGS"
9729 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9730 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9731 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9732 # The linker can only warn and ignore the option if not recognized
9733 # So say no if there are warnings
9734 if test -s conftest.err
; then
9735 # Append any errors to the config.log.
9736 cat conftest.err
1>&5
9737 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9738 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9739 if diff conftest.exp conftest.er2
>/dev
/null
; then
9740 lt_cv_prog_compiler_static_works
=yes
9743 lt_cv_prog_compiler_static_works
=yes
9747 LDFLAGS
="$save_LDFLAGS"
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9751 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9753 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9756 lt_prog_compiler_static
=
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9766 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9767 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9768 $as_echo_n "(cached) " >&6
9770 lt_cv_prog_compiler_c_o
=no
9771 $RM -r conftest
2>/dev
/null
9775 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9777 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9778 # Insert the option either (1) after the last *FLAGS variable, or
9779 # (2) before a word containing "conftest.", or (3) at the end.
9780 # Note that $ac_compile itself does not contain backslashes and begins
9781 # with a dollar sign (not a hyphen), so the echo should work correctly.
9782 lt_compile
=`echo "$ac_compile" | $SED \
9783 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9784 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9785 -e 's:$: $lt_compiler_flag:'`
9786 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9787 (eval "$lt_compile" 2>out
/conftest.err
)
9789 cat out
/conftest.err
>&5
9790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9791 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9793 # The compiler can only warn and ignore the option if not recognized
9794 # So say no if there are warnings
9795 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9796 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9797 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9798 lt_cv_prog_compiler_c_o
=yes
9803 # SGI C++ compiler will create directory out/ii_files/ for
9804 # template instantiation
9805 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9806 $RM out
/* && rmdir out
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9813 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9821 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9822 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9823 $as_echo_n "(cached) " >&6
9825 lt_cv_prog_compiler_c_o
=no
9826 $RM -r conftest
2>/dev
/null
9830 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9832 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9833 # Insert the option either (1) after the last *FLAGS variable, or
9834 # (2) before a word containing "conftest.", or (3) at the end.
9835 # Note that $ac_compile itself does not contain backslashes and begins
9836 # with a dollar sign (not a hyphen), so the echo should work correctly.
9837 lt_compile
=`echo "$ac_compile" | $SED \
9838 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9839 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9840 -e 's:$: $lt_compiler_flag:'`
9841 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9842 (eval "$lt_compile" 2>out
/conftest.err
)
9844 cat out
/conftest.err
>&5
9845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9846 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9848 # The compiler can only warn and ignore the option if not recognized
9849 # So say no if there are warnings
9850 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9851 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9852 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9853 lt_cv_prog_compiler_c_o
=yes
9858 # SGI C++ compiler will create directory out/ii_files/ for
9859 # template instantiation
9860 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9861 $RM out
/* && rmdir out
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9868 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9873 hard_links
="nottested"
9874 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9875 # do not overwrite the value of need_locks provided by the user
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9877 $as_echo_n "checking if we can lock with hard links... " >&6; }
9880 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9882 ln conftest.a conftest.b
2>&5 || hard_links
=no
9883 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9885 $as_echo "$hard_links" >&6; }
9886 if test "$hard_links" = no
; then
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9888 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9901 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9904 allow_undefined_flag
=
9905 always_export_symbols
=no
9907 archive_expsym_cmds
=
9908 compiler_needs_object
=no
9909 enable_shared_with_static_runtimes
=no
9910 export_dynamic_flag_spec
=
9911 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9912 hardcode_automatic
=no
9914 hardcode_direct_absolute
=no
9915 hardcode_libdir_flag_spec
=
9916 hardcode_libdir_flag_spec_ld
=
9917 hardcode_libdir_separator
=
9919 hardcode_shlibpath_var
=unsupported
9921 link_all_deplibs
=unknown
9924 old_archive_from_new_cmds
=
9925 old_archive_from_expsyms_cmds
=
9926 thread_safe_flag_spec
=
9927 whole_archive_flag_spec
=
9928 # include_expsyms should be a list of space-separated symbols to be *always*
9929 # included in the symbol list
9931 # exclude_expsyms can be an extended regexp of symbols to exclude
9932 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9933 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9934 # as well as any symbol that contains `d'.
9935 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9936 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9937 # platforms (ab)use it in PIC code, but their linkers get confused if
9938 # the symbol is explicitly referenced. Since portable code cannot
9939 # rely on this symbol name, it's probably fine to never include it in
9940 # preloaded symbol tables.
9941 # Exclude shared library initialization/finalization symbols.
9942 extract_expsyms_cmds
=
9945 cygwin
* | mingw
* | pw32
* | cegcc
*)
9946 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9947 # When not using gcc, we currently assume that we are using
9948 # Microsoft Visual C++.
9949 if test "$GCC" != yes; then
9954 # we just hope/assume this is gcc and not c89 (= MSVC++)
9964 # On some targets, GNU ld is compatible enough with the native linker
9965 # that we're better off using the native interface for both.
9966 lt_use_gnu_ld_interface
=no
9967 if test "$with_gnu_ld" = yes; then
9970 # The AIX port of GNU ld has always aspired to compatibility
9971 # with the native linker. However, as the warning in the GNU ld
9972 # block says, versions before 2.19.5* couldn't really create working
9973 # shared libraries, regardless of the interface used.
9974 case `$LD -v 2>&1` in
9975 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9976 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9977 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9979 lt_use_gnu_ld_interface
=yes
9984 lt_use_gnu_ld_interface
=yes
9989 if test "$lt_use_gnu_ld_interface" = yes; then
9990 # If archive_cmds runs LD, not CC, wlarc should be empty
9993 # Set some defaults for GNU ld with shared library support. These
9994 # are reset later if shared libraries are not supported. Putting them
9995 # here allows them to be overridden if necessary.
9996 runpath_var
=LD_RUN_PATH
9997 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9998 export_dynamic_flag_spec
='${wl}--export-dynamic'
9999 # ancient GNU ld didn't support --whole-archive et. al.
10000 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10001 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10003 whole_archive_flag_spec
=
10005 supports_anon_versioning
=no
10006 case `$LD -v 2>&1` in
10007 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10008 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10009 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10010 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10011 *\
2.11.
*) ;; # other 2.11 versions
10012 *) supports_anon_versioning
=yes ;;
10015 # See if GNU ld supports shared libraries.
10018 # On AIX/PPC, the GNU linker is very broken
10019 if test "$host_cpu" != ia64
; then
10023 *** Warning: the GNU linker, at least up to release 2.19, is reported
10024 *** to be unable to reliably create shared libraries on AIX.
10025 *** Therefore, libtool is disabling shared libraries support. If you
10026 *** really care for shared libraries, you may want to install binutils
10027 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10028 *** You will then need to restart the configuration process.
10037 # see comment about AmigaOS4 .so support
10038 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10039 archive_expsym_cmds
=''
10042 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)'
10043 hardcode_libdir_flag_spec
='-L$libdir'
10044 hardcode_minus_L
=yes
10050 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10051 allow_undefined_flag
=unsupported
10052 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10053 # support --undefined. This deserves some investigation. FIXME
10054 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10060 cygwin
* | mingw
* | pw32
* | cegcc
*)
10061 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10062 # as there is no search path for DLLs.
10063 hardcode_libdir_flag_spec
='-L$libdir'
10064 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10065 allow_undefined_flag
=unsupported
10066 always_export_symbols
=no
10067 enable_shared_with_static_runtimes
=yes
10068 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10070 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10071 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10072 # If the export-symbols file already is a .def file (1st line
10073 # is EXPORTS), use it as is; otherwise, prepend...
10074 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10075 cp $export_symbols $output_objdir/$soname.def;
10077 echo EXPORTS > $output_objdir/$soname.def;
10078 cat $export_symbols >> $output_objdir/$soname.def;
10080 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10087 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10088 link_all_deplibs
=yes
10093 hardcode_shlibpath_var
=no
10094 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10095 export_dynamic_flag_spec
='${wl}-E'
10096 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10097 # Instead, shared libraries are loaded at an image base (0x10000000 by
10098 # default) and relocated if they conflict, which is a slow very memory
10099 # consuming and fragmenting process. To avoid this, we pick a random,
10100 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10101 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10102 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10103 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'
10106 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10108 if test "$host_os" = linux-dietlibc
; then
10109 case $cc_basename in
10110 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10113 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10114 && test "$tmp_diet" = no
10117 tmp_sharedflag
='-shared'
10118 case $cc_basename,$host_cpu in
10119 pgcc
*) # Portland Group C compiler
10120 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'
10121 tmp_addflag
=' $pic_flag'
10123 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10124 # Portland Group f77 and f90 compilers
10125 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'
10126 tmp_addflag
=' $pic_flag -Mnomain' ;;
10127 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10128 tmp_addflag
=' -i_dynamic' ;;
10129 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10130 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10131 ifc
* | ifort
*) # Intel Fortran compiler
10132 tmp_addflag
=' -nofor_main' ;;
10133 lf95
*) # Lahey Fortran 8.1
10134 whole_archive_flag_spec
=
10135 tmp_sharedflag
='--shared' ;;
10136 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10137 tmp_sharedflag
='-qmkshrobj'
10139 nvcc
*) # Cuda Compiler Driver 2.2
10140 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'
10141 compiler_needs_object
=yes
10144 case `$CC -V 2>&1 | sed 5q` in
10145 *Sun\ C
*) # Sun C 5.9
10146 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'
10147 compiler_needs_object
=yes
10148 tmp_sharedflag
='-G' ;;
10149 *Sun\ F
*) # Sun Fortran 8.3
10150 tmp_sharedflag
='-G' ;;
10152 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10154 if test "x$supports_anon_versioning" = xyes
; then
10155 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10156 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10157 echo "local: *; };" >> $output_objdir/$libname.ver~
10158 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10161 case $cc_basename in
10162 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10163 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10164 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10165 hardcode_libdir_flag_spec
=
10166 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10167 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10168 if test "x$supports_anon_versioning" = xyes
; then
10169 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10170 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10171 echo "local: *; };" >> $output_objdir/$libname.ver~
10172 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10182 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10183 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10186 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10187 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10192 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10196 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10197 *** create shared libraries on Solaris systems. Therefore, libtool
10198 *** is disabling shared libraries support. We urge you to upgrade GNU
10199 *** binutils to release 2.9.1 or newer. Another option is to modify
10200 *** your PATH or compiler configuration so that the native linker is
10201 *** used, and then restart.
10204 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10205 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10206 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10212 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10213 case `$LD -v 2>&1` in
10214 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10218 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10219 *** reliably create shared libraries on SCO systems. Therefore, libtool
10220 *** is disabling shared libraries support. We urge you to upgrade GNU
10221 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10222 *** your PATH or compiler configuration so that the native linker is
10223 *** used, and then restart.
10228 # For security reasons, it is highly recommended that you always
10229 # use absolute paths for naming shared libraries, and exclude the
10230 # DT_RUNPATH tag from executables and libraries. But doing so
10231 # requires that you compile everything twice, which is a pain.
10232 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10233 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10234 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10235 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10244 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10246 hardcode_direct
=yes
10247 hardcode_shlibpath_var
=no
10251 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10252 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10253 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10260 if test "$ld_shlibs" = no
; then
10262 hardcode_libdir_flag_spec
=
10263 export_dynamic_flag_spec
=
10264 whole_archive_flag_spec
=
10267 # PORTME fill in a description of your system's linker (not GNU ld)
10270 allow_undefined_flag
=unsupported
10271 always_export_symbols
=yes
10272 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'
10273 # Note: this linker hardcodes the directories in LIBPATH if there
10274 # are no directories specified by -L.
10275 hardcode_minus_L
=yes
10276 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10277 # Neither direct hardcoding nor static linking is supported with a
10279 hardcode_direct
=unsupported
10284 if test "$host_cpu" = ia64
; then
10285 # On IA64, the linker does run time linking by default, so we don't
10286 # have to do anything special.
10287 aix_use_runtimelinking
=no
10288 exp_sym_flag
='-Bexport'
10291 # If we're using GNU nm, then we don't want the "-C" option.
10292 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10293 # Also, AIX nm treats weak defined symbols like other global
10294 # defined symbols, whereas GNU nm marks them as "W".
10295 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10296 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'
10298 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'
10300 aix_use_runtimelinking
=no
10302 # Test if we are trying to use run time linking or normal
10303 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10304 # need to do runtime linking.
10305 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10306 for ld_flag
in $LDFLAGS; do
10307 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10308 aix_use_runtimelinking
=yes
10315 exp_sym_flag
='-bexport'
10316 no_entry_flag
='-bnoentry'
10319 # When large executables or shared objects are built, AIX ld can
10320 # have problems creating the table of contents. If linking a library
10321 # or program results in "error TOC overflow" add -mminimal-toc to
10322 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10323 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10326 hardcode_direct
=yes
10327 hardcode_direct_absolute
=yes
10328 hardcode_libdir_separator
=':'
10329 link_all_deplibs
=yes
10330 file_list_spec
='${wl}-f,'
10332 if test "$GCC" = yes; then
10333 case $host_os in aix4.
[012]|aix4.
[012].
*)
10334 # We only want to do this on AIX 4.2 and lower, the check
10335 # below for broken collect2 doesn't work under 4.3+
10336 collect2name
=`${CC} -print-prog-name=collect2`
10337 if test -f "$collect2name" &&
10338 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10340 # We have reworked collect2
10343 # We have old collect2
10344 hardcode_direct
=unsupported
10345 # It fails to find uninstalled libraries when the uninstalled
10346 # path is not listed in the libpath. Setting hardcode_minus_L
10347 # to unsupported forces relinking
10348 hardcode_minus_L
=yes
10349 hardcode_libdir_flag_spec
='-L$libdir'
10350 hardcode_libdir_separator
=
10354 shared_flag
='-shared'
10355 if test "$aix_use_runtimelinking" = yes; then
10356 shared_flag
="$shared_flag "'${wl}-G'
10360 if test "$host_cpu" = ia64
; then
10361 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10362 # chokes on -Wl,-G. The following line is correct:
10365 if test "$aix_use_runtimelinking" = yes; then
10366 shared_flag
='${wl}-G'
10368 shared_flag
='${wl}-bM:SRE'
10373 export_dynamic_flag_spec
='${wl}-bexpall'
10374 # It seems that -bexpall does not export symbols beginning with
10375 # underscore (_), so it is better to generate a list of symbols to export.
10376 always_export_symbols
=yes
10377 if test "$aix_use_runtimelinking" = yes; then
10378 # Warning - without using the other runtime loading flags (-brtl),
10379 # -berok will link without error, but may produce a broken library.
10380 allow_undefined_flag
='-berok'
10381 # Determine the default libpath from the value encoded in an
10382 # empty executable.
10383 if test x
$gcc_no_link = xyes
; then
10384 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10387 /* end confdefs.h. */
10397 if ac_fn_c_try_link
"$LINENO"; then :
10399 lt_aix_libpath_sed
='
10400 /Import File Strings/,/^$/ {
10406 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10407 # Check for a 64-bit object if we didn't find anything.
10408 if test -z "$aix_libpath"; then
10409 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10412 rm -f core conftest.err conftest.
$ac_objext \
10413 conftest
$ac_exeext conftest.
$ac_ext
10414 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10416 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10417 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"
10419 if test "$host_cpu" = ia64
; then
10420 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10421 allow_undefined_flag
="-z nodefs"
10422 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"
10424 # Determine the default libpath from the value encoded in an
10425 # empty executable.
10426 if test x
$gcc_no_link = xyes
; then
10427 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10430 /* end confdefs.h. */
10440 if ac_fn_c_try_link
"$LINENO"; then :
10442 lt_aix_libpath_sed
='
10443 /Import File Strings/,/^$/ {
10449 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10450 # Check for a 64-bit object if we didn't find anything.
10451 if test -z "$aix_libpath"; then
10452 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10455 rm -f core conftest.err conftest.
$ac_objext \
10456 conftest
$ac_exeext conftest.
$ac_ext
10457 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10459 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10460 # Warning - without using the other run time loading flags,
10461 # -berok will link without error, but may produce a broken library.
10462 no_undefined_flag
=' ${wl}-bernotok'
10463 allow_undefined_flag
=' ${wl}-berok'
10464 if test "$with_gnu_ld" = yes; then
10465 # We only use this code for GNU lds that support --whole-archive.
10466 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10468 # Exported symbols can be pulled into shared objects from archives
10469 whole_archive_flag_spec
='$convenience'
10471 archive_cmds_need_lc
=yes
10472 # This is similar to how AIX traditionally builds its shared libraries.
10473 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'
10481 # see comment about AmigaOS4 .so support
10482 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10483 archive_expsym_cmds
=''
10486 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)'
10487 hardcode_libdir_flag_spec
='-L$libdir'
10488 hardcode_minus_L
=yes
10494 export_dynamic_flag_spec
=-rdynamic
10497 cygwin
* | mingw
* | pw32
* | cegcc
*)
10498 # When not using gcc, we currently assume that we are using
10499 # Microsoft Visual C++.
10500 # hardcode_libdir_flag_spec is actually meaningless, as there is
10501 # no search path for DLLs.
10502 hardcode_libdir_flag_spec
=' '
10503 allow_undefined_flag
=unsupported
10504 # Tell ltmain to make .lib files, not .a files.
10506 # Tell ltmain to make .dll files, not .so files.
10508 # FIXME: Setting linknames here is a bad hack.
10509 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10510 # The linker will automatically build a .lib file if we build a DLL.
10511 old_archive_from_new_cmds
='true'
10512 # FIXME: Should let the user specify the lib program.
10513 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10514 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10515 enable_shared_with_static_runtimes
=yes
10518 darwin
* | rhapsody
*)
10521 archive_cmds_need_lc
=no
10523 hardcode_automatic
=yes
10524 hardcode_shlibpath_var
=unsupported
10525 if test "$lt_cv_ld_force_load" = "yes"; then
10526 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\"`'
10528 whole_archive_flag_spec
=''
10530 link_all_deplibs
=yes
10531 allow_undefined_flag
="$_lt_dar_allow_undefined"
10532 case $cc_basename in
10533 ifort
*) _lt_dar_can_shared
=yes ;;
10534 *) _lt_dar_can_shared
=$GCC ;;
10536 if test "$_lt_dar_can_shared" = "yes"; then
10537 output_verbose_link_cmd
=func_echo_all
10538 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10539 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10540 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}"
10541 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}"
10550 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10551 hardcode_libdir_flag_spec
='-L$libdir'
10552 hardcode_shlibpath_var
=no
10555 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10556 # support. Future versions do this automatically, but an explicit c++rt0.o
10557 # does not break anything, and helps significantly (at the cost of a little
10560 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10561 hardcode_libdir_flag_spec
='-R$libdir'
10562 hardcode_direct
=yes
10563 hardcode_shlibpath_var
=no
10566 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10568 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10569 hardcode_direct
=yes
10570 hardcode_minus_L
=yes
10571 hardcode_shlibpath_var
=no
10574 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10575 freebsd
* | dragonfly
*)
10576 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10577 hardcode_libdir_flag_spec
='-R$libdir'
10578 hardcode_direct
=yes
10579 hardcode_shlibpath_var
=no
10583 if test "$GCC" = yes; then
10584 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'
10586 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'
10588 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10589 hardcode_libdir_separator
=:
10590 hardcode_direct
=yes
10592 # hardcode_minus_L: Not really in the search PATH,
10593 # but as the default location of the library.
10594 hardcode_minus_L
=yes
10595 export_dynamic_flag_spec
='${wl}-E'
10599 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10600 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10602 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10604 if test "$with_gnu_ld" = no
; then
10605 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10606 hardcode_libdir_flag_spec_ld
='+b $libdir'
10607 hardcode_libdir_separator
=:
10608 hardcode_direct
=yes
10609 hardcode_direct_absolute
=yes
10610 export_dynamic_flag_spec
='${wl}-E'
10611 # hardcode_minus_L: Not really in the search PATH,
10612 # but as the default location of the library.
10613 hardcode_minus_L
=yes
10618 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10621 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10624 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10627 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10633 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10636 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10640 # Older versions of the 11.00 compiler do not understand -b yet
10641 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10643 $as_echo_n "checking if $CC understands -b... " >&6; }
10644 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10645 $as_echo_n "(cached) " >&6
10647 lt_cv_prog_compiler__b
=no
10648 save_LDFLAGS
="$LDFLAGS"
10649 LDFLAGS
="$LDFLAGS -b"
10650 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10651 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10652 # The linker can only warn and ignore the option if not recognized
10653 # So say no if there are warnings
10654 if test -s conftest.err
; then
10655 # Append any errors to the config.log.
10656 cat conftest.err
1>&5
10657 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10658 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10659 if diff conftest.exp conftest.er2
>/dev
/null
; then
10660 lt_cv_prog_compiler__b
=yes
10663 lt_cv_prog_compiler__b
=yes
10667 LDFLAGS
="$save_LDFLAGS"
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10671 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10673 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10674 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10676 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10682 if test "$with_gnu_ld" = no
; then
10683 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10684 hardcode_libdir_separator
=:
10689 hardcode_shlibpath_var
=no
10692 hardcode_direct
=yes
10693 hardcode_direct_absolute
=yes
10694 export_dynamic_flag_spec
='${wl}-E'
10696 # hardcode_minus_L: Not really in the search PATH,
10697 # but as the default location of the library.
10698 hardcode_minus_L
=yes
10704 irix5
* | irix6
* | nonstopux
*)
10705 if test "$GCC" = yes; then
10706 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'
10707 # Try to use the -exported_symbol ld option, if it does not
10708 # work, assume that -exports_file does not work either and
10709 # implicitly export all symbols.
10710 save_LDFLAGS
="$LDFLAGS"
10711 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10712 if test x
$gcc_no_link = xyes
; then
10713 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10716 /* end confdefs.h. */
10719 if ac_fn_c_try_link
"$LINENO"; then :
10720 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'
10723 rm -f core conftest.err conftest.
$ac_objext \
10724 conftest
$ac_exeext conftest.
$ac_ext
10725 LDFLAGS
="$save_LDFLAGS"
10727 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'
10728 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'
10730 archive_cmds_need_lc
='no'
10731 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10732 hardcode_libdir_separator
=:
10734 link_all_deplibs
=yes
10738 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10739 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10741 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10743 hardcode_libdir_flag_spec
='-R$libdir'
10744 hardcode_direct
=yes
10745 hardcode_shlibpath_var
=no
10749 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10750 hardcode_direct
=yes
10751 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10752 hardcode_libdir_separator
=:
10753 hardcode_shlibpath_var
=no
10760 if test -f /usr
/libexec
/ld.so
; then
10761 hardcode_direct
=yes
10762 hardcode_shlibpath_var
=no
10763 hardcode_direct_absolute
=yes
10764 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10765 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10766 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10767 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10768 export_dynamic_flag_spec
='${wl}-E'
10771 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10772 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10773 hardcode_libdir_flag_spec
='-R$libdir'
10776 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10777 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10787 hardcode_libdir_flag_spec
='-L$libdir'
10788 hardcode_minus_L
=yes
10789 allow_undefined_flag
=unsupported
10790 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'
10791 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10795 if test "$GCC" = yes; then
10796 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10797 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'
10799 allow_undefined_flag
=' -expect_unresolved \*'
10800 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'
10802 archive_cmds_need_lc
='no'
10803 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10804 hardcode_libdir_separator
=:
10807 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10808 if test "$GCC" = yes; then
10809 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10810 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'
10811 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10813 allow_undefined_flag
=' -expect_unresolved \*'
10814 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'
10815 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~
10816 $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'
10818 # Both c and cxx compiler support -rpath directly
10819 hardcode_libdir_flag_spec
='-rpath $libdir'
10821 archive_cmds_need_lc
='no'
10822 hardcode_libdir_separator
=:
10826 no_undefined_flag
=' -z defs'
10827 if test "$GCC" = yes; then
10829 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10830 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10831 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10833 case `$CC -V 2>&1` in
10836 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10837 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10838 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10842 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10843 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10844 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10848 hardcode_libdir_flag_spec
='-R$libdir'
10849 hardcode_shlibpath_var
=no
10851 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10853 # The compiler driver will combine and reorder linker options,
10854 # but understands `-z linker_flag'. GCC discards it without `$wl',
10855 # but is careful enough not to reorder.
10856 # Supported since Solaris 2.6 (maybe 2.5.1?)
10857 if test "$GCC" = yes; then
10858 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10860 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10864 link_all_deplibs
=yes
10868 if test "x$host_vendor" = xsequent
; then
10869 # Use $CC to link under sequent, because it throws in some extra .o
10870 # files that make .init and .fini sections work.
10871 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10873 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10875 hardcode_libdir_flag_spec
='-L$libdir'
10876 hardcode_direct
=yes
10877 hardcode_minus_L
=yes
10878 hardcode_shlibpath_var
=no
10882 case $host_vendor in
10884 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10885 hardcode_direct
=yes # is this really true???
10888 ## LD is ld it makes a PLAMLIB
10889 ## CC just makes a GrossModule.
10890 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10891 reload_cmds
='$CC -r -o $output$reload_objs'
10895 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10896 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10899 runpath_var
='LD_RUN_PATH'
10900 hardcode_shlibpath_var
=no
10904 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10905 hardcode_shlibpath_var
=no
10906 export_dynamic_flag_spec
='-Bexport'
10910 if test -d /usr
/nec
; then
10911 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10912 hardcode_shlibpath_var
=no
10913 runpath_var
=LD_RUN_PATH
10914 hardcode_runpath_var
=yes
10919 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10920 no_undefined_flag
='${wl}-z,text'
10921 archive_cmds_need_lc
=no
10922 hardcode_shlibpath_var
=no
10923 runpath_var
='LD_RUN_PATH'
10925 if test "$GCC" = yes; then
10926 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10927 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10929 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10930 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10934 sysv5
* | sco3.2v5
* | sco5v6
*)
10935 # Note: We can NOT use -z defs as we might desire, because we do not
10936 # link with -lc, and that would cause any symbols used from libc to
10937 # always be unresolved, which means just about no library would
10938 # ever link correctly. If we're not using GNU ld we use -z text
10939 # though, which does catch some bad symbols but isn't as heavy-handed
10941 no_undefined_flag
='${wl}-z,text'
10942 allow_undefined_flag
='${wl}-z,nodefs'
10943 archive_cmds_need_lc
=no
10944 hardcode_shlibpath_var
=no
10945 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10946 hardcode_libdir_separator
=':'
10947 link_all_deplibs
=yes
10948 export_dynamic_flag_spec
='${wl}-Bexport'
10949 runpath_var
='LD_RUN_PATH'
10951 if test "$GCC" = yes; then
10952 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10953 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10955 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10956 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10961 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10962 hardcode_libdir_flag_spec
='-L$libdir'
10963 hardcode_shlibpath_var
=no
10971 if test x
$host_vendor = xsni
; then
10973 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10974 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10981 $as_echo "$ld_shlibs" >&6; }
10982 test "$ld_shlibs" = no
&& can_build_shared
=no
10984 with_gnu_ld
=$with_gnu_ld
11001 # Do we need to explicitly link libc?
11003 case "x$archive_cmds_need_lc" in
11005 # Assume -lc should be added
11006 archive_cmds_need_lc
=yes
11008 if test "$enable_shared" = yes && test "$GCC" = yes; then
11009 case $archive_cmds in
11011 # FIXME: we may have to deal with multi-command sequences.
11014 # Test whether the compiler implicitly links with -lc since on some
11015 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11016 # to ld, don't add -lc before -lgcc.
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11018 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11019 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
11020 $as_echo_n "(cached) " >&6
11023 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11025 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11026 (eval $ac_compile) 2>&5
11028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11029 test $ac_status = 0; } 2>conftest.err
; then
11032 libobjs
=conftest.
$ac_objext
11034 wl
=$lt_prog_compiler_wl
11035 pic_flag
=$lt_prog_compiler_pic
11041 lt_save_allow_undefined_flag
=$allow_undefined_flag
11042 allow_undefined_flag
=
11043 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11044 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11047 test $ac_status = 0; }
11049 lt_cv_archive_cmds_need_lc
=no
11051 lt_cv_archive_cmds_need_lc
=yes
11053 allow_undefined_flag
=$lt_save_allow_undefined_flag
11055 cat conftest.err
1>&5
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11061 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11062 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11226 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11228 if test "$GCC" = yes; then
11230 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11231 *) lt_awk_arg
="/^libraries:/" ;;
11234 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11235 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11237 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11238 case $lt_search_path_spec in
11240 # if the path contains ";" then we assume it to be the separator
11241 # otherwise default to the standard path separator (i.e. ":") - it is
11242 # assumed that no part of a normal pathname contains ";" but that should
11243 # okay in the real world where ";" in dirpaths is itself problematic.
11244 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11247 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11250 # Ok, now we have the path, separated by spaces, we can step through it
11251 # and add multilib dir if necessary.
11252 lt_tmp_lt_search_path_spec
=
11253 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11254 for lt_sys_path
in $lt_search_path_spec; do
11255 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11256 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11258 test -d "$lt_sys_path" && \
11259 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11262 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11263 BEGIN {RS=" "; FS="/|\n";} {
11266 for (lt_i = NF; lt_i > 0; lt_i--) {
11267 if ($lt_i != "" && $lt_i != ".") {
11268 if ($lt_i == "..") {
11271 if (lt_count == 0) {
11272 lt_foo="/" $lt_i lt_foo;
11279 if (lt_foo != "") { lt_freq[lt_foo]++; }
11280 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11282 # AWK program above erroneously prepends '/' to C:/dos/paths
11285 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11286 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11288 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11290 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11292 library_names_spec
=
11293 libname_spec
='lib$name'
11297 postuninstall_cmds
=
11301 shlibpath_overrides_runpath
=unknown
11303 dynamic_linker
="$host_os ld.so"
11304 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11305 need_lib_prefix
=unknown
11306 hardcode_into_libs
=no
11308 # when you set need_version to no, make sure it does not cause -set_version
11309 # flags to be left without arguments
11310 need_version
=unknown
11315 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11316 shlibpath_var
=LIBPATH
11318 # AIX 3 has no versioning support, so we append a major version to the name.
11319 soname_spec
='${libname}${release}${shared_ext}$major'
11326 hardcode_into_libs
=yes
11327 if test "$host_cpu" = ia64
; then
11328 # AIX 5 supports IA64
11329 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11330 shlibpath_var
=LD_LIBRARY_PATH
11332 # With GCC up to 2.95.x, collect2 would create an import file
11333 # for dependence libraries. The import file would start with
11334 # the line `#! .'. This would cause the generated library to
11335 # depend on `.', always an invalid library. This was fixed in
11336 # development snapshots of GCC prior to 3.0.
11338 aix4 | aix4.
[01] | aix4.
[01].
*)
11339 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11341 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11344 can_build_shared
=no
11348 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11349 # soname into executable. Probably we can add versioning support to
11350 # collect2, so additional links can be useful in future.
11351 if test "$aix_use_runtimelinking" = yes; then
11352 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11353 # instead of lib<name>.a to let people know that these are not
11354 # typical AIX shared libraries.
11355 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11357 # We preserve .a as extension for shared libraries through AIX4.2
11358 # and later when we are not doing run time linking.
11359 library_names_spec
='${libname}${release}.a $libname.a'
11360 soname_spec
='${libname}${release}${shared_ext}$major'
11362 shlibpath_var
=LIBPATH
11369 # Since July 2007 AmigaOS4 officially supports .so libraries.
11370 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11371 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11374 library_names_spec
='$libname.ixlibrary $libname.a'
11375 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11376 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'
11382 library_names_spec
='${libname}${shared_ext}'
11383 dynamic_linker
="$host_os ld.so"
11384 shlibpath_var
=LIBRARY_PATH
11390 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11391 soname_spec
='${libname}${release}${shared_ext}$major'
11392 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11393 shlibpath_var
=LD_LIBRARY_PATH
11394 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11395 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11396 # the default ld.so.conf also contains /usr/contrib/lib and
11397 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11398 # libtool to hard-code these into programs
11401 cygwin
* | mingw
* | pw32
* | cegcc
*)
11402 version_type
=windows
11407 case $GCC,$host_os in
11408 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11409 library_names_spec
='$libname.dll.a'
11410 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11411 postinstall_cmds
='base_file=`basename \${file}`~
11412 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11413 dldir=$destdir/`dirname \$dlpath`~
11414 test -d \$dldir || mkdir -p \$dldir~
11415 $install_prog $dir/$dlname \$dldir/$dlname~
11416 chmod a+x \$dldir/$dlname~
11417 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11418 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11420 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11421 dlpath=$dir/\$dldll~
11423 shlibpath_overrides_runpath
=yes
11427 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11428 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11430 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11433 # MinGW DLLs use traditional 'lib' prefix
11434 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11437 # pw32 DLLs use 'pw' prefix rather than 'lib'
11438 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11444 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11447 dynamic_linker
='Win32 ld.exe'
11448 # FIXME: first we should search . and the directory the executable is in
11452 darwin
* | rhapsody
*)
11453 dynamic_linker
="$host_os dyld"
11454 version_type
=darwin
11457 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11458 soname_spec
='${libname}${release}${major}$shared_ext'
11459 shlibpath_overrides_runpath
=yes
11460 shlibpath_var
=DYLD_LIBRARY_PATH
11461 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11463 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11464 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11471 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11472 soname_spec
='${libname}${release}${shared_ext}$major'
11473 shlibpath_var
=LD_LIBRARY_PATH
11476 freebsd
* | dragonfly
*)
11477 # DragonFly does not have aout. When/if they implement a new
11478 # versioning mechanism, adjust this.
11479 if test -x /usr
/bin
/objformat
; then
11480 objformat
=`/usr/bin/objformat`
11483 freebsd
[23].
*) objformat
=aout
;;
11484 *) objformat
=elf
;;
11487 version_type
=freebsd-
$objformat
11488 case $version_type in
11490 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11495 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11499 shlibpath_var
=LD_LIBRARY_PATH
11502 shlibpath_overrides_runpath
=yes
11504 freebsd3.
[01]* | freebsdelf3.
[01]*)
11505 shlibpath_overrides_runpath
=yes
11506 hardcode_into_libs
=yes
11508 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11509 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11510 shlibpath_overrides_runpath
=no
11511 hardcode_into_libs
=yes
11513 *) # from 4.6 on, and DragonFly
11514 shlibpath_overrides_runpath
=yes
11515 hardcode_into_libs
=yes
11524 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11525 soname_spec
='${libname}${release}${shared_ext}$major'
11526 shlibpath_var
=LD_LIBRARY_PATH
11527 hardcode_into_libs
=yes
11534 dynamic_linker
="$host_os runtime_loader"
11535 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11536 soname_spec
='${libname}${release}${shared_ext}$major'
11537 shlibpath_var
=LIBRARY_PATH
11538 shlibpath_overrides_runpath
=yes
11539 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11540 hardcode_into_libs
=yes
11543 hpux9
* | hpux10
* | hpux11
*)
11544 # Give a soname corresponding to the major version so that dld.sl refuses to
11545 # link against other versions.
11552 hardcode_into_libs
=yes
11553 dynamic_linker
="$host_os dld.so"
11554 shlibpath_var
=LD_LIBRARY_PATH
11555 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11556 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11557 soname_spec
='${libname}${release}${shared_ext}$major'
11558 if test "X$HPUX_IA64_MODE" = X32
; then
11559 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11561 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11563 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11567 hardcode_into_libs
=yes
11568 dynamic_linker
="$host_os dld.sl"
11569 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11570 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11571 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11572 soname_spec
='${libname}${release}${shared_ext}$major'
11573 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11574 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11578 dynamic_linker
="$host_os dld.sl"
11579 shlibpath_var
=SHLIB_PATH
11580 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11581 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11582 soname_spec
='${libname}${release}${shared_ext}$major'
11585 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11586 postinstall_cmds
='chmod 555 $lib'
11587 # or fails outright, so override atomically:
11588 install_override_mode
=555
11595 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11596 soname_spec
='${libname}${release}${shared_ext}$major'
11597 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11598 shlibpath_var
=LD_LIBRARY_PATH
11599 shlibpath_overrides_runpath
=no
11600 hardcode_into_libs
=yes
11603 irix5
* | irix6
* | nonstopux
*)
11605 nonstopux
*) version_type
=nonstopux
;;
11607 if test "$lt_cv_prog_gnu_ld" = yes; then
11615 soname_spec
='${libname}${release}${shared_ext}$major'
11616 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11618 irix5
* | nonstopux
*)
11619 libsuff
= shlibsuff
=
11622 case $LD in # libtool.m4 will add one of these switches to LD
11623 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11624 libsuff
= shlibsuff
= libmagic
=32-bit;;
11625 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11626 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11627 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11628 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11629 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11633 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11634 shlibpath_overrides_runpath
=no
11635 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11636 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11637 hardcode_into_libs
=yes
11640 # No shared lib support for Linux oldld, aout, or coff.
11641 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11645 # This must be Linux ELF.
11646 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11650 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11651 soname_spec
='${libname}${release}${shared_ext}$major'
11652 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11653 shlibpath_var
=LD_LIBRARY_PATH
11654 shlibpath_overrides_runpath
=no
11656 # Some binutils ld are patched to set DT_RUNPATH
11657 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11658 $as_echo_n "(cached) " >&6
11660 lt_cv_shlibpath_overrides_runpath
=no
11661 save_LDFLAGS
=$LDFLAGS
11662 save_libdir
=$libdir
11663 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11664 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11665 if test x
$gcc_no_link = xyes
; then
11666 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11669 /* end confdefs.h. */
11679 if ac_fn_c_try_link
"$LINENO"; then :
11680 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11681 lt_cv_shlibpath_overrides_runpath
=yes
11684 rm -f core conftest.err conftest.
$ac_objext \
11685 conftest
$ac_exeext conftest.
$ac_ext
11686 LDFLAGS
=$save_LDFLAGS
11687 libdir
=$save_libdir
11691 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11693 # This implies no fast_install, which is unacceptable.
11694 # Some rework will be needed to allow for fast_install
11695 # before this can be enabled.
11696 hardcode_into_libs
=yes
11698 # Append ld.so.conf contents to the search path
11699 if test -f /etc
/ld.so.conf
; then
11700 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' ' '`
11701 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11704 # We used to test for /lib/ld.so.1 and disable shared libraries on
11705 # powerpc, because MkLinux only supported shared libraries with the
11706 # GNU dynamic linker. Since this was broken with cross compilers,
11707 # most powerpc-linux boxes support dynamic linking these days and
11708 # people can always --disable-shared, the test was removed, and we
11709 # assume the GNU/Linux dynamic linker is in use.
11710 dynamic_linker
='GNU/Linux ld.so'
11717 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11718 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11719 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11720 dynamic_linker
='NetBSD (a.out) ld.so'
11722 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11723 soname_spec
='${libname}${release}${shared_ext}$major'
11724 dynamic_linker
='NetBSD ld.elf_so'
11726 shlibpath_var
=LD_LIBRARY_PATH
11727 shlibpath_overrides_runpath
=yes
11728 hardcode_into_libs
=yes
11733 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11734 shlibpath_var
=LD_LIBRARY_PATH
11735 shlibpath_overrides_runpath
=yes
11742 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11743 soname_spec
='${libname}${release}${shared_ext}$major'
11744 shlibpath_var
=LD_LIBRARY_PATH
11745 shlibpath_overrides_runpath
=no
11746 hardcode_into_libs
=yes
11747 dynamic_linker
='ldqnx.so'
11752 sys_lib_dlsearch_path_spec
="/usr/lib"
11754 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11756 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11757 *) need_version
=no
;;
11759 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11760 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11761 shlibpath_var
=LD_LIBRARY_PATH
11762 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11764 openbsd2.
[89] | openbsd2.
[89].
*)
11765 shlibpath_overrides_runpath
=no
11768 shlibpath_overrides_runpath
=yes
11772 shlibpath_overrides_runpath
=yes
11777 libname_spec
='$name'
11780 library_names_spec
='$libname${shared_ext} $libname.a'
11781 dynamic_linker
='OS/2 ld.exe'
11782 shlibpath_var
=LIBPATH
11785 osf3
* | osf4
* | osf5
*)
11789 soname_spec
='${libname}${release}${shared_ext}$major'
11790 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11791 shlibpath_var
=LD_LIBRARY_PATH
11792 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11793 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11804 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11805 soname_spec
='${libname}${release}${shared_ext}$major'
11806 shlibpath_var
=LD_LIBRARY_PATH
11807 shlibpath_overrides_runpath
=yes
11808 hardcode_into_libs
=yes
11809 # ldd complains unless libraries are executable
11810 postinstall_cmds
='chmod +x $lib'
11815 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11816 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11817 shlibpath_var
=LD_LIBRARY_PATH
11818 shlibpath_overrides_runpath
=yes
11819 if test "$with_gnu_ld" = yes; then
11827 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11828 soname_spec
='${libname}${release}${shared_ext}$major'
11829 shlibpath_var
=LD_LIBRARY_PATH
11830 case $host_vendor in
11832 shlibpath_overrides_runpath
=no
11834 runpath_var
=LD_RUN_PATH
11842 shlibpath_overrides_runpath
=no
11843 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11849 if test -d /usr
/nec
;then
11851 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11852 soname_spec
='$libname${shared_ext}.$major'
11853 shlibpath_var
=LD_LIBRARY_PATH
11857 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11858 version_type
=freebsd-elf
11861 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11862 soname_spec
='${libname}${release}${shared_ext}$major'
11863 shlibpath_var
=LD_LIBRARY_PATH
11864 shlibpath_overrides_runpath
=yes
11865 hardcode_into_libs
=yes
11866 if test "$with_gnu_ld" = yes; then
11867 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11869 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11872 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11876 sys_lib_dlsearch_path_spec
='/usr/lib'
11880 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11884 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11885 shlibpath_var
=LD_LIBRARY_PATH
11886 shlibpath_overrides_runpath
=no
11887 hardcode_into_libs
=yes
11892 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11893 soname_spec
='${libname}${release}${shared_ext}$major'
11894 shlibpath_var
=LD_LIBRARY_PATH
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11902 $as_echo "$dynamic_linker" >&6; }
11903 test "$dynamic_linker" = no
&& can_build_shared
=no
11905 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11906 if test "$GCC" = yes; then
11907 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11910 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11911 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11913 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11914 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12009 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12011 if test -n "$hardcode_libdir_flag_spec" ||
12012 test -n "$runpath_var" ||
12013 test "X$hardcode_automatic" = "Xyes" ; then
12015 # We can hardcode non-existent directories.
12016 if test "$hardcode_direct" != no
&&
12017 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12018 # have to relink, otherwise we might link with an installed library
12019 # when we should be linking with a yet-to-be-installed one
12020 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12021 test "$hardcode_minus_L" != no
; then
12022 # Linking always hardcodes the temporary library directory.
12023 hardcode_action
=relink
12025 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12026 hardcode_action
=immediate
12029 # We cannot hardcode anything, or else we can only hardcode existing
12031 hardcode_action
=unsupported
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12034 $as_echo "$hardcode_action" >&6; }
12036 if test "$hardcode_action" = relink ||
12037 test "$inherit_rpath" = yes; then
12038 # Fast installation is not supported
12039 enable_fast_install
=no
12040 elif test "$shlibpath_overrides_runpath" = yes ||
12041 test "$enable_shared" = no
; then
12042 # Fast installation is not necessary
12043 enable_fast_install
=needless
12051 if test "x$enable_dlopen" != xyes
; then
12052 enable_dlopen
=unknown
12053 enable_dlopen_self
=unknown
12054 enable_dlopen_self_static
=unknown
12061 lt_cv_dlopen
="load_add_on"
12063 lt_cv_dlopen_self
=yes
12066 mingw
* | pw32
* | cegcc
*)
12067 lt_cv_dlopen
="LoadLibrary"
12072 lt_cv_dlopen
="dlopen"
12077 # if libdl is installed we need to link against it
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12079 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12080 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12081 $as_echo_n "(cached) " >&6
12083 ac_check_lib_save_LIBS
=$LIBS
12085 if test x
$gcc_no_link = xyes
; then
12086 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12089 /* end confdefs.h. */
12091 /* Override any GCC internal prototype to avoid an error.
12092 Use char because int might match the return type of a GCC
12093 builtin and then its argument prototype would still apply. */
12106 if ac_fn_c_try_link
"$LINENO"; then :
12107 ac_cv_lib_dl_dlopen
=yes
12109 ac_cv_lib_dl_dlopen
=no
12111 rm -f core conftest.err conftest.
$ac_objext \
12112 conftest
$ac_exeext conftest.
$ac_ext
12113 LIBS
=$ac_check_lib_save_LIBS
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12116 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12117 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12118 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12121 lt_cv_dlopen
="dyld"
12123 lt_cv_dlopen_self
=yes
12130 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12131 if test "x$ac_cv_func_shl_load" = x
""yes; then :
12132 lt_cv_dlopen
="shl_load"
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12135 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12136 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12137 $as_echo_n "(cached) " >&6
12139 ac_check_lib_save_LIBS
=$LIBS
12141 if test x
$gcc_no_link = xyes
; then
12142 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12145 /* end confdefs.h. */
12147 /* Override any GCC internal prototype to avoid an error.
12148 Use char because int might match the return type of a GCC
12149 builtin and then its argument prototype would still apply. */
12157 return shl_load ();
12162 if ac_fn_c_try_link
"$LINENO"; then :
12163 ac_cv_lib_dld_shl_load
=yes
12165 ac_cv_lib_dld_shl_load
=no
12167 rm -f core conftest.err conftest.
$ac_objext \
12168 conftest
$ac_exeext conftest.
$ac_ext
12169 LIBS
=$ac_check_lib_save_LIBS
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12172 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12173 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
12174 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12176 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12177 if test "x$ac_cv_func_dlopen" = x
""yes; then :
12178 lt_cv_dlopen
="dlopen"
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12181 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12182 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12183 $as_echo_n "(cached) " >&6
12185 ac_check_lib_save_LIBS
=$LIBS
12187 if test x
$gcc_no_link = xyes
; then
12188 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12191 /* end confdefs.h. */
12193 /* Override any GCC internal prototype to avoid an error.
12194 Use char because int might match the return type of a GCC
12195 builtin and then its argument prototype would still apply. */
12208 if ac_fn_c_try_link
"$LINENO"; then :
12209 ac_cv_lib_dl_dlopen
=yes
12211 ac_cv_lib_dl_dlopen
=no
12213 rm -f core conftest.err conftest.
$ac_objext \
12214 conftest
$ac_exeext conftest.
$ac_ext
12215 LIBS
=$ac_check_lib_save_LIBS
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12218 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12219 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12220 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12223 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12224 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12225 $as_echo_n "(cached) " >&6
12227 ac_check_lib_save_LIBS
=$LIBS
12228 LIBS
="-lsvld $LIBS"
12229 if test x
$gcc_no_link = xyes
; then
12230 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12233 /* end confdefs.h. */
12235 /* Override any GCC internal prototype to avoid an error.
12236 Use char because int might match the return type of a GCC
12237 builtin and then its argument prototype would still apply. */
12250 if ac_fn_c_try_link
"$LINENO"; then :
12251 ac_cv_lib_svld_dlopen
=yes
12253 ac_cv_lib_svld_dlopen
=no
12255 rm -f core conftest.err conftest.
$ac_objext \
12256 conftest
$ac_exeext conftest.
$ac_ext
12257 LIBS
=$ac_check_lib_save_LIBS
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12260 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12261 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
12262 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12265 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12266 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12267 $as_echo_n "(cached) " >&6
12269 ac_check_lib_save_LIBS
=$LIBS
12271 if test x
$gcc_no_link = xyes
; then
12272 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12275 /* end confdefs.h. */
12277 /* Override any GCC internal prototype to avoid an error.
12278 Use char because int might match the return type of a GCC
12279 builtin and then its argument prototype would still apply. */
12287 return dld_link ();
12292 if ac_fn_c_try_link
"$LINENO"; then :
12293 ac_cv_lib_dld_dld_link
=yes
12295 ac_cv_lib_dld_dld_link
=no
12297 rm -f core conftest.err conftest.
$ac_objext \
12298 conftest
$ac_exeext conftest.
$ac_ext
12299 LIBS
=$ac_check_lib_save_LIBS
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12302 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12303 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
12304 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12325 if test "x$lt_cv_dlopen" != xno
; then
12331 case $lt_cv_dlopen in
12333 save_CPPFLAGS
="$CPPFLAGS"
12334 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12336 save_LDFLAGS
="$LDFLAGS"
12337 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12340 LIBS
="$lt_cv_dlopen_libs $LIBS"
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12343 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12344 if test "${lt_cv_dlopen_self+set}" = set; then :
12345 $as_echo_n "(cached) " >&6
12347 if test "$cross_compiling" = yes; then :
12348 lt_cv_dlopen_self
=cross
12350 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12351 lt_status
=$lt_dlunknown
12352 cat > conftest.
$ac_ext <<_LT_EOF
12353 #line 12353 "configure"
12354 #include "confdefs.h"
12363 # define LT_DLGLOBAL RTLD_GLOBAL
12366 # define LT_DLGLOBAL DL_GLOBAL
12368 # define LT_DLGLOBAL 0
12372 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12373 find out it does not work in some platform. */
12374 #ifndef LT_DLLAZY_OR_NOW
12376 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12379 # define LT_DLLAZY_OR_NOW DL_LAZY
12382 # define LT_DLLAZY_OR_NOW RTLD_NOW
12385 # define LT_DLLAZY_OR_NOW DL_NOW
12387 # define LT_DLLAZY_OR_NOW 0
12394 /* When -fvisbility=hidden is used, assume the code has been annotated
12395 correspondingly for the symbols needed. */
12396 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12397 void fnord () __attribute__((visibility("default")));
12400 void fnord () { int i=42; }
12403 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12404 int status = $lt_dlunknown;
12408 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12411 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12412 else puts (dlerror ());
12414 /* dlclose (self); */
12422 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12423 (eval $ac_link) 2>&5
12425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12426 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12427 (.
/conftest
; exit; ) >&5 2>/dev
/null
12429 case x
$lt_status in
12430 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12431 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12432 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12435 # compilation failed
12436 lt_cv_dlopen_self
=no
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12444 $as_echo "$lt_cv_dlopen_self" >&6; }
12446 if test "x$lt_cv_dlopen_self" = xyes
; then
12447 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12449 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12450 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12451 $as_echo_n "(cached) " >&6
12453 if test "$cross_compiling" = yes; then :
12454 lt_cv_dlopen_self_static
=cross
12456 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12457 lt_status
=$lt_dlunknown
12458 cat > conftest.
$ac_ext <<_LT_EOF
12459 #line 12459 "configure"
12460 #include "confdefs.h"
12469 # define LT_DLGLOBAL RTLD_GLOBAL
12472 # define LT_DLGLOBAL DL_GLOBAL
12474 # define LT_DLGLOBAL 0
12478 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12479 find out it does not work in some platform. */
12480 #ifndef LT_DLLAZY_OR_NOW
12482 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12485 # define LT_DLLAZY_OR_NOW DL_LAZY
12488 # define LT_DLLAZY_OR_NOW RTLD_NOW
12491 # define LT_DLLAZY_OR_NOW DL_NOW
12493 # define LT_DLLAZY_OR_NOW 0
12500 /* When -fvisbility=hidden is used, assume the code has been annotated
12501 correspondingly for the symbols needed. */
12502 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12503 void fnord () __attribute__((visibility("default")));
12506 void fnord () { int i=42; }
12509 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12510 int status = $lt_dlunknown;
12514 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12517 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12518 else puts (dlerror ());
12520 /* dlclose (self); */
12528 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12529 (eval $ac_link) 2>&5
12531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12532 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12533 (.
/conftest
; exit; ) >&5 2>/dev
/null
12535 case x
$lt_status in
12536 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12537 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12538 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12541 # compilation failed
12542 lt_cv_dlopen_self_static
=no
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12550 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12553 CPPFLAGS
="$save_CPPFLAGS"
12554 LDFLAGS
="$save_LDFLAGS"
12559 case $lt_cv_dlopen_self in
12560 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12561 *) enable_dlopen_self
=unknown
;;
12564 case $lt_cv_dlopen_self_static in
12565 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12566 *) enable_dlopen_self_static
=unknown
;;
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12589 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12590 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12591 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12592 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12594 $as_echo "yes" >&6; }
12596 # FIXME - insert some real tests, host_os isn't really good enough
12599 if test -n "$STRIP" ; then
12600 striplib
="$STRIP -x"
12601 old_striplib
="$STRIP -S"
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12603 $as_echo "yes" >&6; }
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12606 $as_echo "no" >&6; }
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12611 $as_echo "no" >&6; }
12627 # Report which library types will actually be built
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12629 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12631 $as_echo "$can_build_shared" >&6; }
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12634 $as_echo_n "checking whether to build shared libraries... " >&6; }
12635 test "$can_build_shared" = "no" && enable_shared
=no
12637 # On AIX, shared libraries and static libraries use the same namespace, and
12638 # are all built from PIC.
12641 test "$enable_shared" = yes && enable_static
=no
12642 if test -n "$RANLIB"; then
12643 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12644 postinstall_cmds
='$RANLIB $lib'
12649 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12650 test "$enable_shared" = yes && enable_static
=no
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12655 $as_echo "$enable_shared" >&6; }
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12658 $as_echo_n "checking whether to build static libraries... " >&6; }
12659 # Make sure either enable_shared or enable_static is yes.
12660 test "$enable_shared" = yes || enable_static
=yes
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12662 $as_echo "$enable_static" >&6; }
12669 ac_cpp
='$CPP $CPPFLAGS'
12670 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12671 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12672 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12688 ac_config_commands
="$ac_config_commands libtool"
12693 # Only expand once:
12700 *-cygwin* |
*-mingw*)
12701 # 'host' will be top-level target in the case of a target lib,
12702 # we must compare to with_cross_host to decide if this is a native
12703 # or cross-compiler and select where to install dlls appropriately.
12704 if test -n "$with_cross_host" &&
12705 test x
"$with_cross_host" != x
"no"; then
12706 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
12708 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
12720 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12722 # We need gfortran to compile parts of the library
12723 #AC_PROG_FC(gfortran)
12725 ac_ext
=${ac_fc_srcext-f}
12726 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12727 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12728 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
12729 if test -n "$ac_tool_prefix"; then
12730 for ac_prog
in gfortran
12732 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12733 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12735 $as_echo_n "checking for $ac_word... " >&6; }
12736 if test "${ac_cv_prog_FC+set}" = set; then :
12737 $as_echo_n "(cached) " >&6
12739 if test -n "$FC"; then
12740 ac_cv_prog_FC
="$FC" # Let the user override the test.
12742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12743 for as_dir
in $PATH
12746 test -z "$as_dir" && as_dir
=.
12747 for ac_exec_ext
in '' $ac_executable_extensions; do
12748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12749 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
12750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12760 if test -n "$FC"; then
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12762 $as_echo "$FC" >&6; }
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12765 $as_echo "no" >&6; }
12769 test -n "$FC" && break
12772 if test -z "$FC"; then
12774 for ac_prog
in gfortran
12776 # Extract the first word of "$ac_prog", so it can be a program name with args.
12777 set dummy
$ac_prog; ac_word
=$2
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12779 $as_echo_n "checking for $ac_word... " >&6; }
12780 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12781 $as_echo_n "(cached) " >&6
12783 if test -n "$ac_ct_FC"; then
12784 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
12786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12787 for as_dir
in $PATH
12790 test -z "$as_dir" && as_dir
=.
12791 for ac_exec_ext
in '' $ac_executable_extensions; do
12792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12793 ac_cv_prog_ac_ct_FC
="$ac_prog"
12794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12803 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
12804 if test -n "$ac_ct_FC"; then
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12806 $as_echo "$ac_ct_FC" >&6; }
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12809 $as_echo "no" >&6; }
12813 test -n "$ac_ct_FC" && break
12816 if test "x$ac_ct_FC" = x
; then
12819 case $cross_compiling:$ac_tool_warned in
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12823 ac_tool_warned
=yes ;;
12830 # Provide some information about the compiler.
12831 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12834 for ac_option
in --version -v -V -qversion; do
12835 { { ac_try
="$ac_compiler $ac_option >&5"
12836 case "(($ac_try" in
12837 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12838 *) ac_try_echo=$ac_try;;
12840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12841 $as_echo "$ac_try_echo"; } >&5
12842 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12844 if test -s conftest.err; then
12846 ... rest of stderr output deleted ...
12847 10q' conftest.err >conftest.er1
12848 cat conftest.er1 >&5
12849 rm -f conftest.er1 conftest.err
12851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12852 test $ac_status = 0; }
12856 # If we don't use `.F
' as extension, the preprocessor is not run on the
12857 # input file. (Note that this only needs to work for GNU compilers.)
12858 ac_save_ext=$ac_ext
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
12861 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
12862 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
12863 $as_echo_n "(cached) " >&6
12865 cat > conftest.$ac_ext <<_ACEOF
12873 if ac_fn_fc_try_compile "$LINENO"; then :
12874 ac_compiler_gnu=yes
12878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12879 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
12883 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
12884 ac_ext=$ac_save_ext
12885 ac_test_FCFLAGS=${FCFLAGS+set}
12886 ac_save_FCFLAGS=$FCFLAGS
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
12889 $as_echo_n "checking whether $FC accepts -g... " >&6; }
12890 if test "${ac_cv_prog_fc_g+set}" = set; then :
12891 $as_echo_n "(cached) " >&6
12894 cat > conftest.$ac_ext <<_ACEOF
12899 if ac_fn_fc_try_compile "$LINENO"; then :
12900 ac_cv_prog_fc_g=yes
12904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
12908 $as_echo "$ac_cv_prog_fc_g" >&6; }
12909 if test "$ac_test_FCFLAGS" = set; then
12910 FCFLAGS=$ac_save_FCFLAGS
12911 elif test $ac_cv_prog_fc_g = yes; then
12912 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12918 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12926 ac_cpp='$CPP $CPPFLAGS'
12927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
12928 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
12929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12931 ac_ext=${ac_fc_srcext-f}
12932 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
12933 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
12934 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12937 if test -z "$FC" || test "X$FC" = "Xno"; then
12941 archive_cmds_need_lc_FC=no
12942 allow_undefined_flag_FC=
12943 always_export_symbols_FC=no
12944 archive_expsym_cmds_FC=
12945 export_dynamic_flag_spec_FC=
12946 hardcode_direct_FC=no
12947 hardcode_direct_absolute_FC=no
12948 hardcode_libdir_flag_spec_FC=
12949 hardcode_libdir_flag_spec_ld_FC=
12950 hardcode_libdir_separator_FC=
12951 hardcode_minus_L_FC=no
12952 hardcode_automatic_FC=no
12953 inherit_rpath_FC=no
12955 module_expsym_cmds_FC=
12956 link_all_deplibs_FC=unknown
12957 old_archive_cmds_FC=$old_archive_cmds
12958 reload_flag_FC=$reload_flag
12959 reload_cmds_FC=$reload_cmds
12960 no_undefined_flag_FC=
12961 whole_archive_flag_spec_FC=
12962 enable_shared_with_static_runtimes_FC=no
12964 # Source file extension for fc test sources.
12965 ac_ext=${ac_fc_srcext-f}
12967 # Object file extension for compiled fc test sources.
12971 # No sense in running all these tests if we already determined that
12972 # the FC compiler isn't working. Some variables
(like enable_shared
)
12973 # are currently assumed to apply to all compilers on this platform,
12974 # and will be corrupted by setting them based on a non-working compiler.
12975 if test "$_lt_disable_FC" != yes; then
12976 # Code to be used in simple compile tests
12977 lt_simple_compile_test_code
="\
12983 # Code to be used in simple link tests
12984 lt_simple_link_test_code
="\
12989 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12996 # If no C compiler was specified, use CC.
12999 # If no C compiler flags were specified, use CFLAGS.
13000 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13002 # Allow CC to be a program name with arguments.
13006 # save warnings/boilerplate of simple test code
13007 ac_outfile
=conftest.
$ac_objext
13008 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13009 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13010 _lt_compiler_boilerplate
=`cat conftest.err`
13013 ac_outfile
=conftest.
$ac_objext
13014 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13015 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13016 _lt_linker_boilerplate
=`cat conftest.err`
13020 # Allow CC to be a program name with arguments.
13025 GCC
=$ac_cv_fc_compiler_gnu
13028 for cc_temp
in $compiler""; do
13030 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13031 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13036 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13039 if test -n "$compiler"; then
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13041 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13043 $as_echo "$can_build_shared" >&6; }
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13046 $as_echo_n "checking whether to build shared libraries... " >&6; }
13047 test "$can_build_shared" = "no" && enable_shared
=no
13049 # On AIX, shared libraries and static libraries use the same namespace, and
13050 # are all built from PIC.
13053 test "$enable_shared" = yes && enable_static
=no
13054 if test -n "$RANLIB"; then
13055 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13056 postinstall_cmds
='$RANLIB $lib'
13060 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13061 test "$enable_shared" = yes && enable_static
=no
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13066 $as_echo "$enable_shared" >&6; }
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13069 $as_echo_n "checking whether to build static libraries... " >&6; }
13070 # Make sure either enable_shared or enable_static is yes.
13071 test "$enable_shared" = yes || enable_static
=yes
13072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13073 $as_echo "$enable_static" >&6; }
13075 GCC_FC
="$ac_cv_fc_compiler_gnu"
13079 ## There is no encapsulation within the following macros, do not change
13080 ## the running order or otherwise move them around unless you know exactly
13081 ## what you are doing...
13082 # Dependencies to place before and after the object being linked:
13084 postdep_objects_FC
=
13087 compiler_lib_search_path_FC
=
13089 cat > conftest.
$ac_ext <<_LT_EOF
13098 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13099 (eval $ac_compile) 2>&5
13101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13102 test $ac_status = 0; }; then
13103 # Parse the compiler output and extract the necessary
13104 # objects, libraries and library flags.
13106 # Sentinel used to keep track of whether or not we are before
13107 # the conftest object file.
13108 pre_test_object_deps_done
=no
13110 for p
in `eval "$output_verbose_link_cmd"`; do
13114 # Some compilers place space between "-{L,R}" and the path.
13115 # Remove the space.
13116 if test $p = "-L" ||
13117 test $p = "-R"; then
13124 if test "$pre_test_object_deps_done" = no
; then
13127 # Internal compiler library paths should come after those
13128 # provided the user. The postdeps already come after the
13129 # user supplied libs so there is no need to process them.
13130 if test -z "$compiler_lib_search_path_FC"; then
13131 compiler_lib_search_path_FC
="${prev}${p}"
13133 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
13136 # The "-l" case would never come before the object being
13137 # linked, so don't bother handling this case.
13140 if test -z "$postdeps_FC"; then
13141 postdeps_FC
="${prev}${p}"
13143 postdeps_FC
="${postdeps_FC} ${prev}${p}"
13149 # This assumes that the test object file only shows up
13150 # once in the compiler output.
13151 if test "$p" = "conftest.$objext"; then
13152 pre_test_object_deps_done
=yes
13156 if test "$pre_test_object_deps_done" = no
; then
13157 if test -z "$predep_objects_FC"; then
13158 predep_objects_FC
="$p"
13160 predep_objects_FC
="$predep_objects_FC $p"
13163 if test -z "$postdep_objects_FC"; then
13164 postdep_objects_FC
="$p"
13166 postdep_objects_FC
="$postdep_objects_FC $p"
13171 *) ;; # Ignore the rest.
13179 echo "libtool.m4: error: problem compiling FC test program"
13182 $RM -f confest.
$objext
13184 # PORTME: override above test on systems where it is broken
13187 case " $postdeps_FC " in
13188 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
13190 compiler_lib_search_dirs_FC
=
13191 if test -n "${compiler_lib_search_path_FC}"; then
13192 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13225 lt_prog_compiler_wl_FC
=
13226 lt_prog_compiler_pic_FC
=
13227 lt_prog_compiler_static_FC
=
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13230 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13232 if test "$GCC" = yes; then
13233 lt_prog_compiler_wl_FC
='-Wl,'
13234 lt_prog_compiler_static_FC
='-static'
13238 # All AIX code is PIC.
13239 if test "$host_cpu" = ia64
; then
13240 # AIX 5 now supports IA64 processor
13241 lt_prog_compiler_static_FC
='-Bstatic'
13243 lt_prog_compiler_pic_FC
='-fPIC'
13249 # see comment about AmigaOS4 .so support
13250 lt_prog_compiler_pic_FC
='-fPIC'
13253 # FIXME: we need at least 68020 code to build shared libraries, but
13254 # adding the `-m68020' flag to GCC prevents building anything better,
13256 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
13261 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13262 # PIC is the default for these OSes.
13265 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13266 # This hack is so that the source file can tell whether it is being
13267 # built for inclusion in a dll (and should export symbols for example).
13268 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13269 # (--disable-auto-import) libraries
13270 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13273 darwin
* | rhapsody
*)
13274 # PIC is the default on this platform
13275 # Common symbols not allowed in MH_DYLIB files
13276 lt_prog_compiler_pic_FC
='-fno-common'
13280 # PIC is the default for Haiku.
13281 # The "-static" flag exists, but is broken.
13282 lt_prog_compiler_static_FC
=
13286 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13287 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13288 # sets the default TLS model and affects inlining.
13294 lt_prog_compiler_pic_FC
='-fPIC'
13300 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13301 # Instead, we relocate shared libraries at runtime.
13305 # Just because we use GCC doesn't mean we suddenly get shared libraries
13306 # on systems that don't support them.
13307 lt_prog_compiler_can_build_shared_FC
=no
13312 # QNX uses GNU C++, but need to define -shared option too, otherwise
13313 # it will coredump.
13314 lt_prog_compiler_pic_FC
='-fPIC -shared'
13318 if test -d /usr
/nec
; then
13319 lt_prog_compiler_pic_FC
=-Kconform_pic
13324 lt_prog_compiler_pic_FC
='-fPIC'
13328 case $cc_basename in
13329 nvcc
*) # Cuda Compiler Driver 2.2
13330 lt_prog_compiler_wl_FC
='-Xlinker '
13331 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
13335 # PORTME Check for flag to pass linker flags through the system compiler.
13338 lt_prog_compiler_wl_FC
='-Wl,'
13339 if test "$host_cpu" = ia64
; then
13340 # AIX 5 now supports IA64 processor
13341 lt_prog_compiler_static_FC
='-Bstatic'
13343 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
13347 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13348 # This hack is so that the source file can tell whether it is being
13349 # built for inclusion in a dll (and should export symbols for example).
13350 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13353 hpux9
* | hpux10
* | hpux11
*)
13354 lt_prog_compiler_wl_FC
='-Wl,'
13355 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13356 # not for PA HP-UX.
13362 lt_prog_compiler_pic_FC
='+Z'
13365 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13366 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
13369 irix5
* | irix6
* | nonstopux
*)
13370 lt_prog_compiler_wl_FC
='-Wl,'
13371 # PIC (with -KPIC) is the default.
13372 lt_prog_compiler_static_FC
='-non_shared'
13375 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13376 case $cc_basename in
13377 # old Intel for x86_64 which still supported -KPIC.
13379 lt_prog_compiler_wl_FC
='-Wl,'
13380 lt_prog_compiler_pic_FC
='-KPIC'
13381 lt_prog_compiler_static_FC
='-static'
13383 # icc used to be incompatible with GCC.
13384 # ICC 10 doesn't accept -KPIC any more.
13386 lt_prog_compiler_wl_FC
='-Wl,'
13387 lt_prog_compiler_pic_FC
='-fPIC'
13388 lt_prog_compiler_static_FC
='-static'
13390 # Lahey Fortran 8.1.
13392 lt_prog_compiler_wl_FC
='-Wl,'
13393 lt_prog_compiler_pic_FC
='--shared'
13394 lt_prog_compiler_static_FC
='--static'
13396 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13397 # Portland Group compilers (*not* the Pentium gcc compiler,
13398 # which looks to be a dead project)
13399 lt_prog_compiler_wl_FC
='-Wl,'
13400 lt_prog_compiler_pic_FC
='-fpic'
13401 lt_prog_compiler_static_FC
='-Bstatic'
13404 lt_prog_compiler_wl_FC
='-Wl,'
13405 # All Alpha code is PIC.
13406 lt_prog_compiler_static_FC
='-non_shared'
13408 xl
* | bgxl
* | bgf
* | mpixl
*)
13409 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13410 lt_prog_compiler_wl_FC
='-Wl,'
13411 lt_prog_compiler_pic_FC
='-qpic'
13412 lt_prog_compiler_static_FC
='-qstaticlink'
13415 case `$CC -V 2>&1 | sed 5q` in
13416 *Sun\ F
* |
*Sun
*Fortran
*)
13417 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13418 lt_prog_compiler_pic_FC
='-KPIC'
13419 lt_prog_compiler_static_FC
='-Bstatic'
13420 lt_prog_compiler_wl_FC
=''
13424 lt_prog_compiler_pic_FC
='-KPIC'
13425 lt_prog_compiler_static_FC
='-Bstatic'
13426 lt_prog_compiler_wl_FC
='-Wl,'
13434 lt_prog_compiler_pic_FC
='-KPIC'
13435 lt_prog_compiler_static_FC
='-Bstatic'
13439 # QNX uses GNU C++, but need to define -shared option too, otherwise
13440 # it will coredump.
13441 lt_prog_compiler_pic_FC
='-fPIC -shared'
13444 osf3
* | osf4
* | osf5
*)
13445 lt_prog_compiler_wl_FC
='-Wl,'
13446 # All OSF/1 code is PIC.
13447 lt_prog_compiler_static_FC
='-non_shared'
13451 lt_prog_compiler_static_FC
='-non_shared'
13455 lt_prog_compiler_pic_FC
='-KPIC'
13456 lt_prog_compiler_static_FC
='-Bstatic'
13457 case $cc_basename in
13458 f77
* | f90
* | f95
*)
13459 lt_prog_compiler_wl_FC
='-Qoption ld ';;
13461 lt_prog_compiler_wl_FC
='-Wl,';;
13466 lt_prog_compiler_wl_FC
='-Qoption ld '
13467 lt_prog_compiler_pic_FC
='-PIC'
13468 lt_prog_compiler_static_FC
='-Bstatic'
13471 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13472 lt_prog_compiler_wl_FC
='-Wl,'
13473 lt_prog_compiler_pic_FC
='-KPIC'
13474 lt_prog_compiler_static_FC
='-Bstatic'
13478 if test -d /usr
/nec
;then
13479 lt_prog_compiler_pic_FC
='-Kconform_pic'
13480 lt_prog_compiler_static_FC
='-Bstatic'
13484 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13485 lt_prog_compiler_wl_FC
='-Wl,'
13486 lt_prog_compiler_pic_FC
='-KPIC'
13487 lt_prog_compiler_static_FC
='-Bstatic'
13491 lt_prog_compiler_wl_FC
='-Wl,'
13492 lt_prog_compiler_can_build_shared_FC
=no
13496 lt_prog_compiler_pic_FC
='-pic'
13497 lt_prog_compiler_static_FC
='-Bstatic'
13501 lt_prog_compiler_can_build_shared_FC
=no
13507 # For platforms which do not support PIC, -DPIC is meaningless:
13509 lt_prog_compiler_pic_FC
=
13512 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13516 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13521 # Check to make sure the PIC flag actually works.
13523 if test -n "$lt_prog_compiler_pic_FC"; then
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13525 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13526 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13527 $as_echo_n "(cached) " >&6
13529 lt_cv_prog_compiler_pic_works_FC
=no
13530 ac_outfile
=conftest.
$ac_objext
13531 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13532 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
13533 # Insert the option either (1) after the last *FLAGS variable, or
13534 # (2) before a word containing "conftest.", or (3) at the end.
13535 # Note that $ac_compile itself does not contain backslashes and begins
13536 # with a dollar sign (not a hyphen), so the echo should work correctly.
13537 # The option is referenced via a variable to avoid confusing sed.
13538 lt_compile
=`echo "$ac_compile" | $SED \
13539 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13540 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13541 -e 's:$: $lt_compiler_flag:'`
13542 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13543 (eval "$lt_compile" 2>conftest.err
)
13545 cat conftest.err
>&5
13546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13547 if (exit $ac_status) && test -s "$ac_outfile"; then
13548 # The compiler can only warn and ignore the option if not recognized
13549 # So say no if there are warnings other than the usual output.
13550 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13551 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13552 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13553 lt_cv_prog_compiler_pic_works_FC
=yes
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13560 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13562 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
13563 case $lt_prog_compiler_pic_FC in
13565 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
13568 lt_prog_compiler_pic_FC
=
13569 lt_prog_compiler_can_build_shared_FC
=no
13577 # Check to make sure the static flag actually works.
13579 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13581 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13582 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13583 $as_echo_n "(cached) " >&6
13585 lt_cv_prog_compiler_static_works_FC
=no
13586 save_LDFLAGS
="$LDFLAGS"
13587 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13588 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13589 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13590 # The linker can only warn and ignore the option if not recognized
13591 # So say no if there are warnings
13592 if test -s conftest.err
; then
13593 # Append any errors to the config.log.
13594 cat conftest.err
1>&5
13595 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13596 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13597 if diff conftest.exp conftest.er2
>/dev
/null
; then
13598 lt_cv_prog_compiler_static_works_FC
=yes
13601 lt_cv_prog_compiler_static_works_FC
=yes
13605 LDFLAGS
="$save_LDFLAGS"
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13609 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13611 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
13614 lt_prog_compiler_static_FC
=
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13621 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13622 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13623 $as_echo_n "(cached) " >&6
13625 lt_cv_prog_compiler_c_o_FC
=no
13626 $RM -r conftest
2>/dev
/null
13630 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13632 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13633 # Insert the option either (1) after the last *FLAGS variable, or
13634 # (2) before a word containing "conftest.", or (3) at the end.
13635 # Note that $ac_compile itself does not contain backslashes and begins
13636 # with a dollar sign (not a hyphen), so the echo should work correctly.
13637 lt_compile
=`echo "$ac_compile" | $SED \
13638 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13639 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13640 -e 's:$: $lt_compiler_flag:'`
13641 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13642 (eval "$lt_compile" 2>out
/conftest.err
)
13644 cat out
/conftest.err
>&5
13645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13646 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13648 # The compiler can only warn and ignore the option if not recognized
13649 # So say no if there are warnings
13650 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13651 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13652 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13653 lt_cv_prog_compiler_c_o_FC
=yes
13658 # SGI C++ compiler will create directory out/ii_files/ for
13659 # template instantiation
13660 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13661 $RM out
/* && rmdir out
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13668 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13673 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13674 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13675 $as_echo_n "(cached) " >&6
13677 lt_cv_prog_compiler_c_o_FC
=no
13678 $RM -r conftest
2>/dev
/null
13682 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13684 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13685 # Insert the option either (1) after the last *FLAGS variable, or
13686 # (2) before a word containing "conftest.", or (3) at the end.
13687 # Note that $ac_compile itself does not contain backslashes and begins
13688 # with a dollar sign (not a hyphen), so the echo should work correctly.
13689 lt_compile
=`echo "$ac_compile" | $SED \
13690 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13691 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13692 -e 's:$: $lt_compiler_flag:'`
13693 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13694 (eval "$lt_compile" 2>out
/conftest.err
)
13696 cat out
/conftest.err
>&5
13697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13700 # The compiler can only warn and ignore the option if not recognized
13701 # So say no if there are warnings
13702 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13703 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13704 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13705 lt_cv_prog_compiler_c_o_FC
=yes
13710 # SGI C++ compiler will create directory out/ii_files/ for
13711 # template instantiation
13712 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13713 $RM out
/* && rmdir out
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13720 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13725 hard_links
="nottested"
13726 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
13727 # do not overwrite the value of need_locks provided by the user
13728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13729 $as_echo_n "checking if we can lock with hard links... " >&6; }
13732 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13734 ln conftest.a conftest.b
2>&5 || hard_links
=no
13735 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13737 $as_echo "$hard_links" >&6; }
13738 if test "$hard_links" = no
; then
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13740 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13750 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13753 allow_undefined_flag_FC
=
13754 always_export_symbols_FC
=no
13756 archive_expsym_cmds_FC
=
13757 compiler_needs_object_FC
=no
13758 enable_shared_with_static_runtimes_FC
=no
13759 export_dynamic_flag_spec_FC
=
13760 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13761 hardcode_automatic_FC
=no
13762 hardcode_direct_FC
=no
13763 hardcode_direct_absolute_FC
=no
13764 hardcode_libdir_flag_spec_FC
=
13765 hardcode_libdir_flag_spec_ld_FC
=
13766 hardcode_libdir_separator_FC
=
13767 hardcode_minus_L_FC
=no
13768 hardcode_shlibpath_var_FC
=unsupported
13769 inherit_rpath_FC
=no
13770 link_all_deplibs_FC
=unknown
13772 module_expsym_cmds_FC
=
13773 old_archive_from_new_cmds_FC
=
13774 old_archive_from_expsyms_cmds_FC
=
13775 thread_safe_flag_spec_FC
=
13776 whole_archive_flag_spec_FC
=
13777 # include_expsyms should be a list of space-separated symbols to be *always*
13778 # included in the symbol list
13779 include_expsyms_FC
=
13780 # exclude_expsyms can be an extended regexp of symbols to exclude
13781 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13782 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13783 # as well as any symbol that contains `d'.
13784 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13785 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13786 # platforms (ab)use it in PIC code, but their linkers get confused if
13787 # the symbol is explicitly referenced. Since portable code cannot
13788 # rely on this symbol name, it's probably fine to never include it in
13789 # preloaded symbol tables.
13790 # Exclude shared library initialization/finalization symbols.
13791 extract_expsyms_cmds
=
13794 cygwin
* | mingw
* | pw32
* | cegcc
*)
13795 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13796 # When not using gcc, we currently assume that we are using
13797 # Microsoft Visual C++.
13798 if test "$GCC" != yes; then
13803 # we just hope/assume this is gcc and not c89 (= MSVC++)
13813 # On some targets, GNU ld is compatible enough with the native linker
13814 # that we're better off using the native interface for both.
13815 lt_use_gnu_ld_interface
=no
13816 if test "$with_gnu_ld" = yes; then
13819 # The AIX port of GNU ld has always aspired to compatibility
13820 # with the native linker. However, as the warning in the GNU ld
13821 # block says, versions before 2.19.5* couldn't really create working
13822 # shared libraries, regardless of the interface used.
13823 case `$LD -v 2>&1` in
13824 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
13825 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
13826 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
13828 lt_use_gnu_ld_interface
=yes
13833 lt_use_gnu_ld_interface
=yes
13838 if test "$lt_use_gnu_ld_interface" = yes; then
13839 # If archive_cmds runs LD, not CC, wlarc should be empty
13842 # Set some defaults for GNU ld with shared library support. These
13843 # are reset later if shared libraries are not supported. Putting them
13844 # here allows them to be overridden if necessary.
13845 runpath_var
=LD_RUN_PATH
13846 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13847 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
13848 # ancient GNU ld didn't support --whole-archive et. al.
13849 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
13850 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13852 whole_archive_flag_spec_FC
=
13854 supports_anon_versioning
=no
13855 case `$LD -v 2>&1` in
13856 *GNU\ gold
*) supports_anon_versioning
=yes ;;
13857 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13858 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13859 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13860 *\
2.11.
*) ;; # other 2.11 versions
13861 *) supports_anon_versioning
=yes ;;
13864 # See if GNU ld supports shared libraries.
13867 # On AIX/PPC, the GNU linker is very broken
13868 if test "$host_cpu" != ia64
; then
13872 *** Warning: the GNU linker, at least up to release 2.19, is reported
13873 *** to be unable to reliably create shared libraries on AIX.
13874 *** Therefore, libtool is disabling shared libraries support. If you
13875 *** really care for shared libraries, you may want to install binutils
13876 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13877 *** You will then need to restart the configuration process.
13886 # see comment about AmigaOS4 .so support
13887 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13888 archive_expsym_cmds_FC
=''
13891 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)'
13892 hardcode_libdir_flag_spec_FC
='-L$libdir'
13893 hardcode_minus_L_FC
=yes
13899 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13900 allow_undefined_flag_FC
=unsupported
13901 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13902 # support --undefined. This deserves some investigation. FIXME
13903 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13909 cygwin
* | mingw
* | pw32
* | cegcc
*)
13910 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
13911 # as there is no search path for DLLs.
13912 hardcode_libdir_flag_spec_FC
='-L$libdir'
13913 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
13914 allow_undefined_flag_FC
=unsupported
13915 always_export_symbols_FC
=no
13916 enable_shared_with_static_runtimes_FC
=yes
13917 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13919 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13920 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13921 # If the export-symbols file already is a .def file (1st line
13922 # is EXPORTS), use it as is; otherwise, prepend...
13923 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13924 cp $export_symbols $output_objdir/$soname.def;
13926 echo EXPORTS > $output_objdir/$soname.def;
13927 cat $export_symbols >> $output_objdir/$soname.def;
13929 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13936 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13937 link_all_deplibs_FC
=yes
13941 hardcode_direct_FC
=no
13942 hardcode_shlibpath_var_FC
=no
13943 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13944 export_dynamic_flag_spec_FC
='${wl}-E'
13945 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13946 # Instead, shared libraries are loaded at an image base (0x10000000 by
13947 # default) and relocated if they conflict, which is a slow very memory
13948 # consuming and fragmenting process. To avoid this, we pick a random,
13949 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13950 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13951 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'
13952 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'
13955 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13957 if test "$host_os" = linux-dietlibc
; then
13958 case $cc_basename in
13959 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
13962 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
13963 && test "$tmp_diet" = no
13966 tmp_sharedflag
='-shared'
13967 case $cc_basename,$host_cpu in
13968 pgcc
*) # Portland Group C compiler
13969 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'
13970 tmp_addflag
=' $pic_flag'
13972 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13973 # Portland Group f77 and f90 compilers
13974 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'
13975 tmp_addflag
=' $pic_flag -Mnomain' ;;
13976 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
13977 tmp_addflag
=' -i_dynamic' ;;
13978 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
13979 tmp_addflag
=' -i_dynamic -nofor_main' ;;
13980 ifc
* | ifort
*) # Intel Fortran compiler
13981 tmp_addflag
=' -nofor_main' ;;
13982 lf95
*) # Lahey Fortran 8.1
13983 whole_archive_flag_spec_FC
=
13984 tmp_sharedflag
='--shared' ;;
13985 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13986 tmp_sharedflag
='-qmkshrobj'
13988 nvcc
*) # Cuda Compiler Driver 2.2
13989 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'
13990 compiler_needs_object_FC
=yes
13993 case `$CC -V 2>&1 | sed 5q` in
13994 *Sun\ C
*) # Sun C 5.9
13995 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'
13996 compiler_needs_object_FC
=yes
13997 tmp_sharedflag
='-G' ;;
13998 *Sun\ F
*) # Sun Fortran 8.3
13999 tmp_sharedflag
='-G' ;;
14001 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14003 if test "x$supports_anon_versioning" = xyes
; then
14004 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14005 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14006 echo "local: *; };" >> $output_objdir/$libname.ver~
14007 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14010 case $cc_basename in
14011 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
14012 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14013 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
14014 hardcode_libdir_flag_spec_FC
=
14015 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
14016 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14017 if test "x$supports_anon_versioning" = xyes
; then
14018 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14019 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14020 echo "local: *; };" >> $output_objdir/$libname.ver~
14021 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14031 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14032 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14035 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14036 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14041 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
14045 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14046 *** create shared libraries on Solaris systems. Therefore, libtool
14047 *** is disabling shared libraries support. We urge you to upgrade GNU
14048 *** binutils to release 2.9.1 or newer. Another option is to modify
14049 *** your PATH or compiler configuration so that the native linker is
14050 *** used, and then restart.
14053 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14054 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14055 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14061 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14062 case `$LD -v 2>&1` in
14063 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14067 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14068 *** reliably create shared libraries on SCO systems. Therefore, libtool
14069 *** is disabling shared libraries support. We urge you to upgrade GNU
14070 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14071 *** your PATH or compiler configuration so that the native linker is
14072 *** used, and then restart.
14077 # For security reasons, it is highly recommended that you always
14078 # use absolute paths for naming shared libraries, and exclude the
14079 # DT_RUNPATH tag from executables and libraries. But doing so
14080 # requires that you compile everything twice, which is a pain.
14081 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14082 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14083 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14084 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14093 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14095 hardcode_direct_FC
=yes
14096 hardcode_shlibpath_var_FC
=no
14100 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14101 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14102 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14109 if test "$ld_shlibs_FC" = no
; then
14111 hardcode_libdir_flag_spec_FC
=
14112 export_dynamic_flag_spec_FC
=
14113 whole_archive_flag_spec_FC
=
14116 # PORTME fill in a description of your system's linker (not GNU ld)
14119 allow_undefined_flag_FC
=unsupported
14120 always_export_symbols_FC
=yes
14121 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'
14122 # Note: this linker hardcodes the directories in LIBPATH if there
14123 # are no directories specified by -L.
14124 hardcode_minus_L_FC
=yes
14125 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14126 # Neither direct hardcoding nor static linking is supported with a
14128 hardcode_direct_FC
=unsupported
14133 if test "$host_cpu" = ia64
; then
14134 # On IA64, the linker does run time linking by default, so we don't
14135 # have to do anything special.
14136 aix_use_runtimelinking
=no
14137 exp_sym_flag
='-Bexport'
14140 # If we're using GNU nm, then we don't want the "-C" option.
14141 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14142 # Also, AIX nm treats weak defined symbols like other global
14143 # defined symbols, whereas GNU nm marks them as "W".
14144 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14145 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'
14147 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'
14149 aix_use_runtimelinking
=no
14151 # Test if we are trying to use run time linking or normal
14152 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14153 # need to do runtime linking.
14154 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14155 for ld_flag
in $LDFLAGS; do
14156 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14157 aix_use_runtimelinking
=yes
14164 exp_sym_flag
='-bexport'
14165 no_entry_flag
='-bnoentry'
14168 # When large executables or shared objects are built, AIX ld can
14169 # have problems creating the table of contents. If linking a library
14170 # or program results in "error TOC overflow" add -mminimal-toc to
14171 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14172 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14175 hardcode_direct_FC
=yes
14176 hardcode_direct_absolute_FC
=yes
14177 hardcode_libdir_separator_FC
=':'
14178 link_all_deplibs_FC
=yes
14179 file_list_spec_FC
='${wl}-f,'
14181 if test "$GCC" = yes; then
14182 case $host_os in aix4.
[012]|aix4.
[012].
*)
14183 # We only want to do this on AIX 4.2 and lower, the check
14184 # below for broken collect2 doesn't work under 4.3+
14185 collect2name
=`${CC} -print-prog-name=collect2`
14186 if test -f "$collect2name" &&
14187 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14189 # We have reworked collect2
14192 # We have old collect2
14193 hardcode_direct_FC
=unsupported
14194 # It fails to find uninstalled libraries when the uninstalled
14195 # path is not listed in the libpath. Setting hardcode_minus_L
14196 # to unsupported forces relinking
14197 hardcode_minus_L_FC
=yes
14198 hardcode_libdir_flag_spec_FC
='-L$libdir'
14199 hardcode_libdir_separator_FC
=
14203 shared_flag
='-shared'
14204 if test "$aix_use_runtimelinking" = yes; then
14205 shared_flag
="$shared_flag "'${wl}-G'
14209 if test "$host_cpu" = ia64
; then
14210 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14211 # chokes on -Wl,-G. The following line is correct:
14214 if test "$aix_use_runtimelinking" = yes; then
14215 shared_flag
='${wl}-G'
14217 shared_flag
='${wl}-bM:SRE'
14222 export_dynamic_flag_spec_FC
='${wl}-bexpall'
14223 # It seems that -bexpall does not export symbols beginning with
14224 # underscore (_), so it is better to generate a list of symbols to export.
14225 always_export_symbols_FC
=yes
14226 if test "$aix_use_runtimelinking" = yes; then
14227 # Warning - without using the other runtime loading flags (-brtl),
14228 # -berok will link without error, but may produce a broken library.
14229 allow_undefined_flag_FC
='-berok'
14230 # Determine the default libpath from the value encoded in an
14231 # empty executable.
14232 if test x
$gcc_no_link = xyes
; then
14233 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14235 cat > conftest.
$ac_ext <<_ACEOF
14240 if ac_fn_fc_try_link
"$LINENO"; then :
14242 lt_aix_libpath_sed
='
14243 /Import File Strings/,/^$/ {
14249 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14250 # Check for a 64-bit object if we didn't find anything.
14251 if test -z "$aix_libpath"; then
14252 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14255 rm -f core conftest.err conftest.
$ac_objext \
14256 conftest
$ac_exeext conftest.
$ac_ext
14257 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14259 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14260 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"
14262 if test "$host_cpu" = ia64
; then
14263 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
14264 allow_undefined_flag_FC
="-z nodefs"
14265 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"
14267 # Determine the default libpath from the value encoded in an
14268 # empty executable.
14269 if test x
$gcc_no_link = xyes
; then
14270 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14272 cat > conftest.
$ac_ext <<_ACEOF
14277 if ac_fn_fc_try_link
"$LINENO"; then :
14279 lt_aix_libpath_sed
='
14280 /Import File Strings/,/^$/ {
14286 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14287 # Check for a 64-bit object if we didn't find anything.
14288 if test -z "$aix_libpath"; then
14289 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14292 rm -f core conftest.err conftest.
$ac_objext \
14293 conftest
$ac_exeext conftest.
$ac_ext
14294 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14296 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14297 # Warning - without using the other run time loading flags,
14298 # -berok will link without error, but may produce a broken library.
14299 no_undefined_flag_FC
=' ${wl}-bernotok'
14300 allow_undefined_flag_FC
=' ${wl}-berok'
14301 if test "$with_gnu_ld" = yes; then
14302 # We only use this code for GNU lds that support --whole-archive.
14303 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14305 # Exported symbols can be pulled into shared objects from archives
14306 whole_archive_flag_spec_FC
='$convenience'
14308 archive_cmds_need_lc_FC
=yes
14309 # This is similar to how AIX traditionally builds its shared libraries.
14310 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'
14318 # see comment about AmigaOS4 .so support
14319 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14320 archive_expsym_cmds_FC
=''
14323 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)'
14324 hardcode_libdir_flag_spec_FC
='-L$libdir'
14325 hardcode_minus_L_FC
=yes
14331 export_dynamic_flag_spec_FC
=-rdynamic
14334 cygwin
* | mingw
* | pw32
* | cegcc
*)
14335 # When not using gcc, we currently assume that we are using
14336 # Microsoft Visual C++.
14337 # hardcode_libdir_flag_spec is actually meaningless, as there is
14338 # no search path for DLLs.
14339 hardcode_libdir_flag_spec_FC
=' '
14340 allow_undefined_flag_FC
=unsupported
14341 # Tell ltmain to make .lib files, not .a files.
14343 # Tell ltmain to make .dll files, not .so files.
14345 # FIXME: Setting linknames here is a bad hack.
14346 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14347 # The linker will automatically build a .lib file if we build a DLL.
14348 old_archive_from_new_cmds_FC
='true'
14349 # FIXME: Should let the user specify the lib program.
14350 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14351 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
14352 enable_shared_with_static_runtimes_FC
=yes
14355 darwin
* | rhapsody
*)
14358 archive_cmds_need_lc_FC
=no
14359 hardcode_direct_FC
=no
14360 hardcode_automatic_FC
=yes
14361 hardcode_shlibpath_var_FC
=unsupported
14362 if test "$lt_cv_ld_force_load" = "yes"; then
14363 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\"`'
14365 whole_archive_flag_spec_FC
=''
14367 link_all_deplibs_FC
=yes
14368 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
14369 case $cc_basename in
14370 ifort
*) _lt_dar_can_shared
=yes ;;
14371 *) _lt_dar_can_shared
=$GCC ;;
14373 if test "$_lt_dar_can_shared" = "yes"; then
14374 output_verbose_link_cmd
=func_echo_all
14375 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}"
14376 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14377 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}"
14378 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}"
14387 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14388 hardcode_libdir_flag_spec_FC
='-L$libdir'
14389 hardcode_shlibpath_var_FC
=no
14392 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14393 # support. Future versions do this automatically, but an explicit c++rt0.o
14394 # does not break anything, and helps significantly (at the cost of a little
14397 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14398 hardcode_libdir_flag_spec_FC
='-R$libdir'
14399 hardcode_direct_FC
=yes
14400 hardcode_shlibpath_var_FC
=no
14403 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14405 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14406 hardcode_direct_FC
=yes
14407 hardcode_minus_L_FC
=yes
14408 hardcode_shlibpath_var_FC
=no
14411 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14412 freebsd
* | dragonfly
*)
14413 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14414 hardcode_libdir_flag_spec_FC
='-R$libdir'
14415 hardcode_direct_FC
=yes
14416 hardcode_shlibpath_var_FC
=no
14420 if test "$GCC" = yes; then
14421 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'
14423 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'
14425 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14426 hardcode_libdir_separator_FC
=:
14427 hardcode_direct_FC
=yes
14429 # hardcode_minus_L: Not really in the search PATH,
14430 # but as the default location of the library.
14431 hardcode_minus_L_FC
=yes
14432 export_dynamic_flag_spec_FC
='${wl}-E'
14436 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14437 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14439 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14441 if test "$with_gnu_ld" = no
; then
14442 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14443 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
14444 hardcode_libdir_separator_FC
=:
14445 hardcode_direct_FC
=yes
14446 hardcode_direct_absolute_FC
=yes
14447 export_dynamic_flag_spec_FC
='${wl}-E'
14448 # hardcode_minus_L: Not really in the search PATH,
14449 # but as the default location of the library.
14450 hardcode_minus_L_FC
=yes
14455 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14458 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14461 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14464 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14470 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14473 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14476 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14480 if test "$with_gnu_ld" = no
; then
14481 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14482 hardcode_libdir_separator_FC
=:
14486 hardcode_direct_FC
=no
14487 hardcode_shlibpath_var_FC
=no
14490 hardcode_direct_FC
=yes
14491 hardcode_direct_absolute_FC
=yes
14492 export_dynamic_flag_spec_FC
='${wl}-E'
14494 # hardcode_minus_L: Not really in the search PATH,
14495 # but as the default location of the library.
14496 hardcode_minus_L_FC
=yes
14502 irix5
* | irix6
* | nonstopux
*)
14503 if test "$GCC" = yes; then
14504 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'
14505 # Try to use the -exported_symbol ld option, if it does not
14506 # work, assume that -exports_file does not work either and
14507 # implicitly export all symbols.
14508 save_LDFLAGS
="$LDFLAGS"
14509 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14510 if test x
$gcc_no_link = xyes
; then
14511 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14513 cat > conftest.
$ac_ext <<_ACEOF
14516 if ac_fn_fc_try_link
"$LINENO"; then :
14517 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'
14520 rm -f core conftest.err conftest.
$ac_objext \
14521 conftest
$ac_exeext conftest.
$ac_ext
14522 LDFLAGS
="$save_LDFLAGS"
14524 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'
14525 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'
14527 archive_cmds_need_lc_FC
='no'
14528 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14529 hardcode_libdir_separator_FC
=:
14530 inherit_rpath_FC
=yes
14531 link_all_deplibs_FC
=yes
14535 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14536 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14538 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14540 hardcode_libdir_flag_spec_FC
='-R$libdir'
14541 hardcode_direct_FC
=yes
14542 hardcode_shlibpath_var_FC
=no
14546 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14547 hardcode_direct_FC
=yes
14548 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14549 hardcode_libdir_separator_FC
=:
14550 hardcode_shlibpath_var_FC
=no
14557 if test -f /usr
/libexec
/ld.so
; then
14558 hardcode_direct_FC
=yes
14559 hardcode_shlibpath_var_FC
=no
14560 hardcode_direct_absolute_FC
=yes
14561 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14562 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14563 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14564 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14565 export_dynamic_flag_spec_FC
='${wl}-E'
14568 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14569 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14570 hardcode_libdir_flag_spec_FC
='-R$libdir'
14573 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14574 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14584 hardcode_libdir_flag_spec_FC
='-L$libdir'
14585 hardcode_minus_L_FC
=yes
14586 allow_undefined_flag_FC
=unsupported
14587 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'
14588 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14592 if test "$GCC" = yes; then
14593 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14594 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'
14596 allow_undefined_flag_FC
=' -expect_unresolved \*'
14597 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'
14599 archive_cmds_need_lc_FC
='no'
14600 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14601 hardcode_libdir_separator_FC
=:
14604 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14605 if test "$GCC" = yes; then
14606 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14607 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'
14608 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14610 allow_undefined_flag_FC
=' -expect_unresolved \*'
14611 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'
14612 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~
14613 $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'
14615 # Both c and cxx compiler support -rpath directly
14616 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
14618 archive_cmds_need_lc_FC
='no'
14619 hardcode_libdir_separator_FC
=:
14623 no_undefined_flag_FC
=' -z defs'
14624 if test "$GCC" = yes; then
14626 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14627 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14628 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14630 case `$CC -V 2>&1` in
14633 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14634 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14635 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14639 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14640 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14641 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14645 hardcode_libdir_flag_spec_FC
='-R$libdir'
14646 hardcode_shlibpath_var_FC
=no
14648 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14650 # The compiler driver will combine and reorder linker options,
14651 # but understands `-z linker_flag'. GCC discards it without `$wl',
14652 # but is careful enough not to reorder.
14653 # Supported since Solaris 2.6 (maybe 2.5.1?)
14654 if test "$GCC" = yes; then
14655 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14657 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
14661 link_all_deplibs_FC
=yes
14665 if test "x$host_vendor" = xsequent
; then
14666 # Use $CC to link under sequent, because it throws in some extra .o
14667 # files that make .init and .fini sections work.
14668 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14670 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14672 hardcode_libdir_flag_spec_FC
='-L$libdir'
14673 hardcode_direct_FC
=yes
14674 hardcode_minus_L_FC
=yes
14675 hardcode_shlibpath_var_FC
=no
14679 case $host_vendor in
14681 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14682 hardcode_direct_FC
=yes # is this really true???
14685 ## LD is ld it makes a PLAMLIB
14686 ## CC just makes a GrossModule.
14687 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14688 reload_cmds_FC
='$CC -r -o $output$reload_objs'
14689 hardcode_direct_FC
=no
14692 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14693 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
14696 runpath_var
='LD_RUN_PATH'
14697 hardcode_shlibpath_var_FC
=no
14701 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14702 hardcode_shlibpath_var_FC
=no
14703 export_dynamic_flag_spec_FC
='-Bexport'
14707 if test -d /usr
/nec
; then
14708 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14709 hardcode_shlibpath_var_FC
=no
14710 runpath_var
=LD_RUN_PATH
14711 hardcode_runpath_var
=yes
14716 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14717 no_undefined_flag_FC
='${wl}-z,text'
14718 archive_cmds_need_lc_FC
=no
14719 hardcode_shlibpath_var_FC
=no
14720 runpath_var
='LD_RUN_PATH'
14722 if test "$GCC" = yes; then
14723 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14724 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14726 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14727 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14731 sysv5
* | sco3.2v5
* | sco5v6
*)
14732 # Note: We can NOT use -z defs as we might desire, because we do not
14733 # link with -lc, and that would cause any symbols used from libc to
14734 # always be unresolved, which means just about no library would
14735 # ever link correctly. If we're not using GNU ld we use -z text
14736 # though, which does catch some bad symbols but isn't as heavy-handed
14738 no_undefined_flag_FC
='${wl}-z,text'
14739 allow_undefined_flag_FC
='${wl}-z,nodefs'
14740 archive_cmds_need_lc_FC
=no
14741 hardcode_shlibpath_var_FC
=no
14742 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
14743 hardcode_libdir_separator_FC
=':'
14744 link_all_deplibs_FC
=yes
14745 export_dynamic_flag_spec_FC
='${wl}-Bexport'
14746 runpath_var
='LD_RUN_PATH'
14748 if test "$GCC" = yes; then
14749 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14750 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14752 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14753 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14758 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14759 hardcode_libdir_flag_spec_FC
='-L$libdir'
14760 hardcode_shlibpath_var_FC
=no
14768 if test x
$host_vendor = xsni
; then
14770 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
14771 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
14777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14778 $as_echo "$ld_shlibs_FC" >&6; }
14779 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
14781 with_gnu_ld_FC
=$with_gnu_ld
14789 # Do we need to explicitly link libc?
14791 case "x$archive_cmds_need_lc_FC" in
14793 # Assume -lc should be added
14794 archive_cmds_need_lc_FC
=yes
14796 if test "$enable_shared" = yes && test "$GCC" = yes; then
14797 case $archive_cmds_FC in
14799 # FIXME: we may have to deal with multi-command sequences.
14802 # Test whether the compiler implicitly links with -lc since on some
14803 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14804 # to ld, don't add -lc before -lgcc.
14805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14806 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14807 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14808 $as_echo_n "(cached) " >&6
14811 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14813 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14814 (eval $ac_compile) 2>&5
14816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14817 test $ac_status = 0; } 2>conftest.err
; then
14820 libobjs
=conftest.
$ac_objext
14822 wl
=$lt_prog_compiler_wl_FC
14823 pic_flag
=$lt_prog_compiler_pic_FC
14829 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
14830 allow_undefined_flag_FC
=
14831 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14832 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14835 test $ac_status = 0; }
14837 lt_cv_archive_cmds_need_lc_FC
=no
14839 lt_cv_archive_cmds_need_lc_FC
=yes
14841 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
14843 cat conftest.err
1>&5
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14849 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14850 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14921 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14923 library_names_spec
=
14924 libname_spec
='lib$name'
14928 postuninstall_cmds
=
14932 shlibpath_overrides_runpath
=unknown
14934 dynamic_linker
="$host_os ld.so"
14935 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14936 need_lib_prefix
=unknown
14937 hardcode_into_libs
=no
14939 # when you set need_version to no, make sure it does not cause -set_version
14940 # flags to be left without arguments
14941 need_version
=unknown
14946 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14947 shlibpath_var
=LIBPATH
14949 # AIX 3 has no versioning support, so we append a major version to the name.
14950 soname_spec
='${libname}${release}${shared_ext}$major'
14957 hardcode_into_libs
=yes
14958 if test "$host_cpu" = ia64
; then
14959 # AIX 5 supports IA64
14960 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14961 shlibpath_var
=LD_LIBRARY_PATH
14963 # With GCC up to 2.95.x, collect2 would create an import file
14964 # for dependence libraries. The import file would start with
14965 # the line `#! .'. This would cause the generated library to
14966 # depend on `.', always an invalid library. This was fixed in
14967 # development snapshots of GCC prior to 3.0.
14969 aix4 | aix4.
[01] | aix4.
[01].
*)
14970 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14972 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14975 can_build_shared
=no
14979 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14980 # soname into executable. Probably we can add versioning support to
14981 # collect2, so additional links can be useful in future.
14982 if test "$aix_use_runtimelinking" = yes; then
14983 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14984 # instead of lib<name>.a to let people know that these are not
14985 # typical AIX shared libraries.
14986 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14988 # We preserve .a as extension for shared libraries through AIX4.2
14989 # and later when we are not doing run time linking.
14990 library_names_spec
='${libname}${release}.a $libname.a'
14991 soname_spec
='${libname}${release}${shared_ext}$major'
14993 shlibpath_var
=LIBPATH
15000 # Since July 2007 AmigaOS4 officially supports .so libraries.
15001 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15002 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15005 library_names_spec
='$libname.ixlibrary $libname.a'
15006 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15007 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'
15013 library_names_spec
='${libname}${shared_ext}'
15014 dynamic_linker
="$host_os ld.so"
15015 shlibpath_var
=LIBRARY_PATH
15021 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15022 soname_spec
='${libname}${release}${shared_ext}$major'
15023 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15024 shlibpath_var
=LD_LIBRARY_PATH
15025 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15026 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15027 # the default ld.so.conf also contains /usr/contrib/lib and
15028 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15029 # libtool to hard-code these into programs
15032 cygwin
* | mingw
* | pw32
* | cegcc
*)
15033 version_type
=windows
15038 case $GCC,$host_os in
15039 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15040 library_names_spec
='$libname.dll.a'
15041 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15042 postinstall_cmds
='base_file=`basename \${file}`~
15043 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15044 dldir=$destdir/`dirname \$dlpath`~
15045 test -d \$dldir || mkdir -p \$dldir~
15046 $install_prog $dir/$dlname \$dldir/$dlname~
15047 chmod a+x \$dldir/$dlname~
15048 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15049 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15051 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15052 dlpath=$dir/\$dldll~
15054 shlibpath_overrides_runpath
=yes
15058 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15059 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15063 # MinGW DLLs use traditional 'lib' prefix
15064 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15067 # pw32 DLLs use 'pw' prefix rather than 'lib'
15068 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15074 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15077 dynamic_linker
='Win32 ld.exe'
15078 # FIXME: first we should search . and the directory the executable is in
15082 darwin
* | rhapsody
*)
15083 dynamic_linker
="$host_os dyld"
15084 version_type
=darwin
15087 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15088 soname_spec
='${libname}${release}${major}$shared_ext'
15089 shlibpath_overrides_runpath
=yes
15090 shlibpath_var
=DYLD_LIBRARY_PATH
15091 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15093 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15100 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15101 soname_spec
='${libname}${release}${shared_ext}$major'
15102 shlibpath_var
=LD_LIBRARY_PATH
15105 freebsd
* | dragonfly
*)
15106 # DragonFly does not have aout. When/if they implement a new
15107 # versioning mechanism, adjust this.
15108 if test -x /usr
/bin
/objformat
; then
15109 objformat
=`/usr/bin/objformat`
15112 freebsd
[23].
*) objformat
=aout
;;
15113 *) objformat
=elf
;;
15116 version_type
=freebsd-
$objformat
15117 case $version_type in
15119 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15124 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15128 shlibpath_var
=LD_LIBRARY_PATH
15131 shlibpath_overrides_runpath
=yes
15133 freebsd3.
[01]* | freebsdelf3.
[01]*)
15134 shlibpath_overrides_runpath
=yes
15135 hardcode_into_libs
=yes
15137 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15138 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15139 shlibpath_overrides_runpath
=no
15140 hardcode_into_libs
=yes
15142 *) # from 4.6 on, and DragonFly
15143 shlibpath_overrides_runpath
=yes
15144 hardcode_into_libs
=yes
15153 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15154 soname_spec
='${libname}${release}${shared_ext}$major'
15155 shlibpath_var
=LD_LIBRARY_PATH
15156 hardcode_into_libs
=yes
15163 dynamic_linker
="$host_os runtime_loader"
15164 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15165 soname_spec
='${libname}${release}${shared_ext}$major'
15166 shlibpath_var
=LIBRARY_PATH
15167 shlibpath_overrides_runpath
=yes
15168 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15169 hardcode_into_libs
=yes
15172 hpux9
* | hpux10
* | hpux11
*)
15173 # Give a soname corresponding to the major version so that dld.sl refuses to
15174 # link against other versions.
15181 hardcode_into_libs
=yes
15182 dynamic_linker
="$host_os dld.so"
15183 shlibpath_var
=LD_LIBRARY_PATH
15184 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15185 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15186 soname_spec
='${libname}${release}${shared_ext}$major'
15187 if test "X$HPUX_IA64_MODE" = X32
; then
15188 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15190 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15192 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15196 hardcode_into_libs
=yes
15197 dynamic_linker
="$host_os dld.sl"
15198 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15199 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15201 soname_spec
='${libname}${release}${shared_ext}$major'
15202 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15203 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15207 dynamic_linker
="$host_os dld.sl"
15208 shlibpath_var
=SHLIB_PATH
15209 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15210 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15211 soname_spec
='${libname}${release}${shared_ext}$major'
15214 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15215 postinstall_cmds
='chmod 555 $lib'
15216 # or fails outright, so override atomically:
15217 install_override_mode
=555
15224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15225 soname_spec
='${libname}${release}${shared_ext}$major'
15226 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15227 shlibpath_var
=LD_LIBRARY_PATH
15228 shlibpath_overrides_runpath
=no
15229 hardcode_into_libs
=yes
15232 irix5
* | irix6
* | nonstopux
*)
15234 nonstopux
*) version_type
=nonstopux
;;
15236 if test "$lt_cv_prog_gnu_ld" = yes; then
15244 soname_spec
='${libname}${release}${shared_ext}$major'
15245 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15247 irix5
* | nonstopux
*)
15248 libsuff
= shlibsuff
=
15251 case $LD in # libtool.m4 will add one of these switches to LD
15252 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15253 libsuff
= shlibsuff
= libmagic
=32-bit;;
15254 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15255 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15256 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15257 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15258 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15262 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15263 shlibpath_overrides_runpath
=no
15264 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15265 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15266 hardcode_into_libs
=yes
15269 # No shared lib support for Linux oldld, aout, or coff.
15270 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15274 # This must be Linux ELF.
15275 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15279 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15280 soname_spec
='${libname}${release}${shared_ext}$major'
15281 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15282 shlibpath_var
=LD_LIBRARY_PATH
15283 shlibpath_overrides_runpath
=no
15285 # Some binutils ld are patched to set DT_RUNPATH
15286 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15287 $as_echo_n "(cached) " >&6
15289 lt_cv_shlibpath_overrides_runpath
=no
15290 save_LDFLAGS
=$LDFLAGS
15291 save_libdir
=$libdir
15292 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15293 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15294 if test x
$gcc_no_link = xyes
; then
15295 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15297 cat > conftest.
$ac_ext <<_ACEOF
15302 if ac_fn_fc_try_link
"$LINENO"; then :
15303 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15304 lt_cv_shlibpath_overrides_runpath
=yes
15307 rm -f core conftest.err conftest.
$ac_objext \
15308 conftest
$ac_exeext conftest.
$ac_ext
15309 LDFLAGS
=$save_LDFLAGS
15310 libdir
=$save_libdir
15314 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15316 # This implies no fast_install, which is unacceptable.
15317 # Some rework will be needed to allow for fast_install
15318 # before this can be enabled.
15319 hardcode_into_libs
=yes
15321 # Append ld.so.conf contents to the search path
15322 if test -f /etc
/ld.so.conf
; then
15323 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' ' '`
15324 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15327 # We used to test for /lib/ld.so.1 and disable shared libraries on
15328 # powerpc, because MkLinux only supported shared libraries with the
15329 # GNU dynamic linker. Since this was broken with cross compilers,
15330 # most powerpc-linux boxes support dynamic linking these days and
15331 # people can always --disable-shared, the test was removed, and we
15332 # assume the GNU/Linux dynamic linker is in use.
15333 dynamic_linker
='GNU/Linux ld.so'
15340 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15341 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15342 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15343 dynamic_linker
='NetBSD (a.out) ld.so'
15345 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15346 soname_spec
='${libname}${release}${shared_ext}$major'
15347 dynamic_linker
='NetBSD ld.elf_so'
15349 shlibpath_var
=LD_LIBRARY_PATH
15350 shlibpath_overrides_runpath
=yes
15351 hardcode_into_libs
=yes
15356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15357 shlibpath_var
=LD_LIBRARY_PATH
15358 shlibpath_overrides_runpath
=yes
15365 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15366 soname_spec
='${libname}${release}${shared_ext}$major'
15367 shlibpath_var
=LD_LIBRARY_PATH
15368 shlibpath_overrides_runpath
=no
15369 hardcode_into_libs
=yes
15370 dynamic_linker
='ldqnx.so'
15375 sys_lib_dlsearch_path_spec
="/usr/lib"
15377 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15379 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15380 *) need_version
=no
;;
15382 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15383 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15384 shlibpath_var
=LD_LIBRARY_PATH
15385 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15387 openbsd2.
[89] | openbsd2.
[89].
*)
15388 shlibpath_overrides_runpath
=no
15391 shlibpath_overrides_runpath
=yes
15395 shlibpath_overrides_runpath
=yes
15400 libname_spec
='$name'
15403 library_names_spec
='$libname${shared_ext} $libname.a'
15404 dynamic_linker
='OS/2 ld.exe'
15405 shlibpath_var
=LIBPATH
15408 osf3
* | osf4
* | osf5
*)
15412 soname_spec
='${libname}${release}${shared_ext}$major'
15413 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15414 shlibpath_var
=LD_LIBRARY_PATH
15415 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15416 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15428 soname_spec
='${libname}${release}${shared_ext}$major'
15429 shlibpath_var
=LD_LIBRARY_PATH
15430 shlibpath_overrides_runpath
=yes
15431 hardcode_into_libs
=yes
15432 # ldd complains unless libraries are executable
15433 postinstall_cmds
='chmod +x $lib'
15438 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15439 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15440 shlibpath_var
=LD_LIBRARY_PATH
15441 shlibpath_overrides_runpath
=yes
15442 if test "$with_gnu_ld" = yes; then
15450 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15451 soname_spec
='${libname}${release}${shared_ext}$major'
15452 shlibpath_var
=LD_LIBRARY_PATH
15453 case $host_vendor in
15455 shlibpath_overrides_runpath
=no
15457 runpath_var
=LD_RUN_PATH
15465 shlibpath_overrides_runpath
=no
15466 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15472 if test -d /usr
/nec
;then
15474 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15475 soname_spec
='$libname${shared_ext}.$major'
15476 shlibpath_var
=LD_LIBRARY_PATH
15480 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15481 version_type
=freebsd-elf
15484 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15485 soname_spec
='${libname}${release}${shared_ext}$major'
15486 shlibpath_var
=LD_LIBRARY_PATH
15487 shlibpath_overrides_runpath
=yes
15488 hardcode_into_libs
=yes
15489 if test "$with_gnu_ld" = yes; then
15490 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15492 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15495 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15499 sys_lib_dlsearch_path_spec
='/usr/lib'
15503 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15507 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15508 shlibpath_var
=LD_LIBRARY_PATH
15509 shlibpath_overrides_runpath
=no
15510 hardcode_into_libs
=yes
15515 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15516 soname_spec
='${libname}${release}${shared_ext}$major'
15517 shlibpath_var
=LD_LIBRARY_PATH
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15525 $as_echo "$dynamic_linker" >&6; }
15526 test "$dynamic_linker" = no
&& can_build_shared
=no
15528 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15529 if test "$GCC" = yes; then
15530 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15533 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15534 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15536 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15537 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15578 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15579 hardcode_action_FC
=
15580 if test -n "$hardcode_libdir_flag_spec_FC" ||
15581 test -n "$runpath_var_FC" ||
15582 test "X$hardcode_automatic_FC" = "Xyes" ; then
15584 # We can hardcode non-existent directories.
15585 if test "$hardcode_direct_FC" != no
&&
15586 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15587 # have to relink, otherwise we might link with an installed library
15588 # when we should be linking with a yet-to-be-installed one
15589 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15590 test "$hardcode_minus_L_FC" != no
; then
15591 # Linking always hardcodes the temporary library directory.
15592 hardcode_action_FC
=relink
15594 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15595 hardcode_action_FC
=immediate
15598 # We cannot hardcode anything, or else we can only hardcode existing
15600 hardcode_action_FC
=unsupported
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15603 $as_echo "$hardcode_action_FC" >&6; }
15605 if test "$hardcode_action_FC" = relink ||
15606 test "$inherit_rpath_FC" = yes; then
15607 # Fast installation is not supported
15608 enable_fast_install
=no
15609 elif test "$shlibpath_overrides_runpath" = yes ||
15610 test "$enable_shared" = no
; then
15611 # Fast installation is not necessary
15612 enable_fast_install
=needless
15621 fi # test -n "$compiler"
15625 fi # test "$_lt_disable_FC" != yes
15628 ac_cpp
='$CPP $CPPFLAGS'
15629 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15630 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15631 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15635 # extra LD Flags which are required for targets
15638 # Darwin needs -single_module when linking libgfortran
15639 extra_ldflags_libgfortran
=-Wl,-single_module
15644 # We need a working compiler at that point, otherwise give a clear
15645 # error message and bail out.
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15648 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15649 ac_ext
=${ac_fc_srcext-f}
15650 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15651 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15652 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
15654 cat > conftest.
$ac_ext <<_ACEOF
15657 real, parameter :: bar = sin (12.34 / 2.5)
15660 if ac_fn_fc_try_compile
"$LINENO"; then :
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15662 $as_echo "yes" >&6; }
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15665 $as_echo "no" >&6; }
15666 as_fn_error
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15669 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15671 ac_cpp
='$CPP $CPPFLAGS'
15672 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15673 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15674 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15678 # Check whether --enable-largefile was given.
15679 if test "${enable_largefile+set}" = set; then :
15680 enableval
=$enable_largefile;
15683 if test "$enable_largefile" != no
; then
15685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15686 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15687 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15688 $as_echo_n "(cached) " >&6
15690 ac_cv_sys_largefile_CC
=no
15691 if test "$GCC" != yes; then
15694 # IRIX 6.2 and later do not support large files by default,
15695 # so use the C compiler's -n32 option if that helps.
15696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15697 /* end confdefs.h. */
15698 #include <sys/types.h>
15699 /* Check that off_t can represent 2**63 - 1 correctly.
15700 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15701 since some C++ compilers masquerading as C compilers
15702 incorrectly reject 9223372036854775807. */
15703 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15704 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15705 && LARGE_OFF_T % 2147483647 == 1)
15715 if ac_fn_c_try_compile
"$LINENO"; then :
15718 rm -f core conftest.err conftest.
$ac_objext
15720 if ac_fn_c_try_compile
"$LINENO"; then :
15721 ac_cv_sys_largefile_CC
=' -n32'; break
15723 rm -f core conftest.err conftest.
$ac_objext
15727 rm -f conftest.
$ac_ext
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15731 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15732 if test "$ac_cv_sys_largefile_CC" != no
; then
15733 CC
=$CC$ac_cv_sys_largefile_CC
15736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15737 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15738 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15739 $as_echo_n "(cached) " >&6
15742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15743 /* end confdefs.h. */
15744 #include <sys/types.h>
15745 /* Check that off_t can represent 2**63 - 1 correctly.
15746 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15747 since some C++ compilers masquerading as C compilers
15748 incorrectly reject 9223372036854775807. */
15749 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15750 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15751 && LARGE_OFF_T % 2147483647 == 1)
15761 if ac_fn_c_try_compile
"$LINENO"; then :
15762 ac_cv_sys_file_offset_bits
=no
; break
15764 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15766 /* end confdefs.h. */
15767 #define _FILE_OFFSET_BITS 64
15768 #include <sys/types.h>
15769 /* Check that off_t can represent 2**63 - 1 correctly.
15770 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15771 since some C++ compilers masquerading as C compilers
15772 incorrectly reject 9223372036854775807. */
15773 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15774 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15775 && LARGE_OFF_T % 2147483647 == 1)
15785 if ac_fn_c_try_compile
"$LINENO"; then :
15786 ac_cv_sys_file_offset_bits
=64; break
15788 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15789 ac_cv_sys_file_offset_bits
=unknown
15793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15794 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15795 case $ac_cv_sys_file_offset_bits in #(
15798 cat >>confdefs.h
<<_ACEOF
15799 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15804 if test $ac_cv_sys_file_offset_bits = unknown
; then
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15806 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15807 if test "${ac_cv_sys_large_files+set}" = set; then :
15808 $as_echo_n "(cached) " >&6
15811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15812 /* end confdefs.h. */
15813 #include <sys/types.h>
15814 /* Check that off_t can represent 2**63 - 1 correctly.
15815 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15816 since some C++ compilers masquerading as C compilers
15817 incorrectly reject 9223372036854775807. */
15818 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15819 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15820 && LARGE_OFF_T % 2147483647 == 1)
15830 if ac_fn_c_try_compile
"$LINENO"; then :
15831 ac_cv_sys_large_files
=no
; break
15833 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15835 /* end confdefs.h. */
15836 #define _LARGE_FILES 1
15837 #include <sys/types.h>
15838 /* Check that off_t can represent 2**63 - 1 correctly.
15839 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15840 since some C++ compilers masquerading as C compilers
15841 incorrectly reject 9223372036854775807. */
15842 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15843 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15844 && LARGE_OFF_T % 2147483647 == 1)
15854 if ac_fn_c_try_compile
"$LINENO"; then :
15855 ac_cv_sys_large_files
=1; break
15857 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15858 ac_cv_sys_large_files
=unknown
15862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15863 $as_echo "$ac_cv_sys_large_files" >&6; }
15864 case $ac_cv_sys_large_files in #(
15867 cat >>confdefs.h
<<_ACEOF
15868 #define _LARGE_FILES $ac_cv_sys_large_files
15878 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15879 if test "x$ac_cv_type_off_t" = x
""yes; then :
15883 cat >>confdefs.h
<<_ACEOF
15884 #define off_t long int
15890 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15891 if test "x$ac_cv_type_intptr_t" = x
""yes; then :
15893 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
15896 for ac_type
in 'int' 'long int' 'long long int'; do
15897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15898 /* end confdefs.h. */
15899 $ac_includes_default
15903 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15910 if ac_fn_c_try_compile
"$LINENO"; then :
15912 cat >>confdefs.h
<<_ACEOF
15913 #define intptr_t $ac_type
15918 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15919 test -z "$ac_type" && break
15925 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15926 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15928 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
15931 for ac_type
in 'unsigned int' 'unsigned long int' \
15932 'unsigned long long int'; do
15933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15934 /* end confdefs.h. */
15935 $ac_includes_default
15939 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15946 if ac_fn_c_try_compile
"$LINENO"; then :
15948 cat >>confdefs.h
<<_ACEOF
15949 #define uintptr_t $ac_type
15954 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15955 test -z "$ac_type" && break
15960 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
15961 if test "x$ac_cv_type_ptrdiff_t" = x
""yes; then :
15963 cat >>confdefs.h
<<_ACEOF
15964 #define HAVE_PTRDIFF_T 1
15971 # check header files (we assume C89 is available, so don't check for that)
15975 for ac_header
in $ac_header_list
15977 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15978 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
15980 eval as_val
=\$
$as_ac_Header
15981 if test "x$as_val" = x
""yes; then :
15982 cat >>confdefs.h
<<_ACEOF
15983 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16022 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16024 acx_cv_header_stdint
=stddef.h
16025 acx_cv_header_stdint_kind
="(already complete)"
16026 for i
in stdint.h
$inttype_headers; do
16027 unset ac_cv_type_uintptr_t
16028 unset ac_cv_type_uintmax_t
16029 unset ac_cv_type_int_least32_t
16030 unset ac_cv_type_int_fast32_t
16031 unset ac_cv_type_uint64_t
16032 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16033 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16036 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
16037 acx_cv_header_stdint
=$i
16042 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16045 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16048 acx_cv_header_stdint_kind
="(mostly complete)"
16051 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16054 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
16057 acx_cv_header_stdint_kind
="(mostly complete)"
16060 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16063 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
16066 acx_cv_header_stdint_kind
="(mostly complete)"
16069 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16072 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16075 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16080 if test "$acx_cv_header_stdint" = stddef.h
; then
16081 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16082 for i
in stdint.h
$inttype_headers; do
16083 unset ac_cv_type_uintptr_t
16084 unset ac_cv_type_uint32_t
16085 unset ac_cv_type_uint64_t
16086 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16087 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16090 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
16091 acx_cv_header_stdint
=$i
16096 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16099 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16103 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16106 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16113 if test "$acx_cv_header_stdint" = stddef.h
; then
16114 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16115 for i
in sys
/types.h
$inttype_headers; do
16116 unset ac_cv_type_u_int32_t
16117 unset ac_cv_type_u_int64_t
16118 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16119 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16122 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
16123 acx_cv_header_stdint
=$i
16128 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16131 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
16138 if test "$acx_cv_header_stdint" = stddef.h
; then
16139 acx_cv_header_stdint_kind
="(using manual detection)"
16142 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16143 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16144 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16145 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16146 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16148 # ----------------- Summarize what we found so far
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16151 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16153 case `$as_basename -- gstdint.h ||
16154 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16155 Xgstdint.h : 'X\(//\)$' \| \
16156 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16157 $as_echo X/gstdint.h |
16158 sed '/^.*\/\([^/][^/]*\)\/*$/{
16171 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16172 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16173 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16174 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16179 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16181 # ----------------- done included file, check C basic types --------
16183 # Lacking an uintptr_t? Test size of void *
16184 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16185 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16186 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16187 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16188 # This bug is HP SR number 8606223364.
16189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16190 $as_echo_n "checking size of void *... " >&6; }
16191 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16192 $as_echo_n "(cached) " >&6
16194 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16197 if test "$ac_cv_type_void_p" = yes; then
16198 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16199 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16200 { as_fn_set_status
77
16201 as_fn_error
"cannot compute sizeof (void *)
16202 See \`config.log' for more details." "$LINENO" 5; }; }
16204 ac_cv_sizeof_void_p
=0
16209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16210 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16214 cat >>confdefs.h
<<_ACEOF
16215 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16221 # Lacking an uint64_t? Test size of long
16222 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16223 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16224 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16225 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16226 # This bug is HP SR number 8606223364.
16227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16228 $as_echo_n "checking size of long... " >&6; }
16229 if test "${ac_cv_sizeof_long+set}" = set; then :
16230 $as_echo_n "(cached) " >&6
16232 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16235 if test "$ac_cv_type_long" = yes; then
16236 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16237 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16238 { as_fn_set_status
77
16239 as_fn_error
"cannot compute sizeof (long)
16240 See \`config.log' for more details." "$LINENO" 5; }; }
16242 ac_cv_sizeof_long
=0
16247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16248 $as_echo "$ac_cv_sizeof_long" >&6; }
16252 cat >>confdefs.h
<<_ACEOF
16253 #define SIZEOF_LONG $ac_cv_sizeof_long
16259 if test $acx_cv_header_stdint = stddef.h
; then
16260 # Lacking a good header? Test size of everything and deduce all types.
16261 # The cast to long int works around a bug in the HP C Compiler
16262 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16263 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16264 # This bug is HP SR number 8606223364.
16265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16266 $as_echo_n "checking size of int... " >&6; }
16267 if test "${ac_cv_sizeof_int+set}" = set; then :
16268 $as_echo_n "(cached) " >&6
16270 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16273 if test "$ac_cv_type_int" = yes; then
16274 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16276 { as_fn_set_status
77
16277 as_fn_error
"cannot compute sizeof (int)
16278 See \`config.log' for more details." "$LINENO" 5; }; }
16285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16286 $as_echo "$ac_cv_sizeof_int" >&6; }
16290 cat >>confdefs.h
<<_ACEOF
16291 #define SIZEOF_INT $ac_cv_sizeof_int
16295 # The cast to long int works around a bug in the HP C Compiler
16296 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16297 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16298 # This bug is HP SR number 8606223364.
16299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16300 $as_echo_n "checking size of short... " >&6; }
16301 if test "${ac_cv_sizeof_short+set}" = set; then :
16302 $as_echo_n "(cached) " >&6
16304 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16307 if test "$ac_cv_type_short" = yes; then
16308 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16310 { as_fn_set_status
77
16311 as_fn_error
"cannot compute sizeof (short)
16312 See \`config.log' for more details." "$LINENO" 5; }; }
16314 ac_cv_sizeof_short
=0
16319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16320 $as_echo "$ac_cv_sizeof_short" >&6; }
16324 cat >>confdefs.h
<<_ACEOF
16325 #define SIZEOF_SHORT $ac_cv_sizeof_short
16329 # The cast to long int works around a bug in the HP C Compiler
16330 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16331 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16332 # This bug is HP SR number 8606223364.
16333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16334 $as_echo_n "checking size of char... " >&6; }
16335 if test "${ac_cv_sizeof_char+set}" = set; then :
16336 $as_echo_n "(cached) " >&6
16338 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16341 if test "$ac_cv_type_char" = yes; then
16342 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16344 { as_fn_set_status
77
16345 as_fn_error
"cannot compute sizeof (char)
16346 See \`config.log' for more details." "$LINENO" 5; }; }
16348 ac_cv_sizeof_char
=0
16353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16354 $as_echo "$ac_cv_sizeof_char" >&6; }
16358 cat >>confdefs.h
<<_ACEOF
16359 #define SIZEOF_CHAR $ac_cv_sizeof_char
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16365 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16366 case "$ac_cv_sizeof_char" in
16367 1) acx_cv_type_int8_t
=char
;;
16368 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16371 $as_echo "$acx_cv_type_int8_t" >&6; }
16373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16374 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16375 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16376 2:*) acx_cv_type_int16_t
=int
;;
16377 *:2) acx_cv_type_int16_t
=short
;;
16378 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
16380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16381 $as_echo "$acx_cv_type_int16_t" >&6; }
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16384 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16385 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16386 4:*) acx_cv_type_int32_t
=int
;;
16387 *:4) acx_cv_type_int32_t
=long
;;
16388 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16391 $as_echo "$acx_cv_type_int32_t" >&6; }
16394 # These tests are here to make the output prettier
16396 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16397 case "$ac_cv_sizeof_long" in
16398 8) acx_cv_type_int64_t
=long
;;
16400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16401 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16403 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16406 # Now we can use the above types
16408 if test "$ac_cv_type_uintptr_t" != yes; then
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16410 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16411 case $ac_cv_sizeof_void_p in
16412 2) acx_cv_type_intptr_t
=int16_t
;;
16413 4) acx_cv_type_intptr_t
=int32_t
;;
16414 8) acx_cv_type_intptr_t
=int64_t
;;
16415 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16418 $as_echo "$acx_cv_type_intptr_t" >&6; }
16421 # ----------------- done all checks, emit header -------------
16422 ac_config_commands
="$ac_config_commands gstdint.h"
16427 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16428 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
16430 cat >>confdefs.h
<<_ACEOF
16431 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16436 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16437 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
16439 cat >>confdefs.h
<<_ACEOF
16440 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16445 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16446 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
16448 cat >>confdefs.h
<<_ACEOF
16449 #define HAVE_STRUCT_STAT_ST_RDEV 1
16456 # Check for library functions.
16457 if test "x${with_newlib}" = "xyes"; then
16458 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
16459 # may not work correctly, because the compiler may not be able to
16460 # link executables.
16462 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
16465 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
16468 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
16471 $as_echo "#define HAVE_STRCASESTR 1" >>confdefs.h
16474 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
16477 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
16480 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
16483 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
16486 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
16489 $as_echo "#define HAVE_STRTOK_R 1" >>confdefs.h
16492 # At some point, we should differentiate between architectures
16493 # like x86, which have long double versions, and alpha/powerpc/etc.,
16494 # which don't. For the time being, punt.
16495 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
16497 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
16504 for ac_func
in $ac_func_list
16506 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16507 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16508 eval as_val
=\$
$as_ac_var
16509 if test "x$as_val" = x
""yes; then :
16510 cat >>confdefs.h
<<_ACEOF
16511 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16632 # Check strerror_r, cannot be above as versions with two and three arguments exist
16634 ac_save_CFLAGS
="$CFLAGS"
16635 CFLAGS
="-Wimplicit-function-declaration -Werror"
16636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16637 /* end confdefs.h. */
16638 #define _GNU_SOURCE 1
16639 #include <string.h>
16640 #include <locale.h>
16644 char s[128]; strerror_r(5, s, 128);
16649 if ac_fn_c_try_compile
"$LINENO"; then :
16651 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16654 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16655 CFLAGS
="$ac_save_CFLAGS"
16657 ac_save_CFLAGS
="$CFLAGS"
16658 CFLAGS
="-Wimplicit-function-declaration -Werror"
16659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16660 /* end confdefs.h. */
16661 #define _GNU_SOURCE 1
16662 #include <string.h>
16663 #include <locale.h>
16667 char s[128]; strerror_r(5, s);
16672 if ac_fn_c_try_compile
"$LINENO"; then :
16674 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
16677 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16678 CFLAGS
="$ac_save_CFLAGS"
16681 # Check for C99 (and other IEEE) math functions
16682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16683 $as_echo_n "checking for sin in -lm... " >&6; }
16684 if test "${ac_cv_lib_m_sin+set}" = set; then :
16685 $as_echo_n "(cached) " >&6
16687 ac_check_lib_save_LIBS
=$LIBS
16689 if test x
$gcc_no_link = xyes
; then
16690 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16693 /* end confdefs.h. */
16695 /* Override any GCC internal prototype to avoid an error.
16696 Use char because int might match the return type of a GCC
16697 builtin and then its argument prototype would still apply. */
16710 if ac_fn_c_try_link
"$LINENO"; then :
16711 ac_cv_lib_m_sin
=yes
16715 rm -f core conftest.err conftest.
$ac_objext \
16716 conftest
$ac_exeext conftest.
$ac_ext
16717 LIBS
=$ac_check_lib_save_LIBS
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16720 $as_echo "$ac_cv_lib_m_sin" >&6; }
16721 if test "x$ac_cv_lib_m_sin" = x
""yes; then :
16722 cat >>confdefs.h
<<_ACEOF
16723 #define HAVE_LIBM 1
16736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
16737 $as_echo_n "checking for acosf... " >&6; }
16738 if test "${gcc_cv_math_func_acosf+set}" = set; then :
16739 $as_echo_n "(cached) " >&6
16741 if test x
$gcc_no_link = xyes
; then
16742 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16745 /* end confdefs.h. */
16747 #ifdef HAVE_COMPLEX_H
16748 #include <complex.h>
16754 int (*ptr)() = (int (*)())acosf;
16763 if ac_fn_c_try_link
"$LINENO"; then :
16764 gcc_cv_math_func_acosf
=yes
16766 gcc_cv_math_func_acosf
=no
16768 rm -f core conftest.err conftest.
$ac_objext \
16769 conftest
$ac_exeext conftest.
$ac_ext
16771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
16772 $as_echo "$gcc_cv_math_func_acosf" >&6; }
16773 if test $gcc_cv_math_func_acosf = yes; then
16775 cat >>confdefs.h
<<_ACEOF
16776 #define HAVE_ACOSF 1
16784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
16785 $as_echo_n "checking for acos... " >&6; }
16786 if test "${gcc_cv_math_func_acos+set}" = set; then :
16787 $as_echo_n "(cached) " >&6
16789 if test x
$gcc_no_link = xyes
; then
16790 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16793 /* end confdefs.h. */
16795 #ifdef HAVE_COMPLEX_H
16796 #include <complex.h>
16802 int (*ptr)() = (int (*)())acos;
16811 if ac_fn_c_try_link
"$LINENO"; then :
16812 gcc_cv_math_func_acos
=yes
16814 gcc_cv_math_func_acos
=no
16816 rm -f core conftest.err conftest.
$ac_objext \
16817 conftest
$ac_exeext conftest.
$ac_ext
16819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
16820 $as_echo "$gcc_cv_math_func_acos" >&6; }
16821 if test $gcc_cv_math_func_acos = yes; then
16823 cat >>confdefs.h
<<_ACEOF
16824 #define HAVE_ACOS 1
16832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
16833 $as_echo_n "checking for acosl... " >&6; }
16834 if test "${gcc_cv_math_func_acosl+set}" = set; then :
16835 $as_echo_n "(cached) " >&6
16837 if test x
$gcc_no_link = xyes
; then
16838 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16841 /* end confdefs.h. */
16843 #ifdef HAVE_COMPLEX_H
16844 #include <complex.h>
16850 int (*ptr)() = (int (*)())acosl;
16859 if ac_fn_c_try_link
"$LINENO"; then :
16860 gcc_cv_math_func_acosl
=yes
16862 gcc_cv_math_func_acosl
=no
16864 rm -f core conftest.err conftest.
$ac_objext \
16865 conftest
$ac_exeext conftest.
$ac_ext
16867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
16868 $as_echo "$gcc_cv_math_func_acosl" >&6; }
16869 if test $gcc_cv_math_func_acosl = yes; then
16871 cat >>confdefs.h
<<_ACEOF
16872 #define HAVE_ACOSL 1
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
16881 $as_echo_n "checking for acoshf... " >&6; }
16882 if test "${gcc_cv_math_func_acoshf+set}" = set; then :
16883 $as_echo_n "(cached) " >&6
16885 if test x
$gcc_no_link = xyes
; then
16886 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16889 /* end confdefs.h. */
16891 #ifdef HAVE_COMPLEX_H
16892 #include <complex.h>
16898 int (*ptr)() = (int (*)())acoshf;
16907 if ac_fn_c_try_link
"$LINENO"; then :
16908 gcc_cv_math_func_acoshf
=yes
16910 gcc_cv_math_func_acoshf
=no
16912 rm -f core conftest.err conftest.
$ac_objext \
16913 conftest
$ac_exeext conftest.
$ac_ext
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
16916 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
16917 if test $gcc_cv_math_func_acoshf = yes; then
16919 cat >>confdefs.h
<<_ACEOF
16920 #define HAVE_ACOSHF 1
16928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
16929 $as_echo_n "checking for acosh... " >&6; }
16930 if test "${gcc_cv_math_func_acosh+set}" = set; then :
16931 $as_echo_n "(cached) " >&6
16933 if test x
$gcc_no_link = xyes
; then
16934 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16937 /* end confdefs.h. */
16939 #ifdef HAVE_COMPLEX_H
16940 #include <complex.h>
16946 int (*ptr)() = (int (*)())acosh;
16955 if ac_fn_c_try_link
"$LINENO"; then :
16956 gcc_cv_math_func_acosh
=yes
16958 gcc_cv_math_func_acosh
=no
16960 rm -f core conftest.err conftest.
$ac_objext \
16961 conftest
$ac_exeext conftest.
$ac_ext
16963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
16964 $as_echo "$gcc_cv_math_func_acosh" >&6; }
16965 if test $gcc_cv_math_func_acosh = yes; then
16967 cat >>confdefs.h
<<_ACEOF
16968 #define HAVE_ACOSH 1
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
16977 $as_echo_n "checking for acoshl... " >&6; }
16978 if test "${gcc_cv_math_func_acoshl+set}" = set; then :
16979 $as_echo_n "(cached) " >&6
16981 if test x
$gcc_no_link = xyes
; then
16982 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16985 /* end confdefs.h. */
16987 #ifdef HAVE_COMPLEX_H
16988 #include <complex.h>
16994 int (*ptr)() = (int (*)())acoshl;
17003 if ac_fn_c_try_link
"$LINENO"; then :
17004 gcc_cv_math_func_acoshl
=yes
17006 gcc_cv_math_func_acoshl
=no
17008 rm -f core conftest.err conftest.
$ac_objext \
17009 conftest
$ac_exeext conftest.
$ac_ext
17011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17012 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17013 if test $gcc_cv_math_func_acoshl = yes; then
17015 cat >>confdefs.h
<<_ACEOF
17016 #define HAVE_ACOSHL 1
17024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17025 $as_echo_n "checking for asinf... " >&6; }
17026 if test "${gcc_cv_math_func_asinf+set}" = set; then :
17027 $as_echo_n "(cached) " >&6
17029 if test x
$gcc_no_link = xyes
; then
17030 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17033 /* end confdefs.h. */
17035 #ifdef HAVE_COMPLEX_H
17036 #include <complex.h>
17042 int (*ptr)() = (int (*)())asinf;
17051 if ac_fn_c_try_link
"$LINENO"; then :
17052 gcc_cv_math_func_asinf
=yes
17054 gcc_cv_math_func_asinf
=no
17056 rm -f core conftest.err conftest.
$ac_objext \
17057 conftest
$ac_exeext conftest.
$ac_ext
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17060 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17061 if test $gcc_cv_math_func_asinf = yes; then
17063 cat >>confdefs.h
<<_ACEOF
17064 #define HAVE_ASINF 1
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17073 $as_echo_n "checking for asin... " >&6; }
17074 if test "${gcc_cv_math_func_asin+set}" = set; then :
17075 $as_echo_n "(cached) " >&6
17077 if test x
$gcc_no_link = xyes
; then
17078 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17081 /* end confdefs.h. */
17083 #ifdef HAVE_COMPLEX_H
17084 #include <complex.h>
17090 int (*ptr)() = (int (*)())asin;
17099 if ac_fn_c_try_link
"$LINENO"; then :
17100 gcc_cv_math_func_asin
=yes
17102 gcc_cv_math_func_asin
=no
17104 rm -f core conftest.err conftest.
$ac_objext \
17105 conftest
$ac_exeext conftest.
$ac_ext
17107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17108 $as_echo "$gcc_cv_math_func_asin" >&6; }
17109 if test $gcc_cv_math_func_asin = yes; then
17111 cat >>confdefs.h
<<_ACEOF
17112 #define HAVE_ASIN 1
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17121 $as_echo_n "checking for asinl... " >&6; }
17122 if test "${gcc_cv_math_func_asinl+set}" = set; then :
17123 $as_echo_n "(cached) " >&6
17125 if test x
$gcc_no_link = xyes
; then
17126 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17129 /* end confdefs.h. */
17131 #ifdef HAVE_COMPLEX_H
17132 #include <complex.h>
17138 int (*ptr)() = (int (*)())asinl;
17147 if ac_fn_c_try_link
"$LINENO"; then :
17148 gcc_cv_math_func_asinl
=yes
17150 gcc_cv_math_func_asinl
=no
17152 rm -f core conftest.err conftest.
$ac_objext \
17153 conftest
$ac_exeext conftest.
$ac_ext
17155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17156 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17157 if test $gcc_cv_math_func_asinl = yes; then
17159 cat >>confdefs.h
<<_ACEOF
17160 #define HAVE_ASINL 1
17168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17169 $as_echo_n "checking for asinhf... " >&6; }
17170 if test "${gcc_cv_math_func_asinhf+set}" = set; then :
17171 $as_echo_n "(cached) " >&6
17173 if test x
$gcc_no_link = xyes
; then
17174 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17177 /* end confdefs.h. */
17179 #ifdef HAVE_COMPLEX_H
17180 #include <complex.h>
17186 int (*ptr)() = (int (*)())asinhf;
17195 if ac_fn_c_try_link
"$LINENO"; then :
17196 gcc_cv_math_func_asinhf
=yes
17198 gcc_cv_math_func_asinhf
=no
17200 rm -f core conftest.err conftest.
$ac_objext \
17201 conftest
$ac_exeext conftest.
$ac_ext
17203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17204 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17205 if test $gcc_cv_math_func_asinhf = yes; then
17207 cat >>confdefs.h
<<_ACEOF
17208 #define HAVE_ASINHF 1
17216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17217 $as_echo_n "checking for asinh... " >&6; }
17218 if test "${gcc_cv_math_func_asinh+set}" = set; then :
17219 $as_echo_n "(cached) " >&6
17221 if test x
$gcc_no_link = xyes
; then
17222 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17225 /* end confdefs.h. */
17227 #ifdef HAVE_COMPLEX_H
17228 #include <complex.h>
17234 int (*ptr)() = (int (*)())asinh;
17243 if ac_fn_c_try_link
"$LINENO"; then :
17244 gcc_cv_math_func_asinh
=yes
17246 gcc_cv_math_func_asinh
=no
17248 rm -f core conftest.err conftest.
$ac_objext \
17249 conftest
$ac_exeext conftest.
$ac_ext
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17252 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17253 if test $gcc_cv_math_func_asinh = yes; then
17255 cat >>confdefs.h
<<_ACEOF
17256 #define HAVE_ASINH 1
17264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17265 $as_echo_n "checking for asinhl... " >&6; }
17266 if test "${gcc_cv_math_func_asinhl+set}" = set; then :
17267 $as_echo_n "(cached) " >&6
17269 if test x
$gcc_no_link = xyes
; then
17270 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17273 /* end confdefs.h. */
17275 #ifdef HAVE_COMPLEX_H
17276 #include <complex.h>
17282 int (*ptr)() = (int (*)())asinhl;
17291 if ac_fn_c_try_link
"$LINENO"; then :
17292 gcc_cv_math_func_asinhl
=yes
17294 gcc_cv_math_func_asinhl
=no
17296 rm -f core conftest.err conftest.
$ac_objext \
17297 conftest
$ac_exeext conftest.
$ac_ext
17299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17300 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17301 if test $gcc_cv_math_func_asinhl = yes; then
17303 cat >>confdefs.h
<<_ACEOF
17304 #define HAVE_ASINHL 1
17312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17313 $as_echo_n "checking for atan2f... " >&6; }
17314 if test "${gcc_cv_math_func_atan2f+set}" = set; then :
17315 $as_echo_n "(cached) " >&6
17317 if test x
$gcc_no_link = xyes
; then
17318 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17321 /* end confdefs.h. */
17323 #ifdef HAVE_COMPLEX_H
17324 #include <complex.h>
17330 int (*ptr)() = (int (*)())atan2f;
17339 if ac_fn_c_try_link
"$LINENO"; then :
17340 gcc_cv_math_func_atan2f
=yes
17342 gcc_cv_math_func_atan2f
=no
17344 rm -f core conftest.err conftest.
$ac_objext \
17345 conftest
$ac_exeext conftest.
$ac_ext
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17348 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17349 if test $gcc_cv_math_func_atan2f = yes; then
17351 cat >>confdefs.h
<<_ACEOF
17352 #define HAVE_ATAN2F 1
17360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17361 $as_echo_n "checking for atan2... " >&6; }
17362 if test "${gcc_cv_math_func_atan2+set}" = set; then :
17363 $as_echo_n "(cached) " >&6
17365 if test x
$gcc_no_link = xyes
; then
17366 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17369 /* end confdefs.h. */
17371 #ifdef HAVE_COMPLEX_H
17372 #include <complex.h>
17378 int (*ptr)() = (int (*)())atan2;
17387 if ac_fn_c_try_link
"$LINENO"; then :
17388 gcc_cv_math_func_atan2
=yes
17390 gcc_cv_math_func_atan2
=no
17392 rm -f core conftest.err conftest.
$ac_objext \
17393 conftest
$ac_exeext conftest.
$ac_ext
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17396 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17397 if test $gcc_cv_math_func_atan2 = yes; then
17399 cat >>confdefs.h
<<_ACEOF
17400 #define HAVE_ATAN2 1
17408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17409 $as_echo_n "checking for atan2l... " >&6; }
17410 if test "${gcc_cv_math_func_atan2l+set}" = set; then :
17411 $as_echo_n "(cached) " >&6
17413 if test x
$gcc_no_link = xyes
; then
17414 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17417 /* end confdefs.h. */
17419 #ifdef HAVE_COMPLEX_H
17420 #include <complex.h>
17426 int (*ptr)() = (int (*)())atan2l;
17435 if ac_fn_c_try_link
"$LINENO"; then :
17436 gcc_cv_math_func_atan2l
=yes
17438 gcc_cv_math_func_atan2l
=no
17440 rm -f core conftest.err conftest.
$ac_objext \
17441 conftest
$ac_exeext conftest.
$ac_ext
17443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17444 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17445 if test $gcc_cv_math_func_atan2l = yes; then
17447 cat >>confdefs.h
<<_ACEOF
17448 #define HAVE_ATAN2L 1
17456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17457 $as_echo_n "checking for atanf... " >&6; }
17458 if test "${gcc_cv_math_func_atanf+set}" = set; then :
17459 $as_echo_n "(cached) " >&6
17461 if test x
$gcc_no_link = xyes
; then
17462 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17465 /* end confdefs.h. */
17467 #ifdef HAVE_COMPLEX_H
17468 #include <complex.h>
17474 int (*ptr)() = (int (*)())atanf;
17483 if ac_fn_c_try_link
"$LINENO"; then :
17484 gcc_cv_math_func_atanf
=yes
17486 gcc_cv_math_func_atanf
=no
17488 rm -f core conftest.err conftest.
$ac_objext \
17489 conftest
$ac_exeext conftest.
$ac_ext
17491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17492 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17493 if test $gcc_cv_math_func_atanf = yes; then
17495 cat >>confdefs.h
<<_ACEOF
17496 #define HAVE_ATANF 1
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17505 $as_echo_n "checking for atan... " >&6; }
17506 if test "${gcc_cv_math_func_atan+set}" = set; then :
17507 $as_echo_n "(cached) " >&6
17509 if test x
$gcc_no_link = xyes
; then
17510 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17513 /* end confdefs.h. */
17515 #ifdef HAVE_COMPLEX_H
17516 #include <complex.h>
17522 int (*ptr)() = (int (*)())atan;
17531 if ac_fn_c_try_link
"$LINENO"; then :
17532 gcc_cv_math_func_atan
=yes
17534 gcc_cv_math_func_atan
=no
17536 rm -f core conftest.err conftest.
$ac_objext \
17537 conftest
$ac_exeext conftest.
$ac_ext
17539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17540 $as_echo "$gcc_cv_math_func_atan" >&6; }
17541 if test $gcc_cv_math_func_atan = yes; then
17543 cat >>confdefs.h
<<_ACEOF
17544 #define HAVE_ATAN 1
17552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17553 $as_echo_n "checking for atanl... " >&6; }
17554 if test "${gcc_cv_math_func_atanl+set}" = set; then :
17555 $as_echo_n "(cached) " >&6
17557 if test x
$gcc_no_link = xyes
; then
17558 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17561 /* end confdefs.h. */
17563 #ifdef HAVE_COMPLEX_H
17564 #include <complex.h>
17570 int (*ptr)() = (int (*)())atanl;
17579 if ac_fn_c_try_link
"$LINENO"; then :
17580 gcc_cv_math_func_atanl
=yes
17582 gcc_cv_math_func_atanl
=no
17584 rm -f core conftest.err conftest.
$ac_objext \
17585 conftest
$ac_exeext conftest.
$ac_ext
17587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17588 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17589 if test $gcc_cv_math_func_atanl = yes; then
17591 cat >>confdefs.h
<<_ACEOF
17592 #define HAVE_ATANL 1
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17601 $as_echo_n "checking for atanhf... " >&6; }
17602 if test "${gcc_cv_math_func_atanhf+set}" = set; then :
17603 $as_echo_n "(cached) " >&6
17605 if test x
$gcc_no_link = xyes
; then
17606 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17609 /* end confdefs.h. */
17611 #ifdef HAVE_COMPLEX_H
17612 #include <complex.h>
17618 int (*ptr)() = (int (*)())atanhf;
17627 if ac_fn_c_try_link
"$LINENO"; then :
17628 gcc_cv_math_func_atanhf
=yes
17630 gcc_cv_math_func_atanhf
=no
17632 rm -f core conftest.err conftest.
$ac_objext \
17633 conftest
$ac_exeext conftest.
$ac_ext
17635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17636 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
17637 if test $gcc_cv_math_func_atanhf = yes; then
17639 cat >>confdefs.h
<<_ACEOF
17640 #define HAVE_ATANHF 1
17648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
17649 $as_echo_n "checking for atanh... " >&6; }
17650 if test "${gcc_cv_math_func_atanh+set}" = set; then :
17651 $as_echo_n "(cached) " >&6
17653 if test x
$gcc_no_link = xyes
; then
17654 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17657 /* end confdefs.h. */
17659 #ifdef HAVE_COMPLEX_H
17660 #include <complex.h>
17666 int (*ptr)() = (int (*)())atanh;
17675 if ac_fn_c_try_link
"$LINENO"; then :
17676 gcc_cv_math_func_atanh
=yes
17678 gcc_cv_math_func_atanh
=no
17680 rm -f core conftest.err conftest.
$ac_objext \
17681 conftest
$ac_exeext conftest.
$ac_ext
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
17684 $as_echo "$gcc_cv_math_func_atanh" >&6; }
17685 if test $gcc_cv_math_func_atanh = yes; then
17687 cat >>confdefs.h
<<_ACEOF
17688 #define HAVE_ATANH 1
17696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
17697 $as_echo_n "checking for atanhl... " >&6; }
17698 if test "${gcc_cv_math_func_atanhl+set}" = set; then :
17699 $as_echo_n "(cached) " >&6
17701 if test x
$gcc_no_link = xyes
; then
17702 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17705 /* end confdefs.h. */
17707 #ifdef HAVE_COMPLEX_H
17708 #include <complex.h>
17714 int (*ptr)() = (int (*)())atanhl;
17723 if ac_fn_c_try_link
"$LINENO"; then :
17724 gcc_cv_math_func_atanhl
=yes
17726 gcc_cv_math_func_atanhl
=no
17728 rm -f core conftest.err conftest.
$ac_objext \
17729 conftest
$ac_exeext conftest.
$ac_ext
17731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
17732 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
17733 if test $gcc_cv_math_func_atanhl = yes; then
17735 cat >>confdefs.h
<<_ACEOF
17736 #define HAVE_ATANHL 1
17744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
17745 $as_echo_n "checking for cargf... " >&6; }
17746 if test "${gcc_cv_math_func_cargf+set}" = set; then :
17747 $as_echo_n "(cached) " >&6
17749 if test x
$gcc_no_link = xyes
; then
17750 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17753 /* end confdefs.h. */
17755 #ifdef HAVE_COMPLEX_H
17756 #include <complex.h>
17762 int (*ptr)() = (int (*)())cargf;
17771 if ac_fn_c_try_link
"$LINENO"; then :
17772 gcc_cv_math_func_cargf
=yes
17774 gcc_cv_math_func_cargf
=no
17776 rm -f core conftest.err conftest.
$ac_objext \
17777 conftest
$ac_exeext conftest.
$ac_ext
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
17780 $as_echo "$gcc_cv_math_func_cargf" >&6; }
17781 if test $gcc_cv_math_func_cargf = yes; then
17783 cat >>confdefs.h
<<_ACEOF
17784 #define HAVE_CARGF 1
17792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
17793 $as_echo_n "checking for carg... " >&6; }
17794 if test "${gcc_cv_math_func_carg+set}" = set; then :
17795 $as_echo_n "(cached) " >&6
17797 if test x
$gcc_no_link = xyes
; then
17798 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17801 /* end confdefs.h. */
17803 #ifdef HAVE_COMPLEX_H
17804 #include <complex.h>
17810 int (*ptr)() = (int (*)())carg;
17819 if ac_fn_c_try_link
"$LINENO"; then :
17820 gcc_cv_math_func_carg
=yes
17822 gcc_cv_math_func_carg
=no
17824 rm -f core conftest.err conftest.
$ac_objext \
17825 conftest
$ac_exeext conftest.
$ac_ext
17827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
17828 $as_echo "$gcc_cv_math_func_carg" >&6; }
17829 if test $gcc_cv_math_func_carg = yes; then
17831 cat >>confdefs.h
<<_ACEOF
17832 #define HAVE_CARG 1
17840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
17841 $as_echo_n "checking for cargl... " >&6; }
17842 if test "${gcc_cv_math_func_cargl+set}" = set; then :
17843 $as_echo_n "(cached) " >&6
17845 if test x
$gcc_no_link = xyes
; then
17846 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17849 /* end confdefs.h. */
17851 #ifdef HAVE_COMPLEX_H
17852 #include <complex.h>
17858 int (*ptr)() = (int (*)())cargl;
17867 if ac_fn_c_try_link
"$LINENO"; then :
17868 gcc_cv_math_func_cargl
=yes
17870 gcc_cv_math_func_cargl
=no
17872 rm -f core conftest.err conftest.
$ac_objext \
17873 conftest
$ac_exeext conftest.
$ac_ext
17875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
17876 $as_echo "$gcc_cv_math_func_cargl" >&6; }
17877 if test $gcc_cv_math_func_cargl = yes; then
17879 cat >>confdefs.h
<<_ACEOF
17880 #define HAVE_CARGL 1
17888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
17889 $as_echo_n "checking for ceilf... " >&6; }
17890 if test "${gcc_cv_math_func_ceilf+set}" = set; then :
17891 $as_echo_n "(cached) " >&6
17893 if test x
$gcc_no_link = xyes
; then
17894 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17897 /* end confdefs.h. */
17899 #ifdef HAVE_COMPLEX_H
17900 #include <complex.h>
17906 int (*ptr)() = (int (*)())ceilf;
17915 if ac_fn_c_try_link
"$LINENO"; then :
17916 gcc_cv_math_func_ceilf
=yes
17918 gcc_cv_math_func_ceilf
=no
17920 rm -f core conftest.err conftest.
$ac_objext \
17921 conftest
$ac_exeext conftest.
$ac_ext
17923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
17924 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
17925 if test $gcc_cv_math_func_ceilf = yes; then
17927 cat >>confdefs.h
<<_ACEOF
17928 #define HAVE_CEILF 1
17936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
17937 $as_echo_n "checking for ceil... " >&6; }
17938 if test "${gcc_cv_math_func_ceil+set}" = set; then :
17939 $as_echo_n "(cached) " >&6
17941 if test x
$gcc_no_link = xyes
; then
17942 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17945 /* end confdefs.h. */
17947 #ifdef HAVE_COMPLEX_H
17948 #include <complex.h>
17954 int (*ptr)() = (int (*)())ceil;
17963 if ac_fn_c_try_link
"$LINENO"; then :
17964 gcc_cv_math_func_ceil
=yes
17966 gcc_cv_math_func_ceil
=no
17968 rm -f core conftest.err conftest.
$ac_objext \
17969 conftest
$ac_exeext conftest.
$ac_ext
17971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
17972 $as_echo "$gcc_cv_math_func_ceil" >&6; }
17973 if test $gcc_cv_math_func_ceil = yes; then
17975 cat >>confdefs.h
<<_ACEOF
17976 #define HAVE_CEIL 1
17984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
17985 $as_echo_n "checking for ceill... " >&6; }
17986 if test "${gcc_cv_math_func_ceill+set}" = set; then :
17987 $as_echo_n "(cached) " >&6
17989 if test x
$gcc_no_link = xyes
; then
17990 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17993 /* end confdefs.h. */
17995 #ifdef HAVE_COMPLEX_H
17996 #include <complex.h>
18002 int (*ptr)() = (int (*)())ceill;
18011 if ac_fn_c_try_link
"$LINENO"; then :
18012 gcc_cv_math_func_ceill
=yes
18014 gcc_cv_math_func_ceill
=no
18016 rm -f core conftest.err conftest.
$ac_objext \
18017 conftest
$ac_exeext conftest.
$ac_ext
18019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18020 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18021 if test $gcc_cv_math_func_ceill = yes; then
18023 cat >>confdefs.h
<<_ACEOF
18024 #define HAVE_CEILL 1
18032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18033 $as_echo_n "checking for copysignf... " >&6; }
18034 if test "${gcc_cv_math_func_copysignf+set}" = set; then :
18035 $as_echo_n "(cached) " >&6
18037 if test x
$gcc_no_link = xyes
; then
18038 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18041 /* end confdefs.h. */
18043 #ifdef HAVE_COMPLEX_H
18044 #include <complex.h>
18050 int (*ptr)() = (int (*)())copysignf;
18059 if ac_fn_c_try_link
"$LINENO"; then :
18060 gcc_cv_math_func_copysignf
=yes
18062 gcc_cv_math_func_copysignf
=no
18064 rm -f core conftest.err conftest.
$ac_objext \
18065 conftest
$ac_exeext conftest.
$ac_ext
18067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18068 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18069 if test $gcc_cv_math_func_copysignf = yes; then
18071 cat >>confdefs.h
<<_ACEOF
18072 #define HAVE_COPYSIGNF 1
18080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18081 $as_echo_n "checking for copysign... " >&6; }
18082 if test "${gcc_cv_math_func_copysign+set}" = set; then :
18083 $as_echo_n "(cached) " >&6
18085 if test x
$gcc_no_link = xyes
; then
18086 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18089 /* end confdefs.h. */
18091 #ifdef HAVE_COMPLEX_H
18092 #include <complex.h>
18098 int (*ptr)() = (int (*)())copysign;
18107 if ac_fn_c_try_link
"$LINENO"; then :
18108 gcc_cv_math_func_copysign
=yes
18110 gcc_cv_math_func_copysign
=no
18112 rm -f core conftest.err conftest.
$ac_objext \
18113 conftest
$ac_exeext conftest.
$ac_ext
18115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18116 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18117 if test $gcc_cv_math_func_copysign = yes; then
18119 cat >>confdefs.h
<<_ACEOF
18120 #define HAVE_COPYSIGN 1
18128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18129 $as_echo_n "checking for copysignl... " >&6; }
18130 if test "${gcc_cv_math_func_copysignl+set}" = set; then :
18131 $as_echo_n "(cached) " >&6
18133 if test x
$gcc_no_link = xyes
; then
18134 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18137 /* end confdefs.h. */
18139 #ifdef HAVE_COMPLEX_H
18140 #include <complex.h>
18146 int (*ptr)() = (int (*)())copysignl;
18155 if ac_fn_c_try_link
"$LINENO"; then :
18156 gcc_cv_math_func_copysignl
=yes
18158 gcc_cv_math_func_copysignl
=no
18160 rm -f core conftest.err conftest.
$ac_objext \
18161 conftest
$ac_exeext conftest.
$ac_ext
18163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18164 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18165 if test $gcc_cv_math_func_copysignl = yes; then
18167 cat >>confdefs.h
<<_ACEOF
18168 #define HAVE_COPYSIGNL 1
18176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18177 $as_echo_n "checking for cosf... " >&6; }
18178 if test "${gcc_cv_math_func_cosf+set}" = set; then :
18179 $as_echo_n "(cached) " >&6
18181 if test x
$gcc_no_link = xyes
; then
18182 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18185 /* end confdefs.h. */
18187 #ifdef HAVE_COMPLEX_H
18188 #include <complex.h>
18194 int (*ptr)() = (int (*)())cosf;
18203 if ac_fn_c_try_link
"$LINENO"; then :
18204 gcc_cv_math_func_cosf
=yes
18206 gcc_cv_math_func_cosf
=no
18208 rm -f core conftest.err conftest.
$ac_objext \
18209 conftest
$ac_exeext conftest.
$ac_ext
18211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18212 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18213 if test $gcc_cv_math_func_cosf = yes; then
18215 cat >>confdefs.h
<<_ACEOF
18216 #define HAVE_COSF 1
18224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18225 $as_echo_n "checking for cos... " >&6; }
18226 if test "${gcc_cv_math_func_cos+set}" = set; then :
18227 $as_echo_n "(cached) " >&6
18229 if test x
$gcc_no_link = xyes
; then
18230 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18233 /* end confdefs.h. */
18235 #ifdef HAVE_COMPLEX_H
18236 #include <complex.h>
18242 int (*ptr)() = (int (*)())cos;
18251 if ac_fn_c_try_link
"$LINENO"; then :
18252 gcc_cv_math_func_cos
=yes
18254 gcc_cv_math_func_cos
=no
18256 rm -f core conftest.err conftest.
$ac_objext \
18257 conftest
$ac_exeext conftest.
$ac_ext
18259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18260 $as_echo "$gcc_cv_math_func_cos" >&6; }
18261 if test $gcc_cv_math_func_cos = yes; then
18263 cat >>confdefs.h
<<_ACEOF
18272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18273 $as_echo_n "checking for cosl... " >&6; }
18274 if test "${gcc_cv_math_func_cosl+set}" = set; then :
18275 $as_echo_n "(cached) " >&6
18277 if test x
$gcc_no_link = xyes
; then
18278 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18281 /* end confdefs.h. */
18283 #ifdef HAVE_COMPLEX_H
18284 #include <complex.h>
18290 int (*ptr)() = (int (*)())cosl;
18299 if ac_fn_c_try_link
"$LINENO"; then :
18300 gcc_cv_math_func_cosl
=yes
18302 gcc_cv_math_func_cosl
=no
18304 rm -f core conftest.err conftest.
$ac_objext \
18305 conftest
$ac_exeext conftest.
$ac_ext
18307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18308 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18309 if test $gcc_cv_math_func_cosl = yes; then
18311 cat >>confdefs.h
<<_ACEOF
18312 #define HAVE_COSL 1
18320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18321 $as_echo_n "checking for ccosf... " >&6; }
18322 if test "${gcc_cv_math_func_ccosf+set}" = set; then :
18323 $as_echo_n "(cached) " >&6
18325 if test x
$gcc_no_link = xyes
; then
18326 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18329 /* end confdefs.h. */
18331 #ifdef HAVE_COMPLEX_H
18332 #include <complex.h>
18338 int (*ptr)() = (int (*)())ccosf;
18347 if ac_fn_c_try_link
"$LINENO"; then :
18348 gcc_cv_math_func_ccosf
=yes
18350 gcc_cv_math_func_ccosf
=no
18352 rm -f core conftest.err conftest.
$ac_objext \
18353 conftest
$ac_exeext conftest.
$ac_ext
18355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18356 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18357 if test $gcc_cv_math_func_ccosf = yes; then
18359 cat >>confdefs.h
<<_ACEOF
18360 #define HAVE_CCOSF 1
18368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18369 $as_echo_n "checking for ccos... " >&6; }
18370 if test "${gcc_cv_math_func_ccos+set}" = set; then :
18371 $as_echo_n "(cached) " >&6
18373 if test x
$gcc_no_link = xyes
; then
18374 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18377 /* end confdefs.h. */
18379 #ifdef HAVE_COMPLEX_H
18380 #include <complex.h>
18386 int (*ptr)() = (int (*)())ccos;
18395 if ac_fn_c_try_link
"$LINENO"; then :
18396 gcc_cv_math_func_ccos
=yes
18398 gcc_cv_math_func_ccos
=no
18400 rm -f core conftest.err conftest.
$ac_objext \
18401 conftest
$ac_exeext conftest.
$ac_ext
18403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18404 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18405 if test $gcc_cv_math_func_ccos = yes; then
18407 cat >>confdefs.h
<<_ACEOF
18408 #define HAVE_CCOS 1
18416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18417 $as_echo_n "checking for ccosl... " >&6; }
18418 if test "${gcc_cv_math_func_ccosl+set}" = set; then :
18419 $as_echo_n "(cached) " >&6
18421 if test x
$gcc_no_link = xyes
; then
18422 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18425 /* end confdefs.h. */
18427 #ifdef HAVE_COMPLEX_H
18428 #include <complex.h>
18434 int (*ptr)() = (int (*)())ccosl;
18443 if ac_fn_c_try_link
"$LINENO"; then :
18444 gcc_cv_math_func_ccosl
=yes
18446 gcc_cv_math_func_ccosl
=no
18448 rm -f core conftest.err conftest.
$ac_objext \
18449 conftest
$ac_exeext conftest.
$ac_ext
18451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18452 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18453 if test $gcc_cv_math_func_ccosl = yes; then
18455 cat >>confdefs.h
<<_ACEOF
18456 #define HAVE_CCOSL 1
18464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18465 $as_echo_n "checking for coshf... " >&6; }
18466 if test "${gcc_cv_math_func_coshf+set}" = set; then :
18467 $as_echo_n "(cached) " >&6
18469 if test x
$gcc_no_link = xyes
; then
18470 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18473 /* end confdefs.h. */
18475 #ifdef HAVE_COMPLEX_H
18476 #include <complex.h>
18482 int (*ptr)() = (int (*)())coshf;
18491 if ac_fn_c_try_link
"$LINENO"; then :
18492 gcc_cv_math_func_coshf
=yes
18494 gcc_cv_math_func_coshf
=no
18496 rm -f core conftest.err conftest.
$ac_objext \
18497 conftest
$ac_exeext conftest.
$ac_ext
18499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18500 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18501 if test $gcc_cv_math_func_coshf = yes; then
18503 cat >>confdefs.h
<<_ACEOF
18504 #define HAVE_COSHF 1
18512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18513 $as_echo_n "checking for cosh... " >&6; }
18514 if test "${gcc_cv_math_func_cosh+set}" = set; then :
18515 $as_echo_n "(cached) " >&6
18517 if test x
$gcc_no_link = xyes
; then
18518 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18521 /* end confdefs.h. */
18523 #ifdef HAVE_COMPLEX_H
18524 #include <complex.h>
18530 int (*ptr)() = (int (*)())cosh;
18539 if ac_fn_c_try_link
"$LINENO"; then :
18540 gcc_cv_math_func_cosh
=yes
18542 gcc_cv_math_func_cosh
=no
18544 rm -f core conftest.err conftest.
$ac_objext \
18545 conftest
$ac_exeext conftest.
$ac_ext
18547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18548 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18549 if test $gcc_cv_math_func_cosh = yes; then
18551 cat >>confdefs.h
<<_ACEOF
18552 #define HAVE_COSH 1
18560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18561 $as_echo_n "checking for coshl... " >&6; }
18562 if test "${gcc_cv_math_func_coshl+set}" = set; then :
18563 $as_echo_n "(cached) " >&6
18565 if test x
$gcc_no_link = xyes
; then
18566 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18569 /* end confdefs.h. */
18571 #ifdef HAVE_COMPLEX_H
18572 #include <complex.h>
18578 int (*ptr)() = (int (*)())coshl;
18587 if ac_fn_c_try_link
"$LINENO"; then :
18588 gcc_cv_math_func_coshl
=yes
18590 gcc_cv_math_func_coshl
=no
18592 rm -f core conftest.err conftest.
$ac_objext \
18593 conftest
$ac_exeext conftest.
$ac_ext
18595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18596 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18597 if test $gcc_cv_math_func_coshl = yes; then
18599 cat >>confdefs.h
<<_ACEOF
18600 #define HAVE_COSHL 1
18608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18609 $as_echo_n "checking for ccoshf... " >&6; }
18610 if test "${gcc_cv_math_func_ccoshf+set}" = set; then :
18611 $as_echo_n "(cached) " >&6
18613 if test x
$gcc_no_link = xyes
; then
18614 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18617 /* end confdefs.h. */
18619 #ifdef HAVE_COMPLEX_H
18620 #include <complex.h>
18626 int (*ptr)() = (int (*)())ccoshf;
18635 if ac_fn_c_try_link
"$LINENO"; then :
18636 gcc_cv_math_func_ccoshf
=yes
18638 gcc_cv_math_func_ccoshf
=no
18640 rm -f core conftest.err conftest.
$ac_objext \
18641 conftest
$ac_exeext conftest.
$ac_ext
18643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18644 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
18645 if test $gcc_cv_math_func_ccoshf = yes; then
18647 cat >>confdefs.h
<<_ACEOF
18648 #define HAVE_CCOSHF 1
18656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
18657 $as_echo_n "checking for ccosh... " >&6; }
18658 if test "${gcc_cv_math_func_ccosh+set}" = set; then :
18659 $as_echo_n "(cached) " >&6
18661 if test x
$gcc_no_link = xyes
; then
18662 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18665 /* end confdefs.h. */
18667 #ifdef HAVE_COMPLEX_H
18668 #include <complex.h>
18674 int (*ptr)() = (int (*)())ccosh;
18683 if ac_fn_c_try_link
"$LINENO"; then :
18684 gcc_cv_math_func_ccosh
=yes
18686 gcc_cv_math_func_ccosh
=no
18688 rm -f core conftest.err conftest.
$ac_objext \
18689 conftest
$ac_exeext conftest.
$ac_ext
18691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
18692 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
18693 if test $gcc_cv_math_func_ccosh = yes; then
18695 cat >>confdefs.h
<<_ACEOF
18696 #define HAVE_CCOSH 1
18704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
18705 $as_echo_n "checking for ccoshl... " >&6; }
18706 if test "${gcc_cv_math_func_ccoshl+set}" = set; then :
18707 $as_echo_n "(cached) " >&6
18709 if test x
$gcc_no_link = xyes
; then
18710 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18713 /* end confdefs.h. */
18715 #ifdef HAVE_COMPLEX_H
18716 #include <complex.h>
18722 int (*ptr)() = (int (*)())ccoshl;
18731 if ac_fn_c_try_link
"$LINENO"; then :
18732 gcc_cv_math_func_ccoshl
=yes
18734 gcc_cv_math_func_ccoshl
=no
18736 rm -f core conftest.err conftest.
$ac_objext \
18737 conftest
$ac_exeext conftest.
$ac_ext
18739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
18740 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
18741 if test $gcc_cv_math_func_ccoshl = yes; then
18743 cat >>confdefs.h
<<_ACEOF
18744 #define HAVE_CCOSHL 1
18752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
18753 $as_echo_n "checking for expf... " >&6; }
18754 if test "${gcc_cv_math_func_expf+set}" = set; then :
18755 $as_echo_n "(cached) " >&6
18757 if test x
$gcc_no_link = xyes
; then
18758 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18761 /* end confdefs.h. */
18763 #ifdef HAVE_COMPLEX_H
18764 #include <complex.h>
18770 int (*ptr)() = (int (*)())expf;
18779 if ac_fn_c_try_link
"$LINENO"; then :
18780 gcc_cv_math_func_expf
=yes
18782 gcc_cv_math_func_expf
=no
18784 rm -f core conftest.err conftest.
$ac_objext \
18785 conftest
$ac_exeext conftest.
$ac_ext
18787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
18788 $as_echo "$gcc_cv_math_func_expf" >&6; }
18789 if test $gcc_cv_math_func_expf = yes; then
18791 cat >>confdefs.h
<<_ACEOF
18792 #define HAVE_EXPF 1
18800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
18801 $as_echo_n "checking for exp... " >&6; }
18802 if test "${gcc_cv_math_func_exp+set}" = set; then :
18803 $as_echo_n "(cached) " >&6
18805 if test x
$gcc_no_link = xyes
; then
18806 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18809 /* end confdefs.h. */
18811 #ifdef HAVE_COMPLEX_H
18812 #include <complex.h>
18818 int (*ptr)() = (int (*)())exp;
18827 if ac_fn_c_try_link
"$LINENO"; then :
18828 gcc_cv_math_func_exp
=yes
18830 gcc_cv_math_func_exp
=no
18832 rm -f core conftest.err conftest.
$ac_objext \
18833 conftest
$ac_exeext conftest.
$ac_ext
18835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
18836 $as_echo "$gcc_cv_math_func_exp" >&6; }
18837 if test $gcc_cv_math_func_exp = yes; then
18839 cat >>confdefs.h
<<_ACEOF
18848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
18849 $as_echo_n "checking for expl... " >&6; }
18850 if test "${gcc_cv_math_func_expl+set}" = set; then :
18851 $as_echo_n "(cached) " >&6
18853 if test x
$gcc_no_link = xyes
; then
18854 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18857 /* end confdefs.h. */
18859 #ifdef HAVE_COMPLEX_H
18860 #include <complex.h>
18866 int (*ptr)() = (int (*)())expl;
18875 if ac_fn_c_try_link
"$LINENO"; then :
18876 gcc_cv_math_func_expl
=yes
18878 gcc_cv_math_func_expl
=no
18880 rm -f core conftest.err conftest.
$ac_objext \
18881 conftest
$ac_exeext conftest.
$ac_ext
18883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
18884 $as_echo "$gcc_cv_math_func_expl" >&6; }
18885 if test $gcc_cv_math_func_expl = yes; then
18887 cat >>confdefs.h
<<_ACEOF
18888 #define HAVE_EXPL 1
18896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
18897 $as_echo_n "checking for cexpf... " >&6; }
18898 if test "${gcc_cv_math_func_cexpf+set}" = set; then :
18899 $as_echo_n "(cached) " >&6
18901 if test x
$gcc_no_link = xyes
; then
18902 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18905 /* end confdefs.h. */
18907 #ifdef HAVE_COMPLEX_H
18908 #include <complex.h>
18914 int (*ptr)() = (int (*)())cexpf;
18923 if ac_fn_c_try_link
"$LINENO"; then :
18924 gcc_cv_math_func_cexpf
=yes
18926 gcc_cv_math_func_cexpf
=no
18928 rm -f core conftest.err conftest.
$ac_objext \
18929 conftest
$ac_exeext conftest.
$ac_ext
18931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
18932 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
18933 if test $gcc_cv_math_func_cexpf = yes; then
18935 cat >>confdefs.h
<<_ACEOF
18936 #define HAVE_CEXPF 1
18944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
18945 $as_echo_n "checking for cexp... " >&6; }
18946 if test "${gcc_cv_math_func_cexp+set}" = set; then :
18947 $as_echo_n "(cached) " >&6
18949 if test x
$gcc_no_link = xyes
; then
18950 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18953 /* end confdefs.h. */
18955 #ifdef HAVE_COMPLEX_H
18956 #include <complex.h>
18962 int (*ptr)() = (int (*)())cexp;
18971 if ac_fn_c_try_link
"$LINENO"; then :
18972 gcc_cv_math_func_cexp
=yes
18974 gcc_cv_math_func_cexp
=no
18976 rm -f core conftest.err conftest.
$ac_objext \
18977 conftest
$ac_exeext conftest.
$ac_ext
18979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
18980 $as_echo "$gcc_cv_math_func_cexp" >&6; }
18981 if test $gcc_cv_math_func_cexp = yes; then
18983 cat >>confdefs.h
<<_ACEOF
18984 #define HAVE_CEXP 1
18992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
18993 $as_echo_n "checking for cexpl... " >&6; }
18994 if test "${gcc_cv_math_func_cexpl+set}" = set; then :
18995 $as_echo_n "(cached) " >&6
18997 if test x
$gcc_no_link = xyes
; then
18998 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19001 /* end confdefs.h. */
19003 #ifdef HAVE_COMPLEX_H
19004 #include <complex.h>
19010 int (*ptr)() = (int (*)())cexpl;
19019 if ac_fn_c_try_link
"$LINENO"; then :
19020 gcc_cv_math_func_cexpl
=yes
19022 gcc_cv_math_func_cexpl
=no
19024 rm -f core conftest.err conftest.
$ac_objext \
19025 conftest
$ac_exeext conftest.
$ac_ext
19027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19028 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19029 if test $gcc_cv_math_func_cexpl = yes; then
19031 cat >>confdefs.h
<<_ACEOF
19032 #define HAVE_CEXPL 1
19040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19041 $as_echo_n "checking for fabsf... " >&6; }
19042 if test "${gcc_cv_math_func_fabsf+set}" = set; then :
19043 $as_echo_n "(cached) " >&6
19045 if test x
$gcc_no_link = xyes
; then
19046 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19049 /* end confdefs.h. */
19051 #ifdef HAVE_COMPLEX_H
19052 #include <complex.h>
19058 int (*ptr)() = (int (*)())fabsf;
19067 if ac_fn_c_try_link
"$LINENO"; then :
19068 gcc_cv_math_func_fabsf
=yes
19070 gcc_cv_math_func_fabsf
=no
19072 rm -f core conftest.err conftest.
$ac_objext \
19073 conftest
$ac_exeext conftest.
$ac_ext
19075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19076 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19077 if test $gcc_cv_math_func_fabsf = yes; then
19079 cat >>confdefs.h
<<_ACEOF
19080 #define HAVE_FABSF 1
19088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19089 $as_echo_n "checking for fabs... " >&6; }
19090 if test "${gcc_cv_math_func_fabs+set}" = set; then :
19091 $as_echo_n "(cached) " >&6
19093 if test x
$gcc_no_link = xyes
; then
19094 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19097 /* end confdefs.h. */
19099 #ifdef HAVE_COMPLEX_H
19100 #include <complex.h>
19106 int (*ptr)() = (int (*)())fabs;
19115 if ac_fn_c_try_link
"$LINENO"; then :
19116 gcc_cv_math_func_fabs
=yes
19118 gcc_cv_math_func_fabs
=no
19120 rm -f core conftest.err conftest.
$ac_objext \
19121 conftest
$ac_exeext conftest.
$ac_ext
19123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19124 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19125 if test $gcc_cv_math_func_fabs = yes; then
19127 cat >>confdefs.h
<<_ACEOF
19128 #define HAVE_FABS 1
19136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19137 $as_echo_n "checking for fabsl... " >&6; }
19138 if test "${gcc_cv_math_func_fabsl+set}" = set; then :
19139 $as_echo_n "(cached) " >&6
19141 if test x
$gcc_no_link = xyes
; then
19142 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19145 /* end confdefs.h. */
19147 #ifdef HAVE_COMPLEX_H
19148 #include <complex.h>
19154 int (*ptr)() = (int (*)())fabsl;
19163 if ac_fn_c_try_link
"$LINENO"; then :
19164 gcc_cv_math_func_fabsl
=yes
19166 gcc_cv_math_func_fabsl
=no
19168 rm -f core conftest.err conftest.
$ac_objext \
19169 conftest
$ac_exeext conftest.
$ac_ext
19171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19172 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19173 if test $gcc_cv_math_func_fabsl = yes; then
19175 cat >>confdefs.h
<<_ACEOF
19176 #define HAVE_FABSL 1
19184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19185 $as_echo_n "checking for cabsf... " >&6; }
19186 if test "${gcc_cv_math_func_cabsf+set}" = set; then :
19187 $as_echo_n "(cached) " >&6
19189 if test x
$gcc_no_link = xyes
; then
19190 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19193 /* end confdefs.h. */
19195 #ifdef HAVE_COMPLEX_H
19196 #include <complex.h>
19202 int (*ptr)() = (int (*)())cabsf;
19211 if ac_fn_c_try_link
"$LINENO"; then :
19212 gcc_cv_math_func_cabsf
=yes
19214 gcc_cv_math_func_cabsf
=no
19216 rm -f core conftest.err conftest.
$ac_objext \
19217 conftest
$ac_exeext conftest.
$ac_ext
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19220 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19221 if test $gcc_cv_math_func_cabsf = yes; then
19223 cat >>confdefs.h
<<_ACEOF
19224 #define HAVE_CABSF 1
19232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19233 $as_echo_n "checking for cabs... " >&6; }
19234 if test "${gcc_cv_math_func_cabs+set}" = set; then :
19235 $as_echo_n "(cached) " >&6
19237 if test x
$gcc_no_link = xyes
; then
19238 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19241 /* end confdefs.h. */
19243 #ifdef HAVE_COMPLEX_H
19244 #include <complex.h>
19250 int (*ptr)() = (int (*)())cabs;
19259 if ac_fn_c_try_link
"$LINENO"; then :
19260 gcc_cv_math_func_cabs
=yes
19262 gcc_cv_math_func_cabs
=no
19264 rm -f core conftest.err conftest.
$ac_objext \
19265 conftest
$ac_exeext conftest.
$ac_ext
19267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19268 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19269 if test $gcc_cv_math_func_cabs = yes; then
19271 cat >>confdefs.h
<<_ACEOF
19272 #define HAVE_CABS 1
19280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19281 $as_echo_n "checking for cabsl... " >&6; }
19282 if test "${gcc_cv_math_func_cabsl+set}" = set; then :
19283 $as_echo_n "(cached) " >&6
19285 if test x
$gcc_no_link = xyes
; then
19286 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19289 /* end confdefs.h. */
19291 #ifdef HAVE_COMPLEX_H
19292 #include <complex.h>
19298 int (*ptr)() = (int (*)())cabsl;
19307 if ac_fn_c_try_link
"$LINENO"; then :
19308 gcc_cv_math_func_cabsl
=yes
19310 gcc_cv_math_func_cabsl
=no
19312 rm -f core conftest.err conftest.
$ac_objext \
19313 conftest
$ac_exeext conftest.
$ac_ext
19315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19316 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19317 if test $gcc_cv_math_func_cabsl = yes; then
19319 cat >>confdefs.h
<<_ACEOF
19320 #define HAVE_CABSL 1
19328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19329 $as_echo_n "checking for floorf... " >&6; }
19330 if test "${gcc_cv_math_func_floorf+set}" = set; then :
19331 $as_echo_n "(cached) " >&6
19333 if test x
$gcc_no_link = xyes
; then
19334 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19337 /* end confdefs.h. */
19339 #ifdef HAVE_COMPLEX_H
19340 #include <complex.h>
19346 int (*ptr)() = (int (*)())floorf;
19355 if ac_fn_c_try_link
"$LINENO"; then :
19356 gcc_cv_math_func_floorf
=yes
19358 gcc_cv_math_func_floorf
=no
19360 rm -f core conftest.err conftest.
$ac_objext \
19361 conftest
$ac_exeext conftest.
$ac_ext
19363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19364 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19365 if test $gcc_cv_math_func_floorf = yes; then
19367 cat >>confdefs.h
<<_ACEOF
19368 #define HAVE_FLOORF 1
19376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19377 $as_echo_n "checking for floor... " >&6; }
19378 if test "${gcc_cv_math_func_floor+set}" = set; then :
19379 $as_echo_n "(cached) " >&6
19381 if test x
$gcc_no_link = xyes
; then
19382 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19385 /* end confdefs.h. */
19387 #ifdef HAVE_COMPLEX_H
19388 #include <complex.h>
19394 int (*ptr)() = (int (*)())floor;
19403 if ac_fn_c_try_link
"$LINENO"; then :
19404 gcc_cv_math_func_floor
=yes
19406 gcc_cv_math_func_floor
=no
19408 rm -f core conftest.err conftest.
$ac_objext \
19409 conftest
$ac_exeext conftest.
$ac_ext
19411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19412 $as_echo "$gcc_cv_math_func_floor" >&6; }
19413 if test $gcc_cv_math_func_floor = yes; then
19415 cat >>confdefs.h
<<_ACEOF
19416 #define HAVE_FLOOR 1
19424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19425 $as_echo_n "checking for floorl... " >&6; }
19426 if test "${gcc_cv_math_func_floorl+set}" = set; then :
19427 $as_echo_n "(cached) " >&6
19429 if test x
$gcc_no_link = xyes
; then
19430 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19433 /* end confdefs.h. */
19435 #ifdef HAVE_COMPLEX_H
19436 #include <complex.h>
19442 int (*ptr)() = (int (*)())floorl;
19451 if ac_fn_c_try_link
"$LINENO"; then :
19452 gcc_cv_math_func_floorl
=yes
19454 gcc_cv_math_func_floorl
=no
19456 rm -f core conftest.err conftest.
$ac_objext \
19457 conftest
$ac_exeext conftest.
$ac_ext
19459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19460 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19461 if test $gcc_cv_math_func_floorl = yes; then
19463 cat >>confdefs.h
<<_ACEOF
19464 #define HAVE_FLOORL 1
19472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19473 $as_echo_n "checking for fmodf... " >&6; }
19474 if test "${gcc_cv_math_func_fmodf+set}" = set; then :
19475 $as_echo_n "(cached) " >&6
19477 if test x
$gcc_no_link = xyes
; then
19478 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19481 /* end confdefs.h. */
19483 #ifdef HAVE_COMPLEX_H
19484 #include <complex.h>
19490 int (*ptr)() = (int (*)())fmodf;
19499 if ac_fn_c_try_link
"$LINENO"; then :
19500 gcc_cv_math_func_fmodf
=yes
19502 gcc_cv_math_func_fmodf
=no
19504 rm -f core conftest.err conftest.
$ac_objext \
19505 conftest
$ac_exeext conftest.
$ac_ext
19507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19508 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
19509 if test $gcc_cv_math_func_fmodf = yes; then
19511 cat >>confdefs.h
<<_ACEOF
19512 #define HAVE_FMODF 1
19520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19521 $as_echo_n "checking for fmod... " >&6; }
19522 if test "${gcc_cv_math_func_fmod+set}" = set; then :
19523 $as_echo_n "(cached) " >&6
19525 if test x
$gcc_no_link = xyes
; then
19526 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19529 /* end confdefs.h. */
19531 #ifdef HAVE_COMPLEX_H
19532 #include <complex.h>
19538 int (*ptr)() = (int (*)())fmod;
19547 if ac_fn_c_try_link
"$LINENO"; then :
19548 gcc_cv_math_func_fmod
=yes
19550 gcc_cv_math_func_fmod
=no
19552 rm -f core conftest.err conftest.
$ac_objext \
19553 conftest
$ac_exeext conftest.
$ac_ext
19555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19556 $as_echo "$gcc_cv_math_func_fmod" >&6; }
19557 if test $gcc_cv_math_func_fmod = yes; then
19559 cat >>confdefs.h
<<_ACEOF
19560 #define HAVE_FMOD 1
19568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19569 $as_echo_n "checking for fmodl... " >&6; }
19570 if test "${gcc_cv_math_func_fmodl+set}" = set; then :
19571 $as_echo_n "(cached) " >&6
19573 if test x
$gcc_no_link = xyes
; then
19574 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19577 /* end confdefs.h. */
19579 #ifdef HAVE_COMPLEX_H
19580 #include <complex.h>
19586 int (*ptr)() = (int (*)())fmodl;
19595 if ac_fn_c_try_link
"$LINENO"; then :
19596 gcc_cv_math_func_fmodl
=yes
19598 gcc_cv_math_func_fmodl
=no
19600 rm -f core conftest.err conftest.
$ac_objext \
19601 conftest
$ac_exeext conftest.
$ac_ext
19603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19604 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
19605 if test $gcc_cv_math_func_fmodl = yes; then
19607 cat >>confdefs.h
<<_ACEOF
19608 #define HAVE_FMODL 1
19616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19617 $as_echo_n "checking for frexpf... " >&6; }
19618 if test "${gcc_cv_math_func_frexpf+set}" = set; then :
19619 $as_echo_n "(cached) " >&6
19621 if test x
$gcc_no_link = xyes
; then
19622 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19625 /* end confdefs.h. */
19627 #ifdef HAVE_COMPLEX_H
19628 #include <complex.h>
19634 int (*ptr)() = (int (*)())frexpf;
19643 if ac_fn_c_try_link
"$LINENO"; then :
19644 gcc_cv_math_func_frexpf
=yes
19646 gcc_cv_math_func_frexpf
=no
19648 rm -f core conftest.err conftest.
$ac_objext \
19649 conftest
$ac_exeext conftest.
$ac_ext
19651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
19652 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
19653 if test $gcc_cv_math_func_frexpf = yes; then
19655 cat >>confdefs.h
<<_ACEOF
19656 #define HAVE_FREXPF 1
19664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
19665 $as_echo_n "checking for frexp... " >&6; }
19666 if test "${gcc_cv_math_func_frexp+set}" = set; then :
19667 $as_echo_n "(cached) " >&6
19669 if test x
$gcc_no_link = xyes
; then
19670 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19673 /* end confdefs.h. */
19675 #ifdef HAVE_COMPLEX_H
19676 #include <complex.h>
19682 int (*ptr)() = (int (*)())frexp;
19691 if ac_fn_c_try_link
"$LINENO"; then :
19692 gcc_cv_math_func_frexp
=yes
19694 gcc_cv_math_func_frexp
=no
19696 rm -f core conftest.err conftest.
$ac_objext \
19697 conftest
$ac_exeext conftest.
$ac_ext
19699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
19700 $as_echo "$gcc_cv_math_func_frexp" >&6; }
19701 if test $gcc_cv_math_func_frexp = yes; then
19703 cat >>confdefs.h
<<_ACEOF
19704 #define HAVE_FREXP 1
19712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
19713 $as_echo_n "checking for frexpl... " >&6; }
19714 if test "${gcc_cv_math_func_frexpl+set}" = set; then :
19715 $as_echo_n "(cached) " >&6
19717 if test x
$gcc_no_link = xyes
; then
19718 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19721 /* end confdefs.h. */
19723 #ifdef HAVE_COMPLEX_H
19724 #include <complex.h>
19730 int (*ptr)() = (int (*)())frexpl;
19739 if ac_fn_c_try_link
"$LINENO"; then :
19740 gcc_cv_math_func_frexpl
=yes
19742 gcc_cv_math_func_frexpl
=no
19744 rm -f core conftest.err conftest.
$ac_objext \
19745 conftest
$ac_exeext conftest.
$ac_ext
19747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
19748 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
19749 if test $gcc_cv_math_func_frexpl = yes; then
19751 cat >>confdefs.h
<<_ACEOF
19752 #define HAVE_FREXPL 1
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
19761 $as_echo_n "checking for hypotf... " >&6; }
19762 if test "${gcc_cv_math_func_hypotf+set}" = set; then :
19763 $as_echo_n "(cached) " >&6
19765 if test x
$gcc_no_link = xyes
; then
19766 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19769 /* end confdefs.h. */
19771 #ifdef HAVE_COMPLEX_H
19772 #include <complex.h>
19778 int (*ptr)() = (int (*)())hypotf;
19787 if ac_fn_c_try_link
"$LINENO"; then :
19788 gcc_cv_math_func_hypotf
=yes
19790 gcc_cv_math_func_hypotf
=no
19792 rm -f core conftest.err conftest.
$ac_objext \
19793 conftest
$ac_exeext conftest.
$ac_ext
19795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
19796 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
19797 if test $gcc_cv_math_func_hypotf = yes; then
19799 cat >>confdefs.h
<<_ACEOF
19800 #define HAVE_HYPOTF 1
19808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
19809 $as_echo_n "checking for hypot... " >&6; }
19810 if test "${gcc_cv_math_func_hypot+set}" = set; then :
19811 $as_echo_n "(cached) " >&6
19813 if test x
$gcc_no_link = xyes
; then
19814 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19817 /* end confdefs.h. */
19819 #ifdef HAVE_COMPLEX_H
19820 #include <complex.h>
19826 int (*ptr)() = (int (*)())hypot;
19835 if ac_fn_c_try_link
"$LINENO"; then :
19836 gcc_cv_math_func_hypot
=yes
19838 gcc_cv_math_func_hypot
=no
19840 rm -f core conftest.err conftest.
$ac_objext \
19841 conftest
$ac_exeext conftest.
$ac_ext
19843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
19844 $as_echo "$gcc_cv_math_func_hypot" >&6; }
19845 if test $gcc_cv_math_func_hypot = yes; then
19847 cat >>confdefs.h
<<_ACEOF
19848 #define HAVE_HYPOT 1
19856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
19857 $as_echo_n "checking for hypotl... " >&6; }
19858 if test "${gcc_cv_math_func_hypotl+set}" = set; then :
19859 $as_echo_n "(cached) " >&6
19861 if test x
$gcc_no_link = xyes
; then
19862 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19865 /* end confdefs.h. */
19867 #ifdef HAVE_COMPLEX_H
19868 #include <complex.h>
19874 int (*ptr)() = (int (*)())hypotl;
19883 if ac_fn_c_try_link
"$LINENO"; then :
19884 gcc_cv_math_func_hypotl
=yes
19886 gcc_cv_math_func_hypotl
=no
19888 rm -f core conftest.err conftest.
$ac_objext \
19889 conftest
$ac_exeext conftest.
$ac_ext
19891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
19892 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
19893 if test $gcc_cv_math_func_hypotl = yes; then
19895 cat >>confdefs.h
<<_ACEOF
19896 #define HAVE_HYPOTL 1
19904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
19905 $as_echo_n "checking for ldexpf... " >&6; }
19906 if test "${gcc_cv_math_func_ldexpf+set}" = set; then :
19907 $as_echo_n "(cached) " >&6
19909 if test x
$gcc_no_link = xyes
; then
19910 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19913 /* end confdefs.h. */
19915 #ifdef HAVE_COMPLEX_H
19916 #include <complex.h>
19922 int (*ptr)() = (int (*)())ldexpf;
19931 if ac_fn_c_try_link
"$LINENO"; then :
19932 gcc_cv_math_func_ldexpf
=yes
19934 gcc_cv_math_func_ldexpf
=no
19936 rm -f core conftest.err conftest.
$ac_objext \
19937 conftest
$ac_exeext conftest.
$ac_ext
19939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
19940 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
19941 if test $gcc_cv_math_func_ldexpf = yes; then
19943 cat >>confdefs.h
<<_ACEOF
19944 #define HAVE_LDEXPF 1
19952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
19953 $as_echo_n "checking for ldexp... " >&6; }
19954 if test "${gcc_cv_math_func_ldexp+set}" = set; then :
19955 $as_echo_n "(cached) " >&6
19957 if test x
$gcc_no_link = xyes
; then
19958 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19961 /* end confdefs.h. */
19963 #ifdef HAVE_COMPLEX_H
19964 #include <complex.h>
19970 int (*ptr)() = (int (*)())ldexp;
19979 if ac_fn_c_try_link
"$LINENO"; then :
19980 gcc_cv_math_func_ldexp
=yes
19982 gcc_cv_math_func_ldexp
=no
19984 rm -f core conftest.err conftest.
$ac_objext \
19985 conftest
$ac_exeext conftest.
$ac_ext
19987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
19988 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
19989 if test $gcc_cv_math_func_ldexp = yes; then
19991 cat >>confdefs.h
<<_ACEOF
19992 #define HAVE_LDEXP 1
20000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20001 $as_echo_n "checking for ldexpl... " >&6; }
20002 if test "${gcc_cv_math_func_ldexpl+set}" = set; then :
20003 $as_echo_n "(cached) " >&6
20005 if test x
$gcc_no_link = xyes
; then
20006 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20009 /* end confdefs.h. */
20011 #ifdef HAVE_COMPLEX_H
20012 #include <complex.h>
20018 int (*ptr)() = (int (*)())ldexpl;
20027 if ac_fn_c_try_link
"$LINENO"; then :
20028 gcc_cv_math_func_ldexpl
=yes
20030 gcc_cv_math_func_ldexpl
=no
20032 rm -f core conftest.err conftest.
$ac_objext \
20033 conftest
$ac_exeext conftest.
$ac_ext
20035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20036 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20037 if test $gcc_cv_math_func_ldexpl = yes; then
20039 cat >>confdefs.h
<<_ACEOF
20040 #define HAVE_LDEXPL 1
20048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20049 $as_echo_n "checking for logf... " >&6; }
20050 if test "${gcc_cv_math_func_logf+set}" = set; then :
20051 $as_echo_n "(cached) " >&6
20053 if test x
$gcc_no_link = xyes
; then
20054 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20057 /* end confdefs.h. */
20059 #ifdef HAVE_COMPLEX_H
20060 #include <complex.h>
20066 int (*ptr)() = (int (*)())logf;
20075 if ac_fn_c_try_link
"$LINENO"; then :
20076 gcc_cv_math_func_logf
=yes
20078 gcc_cv_math_func_logf
=no
20080 rm -f core conftest.err conftest.
$ac_objext \
20081 conftest
$ac_exeext conftest.
$ac_ext
20083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20084 $as_echo "$gcc_cv_math_func_logf" >&6; }
20085 if test $gcc_cv_math_func_logf = yes; then
20087 cat >>confdefs.h
<<_ACEOF
20088 #define HAVE_LOGF 1
20096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20097 $as_echo_n "checking for log... " >&6; }
20098 if test "${gcc_cv_math_func_log+set}" = set; then :
20099 $as_echo_n "(cached) " >&6
20101 if test x
$gcc_no_link = xyes
; then
20102 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20105 /* end confdefs.h. */
20107 #ifdef HAVE_COMPLEX_H
20108 #include <complex.h>
20114 int (*ptr)() = (int (*)())log;
20123 if ac_fn_c_try_link
"$LINENO"; then :
20124 gcc_cv_math_func_log
=yes
20126 gcc_cv_math_func_log
=no
20128 rm -f core conftest.err conftest.
$ac_objext \
20129 conftest
$ac_exeext conftest.
$ac_ext
20131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20132 $as_echo "$gcc_cv_math_func_log" >&6; }
20133 if test $gcc_cv_math_func_log = yes; then
20135 cat >>confdefs.h
<<_ACEOF
20144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20145 $as_echo_n "checking for logl... " >&6; }
20146 if test "${gcc_cv_math_func_logl+set}" = set; then :
20147 $as_echo_n "(cached) " >&6
20149 if test x
$gcc_no_link = xyes
; then
20150 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20153 /* end confdefs.h. */
20155 #ifdef HAVE_COMPLEX_H
20156 #include <complex.h>
20162 int (*ptr)() = (int (*)())logl;
20171 if ac_fn_c_try_link
"$LINENO"; then :
20172 gcc_cv_math_func_logl
=yes
20174 gcc_cv_math_func_logl
=no
20176 rm -f core conftest.err conftest.
$ac_objext \
20177 conftest
$ac_exeext conftest.
$ac_ext
20179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20180 $as_echo "$gcc_cv_math_func_logl" >&6; }
20181 if test $gcc_cv_math_func_logl = yes; then
20183 cat >>confdefs.h
<<_ACEOF
20184 #define HAVE_LOGL 1
20192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20193 $as_echo_n "checking for clogf... " >&6; }
20194 if test "${gcc_cv_math_func_clogf+set}" = set; then :
20195 $as_echo_n "(cached) " >&6
20197 if test x
$gcc_no_link = xyes
; then
20198 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20201 /* end confdefs.h. */
20203 #ifdef HAVE_COMPLEX_H
20204 #include <complex.h>
20210 int (*ptr)() = (int (*)())clogf;
20219 if ac_fn_c_try_link
"$LINENO"; then :
20220 gcc_cv_math_func_clogf
=yes
20222 gcc_cv_math_func_clogf
=no
20224 rm -f core conftest.err conftest.
$ac_objext \
20225 conftest
$ac_exeext conftest.
$ac_ext
20227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20228 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20229 if test $gcc_cv_math_func_clogf = yes; then
20231 cat >>confdefs.h
<<_ACEOF
20232 #define HAVE_CLOGF 1
20240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20241 $as_echo_n "checking for clog... " >&6; }
20242 if test "${gcc_cv_math_func_clog+set}" = set; then :
20243 $as_echo_n "(cached) " >&6
20245 if test x
$gcc_no_link = xyes
; then
20246 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20249 /* end confdefs.h. */
20251 #ifdef HAVE_COMPLEX_H
20252 #include <complex.h>
20258 int (*ptr)() = (int (*)())clog;
20267 if ac_fn_c_try_link
"$LINENO"; then :
20268 gcc_cv_math_func_clog
=yes
20270 gcc_cv_math_func_clog
=no
20272 rm -f core conftest.err conftest.
$ac_objext \
20273 conftest
$ac_exeext conftest.
$ac_ext
20275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20276 $as_echo "$gcc_cv_math_func_clog" >&6; }
20277 if test $gcc_cv_math_func_clog = yes; then
20279 cat >>confdefs.h
<<_ACEOF
20280 #define HAVE_CLOG 1
20288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20289 $as_echo_n "checking for clogl... " >&6; }
20290 if test "${gcc_cv_math_func_clogl+set}" = set; then :
20291 $as_echo_n "(cached) " >&6
20293 if test x
$gcc_no_link = xyes
; then
20294 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20297 /* end confdefs.h. */
20299 #ifdef HAVE_COMPLEX_H
20300 #include <complex.h>
20306 int (*ptr)() = (int (*)())clogl;
20315 if ac_fn_c_try_link
"$LINENO"; then :
20316 gcc_cv_math_func_clogl
=yes
20318 gcc_cv_math_func_clogl
=no
20320 rm -f core conftest.err conftest.
$ac_objext \
20321 conftest
$ac_exeext conftest.
$ac_ext
20323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20324 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20325 if test $gcc_cv_math_func_clogl = yes; then
20327 cat >>confdefs.h
<<_ACEOF
20328 #define HAVE_CLOGL 1
20336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20337 $as_echo_n "checking for log10f... " >&6; }
20338 if test "${gcc_cv_math_func_log10f+set}" = set; then :
20339 $as_echo_n "(cached) " >&6
20341 if test x
$gcc_no_link = xyes
; then
20342 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20345 /* end confdefs.h. */
20347 #ifdef HAVE_COMPLEX_H
20348 #include <complex.h>
20354 int (*ptr)() = (int (*)())log10f;
20363 if ac_fn_c_try_link
"$LINENO"; then :
20364 gcc_cv_math_func_log10f
=yes
20366 gcc_cv_math_func_log10f
=no
20368 rm -f core conftest.err conftest.
$ac_objext \
20369 conftest
$ac_exeext conftest.
$ac_ext
20371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20372 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20373 if test $gcc_cv_math_func_log10f = yes; then
20375 cat >>confdefs.h
<<_ACEOF
20376 #define HAVE_LOG10F 1
20384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20385 $as_echo_n "checking for log10... " >&6; }
20386 if test "${gcc_cv_math_func_log10+set}" = set; then :
20387 $as_echo_n "(cached) " >&6
20389 if test x
$gcc_no_link = xyes
; then
20390 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20393 /* end confdefs.h. */
20395 #ifdef HAVE_COMPLEX_H
20396 #include <complex.h>
20402 int (*ptr)() = (int (*)())log10;
20411 if ac_fn_c_try_link
"$LINENO"; then :
20412 gcc_cv_math_func_log10
=yes
20414 gcc_cv_math_func_log10
=no
20416 rm -f core conftest.err conftest.
$ac_objext \
20417 conftest
$ac_exeext conftest.
$ac_ext
20419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20420 $as_echo "$gcc_cv_math_func_log10" >&6; }
20421 if test $gcc_cv_math_func_log10 = yes; then
20423 cat >>confdefs.h
<<_ACEOF
20424 #define HAVE_LOG10 1
20432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20433 $as_echo_n "checking for log10l... " >&6; }
20434 if test "${gcc_cv_math_func_log10l+set}" = set; then :
20435 $as_echo_n "(cached) " >&6
20437 if test x
$gcc_no_link = xyes
; then
20438 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20441 /* end confdefs.h. */
20443 #ifdef HAVE_COMPLEX_H
20444 #include <complex.h>
20450 int (*ptr)() = (int (*)())log10l;
20459 if ac_fn_c_try_link
"$LINENO"; then :
20460 gcc_cv_math_func_log10l
=yes
20462 gcc_cv_math_func_log10l
=no
20464 rm -f core conftest.err conftest.
$ac_objext \
20465 conftest
$ac_exeext conftest.
$ac_ext
20467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20468 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20469 if test $gcc_cv_math_func_log10l = yes; then
20471 cat >>confdefs.h
<<_ACEOF
20472 #define HAVE_LOG10L 1
20480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20481 $as_echo_n "checking for clog10f... " >&6; }
20482 if test "${gcc_cv_math_func_clog10f+set}" = set; then :
20483 $as_echo_n "(cached) " >&6
20485 if test x
$gcc_no_link = xyes
; then
20486 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20489 /* end confdefs.h. */
20491 #ifdef HAVE_COMPLEX_H
20492 #include <complex.h>
20498 int (*ptr)() = (int (*)())clog10f;
20507 if ac_fn_c_try_link
"$LINENO"; then :
20508 gcc_cv_math_func_clog10f
=yes
20510 gcc_cv_math_func_clog10f
=no
20512 rm -f core conftest.err conftest.
$ac_objext \
20513 conftest
$ac_exeext conftest.
$ac_ext
20515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20516 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
20517 if test $gcc_cv_math_func_clog10f = yes; then
20519 cat >>confdefs.h
<<_ACEOF
20520 #define HAVE_CLOG10F 1
20528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20529 $as_echo_n "checking for clog10... " >&6; }
20530 if test "${gcc_cv_math_func_clog10+set}" = set; then :
20531 $as_echo_n "(cached) " >&6
20533 if test x
$gcc_no_link = xyes
; then
20534 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20537 /* end confdefs.h. */
20539 #ifdef HAVE_COMPLEX_H
20540 #include <complex.h>
20546 int (*ptr)() = (int (*)())clog10;
20555 if ac_fn_c_try_link
"$LINENO"; then :
20556 gcc_cv_math_func_clog10
=yes
20558 gcc_cv_math_func_clog10
=no
20560 rm -f core conftest.err conftest.
$ac_objext \
20561 conftest
$ac_exeext conftest.
$ac_ext
20563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20564 $as_echo "$gcc_cv_math_func_clog10" >&6; }
20565 if test $gcc_cv_math_func_clog10 = yes; then
20567 cat >>confdefs.h
<<_ACEOF
20568 #define HAVE_CLOG10 1
20576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20577 $as_echo_n "checking for clog10l... " >&6; }
20578 if test "${gcc_cv_math_func_clog10l+set}" = set; then :
20579 $as_echo_n "(cached) " >&6
20581 if test x
$gcc_no_link = xyes
; then
20582 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20585 /* end confdefs.h. */
20587 #ifdef HAVE_COMPLEX_H
20588 #include <complex.h>
20594 int (*ptr)() = (int (*)())clog10l;
20603 if ac_fn_c_try_link
"$LINENO"; then :
20604 gcc_cv_math_func_clog10l
=yes
20606 gcc_cv_math_func_clog10l
=no
20608 rm -f core conftest.err conftest.
$ac_objext \
20609 conftest
$ac_exeext conftest.
$ac_ext
20611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20612 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
20613 if test $gcc_cv_math_func_clog10l = yes; then
20615 cat >>confdefs.h
<<_ACEOF
20616 #define HAVE_CLOG10L 1
20624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20625 $as_echo_n "checking for nextafterf... " >&6; }
20626 if test "${gcc_cv_math_func_nextafterf+set}" = set; then :
20627 $as_echo_n "(cached) " >&6
20629 if test x
$gcc_no_link = xyes
; then
20630 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20633 /* end confdefs.h. */
20635 #ifdef HAVE_COMPLEX_H
20636 #include <complex.h>
20642 int (*ptr)() = (int (*)())nextafterf;
20651 if ac_fn_c_try_link
"$LINENO"; then :
20652 gcc_cv_math_func_nextafterf
=yes
20654 gcc_cv_math_func_nextafterf
=no
20656 rm -f core conftest.err conftest.
$ac_objext \
20657 conftest
$ac_exeext conftest.
$ac_ext
20659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
20660 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
20661 if test $gcc_cv_math_func_nextafterf = yes; then
20663 cat >>confdefs.h
<<_ACEOF
20664 #define HAVE_NEXTAFTERF 1
20672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
20673 $as_echo_n "checking for nextafter... " >&6; }
20674 if test "${gcc_cv_math_func_nextafter+set}" = set; then :
20675 $as_echo_n "(cached) " >&6
20677 if test x
$gcc_no_link = xyes
; then
20678 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20681 /* end confdefs.h. */
20683 #ifdef HAVE_COMPLEX_H
20684 #include <complex.h>
20690 int (*ptr)() = (int (*)())nextafter;
20699 if ac_fn_c_try_link
"$LINENO"; then :
20700 gcc_cv_math_func_nextafter
=yes
20702 gcc_cv_math_func_nextafter
=no
20704 rm -f core conftest.err conftest.
$ac_objext \
20705 conftest
$ac_exeext conftest.
$ac_ext
20707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
20708 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
20709 if test $gcc_cv_math_func_nextafter = yes; then
20711 cat >>confdefs.h
<<_ACEOF
20712 #define HAVE_NEXTAFTER 1
20720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
20721 $as_echo_n "checking for nextafterl... " >&6; }
20722 if test "${gcc_cv_math_func_nextafterl+set}" = set; then :
20723 $as_echo_n "(cached) " >&6
20725 if test x
$gcc_no_link = xyes
; then
20726 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20729 /* end confdefs.h. */
20731 #ifdef HAVE_COMPLEX_H
20732 #include <complex.h>
20738 int (*ptr)() = (int (*)())nextafterl;
20747 if ac_fn_c_try_link
"$LINENO"; then :
20748 gcc_cv_math_func_nextafterl
=yes
20750 gcc_cv_math_func_nextafterl
=no
20752 rm -f core conftest.err conftest.
$ac_objext \
20753 conftest
$ac_exeext conftest.
$ac_ext
20755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
20756 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
20757 if test $gcc_cv_math_func_nextafterl = yes; then
20759 cat >>confdefs.h
<<_ACEOF
20760 #define HAVE_NEXTAFTERL 1
20768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
20769 $as_echo_n "checking for powf... " >&6; }
20770 if test "${gcc_cv_math_func_powf+set}" = set; then :
20771 $as_echo_n "(cached) " >&6
20773 if test x
$gcc_no_link = xyes
; then
20774 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20777 /* end confdefs.h. */
20779 #ifdef HAVE_COMPLEX_H
20780 #include <complex.h>
20786 int (*ptr)() = (int (*)())powf;
20795 if ac_fn_c_try_link
"$LINENO"; then :
20796 gcc_cv_math_func_powf
=yes
20798 gcc_cv_math_func_powf
=no
20800 rm -f core conftest.err conftest.
$ac_objext \
20801 conftest
$ac_exeext conftest.
$ac_ext
20803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
20804 $as_echo "$gcc_cv_math_func_powf" >&6; }
20805 if test $gcc_cv_math_func_powf = yes; then
20807 cat >>confdefs.h
<<_ACEOF
20808 #define HAVE_POWF 1
20816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
20817 $as_echo_n "checking for pow... " >&6; }
20818 if test "${gcc_cv_math_func_pow+set}" = set; then :
20819 $as_echo_n "(cached) " >&6
20821 if test x
$gcc_no_link = xyes
; then
20822 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20825 /* end confdefs.h. */
20827 #ifdef HAVE_COMPLEX_H
20828 #include <complex.h>
20834 int (*ptr)() = (int (*)())pow;
20843 if ac_fn_c_try_link
"$LINENO"; then :
20844 gcc_cv_math_func_pow
=yes
20846 gcc_cv_math_func_pow
=no
20848 rm -f core conftest.err conftest.
$ac_objext \
20849 conftest
$ac_exeext conftest.
$ac_ext
20851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
20852 $as_echo "$gcc_cv_math_func_pow" >&6; }
20853 if test $gcc_cv_math_func_pow = yes; then
20855 cat >>confdefs.h
<<_ACEOF
20864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl" >&5
20865 $as_echo_n "checking for powl... " >&6; }
20866 if test "${gcc_cv_math_func_powl+set}" = set; then :
20867 $as_echo_n "(cached) " >&6
20869 if test x
$gcc_no_link = xyes
; then
20870 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20873 /* end confdefs.h. */
20875 #ifdef HAVE_COMPLEX_H
20876 #include <complex.h>
20882 int (*ptr)() = (int (*)())powl;
20891 if ac_fn_c_try_link
"$LINENO"; then :
20892 gcc_cv_math_func_powl
=yes
20894 gcc_cv_math_func_powl
=no
20896 rm -f core conftest.err conftest.
$ac_objext \
20897 conftest
$ac_exeext conftest.
$ac_ext
20899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powl" >&5
20900 $as_echo "$gcc_cv_math_func_powl" >&6; }
20901 if test $gcc_cv_math_func_powl = yes; then
20903 cat >>confdefs.h
<<_ACEOF
20904 #define HAVE_POWL 1
20912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
20913 $as_echo_n "checking for cpowf... " >&6; }
20914 if test "${gcc_cv_math_func_cpowf+set}" = set; then :
20915 $as_echo_n "(cached) " >&6
20917 if test x
$gcc_no_link = xyes
; then
20918 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20921 /* end confdefs.h. */
20923 #ifdef HAVE_COMPLEX_H
20924 #include <complex.h>
20930 int (*ptr)() = (int (*)())cpowf;
20939 if ac_fn_c_try_link
"$LINENO"; then :
20940 gcc_cv_math_func_cpowf
=yes
20942 gcc_cv_math_func_cpowf
=no
20944 rm -f core conftest.err conftest.
$ac_objext \
20945 conftest
$ac_exeext conftest.
$ac_ext
20947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
20948 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
20949 if test $gcc_cv_math_func_cpowf = yes; then
20951 cat >>confdefs.h
<<_ACEOF
20952 #define HAVE_CPOWF 1
20960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
20961 $as_echo_n "checking for cpow... " >&6; }
20962 if test "${gcc_cv_math_func_cpow+set}" = set; then :
20963 $as_echo_n "(cached) " >&6
20965 if test x
$gcc_no_link = xyes
; then
20966 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20969 /* end confdefs.h. */
20971 #ifdef HAVE_COMPLEX_H
20972 #include <complex.h>
20978 int (*ptr)() = (int (*)())cpow;
20987 if ac_fn_c_try_link
"$LINENO"; then :
20988 gcc_cv_math_func_cpow
=yes
20990 gcc_cv_math_func_cpow
=no
20992 rm -f core conftest.err conftest.
$ac_objext \
20993 conftest
$ac_exeext conftest.
$ac_ext
20995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
20996 $as_echo "$gcc_cv_math_func_cpow" >&6; }
20997 if test $gcc_cv_math_func_cpow = yes; then
20999 cat >>confdefs.h
<<_ACEOF
21000 #define HAVE_CPOW 1
21008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21009 $as_echo_n "checking for cpowl... " >&6; }
21010 if test "${gcc_cv_math_func_cpowl+set}" = set; then :
21011 $as_echo_n "(cached) " >&6
21013 if test x
$gcc_no_link = xyes
; then
21014 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21017 /* end confdefs.h. */
21019 #ifdef HAVE_COMPLEX_H
21020 #include <complex.h>
21026 int (*ptr)() = (int (*)())cpowl;
21035 if ac_fn_c_try_link
"$LINENO"; then :
21036 gcc_cv_math_func_cpowl
=yes
21038 gcc_cv_math_func_cpowl
=no
21040 rm -f core conftest.err conftest.
$ac_objext \
21041 conftest
$ac_exeext conftest.
$ac_ext
21043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21044 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21045 if test $gcc_cv_math_func_cpowl = yes; then
21047 cat >>confdefs.h
<<_ACEOF
21048 #define HAVE_CPOWL 1
21056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21057 $as_echo_n "checking for roundf... " >&6; }
21058 if test "${gcc_cv_math_func_roundf+set}" = set; then :
21059 $as_echo_n "(cached) " >&6
21061 if test x
$gcc_no_link = xyes
; then
21062 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21065 /* end confdefs.h. */
21067 #ifdef HAVE_COMPLEX_H
21068 #include <complex.h>
21074 int (*ptr)() = (int (*)())roundf;
21083 if ac_fn_c_try_link
"$LINENO"; then :
21084 gcc_cv_math_func_roundf
=yes
21086 gcc_cv_math_func_roundf
=no
21088 rm -f core conftest.err conftest.
$ac_objext \
21089 conftest
$ac_exeext conftest.
$ac_ext
21091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21092 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21093 if test $gcc_cv_math_func_roundf = yes; then
21095 cat >>confdefs.h
<<_ACEOF
21096 #define HAVE_ROUNDF 1
21104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21105 $as_echo_n "checking for round... " >&6; }
21106 if test "${gcc_cv_math_func_round+set}" = set; then :
21107 $as_echo_n "(cached) " >&6
21109 if test x
$gcc_no_link = xyes
; then
21110 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21113 /* end confdefs.h. */
21115 #ifdef HAVE_COMPLEX_H
21116 #include <complex.h>
21122 int (*ptr)() = (int (*)())round;
21131 if ac_fn_c_try_link
"$LINENO"; then :
21132 gcc_cv_math_func_round
=yes
21134 gcc_cv_math_func_round
=no
21136 rm -f core conftest.err conftest.
$ac_objext \
21137 conftest
$ac_exeext conftest.
$ac_ext
21139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21140 $as_echo "$gcc_cv_math_func_round" >&6; }
21141 if test $gcc_cv_math_func_round = yes; then
21143 cat >>confdefs.h
<<_ACEOF
21144 #define HAVE_ROUND 1
21152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21153 $as_echo_n "checking for roundl... " >&6; }
21154 if test "${gcc_cv_math_func_roundl+set}" = set; then :
21155 $as_echo_n "(cached) " >&6
21157 if test x
$gcc_no_link = xyes
; then
21158 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21161 /* end confdefs.h. */
21163 #ifdef HAVE_COMPLEX_H
21164 #include <complex.h>
21170 int (*ptr)() = (int (*)())roundl;
21179 if ac_fn_c_try_link
"$LINENO"; then :
21180 gcc_cv_math_func_roundl
=yes
21182 gcc_cv_math_func_roundl
=no
21184 rm -f core conftest.err conftest.
$ac_objext \
21185 conftest
$ac_exeext conftest.
$ac_ext
21187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21188 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21189 if test $gcc_cv_math_func_roundl = yes; then
21191 cat >>confdefs.h
<<_ACEOF
21192 #define HAVE_ROUNDL 1
21200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21201 $as_echo_n "checking for lroundf... " >&6; }
21202 if test "${gcc_cv_math_func_lroundf+set}" = set; then :
21203 $as_echo_n "(cached) " >&6
21205 if test x
$gcc_no_link = xyes
; then
21206 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21209 /* end confdefs.h. */
21211 #ifdef HAVE_COMPLEX_H
21212 #include <complex.h>
21218 int (*ptr)() = (int (*)())lroundf;
21227 if ac_fn_c_try_link
"$LINENO"; then :
21228 gcc_cv_math_func_lroundf
=yes
21230 gcc_cv_math_func_lroundf
=no
21232 rm -f core conftest.err conftest.
$ac_objext \
21233 conftest
$ac_exeext conftest.
$ac_ext
21235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21236 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21237 if test $gcc_cv_math_func_lroundf = yes; then
21239 cat >>confdefs.h
<<_ACEOF
21240 #define HAVE_LROUNDF 1
21248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21249 $as_echo_n "checking for lround... " >&6; }
21250 if test "${gcc_cv_math_func_lround+set}" = set; then :
21251 $as_echo_n "(cached) " >&6
21253 if test x
$gcc_no_link = xyes
; then
21254 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21257 /* end confdefs.h. */
21259 #ifdef HAVE_COMPLEX_H
21260 #include <complex.h>
21266 int (*ptr)() = (int (*)())lround;
21275 if ac_fn_c_try_link
"$LINENO"; then :
21276 gcc_cv_math_func_lround
=yes
21278 gcc_cv_math_func_lround
=no
21280 rm -f core conftest.err conftest.
$ac_objext \
21281 conftest
$ac_exeext conftest.
$ac_ext
21283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21284 $as_echo "$gcc_cv_math_func_lround" >&6; }
21285 if test $gcc_cv_math_func_lround = yes; then
21287 cat >>confdefs.h
<<_ACEOF
21288 #define HAVE_LROUND 1
21296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21297 $as_echo_n "checking for lroundl... " >&6; }
21298 if test "${gcc_cv_math_func_lroundl+set}" = set; then :
21299 $as_echo_n "(cached) " >&6
21301 if test x
$gcc_no_link = xyes
; then
21302 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21305 /* end confdefs.h. */
21307 #ifdef HAVE_COMPLEX_H
21308 #include <complex.h>
21314 int (*ptr)() = (int (*)())lroundl;
21323 if ac_fn_c_try_link
"$LINENO"; then :
21324 gcc_cv_math_func_lroundl
=yes
21326 gcc_cv_math_func_lroundl
=no
21328 rm -f core conftest.err conftest.
$ac_objext \
21329 conftest
$ac_exeext conftest.
$ac_ext
21331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21332 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21333 if test $gcc_cv_math_func_lroundl = yes; then
21335 cat >>confdefs.h
<<_ACEOF
21336 #define HAVE_LROUNDL 1
21344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21345 $as_echo_n "checking for llroundf... " >&6; }
21346 if test "${gcc_cv_math_func_llroundf+set}" = set; then :
21347 $as_echo_n "(cached) " >&6
21349 if test x
$gcc_no_link = xyes
; then
21350 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21353 /* end confdefs.h. */
21355 #ifdef HAVE_COMPLEX_H
21356 #include <complex.h>
21362 int (*ptr)() = (int (*)())llroundf;
21371 if ac_fn_c_try_link
"$LINENO"; then :
21372 gcc_cv_math_func_llroundf
=yes
21374 gcc_cv_math_func_llroundf
=no
21376 rm -f core conftest.err conftest.
$ac_objext \
21377 conftest
$ac_exeext conftest.
$ac_ext
21379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21380 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21381 if test $gcc_cv_math_func_llroundf = yes; then
21383 cat >>confdefs.h
<<_ACEOF
21384 #define HAVE_LLROUNDF 1
21392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21393 $as_echo_n "checking for llround... " >&6; }
21394 if test "${gcc_cv_math_func_llround+set}" = set; then :
21395 $as_echo_n "(cached) " >&6
21397 if test x
$gcc_no_link = xyes
; then
21398 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21401 /* end confdefs.h. */
21403 #ifdef HAVE_COMPLEX_H
21404 #include <complex.h>
21410 int (*ptr)() = (int (*)())llround;
21419 if ac_fn_c_try_link
"$LINENO"; then :
21420 gcc_cv_math_func_llround
=yes
21422 gcc_cv_math_func_llround
=no
21424 rm -f core conftest.err conftest.
$ac_objext \
21425 conftest
$ac_exeext conftest.
$ac_ext
21427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21428 $as_echo "$gcc_cv_math_func_llround" >&6; }
21429 if test $gcc_cv_math_func_llround = yes; then
21431 cat >>confdefs.h
<<_ACEOF
21432 #define HAVE_LLROUND 1
21440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21441 $as_echo_n "checking for llroundl... " >&6; }
21442 if test "${gcc_cv_math_func_llroundl+set}" = set; then :
21443 $as_echo_n "(cached) " >&6
21445 if test x
$gcc_no_link = xyes
; then
21446 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21449 /* end confdefs.h. */
21451 #ifdef HAVE_COMPLEX_H
21452 #include <complex.h>
21458 int (*ptr)() = (int (*)())llroundl;
21467 if ac_fn_c_try_link
"$LINENO"; then :
21468 gcc_cv_math_func_llroundl
=yes
21470 gcc_cv_math_func_llroundl
=no
21472 rm -f core conftest.err conftest.
$ac_objext \
21473 conftest
$ac_exeext conftest.
$ac_ext
21475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21476 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21477 if test $gcc_cv_math_func_llroundl = yes; then
21479 cat >>confdefs.h
<<_ACEOF
21480 #define HAVE_LLROUNDL 1
21488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21489 $as_echo_n "checking for scalbnf... " >&6; }
21490 if test "${gcc_cv_math_func_scalbnf+set}" = set; then :
21491 $as_echo_n "(cached) " >&6
21493 if test x
$gcc_no_link = xyes
; then
21494 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21497 /* end confdefs.h. */
21499 #ifdef HAVE_COMPLEX_H
21500 #include <complex.h>
21506 int (*ptr)() = (int (*)())scalbnf;
21515 if ac_fn_c_try_link
"$LINENO"; then :
21516 gcc_cv_math_func_scalbnf
=yes
21518 gcc_cv_math_func_scalbnf
=no
21520 rm -f core conftest.err conftest.
$ac_objext \
21521 conftest
$ac_exeext conftest.
$ac_ext
21523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21524 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21525 if test $gcc_cv_math_func_scalbnf = yes; then
21527 cat >>confdefs.h
<<_ACEOF
21528 #define HAVE_SCALBNF 1
21536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21537 $as_echo_n "checking for scalbn... " >&6; }
21538 if test "${gcc_cv_math_func_scalbn+set}" = set; then :
21539 $as_echo_n "(cached) " >&6
21541 if test x
$gcc_no_link = xyes
; then
21542 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21545 /* end confdefs.h. */
21547 #ifdef HAVE_COMPLEX_H
21548 #include <complex.h>
21554 int (*ptr)() = (int (*)())scalbn;
21563 if ac_fn_c_try_link
"$LINENO"; then :
21564 gcc_cv_math_func_scalbn
=yes
21566 gcc_cv_math_func_scalbn
=no
21568 rm -f core conftest.err conftest.
$ac_objext \
21569 conftest
$ac_exeext conftest.
$ac_ext
21571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21572 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
21573 if test $gcc_cv_math_func_scalbn = yes; then
21575 cat >>confdefs.h
<<_ACEOF
21576 #define HAVE_SCALBN 1
21584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21585 $as_echo_n "checking for scalbnl... " >&6; }
21586 if test "${gcc_cv_math_func_scalbnl+set}" = set; then :
21587 $as_echo_n "(cached) " >&6
21589 if test x
$gcc_no_link = xyes
; then
21590 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21593 /* end confdefs.h. */
21595 #ifdef HAVE_COMPLEX_H
21596 #include <complex.h>
21602 int (*ptr)() = (int (*)())scalbnl;
21611 if ac_fn_c_try_link
"$LINENO"; then :
21612 gcc_cv_math_func_scalbnl
=yes
21614 gcc_cv_math_func_scalbnl
=no
21616 rm -f core conftest.err conftest.
$ac_objext \
21617 conftest
$ac_exeext conftest.
$ac_ext
21619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21620 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21621 if test $gcc_cv_math_func_scalbnl = yes; then
21623 cat >>confdefs.h
<<_ACEOF
21624 #define HAVE_SCALBNL 1
21632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21633 $as_echo_n "checking for sinf... " >&6; }
21634 if test "${gcc_cv_math_func_sinf+set}" = set; then :
21635 $as_echo_n "(cached) " >&6
21637 if test x
$gcc_no_link = xyes
; then
21638 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21641 /* end confdefs.h. */
21643 #ifdef HAVE_COMPLEX_H
21644 #include <complex.h>
21650 int (*ptr)() = (int (*)())sinf;
21659 if ac_fn_c_try_link
"$LINENO"; then :
21660 gcc_cv_math_func_sinf
=yes
21662 gcc_cv_math_func_sinf
=no
21664 rm -f core conftest.err conftest.
$ac_objext \
21665 conftest
$ac_exeext conftest.
$ac_ext
21667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21668 $as_echo "$gcc_cv_math_func_sinf" >&6; }
21669 if test $gcc_cv_math_func_sinf = yes; then
21671 cat >>confdefs.h
<<_ACEOF
21672 #define HAVE_SINF 1
21680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21681 $as_echo_n "checking for sin... " >&6; }
21682 if test "${gcc_cv_math_func_sin+set}" = set; then :
21683 $as_echo_n "(cached) " >&6
21685 if test x
$gcc_no_link = xyes
; then
21686 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21689 /* end confdefs.h. */
21691 #ifdef HAVE_COMPLEX_H
21692 #include <complex.h>
21698 int (*ptr)() = (int (*)())sin;
21707 if ac_fn_c_try_link
"$LINENO"; then :
21708 gcc_cv_math_func_sin
=yes
21710 gcc_cv_math_func_sin
=no
21712 rm -f core conftest.err conftest.
$ac_objext \
21713 conftest
$ac_exeext conftest.
$ac_ext
21715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
21716 $as_echo "$gcc_cv_math_func_sin" >&6; }
21717 if test $gcc_cv_math_func_sin = yes; then
21719 cat >>confdefs.h
<<_ACEOF
21728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
21729 $as_echo_n "checking for sinl... " >&6; }
21730 if test "${gcc_cv_math_func_sinl+set}" = set; then :
21731 $as_echo_n "(cached) " >&6
21733 if test x
$gcc_no_link = xyes
; then
21734 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21737 /* end confdefs.h. */
21739 #ifdef HAVE_COMPLEX_H
21740 #include <complex.h>
21746 int (*ptr)() = (int (*)())sinl;
21755 if ac_fn_c_try_link
"$LINENO"; then :
21756 gcc_cv_math_func_sinl
=yes
21758 gcc_cv_math_func_sinl
=no
21760 rm -f core conftest.err conftest.
$ac_objext \
21761 conftest
$ac_exeext conftest.
$ac_ext
21763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
21764 $as_echo "$gcc_cv_math_func_sinl" >&6; }
21765 if test $gcc_cv_math_func_sinl = yes; then
21767 cat >>confdefs.h
<<_ACEOF
21768 #define HAVE_SINL 1
21776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
21777 $as_echo_n "checking for csinf... " >&6; }
21778 if test "${gcc_cv_math_func_csinf+set}" = set; then :
21779 $as_echo_n "(cached) " >&6
21781 if test x
$gcc_no_link = xyes
; then
21782 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21785 /* end confdefs.h. */
21787 #ifdef HAVE_COMPLEX_H
21788 #include <complex.h>
21794 int (*ptr)() = (int (*)())csinf;
21803 if ac_fn_c_try_link
"$LINENO"; then :
21804 gcc_cv_math_func_csinf
=yes
21806 gcc_cv_math_func_csinf
=no
21808 rm -f core conftest.err conftest.
$ac_objext \
21809 conftest
$ac_exeext conftest.
$ac_ext
21811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
21812 $as_echo "$gcc_cv_math_func_csinf" >&6; }
21813 if test $gcc_cv_math_func_csinf = yes; then
21815 cat >>confdefs.h
<<_ACEOF
21816 #define HAVE_CSINF 1
21824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
21825 $as_echo_n "checking for csin... " >&6; }
21826 if test "${gcc_cv_math_func_csin+set}" = set; then :
21827 $as_echo_n "(cached) " >&6
21829 if test x
$gcc_no_link = xyes
; then
21830 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21833 /* end confdefs.h. */
21835 #ifdef HAVE_COMPLEX_H
21836 #include <complex.h>
21842 int (*ptr)() = (int (*)())csin;
21851 if ac_fn_c_try_link
"$LINENO"; then :
21852 gcc_cv_math_func_csin
=yes
21854 gcc_cv_math_func_csin
=no
21856 rm -f core conftest.err conftest.
$ac_objext \
21857 conftest
$ac_exeext conftest.
$ac_ext
21859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
21860 $as_echo "$gcc_cv_math_func_csin" >&6; }
21861 if test $gcc_cv_math_func_csin = yes; then
21863 cat >>confdefs.h
<<_ACEOF
21864 #define HAVE_CSIN 1
21872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
21873 $as_echo_n "checking for csinl... " >&6; }
21874 if test "${gcc_cv_math_func_csinl+set}" = set; then :
21875 $as_echo_n "(cached) " >&6
21877 if test x
$gcc_no_link = xyes
; then
21878 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21881 /* end confdefs.h. */
21883 #ifdef HAVE_COMPLEX_H
21884 #include <complex.h>
21890 int (*ptr)() = (int (*)())csinl;
21899 if ac_fn_c_try_link
"$LINENO"; then :
21900 gcc_cv_math_func_csinl
=yes
21902 gcc_cv_math_func_csinl
=no
21904 rm -f core conftest.err conftest.
$ac_objext \
21905 conftest
$ac_exeext conftest.
$ac_ext
21907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
21908 $as_echo "$gcc_cv_math_func_csinl" >&6; }
21909 if test $gcc_cv_math_func_csinl = yes; then
21911 cat >>confdefs.h
<<_ACEOF
21912 #define HAVE_CSINL 1
21920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
21921 $as_echo_n "checking for sinhf... " >&6; }
21922 if test "${gcc_cv_math_func_sinhf+set}" = set; then :
21923 $as_echo_n "(cached) " >&6
21925 if test x
$gcc_no_link = xyes
; then
21926 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21929 /* end confdefs.h. */
21931 #ifdef HAVE_COMPLEX_H
21932 #include <complex.h>
21938 int (*ptr)() = (int (*)())sinhf;
21947 if ac_fn_c_try_link
"$LINENO"; then :
21948 gcc_cv_math_func_sinhf
=yes
21950 gcc_cv_math_func_sinhf
=no
21952 rm -f core conftest.err conftest.
$ac_objext \
21953 conftest
$ac_exeext conftest.
$ac_ext
21955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
21956 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
21957 if test $gcc_cv_math_func_sinhf = yes; then
21959 cat >>confdefs.h
<<_ACEOF
21960 #define HAVE_SINHF 1
21968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
21969 $as_echo_n "checking for sinh... " >&6; }
21970 if test "${gcc_cv_math_func_sinh+set}" = set; then :
21971 $as_echo_n "(cached) " >&6
21973 if test x
$gcc_no_link = xyes
; then
21974 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21977 /* end confdefs.h. */
21979 #ifdef HAVE_COMPLEX_H
21980 #include <complex.h>
21986 int (*ptr)() = (int (*)())sinh;
21995 if ac_fn_c_try_link
"$LINENO"; then :
21996 gcc_cv_math_func_sinh
=yes
21998 gcc_cv_math_func_sinh
=no
22000 rm -f core conftest.err conftest.
$ac_objext \
22001 conftest
$ac_exeext conftest.
$ac_ext
22003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22004 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22005 if test $gcc_cv_math_func_sinh = yes; then
22007 cat >>confdefs.h
<<_ACEOF
22008 #define HAVE_SINH 1
22016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22017 $as_echo_n "checking for sinhl... " >&6; }
22018 if test "${gcc_cv_math_func_sinhl+set}" = set; then :
22019 $as_echo_n "(cached) " >&6
22021 if test x
$gcc_no_link = xyes
; then
22022 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22025 /* end confdefs.h. */
22027 #ifdef HAVE_COMPLEX_H
22028 #include <complex.h>
22034 int (*ptr)() = (int (*)())sinhl;
22043 if ac_fn_c_try_link
"$LINENO"; then :
22044 gcc_cv_math_func_sinhl
=yes
22046 gcc_cv_math_func_sinhl
=no
22048 rm -f core conftest.err conftest.
$ac_objext \
22049 conftest
$ac_exeext conftest.
$ac_ext
22051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22052 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22053 if test $gcc_cv_math_func_sinhl = yes; then
22055 cat >>confdefs.h
<<_ACEOF
22056 #define HAVE_SINHL 1
22064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22065 $as_echo_n "checking for csinhf... " >&6; }
22066 if test "${gcc_cv_math_func_csinhf+set}" = set; then :
22067 $as_echo_n "(cached) " >&6
22069 if test x
$gcc_no_link = xyes
; then
22070 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22073 /* end confdefs.h. */
22075 #ifdef HAVE_COMPLEX_H
22076 #include <complex.h>
22082 int (*ptr)() = (int (*)())csinhf;
22091 if ac_fn_c_try_link
"$LINENO"; then :
22092 gcc_cv_math_func_csinhf
=yes
22094 gcc_cv_math_func_csinhf
=no
22096 rm -f core conftest.err conftest.
$ac_objext \
22097 conftest
$ac_exeext conftest.
$ac_ext
22099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22100 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22101 if test $gcc_cv_math_func_csinhf = yes; then
22103 cat >>confdefs.h
<<_ACEOF
22104 #define HAVE_CSINHF 1
22112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22113 $as_echo_n "checking for csinh... " >&6; }
22114 if test "${gcc_cv_math_func_csinh+set}" = set; then :
22115 $as_echo_n "(cached) " >&6
22117 if test x
$gcc_no_link = xyes
; then
22118 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22121 /* end confdefs.h. */
22123 #ifdef HAVE_COMPLEX_H
22124 #include <complex.h>
22130 int (*ptr)() = (int (*)())csinh;
22139 if ac_fn_c_try_link
"$LINENO"; then :
22140 gcc_cv_math_func_csinh
=yes
22142 gcc_cv_math_func_csinh
=no
22144 rm -f core conftest.err conftest.
$ac_objext \
22145 conftest
$ac_exeext conftest.
$ac_ext
22147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22148 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22149 if test $gcc_cv_math_func_csinh = yes; then
22151 cat >>confdefs.h
<<_ACEOF
22152 #define HAVE_CSINH 1
22160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22161 $as_echo_n "checking for csinhl... " >&6; }
22162 if test "${gcc_cv_math_func_csinhl+set}" = set; then :
22163 $as_echo_n "(cached) " >&6
22165 if test x
$gcc_no_link = xyes
; then
22166 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22169 /* end confdefs.h. */
22171 #ifdef HAVE_COMPLEX_H
22172 #include <complex.h>
22178 int (*ptr)() = (int (*)())csinhl;
22187 if ac_fn_c_try_link
"$LINENO"; then :
22188 gcc_cv_math_func_csinhl
=yes
22190 gcc_cv_math_func_csinhl
=no
22192 rm -f core conftest.err conftest.
$ac_objext \
22193 conftest
$ac_exeext conftest.
$ac_ext
22195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22196 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22197 if test $gcc_cv_math_func_csinhl = yes; then
22199 cat >>confdefs.h
<<_ACEOF
22200 #define HAVE_CSINHL 1
22208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22209 $as_echo_n "checking for sqrtf... " >&6; }
22210 if test "${gcc_cv_math_func_sqrtf+set}" = set; then :
22211 $as_echo_n "(cached) " >&6
22213 if test x
$gcc_no_link = xyes
; then
22214 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22217 /* end confdefs.h. */
22219 #ifdef HAVE_COMPLEX_H
22220 #include <complex.h>
22226 int (*ptr)() = (int (*)())sqrtf;
22235 if ac_fn_c_try_link
"$LINENO"; then :
22236 gcc_cv_math_func_sqrtf
=yes
22238 gcc_cv_math_func_sqrtf
=no
22240 rm -f core conftest.err conftest.
$ac_objext \
22241 conftest
$ac_exeext conftest.
$ac_ext
22243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22244 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22245 if test $gcc_cv_math_func_sqrtf = yes; then
22247 cat >>confdefs.h
<<_ACEOF
22248 #define HAVE_SQRTF 1
22256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22257 $as_echo_n "checking for sqrt... " >&6; }
22258 if test "${gcc_cv_math_func_sqrt+set}" = set; then :
22259 $as_echo_n "(cached) " >&6
22261 if test x
$gcc_no_link = xyes
; then
22262 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22265 /* end confdefs.h. */
22267 #ifdef HAVE_COMPLEX_H
22268 #include <complex.h>
22274 int (*ptr)() = (int (*)())sqrt;
22283 if ac_fn_c_try_link
"$LINENO"; then :
22284 gcc_cv_math_func_sqrt
=yes
22286 gcc_cv_math_func_sqrt
=no
22288 rm -f core conftest.err conftest.
$ac_objext \
22289 conftest
$ac_exeext conftest.
$ac_ext
22291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22292 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22293 if test $gcc_cv_math_func_sqrt = yes; then
22295 cat >>confdefs.h
<<_ACEOF
22296 #define HAVE_SQRT 1
22304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22305 $as_echo_n "checking for sqrtl... " >&6; }
22306 if test "${gcc_cv_math_func_sqrtl+set}" = set; then :
22307 $as_echo_n "(cached) " >&6
22309 if test x
$gcc_no_link = xyes
; then
22310 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22313 /* end confdefs.h. */
22315 #ifdef HAVE_COMPLEX_H
22316 #include <complex.h>
22322 int (*ptr)() = (int (*)())sqrtl;
22331 if ac_fn_c_try_link
"$LINENO"; then :
22332 gcc_cv_math_func_sqrtl
=yes
22334 gcc_cv_math_func_sqrtl
=no
22336 rm -f core conftest.err conftest.
$ac_objext \
22337 conftest
$ac_exeext conftest.
$ac_ext
22339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22340 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22341 if test $gcc_cv_math_func_sqrtl = yes; then
22343 cat >>confdefs.h
<<_ACEOF
22344 #define HAVE_SQRTL 1
22352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22353 $as_echo_n "checking for csqrtf... " >&6; }
22354 if test "${gcc_cv_math_func_csqrtf+set}" = set; then :
22355 $as_echo_n "(cached) " >&6
22357 if test x
$gcc_no_link = xyes
; then
22358 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22361 /* end confdefs.h. */
22363 #ifdef HAVE_COMPLEX_H
22364 #include <complex.h>
22370 int (*ptr)() = (int (*)())csqrtf;
22379 if ac_fn_c_try_link
"$LINENO"; then :
22380 gcc_cv_math_func_csqrtf
=yes
22382 gcc_cv_math_func_csqrtf
=no
22384 rm -f core conftest.err conftest.
$ac_objext \
22385 conftest
$ac_exeext conftest.
$ac_ext
22387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22388 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22389 if test $gcc_cv_math_func_csqrtf = yes; then
22391 cat >>confdefs.h
<<_ACEOF
22392 #define HAVE_CSQRTF 1
22400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22401 $as_echo_n "checking for csqrt... " >&6; }
22402 if test "${gcc_cv_math_func_csqrt+set}" = set; then :
22403 $as_echo_n "(cached) " >&6
22405 if test x
$gcc_no_link = xyes
; then
22406 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22409 /* end confdefs.h. */
22411 #ifdef HAVE_COMPLEX_H
22412 #include <complex.h>
22418 int (*ptr)() = (int (*)())csqrt;
22427 if ac_fn_c_try_link
"$LINENO"; then :
22428 gcc_cv_math_func_csqrt
=yes
22430 gcc_cv_math_func_csqrt
=no
22432 rm -f core conftest.err conftest.
$ac_objext \
22433 conftest
$ac_exeext conftest.
$ac_ext
22435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22436 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22437 if test $gcc_cv_math_func_csqrt = yes; then
22439 cat >>confdefs.h
<<_ACEOF
22440 #define HAVE_CSQRT 1
22448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22449 $as_echo_n "checking for csqrtl... " >&6; }
22450 if test "${gcc_cv_math_func_csqrtl+set}" = set; then :
22451 $as_echo_n "(cached) " >&6
22453 if test x
$gcc_no_link = xyes
; then
22454 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22457 /* end confdefs.h. */
22459 #ifdef HAVE_COMPLEX_H
22460 #include <complex.h>
22466 int (*ptr)() = (int (*)())csqrtl;
22475 if ac_fn_c_try_link
"$LINENO"; then :
22476 gcc_cv_math_func_csqrtl
=yes
22478 gcc_cv_math_func_csqrtl
=no
22480 rm -f core conftest.err conftest.
$ac_objext \
22481 conftest
$ac_exeext conftest.
$ac_ext
22483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22484 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22485 if test $gcc_cv_math_func_csqrtl = yes; then
22487 cat >>confdefs.h
<<_ACEOF
22488 #define HAVE_CSQRTL 1
22496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22497 $as_echo_n "checking for tanf... " >&6; }
22498 if test "${gcc_cv_math_func_tanf+set}" = set; then :
22499 $as_echo_n "(cached) " >&6
22501 if test x
$gcc_no_link = xyes
; then
22502 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22505 /* end confdefs.h. */
22507 #ifdef HAVE_COMPLEX_H
22508 #include <complex.h>
22514 int (*ptr)() = (int (*)())tanf;
22523 if ac_fn_c_try_link
"$LINENO"; then :
22524 gcc_cv_math_func_tanf
=yes
22526 gcc_cv_math_func_tanf
=no
22528 rm -f core conftest.err conftest.
$ac_objext \
22529 conftest
$ac_exeext conftest.
$ac_ext
22531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22532 $as_echo "$gcc_cv_math_func_tanf" >&6; }
22533 if test $gcc_cv_math_func_tanf = yes; then
22535 cat >>confdefs.h
<<_ACEOF
22536 #define HAVE_TANF 1
22544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22545 $as_echo_n "checking for tan... " >&6; }
22546 if test "${gcc_cv_math_func_tan+set}" = set; then :
22547 $as_echo_n "(cached) " >&6
22549 if test x
$gcc_no_link = xyes
; then
22550 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22553 /* end confdefs.h. */
22555 #ifdef HAVE_COMPLEX_H
22556 #include <complex.h>
22562 int (*ptr)() = (int (*)())tan;
22571 if ac_fn_c_try_link
"$LINENO"; then :
22572 gcc_cv_math_func_tan
=yes
22574 gcc_cv_math_func_tan
=no
22576 rm -f core conftest.err conftest.
$ac_objext \
22577 conftest
$ac_exeext conftest.
$ac_ext
22579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22580 $as_echo "$gcc_cv_math_func_tan" >&6; }
22581 if test $gcc_cv_math_func_tan = yes; then
22583 cat >>confdefs.h
<<_ACEOF
22592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22593 $as_echo_n "checking for tanl... " >&6; }
22594 if test "${gcc_cv_math_func_tanl+set}" = set; then :
22595 $as_echo_n "(cached) " >&6
22597 if test x
$gcc_no_link = xyes
; then
22598 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22601 /* end confdefs.h. */
22603 #ifdef HAVE_COMPLEX_H
22604 #include <complex.h>
22610 int (*ptr)() = (int (*)())tanl;
22619 if ac_fn_c_try_link
"$LINENO"; then :
22620 gcc_cv_math_func_tanl
=yes
22622 gcc_cv_math_func_tanl
=no
22624 rm -f core conftest.err conftest.
$ac_objext \
22625 conftest
$ac_exeext conftest.
$ac_ext
22627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22628 $as_echo "$gcc_cv_math_func_tanl" >&6; }
22629 if test $gcc_cv_math_func_tanl = yes; then
22631 cat >>confdefs.h
<<_ACEOF
22632 #define HAVE_TANL 1
22640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22641 $as_echo_n "checking for ctanf... " >&6; }
22642 if test "${gcc_cv_math_func_ctanf+set}" = set; then :
22643 $as_echo_n "(cached) " >&6
22645 if test x
$gcc_no_link = xyes
; then
22646 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22649 /* end confdefs.h. */
22651 #ifdef HAVE_COMPLEX_H
22652 #include <complex.h>
22658 int (*ptr)() = (int (*)())ctanf;
22667 if ac_fn_c_try_link
"$LINENO"; then :
22668 gcc_cv_math_func_ctanf
=yes
22670 gcc_cv_math_func_ctanf
=no
22672 rm -f core conftest.err conftest.
$ac_objext \
22673 conftest
$ac_exeext conftest.
$ac_ext
22675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22676 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
22677 if test $gcc_cv_math_func_ctanf = yes; then
22679 cat >>confdefs.h
<<_ACEOF
22680 #define HAVE_CTANF 1
22688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22689 $as_echo_n "checking for ctan... " >&6; }
22690 if test "${gcc_cv_math_func_ctan+set}" = set; then :
22691 $as_echo_n "(cached) " >&6
22693 if test x
$gcc_no_link = xyes
; then
22694 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22697 /* end confdefs.h. */
22699 #ifdef HAVE_COMPLEX_H
22700 #include <complex.h>
22706 int (*ptr)() = (int (*)())ctan;
22715 if ac_fn_c_try_link
"$LINENO"; then :
22716 gcc_cv_math_func_ctan
=yes
22718 gcc_cv_math_func_ctan
=no
22720 rm -f core conftest.err conftest.
$ac_objext \
22721 conftest
$ac_exeext conftest.
$ac_ext
22723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
22724 $as_echo "$gcc_cv_math_func_ctan" >&6; }
22725 if test $gcc_cv_math_func_ctan = yes; then
22727 cat >>confdefs.h
<<_ACEOF
22728 #define HAVE_CTAN 1
22736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
22737 $as_echo_n "checking for ctanl... " >&6; }
22738 if test "${gcc_cv_math_func_ctanl+set}" = set; then :
22739 $as_echo_n "(cached) " >&6
22741 if test x
$gcc_no_link = xyes
; then
22742 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22745 /* end confdefs.h. */
22747 #ifdef HAVE_COMPLEX_H
22748 #include <complex.h>
22754 int (*ptr)() = (int (*)())ctanl;
22763 if ac_fn_c_try_link
"$LINENO"; then :
22764 gcc_cv_math_func_ctanl
=yes
22766 gcc_cv_math_func_ctanl
=no
22768 rm -f core conftest.err conftest.
$ac_objext \
22769 conftest
$ac_exeext conftest.
$ac_ext
22771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
22772 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
22773 if test $gcc_cv_math_func_ctanl = yes; then
22775 cat >>confdefs.h
<<_ACEOF
22776 #define HAVE_CTANL 1
22784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
22785 $as_echo_n "checking for tanhf... " >&6; }
22786 if test "${gcc_cv_math_func_tanhf+set}" = set; then :
22787 $as_echo_n "(cached) " >&6
22789 if test x
$gcc_no_link = xyes
; then
22790 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22793 /* end confdefs.h. */
22795 #ifdef HAVE_COMPLEX_H
22796 #include <complex.h>
22802 int (*ptr)() = (int (*)())tanhf;
22811 if ac_fn_c_try_link
"$LINENO"; then :
22812 gcc_cv_math_func_tanhf
=yes
22814 gcc_cv_math_func_tanhf
=no
22816 rm -f core conftest.err conftest.
$ac_objext \
22817 conftest
$ac_exeext conftest.
$ac_ext
22819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
22820 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
22821 if test $gcc_cv_math_func_tanhf = yes; then
22823 cat >>confdefs.h
<<_ACEOF
22824 #define HAVE_TANHF 1
22832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
22833 $as_echo_n "checking for tanh... " >&6; }
22834 if test "${gcc_cv_math_func_tanh+set}" = set; then :
22835 $as_echo_n "(cached) " >&6
22837 if test x
$gcc_no_link = xyes
; then
22838 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22841 /* end confdefs.h. */
22843 #ifdef HAVE_COMPLEX_H
22844 #include <complex.h>
22850 int (*ptr)() = (int (*)())tanh;
22859 if ac_fn_c_try_link
"$LINENO"; then :
22860 gcc_cv_math_func_tanh
=yes
22862 gcc_cv_math_func_tanh
=no
22864 rm -f core conftest.err conftest.
$ac_objext \
22865 conftest
$ac_exeext conftest.
$ac_ext
22867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
22868 $as_echo "$gcc_cv_math_func_tanh" >&6; }
22869 if test $gcc_cv_math_func_tanh = yes; then
22871 cat >>confdefs.h
<<_ACEOF
22872 #define HAVE_TANH 1
22880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
22881 $as_echo_n "checking for tanhl... " >&6; }
22882 if test "${gcc_cv_math_func_tanhl+set}" = set; then :
22883 $as_echo_n "(cached) " >&6
22885 if test x
$gcc_no_link = xyes
; then
22886 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22889 /* end confdefs.h. */
22891 #ifdef HAVE_COMPLEX_H
22892 #include <complex.h>
22898 int (*ptr)() = (int (*)())tanhl;
22907 if ac_fn_c_try_link
"$LINENO"; then :
22908 gcc_cv_math_func_tanhl
=yes
22910 gcc_cv_math_func_tanhl
=no
22912 rm -f core conftest.err conftest.
$ac_objext \
22913 conftest
$ac_exeext conftest.
$ac_ext
22915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
22916 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
22917 if test $gcc_cv_math_func_tanhl = yes; then
22919 cat >>confdefs.h
<<_ACEOF
22920 #define HAVE_TANHL 1
22928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
22929 $as_echo_n "checking for ctanhf... " >&6; }
22930 if test "${gcc_cv_math_func_ctanhf+set}" = set; then :
22931 $as_echo_n "(cached) " >&6
22933 if test x
$gcc_no_link = xyes
; then
22934 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22937 /* end confdefs.h. */
22939 #ifdef HAVE_COMPLEX_H
22940 #include <complex.h>
22946 int (*ptr)() = (int (*)())ctanhf;
22955 if ac_fn_c_try_link
"$LINENO"; then :
22956 gcc_cv_math_func_ctanhf
=yes
22958 gcc_cv_math_func_ctanhf
=no
22960 rm -f core conftest.err conftest.
$ac_objext \
22961 conftest
$ac_exeext conftest.
$ac_ext
22963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
22964 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
22965 if test $gcc_cv_math_func_ctanhf = yes; then
22967 cat >>confdefs.h
<<_ACEOF
22968 #define HAVE_CTANHF 1
22976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
22977 $as_echo_n "checking for ctanh... " >&6; }
22978 if test "${gcc_cv_math_func_ctanh+set}" = set; then :
22979 $as_echo_n "(cached) " >&6
22981 if test x
$gcc_no_link = xyes
; then
22982 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22985 /* end confdefs.h. */
22987 #ifdef HAVE_COMPLEX_H
22988 #include <complex.h>
22994 int (*ptr)() = (int (*)())ctanh;
23003 if ac_fn_c_try_link
"$LINENO"; then :
23004 gcc_cv_math_func_ctanh
=yes
23006 gcc_cv_math_func_ctanh
=no
23008 rm -f core conftest.err conftest.
$ac_objext \
23009 conftest
$ac_exeext conftest.
$ac_ext
23011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23012 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23013 if test $gcc_cv_math_func_ctanh = yes; then
23015 cat >>confdefs.h
<<_ACEOF
23016 #define HAVE_CTANH 1
23024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23025 $as_echo_n "checking for ctanhl... " >&6; }
23026 if test "${gcc_cv_math_func_ctanhl+set}" = set; then :
23027 $as_echo_n "(cached) " >&6
23029 if test x
$gcc_no_link = xyes
; then
23030 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23033 /* end confdefs.h. */
23035 #ifdef HAVE_COMPLEX_H
23036 #include <complex.h>
23042 int (*ptr)() = (int (*)())ctanhl;
23051 if ac_fn_c_try_link
"$LINENO"; then :
23052 gcc_cv_math_func_ctanhl
=yes
23054 gcc_cv_math_func_ctanhl
=no
23056 rm -f core conftest.err conftest.
$ac_objext \
23057 conftest
$ac_exeext conftest.
$ac_ext
23059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23060 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23061 if test $gcc_cv_math_func_ctanhl = yes; then
23063 cat >>confdefs.h
<<_ACEOF
23064 #define HAVE_CTANHL 1
23072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23073 $as_echo_n "checking for truncf... " >&6; }
23074 if test "${gcc_cv_math_func_truncf+set}" = set; then :
23075 $as_echo_n "(cached) " >&6
23077 if test x
$gcc_no_link = xyes
; then
23078 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23081 /* end confdefs.h. */
23083 #ifdef HAVE_COMPLEX_H
23084 #include <complex.h>
23090 int (*ptr)() = (int (*)())truncf;
23099 if ac_fn_c_try_link
"$LINENO"; then :
23100 gcc_cv_math_func_truncf
=yes
23102 gcc_cv_math_func_truncf
=no
23104 rm -f core conftest.err conftest.
$ac_objext \
23105 conftest
$ac_exeext conftest.
$ac_ext
23107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23108 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23109 if test $gcc_cv_math_func_truncf = yes; then
23111 cat >>confdefs.h
<<_ACEOF
23112 #define HAVE_TRUNCF 1
23120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23121 $as_echo_n "checking for trunc... " >&6; }
23122 if test "${gcc_cv_math_func_trunc+set}" = set; then :
23123 $as_echo_n "(cached) " >&6
23125 if test x
$gcc_no_link = xyes
; then
23126 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23129 /* end confdefs.h. */
23131 #ifdef HAVE_COMPLEX_H
23132 #include <complex.h>
23138 int (*ptr)() = (int (*)())trunc;
23147 if ac_fn_c_try_link
"$LINENO"; then :
23148 gcc_cv_math_func_trunc
=yes
23150 gcc_cv_math_func_trunc
=no
23152 rm -f core conftest.err conftest.
$ac_objext \
23153 conftest
$ac_exeext conftest.
$ac_ext
23155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23156 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23157 if test $gcc_cv_math_func_trunc = yes; then
23159 cat >>confdefs.h
<<_ACEOF
23160 #define HAVE_TRUNC 1
23168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23169 $as_echo_n "checking for truncl... " >&6; }
23170 if test "${gcc_cv_math_func_truncl+set}" = set; then :
23171 $as_echo_n "(cached) " >&6
23173 if test x
$gcc_no_link = xyes
; then
23174 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23177 /* end confdefs.h. */
23179 #ifdef HAVE_COMPLEX_H
23180 #include <complex.h>
23186 int (*ptr)() = (int (*)())truncl;
23195 if ac_fn_c_try_link
"$LINENO"; then :
23196 gcc_cv_math_func_truncl
=yes
23198 gcc_cv_math_func_truncl
=no
23200 rm -f core conftest.err conftest.
$ac_objext \
23201 conftest
$ac_exeext conftest.
$ac_ext
23203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23204 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23205 if test $gcc_cv_math_func_truncl = yes; then
23207 cat >>confdefs.h
<<_ACEOF
23208 #define HAVE_TRUNCL 1
23216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23217 $as_echo_n "checking for erff... " >&6; }
23218 if test "${gcc_cv_math_func_erff+set}" = set; then :
23219 $as_echo_n "(cached) " >&6
23221 if test x
$gcc_no_link = xyes
; then
23222 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23225 /* end confdefs.h. */
23227 #ifdef HAVE_COMPLEX_H
23228 #include <complex.h>
23234 int (*ptr)() = (int (*)())erff;
23243 if ac_fn_c_try_link
"$LINENO"; then :
23244 gcc_cv_math_func_erff
=yes
23246 gcc_cv_math_func_erff
=no
23248 rm -f core conftest.err conftest.
$ac_objext \
23249 conftest
$ac_exeext conftest.
$ac_ext
23251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23252 $as_echo "$gcc_cv_math_func_erff" >&6; }
23253 if test $gcc_cv_math_func_erff = yes; then
23255 cat >>confdefs.h
<<_ACEOF
23256 #define HAVE_ERFF 1
23264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23265 $as_echo_n "checking for erf... " >&6; }
23266 if test "${gcc_cv_math_func_erf+set}" = set; then :
23267 $as_echo_n "(cached) " >&6
23269 if test x
$gcc_no_link = xyes
; then
23270 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23273 /* end confdefs.h. */
23275 #ifdef HAVE_COMPLEX_H
23276 #include <complex.h>
23282 int (*ptr)() = (int (*)())erf;
23291 if ac_fn_c_try_link
"$LINENO"; then :
23292 gcc_cv_math_func_erf
=yes
23294 gcc_cv_math_func_erf
=no
23296 rm -f core conftest.err conftest.
$ac_objext \
23297 conftest
$ac_exeext conftest.
$ac_ext
23299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23300 $as_echo "$gcc_cv_math_func_erf" >&6; }
23301 if test $gcc_cv_math_func_erf = yes; then
23303 cat >>confdefs.h
<<_ACEOF
23312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl" >&5
23313 $as_echo_n "checking for erfl... " >&6; }
23314 if test "${gcc_cv_math_func_erfl+set}" = set; then :
23315 $as_echo_n "(cached) " >&6
23317 if test x
$gcc_no_link = xyes
; then
23318 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23321 /* end confdefs.h. */
23323 #ifdef HAVE_COMPLEX_H
23324 #include <complex.h>
23330 int (*ptr)() = (int (*)())erfl;
23339 if ac_fn_c_try_link
"$LINENO"; then :
23340 gcc_cv_math_func_erfl
=yes
23342 gcc_cv_math_func_erfl
=no
23344 rm -f core conftest.err conftest.
$ac_objext \
23345 conftest
$ac_exeext conftest.
$ac_ext
23347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfl" >&5
23348 $as_echo "$gcc_cv_math_func_erfl" >&6; }
23349 if test $gcc_cv_math_func_erfl = yes; then
23351 cat >>confdefs.h
<<_ACEOF
23352 #define HAVE_ERFL 1
23360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23361 $as_echo_n "checking for erfcf... " >&6; }
23362 if test "${gcc_cv_math_func_erfcf+set}" = set; then :
23363 $as_echo_n "(cached) " >&6
23365 if test x
$gcc_no_link = xyes
; then
23366 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23369 /* end confdefs.h. */
23371 #ifdef HAVE_COMPLEX_H
23372 #include <complex.h>
23378 int (*ptr)() = (int (*)())erfcf;
23387 if ac_fn_c_try_link
"$LINENO"; then :
23388 gcc_cv_math_func_erfcf
=yes
23390 gcc_cv_math_func_erfcf
=no
23392 rm -f core conftest.err conftest.
$ac_objext \
23393 conftest
$ac_exeext conftest.
$ac_ext
23395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23396 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23397 if test $gcc_cv_math_func_erfcf = yes; then
23399 cat >>confdefs.h
<<_ACEOF
23400 #define HAVE_ERFCF 1
23408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23409 $as_echo_n "checking for erfc... " >&6; }
23410 if test "${gcc_cv_math_func_erfc+set}" = set; then :
23411 $as_echo_n "(cached) " >&6
23413 if test x
$gcc_no_link = xyes
; then
23414 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23417 /* end confdefs.h. */
23419 #ifdef HAVE_COMPLEX_H
23420 #include <complex.h>
23426 int (*ptr)() = (int (*)())erfc;
23435 if ac_fn_c_try_link
"$LINENO"; then :
23436 gcc_cv_math_func_erfc
=yes
23438 gcc_cv_math_func_erfc
=no
23440 rm -f core conftest.err conftest.
$ac_objext \
23441 conftest
$ac_exeext conftest.
$ac_ext
23443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23444 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23445 if test $gcc_cv_math_func_erfc = yes; then
23447 cat >>confdefs.h
<<_ACEOF
23448 #define HAVE_ERFC 1
23456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23457 $as_echo_n "checking for erfcl... " >&6; }
23458 if test "${gcc_cv_math_func_erfcl+set}" = set; then :
23459 $as_echo_n "(cached) " >&6
23461 if test x
$gcc_no_link = xyes
; then
23462 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23465 /* end confdefs.h. */
23467 #ifdef HAVE_COMPLEX_H
23468 #include <complex.h>
23474 int (*ptr)() = (int (*)())erfcl;
23483 if ac_fn_c_try_link
"$LINENO"; then :
23484 gcc_cv_math_func_erfcl
=yes
23486 gcc_cv_math_func_erfcl
=no
23488 rm -f core conftest.err conftest.
$ac_objext \
23489 conftest
$ac_exeext conftest.
$ac_ext
23491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23492 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23493 if test $gcc_cv_math_func_erfcl = yes; then
23495 cat >>confdefs.h
<<_ACEOF
23496 #define HAVE_ERFCL 1
23504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23505 $as_echo_n "checking for j0f... " >&6; }
23506 if test "${gcc_cv_math_func_j0f+set}" = set; then :
23507 $as_echo_n "(cached) " >&6
23509 if test x
$gcc_no_link = xyes
; then
23510 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23513 /* end confdefs.h. */
23515 #ifdef HAVE_COMPLEX_H
23516 #include <complex.h>
23522 int (*ptr)() = (int (*)())j0f;
23531 if ac_fn_c_try_link
"$LINENO"; then :
23532 gcc_cv_math_func_j0f
=yes
23534 gcc_cv_math_func_j0f
=no
23536 rm -f core conftest.err conftest.
$ac_objext \
23537 conftest
$ac_exeext conftest.
$ac_ext
23539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23540 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23541 if test $gcc_cv_math_func_j0f = yes; then
23543 cat >>confdefs.h
<<_ACEOF
23552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23553 $as_echo_n "checking for j0... " >&6; }
23554 if test "${gcc_cv_math_func_j0+set}" = set; then :
23555 $as_echo_n "(cached) " >&6
23557 if test x
$gcc_no_link = xyes
; then
23558 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23561 /* end confdefs.h. */
23563 #ifdef HAVE_COMPLEX_H
23564 #include <complex.h>
23570 int (*ptr)() = (int (*)())j0;
23579 if ac_fn_c_try_link
"$LINENO"; then :
23580 gcc_cv_math_func_j0
=yes
23582 gcc_cv_math_func_j0
=no
23584 rm -f core conftest.err conftest.
$ac_objext \
23585 conftest
$ac_exeext conftest.
$ac_ext
23587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23588 $as_echo "$gcc_cv_math_func_j0" >&6; }
23589 if test $gcc_cv_math_func_j0 = yes; then
23591 cat >>confdefs.h
<<_ACEOF
23600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l" >&5
23601 $as_echo_n "checking for j0l... " >&6; }
23602 if test "${gcc_cv_math_func_j0l+set}" = set; then :
23603 $as_echo_n "(cached) " >&6
23605 if test x
$gcc_no_link = xyes
; then
23606 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23609 /* end confdefs.h. */
23611 #ifdef HAVE_COMPLEX_H
23612 #include <complex.h>
23618 int (*ptr)() = (int (*)())j0l;
23627 if ac_fn_c_try_link
"$LINENO"; then :
23628 gcc_cv_math_func_j0l
=yes
23630 gcc_cv_math_func_j0l
=no
23632 rm -f core conftest.err conftest.
$ac_objext \
23633 conftest
$ac_exeext conftest.
$ac_ext
23635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0l" >&5
23636 $as_echo "$gcc_cv_math_func_j0l" >&6; }
23637 if test $gcc_cv_math_func_j0l = yes; then
23639 cat >>confdefs.h
<<_ACEOF
23648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23649 $as_echo_n "checking for j1f... " >&6; }
23650 if test "${gcc_cv_math_func_j1f+set}" = set; then :
23651 $as_echo_n "(cached) " >&6
23653 if test x
$gcc_no_link = xyes
; then
23654 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23657 /* end confdefs.h. */
23659 #ifdef HAVE_COMPLEX_H
23660 #include <complex.h>
23666 int (*ptr)() = (int (*)())j1f;
23675 if ac_fn_c_try_link
"$LINENO"; then :
23676 gcc_cv_math_func_j1f
=yes
23678 gcc_cv_math_func_j1f
=no
23680 rm -f core conftest.err conftest.
$ac_objext \
23681 conftest
$ac_exeext conftest.
$ac_ext
23683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23684 $as_echo "$gcc_cv_math_func_j1f" >&6; }
23685 if test $gcc_cv_math_func_j1f = yes; then
23687 cat >>confdefs.h
<<_ACEOF
23696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23697 $as_echo_n "checking for j1... " >&6; }
23698 if test "${gcc_cv_math_func_j1+set}" = set; then :
23699 $as_echo_n "(cached) " >&6
23701 if test x
$gcc_no_link = xyes
; then
23702 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23705 /* end confdefs.h. */
23707 #ifdef HAVE_COMPLEX_H
23708 #include <complex.h>
23714 int (*ptr)() = (int (*)())j1;
23723 if ac_fn_c_try_link
"$LINENO"; then :
23724 gcc_cv_math_func_j1
=yes
23726 gcc_cv_math_func_j1
=no
23728 rm -f core conftest.err conftest.
$ac_objext \
23729 conftest
$ac_exeext conftest.
$ac_ext
23731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23732 $as_echo "$gcc_cv_math_func_j1" >&6; }
23733 if test $gcc_cv_math_func_j1 = yes; then
23735 cat >>confdefs.h
<<_ACEOF
23744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l" >&5
23745 $as_echo_n "checking for j1l... " >&6; }
23746 if test "${gcc_cv_math_func_j1l+set}" = set; then :
23747 $as_echo_n "(cached) " >&6
23749 if test x
$gcc_no_link = xyes
; then
23750 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23753 /* end confdefs.h. */
23755 #ifdef HAVE_COMPLEX_H
23756 #include <complex.h>
23762 int (*ptr)() = (int (*)())j1l;
23771 if ac_fn_c_try_link
"$LINENO"; then :
23772 gcc_cv_math_func_j1l
=yes
23774 gcc_cv_math_func_j1l
=no
23776 rm -f core conftest.err conftest.
$ac_objext \
23777 conftest
$ac_exeext conftest.
$ac_ext
23779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1l" >&5
23780 $as_echo "$gcc_cv_math_func_j1l" >&6; }
23781 if test $gcc_cv_math_func_j1l = yes; then
23783 cat >>confdefs.h
<<_ACEOF
23792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23793 $as_echo_n "checking for jnf... " >&6; }
23794 if test "${gcc_cv_math_func_jnf+set}" = set; then :
23795 $as_echo_n "(cached) " >&6
23797 if test x
$gcc_no_link = xyes
; then
23798 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23801 /* end confdefs.h. */
23803 #ifdef HAVE_COMPLEX_H
23804 #include <complex.h>
23810 int (*ptr)() = (int (*)())jnf;
23819 if ac_fn_c_try_link
"$LINENO"; then :
23820 gcc_cv_math_func_jnf
=yes
23822 gcc_cv_math_func_jnf
=no
23824 rm -f core conftest.err conftest.
$ac_objext \
23825 conftest
$ac_exeext conftest.
$ac_ext
23827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23828 $as_echo "$gcc_cv_math_func_jnf" >&6; }
23829 if test $gcc_cv_math_func_jnf = yes; then
23831 cat >>confdefs.h
<<_ACEOF
23840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
23841 $as_echo_n "checking for jn... " >&6; }
23842 if test "${gcc_cv_math_func_jn+set}" = set; then :
23843 $as_echo_n "(cached) " >&6
23845 if test x
$gcc_no_link = xyes
; then
23846 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23849 /* end confdefs.h. */
23851 #ifdef HAVE_COMPLEX_H
23852 #include <complex.h>
23858 int (*ptr)() = (int (*)())jn;
23867 if ac_fn_c_try_link
"$LINENO"; then :
23868 gcc_cv_math_func_jn
=yes
23870 gcc_cv_math_func_jn
=no
23872 rm -f core conftest.err conftest.
$ac_objext \
23873 conftest
$ac_exeext conftest.
$ac_ext
23875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
23876 $as_echo "$gcc_cv_math_func_jn" >&6; }
23877 if test $gcc_cv_math_func_jn = yes; then
23879 cat >>confdefs.h
<<_ACEOF
23888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
23889 $as_echo_n "checking for jnl... " >&6; }
23890 if test "${gcc_cv_math_func_jnl+set}" = set; then :
23891 $as_echo_n "(cached) " >&6
23893 if test x
$gcc_no_link = xyes
; then
23894 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23897 /* end confdefs.h. */
23899 #ifdef HAVE_COMPLEX_H
23900 #include <complex.h>
23906 int (*ptr)() = (int (*)())jnl;
23915 if ac_fn_c_try_link
"$LINENO"; then :
23916 gcc_cv_math_func_jnl
=yes
23918 gcc_cv_math_func_jnl
=no
23920 rm -f core conftest.err conftest.
$ac_objext \
23921 conftest
$ac_exeext conftest.
$ac_ext
23923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
23924 $as_echo "$gcc_cv_math_func_jnl" >&6; }
23925 if test $gcc_cv_math_func_jnl = yes; then
23927 cat >>confdefs.h
<<_ACEOF
23936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
23937 $as_echo_n "checking for y0f... " >&6; }
23938 if test "${gcc_cv_math_func_y0f+set}" = set; then :
23939 $as_echo_n "(cached) " >&6
23941 if test x
$gcc_no_link = xyes
; then
23942 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23945 /* end confdefs.h. */
23947 #ifdef HAVE_COMPLEX_H
23948 #include <complex.h>
23954 int (*ptr)() = (int (*)())y0f;
23963 if ac_fn_c_try_link
"$LINENO"; then :
23964 gcc_cv_math_func_y0f
=yes
23966 gcc_cv_math_func_y0f
=no
23968 rm -f core conftest.err conftest.
$ac_objext \
23969 conftest
$ac_exeext conftest.
$ac_ext
23971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
23972 $as_echo "$gcc_cv_math_func_y0f" >&6; }
23973 if test $gcc_cv_math_func_y0f = yes; then
23975 cat >>confdefs.h
<<_ACEOF
23984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
23985 $as_echo_n "checking for y0... " >&6; }
23986 if test "${gcc_cv_math_func_y0+set}" = set; then :
23987 $as_echo_n "(cached) " >&6
23989 if test x
$gcc_no_link = xyes
; then
23990 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23993 /* end confdefs.h. */
23995 #ifdef HAVE_COMPLEX_H
23996 #include <complex.h>
24002 int (*ptr)() = (int (*)())y0;
24011 if ac_fn_c_try_link
"$LINENO"; then :
24012 gcc_cv_math_func_y0
=yes
24014 gcc_cv_math_func_y0
=no
24016 rm -f core conftest.err conftest.
$ac_objext \
24017 conftest
$ac_exeext conftest.
$ac_ext
24019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24020 $as_echo "$gcc_cv_math_func_y0" >&6; }
24021 if test $gcc_cv_math_func_y0 = yes; then
24023 cat >>confdefs.h
<<_ACEOF
24032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l" >&5
24033 $as_echo_n "checking for y0l... " >&6; }
24034 if test "${gcc_cv_math_func_y0l+set}" = set; then :
24035 $as_echo_n "(cached) " >&6
24037 if test x
$gcc_no_link = xyes
; then
24038 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24041 /* end confdefs.h. */
24043 #ifdef HAVE_COMPLEX_H
24044 #include <complex.h>
24050 int (*ptr)() = (int (*)())y0l;
24059 if ac_fn_c_try_link
"$LINENO"; then :
24060 gcc_cv_math_func_y0l
=yes
24062 gcc_cv_math_func_y0l
=no
24064 rm -f core conftest.err conftest.
$ac_objext \
24065 conftest
$ac_exeext conftest.
$ac_ext
24067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0l" >&5
24068 $as_echo "$gcc_cv_math_func_y0l" >&6; }
24069 if test $gcc_cv_math_func_y0l = yes; then
24071 cat >>confdefs.h
<<_ACEOF
24080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24081 $as_echo_n "checking for y1f... " >&6; }
24082 if test "${gcc_cv_math_func_y1f+set}" = set; then :
24083 $as_echo_n "(cached) " >&6
24085 if test x
$gcc_no_link = xyes
; then
24086 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24089 /* end confdefs.h. */
24091 #ifdef HAVE_COMPLEX_H
24092 #include <complex.h>
24098 int (*ptr)() = (int (*)())y1f;
24107 if ac_fn_c_try_link
"$LINENO"; then :
24108 gcc_cv_math_func_y1f
=yes
24110 gcc_cv_math_func_y1f
=no
24112 rm -f core conftest.err conftest.
$ac_objext \
24113 conftest
$ac_exeext conftest.
$ac_ext
24115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24116 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24117 if test $gcc_cv_math_func_y1f = yes; then
24119 cat >>confdefs.h
<<_ACEOF
24128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24129 $as_echo_n "checking for y1... " >&6; }
24130 if test "${gcc_cv_math_func_y1+set}" = set; then :
24131 $as_echo_n "(cached) " >&6
24133 if test x
$gcc_no_link = xyes
; then
24134 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24137 /* end confdefs.h. */
24139 #ifdef HAVE_COMPLEX_H
24140 #include <complex.h>
24146 int (*ptr)() = (int (*)())y1;
24155 if ac_fn_c_try_link
"$LINENO"; then :
24156 gcc_cv_math_func_y1
=yes
24158 gcc_cv_math_func_y1
=no
24160 rm -f core conftest.err conftest.
$ac_objext \
24161 conftest
$ac_exeext conftest.
$ac_ext
24163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24164 $as_echo "$gcc_cv_math_func_y1" >&6; }
24165 if test $gcc_cv_math_func_y1 = yes; then
24167 cat >>confdefs.h
<<_ACEOF
24176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l" >&5
24177 $as_echo_n "checking for y1l... " >&6; }
24178 if test "${gcc_cv_math_func_y1l+set}" = set; then :
24179 $as_echo_n "(cached) " >&6
24181 if test x
$gcc_no_link = xyes
; then
24182 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24185 /* end confdefs.h. */
24187 #ifdef HAVE_COMPLEX_H
24188 #include <complex.h>
24194 int (*ptr)() = (int (*)())y1l;
24203 if ac_fn_c_try_link
"$LINENO"; then :
24204 gcc_cv_math_func_y1l
=yes
24206 gcc_cv_math_func_y1l
=no
24208 rm -f core conftest.err conftest.
$ac_objext \
24209 conftest
$ac_exeext conftest.
$ac_ext
24211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1l" >&5
24212 $as_echo "$gcc_cv_math_func_y1l" >&6; }
24213 if test $gcc_cv_math_func_y1l = yes; then
24215 cat >>confdefs.h
<<_ACEOF
24224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24225 $as_echo_n "checking for ynf... " >&6; }
24226 if test "${gcc_cv_math_func_ynf+set}" = set; then :
24227 $as_echo_n "(cached) " >&6
24229 if test x
$gcc_no_link = xyes
; then
24230 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24233 /* end confdefs.h. */
24235 #ifdef HAVE_COMPLEX_H
24236 #include <complex.h>
24242 int (*ptr)() = (int (*)())ynf;
24251 if ac_fn_c_try_link
"$LINENO"; then :
24252 gcc_cv_math_func_ynf
=yes
24254 gcc_cv_math_func_ynf
=no
24256 rm -f core conftest.err conftest.
$ac_objext \
24257 conftest
$ac_exeext conftest.
$ac_ext
24259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24260 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24261 if test $gcc_cv_math_func_ynf = yes; then
24263 cat >>confdefs.h
<<_ACEOF
24272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24273 $as_echo_n "checking for yn... " >&6; }
24274 if test "${gcc_cv_math_func_yn+set}" = set; then :
24275 $as_echo_n "(cached) " >&6
24277 if test x
$gcc_no_link = xyes
; then
24278 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24281 /* end confdefs.h. */
24283 #ifdef HAVE_COMPLEX_H
24284 #include <complex.h>
24290 int (*ptr)() = (int (*)())yn;
24299 if ac_fn_c_try_link
"$LINENO"; then :
24300 gcc_cv_math_func_yn
=yes
24302 gcc_cv_math_func_yn
=no
24304 rm -f core conftest.err conftest.
$ac_objext \
24305 conftest
$ac_exeext conftest.
$ac_ext
24307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24308 $as_echo "$gcc_cv_math_func_yn" >&6; }
24309 if test $gcc_cv_math_func_yn = yes; then
24311 cat >>confdefs.h
<<_ACEOF
24320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24321 $as_echo_n "checking for ynl... " >&6; }
24322 if test "${gcc_cv_math_func_ynl+set}" = set; then :
24323 $as_echo_n "(cached) " >&6
24325 if test x
$gcc_no_link = xyes
; then
24326 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24329 /* end confdefs.h. */
24331 #ifdef HAVE_COMPLEX_H
24332 #include <complex.h>
24338 int (*ptr)() = (int (*)())ynl;
24347 if ac_fn_c_try_link
"$LINENO"; then :
24348 gcc_cv_math_func_ynl
=yes
24350 gcc_cv_math_func_ynl
=no
24352 rm -f core conftest.err conftest.
$ac_objext \
24353 conftest
$ac_exeext conftest.
$ac_ext
24355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24356 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24357 if test $gcc_cv_math_func_ynl = yes; then
24359 cat >>confdefs.h
<<_ACEOF
24368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24369 $as_echo_n "checking for tgamma... " >&6; }
24370 if test "${gcc_cv_math_func_tgamma+set}" = set; then :
24371 $as_echo_n "(cached) " >&6
24373 if test x
$gcc_no_link = xyes
; then
24374 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24377 /* end confdefs.h. */
24379 #ifdef HAVE_COMPLEX_H
24380 #include <complex.h>
24386 int (*ptr)() = (int (*)())tgamma;
24395 if ac_fn_c_try_link
"$LINENO"; then :
24396 gcc_cv_math_func_tgamma
=yes
24398 gcc_cv_math_func_tgamma
=no
24400 rm -f core conftest.err conftest.
$ac_objext \
24401 conftest
$ac_exeext conftest.
$ac_ext
24403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24404 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24405 if test $gcc_cv_math_func_tgamma = yes; then
24407 cat >>confdefs.h
<<_ACEOF
24408 #define HAVE_TGAMMA 1
24416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24417 $as_echo_n "checking for tgammaf... " >&6; }
24418 if test "${gcc_cv_math_func_tgammaf+set}" = set; then :
24419 $as_echo_n "(cached) " >&6
24421 if test x
$gcc_no_link = xyes
; then
24422 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24425 /* end confdefs.h. */
24427 #ifdef HAVE_COMPLEX_H
24428 #include <complex.h>
24434 int (*ptr)() = (int (*)())tgammaf;
24443 if ac_fn_c_try_link
"$LINENO"; then :
24444 gcc_cv_math_func_tgammaf
=yes
24446 gcc_cv_math_func_tgammaf
=no
24448 rm -f core conftest.err conftest.
$ac_objext \
24449 conftest
$ac_exeext conftest.
$ac_ext
24451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24452 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24453 if test $gcc_cv_math_func_tgammaf = yes; then
24455 cat >>confdefs.h
<<_ACEOF
24456 #define HAVE_TGAMMAF 1
24464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal" >&5
24465 $as_echo_n "checking for tgammal... " >&6; }
24466 if test "${gcc_cv_math_func_tgammal+set}" = set; then :
24467 $as_echo_n "(cached) " >&6
24469 if test x
$gcc_no_link = xyes
; then
24470 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24473 /* end confdefs.h. */
24475 #ifdef HAVE_COMPLEX_H
24476 #include <complex.h>
24482 int (*ptr)() = (int (*)())tgammal;
24491 if ac_fn_c_try_link
"$LINENO"; then :
24492 gcc_cv_math_func_tgammal
=yes
24494 gcc_cv_math_func_tgammal
=no
24496 rm -f core conftest.err conftest.
$ac_objext \
24497 conftest
$ac_exeext conftest.
$ac_ext
24499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammal" >&5
24500 $as_echo "$gcc_cv_math_func_tgammal" >&6; }
24501 if test $gcc_cv_math_func_tgammal = yes; then
24503 cat >>confdefs.h
<<_ACEOF
24504 #define HAVE_TGAMMAL 1
24512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24513 $as_echo_n "checking for lgamma... " >&6; }
24514 if test "${gcc_cv_math_func_lgamma+set}" = set; then :
24515 $as_echo_n "(cached) " >&6
24517 if test x
$gcc_no_link = xyes
; then
24518 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24521 /* end confdefs.h. */
24523 #ifdef HAVE_COMPLEX_H
24524 #include <complex.h>
24530 int (*ptr)() = (int (*)())lgamma;
24539 if ac_fn_c_try_link
"$LINENO"; then :
24540 gcc_cv_math_func_lgamma
=yes
24542 gcc_cv_math_func_lgamma
=no
24544 rm -f core conftest.err conftest.
$ac_objext \
24545 conftest
$ac_exeext conftest.
$ac_ext
24547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24548 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24549 if test $gcc_cv_math_func_lgamma = yes; then
24551 cat >>confdefs.h
<<_ACEOF
24552 #define HAVE_LGAMMA 1
24560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24561 $as_echo_n "checking for lgammaf... " >&6; }
24562 if test "${gcc_cv_math_func_lgammaf+set}" = set; then :
24563 $as_echo_n "(cached) " >&6
24565 if test x
$gcc_no_link = xyes
; then
24566 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24569 /* end confdefs.h. */
24571 #ifdef HAVE_COMPLEX_H
24572 #include <complex.h>
24578 int (*ptr)() = (int (*)())lgammaf;
24587 if ac_fn_c_try_link
"$LINENO"; then :
24588 gcc_cv_math_func_lgammaf
=yes
24590 gcc_cv_math_func_lgammaf
=no
24592 rm -f core conftest.err conftest.
$ac_objext \
24593 conftest
$ac_exeext conftest.
$ac_ext
24595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24596 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24597 if test $gcc_cv_math_func_lgammaf = yes; then
24599 cat >>confdefs.h
<<_ACEOF
24600 #define HAVE_LGAMMAF 1
24608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal" >&5
24609 $as_echo_n "checking for lgammal... " >&6; }
24610 if test "${gcc_cv_math_func_lgammal+set}" = set; then :
24611 $as_echo_n "(cached) " >&6
24613 if test x
$gcc_no_link = xyes
; then
24614 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24617 /* end confdefs.h. */
24619 #ifdef HAVE_COMPLEX_H
24620 #include <complex.h>
24626 int (*ptr)() = (int (*)())lgammal;
24635 if ac_fn_c_try_link
"$LINENO"; then :
24636 gcc_cv_math_func_lgammal
=yes
24638 gcc_cv_math_func_lgammal
=no
24640 rm -f core conftest.err conftest.
$ac_objext \
24641 conftest
$ac_exeext conftest.
$ac_ext
24643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammal" >&5
24644 $as_echo "$gcc_cv_math_func_lgammal" >&6; }
24645 if test $gcc_cv_math_func_lgammal = yes; then
24647 cat >>confdefs.h
<<_ACEOF
24648 #define HAVE_LGAMMAL 1
24654 # Check for GFORTRAN_C99_1.1 funcs
24658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24659 $as_echo_n "checking for cacos... " >&6; }
24660 if test "${gcc_cv_math_func_cacos+set}" = set; then :
24661 $as_echo_n "(cached) " >&6
24663 if test x
$gcc_no_link = xyes
; then
24664 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24667 /* end confdefs.h. */
24669 #ifdef HAVE_COMPLEX_H
24670 #include <complex.h>
24676 int (*ptr)() = (int (*)())cacos;
24685 if ac_fn_c_try_link
"$LINENO"; then :
24686 gcc_cv_math_func_cacos
=yes
24688 gcc_cv_math_func_cacos
=no
24690 rm -f core conftest.err conftest.
$ac_objext \
24691 conftest
$ac_exeext conftest.
$ac_ext
24693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24694 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24695 if test $gcc_cv_math_func_cacos = yes; then
24697 cat >>confdefs.h
<<_ACEOF
24698 #define HAVE_CACOS 1
24706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24707 $as_echo_n "checking for cacosf... " >&6; }
24708 if test "${gcc_cv_math_func_cacosf+set}" = set; then :
24709 $as_echo_n "(cached) " >&6
24711 if test x
$gcc_no_link = xyes
; then
24712 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24715 /* end confdefs.h. */
24717 #ifdef HAVE_COMPLEX_H
24718 #include <complex.h>
24724 int (*ptr)() = (int (*)())cacosf;
24733 if ac_fn_c_try_link
"$LINENO"; then :
24734 gcc_cv_math_func_cacosf
=yes
24736 gcc_cv_math_func_cacosf
=no
24738 rm -f core conftest.err conftest.
$ac_objext \
24739 conftest
$ac_exeext conftest.
$ac_ext
24741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24742 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24743 if test $gcc_cv_math_func_cacosf = yes; then
24745 cat >>confdefs.h
<<_ACEOF
24746 #define HAVE_CACOSF 1
24754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24755 $as_echo_n "checking for cacosh... " >&6; }
24756 if test "${gcc_cv_math_func_cacosh+set}" = set; then :
24757 $as_echo_n "(cached) " >&6
24759 if test x
$gcc_no_link = xyes
; then
24760 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24763 /* end confdefs.h. */
24765 #ifdef HAVE_COMPLEX_H
24766 #include <complex.h>
24772 int (*ptr)() = (int (*)())cacosh;
24781 if ac_fn_c_try_link
"$LINENO"; then :
24782 gcc_cv_math_func_cacosh
=yes
24784 gcc_cv_math_func_cacosh
=no
24786 rm -f core conftest.err conftest.
$ac_objext \
24787 conftest
$ac_exeext conftest.
$ac_ext
24789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24790 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24791 if test $gcc_cv_math_func_cacosh = yes; then
24793 cat >>confdefs.h
<<_ACEOF
24794 #define HAVE_CACOSH 1
24802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24803 $as_echo_n "checking for cacoshf... " >&6; }
24804 if test "${gcc_cv_math_func_cacoshf+set}" = set; then :
24805 $as_echo_n "(cached) " >&6
24807 if test x
$gcc_no_link = xyes
; then
24808 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24811 /* end confdefs.h. */
24813 #ifdef HAVE_COMPLEX_H
24814 #include <complex.h>
24820 int (*ptr)() = (int (*)())cacoshf;
24829 if ac_fn_c_try_link
"$LINENO"; then :
24830 gcc_cv_math_func_cacoshf
=yes
24832 gcc_cv_math_func_cacoshf
=no
24834 rm -f core conftest.err conftest.
$ac_objext \
24835 conftest
$ac_exeext conftest.
$ac_ext
24837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24838 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24839 if test $gcc_cv_math_func_cacoshf = yes; then
24841 cat >>confdefs.h
<<_ACEOF
24842 #define HAVE_CACOSHF 1
24850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24851 $as_echo_n "checking for cacoshl... " >&6; }
24852 if test "${gcc_cv_math_func_cacoshl+set}" = set; then :
24853 $as_echo_n "(cached) " >&6
24855 if test x
$gcc_no_link = xyes
; then
24856 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24859 /* end confdefs.h. */
24861 #ifdef HAVE_COMPLEX_H
24862 #include <complex.h>
24868 int (*ptr)() = (int (*)())cacoshl;
24877 if ac_fn_c_try_link
"$LINENO"; then :
24878 gcc_cv_math_func_cacoshl
=yes
24880 gcc_cv_math_func_cacoshl
=no
24882 rm -f core conftest.err conftest.
$ac_objext \
24883 conftest
$ac_exeext conftest.
$ac_ext
24885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
24886 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24887 if test $gcc_cv_math_func_cacoshl = yes; then
24889 cat >>confdefs.h
<<_ACEOF
24890 #define HAVE_CACOSHL 1
24898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24899 $as_echo_n "checking for cacosl... " >&6; }
24900 if test "${gcc_cv_math_func_cacosl+set}" = set; then :
24901 $as_echo_n "(cached) " >&6
24903 if test x
$gcc_no_link = xyes
; then
24904 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24907 /* end confdefs.h. */
24909 #ifdef HAVE_COMPLEX_H
24910 #include <complex.h>
24916 int (*ptr)() = (int (*)())cacosl;
24925 if ac_fn_c_try_link
"$LINENO"; then :
24926 gcc_cv_math_func_cacosl
=yes
24928 gcc_cv_math_func_cacosl
=no
24930 rm -f core conftest.err conftest.
$ac_objext \
24931 conftest
$ac_exeext conftest.
$ac_ext
24933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
24934 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
24935 if test $gcc_cv_math_func_cacosl = yes; then
24937 cat >>confdefs.h
<<_ACEOF
24938 #define HAVE_CACOSL 1
24946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24947 $as_echo_n "checking for casin... " >&6; }
24948 if test "${gcc_cv_math_func_casin+set}" = set; then :
24949 $as_echo_n "(cached) " >&6
24951 if test x
$gcc_no_link = xyes
; then
24952 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24955 /* end confdefs.h. */
24957 #ifdef HAVE_COMPLEX_H
24958 #include <complex.h>
24964 int (*ptr)() = (int (*)())casin;
24973 if ac_fn_c_try_link
"$LINENO"; then :
24974 gcc_cv_math_func_casin
=yes
24976 gcc_cv_math_func_casin
=no
24978 rm -f core conftest.err conftest.
$ac_objext \
24979 conftest
$ac_exeext conftest.
$ac_ext
24981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
24982 $as_echo "$gcc_cv_math_func_casin" >&6; }
24983 if test $gcc_cv_math_func_casin = yes; then
24985 cat >>confdefs.h
<<_ACEOF
24986 #define HAVE_CASIN 1
24994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
24995 $as_echo_n "checking for casinf... " >&6; }
24996 if test "${gcc_cv_math_func_casinf+set}" = set; then :
24997 $as_echo_n "(cached) " >&6
24999 if test x
$gcc_no_link = xyes
; then
25000 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25003 /* end confdefs.h. */
25005 #ifdef HAVE_COMPLEX_H
25006 #include <complex.h>
25012 int (*ptr)() = (int (*)())casinf;
25021 if ac_fn_c_try_link
"$LINENO"; then :
25022 gcc_cv_math_func_casinf
=yes
25024 gcc_cv_math_func_casinf
=no
25026 rm -f core conftest.err conftest.
$ac_objext \
25027 conftest
$ac_exeext conftest.
$ac_ext
25029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25030 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25031 if test $gcc_cv_math_func_casinf = yes; then
25033 cat >>confdefs.h
<<_ACEOF
25034 #define HAVE_CASINF 1
25042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25043 $as_echo_n "checking for casinh... " >&6; }
25044 if test "${gcc_cv_math_func_casinh+set}" = set; then :
25045 $as_echo_n "(cached) " >&6
25047 if test x
$gcc_no_link = xyes
; then
25048 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25051 /* end confdefs.h. */
25053 #ifdef HAVE_COMPLEX_H
25054 #include <complex.h>
25060 int (*ptr)() = (int (*)())casinh;
25069 if ac_fn_c_try_link
"$LINENO"; then :
25070 gcc_cv_math_func_casinh
=yes
25072 gcc_cv_math_func_casinh
=no
25074 rm -f core conftest.err conftest.
$ac_objext \
25075 conftest
$ac_exeext conftest.
$ac_ext
25077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25078 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25079 if test $gcc_cv_math_func_casinh = yes; then
25081 cat >>confdefs.h
<<_ACEOF
25082 #define HAVE_CASINH 1
25090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25091 $as_echo_n "checking for casinhf... " >&6; }
25092 if test "${gcc_cv_math_func_casinhf+set}" = set; then :
25093 $as_echo_n "(cached) " >&6
25095 if test x
$gcc_no_link = xyes
; then
25096 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25099 /* end confdefs.h. */
25101 #ifdef HAVE_COMPLEX_H
25102 #include <complex.h>
25108 int (*ptr)() = (int (*)())casinhf;
25117 if ac_fn_c_try_link
"$LINENO"; then :
25118 gcc_cv_math_func_casinhf
=yes
25120 gcc_cv_math_func_casinhf
=no
25122 rm -f core conftest.err conftest.
$ac_objext \
25123 conftest
$ac_exeext conftest.
$ac_ext
25125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25126 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25127 if test $gcc_cv_math_func_casinhf = yes; then
25129 cat >>confdefs.h
<<_ACEOF
25130 #define HAVE_CASINHF 1
25138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25139 $as_echo_n "checking for casinhl... " >&6; }
25140 if test "${gcc_cv_math_func_casinhl+set}" = set; then :
25141 $as_echo_n "(cached) " >&6
25143 if test x
$gcc_no_link = xyes
; then
25144 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25147 /* end confdefs.h. */
25149 #ifdef HAVE_COMPLEX_H
25150 #include <complex.h>
25156 int (*ptr)() = (int (*)())casinhl;
25165 if ac_fn_c_try_link
"$LINENO"; then :
25166 gcc_cv_math_func_casinhl
=yes
25168 gcc_cv_math_func_casinhl
=no
25170 rm -f core conftest.err conftest.
$ac_objext \
25171 conftest
$ac_exeext conftest.
$ac_ext
25173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25174 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25175 if test $gcc_cv_math_func_casinhl = yes; then
25177 cat >>confdefs.h
<<_ACEOF
25178 #define HAVE_CASINHL 1
25186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25187 $as_echo_n "checking for casinl... " >&6; }
25188 if test "${gcc_cv_math_func_casinl+set}" = set; then :
25189 $as_echo_n "(cached) " >&6
25191 if test x
$gcc_no_link = xyes
; then
25192 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25195 /* end confdefs.h. */
25197 #ifdef HAVE_COMPLEX_H
25198 #include <complex.h>
25204 int (*ptr)() = (int (*)())casinl;
25213 if ac_fn_c_try_link
"$LINENO"; then :
25214 gcc_cv_math_func_casinl
=yes
25216 gcc_cv_math_func_casinl
=no
25218 rm -f core conftest.err conftest.
$ac_objext \
25219 conftest
$ac_exeext conftest.
$ac_ext
25221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25222 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25223 if test $gcc_cv_math_func_casinl = yes; then
25225 cat >>confdefs.h
<<_ACEOF
25226 #define HAVE_CASINL 1
25234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25235 $as_echo_n "checking for catan... " >&6; }
25236 if test "${gcc_cv_math_func_catan+set}" = set; then :
25237 $as_echo_n "(cached) " >&6
25239 if test x
$gcc_no_link = xyes
; then
25240 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25243 /* end confdefs.h. */
25245 #ifdef HAVE_COMPLEX_H
25246 #include <complex.h>
25252 int (*ptr)() = (int (*)())catan;
25261 if ac_fn_c_try_link
"$LINENO"; then :
25262 gcc_cv_math_func_catan
=yes
25264 gcc_cv_math_func_catan
=no
25266 rm -f core conftest.err conftest.
$ac_objext \
25267 conftest
$ac_exeext conftest.
$ac_ext
25269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25270 $as_echo "$gcc_cv_math_func_catan" >&6; }
25271 if test $gcc_cv_math_func_catan = yes; then
25273 cat >>confdefs.h
<<_ACEOF
25274 #define HAVE_CATAN 1
25282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25283 $as_echo_n "checking for catanf... " >&6; }
25284 if test "${gcc_cv_math_func_catanf+set}" = set; then :
25285 $as_echo_n "(cached) " >&6
25287 if test x
$gcc_no_link = xyes
; then
25288 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25291 /* end confdefs.h. */
25293 #ifdef HAVE_COMPLEX_H
25294 #include <complex.h>
25300 int (*ptr)() = (int (*)())catanf;
25309 if ac_fn_c_try_link
"$LINENO"; then :
25310 gcc_cv_math_func_catanf
=yes
25312 gcc_cv_math_func_catanf
=no
25314 rm -f core conftest.err conftest.
$ac_objext \
25315 conftest
$ac_exeext conftest.
$ac_ext
25317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25318 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25319 if test $gcc_cv_math_func_catanf = yes; then
25321 cat >>confdefs.h
<<_ACEOF
25322 #define HAVE_CATANF 1
25330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25331 $as_echo_n "checking for catanh... " >&6; }
25332 if test "${gcc_cv_math_func_catanh+set}" = set; then :
25333 $as_echo_n "(cached) " >&6
25335 if test x
$gcc_no_link = xyes
; then
25336 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25339 /* end confdefs.h. */
25341 #ifdef HAVE_COMPLEX_H
25342 #include <complex.h>
25348 int (*ptr)() = (int (*)())catanh;
25357 if ac_fn_c_try_link
"$LINENO"; then :
25358 gcc_cv_math_func_catanh
=yes
25360 gcc_cv_math_func_catanh
=no
25362 rm -f core conftest.err conftest.
$ac_objext \
25363 conftest
$ac_exeext conftest.
$ac_ext
25365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25366 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25367 if test $gcc_cv_math_func_catanh = yes; then
25369 cat >>confdefs.h
<<_ACEOF
25370 #define HAVE_CATANH 1
25378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25379 $as_echo_n "checking for catanhf... " >&6; }
25380 if test "${gcc_cv_math_func_catanhf+set}" = set; then :
25381 $as_echo_n "(cached) " >&6
25383 if test x
$gcc_no_link = xyes
; then
25384 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25387 /* end confdefs.h. */
25389 #ifdef HAVE_COMPLEX_H
25390 #include <complex.h>
25396 int (*ptr)() = (int (*)())catanhf;
25405 if ac_fn_c_try_link
"$LINENO"; then :
25406 gcc_cv_math_func_catanhf
=yes
25408 gcc_cv_math_func_catanhf
=no
25410 rm -f core conftest.err conftest.
$ac_objext \
25411 conftest
$ac_exeext conftest.
$ac_ext
25413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25414 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25415 if test $gcc_cv_math_func_catanhf = yes; then
25417 cat >>confdefs.h
<<_ACEOF
25418 #define HAVE_CATANHF 1
25426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25427 $as_echo_n "checking for catanhl... " >&6; }
25428 if test "${gcc_cv_math_func_catanhl+set}" = set; then :
25429 $as_echo_n "(cached) " >&6
25431 if test x
$gcc_no_link = xyes
; then
25432 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25435 /* end confdefs.h. */
25437 #ifdef HAVE_COMPLEX_H
25438 #include <complex.h>
25444 int (*ptr)() = (int (*)())catanhl;
25453 if ac_fn_c_try_link
"$LINENO"; then :
25454 gcc_cv_math_func_catanhl
=yes
25456 gcc_cv_math_func_catanhl
=no
25458 rm -f core conftest.err conftest.
$ac_objext \
25459 conftest
$ac_exeext conftest.
$ac_ext
25461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25462 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25463 if test $gcc_cv_math_func_catanhl = yes; then
25465 cat >>confdefs.h
<<_ACEOF
25466 #define HAVE_CATANHL 1
25474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25475 $as_echo_n "checking for catanl... " >&6; }
25476 if test "${gcc_cv_math_func_catanl+set}" = set; then :
25477 $as_echo_n "(cached) " >&6
25479 if test x
$gcc_no_link = xyes
; then
25480 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25483 /* end confdefs.h. */
25485 #ifdef HAVE_COMPLEX_H
25486 #include <complex.h>
25492 int (*ptr)() = (int (*)())catanl;
25501 if ac_fn_c_try_link
"$LINENO"; then :
25502 gcc_cv_math_func_catanl
=yes
25504 gcc_cv_math_func_catanl
=no
25506 rm -f core conftest.err conftest.
$ac_objext \
25507 conftest
$ac_exeext conftest.
$ac_ext
25509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25510 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25511 if test $gcc_cv_math_func_catanl = yes; then
25513 cat >>confdefs.h
<<_ACEOF
25514 #define HAVE_CATANL 1
25520 # On AIX, clog is present in libm as __clog
25521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25522 $as_echo_n "checking for __clog in -lm... " >&6; }
25523 if test "${ac_cv_lib_m___clog+set}" = set; then :
25524 $as_echo_n "(cached) " >&6
25526 ac_check_lib_save_LIBS
=$LIBS
25528 if test x
$gcc_no_link = xyes
; then
25529 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25532 /* end confdefs.h. */
25534 /* Override any GCC internal prototype to avoid an error.
25535 Use char because int might match the return type of a GCC
25536 builtin and then its argument prototype would still apply. */
25549 if ac_fn_c_try_link
"$LINENO"; then :
25550 ac_cv_lib_m___clog
=yes
25552 ac_cv_lib_m___clog
=no
25554 rm -f core conftest.err conftest.
$ac_objext \
25555 conftest
$ac_exeext conftest.
$ac_ext
25556 LIBS
=$ac_check_lib_save_LIBS
25558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25559 $as_echo "$ac_cv_lib_m___clog" >&6; }
25560 if test "x$ac_cv_lib_m___clog" = x
""yes; then :
25562 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25567 # Check whether the system has a working stat()
25569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25570 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25571 if test "${libgfor_cv_have_working_stat+set}" = set; then :
25572 $as_echo_n "(cached) " >&6
25575 if test "$cross_compiling" = yes; then :
25577 case "${target}" in
25578 *mingw
*) libgfor_cv_have_working_stat
=no
;;
25579 *) libgfor_cv_have_working_stat
=yes;;
25582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25583 /* end confdefs.h. */
25586 #include <sys/types.h>
25587 #include <sys/stat.h>
25588 #include <unistd.h>
25593 struct stat st1, st2;
25595 f = fopen ("foo", "w");
25596 g = fopen ("bar", "w");
25597 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25599 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25606 if ac_fn_c_try_run
"$LINENO"; then :
25607 libgfor_cv_have_working_stat
=yes
25609 libgfor_cv_have_working_stat
=no
25611 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
25612 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
25616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25617 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25618 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
25620 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25624 # Check whether __mingw_snprintf() is present
25626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25627 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25628 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
25629 $as_echo_n "(cached) " >&6
25632 if test x
$gcc_no_link = xyes
; then
25633 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25636 /* end confdefs.h. */
25639 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25645 __mingw_snprintf (NULL, 0, "%d\n", 1);
25651 if ac_fn_c_try_link
"$LINENO"; then :
25652 eval "libgfor_cv_have_mingw_snprintf=yes"
25654 eval "libgfor_cv_have_mingw_snprintf=no"
25656 rm -f core conftest.err conftest.
$ac_objext \
25657 conftest
$ac_exeext conftest.
$ac_ext
25660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25661 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25662 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
25664 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25669 # Check whether libquadmath should be used
25670 # Check whether --enable-libquadmath-support was given.
25671 if test "${enable_libquadmath_support+set}" = set; then :
25672 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
25674 ENABLE_LIBQUADMATH_SUPPORT
=yes
25677 enable_libquadmath_support
=
25678 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25679 enable_libquadmath_support
=no
25682 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25686 if test "x$enable_libquadmath_support" != xno
; then
25688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25689 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25690 if test "${libgfor_cv_have_float128+set}" = set; then :
25691 $as_echo_n "(cached) " >&6
25694 if test x
$gcc_no_link = xyes
; then
25695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25696 /* end confdefs.h. */
25698 typedef _Complex float __attribute__((mode(TC))) __complex128;
25700 __float128 foo (__float128 x)
25703 __complex128 z1, z2;
25709 return (__float128) z2;
25712 __float128 bar (__float128 x)
25714 return x * __builtin_huge_valq ();
25728 if ac_fn_c_try_compile
"$LINENO"; then :
25730 libgfor_cv_have_float128
=yes
25734 libgfor_cv_have_float128
=no
25737 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25739 if test x
$gcc_no_link = xyes
; then
25740 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25743 /* end confdefs.h. */
25745 typedef _Complex float __attribute__((mode(TC))) __complex128;
25747 __float128 foo (__float128 x)
25750 __complex128 z1, z2;
25756 return (__float128) z2;
25759 __float128 bar (__float128 x)
25761 return x * __builtin_huge_valq ();
25775 if ac_fn_c_try_link
"$LINENO"; then :
25777 libgfor_cv_have_float128
=yes
25781 libgfor_cv_have_float128
=no
25784 rm -f core conftest.err conftest.
$ac_objext \
25785 conftest
$ac_exeext conftest.
$ac_ext
25788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25789 $as_echo "$libgfor_cv_have_float128" >&6; }
25791 if test "x$libgfor_cv_have_float128" = xyes
; then
25793 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25796 ac_xsave_c_werror_flag
=$ac_c_werror_flag
25797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
25798 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
25799 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25800 $as_echo_n "(cached) " >&6
25803 # Test for native Solaris options first.
25804 # No whitespace after -z to pass it through -Wl.
25805 libgfor_cv_as_needed_option
="-zignore"
25806 libgfor_cv_no_as_needed_option
="-zrecord"
25807 save_LDFLAGS
="$LDFLAGS"
25808 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25809 libgfor_cv_have_as_needed
=no
25811 ac_c_werror_flag
=yes
25812 if test x
$gcc_no_link = xyes
; then
25813 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25816 /* end confdefs.h. */
25826 if ac_fn_c_try_link
"$LINENO"; then :
25827 libgfor_cv_have_as_needed
=yes
25829 libgfor_cv_have_as_needed
=no
25831 rm -f core conftest.err conftest.
$ac_objext \
25832 conftest
$ac_exeext conftest.
$ac_ext
25833 LDFLAGS
="$save_LDFLAGS"
25834 if test "x$libgfor_cv_have_as_needed" = xno
; then
25835 libgfor_cv_as_needed_option
="--as-needed"
25836 libgfor_cv_no_as_needed_option
="--no-as-needed"
25837 save_LDFLAGS
="$LDFLAGS"
25838 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25839 libgfor_cv_have_as_needed
=no
25841 ac_c_werror_flag
=yes
25842 if test x
$gcc_no_link = xyes
; then
25843 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25846 /* end confdefs.h. */
25856 if ac_fn_c_try_link
"$LINENO"; then :
25857 libgfor_cv_have_as_needed
=yes
25859 libgfor_cv_have_as_needed
=no
25861 rm -f core conftest.err conftest.
$ac_objext \
25862 conftest
$ac_exeext conftest.
$ac_ext
25863 LDFLAGS
="$save_LDFLAGS"
25865 ac_c_werror_flag
=$ac_xsave_c_werror_flag
25868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25869 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25871 if test "x$libgfor_cv_have_as_needed" = xyes
; then
25872 LIBQUADSPEC
="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
25874 LIBQUADSPEC
="-lquadmath"
25876 if test -f ..
/libquadmath
/libquadmath.la
; then
25877 LIBQUADLIB
=..
/libquadmath
/libquadmath.la
25878 LIBQUADLIB_DEP
=..
/libquadmath
/libquadmath.la
25879 LIBQUADINCLUDE
='-I$(srcdir)/../libquadmath'
25881 LIBQUADLIB
="-lquadmath"
25887 # for --disable-quadmath
25898 if test "x$libgfor_cv_have_float128" = xyes
; then
25899 LIBGFOR_BUILD_QUAD_TRUE
=
25900 LIBGFOR_BUILD_QUAD_FALSE
='#'
25902 LIBGFOR_BUILD_QUAD_TRUE
='#'
25903 LIBGFOR_BUILD_QUAD_FALSE
=
25908 # Check for GNU libc feenableexcept
25909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25910 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25911 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25912 $as_echo_n "(cached) " >&6
25914 ac_check_lib_save_LIBS
=$LIBS
25916 if test x
$gcc_no_link = xyes
; then
25917 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25920 /* end confdefs.h. */
25922 /* Override any GCC internal prototype to avoid an error.
25923 Use char because int might match the return type of a GCC
25924 builtin and then its argument prototype would still apply. */
25928 char feenableexcept ();
25932 return feenableexcept ();
25937 if ac_fn_c_try_link
"$LINENO"; then :
25938 ac_cv_lib_m_feenableexcept
=yes
25940 ac_cv_lib_m_feenableexcept
=no
25942 rm -f core conftest.err conftest.
$ac_objext \
25943 conftest
$ac_exeext conftest.
$ac_ext
25944 LIBS
=$ac_check_lib_save_LIBS
25946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25947 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25948 if test "x$ac_cv_lib_m_feenableexcept" = x
""yes; then :
25949 have_feenableexcept
=yes
25950 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25955 # At least for glibc, clock_gettime is in librt. But don't
25956 # pull that in if it still doesn't give us the function we want. This
25957 # test is copied from libgomp, and modified to not link in -lrt as
25958 # libgfortran calls clock_gettime via a weak reference if it's found
25960 if test "$ac_cv_func_clock_gettime" = no
; then
25961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25962 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25963 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25964 $as_echo_n "(cached) " >&6
25966 ac_check_lib_save_LIBS
=$LIBS
25968 if test x
$gcc_no_link = xyes
; then
25969 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25972 /* end confdefs.h. */
25974 /* Override any GCC internal prototype to avoid an error.
25975 Use char because int might match the return type of a GCC
25976 builtin and then its argument prototype would still apply. */
25980 char clock_gettime ();
25984 return clock_gettime ();
25989 if ac_fn_c_try_link
"$LINENO"; then :
25990 ac_cv_lib_rt_clock_gettime
=yes
25992 ac_cv_lib_rt_clock_gettime
=no
25994 rm -f core conftest.err conftest.
$ac_objext \
25995 conftest
$ac_exeext conftest.
$ac_ext
25996 LIBS
=$ac_check_lib_save_LIBS
25998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25999 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
26000 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
26002 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
26008 # Check for SysV fpsetmask
26010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
26011 $as_echo_n "checking whether fpsetmask is present... " >&6; }
26012 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
26013 $as_echo_n "(cached) " >&6
26016 if test x
$gcc_no_link = xyes
; then
26017 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26020 /* end confdefs.h. */
26022 #if HAVE_FLOATINGPOINT_H
26023 # include <floatingpoint.h>
26024 #endif /* HAVE_FLOATINGPOINT_H */
26026 # include <ieeefp.h>
26027 #endif /* HAVE_IEEEFP_H */
26036 if ac_fn_c_try_link
"$LINENO"; then :
26037 eval "libgfor_cv_have_fpsetmask=yes"
26039 eval "libgfor_cv_have_fpsetmask=no"
26041 rm -f core conftest.err conftest.
$ac_objext \
26042 conftest
$ac_exeext conftest.
$ac_ext
26045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
26046 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
26047 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
26050 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
26054 ac_fn_c_check_type
"$LINENO" "fp_except" "ac_cv_type_fp_except" "
26055 #include <ieeefp.h>
26059 if test "x$ac_cv_type_fp_except" = x
""yes; then :
26061 cat >>confdefs.h
<<_ACEOF
26062 #define HAVE_FP_EXCEPT 1
26067 ac_fn_c_check_type
"$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
26068 #include <ieeefp.h>
26072 if test "x$ac_cv_type_fp_except_t" = x
""yes; then :
26074 cat >>confdefs.h
<<_ACEOF
26075 #define HAVE_FP_EXCEPT_T 1
26081 ac_fn_c_check_type
"$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
26082 #include <ieeefp.h>
26086 if test "x$ac_cv_type_fp_rnd" = x
""yes; then :
26088 cat >>confdefs.h
<<_ACEOF
26089 #define HAVE_FP_RND 1
26094 ac_fn_c_check_type
"$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
26095 #include <ieeefp.h>
26099 if test "x$ac_cv_type_fp_rnd_t" = x
""yes; then :
26101 cat >>confdefs.h
<<_ACEOF
26102 #define HAVE_FP_RND_T 1
26109 # Check whether we have fpsetsticky or fpresetsticky
26110 ac_fn_c_check_func
"$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
26111 if test "x$ac_cv_func_fpsetsticky" = x
""yes; then :
26112 have_fpsetsticky
=yes
26113 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
26117 ac_fn_c_check_func
"$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
26118 if test "x$ac_cv_func_fpresetsticky" = x
""yes; then :
26119 have_fpresetsticky
=yes
26120 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
26125 # Check for AIX fp_trap and fp_enable
26126 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
26127 if test "x$ac_cv_func_fp_trap" = x
""yes; then :
26129 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
26133 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
26134 if test "x$ac_cv_func_fp_enable" = x
""yes; then :
26136 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
26141 # Runs configure.host to set up necessary host-dependent shell variables.
26142 # We then display a message about it, and propagate them through the
26144 .
${srcdir}/configure.
host
26145 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
26146 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
26147 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
26148 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
26149 FPU_HOST_HEADER
=config
/${fpu_host}.h
26152 # Whether we will build the IEEE modules
26153 if test x
${ieee_support} = xyes
; then
26155 IEEE_SUPPORT_FALSE
='#'
26157 IEEE_SUPPORT_TRUE
='#'
26158 IEEE_SUPPORT_FALSE
=
26163 # Some targets require additional compiler options for IEEE compatibility.
26164 IEEE_FLAGS
="${ieee_flags}"
26168 # Check for POSIX getpwuid_r
26170 # There are two versions of getpwuid_r, the POSIX one with 5
26171 # arguments, and another one with 4 arguments used by at least HP-UX
26173 if test "$ac_cv_func_getpwuid_r" = "yes"; then
26174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
26175 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
26176 if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
26177 $as_echo_n "(cached) " >&6
26180 if test x
$gcc_no_link = xyes
; then
26181 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26184 /* end confdefs.h. */
26187 #include <sys/types.h>
26193 getpwuid_r(0, NULL, NULL, 0, NULL);
26199 if ac_fn_c_try_link
"$LINENO"; then :
26200 libgfor_cv_posix_getpwuid_r
="yes"
26202 libgfor_cv_posix_getpwuid_r
="no"
26204 rm -f core conftest.err conftest.
$ac_objext \
26205 conftest
$ac_exeext conftest.
$ac_ext
26207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
26208 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
26210 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
26212 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
26217 # Check out attribute support.
26219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
26220 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
26221 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
26222 $as_echo_n "(cached) " >&6
26225 save_CFLAGS
="$CFLAGS"
26226 CFLAGS
="$CFLAGS -Werror"
26227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26228 /* end confdefs.h. */
26229 void __attribute__((visibility("hidden"))) foo(void) { }
26238 if ac_fn_c_try_compile
"$LINENO"; then :
26239 libgfor_cv_have_attribute_visibility
=yes
26241 libgfor_cv_have_attribute_visibility
=no
26243 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26244 CFLAGS
="$save_CFLAGS"
26246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26247 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26248 if test $libgfor_cv_have_attribute_visibility = yes; then
26250 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
26255 $as_echo_n "checking whether the target supports dllexport... " >&6; }
26256 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
26257 $as_echo_n "(cached) " >&6
26260 save_CFLAGS
="$CFLAGS"
26261 CFLAGS
="$CFLAGS -Werror"
26262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26263 /* end confdefs.h. */
26264 void __attribute__((dllexport)) foo(void) { }
26273 if ac_fn_c_try_compile
"$LINENO"; then :
26274 libgfor_cv_have_attribute_dllexport
=yes
26276 libgfor_cv_have_attribute_dllexport
=no
26278 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26279 CFLAGS
="$save_CFLAGS"
26281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
26282 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
26283 if test $libgfor_cv_have_attribute_dllexport = yes; then
26285 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
26289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26290 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26291 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
26292 $as_echo_n "(cached) " >&6
26295 if test x
$gcc_no_link = xyes
; then
26296 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26299 /* end confdefs.h. */
26302 extern void bar(void) __attribute__((alias("foo")));
26311 if ac_fn_c_try_link
"$LINENO"; then :
26312 libgfor_cv_have_attribute_alias
=yes
26314 libgfor_cv_have_attribute_alias
=no
26316 rm -f core conftest.err conftest.
$ac_objext \
26317 conftest
$ac_exeext conftest.
$ac_ext
26319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26320 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26321 if test $libgfor_cv_have_attribute_alias = yes; then
26323 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26327 # Check out sync builtins support.
26329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
26330 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
26331 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
26332 $as_echo_n "(cached) " >&6
26335 if test x
$gcc_no_link = xyes
; then
26336 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26339 /* end confdefs.h. */
26345 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
26346 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
26351 if ac_fn_c_try_link
"$LINENO"; then :
26352 libgfor_cv_have_sync_fetch_and_add
=yes
26354 libgfor_cv_have_sync_fetch_and_add
=no
26356 rm -f core conftest.err conftest.
$ac_objext \
26357 conftest
$ac_exeext conftest.
$ac_ext
26359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
26360 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
26361 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
26363 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
26367 # Check out #pragma weak.
26369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26370 $as_echo_n "checking whether pragma weak works... " >&6; }
26371 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
26372 $as_echo_n "(cached) " >&6
26375 gfor_save_CFLAGS
="$CFLAGS"
26376 CFLAGS
="$CFLAGS -Wunknown-pragmas"
26377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26378 /* end confdefs.h. */
26391 if ac_fn_c_try_compile
"$LINENO"; then :
26392 libgfor_cv_have_pragma_weak
=yes
26394 libgfor_cv_have_pragma_weak
=no
26396 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26399 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26400 if test $libgfor_cv_have_pragma_weak = yes; then
26402 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26406 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* )
26408 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26413 # Various other checks on target
26415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26416 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26417 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
26418 $as_echo_n "(cached) " >&6
26421 if test "$cross_compiling" = yes; then :
26423 case "${target}" in
26424 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
26425 *) libgfor_cv_have_unlink_open_file
=yes;;
26428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26429 /* end confdefs.h. */
26433 #include <unistd.h>
26434 #include <sys/stat.h>
26440 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26443 if (unlink ("testfile") == -1)
26445 write (fd, "This is a test\n", 15);
26448 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26454 if ac_fn_c_try_run
"$LINENO"; then :
26455 libgfor_cv_have_unlink_open_file
=yes
26457 libgfor_cv_have_unlink_open_file
=no
26459 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26460 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26465 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26466 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
26468 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26472 # Check whether line terminator is LF or CRLF
26474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26475 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26476 if test "${libgfor_cv_have_crlf+set}" = set; then :
26477 $as_echo_n "(cached) " >&6
26480 if test "$cross_compiling" = yes; then :
26482 case "${target}" in
26483 *mingw
*) libgfor_cv_have_crlf
=yes ;;
26484 *) libgfor_cv_have_crlf
=no
;;
26487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26488 /* end confdefs.h. */
26490 /* This test program should exit with status 0 if system uses a CRLF as
26491 line terminator, and status 1 otherwise.
26492 Since it is used to check for mingw systems, and should return 0 in any
26493 other case, in case of a failure we will not use CRLF. */
26494 #include <sys/stat.h>
26495 #include <stdlib.h>
26507 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26510 if (write (fd, "\n", 1) < 0)
26515 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26517 bytes = read (fd, buff, 5);
26518 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26525 if ac_fn_c_try_run
"$LINENO"; then :
26526 libgfor_cv_have_crlf
=yes
26528 libgfor_cv_have_crlf
=no
26530 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26531 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26536 $as_echo "$libgfor_cv_have_crlf" >&6; }
26537 if test x
"$libgfor_cv_have_crlf" = xyes
; then
26539 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26543 # Check whether we have _Unwind_GetIPInfo for backtrace
26546 # Check whether --with-system-libunwind was given.
26547 if test "${with_system_libunwind+set}" = set; then :
26548 withval
=$with_system_libunwind;
26551 # If system-libunwind was not specifically set, pick a default setting.
26552 if test x
$with_system_libunwind = x
; then
26554 ia64-
*-hpux*) with_system_libunwind
=yes ;;
26555 *) with_system_libunwind
=no
;;
26558 # Based on system-libunwind and target, do we have ipinfo?
26559 if test x
$with_system_libunwind = xyes
; then
26561 ia64-
*-*) have_unwind_getipinfo
=no
;;
26562 *) have_unwind_getipinfo
=yes ;;
26565 # Darwin before version 9 does not have _Unwind_GetIPInfo.
26568 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
26569 *) have_unwind_getipinfo
=yes ;;
26574 if test x
$have_unwind_getipinfo = xyes
; then
26576 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
26581 cat >confcache
<<\_ACEOF
26582 # This file is a shell script that caches the results of configure
26583 # tests run on this system so they can be shared between configure
26584 # scripts and configure runs, see configure's option --config-cache.
26585 # It is not useful on other systems. If it contains results you don't
26586 # want to keep, you may remove or edit it.
26588 # config.status only pays attention to the cache file if you give it
26589 # the --recheck option to rerun configure.
26591 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26592 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26593 # following values.
26597 # The following way of writing the cache mishandles newlines in values,
26598 # but we know of no workaround that is simple, portable, and efficient.
26599 # So, we kill variables containing newlines.
26600 # Ultrix sh set writes to stderr and can't be redirected directly,
26601 # and sets the high bit in the cache file unless we assign to the vars.
26603 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26604 eval ac_val
=\$
$ac_var
26608 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26609 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26612 _ | IFS | as_nl
) ;; #(
26613 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26614 *) { eval $ac_var=; unset $ac_var;} ;;
26620 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26621 *${as_nl}ac_space
=\
*)
26622 # `set' does not quote correctly, so add quotes: double-quote
26623 # substitution turns \\\\ into \\, and sed turns \\ into \.
26626 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26629 # `set' quotes correctly as required by POSIX, so do not add quotes.
26630 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26639 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26641 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26643 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26644 if test -w "$cache_file"; then
26645 test "x$cache_file" != "x/dev/null" &&
26646 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26647 $as_echo "$as_me: updating cache $cache_file" >&6;}
26648 cat confcache
>$cache_file
26650 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26651 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26656 if test ${multilib} = yes; then
26657 multilib_arg
="--enable-multilib"
26662 # Write our Makefile and spec file.
26663 ac_config_files
="$ac_config_files Makefile libgfortran.spec"
26665 cat >confcache
<<\_ACEOF
26666 # This file is a shell script that caches the results of configure
26667 # tests run on this system so they can be shared between configure
26668 # scripts and configure runs, see configure's option --config-cache.
26669 # It is not useful on other systems. If it contains results you don't
26670 # want to keep, you may remove or edit it.
26672 # config.status only pays attention to the cache file if you give it
26673 # the --recheck option to rerun configure.
26675 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26676 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26677 # following values.
26681 # The following way of writing the cache mishandles newlines in values,
26682 # but we know of no workaround that is simple, portable, and efficient.
26683 # So, we kill variables containing newlines.
26684 # Ultrix sh set writes to stderr and can't be redirected directly,
26685 # and sets the high bit in the cache file unless we assign to the vars.
26687 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26688 eval ac_val
=\$
$ac_var
26692 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26693 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26696 _ | IFS | as_nl
) ;; #(
26697 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26698 *) { eval $ac_var=; unset $ac_var;} ;;
26704 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26705 *${as_nl}ac_space
=\
*)
26706 # `set' does not quote correctly, so add quotes: double-quote
26707 # substitution turns \\\\ into \\, and sed turns \\ into \.
26710 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26713 # `set' quotes correctly as required by POSIX, so do not add quotes.
26714 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26723 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26725 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26727 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26728 if test -w "$cache_file"; then
26729 test "x$cache_file" != "x/dev/null" &&
26730 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26731 $as_echo "$as_me: updating cache $cache_file" >&6;}
26732 cat confcache
>$cache_file
26734 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26735 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26740 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
26741 # Let make expand exec_prefix.
26742 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
26744 DEFS
=-DHAVE_CONFIG_H
26748 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
26749 # 1. Remove the extension, and $U if already installed.
26750 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
26751 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
26752 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26753 # will be set to the directory where LIBOBJS objects are built.
26754 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26755 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
26757 LIBOBJS
=$ac_libobjs
26759 LTLIBOBJS
=$ac_ltlibobjs
26762 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26763 as_fn_error
"conditional \"onestep\" was never defined.
26764 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26766 if test -n "$EXEEXT"; then
26768 am__EXEEXT_FALSE
='#'
26770 am__EXEEXT_TRUE
='#'
26774 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26775 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
26776 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26778 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26779 as_fn_error
"conditional \"AMDEP\" was never defined.
26780 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26782 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26783 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26784 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26786 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26787 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26788 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26790 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
26791 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
26792 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26794 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
26795 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
26796 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26798 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
26799 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
26800 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26802 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
26803 as_fn_error
"conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
26804 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26806 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
26807 as_fn_error
"conditional \"IEEE_SUPPORT\" was never defined.
26808 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26811 : ${CONFIG_STATUS=./config.status}
26813 ac_clean_files_save
=$ac_clean_files
26814 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
26815 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26816 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26818 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26820 # Generated by $as_me.
26821 # Run this file to recreate the current configuration.
26822 # Compiler output produced by configure, useful for debugging
26823 # configure, is in config.log if it exists.
26826 ac_cs_recheck=false
26829 SHELL=\${CONFIG_SHELL-$SHELL}
26832 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
26833 ## -------------------- ##
26834 ## M4sh Initialization. ##
26835 ## -------------------- ##
26837 # Be more Bourne compatible
26838 DUALCASE
=1; export DUALCASE
# for MKS sh
26839 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
26842 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26843 # is contrary to our usage. Disable this feature.
26844 alias -g '${1+"$@"}'='"$@"'
26845 setopt NO_GLOB_SUBST
26847 case `(set -o) 2>/dev/null` in #(
26859 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26860 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26861 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26862 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26863 # Prefer a ksh shell builtin over an external printf program on Solaris,
26864 # but without wasting forks for bash or zsh.
26865 if test -z "$BASH_VERSION$ZSH_VERSION" \
26866 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26867 as_echo='print
-r --'
26868 as_echo_n='print
-rn --'
26869 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26870 as_echo='printf %s
\n'
26871 as_echo_n='printf %s
'
26873 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26874 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
26875 as_echo_n='/usr
/ucb
/echo -n'
26877 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26878 as_echo_n_body='eval
26882 expr "X$arg" : "X\\(.*\\)$as_nl";
26883 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26885 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
26887 export as_echo_n_body
26888 as_echo_n='sh
-c $as_echo_n_body as_echo
'
26890 export as_echo_body
26891 as_echo='sh
-c $as_echo_body as_echo
'
26894 # The user is always right.
26895 if test "${PATH_SEPARATOR+set}" != set; then
26897 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26898 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26905 # We need space, tab and new line, in precisely that order. Quoting is
26906 # there to prevent editors from complaining about space-tab.
26907 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26908 # splitting by setting IFS to empty value.)
26911 # Find who we are. Look in the path if we contain no directory separator.
26913 *[\\/]* ) as_myself=$0 ;;
26914 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26915 for as_dir in $PATH
26918 test -z "$as_dir" && as_dir=.
26919 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26925 # We did not find ourselves, most probably we were run as `sh COMMAND'
26926 # in which case we are not to be found in the path.
26927 if test "x$as_myself" = x
; then
26930 if test ! -f "$as_myself"; then
26931 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26935 # Unset variables that we do not need and which cause bugs (e.g. in
26936 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26937 # suppresses any "Segmentation fault" message there. '((' could
26938 # trigger a bug in pdksh 5.2.14.
26939 for as_var
in BASH_ENV ENV MAIL MAILPATH
26940 do eval test x\
${$as_var+set} = xset \
26941 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
26954 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
26957 # as_fn_error ERROR [LINENO LOG_FD]
26958 # ---------------------------------
26959 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26960 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26961 # script with status $?, using 1 if that was 0.
26964 as_status
=$?
; test $as_status -eq 0 && as_status
=1
26966 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
26967 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26969 $as_echo "$as_me: error: $1" >&2
26970 as_fn_exit
$as_status
26974 # as_fn_set_status STATUS
26975 # -----------------------
26976 # Set $? to STATUS, without forking.
26977 as_fn_set_status
()
26980 } # as_fn_set_status
26982 # as_fn_exit STATUS
26983 # -----------------
26984 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26988 as_fn_set_status
$1
26994 # Portably unset VAR.
26997 { eval $1=; unset $1;}
26999 as_unset
=as_fn_unset
27000 # as_fn_append VAR VALUE
27001 # ----------------------
27002 # Append the text in VALUE to the end of the definition contained in VAR. Take
27003 # advantage of any shell optimizations that allow amortized linear growth over
27004 # repeated appends, instead of the typical quadratic growth present in naive
27006 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
27007 eval 'as_fn_append ()
27018 # as_fn_arith ARG...
27019 # ------------------
27020 # Perform arithmetic evaluation on the ARGs, and store the result in the
27021 # global $as_val. Take advantage of shells that can avoid forks. The arguments
27022 # must be portable across $(()) and expr.
27023 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
27024 eval 'as_fn_arith ()
27031 as_val
=`expr "$@" || test $? -eq 1`
27036 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
27037 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
27043 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
27044 as_basename
=basename
27049 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
27055 as_me
=`$as_basename -- "$0" ||
27056 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27057 X"$0" : 'X\(//\)$' \| \
27058 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27060 sed '/^.*\/\([^/][^/]*\)\/*$/{
27074 # Avoid depending upon Character Ranges.
27075 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
27076 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27077 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
27078 as_cr_digits
='0123456789'
27079 as_cr_alnum
=$as_cr_Letters$as_cr_digits
27081 ECHO_C
= ECHO_N
= ECHO_T
=
27082 case `echo -n x` in #(((((
27084 case `echo 'xy\c'` in
27085 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
27087 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
27094 rm -f conf$$ conf$$.exe conf$$.
file
27095 if test -d conf$$.dir
; then
27096 rm -f conf$$.dir
/conf$$.
file
27099 mkdir conf$$.dir
2>/dev
/null
27101 if (echo >conf$$.
file) 2>/dev
/null
; then
27102 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
27104 # ... but there are two gotchas:
27105 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27106 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27107 # In both cases, we have to default to `cp -p'.
27108 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
27110 elif ln conf$$.
file conf$$
2>/dev
/null
; then
27118 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
27119 rmdir conf$$.dir
2>/dev
/null
27124 # Create "$as_dir" as a directory, including parents if necessary.
27129 -*) as_dir
=.
/$as_dir;;
27131 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
27135 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27136 *) as_qdir
=$as_dir;;
27138 as_dirs
="'$as_qdir' $as_dirs"
27139 as_dir
=`$as_dirname -- "$as_dir" ||
27140 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27141 X"$as_dir" : 'X\(//\)[^/]' \| \
27142 X"$as_dir" : 'X\(//\)$' \| \
27143 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27144 $as_echo X"$as_dir" |
27145 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27149 /^X\(\/\/\)[^/].*/{
27162 test -d "$as_dir" && break
27164 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
27165 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
27169 if mkdir
-p .
2>/dev
/null
; then
27170 as_mkdir_p
='mkdir -p "$as_dir"'
27172 test -d .
/-p && rmdir .
/-p
27176 if test -x / >/dev
/null
2>&1; then
27177 as_test_x
='test -x'
27179 if ls -dL / >/dev
/null
2>&1; then
27186 if test -d "$1"; then
27192 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
27193 ???[sx]*):;;*)false;;esac;fi
27197 as_executable_p
=$as_test_x
27199 # Sed expression to map a string onto a valid CPP name.
27200 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27202 # Sed expression to map a string onto a valid variable name.
27203 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27207 ## ----------------------------------- ##
27208 ## Main body of $CONFIG_STATUS script. ##
27209 ## ----------------------------------- ##
27211 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
27213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27214 # Save the log message, to keep $0 and so on meaningful, and to
27215 # report actual input values of CONFIG_FILES etc. instead of their
27216 # values after options handling.
27218 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27219 generated by GNU Autoconf 2.64. Invocation command line was
27221 CONFIG_FILES = $CONFIG_FILES
27222 CONFIG_HEADERS = $CONFIG_HEADERS
27223 CONFIG_LINKS = $CONFIG_LINKS
27224 CONFIG_COMMANDS = $CONFIG_COMMANDS
27227 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27232 case $ac_config_files in *"
27233 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
27236 case $ac_config_headers in *"
27237 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
27241 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27242 # Files that config.status was made for.
27243 config_files="$ac_config_files"
27244 config_headers="$ac_config_headers"
27245 config_commands="$ac_config_commands"
27249 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27251 \`$as_me' instantiates files and other configuration actions
27252 from templates according to the current configuration. Unless the files
27253 and actions are specified as TAGs, all are instantiated by default.
27255 Usage: $0 [OPTION]... [TAG]...
27257 -h, --help print this help, then exit
27258 -V, --version print version number and configuration settings, then exit
27259 -q, --quiet, --silent
27260 do not print progress messages
27261 -d, --debug don't remove temporary files
27262 --recheck update $as_me by reconfiguring in the same conditions
27263 --file=FILE[:TEMPLATE]
27264 instantiate the configuration file FILE
27265 --header=FILE[:TEMPLATE]
27266 instantiate the configuration header FILE
27268 Configuration files:
27271 Configuration headers:
27274 Configuration commands:
27277 Report bugs to the package provider.
27278 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27279 General help using GNU software: <http://www.gnu.org/gethelp/>."
27282 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27284 GNU Fortran Runtime Library config.status 0.3
27285 configured by $0, generated by GNU Autoconf 2.64,
27286 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
27288 Copyright (C) 2009 Free Software Foundation, Inc.
27289 This config.status script is free software; the Free Software Foundation
27290 gives unlimited permission to copy, distribute and modify it."
27297 test -n "\$AWK" || AWK=awk
27300 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27301 # The default lists apply if the user does not specify any file.
27307 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
27308 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
27319 # Handling of the options.
27320 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
27322 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
27323 $as_echo "$ac_cs_version"; exit ;;
27324 --debug |
--debu |
--deb |
--de |
--d |
-d )
27326 --file |
--fil |
--fi |
--f )
27329 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27331 as_fn_append CONFIG_FILES
" '$ac_optarg'"
27332 ac_need_defaults
=false
;;
27333 --header |
--heade |
--head |
--hea )
27336 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27338 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
27339 ac_need_defaults
=false
;;
27341 # Conflict between --help and --header
27342 as_fn_error
"ambiguous option: \`$1'
27343 Try \`$0 --help' for more information.";;
27344 --help |
--hel |
-h )
27345 $as_echo "$ac_cs_usage"; exit ;;
27346 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
27347 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
27350 # This is an error.
27351 -*) as_fn_error
"unrecognized option: \`$1'
27352 Try \`$0 --help' for more information." ;;
27354 *) as_fn_append ac_config_targets
" $1"
27355 ac_need_defaults
=false
;;
27361 ac_configure_extra_args
=
27363 if $ac_cs_silent; then
27365 ac_configure_extra_args
="$ac_configure_extra_args --silent"
27369 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27370 if \$ac_cs_recheck; then
27371 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27373 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27374 CONFIG_SHELL='$SHELL'
27375 export CONFIG_SHELL
27380 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27384 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27385 ## Running $as_me. ##
27391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27399 with_multisubdir="$with_multisubdir"
27400 with_multisrctop="$with_multisrctop"
27401 with_target_subdir="$with_target_subdir"
27402 ac_configure_args="${multilib_arg} ${ac_configure_args}"
27403 multi_basedir="$multi_basedir"
27404 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27407 GFORTRAN="$GFORTRAN"
27409 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27412 # The HP-UX ksh and POSIX shell print the target directory to stdout
27413 # if CDPATH is set.
27414 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27416 sed_quote_subst='$sed_quote_subst'
27417 double_quote_subst='$double_quote_subst'
27418 delay_variable_subst='$delay_variable_subst'
27419 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27420 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27421 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27422 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27423 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27424 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27425 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27426 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27427 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27428 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27429 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27430 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27431 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27432 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27433 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27434 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27435 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27436 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27437 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27438 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27439 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27440 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27441 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27442 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27443 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27444 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27445 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27446 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27447 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27448 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27449 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27450 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27451 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27452 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27453 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27454 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27455 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27456 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27457 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27458 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27459 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27460 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27461 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27462 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27463 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27464 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27465 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27466 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27467 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"`'
27468 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27469 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27470 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27471 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27472 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27473 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27474 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27475 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27476 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27477 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27478 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27479 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27480 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27481 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27482 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27483 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27484 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27485 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27486 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27487 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27488 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27489 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27490 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27491 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27492 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27493 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27494 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27495 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27496 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27497 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27498 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27499 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27500 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27501 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27502 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27503 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27504 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27505 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27506 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27507 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27508 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27509 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27510 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27511 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27512 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27513 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27514 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27515 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27516 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27517 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27518 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27519 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27520 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27521 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27522 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27523 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27524 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27525 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27526 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27527 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27528 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27529 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27530 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27531 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27532 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27533 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27534 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27535 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27536 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27537 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27538 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27539 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27540 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27541 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27542 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27543 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27544 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27545 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27546 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27547 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27548 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27549 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27550 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27551 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27552 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27553 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27554 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27555 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27556 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27557 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27558 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27559 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27560 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27561 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27562 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27563 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27564 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27565 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27566 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27567 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27568 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27569 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27570 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27571 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27572 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27573 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27574 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27575 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27576 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27577 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27578 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27579 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27580 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27581 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27582 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27583 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27584 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27585 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27586 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27587 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27588 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27589 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27590 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27591 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27592 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27593 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27596 LTCFLAGS='$LTCFLAGS'
27597 compiler='$compiler_DEFAULT'
27599 # A function that is used when there is no print builtin or printf.
27600 func_fallback_echo ()
27602 eval 'cat <<_LTECHO_EOF
27607 # Quote evaled strings.
27621 deplibs_check_method \
27630 lt_cv_sys_global_symbol_pipe \
27631 lt_cv_sys_global_symbol_to_cdecl \
27632 lt_cv_sys_global_symbol_to_c_name_address \
27633 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27634 lt_prog_compiler_no_builtin_flag \
27635 lt_prog_compiler_wl \
27636 lt_prog_compiler_pic \
27637 lt_prog_compiler_static \
27638 lt_cv_prog_compiler_c_o \
27646 export_dynamic_flag_spec \
27647 whole_archive_flag_spec \
27648 compiler_needs_object \
27650 allow_undefined_flag \
27651 no_undefined_flag \
27652 hardcode_libdir_flag_spec \
27653 hardcode_libdir_flag_spec_ld \
27654 hardcode_libdir_separator \
27659 variables_saved_for_relink \
27661 library_names_spec \
27663 install_override_mode \
27667 compiler_lib_search_dirs \
27672 compiler_lib_search_path \
27676 lt_prog_compiler_no_builtin_flag_FC \
27677 lt_prog_compiler_wl_FC \
27678 lt_prog_compiler_pic_FC \
27679 lt_prog_compiler_static_FC \
27680 lt_cv_prog_compiler_c_o_FC \
27681 export_dynamic_flag_spec_FC \
27682 whole_archive_flag_spec_FC \
27683 compiler_needs_object_FC \
27685 allow_undefined_flag_FC \
27686 no_undefined_flag_FC \
27687 hardcode_libdir_flag_spec_FC \
27688 hardcode_libdir_flag_spec_ld_FC \
27689 hardcode_libdir_separator_FC \
27690 fix_srcfile_path_FC \
27691 exclude_expsyms_FC \
27692 include_expsyms_FC \
27693 file_list_spec_FC \
27694 compiler_lib_search_dirs_FC \
27695 predep_objects_FC \
27696 postdep_objects_FC \
27699 compiler_lib_search_path_FC; do
27700 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27701 *[\\\\\\\`\\"\\\$]*)
27702 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27705 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27710 # Double-quote double-evaled strings.
27711 for var in reload_cmds \
27712 old_postinstall_cmds \
27713 old_postuninstall_cmds \
27715 extract_expsyms_cmds \
27716 old_archive_from_new_cmds \
27717 old_archive_from_expsyms_cmds \
27719 archive_expsym_cmds \
27721 module_expsym_cmds \
27722 export_symbols_cmds \
27725 postuninstall_cmds \
27727 sys_lib_search_path_spec \
27728 sys_lib_dlsearch_path_spec \
27730 old_archive_cmds_FC \
27731 old_archive_from_new_cmds_FC \
27732 old_archive_from_expsyms_cmds_FC \
27734 archive_expsym_cmds_FC \
27736 module_expsym_cmds_FC \
27737 export_symbols_cmds_FC \
27738 prelink_cmds_FC; do
27739 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27740 *[\\\\\\\`\\"\\\$]*)
27741 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27744 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27749 ac_aux_dir='$ac_aux_dir'
27750 xsi_shell='$xsi_shell'
27751 lt_shell_append='$lt_shell_append'
27753 # See if we are running on zsh, and set the options which allow our
27754 # commands through without removal of \ escapes INIT.
27755 if test -n "\${ZSH_VERSION+set}" ; then
27756 setopt NO_GLOB_SUBST
27762 TIMESTAMP='$TIMESTAMP'
27773 acx_cv_header_stdint="$acx_cv_header_stdint"
27774 acx_cv_type_int8_t="$acx_cv_type_int8_t"
27775 acx_cv_type_int16_t="$acx_cv_type_int16_t"
27776 acx_cv_type_int32_t="$acx_cv_type_int32_t"
27777 acx_cv_type_int64_t="$acx_cv_type_int64_t"
27778 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
27779 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
27780 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
27781 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27782 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27783 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
27784 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27785 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27786 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
27791 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27793 # Handling of arguments.
27794 for ac_config_target
in $ac_config_targets
27796 case $ac_config_target in
27797 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
27798 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
27799 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
27800 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
27801 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
27802 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
27803 "libgfortran.spec") CONFIG_FILES
="$CONFIG_FILES libgfortran.spec" ;;
27805 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27810 # If the user did not use the arguments to specify the items to instantiate,
27811 # then the envvar interface is used. Set only those that are not.
27812 # We use the long form for the default assignment because of an extremely
27813 # bizarre bug on SunOS 4.1.3.
27814 if $ac_need_defaults; then
27815 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
27816 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
27817 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
27820 # Have a temporary directory for convenience. Make it in the build tree
27821 # simply because there is no reason against having it here, and in addition,
27822 # creating and moving files from /tmp can sometimes cause problems.
27823 # Hook for its removal unless debugging.
27824 # Note that there is a small window in which the directory will not be cleaned:
27825 # after its creation but before its name has been assigned to `$tmp'.
27829 trap 'exit_status=$?
27830 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27832 trap 'as_fn_exit 1' 1 2 13 15
27834 # Create a (secure) tmp directory for tmp files.
27837 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27838 test -n "$tmp" && test -d "$tmp"
27841 tmp
=.
/conf$$
-$RANDOM
27842 (umask 077 && mkdir
"$tmp")
27843 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
27845 # Set up the scripts for CONFIG_FILES section.
27846 # No need to generate them if there are no CONFIG_FILES.
27847 # This happens for instance with `./config.status config.h'.
27848 if test -n "$CONFIG_FILES"; then
27851 ac_cr
=`echo X | tr X '\015'`
27852 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27853 # But we know of no other shell where ac_cr would be empty at this
27854 # point, so we can use a bashism as a fallback.
27855 if test "x$ac_cr" = x
; then
27856 eval ac_cr
=\$
\'\\r
\'
27858 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27859 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27862 ac_cs_awk_cr
=$ac_cr
27865 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27870 echo "cat >conf$$subs.awk <<_ACEOF" &&
27871 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27873 } >conf$$subs.sh ||
27874 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27875 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27877 for ac_last_try in false false false false false :; do
27878 . ./conf$$subs.sh ||
27879 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27881 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
27882 if test $ac_delim_n = $ac_delim_num; then
27884 elif $ac_last_try; then
27885 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27887 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27890 rm -f conf$$subs.sh
27892 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27893 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
27897 s/^/S["/; s
/!.
*/"]=/
27907 s/\(.\{148\}\).*/\1/
27909 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
27914 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27921 s/\(.\{148\}\).*/\1/
27923 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
27927 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27932 ' <conf$$subs.awk | sed '
27937 ' >>$CONFIG_STATUS || ac_write_fail=1
27938 rm -f conf$$subs.awk
27939 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27941 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
27942 for (key in S) S_is_set[key] = 1
27948 nfields = split(line, field, "@
")
27950 len = length(field[1])
27951 for (i = 2; i < nfields; i++) {
27953 keylen = length(key)
27954 if (S_is_set[key]) {
27956 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27957 len += length(value) + length(field[++i])
27968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27969 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27970 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
27973 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
27974 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
27977 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27978 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
27979 # trailing colons and then remove the whole line if VPATH becomes empty
27980 # (actually we leave an empty line to preserve line numbers).
27981 if test "x
$srcdir" = x.; then
27982 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27983 s/:*\$(srcdir):*/:/
27984 s/:*\${srcdir}:*/:/
27986 s/^\([^=]*=[ ]*\):*/\1/
27992 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27993 fi # test -n "$CONFIG_FILES"
27995 # Set up the scripts for CONFIG_HEADERS section.
27996 # No need to generate them if there are no CONFIG_HEADERS.
27997 # This happens for instance with `./config.status Makefile'.
27998 if test -n "$CONFIG_HEADERS"; then
27999 cat >"$tmp/defines.
awk" <<\_ACAWK ||
28003 # Transform confdefs.h into an awk script `defines.awk', embedded as
28004 # here-document in config.status, that substitutes the proper values into
28005 # config.h.in to produce config.h.
28007 # Create a delimiter string that does not exist in confdefs.h, to ease
28008 # handling of long lines.
28010 for ac_last_try in false false :; do
28011 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
28012 if test -z "$ac_t"; then
28014 elif $ac_last_try; then
28015 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
28017 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
28021 # For the awk script, D is an array of macro values keyed by name,
28022 # likewise P contains macro parameters if any. Preserve backslash
28023 # newline sequences.
28025 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
28027 s/.\{148\}/&'"$ac_delim"'/g
28030 s/^[ ]*#[ ]*define[ ][ ]*/ /
28037 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
28039 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
28043 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
28044 D["\
1"]=" \
3\\\\\\n
"\\/p
28046 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
28051 s/.\{148\}/&'"$ac_delim"'/g
28056 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
28059 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
28061 ' <confdefs.h | sed '
28062 s/'"$ac_delim"'/"\\\
28063 "/g' >>$CONFIG_STATUS || ac_write_fail=1
28065 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28066 for (key in D) D_is_set[key] = 1
28069 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
28071 split(line, arg, " ")
28072 if (arg[1] == "#") {
28076 defundef
= substr
(arg
[1], 2)
28079 split(mac1
, mac2
, "(") #)
28081 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
28082 if (D_is_set
[macro
]) {
28083 # Preserve the white space surrounding the "#".
28084 print prefix
"define", macro P
[macro
] D
[macro
]
28087 # Replace #undef with comments. This is necessary, for example,
28088 # in the case of _POSIX_SOURCE, which is predefined and required
28089 # on some systems where configure will not decide to define it.
28090 if (defundef
== "undef") {
28091 print
"/*", prefix defundef
, macro
, "*/"
28099 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28100 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
28101 fi # test -n "$CONFIG_HEADERS"
28104 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
28109 :[FHLC
]) ac_mode
=$ac_tag; continue;;
28111 case $ac_mode$ac_tag in
28113 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
28114 :[FH
]-) ac_tag
=-:-;;
28115 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
28132 -) ac_f
="$tmp/stdin";;
28133 *) # Look for the file first in the build tree, then in the source tree
28134 # (if the path is not absolute). The absolute path cannot be DOS-style,
28135 # because $ac_f cannot contain `:'.
28139 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
28141 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
28143 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28144 as_fn_append ac_file_inputs
" '$ac_f'"
28147 # Let's still pretend it is `configure' which instantiates (i.e., don't
28148 # use $as_me), people would be surprised to read:
28149 # /* config.h. Generated by config.status. */
28150 configure_input
='Generated from '`
28151 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28153 if test x
"$ac_file" != x-
; then
28154 configure_input
="$ac_file. $configure_input"
28155 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
28156 $as_echo "$as_me: creating $ac_file" >&6;}
28158 # Neutralize special characters interpreted by sed in replacement strings.
28159 case $configure_input in #(
28160 *\
&* |
*\|
* |
*\\* )
28161 ac_sed_conf_input
=`$as_echo "$configure_input" |
28162 sed 's/[\\\\&|]/\\\\&/g'`;; #(
28163 *) ac_sed_conf_input
=$configure_input;;
28167 *:-:* |
*:-) cat >"$tmp/stdin" \
28168 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
28173 ac_dir
=`$as_dirname -- "$ac_file" ||
28174 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28175 X"$ac_file" : 'X\(//\)[^/]' \| \
28176 X"$ac_file" : 'X\(//\)$' \| \
28177 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28178 $as_echo X"$ac_file" |
28179 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28183 /^X\(\/\/\)[^/].*/{
28196 as_dir
="$ac_dir"; as_fn_mkdir_p
28200 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28202 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28203 # A ".." for each directory in $ac_dir_suffix.
28204 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28205 case $ac_top_builddir_sub in
28206 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28207 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
28210 ac_abs_top_builddir
=$ac_pwd
28211 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
28212 # for backward compatibility:
28213 ac_top_builddir
=$ac_top_build_prefix
28216 .
) # We are building in place.
28218 ac_top_srcdir
=$ac_top_builddir_sub
28219 ac_abs_top_srcdir
=$ac_pwd ;;
28220 [\\/]* | ?
:[\\/]* ) # Absolute name.
28221 ac_srcdir
=$srcdir$ac_dir_suffix;
28222 ac_top_srcdir
=$srcdir
28223 ac_abs_top_srcdir
=$srcdir ;;
28224 *) # Relative name.
28225 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
28226 ac_top_srcdir
=$ac_top_build_prefix$srcdir
28227 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
28229 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
28239 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
28240 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
28242 ac_MKDIR_P
=$MKDIR_P
28244 [\\/$
]* | ?
:[\\/]* ) ;;
28245 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
28249 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28250 # If the template does not know about datarootdir, expand it.
28251 # FIXME: This hack should be removed a few years after 2.60.
28252 ac_datarootdir_hack
=; ac_datarootdir_seen
=
28263 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28264 *datarootdir
*) ac_datarootdir_seen
=yes;;
28265 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
28266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28267 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28269 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28270 ac_datarootdir_hack='
28271 s&@datadir@&$datadir&g
28272 s&@docdir@&$docdir&g
28273 s&@infodir@&$infodir&g
28274 s&@localedir@&$localedir&g
28275 s&@mandir@&$mandir&g
28276 s&\\\${datarootdir}&$datarootdir&g' ;;
28280 # Neutralize VPATH when `$srcdir' = `.'.
28281 # Shell code in configure.ac might set extrasub.
28282 # FIXME: do we really want to maintain this feature?
28283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28284 ac_sed_extra="$ac_vpsub
28287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28289 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
28290 s|@configure_input@|
$ac_sed_conf_input|
;t t
28291 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
28292 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
28293 s
&@srcdir@
&$ac_srcdir&;t t
28294 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
28295 s
&@top_srcdir@
&$ac_top_srcdir&;t t
28296 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
28297 s
&@builddir@
&$ac_builddir&;t t
28298 s
&@abs_builddir@
&$ac_abs_builddir&;t t
28299 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
28300 s
&@INSTALL@
&$ac_INSTALL&;t t
28301 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
28302 $ac_datarootdir_hack
28304 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
28305 || as_fn_error "could not create
$ac_file" "$LINENO" 5
28307 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28308 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
28309 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
28310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
28311 which seems to be undefined. Please make sure it is defined." >&5
28312 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
28313 which seems to be undefined. Please make sure it is defined." >&2;}
28317 -) cat "$tmp/out" && rm -f "$tmp/out";;
28318 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
28320 || as_fn_error "could not create $ac_file" "$LINENO" 5
28326 if test x"$ac_file" != x-; then
28328 $as_echo "/* $configure_input */" \
28329 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
28330 } >"$tmp/config.h" \
28331 || as_fn_error "could not create $ac_file" "$LINENO" 5
28332 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
28333 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28334 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28337 mv "$tmp/config.h" "$ac_file" \
28338 || as_fn_error "could not create $ac_file" "$LINENO" 5
28341 $as_echo "/* $configure_input */" \
28342 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
28343 || as_fn_error "could not create -" "$LINENO" 5
28345 # Compute "$ac_file"'s index
in $config_headers.
28348 for _am_header
in $config_headers :; do
28349 case $_am_header in
28350 $_am_arg |
$_am_arg:* )
28353 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
28356 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28357 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28358 X"$_am_arg" : 'X\(//\)[^/]' \| \
28359 X"$_am_arg" : 'X\(//\)$' \| \
28360 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28361 $as_echo X"$_am_arg" |
28362 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28366 /^X\(\/\/\)[^/].*/{
28378 s/.*/./; q'`/stamp-h
$_am_stamp_count
28381 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28382 $as_echo "$as_me: executing $ac_file commands" >&6;}
28387 case $ac_file$ac_mode in
28389 # Only add multilib support code if we just rebuilt the top-level
28391 case " $CONFIG_FILES " in
28393 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
28396 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
28397 # Autoconf 2.62 quotes --file arguments for eval, but not when files
28398 # are listed without --file. Let's play safe and only enable the eval
28399 # if we detect the quoting.
28400 case $CONFIG_FILES in
28401 *\'*) eval set x
"$CONFIG_FILES" ;;
28402 *) set x
$CONFIG_FILES ;;
28407 # Strip MF so we end up with the name of the file.
28408 mf
=`echo "$mf" | sed -e 's/:.*$//'`
28409 # Check whether this is an Automake generated Makefile or not.
28410 # We used to match only the files named `Makefile.in', but
28411 # some people rename them; so instead we look at the file content.
28412 # Grep'ing the first line is not enough: some people post-process
28413 # each Makefile.in and add a new line on top of each file to say so.
28414 # Grep'ing the whole file is not good either: AIX grep has a line
28415 # limit of 2048, but all sed's we know have understand at least 4000.
28416 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
28417 dirpart
=`$as_dirname -- "$mf" ||
28418 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28419 X"$mf" : 'X\(//\)[^/]' \| \
28420 X"$mf" : 'X\(//\)$' \| \
28421 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28423 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28427 /^X\(\/\/\)[^/].*/{
28443 # Extract the definition of DEPDIR, am__include, and am__quote
28444 # from the Makefile without running `make'.
28445 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
28446 test -z "$DEPDIR" && continue
28447 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
28448 test -z "am__include" && continue
28449 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
28450 # When using ansi2knr, U may be empty or an underscore; expand it
28451 U
=`sed -n 's/^U = //p' < "$mf"`
28452 # Find all dependency output files, they are included files with
28453 # $(DEPDIR) in their names. We invoke sed twice because it is the
28454 # simplest approach to changing $(DEPDIR) to its actual value in the
28456 for file in `sed -n "
28457 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28458 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28459 # Make sure the directory exists.
28460 test -f "$dirpart/$file" && continue
28461 fdir
=`$as_dirname -- "$file" ||
28462 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28463 X"$file" : 'X\(//\)[^/]' \| \
28464 X"$file" : 'X\(//\)$' \| \
28465 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28466 $as_echo X"$file" |
28467 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28471 /^X\(\/\/\)[^/].*/{
28484 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
28485 # echo "creating $dirpart/$file"
28486 echo '# dummy' > "$dirpart/$file"
28493 # See if we are running on zsh, and set the options which allow our
28494 # commands through without removal of \ escapes.
28495 if test -n "${ZSH_VERSION+set}" ; then
28496 setopt NO_GLOB_SUBST
28499 cfgfile
="${ofile}T"
28500 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28503 cat <<_LT_EOF >> "$cfgfile"
28506 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28507 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28508 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28509 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28511 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28512 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28513 # Written by Gordon Matzigkeit, 1996
28515 # This file is part of GNU Libtool.
28517 # GNU Libtool is free software; you can redistribute it and/or
28518 # modify it under the terms of the GNU General Public License as
28519 # published by the Free Software Foundation; either version 2 of
28520 # the License, or (at your option) any later version.
28522 # As a special exception to the GNU General Public License,
28523 # if you distribute this file as part of a program or library that
28524 # is built using GNU Libtool, you may include this file under the
28525 # same distribution terms that you use for the rest of that program.
28527 # GNU Libtool is distributed in the hope that it will be useful,
28528 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28529 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28530 # GNU General Public License for more details.
28532 # You should have received a copy of the GNU General Public License
28533 # along with GNU Libtool; see the file COPYING. If not, a copy
28534 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28535 # obtained by writing to the Free Software Foundation, Inc.,
28536 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28539 # The names of the tagged configurations supported by this script.
28540 available_tags="FC "
28542 # ### BEGIN LIBTOOL CONFIG
28544 # Which release of libtool.m4 was used?
28545 macro_version=$macro_version
28546 macro_revision=$macro_revision
28548 # Whether or not to build shared libraries.
28549 build_libtool_libs=$enable_shared
28551 # Whether or not to build static libraries.
28552 build_old_libs=$enable_static
28554 # What type of objects to build.
28557 # Whether or not to optimize for fast installation.
28558 fast_install=$enable_fast_install
28560 # Shell to use when invoking shell scripts.
28563 # An echo program that protects backslashes.
28567 host_alias=$host_alias
28571 # The build system.
28572 build_alias=$build_alias
28576 # A sed program that does not truncate output.
28579 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28580 Xsed="\$SED -e 1s/^X//"
28582 # A grep program that handles long lines.
28588 # A literal string matcher.
28591 # A BSD- or MS-compatible name lister.
28594 # Whether we need soft or hard links.
28597 # What is the maximum length of a command?
28598 max_cmd_len=$max_cmd_len
28600 # Object file suffix (normally "o").
28603 # Executable file suffix (normally "").
28606 # whether the shell understands "unset".
28609 # turn spaces into newlines.
28612 # turn newlines into spaces.
28615 # An object symbol dumper.
28616 OBJDUMP=$lt_OBJDUMP
28618 # Method to check whether dependent libraries are shared objects.
28619 deplibs_check_method=$lt_deplibs_check_method
28621 # Command to use when deplibs_check_method == "file_magic".
28622 file_magic_cmd=$lt_file_magic_cmd
28626 AR_FLAGS=$lt_AR_FLAGS
28628 # A symbol stripping program.
28631 # Commands used to install an old-style archive.
28633 old_postinstall_cmds=$lt_old_postinstall_cmds
28634 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28636 # Whether to use a lock for old archive extraction.
28637 lock_old_archive_extraction=$lock_old_archive_extraction
28642 # LTCC compiler flags.
28643 LTCFLAGS=$lt_CFLAGS
28645 # Take the output of nm and produce a listing of raw symbols and C names.
28646 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28648 # Transform the output of nm in a proper C declaration.
28649 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28651 # Transform the output of nm in a C name address pair.
28652 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28654 # Transform the output of nm in a C name address pair when lib prefix is needed.
28655 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28657 # The name of the directory that contains temporary libtool files.
28660 # Used to examine libraries when file_magic_cmd begins with "file".
28661 MAGIC_CMD=$MAGIC_CMD
28663 # Must we lock files when doing compilation?
28664 need_locks=$lt_need_locks
28666 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28667 DSYMUTIL=$lt_DSYMUTIL
28669 # Tool to change global to local symbols on Mac OS X.
28672 # Tool to manipulate fat objects and archives on Mac OS X.
28675 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28678 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28679 OTOOL64=$lt_OTOOL64
28681 # Old archive suffix (normally "a").
28684 # Shared library suffix (normally ".so").
28685 shrext_cmds=$lt_shrext_cmds
28687 # The commands to extract the exported symbol list from a shared archive.
28688 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28690 # Variables whose values should be saved in libtool wrapper scripts and
28691 # restored at link time.
28692 variables_saved_for_relink=$lt_variables_saved_for_relink
28694 # Do we need the "lib" prefix for modules?
28695 need_lib_prefix=$need_lib_prefix
28697 # Do we need a version for libraries?
28698 need_version=$need_version
28700 # Library versioning type.
28701 version_type=$version_type
28703 # Shared library runtime path variable.
28704 runpath_var=$runpath_var
28706 # Shared library path variable.
28707 shlibpath_var=$shlibpath_var
28709 # Is shlibpath searched before the hard-coded library search path?
28710 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28712 # Format of library name prefix.
28713 libname_spec=$lt_libname_spec
28715 # List of archive names. First name is the real one, the rest are links.
28716 # The last name is the one that the linker finds with -lNAME
28717 library_names_spec=$lt_library_names_spec
28719 # The coded name of the library, if different from the real name.
28720 soname_spec=$lt_soname_spec
28722 # Permission mode override for installation of shared libraries.
28723 install_override_mode=$lt_install_override_mode
28725 # Command to use after installation of a shared archive.
28726 postinstall_cmds=$lt_postinstall_cmds
28728 # Command to use after uninstallation of a shared archive.
28729 postuninstall_cmds=$lt_postuninstall_cmds
28731 # Commands used to finish a libtool library installation in a directory.
28732 finish_cmds=$lt_finish_cmds
28734 # As "finish_cmds", except a single script fragment to be evaled but
28736 finish_eval=$lt_finish_eval
28738 # Whether we should hardcode library paths into libraries.
28739 hardcode_into_libs=$hardcode_into_libs
28741 # Compile-time system search path for libraries.
28742 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28744 # Run-time system search path for libraries.
28745 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28747 # Whether dlopen is supported.
28748 dlopen_support=$enable_dlopen
28750 # Whether dlopen of programs is supported.
28751 dlopen_self=$enable_dlopen_self
28753 # Whether dlopen of statically linked programs is supported.
28754 dlopen_self_static=$enable_dlopen_self_static
28756 # Commands to strip libraries.
28757 old_striplib=$lt_old_striplib
28758 striplib=$lt_striplib
28761 # The linker used to build libraries.
28764 # How to create reloadable object files.
28765 reload_flag=$lt_reload_flag
28766 reload_cmds=$lt_reload_cmds
28768 # Commands used to build an old-style archive.
28769 old_archive_cmds=$lt_old_archive_cmds
28771 # A language specific compiler.
28774 # Is the compiler the GNU compiler?
28777 # Compiler flag to turn off builtin functions.
28778 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28780 # How to pass a linker flag through the compiler.
28781 wl=$lt_lt_prog_compiler_wl
28783 # Additional compiler flags for building library objects.
28784 pic_flag=$lt_lt_prog_compiler_pic
28786 # Compiler flag to prevent dynamic linking.
28787 link_static_flag=$lt_lt_prog_compiler_static
28789 # Does compiler simultaneously support -c and -o options?
28790 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28792 # Whether or not to add -lc for building shared libraries.
28793 build_libtool_need_lc=$archive_cmds_need_lc
28795 # Whether or not to disallow shared libs when runtime libs are static.
28796 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28798 # Compiler flag to allow reflexive dlopens.
28799 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28801 # Compiler flag to generate shared objects directly from archives.
28802 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28804 # Whether the compiler copes with passing no objects directly.
28805 compiler_needs_object=$lt_compiler_needs_object
28807 # Create an old-style archive from a shared archive.
28808 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28810 # Create a temporary old-style archive to link instead of a shared archive.
28811 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28813 # Commands used to build a shared archive.
28814 archive_cmds=$lt_archive_cmds
28815 archive_expsym_cmds=$lt_archive_expsym_cmds
28817 # Commands used to build a loadable module if different from building
28818 # a shared archive.
28819 module_cmds=$lt_module_cmds
28820 module_expsym_cmds=$lt_module_expsym_cmds
28822 # Whether we are building with GNU ld or not.
28823 with_gnu_ld=$lt_with_gnu_ld
28825 # Flag that allows shared libraries with undefined symbols to be built.
28826 allow_undefined_flag=$lt_allow_undefined_flag
28828 # Flag that enforces no undefined symbols.
28829 no_undefined_flag=$lt_no_undefined_flag
28831 # Flag to hardcode \$libdir into a binary during linking.
28832 # This must work even if \$libdir does not exist
28833 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28835 # If ld is used when linking, flag to hardcode \$libdir into a binary
28836 # during linking. This must work even if \$libdir does not exist.
28837 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28839 # Whether we need a single "-rpath" flag with a separated argument.
28840 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28842 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28843 # DIR into the resulting binary.
28844 hardcode_direct=$hardcode_direct
28846 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28847 # DIR into the resulting binary and the resulting library dependency is
28848 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28849 # library is relocated.
28850 hardcode_direct_absolute=$hardcode_direct_absolute
28852 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28853 # into the resulting binary.
28854 hardcode_minus_L=$hardcode_minus_L
28856 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28857 # into the resulting binary.
28858 hardcode_shlibpath_var=$hardcode_shlibpath_var
28860 # Set to "yes" if building a shared library automatically hardcodes DIR
28861 # into the library and all subsequent libraries and executables linked
28863 hardcode_automatic=$hardcode_automatic
28865 # Set to yes if linker adds runtime paths of dependent libraries
28866 # to runtime path list.
28867 inherit_rpath=$inherit_rpath
28869 # Whether libtool must link a program against all its dependency libraries.
28870 link_all_deplibs=$link_all_deplibs
28872 # Fix the shell variable \$srcfile for the compiler.
28873 fix_srcfile_path=$lt_fix_srcfile_path
28875 # Set to "yes" if exported symbols are required.
28876 always_export_symbols=$always_export_symbols
28878 # The commands to list exported symbols.
28879 export_symbols_cmds=$lt_export_symbols_cmds
28881 # Symbols that should not be listed in the preloaded symbols.
28882 exclude_expsyms=$lt_exclude_expsyms
28884 # Symbols that must always be exported.
28885 include_expsyms=$lt_include_expsyms
28887 # Commands necessary for linking programs (against libraries) with templates.
28888 prelink_cmds=$lt_prelink_cmds
28890 # Specify filename containing input files.
28891 file_list_spec=$lt_file_list_spec
28893 # How to hardcode a shared library path into an executable.
28894 hardcode_action=$hardcode_action
28896 # The directories searched by this compiler when creating a shared library.
28897 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28899 # Dependencies to place before and after the objects being linked to
28900 # create a shared library.
28901 predep_objects=$lt_predep_objects
28902 postdep_objects=$lt_postdep_objects
28903 predeps=$lt_predeps
28904 postdeps=$lt_postdeps
28906 # The library search path used internally by the compiler when linking
28907 # a shared library.
28908 compiler_lib_search_path=$lt_compiler_lib_search_path
28910 # ### END LIBTOOL CONFIG
28916 cat <<\_LT_EOF
>> "$cfgfile"
28917 # AIX sometimes has problems with the GCC collect2 program. For some
28918 # reason, if we set the COLLECT_NAMES environment variable, the problems
28919 # vanish in a puff of smoke.
28920 if test "X${COLLECT_NAMES+set}" != Xset
; then
28922 export COLLECT_NAMES
28929 ltmain
="$ac_aux_dir/ltmain.sh"
28932 # We use sed instead of cat because bash on DJGPP gets confused if
28933 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28934 # text mode, it properly converts lines to CR/LF. This bash problem
28935 # is reportedly fixed, but why not run on old versions too?
28936 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28937 ||
(rm -f "$cfgfile"; exit 1)
28941 cat << \_LT_EOF
>> "$cfgfile"
28943 # func_dirname file append nondir_replacement
28944 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28945 # otherwise set result to NONDIR_REPLACEMENT.
28949 */*) func_dirname_result
="${1%/*}${2}" ;;
28950 * ) func_dirname_result
="${3}" ;;
28954 # func_basename file
28957 func_basename_result
="${1##*/}"
28960 # func_dirname_and_basename file append nondir_replacement
28961 # perform func_basename and func_dirname in a single function
28963 # dirname: Compute the dirname of FILE. If nonempty,
28964 # add APPEND to the result, otherwise set result
28965 # to NONDIR_REPLACEMENT.
28966 # value returned in "$func_dirname_result"
28967 # basename: Compute filename of FILE.
28968 # value retuned in "$func_basename_result"
28969 # Implementation must be kept synchronized with func_dirname
28970 # and func_basename. For efficiency, we do not delegate to
28971 # those functions but instead duplicate the functionality here.
28972 func_dirname_and_basename
()
28975 */*) func_dirname_result
="${1%/*}${2}" ;;
28976 * ) func_dirname_result
="${3}" ;;
28978 func_basename_result
="${1##*/}"
28981 # func_stripname prefix suffix name
28982 # strip PREFIX and SUFFIX off of NAME.
28983 # PREFIX and SUFFIX must not contain globbing or regex special
28984 # characters, hashes, percent signs, but SUFFIX may contain a leading
28985 # dot (in which case that matches only a dot).
28988 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28989 # positional parameters, so assign one to ordinary parameter first.
28990 func_stripname_result
=${3}
28991 func_stripname_result
=${func_stripname_result#"${1}"}
28992 func_stripname_result
=${func_stripname_result%"${2}"}
28998 func_opt_split_opt
=${1%%=*}
28999 func_opt_split_arg
=${1#*=}
29006 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
29007 *) func_lo2o_result
=${1} ;;
29011 # func_xform libobj-or-source
29014 func_xform_result
=${1%.*}.lo
29017 # func_arith arithmetic-term...
29020 func_arith_result
=$
(( $
* ))
29024 # STRING may not start with a hyphen.
29027 func_len_result
=${#1}
29032 *) # Bourne compatible functions.
29033 cat << \_LT_EOF
>> "$cfgfile"
29035 # func_dirname file append nondir_replacement
29036 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
29037 # otherwise set result to NONDIR_REPLACEMENT.
29040 # Extract subdirectory from the argument.
29041 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
29042 if test "X$func_dirname_result" = "X${1}"; then
29043 func_dirname_result
="${3}"
29045 func_dirname_result
="$func_dirname_result${2}"
29049 # func_basename file
29052 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
29056 # func_stripname prefix suffix name
29057 # strip PREFIX and SUFFIX off of NAME.
29058 # PREFIX and SUFFIX must not contain globbing or regex special
29059 # characters, hashes, percent signs, but SUFFIX may contain a leading
29060 # dot (in which case that matches only a dot).
29061 # func_strip_suffix prefix name
29065 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
29066 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
29071 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
29072 my_sed_long_arg
='1s/^-[^=]*=//'
29077 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
29078 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
29084 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
29087 # func_xform libobj-or-source
29090 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
29093 # func_arith arithmetic-term...
29096 func_arith_result
=`expr "$@"`
29100 # STRING may not start with a hyphen.
29103 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
29109 case $lt_shell_append in
29111 cat << \_LT_EOF
>> "$cfgfile"
29113 # func_append var value
29114 # Append VALUE to the end of shell variable VAR.
29122 cat << \_LT_EOF
>> "$cfgfile"
29124 # func_append var value
29125 # Append VALUE to the end of shell variable VAR.
29136 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
29137 ||
(rm -f "$cfgfile"; exit 1)
29139 mv -f "$cfgfile" "$ofile" ||
29140 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29144 cat <<_LT_EOF >> "$ofile"
29146 # ### BEGIN LIBTOOL TAG CONFIG: FC
29148 # The linker used to build libraries.
29151 # How to create reloadable object files.
29152 reload_flag=$lt_reload_flag_FC
29153 reload_cmds=$lt_reload_cmds_FC
29155 # Commands used to build an old-style archive.
29156 old_archive_cmds=$lt_old_archive_cmds_FC
29158 # A language specific compiler.
29161 # Is the compiler the GNU compiler?
29164 # Compiler flag to turn off builtin functions.
29165 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
29167 # How to pass a linker flag through the compiler.
29168 wl=$lt_lt_prog_compiler_wl_FC
29170 # Additional compiler flags for building library objects.
29171 pic_flag=$lt_lt_prog_compiler_pic_FC
29173 # Compiler flag to prevent dynamic linking.
29174 link_static_flag=$lt_lt_prog_compiler_static_FC
29176 # Does compiler simultaneously support -c and -o options?
29177 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
29179 # Whether or not to add -lc for building shared libraries.
29180 build_libtool_need_lc=$archive_cmds_need_lc_FC
29182 # Whether or not to disallow shared libs when runtime libs are static.
29183 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
29185 # Compiler flag to allow reflexive dlopens.
29186 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
29188 # Compiler flag to generate shared objects directly from archives.
29189 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29191 # Whether the compiler copes with passing no objects directly.
29192 compiler_needs_object=$lt_compiler_needs_object_FC
29194 # Create an old-style archive from a shared archive.
29195 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29197 # Create a temporary old-style archive to link instead of a shared archive.
29198 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29200 # Commands used to build a shared archive.
29201 archive_cmds=$lt_archive_cmds_FC
29202 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29204 # Commands used to build a loadable module if different from building
29205 # a shared archive.
29206 module_cmds=$lt_module_cmds_FC
29207 module_expsym_cmds=$lt_module_expsym_cmds_FC
29209 # Whether we are building with GNU ld or not.
29210 with_gnu_ld=$lt_with_gnu_ld_FC
29212 # Flag that allows shared libraries with undefined symbols to be built.
29213 allow_undefined_flag=$lt_allow_undefined_flag_FC
29215 # Flag that enforces no undefined symbols.
29216 no_undefined_flag=$lt_no_undefined_flag_FC
29218 # Flag to hardcode \$libdir into a binary during linking.
29219 # This must work even if \$libdir does not exist
29220 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29222 # If ld is used when linking, flag to hardcode \$libdir into a binary
29223 # during linking. This must work even if \$libdir does not exist.
29224 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29226 # Whether we need a single "-rpath" flag with a separated argument.
29227 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29229 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29230 # DIR into the resulting binary.
29231 hardcode_direct=$hardcode_direct_FC
29233 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29234 # DIR into the resulting binary and the resulting library dependency is
29235 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29236 # library is relocated.
29237 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29239 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29240 # into the resulting binary.
29241 hardcode_minus_L=$hardcode_minus_L_FC
29243 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29244 # into the resulting binary.
29245 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29247 # Set to "yes" if building a shared library automatically hardcodes DIR
29248 # into the library and all subsequent libraries and executables linked
29250 hardcode_automatic=$hardcode_automatic_FC
29252 # Set to yes if linker adds runtime paths of dependent libraries
29253 # to runtime path list.
29254 inherit_rpath=$inherit_rpath_FC
29256 # Whether libtool must link a program against all its dependency libraries.
29257 link_all_deplibs=$link_all_deplibs_FC
29259 # Fix the shell variable \$srcfile for the compiler.
29260 fix_srcfile_path=$lt_fix_srcfile_path_FC
29262 # Set to "yes" if exported symbols are required.
29263 always_export_symbols=$always_export_symbols_FC
29265 # The commands to list exported symbols.
29266 export_symbols_cmds=$lt_export_symbols_cmds_FC
29268 # Symbols that should not be listed in the preloaded symbols.
29269 exclude_expsyms=$lt_exclude_expsyms_FC
29271 # Symbols that must always be exported.
29272 include_expsyms=$lt_include_expsyms_FC
29274 # Commands necessary for linking programs (against libraries) with templates.
29275 prelink_cmds=$lt_prelink_cmds_FC
29277 # Specify filename containing input files.
29278 file_list_spec=$lt_file_list_spec_FC
29280 # How to hardcode a shared library path into an executable.
29281 hardcode_action=$hardcode_action_FC
29283 # The directories searched by this compiler when creating a shared library.
29284 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29286 # Dependencies to place before and after the objects being linked to
29287 # create a shared library.
29288 predep_objects=$lt_predep_objects_FC
29289 postdep_objects=$lt_postdep_objects_FC
29290 predeps=$lt_predeps_FC
29291 postdeps=$lt_postdeps_FC
29293 # The library search path used internally by the compiler when linking
29294 # a shared library.
29295 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29297 # ### END LIBTOOL TAG CONFIG: FC
29302 if test "$GCC" = yes; then
29303 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29305 echo "/* generated for $CC */" > tmp-stdint.h
29308 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29310 #ifndef GCC_GENERATED_STDINT_H
29311 #define GCC_GENERATED_STDINT_H 1
29313 #include <sys/types.h>
29316 if test "$acx_cv_header_stdint" != stdint.h
; then
29317 echo "#include <stddef.h>" >> tmp-stdint.h
29319 if test "$acx_cv_header_stdint" != stddef.h
; then
29320 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29323 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29324 /* glibc uses these symbols as guards to prevent redefinitions. */
29325 #ifdef __int8_t_defined
29330 #ifdef __uint32_t_defined
29336 # ----------------- done header, emit basic int types -------------
29337 if test "$acx_cv_header_stdint" = stddef.h
; then
29338 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29342 #ifndef __uint8_t_defined
29343 #define __uint8_t_defined
29345 typedef unsigned $acx_cv_type_int8_t uint8_t;
29352 #ifndef __uint16_t_defined
29353 #define __uint16_t_defined
29355 typedef unsigned $acx_cv_type_int16_t uint16_t;
29362 #ifndef __uint32_t_defined
29363 #define __uint32_t_defined
29365 typedef unsigned $acx_cv_type_int32_t uint32_t;
29372 #ifndef __int8_t_defined
29373 #define __int8_t_defined
29375 typedef $acx_cv_type_int8_t int8_t;
29382 #ifndef __int16_t_defined
29383 #define __int16_t_defined
29385 typedef $acx_cv_type_int16_t int16_t;
29392 #ifndef __int32_t_defined
29393 #define __int32_t_defined
29395 typedef $acx_cv_type_int32_t int32_t;
29400 elif test "$ac_cv_type_u_int32_t" = yes; then
29401 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29403 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29416 #ifndef __uint8_t_defined
29417 #define __uint8_t_defined
29419 typedef u_int8_t uint8_t;
29426 #ifndef __uint16_t_defined
29427 #define __uint16_t_defined
29429 typedef u_int16_t uint16_t;
29436 #ifndef __uint32_t_defined
29437 #define __uint32_t_defined
29439 typedef u_int32_t uint32_t;
29445 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29447 /* Some systems have guard macros to prevent redefinitions, define them. */
29469 # ------------- done basic int types, emit int64_t types ------------
29470 if test "$ac_cv_type_uint64_t" = yes; then
29471 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29473 /* system headers have good uint64_t and int64_t */
29481 elif test "$ac_cv_type_u_int64_t" = yes; then
29482 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29484 /* system headers have an u_int64_t (and int64_t) */
29490 #ifndef __uint64_t_defined
29491 #define __uint64_t_defined
29493 typedef u_int64_t uint64_t;
29498 elif test -n "$acx_cv_type_int64_t"; then
29499 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29501 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29505 typedef $acx_cv_type_int64_t int64_t;
29510 #ifndef __uint64_t_defined
29511 #define __uint64_t_defined
29513 typedef unsigned $acx_cv_type_int64_t uint64_t;
29519 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29521 /* some common heuristics for int64_t, using compiler-specific tests */
29522 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29525 #ifndef __int64_t_defined
29527 typedef long long int64_t;
29534 typedef unsigned long long uint64_t;
29538 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29539 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29540 does not implement __extension__. But that compiler doesn't define
29542 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29543 # define __extension__
29549 __extension__ typedef long long int64_t;
29555 __extension__ typedef unsigned long long uint64_t;
29559 #elif !defined __STRICT_ANSI__
29560 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29565 typedef __int64 int64_t;
29571 typedef unsigned __int64 uint64_t;
29574 # endif /* compiler */
29576 #endif /* ANSI version */
29580 # ------------- done int64_t types, emit intptr types ------------
29581 if test "$ac_cv_type_uintptr_t" != yes; then
29582 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29584 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29585 #ifndef __uintptr_t_defined
29587 typedef u$acx_cv_type_intptr_t uintptr_t;
29590 #ifndef __intptr_t_defined
29592 typedef $acx_cv_type_intptr_t intptr_t;
29598 # ------------- done intptr types, emit int_least types ------------
29599 if test "$ac_cv_type_int_least32_t" != yes; then
29600 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29602 /* Define int_least types */
29603 typedef int8_t int_least8_t;
29604 typedef int16_t int_least16_t;
29605 typedef int32_t int_least32_t;
29607 typedef int64_t int_least64_t;
29610 typedef uint8_t uint_least8_t;
29611 typedef uint16_t uint_least16_t;
29612 typedef uint32_t uint_least32_t;
29614 typedef uint64_t uint_least64_t;
29619 # ------------- done intptr types, emit int_fast types ------------
29620 if test "$ac_cv_type_int_fast32_t" != yes; then
29621 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29623 /* Define int_fast types. short is often slow */
29624 typedef int8_t int_fast8_t;
29625 typedef int int_fast16_t;
29626 typedef int32_t int_fast32_t;
29628 typedef int64_t int_fast64_t;
29631 typedef uint8_t uint_fast8_t;
29632 typedef unsigned int uint_fast16_t;
29633 typedef uint32_t uint_fast32_t;
29635 typedef uint64_t uint_fast64_t;
29640 if test "$ac_cv_type_uintmax_t" != yes; then
29641 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29643 /* Define intmax based on what we found */
29646 typedef int64_t intmax_t;
29648 typedef long intmax_t;
29653 typedef uint64_t uintmax_t;
29655 typedef unsigned long uintmax_t;
29661 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29663 #endif /* GCC_GENERATED_STDINT_H */
29666 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
29669 mv -f tmp-stdint.h gstdint.h
29680 ac_clean_files
=$ac_clean_files_save
29682 test $ac_write_fail = 0 ||
29683 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
29686 # configure is writing to config.log, and then calls config.status.
29687 # config.status does its own redirection, appending to config.log.
29688 # Unfortunately, on DOS this fails, as config.log is still kept open
29689 # by configure, so config.status won't be able to write to it; its
29690 # output is simply discarded. So we exec the FD to /dev/null,
29691 # effectively closing config.log, so it can be properly (re)opened and
29692 # appended to by config.status. When coming back to configure, we
29693 # need to make the FD available again.
29694 if test "$no_create" != yes; then
29696 ac_config_status_args
=
29697 test "$silent" = yes &&
29698 ac_config_status_args
="$ac_config_status_args --quiet"
29700 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
29702 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29703 # would make configure fail if this is the last instruction.
29704 $ac_cs_success || as_fn_exit $?
29706 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
29707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29708 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}