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_MINIMAL_FALSE
646 LIBGFOR_USE_SYMVER_SUN_FALSE
647 LIBGFOR_USE_SYMVER_SUN_TRUE
648 LIBGFOR_USE_SYMVER_GNU_FALSE
649 LIBGFOR_USE_SYMVER_GNU_TRUE
650 LIBGFOR_USE_SYMVER_FALSE
651 LIBGFOR_USE_SYMVER_TRUE
678 MAINTAINER_MODE_FALSE
688 INSTALL_STRIP_PROGRAM
750 program_transform_name
763 enable_option_checking
765 enable_version_specific_runtime_libs
767 enable_maintainer_mode
769 enable_dependency_tracking
778 enable_libquadmath_support
780 ac_precious_vars
='build_alias
793 # Initialize some variables set by options.
795 ac_init_version
=false
796 ac_unrecognized_opts
=
798 # The variables have the same names as the options, with
799 # dashes changed to underlines.
807 program_transform_name
=s
,x
,x
,
815 # Installation directory options.
816 # These are left unexpanded so users can "make install exec_prefix=/foo"
817 # and all the variables that are supposed to be based on exec_prefix
818 # by default will actually change.
819 # Use braces instead of parens because sh, perl, etc. also accept them.
820 # (The list follows the same order as the GNU Coding Standards.)
821 bindir
='${exec_prefix}/bin'
822 sbindir
='${exec_prefix}/sbin'
823 libexecdir
='${exec_prefix}/libexec'
824 datarootdir
='${prefix}/share'
825 datadir
='${datarootdir}'
826 sysconfdir
='${prefix}/etc'
827 sharedstatedir
='${prefix}/com'
828 localstatedir
='${prefix}/var'
829 includedir
='${prefix}/include'
830 oldincludedir
='/usr/include'
831 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
832 infodir
='${datarootdir}/info'
837 libdir
='${exec_prefix}/lib'
838 localedir
='${datarootdir}/locale'
839 mandir
='${datarootdir}/man'
845 # If the previous option needs an argument, assign it.
846 if test -n "$ac_prev"; then
847 eval $ac_prev=\
$ac_option
853 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
857 # Accept the important Cygnus configure options, so we can diagnose typos.
859 case $ac_dashdash$ac_option in
863 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
865 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
868 -build |
--build |
--buil |
--bui |
--bu)
869 ac_prev
=build_alias
;;
870 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
871 build_alias
=$ac_optarg ;;
873 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
874 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
875 ac_prev
=cache_file
;;
876 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
877 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
878 cache_file
=$ac_optarg ;;
881 cache_file
=config.cache
;;
883 -datadir |
--datadir |
--datadi |
--datad)
885 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
886 datadir
=$ac_optarg ;;
888 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
889 |
--dataroo |
--dataro |
--datar)
890 ac_prev
=datarootdir
;;
891 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
892 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
893 datarootdir
=$ac_optarg ;;
895 -disable-* |
--disable-*)
896 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
897 # Reject names that are not valid shell variable names.
898 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
899 as_fn_error
"invalid feature name: $ac_useropt"
900 ac_useropt_orig
=$ac_useropt
901 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
902 case $ac_user_opts in
906 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
907 ac_unrecognized_sep
=', ';;
909 eval enable_
$ac_useropt=no
;;
911 -docdir |
--docdir |
--docdi |
--doc |
--do)
913 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
916 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
918 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
921 -enable-* |
--enable-*)
922 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
923 # Reject names that are not valid shell variable names.
924 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
925 as_fn_error
"invalid feature name: $ac_useropt"
926 ac_useropt_orig
=$ac_useropt
927 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
928 case $ac_user_opts in
932 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
933 ac_unrecognized_sep
=', ';;
935 eval enable_
$ac_useropt=\
$ac_optarg ;;
937 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
938 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
939 |
--exec |
--exe |
--ex)
940 ac_prev
=exec_prefix
;;
941 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
942 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
943 |
--exec=* |
--exe=* |
--ex=*)
944 exec_prefix
=$ac_optarg ;;
946 -gas |
--gas |
--ga |
--g)
947 # Obsolete; use --with-gas.
950 -help |
--help |
--hel |
--he |
-h)
952 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
953 ac_init_help
=recursive
;;
954 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
955 ac_init_help
=short
;;
957 -host |
--host |
--hos |
--ho)
958 ac_prev
=host_alias
;;
959 -host=* |
--host=* |
--hos=* |
--ho=*)
960 host_alias
=$ac_optarg ;;
962 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
964 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
966 htmldir
=$ac_optarg ;;
968 -includedir |
--includedir |
--includedi |
--included |
--include \
969 |
--includ |
--inclu |
--incl |
--inc)
970 ac_prev
=includedir
;;
971 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
972 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
973 includedir
=$ac_optarg ;;
975 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
977 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
978 infodir
=$ac_optarg ;;
980 -libdir |
--libdir |
--libdi |
--libd)
982 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
985 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
986 |
--libexe |
--libex |
--libe)
987 ac_prev
=libexecdir
;;
988 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
989 |
--libexe=* |
--libex=* |
--libe=*)
990 libexecdir
=$ac_optarg ;;
992 -localedir |
--localedir |
--localedi |
--localed |
--locale)
994 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
995 localedir
=$ac_optarg ;;
997 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
998 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
999 ac_prev
=localstatedir
;;
1000 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1001 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1002 localstatedir
=$ac_optarg ;;
1004 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1006 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1007 mandir
=$ac_optarg ;;
1009 -nfp |
--nfp |
--nf)
1010 # Obsolete; use --without-fp.
1013 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1014 |
--no-cr |
--no-c |
-n)
1017 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1018 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1021 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1022 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1023 |
--oldin |
--oldi |
--old |
--ol |
--o)
1024 ac_prev
=oldincludedir
;;
1025 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1026 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1027 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1028 oldincludedir
=$ac_optarg ;;
1030 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1032 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1033 prefix
=$ac_optarg ;;
1035 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1036 |
--program-pre |
--program-pr |
--program-p)
1037 ac_prev
=program_prefix
;;
1038 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1039 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1040 program_prefix
=$ac_optarg ;;
1042 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1043 |
--program-suf |
--program-su |
--program-s)
1044 ac_prev
=program_suffix
;;
1045 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1046 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1047 program_suffix
=$ac_optarg ;;
1049 -program-transform-name |
--program-transform-name \
1050 |
--program-transform-nam |
--program-transform-na \
1051 |
--program-transform-n |
--program-transform- \
1052 |
--program-transform |
--program-transfor \
1053 |
--program-transfo |
--program-transf \
1054 |
--program-trans |
--program-tran \
1055 |
--progr-tra |
--program-tr |
--program-t)
1056 ac_prev
=program_transform_name
;;
1057 -program-transform-name=* |
--program-transform-name=* \
1058 |
--program-transform-nam=* |
--program-transform-na=* \
1059 |
--program-transform-n=* |
--program-transform-=* \
1060 |
--program-transform=* |
--program-transfor=* \
1061 |
--program-transfo=* |
--program-transf=* \
1062 |
--program-trans=* |
--program-tran=* \
1063 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1064 program_transform_name
=$ac_optarg ;;
1066 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1068 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1069 pdfdir
=$ac_optarg ;;
1071 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1073 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1076 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1077 |
-silent |
--silent |
--silen |
--sile |
--sil)
1080 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1082 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1084 sbindir
=$ac_optarg ;;
1086 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1087 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1088 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1090 ac_prev
=sharedstatedir
;;
1091 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1092 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1093 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1095 sharedstatedir
=$ac_optarg ;;
1097 -site |
--site |
--sit)
1099 -site=* |
--site=* |
--sit=*)
1102 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1104 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1105 srcdir
=$ac_optarg ;;
1107 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1108 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1109 ac_prev
=sysconfdir
;;
1110 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1111 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1112 sysconfdir
=$ac_optarg ;;
1114 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1115 ac_prev
=target_alias
;;
1116 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1117 target_alias
=$ac_optarg ;;
1119 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1122 -version |
--version |
--versio |
--versi |
--vers |
-V)
1123 ac_init_version
=: ;;
1126 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1127 # Reject names that are not valid shell variable names.
1128 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1129 as_fn_error
"invalid package name: $ac_useropt"
1130 ac_useropt_orig
=$ac_useropt
1131 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1132 case $ac_user_opts in
1136 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1137 ac_unrecognized_sep
=', ';;
1139 eval with_
$ac_useropt=\
$ac_optarg ;;
1141 -without-* |
--without-*)
1142 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1143 # Reject names that are not valid shell variable names.
1144 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1145 as_fn_error
"invalid package name: $ac_useropt"
1146 ac_useropt_orig
=$ac_useropt
1147 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1148 case $ac_user_opts in
1152 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1153 ac_unrecognized_sep
=', ';;
1155 eval with_
$ac_useropt=no
;;
1158 # Obsolete; use --with-x.
1161 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1162 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1163 ac_prev
=x_includes
;;
1164 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1165 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1166 x_includes
=$ac_optarg ;;
1168 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1169 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1170 ac_prev
=x_libraries
;;
1171 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1172 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1173 x_libraries
=$ac_optarg ;;
1175 -*) as_fn_error
"unrecognized option: \`$ac_option'
1176 Try \`$0 --help' for more information."
1180 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1181 # Reject names that are not valid shell variable names.
1182 case $ac_envvar in #(
1183 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1184 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1186 eval $ac_envvar=\
$ac_optarg
1187 export $ac_envvar ;;
1190 # FIXME: should be removed in autoconf 3.0.
1191 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1192 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1193 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1194 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1200 if test -n "$ac_prev"; then
1201 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1202 as_fn_error
"missing argument to $ac_option"
1205 if test -n "$ac_unrecognized_opts"; then
1206 case $enable_option_checking in
1208 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1209 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1213 # Check all directory arguments for consistency.
1214 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1215 datadir sysconfdir sharedstatedir localstatedir includedir \
1216 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1217 libdir localedir mandir
1219 eval ac_val
=\$
$ac_var
1220 # Remove trailing slashes.
1223 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1224 eval $ac_var=\
$ac_val;;
1226 # Be sure to have absolute directory names.
1228 [\\/$
]* | ?
:[\\/]* ) continue;;
1229 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1231 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1234 # There might be people who depend on the old broken behavior: `$host'
1235 # used to hold the argument of --host etc.
1236 # FIXME: To remove some day.
1239 target
=$target_alias
1241 # FIXME: To remove some day.
1242 if test "x$host_alias" != x
; then
1243 if test "x$build_alias" = x
; then
1244 cross_compiling
=maybe
1245 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1246 If a cross compiler is detected then cross compile mode will be used." >&2
1247 elif test "x$build_alias" != "x$host_alias"; then
1253 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1255 test "$silent" = yes && exec 6>/dev
/null
1258 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1259 ac_ls_di
=`ls -di .` &&
1260 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1261 as_fn_error
"working directory cannot be determined"
1262 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1263 as_fn_error
"pwd does not report name of working directory"
1266 # Find the source files, if location was not specified.
1267 if test -z "$srcdir"; then
1268 ac_srcdir_defaulted
=yes
1269 # Try the directory containing this script, then the parent directory.
1270 ac_confdir
=`$as_dirname -- "$as_myself" ||
1271 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1272 X"$as_myself" : 'X\(//\)[^/]' \| \
1273 X"$as_myself" : 'X\(//\)$' \| \
1274 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1275 $as_echo X"$as_myself" |
1276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1294 if test ! -r "$srcdir/$ac_unique_file"; then
1298 ac_srcdir_defaulted
=no
1300 if test ! -r "$srcdir/$ac_unique_file"; then
1301 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1302 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1304 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1306 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1308 # When building in place, set srcdir=.
1309 if test "$ac_abs_confdir" = "$ac_pwd"; then
1312 # Remove unnecessary trailing slashes from srcdir.
1313 # Double slashes in file names in object file debugging info
1314 # mess up M-x gdb in Emacs.
1316 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1318 for ac_var
in $ac_precious_vars; do
1319 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1320 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1321 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1322 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1326 # Report the --help message.
1328 if test "$ac_init_help" = "long"; then
1329 # Omit some internal or obsolete options to make the list less imposing.
1330 # This message is too long to be a string in the A/UX 3.1 sh.
1332 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1334 Usage: $0 [OPTION]... [VAR=VALUE]...
1336 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1337 VAR=VALUE. See below for descriptions of some of the useful variables.
1339 Defaults for the options are specified in brackets.
1342 -h, --help display this help and exit
1343 --help=short display options specific to this package
1344 --help=recursive display the short help of all the included packages
1345 -V, --version display version information and exit
1346 -q, --quiet, --silent do not print \`checking...' messages
1347 --cache-file=FILE cache test results in FILE [disabled]
1348 -C, --config-cache alias for \`--cache-file=config.cache'
1349 -n, --no-create do not create output files
1350 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1352 Installation directories:
1353 --prefix=PREFIX install architecture-independent files in PREFIX
1354 [$ac_default_prefix]
1355 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1358 By default, \`make install' will install all the files in
1359 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1360 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1361 for instance \`--prefix=\$HOME'.
1363 For better control, use the options below.
1365 Fine tuning of the installation directories:
1366 --bindir=DIR user executables [EPREFIX/bin]
1367 --sbindir=DIR system admin executables [EPREFIX/sbin]
1368 --libexecdir=DIR program executables [EPREFIX/libexec]
1369 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1370 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1371 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1372 --libdir=DIR object code libraries [EPREFIX/lib]
1373 --includedir=DIR C header files [PREFIX/include]
1374 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1375 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1376 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1377 --infodir=DIR info documentation [DATAROOTDIR/info]
1378 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1379 --mandir=DIR man documentation [DATAROOTDIR/man]
1380 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1381 --htmldir=DIR html documentation [DOCDIR]
1382 --dvidir=DIR dvi documentation [DOCDIR]
1383 --pdfdir=DIR pdf documentation [DOCDIR]
1384 --psdir=DIR ps documentation [DOCDIR]
1390 --program-prefix=PREFIX prepend PREFIX to installed program names
1391 --program-suffix=SUFFIX append SUFFIX to installed program names
1392 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1395 --build=BUILD configure
for building on BUILD
[guessed
]
1396 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1397 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1401 if test -n "$ac_init_help"; then
1402 case $ac_init_help in
1403 short | recursive
) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1408 --disable-option-checking ignore unrecognized
--enable/--with options
1409 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1410 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1411 --enable-version-specific-runtime-libs
1412 specify that runtime libraries should be installed
1413 in a compiler-specific directory
1414 --enable-intermodule build the library
in one step
1415 --enable-maintainer-mode enable make rules and dependencies not useful
1416 (and sometimes confusing
) to the casual installer
1417 --enable-multilib build many library versions
(default
)
1418 --disable-dependency-tracking speeds up one-time build
1419 --enable-dependency-tracking do not reject slow dependency extractors
1420 --disable-symvers disable symbol versioning
for libgfortran
1421 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1422 --enable-static[=PKGS
] build static libraries
[default
=yes]
1423 --enable-fast-install[=PKGS
]
1424 optimize
for fast installation
[default
=yes]
1425 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1426 --disable-largefile omit support
for large files
1427 --disable-libquadmath-support
1428 disable libquadmath support
for Fortran
1431 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1432 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1433 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1434 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1436 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
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_header_list
" xlocale.h"
2553 as_fn_append ac_func_list
" getrusage"
2554 as_fn_append ac_func_list
" times"
2555 as_fn_append ac_func_list
" mkstemp"
2556 as_fn_append ac_func_list
" strtof"
2557 as_fn_append ac_func_list
" strtold"
2558 as_fn_append ac_func_list
" snprintf"
2559 as_fn_append ac_func_list
" ftruncate"
2560 as_fn_append ac_func_list
" chsize"
2561 as_fn_append ac_func_list
" chdir"
2562 as_fn_append ac_func_list
" getlogin"
2563 as_fn_append ac_func_list
" gethostname"
2564 as_fn_append ac_func_list
" kill"
2565 as_fn_append ac_func_list
" link"
2566 as_fn_append ac_func_list
" symlink"
2567 as_fn_append ac_func_list
" sleep"
2568 as_fn_append ac_func_list
" ttyname"
2569 as_fn_append ac_func_list
" alarm"
2570 as_fn_append ac_func_list
" access"
2571 as_fn_append ac_func_list
" fork"
2572 as_fn_append ac_func_list
" execl"
2573 as_fn_append ac_func_list
" setmode"
2574 as_fn_append ac_func_list
" close"
2575 as_fn_append ac_func_list
" fcntl"
2576 as_fn_append ac_func_list
" strcasestr"
2577 as_fn_append ac_func_list
" getrlimit"
2578 as_fn_append ac_func_list
" gettimeofday"
2579 as_fn_append ac_func_list
" stat"
2580 as_fn_append ac_func_list
" fstat"
2581 as_fn_append ac_func_list
" lstat"
2582 as_fn_append ac_func_list
" getpwuid"
2583 as_fn_append ac_func_list
" vsnprintf"
2584 as_fn_append ac_func_list
" dup"
2585 as_fn_append ac_func_list
" getcwd"
2586 as_fn_append ac_func_list
" localtime_r"
2587 as_fn_append ac_func_list
" gmtime_r"
2588 as_fn_append ac_func_list
" getpwuid_r"
2589 as_fn_append ac_func_list
" ttyname_r"
2590 as_fn_append ac_func_list
" clock_gettime"
2591 as_fn_append ac_func_list
" readlink"
2592 as_fn_append ac_func_list
" getgid"
2593 as_fn_append ac_func_list
" getpid"
2594 as_fn_append ac_func_list
" getppid"
2595 as_fn_append ac_func_list
" getuid"
2596 as_fn_append ac_func_list
" geteuid"
2597 as_fn_append ac_func_list
" umask"
2598 as_fn_append ac_func_list
" getegid"
2599 as_fn_append ac_func_list
" secure_getenv"
2600 as_fn_append ac_func_list
" __secure_getenv"
2601 as_fn_append ac_func_list
" mkostemp"
2602 as_fn_append ac_func_list
" strnlen"
2603 as_fn_append ac_func_list
" strndup"
2604 as_fn_append ac_func_list
" newlocale"
2605 as_fn_append ac_func_list
" freelocale"
2606 as_fn_append ac_func_list
" uselocale"
2607 as_fn_append ac_func_list
" strerror_l"
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 -Werror=vla"
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 # For GPU offloading, not everything in libfortran can be supported.
5894 # Currently, the only target that has this problem is nvptx. The
5895 # following is a (partial) list of features that are unsupportable on
5896 # this particular target:
5899 # * C library support for I/O, with printf as the one notable exception
5900 # * C library support for other features such as signal, environment
5901 # variables, time functions
5903 if test "x${target_cpu}" = xnvptx; then
5904 LIBGFOR_MINIMAL_TRUE=
5905 LIBGFOR_MINIMAL_FALSE='#'
5907 LIBGFOR_MINIMAL_TRUE='#'
5908 LIBGFOR_MINIMAL_FALSE=
5912 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5913 # similarly to how libstdc++ does it
5914 ac_test_CFLAGS="${CFLAGS+set}"
5915 ac_save_CFLAGS="$CFLAGS"
5917 # Check for -ffunction-sections -fdata-sections
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5919 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
5920 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5922 /* end confdefs.h. */
5932 if ac_fn_c_try_compile "$LINENO"; then :
5937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5938 if test "$ac_test_CFLAGS" = set; then
5939 CFLAGS="$ac_save_CFLAGS"
5941 # this is the suspicious part
5944 if test x"$ac_fdsections" = x"yes"; then
5945 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
5948 $as_echo "$ac_fdsections" >&6; }
5951 # Find other programs we need.
5952 if test -n "$ac_tool_prefix"; then
5953 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5954 set dummy ${ac_tool_prefix}as; ac_word=$2
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5956 $as_echo_n "checking for $ac_word... " >&6; }
5957 if test "${ac_cv_prog_AS+set}" = set; then :
5958 $as_echo_n "(cached) " >&6
5960 if test -n "$AS"; then
5961 ac_cv_prog_AS="$AS" # Let the user override the test.
5963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5967 test -z "$as_dir" && as_dir=.
5968 for ac_exec_ext in '' $ac_executable_extensions; do
5969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5970 ac_cv_prog_AS="${ac_tool_prefix}as"
5971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5981 if test -n "$AS"; then
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5983 $as_echo "$AS" >&6; }
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5986 $as_echo "no" >&6; }
5991 if test -z "$ac_cv_prog_AS"; then
5993 # Extract the first word of "as", so it can be a program name with args.
5994 set dummy as; ac_word=$2
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5996 $as_echo_n "checking for $ac_word... " >&6; }
5997 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5998 $as_echo_n "(cached) " >&6
6000 if test -n "$ac_ct_AS"; then
6001 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6007 test -z "$as_dir" && as_dir=.
6008 for ac_exec_ext in '' $ac_executable_extensions; do
6009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6010 ac_cv_prog_ac_ct_AS="as"
6011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6020 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6021 if test -n "$ac_ct_AS"; then
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6023 $as_echo "$ac_ct_AS" >&6; }
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6026 $as_echo "no" >&6; }
6029 if test "x$ac_ct_AS" = x; then
6032 case $cross_compiling:$ac_tool_warned in
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6035 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6036 ac_tool_warned=yes ;;
6044 if test -n "$ac_tool_prefix"; then
6045 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6046 set dummy ${ac_tool_prefix}ar; ac_word=$2
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6048 $as_echo_n "checking for $ac_word... " >&6; }
6049 if test "${ac_cv_prog_AR+set}" = set; then :
6050 $as_echo_n "(cached) " >&6
6052 if test -n "$AR"; then
6053 ac_cv_prog_AR="$AR" # Let the user override the test.
6055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6059 test -z "$as_dir" && as_dir=.
6060 for ac_exec_ext in '' $ac_executable_extensions; do
6061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6062 ac_cv_prog_AR="${ac_tool_prefix}ar"
6063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6073 if test -n "$AR"; then
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6075 $as_echo "$AR" >&6; }
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6078 $as_echo "no" >&6; }
6083 if test -z "$ac_cv_prog_AR"; then
6085 # Extract the first word of "ar", so it can be a program name with args.
6086 set dummy ar; ac_word=$2
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6088 $as_echo_n "checking for $ac_word... " >&6; }
6089 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6090 $as_echo_n "(cached) " >&6
6092 if test -n "$ac_ct_AR"; then
6093 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6099 test -z "$as_dir" && as_dir=.
6100 for ac_exec_ext in '' $ac_executable_extensions; do
6101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6102 ac_cv_prog_ac_ct_AR="ar"
6103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6112 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6113 if test -n "$ac_ct_AR"; then
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6115 $as_echo "$ac_ct_AR" >&6; }
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6118 $as_echo "no" >&6; }
6121 if test "x$ac_ct_AR" = x; then
6124 case $cross_compiling:$ac_tool_warned in
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6127 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6128 ac_tool_warned=yes ;;
6136 if test -n "$ac_tool_prefix"; then
6137 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6138 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6140 $as_echo_n "checking for $ac_word... " >&6; }
6141 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6142 $as_echo_n "(cached) " >&6
6144 if test -n "$RANLIB"; then
6145 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6151 test -z "$as_dir" && as_dir=.
6152 for ac_exec_ext in '' $ac_executable_extensions; do
6153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6154 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6164 RANLIB=$ac_cv_prog_RANLIB
6165 if test -n "$RANLIB"; then
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6167 $as_echo "$RANLIB" >&6; }
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6170 $as_echo "no" >&6; }
6175 if test -z "$ac_cv_prog_RANLIB"; then
6176 ac_ct_RANLIB=$RANLIB
6177 # Extract the first word of "ranlib", so it can be a program name with args.
6178 set dummy ranlib; ac_word=$2
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6180 $as_echo_n "checking for $ac_word... " >&6; }
6181 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6182 $as_echo_n "(cached) " >&6
6184 if test -n "$ac_ct_RANLIB"; then
6185 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6191 test -z "$as_dir" && as_dir=.
6192 for ac_exec_ext in '' $ac_executable_extensions; do
6193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6194 ac_cv_prog_ac_ct_RANLIB="ranlib"
6195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6204 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6205 if test -n "$ac_ct_RANLIB"; then
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6207 $as_echo "$ac_ct_RANLIB" >&6; }
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6210 $as_echo "no" >&6; }
6213 if test "x$ac_ct_RANLIB" = x; then
6214 RANLIB="ranlib-not-found-in-path-error"
6216 case $cross_compiling:$ac_tool_warned in
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6220 ac_tool_warned=yes ;;
6222 RANLIB=$ac_ct_RANLIB
6225 RANLIB="$ac_cv_prog_RANLIB"
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6229 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6231 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6232 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6233 $as_echo_n "(cached) " >&6
6235 cat >conftest.make <<\_ACEOF
6238 @echo '@@@%%%=$(MAKE)=@@@%%%'
6240 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6241 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
6243 eval ac_cv_prog_make_${ac_make}_set=yes;;
6245 eval ac_cv_prog_make_${ac_make}_set=no;;
6249 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6251 $as_echo "yes" >&6; }
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6255 $as_echo "no" >&6; }
6256 SET_MAKE="MAKE=${MAKE-make}"
6262 #AC_MSG_NOTICE([====== Starting libtool configuration])
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
6270 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
6275 macro_version='2.2.7a'
6276 macro_revision='1.3134'
6290 ltmain="$ac_aux_dir/ltmain.sh"
6292 # Backslashify metacharacters that are still active within
6293 # double-quoted strings.
6294 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6296 # Same as above, but do not quote variable references.
6297 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6299 # Sed substitution to delay expansion of an escaped shell variable in a
6300 # double_quote_subst'ed string.
6301 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6303 # Sed substitution to delay expansion of an escaped single quote.
6304 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6306 # Sed substitution to avoid accidental globbing in evaled expressions
6307 no_glob_subst='s/\*/\\\*/g'
6309 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6310 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6311 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
6314 $as_echo_n "checking how to print
strings...
" >&6; }
6315 # Test print first, because it will be a builtin if present.
6316 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
6317 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
6319 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
6322 # Use this function as a fallback that always works.
6323 func_fallback_echo ()
6325 eval 'cat <<_LTECHO_EOF
6329 ECHO='func_fallback_echo'
6332 # func_echo_all arg...
6333 # Invoke $ECHO with all args, space-separated.
6340 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
6341 $as_echo "printf" >&6; } ;;
6342 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
6343 $as_echo "print
-r" >&6; } ;;
6344 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
6345 $as_echo "cat" >&6; } ;;
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
6362 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
6363 if test "${ac_cv_path_SED+set}" = set; then :
6364 $as_echo_n "(cached
) " >&6
6366 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6367 for ac_i in 1 2 3 4 5 6 7; do
6368 ac_script="$ac_script$as_nl$ac_script"
6370 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6371 { ac_script=; unset ac_script;}
6372 if test -z "$SED"; then
6373 ac_path_SED_found=false
6374 # Loop through the user's path and test for each of PROGNAME-LIST
6375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6379 test -z "$as_dir" && as_dir=.
6380 for ac_prog in sed gsed; do
6381 for ac_exec_ext in '' $ac_executable_extensions; do
6382 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6383 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6384 # Check for GNU ac_path_SED and select it if it is found.
6385 # Check for GNU $ac_path_SED
6386 case `"$ac_path_SED" --version 2>&1` in
6388 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6391 $as_echo_n 0123456789 >"conftest.
in"
6394 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6395 mv "conftest.tmp
" "conftest.
in"
6396 cp "conftest.
in" "conftest.
nl"
6397 $as_echo '' >> "conftest.
nl"
6398 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6399 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6400 as_fn_arith $ac_count + 1 && ac_count=$as_val
6401 if test $ac_count -gt ${ac_path_SED_max-0}; then
6402 # Best one so far, save it but keep looking for a better one
6403 ac_cv_path_SED="$ac_path_SED"
6404 ac_path_SED_max=$ac_count
6406 # 10*(2^10) chars as input seems more than enough
6407 test $ac_count -gt 10 && break
6409 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6412 $ac_path_SED_found && break 3
6417 if test -z "$ac_cv_path_SED"; then
6418 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
6426 $as_echo "$ac_cv_path_SED" >&6; }
6427 SED="$ac_cv_path_SED"
6430 test -z "$SED" && SED=sed
6431 Xsed="$SED -e 1s
/^X
//"
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
6444 $as_echo_n "checking
for fgrep...
" >&6; }
6445 if test "${ac_cv_path_FGREP+set}" = set; then :
6446 $as_echo_n "(cached
) " >&6
6448 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6449 then ac_cv_path_FGREP="$GREP -F"
6451 if test -z "$FGREP"; then
6452 ac_path_FGREP_found=false
6453 # Loop through the user's path and test for each of PROGNAME-LIST
6454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6455 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6458 test -z "$as_dir" && as_dir=.
6459 for ac_prog in fgrep; do
6460 for ac_exec_ext in '' $ac_executable_extensions; do
6461 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6462 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6463 # Check for GNU ac_path_FGREP and select it if it is found.
6464 # Check for GNU $ac_path_FGREP
6465 case `"$ac_path_FGREP" --version 2>&1` in
6467 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6470 $as_echo_n 0123456789 >"conftest.
in"
6473 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6474 mv "conftest.tmp
" "conftest.
in"
6475 cp "conftest.
in" "conftest.
nl"
6476 $as_echo 'FGREP' >> "conftest.
nl"
6477 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6478 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6479 as_fn_arith $ac_count + 1 && ac_count=$as_val
6480 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6481 # Best one so far, save it but keep looking for a better one
6482 ac_cv_path_FGREP="$ac_path_FGREP"
6483 ac_path_FGREP_max=$ac_count
6485 # 10*(2^10) chars as input seems more than enough
6486 test $ac_count -gt 10 && break
6488 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6491 $ac_path_FGREP_found && break 3
6496 if test -z "$ac_cv_path_FGREP"; then
6497 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
6500 ac_cv_path_FGREP=$FGREP
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
6506 $as_echo "$ac_cv_path_FGREP" >&6; }
6507 FGREP="$ac_cv_path_FGREP"
6510 test -z "$GREP" && GREP=grep
6530 # Check whether --with-gnu-ld was given.
6531 if test "${with_gnu_ld+set}" = set; then :
6532 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6538 if test "$GCC" = yes; then
6539 # Check if gcc -print-prog-name=ld gives a path.
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
6541 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
6544 # gcc leaves a trailing carriage return which upsets mingw
6545 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6547 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6550 # Accept absolute paths.
6552 re_direlt='/[^/][^/]*/\.\./'
6553 # Canonicalize the pathname of ld
6554 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6555 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6556 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
6558 test -z "$LD" && LD="$ac_prog"
6561 # If it fails, then pretend we aren't using GCC.
6565 # If it is relative, then search for the first ld in PATH.
6569 elif test "$with_gnu_ld" = yes; then
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
6571 $as_echo_n "checking
for GNU ld...
" >&6; }
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
6574 $as_echo_n "checking
for non-GNU ld...
" >&6; }
6576 if test "${lt_cv_path_LD+set}" = set; then :
6577 $as_echo_n "(cached
) " >&6
6579 if test -z "$LD"; then
6580 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6581 for ac_dir in $PATH; do
6583 test -z "$ac_dir" && ac_dir=.
6584 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6585 lt_cv_path_LD="$ac_dir/$ac_prog"
6586 # Check to see if the program is GNU ld. I'd rather use --version,
6587 # but apparently some variants of GNU ld only accept -v.
6588 # Break only if it was the GNU/non-GNU ld that we prefer.
6589 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6590 *GNU* | *'with BFD'*)
6591 test "$with_gnu_ld" != no && break
6594 test "$with_gnu_ld" != yes && break
6601 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6606 if test -n "$LD"; then
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
6608 $as_echo "$LD" >&6; }
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6611 $as_echo "no
" >&6; }
6613 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
6615 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
6616 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6617 $as_echo_n "(cached
) " >&6
6619 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6620 case `$LD -v 2>&1 </dev/null` in
6621 *GNU* | *'with BFD'*)
6622 lt_cv_prog_gnu_ld=yes
6625 lt_cv_prog_gnu_ld=no
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
6630 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6631 with_gnu_ld=$lt_cv_prog_gnu_ld
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6642 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6643 if test "${lt_cv_path_NM+set}" = set; then :
6644 $as_echo_n "(cached
) " >&6
6646 if test -n "$NM"; then
6647 # Let the user override the test.
6650 lt_nm_to_check="${ac_tool_prefix}nm
"
6651 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6652 lt_nm_to_check="$lt_nm_to_check nm
"
6654 for lt_tmp_nm in $lt_nm_to_check; do
6655 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6656 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6658 test -z "$ac_dir" && ac_dir=.
6659 tmp_nm="$ac_dir/$lt_tmp_nm"
6660 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6661 # Check to see if the nm accepts a BSD-compat flag.
6662 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6663 # nm: unknown option "B
" ignored
6664 # Tru64's nm complains that /dev/null is an invalid object file
6665 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6666 */dev/null* | *'Invalid file or object type'*)
6667 lt_cv_path_NM="$tmp_nm -B"
6671 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6673 lt_cv_path_NM="$tmp_nm -p"
6677 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6678 continue # so that we can try to find one that supports BSD flags
6687 : ${lt_cv_path_NM=no}
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
6691 $as_echo "$lt_cv_path_NM" >&6; }
6692 if test "$lt_cv_path_NM" != "no
"; then
6695 # Didn't find any BSD compatible name lister, look for dumpbin.
6696 if test -n "$DUMPBIN"; then :
6697 # Let the user override the test.
6699 if test -n "$ac_tool_prefix"; then
6700 for ac_prog in dumpbin "link
-dump"
6702 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6703 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6705 $as_echo_n "checking
for $ac_word...
" >&6; }
6706 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6707 $as_echo_n "(cached
) " >&6
6709 if test -n "$DUMPBIN"; then
6710 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6716 test -z "$as_dir" && as_dir=.
6717 for ac_exec_ext in '' $ac_executable_extensions; do
6718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6719 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6720 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6729 DUMPBIN=$ac_cv_prog_DUMPBIN
6730 if test -n "$DUMPBIN"; then
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
6732 $as_echo "$DUMPBIN" >&6; }
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6735 $as_echo "no
" >&6; }
6739 test -n "$DUMPBIN" && break
6742 if test -z "$DUMPBIN"; then
6743 ac_ct_DUMPBIN=$DUMPBIN
6744 for ac_prog in dumpbin "link
-dump"
6746 # Extract the first word of "$ac_prog", so it can be a program name with args.
6747 set dummy $ac_prog; ac_word=$2
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6749 $as_echo_n "checking
for $ac_word...
" >&6; }
6750 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6751 $as_echo_n "(cached
) " >&6
6753 if test -n "$ac_ct_DUMPBIN"; then
6754 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6760 test -z "$as_dir" && as_dir=.
6761 for ac_exec_ext in '' $ac_executable_extensions; do
6762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6763 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6764 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6773 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6774 if test -n "$ac_ct_DUMPBIN"; then
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6776 $as_echo "$ac_ct_DUMPBIN" >&6; }
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6779 $as_echo "no
" >&6; }
6783 test -n "$ac_ct_DUMPBIN" && break
6786 if test "x
$ac_ct_DUMPBIN" = x; then
6789 case $cross_compiling:$ac_tool_warned in
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6792 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6793 ac_tool_warned=yes ;;
6795 DUMPBIN=$ac_ct_DUMPBIN
6799 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6801 DUMPBIN="$DUMPBIN -symbols"
6809 if test "$DUMPBIN" != ":"; then
6813 test -z "$NM" && NM=nm
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6821 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6822 if test "${lt_cv_nm_interface+set}" = set; then :
6823 $as_echo_n "(cached
) " >&6
6825 lt_cv_nm_interface="BSD nm
"
6826 echo "int some_variable
= 0;" > conftest.$ac_ext
6827 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6828 (eval "$ac_compile" 2>conftest.err)
6829 cat conftest.err >&5
6830 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6831 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6832 cat conftest.err >&5
6833 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6834 cat conftest.out >&5
6835 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6836 lt_cv_nm_interface="MS dumpbin
"
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6841 $as_echo "$lt_cv_nm_interface" >&6; }
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
6844 $as_echo_n "checking whether
ln -s works...
" >&6; }
6846 if test "$LN_S" = "ln -s"; then
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
6848 $as_echo "yes" >&6; }
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
6851 $as_echo "no
, using
$LN_S" >&6; }
6854 # find the maximum length of command line arguments
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6856 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6857 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6858 $as_echo_n "(cached
) " >&6
6865 # On DJGPP, this test can blow up pretty badly due to problems in libc
6866 # (any single argument exceeding 2000 bytes causes a buffer overrun
6867 # during glob expansion). Even if it were fixed, the result of this
6868 # check would be larger than it should be.
6869 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6873 # Under GNU Hurd, this test is not required because there is
6874 # no limit to the length of command line arguments.
6875 # Libtool will interpret -1 as no limit whatsoever
6876 lt_cv_sys_max_cmd_len=-1;
6879 cygwin* | mingw* | cegcc*)
6880 # On Win9x/ME, this test blows up -- it succeeds, but takes
6881 # about 5 minutes as the teststring grows exponentially.
6882 # Worse, since 9x/ME are not pre-emptively multitasking,
6883 # you end up with a "frozen
" computer, even though with patience
6884 # the test eventually succeeds (with a max line length of 256k).
6885 # Instead, let's just punt: use the minimum linelength reported by
6886 # all of the supported platforms: 8192 (on NT/2K/XP).
6887 lt_cv_sys_max_cmd_len=8192;
6891 # On MiNT this can take a long time and run out of memory.
6892 lt_cv_sys_max_cmd_len=8192;
6896 # On AmigaOS with pdksh, this test takes hours, literally.
6897 # So we just punt and use a minimum line length of 8192.
6898 lt_cv_sys_max_cmd_len=8192;
6901 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6902 # This has been around since 386BSD, at least. Likely further.
6903 if test -x /sbin/sysctl; then
6904 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6905 elif test -x /usr/sbin/sysctl; then
6906 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6908 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6910 # And add a safety zone
6911 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6912 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6916 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6917 lt_cv_sys_max_cmd_len=196608
6921 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6922 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6923 # nice to cause kernel panics so lets avoid the loop below.
6924 # First set a reasonable default.
6925 lt_cv_sys_max_cmd_len=16384
6927 if test -x /sbin/sysconfig; then
6928 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6929 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6934 lt_cv_sys_max_cmd_len=102400
6936 sysv5* | sco5v6* | sysv4.2uw2*)
6937 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6938 if test -n "$kargmax"; then
6939 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6941 lt_cv_sys_max_cmd_len=32768
6945 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6946 if test -n "$lt_cv_sys_max_cmd_len"; then
6947 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6948 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6950 # Make teststring a little bigger before we do anything with it.
6951 # a 1K string should be a reasonable start.
6952 for i in 1 2 3 4 5 6 7 8 ; do
6953 teststring=$teststring$teststring
6955 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6956 # If test is not a shell built-in, we'll probably end up computing a
6957 # maximum length that is only half of the actual maximum length, but
6959 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6960 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6961 test $i != 17 # 1/2 MB should be enough
6964 teststring=$teststring$teststring
6966 # Only check the string length outside the loop.
6967 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6969 # Add a significant safety factor because C++ compilers can tack on
6970 # massive amounts of additional arguments before passing them to the
6971 # linker. It appears as though 1/2 is a usable value.
6972 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6979 if test -n $lt_cv_sys_max_cmd_len ; then
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6981 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6984 $as_echo "none
" >&6; }
6986 max_cmd_len=$lt_cv_sys_max_cmd_len
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6998 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6999 # Try some XSI features
7002 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7004 && eval 'test $(( 1 + 1 )) -eq 2 \
7005 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7008 $as_echo "$xsi_shell" >&6; }
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7012 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7014 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
7016 && lt_shell_append
=yes
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7018 $as_echo "$lt_shell_append" >&6; }
7021 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7031 # test EBCDIC or ASCII
7032 case `echo X|tr X '\101'` in
7033 A
) # ASCII based system
7034 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7035 lt_SP2NL
='tr \040 \012'
7036 lt_NL2SP
='tr \015\012 \040\040'
7038 *) # EBCDIC based system
7039 lt_SP2NL
='tr \100 \n'
7040 lt_NL2SP
='tr \r\n \100\100'
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7053 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7054 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7055 $as_echo_n "(cached) " >&6
7057 lt_cv_ld_reload_flag
='-r'
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7060 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7061 reload_flag
=$lt_cv_ld_reload_flag
7062 case $reload_flag in
7064 *) reload_flag
=" $reload_flag" ;;
7066 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7069 if test "$GCC" = yes; then
7070 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7072 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7085 if test -n "$ac_tool_prefix"; then
7086 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7087 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7089 $as_echo_n "checking for $ac_word... " >&6; }
7090 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7091 $as_echo_n "(cached) " >&6
7093 if test -n "$OBJDUMP"; then
7094 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7100 test -z "$as_dir" && as_dir
=.
7101 for ac_exec_ext
in '' $ac_executable_extensions; do
7102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7103 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7113 OBJDUMP
=$ac_cv_prog_OBJDUMP
7114 if test -n "$OBJDUMP"; then
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7116 $as_echo "$OBJDUMP" >&6; }
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7119 $as_echo "no" >&6; }
7124 if test -z "$ac_cv_prog_OBJDUMP"; then
7125 ac_ct_OBJDUMP
=$OBJDUMP
7126 # Extract the first word of "objdump", so it can be a program name with args.
7127 set dummy objdump
; ac_word
=$2
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7129 $as_echo_n "checking for $ac_word... " >&6; }
7130 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7131 $as_echo_n "(cached) " >&6
7133 if test -n "$ac_ct_OBJDUMP"; then
7134 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7140 test -z "$as_dir" && as_dir
=.
7141 for ac_exec_ext
in '' $ac_executable_extensions; do
7142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7143 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7153 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7154 if test -n "$ac_ct_OBJDUMP"; then
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7156 $as_echo "$ac_ct_OBJDUMP" >&6; }
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7159 $as_echo "no" >&6; }
7162 if test "x$ac_ct_OBJDUMP" = x
; then
7165 case $cross_compiling:$ac_tool_warned in
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7168 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7169 ac_tool_warned
=yes ;;
7171 OBJDUMP
=$ac_ct_OBJDUMP
7174 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7177 test -z "$OBJDUMP" && OBJDUMP
=objdump
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7188 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7189 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7190 $as_echo_n "(cached) " >&6
7192 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7193 lt_cv_file_magic_test_file
=
7194 lt_cv_deplibs_check_method
='unknown'
7195 # Need to set the preceding variable on all platforms that support
7196 # interlibrary dependencies.
7197 # 'none' -- dependencies not supported.
7198 # `unknown' -- same as none, but documents that we really don't know.
7199 # 'pass_all' -- all dependencies passed with no checks.
7200 # 'test_compile' -- check by making test program.
7201 # 'file_magic [[regex]]' -- check by looking for files in library path
7202 # which responds to the $file_magic_cmd with a given extended regex.
7203 # If you have `file' or equivalent on your system and you're not sure
7204 # whether `pass_all' will *always* work, you probably want this one.
7208 lt_cv_deplibs_check_method
=pass_all
7212 lt_cv_deplibs_check_method
=pass_all
7216 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7217 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7218 lt_cv_file_magic_test_file
=/shlib
/libc.so
7222 # func_win32_libid is a shell function defined in ltmain.sh
7223 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7224 lt_cv_file_magic_cmd
='func_win32_libid'
7228 # Base MSYS/MinGW do not provide the 'file' command needed by
7229 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7230 # unless we find 'file', for example because we are cross-compiling.
7231 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7232 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
7233 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7234 lt_cv_file_magic_cmd
='func_win32_libid'
7236 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
7237 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7242 # use the weaker test based on 'objdump'. See mingw*.
7243 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7244 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7247 darwin
* | rhapsody
*)
7248 lt_cv_deplibs_check_method
=pass_all
7251 freebsd
* | dragonfly
*)
7252 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7255 # Not sure whether the presence of OpenBSD here was a mistake.
7256 # Let's accept both of them until this is cleared up.
7257 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7258 lt_cv_file_magic_cmd
=/usr
/bin
/file
7259 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7263 lt_cv_deplibs_check_method
=pass_all
7268 lt_cv_deplibs_check_method
=pass_all
7272 lt_cv_deplibs_check_method
=pass_all
7275 hpux10.20
* | hpux11
*)
7276 lt_cv_file_magic_cmd
=/usr
/bin
/file
7279 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7280 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7283 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]'
7284 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7287 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7288 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7294 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7295 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7298 irix5
* | irix6
* | nonstopux
*)
7300 *-32|
*"-32 ") libmagic
=32-bit;;
7301 *-n32|
*"-n32 ") libmagic
=N32
;;
7302 *-64|
*"-64 ") libmagic
=64-bit;;
7303 *) libmagic
=never-match
;;
7305 lt_cv_deplibs_check_method
=pass_all
7308 # This must be Linux ELF.
7309 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7310 lt_cv_deplibs_check_method
=pass_all
7314 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7315 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7317 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7322 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7323 lt_cv_file_magic_cmd
=/usr
/bin
/file
7324 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7328 lt_cv_deplibs_check_method
=pass_all
7332 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7333 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7335 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7339 osf3
* | osf4
* | osf5
*)
7340 lt_cv_deplibs_check_method
=pass_all
7344 lt_cv_deplibs_check_method
=pass_all
7348 lt_cv_deplibs_check_method
=pass_all
7351 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7352 lt_cv_deplibs_check_method
=pass_all
7356 case $host_vendor in
7358 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]'
7359 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7362 lt_cv_deplibs_check_method
=pass_all
7365 lt_cv_file_magic_cmd
='/bin/file'
7366 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7369 lt_cv_file_magic_cmd
='/bin/file'
7370 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7371 lt_cv_file_magic_test_file
=/lib
/libc.so
7374 lt_cv_deplibs_check_method
=pass_all
7377 lt_cv_deplibs_check_method
=pass_all
7383 lt_cv_deplibs_check_method
=pass_all
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7389 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7390 file_magic_cmd
=$lt_cv_file_magic_cmd
7391 deplibs_check_method
=$lt_cv_deplibs_check_method
7392 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7405 if test -n "$ac_tool_prefix"; then
7406 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7407 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7409 $as_echo_n "checking for $ac_word... " >&6; }
7410 if test "${ac_cv_prog_AR+set}" = set; then :
7411 $as_echo_n "(cached) " >&6
7413 if test -n "$AR"; then
7414 ac_cv_prog_AR
="$AR" # Let the user override the test.
7416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7420 test -z "$as_dir" && as_dir
=.
7421 for ac_exec_ext
in '' $ac_executable_extensions; do
7422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7423 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7434 if test -n "$AR"; then
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7436 $as_echo "$AR" >&6; }
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7439 $as_echo "no" >&6; }
7444 if test -z "$ac_cv_prog_AR"; then
7446 # Extract the first word of "ar", so it can be a program name with args.
7447 set dummy
ar; ac_word
=$2
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7449 $as_echo_n "checking for $ac_word... " >&6; }
7450 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7451 $as_echo_n "(cached) " >&6
7453 if test -n "$ac_ct_AR"; then
7454 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7460 test -z "$as_dir" && as_dir
=.
7461 for ac_exec_ext
in '' $ac_executable_extensions; do
7462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7463 ac_cv_prog_ac_ct_AR
="ar"
7464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7473 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7474 if test -n "$ac_ct_AR"; then
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7476 $as_echo "$ac_ct_AR" >&6; }
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7479 $as_echo "no" >&6; }
7482 if test "x$ac_ct_AR" = x
; then
7485 case $cross_compiling:$ac_tool_warned in
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7488 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7489 ac_tool_warned
=yes ;;
7497 test -z "$AR" && AR
=ar
7498 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7510 if test -n "$ac_tool_prefix"; then
7511 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7512 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7514 $as_echo_n "checking for $ac_word... " >&6; }
7515 if test "${ac_cv_prog_STRIP+set}" = set; then :
7516 $as_echo_n "(cached) " >&6
7518 if test -n "$STRIP"; then
7519 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7525 test -z "$as_dir" && as_dir
=.
7526 for ac_exec_ext
in '' $ac_executable_extensions; do
7527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7528 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7538 STRIP
=$ac_cv_prog_STRIP
7539 if test -n "$STRIP"; then
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7541 $as_echo "$STRIP" >&6; }
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7544 $as_echo "no" >&6; }
7549 if test -z "$ac_cv_prog_STRIP"; then
7551 # Extract the first word of "strip", so it can be a program name with args.
7552 set dummy strip
; ac_word
=$2
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7554 $as_echo_n "checking for $ac_word... " >&6; }
7555 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7556 $as_echo_n "(cached) " >&6
7558 if test -n "$ac_ct_STRIP"; then
7559 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7565 test -z "$as_dir" && as_dir
=.
7566 for ac_exec_ext
in '' $ac_executable_extensions; do
7567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7568 ac_cv_prog_ac_ct_STRIP
="strip"
7569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7578 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7579 if test -n "$ac_ct_STRIP"; then
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7581 $as_echo "$ac_ct_STRIP" >&6; }
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7584 $as_echo "no" >&6; }
7587 if test "x$ac_ct_STRIP" = x
; then
7590 case $cross_compiling:$ac_tool_warned in
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7594 ac_tool_warned
=yes ;;
7599 STRIP
="$ac_cv_prog_STRIP"
7602 test -z "$STRIP" && STRIP
=:
7609 if test -n "$ac_tool_prefix"; then
7610 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7611 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7613 $as_echo_n "checking for $ac_word... " >&6; }
7614 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7615 $as_echo_n "(cached) " >&6
7617 if test -n "$RANLIB"; then
7618 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7624 test -z "$as_dir" && as_dir
=.
7625 for ac_exec_ext
in '' $ac_executable_extensions; do
7626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7627 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7637 RANLIB
=$ac_cv_prog_RANLIB
7638 if test -n "$RANLIB"; then
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7640 $as_echo "$RANLIB" >&6; }
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7643 $as_echo "no" >&6; }
7648 if test -z "$ac_cv_prog_RANLIB"; then
7649 ac_ct_RANLIB
=$RANLIB
7650 # Extract the first word of "ranlib", so it can be a program name with args.
7651 set dummy ranlib
; ac_word
=$2
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7653 $as_echo_n "checking for $ac_word... " >&6; }
7654 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7655 $as_echo_n "(cached) " >&6
7657 if test -n "$ac_ct_RANLIB"; then
7658 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7664 test -z "$as_dir" && as_dir
=.
7665 for ac_exec_ext
in '' $ac_executable_extensions; do
7666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7667 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7677 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7678 if test -n "$ac_ct_RANLIB"; then
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7680 $as_echo "$ac_ct_RANLIB" >&6; }
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7683 $as_echo "no" >&6; }
7686 if test "x$ac_ct_RANLIB" = x
; then
7689 case $cross_compiling:$ac_tool_warned in
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7692 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7693 ac_tool_warned
=yes ;;
7695 RANLIB
=$ac_ct_RANLIB
7698 RANLIB
="$ac_cv_prog_RANLIB"
7701 test -z "$RANLIB" && RANLIB
=:
7708 # Determine commands to create old-style static archives.
7709 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7710 old_postinstall_cmds
='chmod 644 $oldlib'
7711 old_postuninstall_cmds
=
7713 if test -n "$RANLIB"; then
7716 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7719 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7722 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7727 lock_old_archive_extraction
=yes ;;
7729 lock_old_archive_extraction
=no
;;
7770 # If no C compiler was specified, use CC.
7773 # If no C compiler flags were specified, use CFLAGS.
7774 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7776 # Allow CC to be a program name with arguments.
7780 # Check for command to grab the raw symbol name followed by C symbol from nm.
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7782 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7783 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7784 $as_echo_n "(cached) " >&6
7787 # These are sane defaults that work on at least a few old systems.
7788 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7790 # Character class describing NM global symbol codes.
7791 symcode
='[BCDEGRST]'
7793 # Regexp to match symbols that can be accessed directly from C.
7794 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7796 # Define system-specific variables.
7801 cygwin
* | mingw
* | pw32
* | cegcc
*)
7802 symcode
='[ABCDGISTW]'
7805 if test "$host_cpu" = ia64
; then
7806 symcode
='[ABCDEGRST]'
7810 symcode
='[BCDEGRST]'
7813 symcode
='[BCDEGQRST]'
7824 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7832 # If we're using GNU nm, then use its standard symbol codes.
7833 case `$NM -V 2>&1` in
7834 *GNU
* |
*'with BFD'*)
7835 symcode
='[ABCDGIRSTW]' ;;
7838 # Transform an extracted symbol line into a proper C declaration.
7839 # Some systems (esp. on ia64) link data and code symbols differently,
7840 # so use this general approach.
7841 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7843 # Transform an extracted symbol line into symbol name and symbol address
7844 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7845 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'"
7847 # Handle CRLF in mingw tool chain
7851 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7855 # Try without a prefix underscore, then with it.
7856 for ac_symprfx
in "" "_"; do
7858 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7859 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7861 # Write the raw and C identifiers.
7862 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7863 # Fake it for dumpbin and say T for any non-static function
7864 # and D for any global variable.
7865 # Also find C++ and __fastcall symbols from MSVC++,
7866 # which start with @ or ?.
7867 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7868 " {last_section=section; section=\$ 3};"\
7869 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7870 " \$ 0!~/External *\|/{next};"\
7871 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7872 " {if(hide[section]) next};"\
7873 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7874 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7875 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7876 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7877 " ' prfx=^$ac_symprfx"
7879 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7882 # Check to see that the pipe works correctly.
7886 cat > conftest.
$ac_ext <<_LT_EOF
7891 void nm_test_func(void);
7892 void nm_test_func(void){}
7896 int main(){nm_test_var='a';nm_test_func();return(0);}
7899 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7900 (eval $ac_compile) 2>&5
7902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7903 test $ac_status = 0; }; then
7904 # Now try to grab the symbols.
7906 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7907 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7910 test $ac_status = 0; } && test -s "$nlist"; then
7911 # Try sorting and uniquifying the output.
7912 if sort "$nlist" |
uniq > "$nlist"T
; then
7913 mv -f "$nlist"T
"$nlist"
7918 # Make sure that we snagged all the symbols we need.
7919 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7920 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7921 cat <<_LT_EOF > conftest.$ac_ext
7927 # Now generate the symbol file.
7928 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7930 cat <<_LT_EOF >> conftest.$ac_ext
7932 /* The mapping between symbol names and symbols. */
7937 lt__PROGRAM__LTX_preloaded_symbols[] =
7939 { "@PROGRAM@", (void *) 0 },
7941 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7942 cat <<\_LT_EOF
>> conftest.
$ac_ext
7946 /* This works around a problem
in FreeBSD linker
*/
7947 #ifdef FREEBSD_WORKAROUND
7948 static const void
*lt_preloaded_setup
() {
7949 return lt__PROGRAM__LTX_preloaded_symbols
;
7957 # Now try linking the two files.
7958 mv conftest.
$ac_objext conftstm.
$ac_objext
7959 lt_save_LIBS
="$LIBS"
7960 lt_save_CFLAGS
="$CFLAGS"
7961 LIBS
="conftstm.$ac_objext"
7962 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7963 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7964 (eval $ac_link) 2>&5
7966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7967 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7970 LIBS
="$lt_save_LIBS"
7971 CFLAGS
="$lt_save_CFLAGS"
7973 echo "cannot find nm_test_func in $nlist" >&5
7976 echo "cannot find nm_test_var in $nlist" >&5
7979 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7982 echo "$progname: failed program was:" >&5
7983 cat conftest.
$ac_ext >&5
7985 rm -rf conftest
* conftst
*
7987 # Do not use the global_symbol_pipe unless it works.
7988 if test "$pipe_works" = yes; then
7991 lt_cv_sys_global_symbol_pipe
=
7997 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7998 lt_cv_sys_global_symbol_to_cdecl
=
8000 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8002 $as_echo "failed" >&6; }
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8005 $as_echo "ok" >&6; }
8029 # Check whether --enable-libtool-lock was given.
8030 if test "${enable_libtool_lock+set}" = set; then :
8031 enableval
=$enable_libtool_lock;
8034 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8036 # Some flags need to be propagated to the compiler or linker for good
8040 # Find out which ABI we are using.
8041 echo 'int i;' > 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 case `/usr/bin/file conftest.$ac_objext` in
8059 # Find out which ABI we are using.
8060 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8061 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8062 (eval $ac_compile) 2>&5
8064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8065 test $ac_status = 0; }; then
8066 if test "$lt_cv_prog_gnu_ld" = yes; then
8067 case `/usr/bin/file conftest.$ac_objext` in
8069 LD
="${LD-ld} -melf32bsmip"
8072 LD
="${LD-ld} -melf32bmipn32"
8075 LD
="${LD-ld} -melf64bmip"
8079 case `/usr/bin/file conftest.$ac_objext` in
8095 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
8096 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8097 # Find out which ABI we are using.
8098 echo 'int i;' > conftest.
$ac_ext
8099 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8100 (eval $ac_compile) 2>&5
8102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8103 test $ac_status = 0; }; then
8104 case `/usr/bin/file conftest.o` in
8107 x86_64-
*kfreebsd
*-gnu)
8108 LD
="${LD-ld} -m elf_i386_fbsd"
8111 case `/usr/bin/file conftest.o` in
8113 LD
="${LD-ld} -m elf32_x86_64"
8116 LD
="${LD-ld} -m elf_i386"
8120 powerpc64le-
*linux
*)
8121 LD
="${LD-ld} -m elf32lppclinux"
8124 LD
="${LD-ld} -m elf32ppclinux"
8127 LD
="${LD-ld} -m elf_s390"
8130 LD
="${LD-ld} -m elf32_sparc"
8136 x86_64-
*kfreebsd
*-gnu)
8137 LD
="${LD-ld} -m elf_x86_64_fbsd"
8140 LD
="${LD-ld} -m elf_x86_64"
8143 LD
="${LD-ld} -m elf64lppc"
8146 LD
="${LD-ld} -m elf64ppc"
8148 s390
*-*linux
*|s390
*-*tpf
*)
8149 LD
="${LD-ld} -m elf64_s390"
8152 LD
="${LD-ld} -m elf64_sparc"
8162 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8163 SAVE_CFLAGS
="$CFLAGS"
8164 CFLAGS
="$CFLAGS -belf"
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8166 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8167 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8168 $as_echo_n "(cached) " >&6
8171 ac_cpp
='$CPP $CPPFLAGS'
8172 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8173 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8174 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8176 if test x
$gcc_no_link = xyes
; then
8177 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8180 /* end confdefs.h. */
8190 if ac_fn_c_try_link
"$LINENO"; then :
8191 lt_cv_cc_needs_belf
=yes
8193 lt_cv_cc_needs_belf
=no
8195 rm -f core conftest.err conftest.
$ac_objext \
8196 conftest
$ac_exeext conftest.
$ac_ext
8198 ac_cpp
='$CPP $CPPFLAGS'
8199 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8200 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8201 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8205 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8206 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
8207 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8208 CFLAGS
="$SAVE_CFLAGS"
8212 # Find out which ABI we are using.
8213 echo 'int i;' > conftest.
$ac_ext
8214 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8215 (eval $ac_compile) 2>&5
8217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8218 test $ac_status = 0; }; then
8219 case `/usr/bin/file conftest.o` in
8221 case $lt_cv_prog_gnu_ld in
8222 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8224 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8236 need_locks
="$enable_libtool_lock"
8240 rhapsody
* | darwin
*)
8241 if test -n "$ac_tool_prefix"; then
8242 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8243 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8245 $as_echo_n "checking for $ac_word... " >&6; }
8246 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8247 $as_echo_n "(cached) " >&6
8249 if test -n "$DSYMUTIL"; then
8250 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8256 test -z "$as_dir" && as_dir
=.
8257 for ac_exec_ext
in '' $ac_executable_extensions; do
8258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8259 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8269 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8270 if test -n "$DSYMUTIL"; then
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8272 $as_echo "$DSYMUTIL" >&6; }
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8275 $as_echo "no" >&6; }
8280 if test -z "$ac_cv_prog_DSYMUTIL"; then
8281 ac_ct_DSYMUTIL
=$DSYMUTIL
8282 # Extract the first word of "dsymutil", so it can be a program name with args.
8283 set dummy dsymutil
; ac_word
=$2
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8285 $as_echo_n "checking for $ac_word... " >&6; }
8286 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8287 $as_echo_n "(cached) " >&6
8289 if test -n "$ac_ct_DSYMUTIL"; then
8290 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8296 test -z "$as_dir" && as_dir
=.
8297 for ac_exec_ext
in '' $ac_executable_extensions; do
8298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8299 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8309 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8310 if test -n "$ac_ct_DSYMUTIL"; then
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8312 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8315 $as_echo "no" >&6; }
8318 if test "x$ac_ct_DSYMUTIL" = x
; then
8321 case $cross_compiling:$ac_tool_warned in
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8324 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8325 ac_tool_warned
=yes ;;
8327 DSYMUTIL
=$ac_ct_DSYMUTIL
8330 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8333 if test -n "$ac_tool_prefix"; then
8334 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8335 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8337 $as_echo_n "checking for $ac_word... " >&6; }
8338 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8339 $as_echo_n "(cached) " >&6
8341 if test -n "$NMEDIT"; then
8342 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8348 test -z "$as_dir" && as_dir
=.
8349 for ac_exec_ext
in '' $ac_executable_extensions; do
8350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8351 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8361 NMEDIT
=$ac_cv_prog_NMEDIT
8362 if test -n "$NMEDIT"; then
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8364 $as_echo "$NMEDIT" >&6; }
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8367 $as_echo "no" >&6; }
8372 if test -z "$ac_cv_prog_NMEDIT"; then
8373 ac_ct_NMEDIT
=$NMEDIT
8374 # Extract the first word of "nmedit", so it can be a program name with args.
8375 set dummy nmedit
; ac_word
=$2
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8377 $as_echo_n "checking for $ac_word... " >&6; }
8378 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8379 $as_echo_n "(cached) " >&6
8381 if test -n "$ac_ct_NMEDIT"; then
8382 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8388 test -z "$as_dir" && as_dir
=.
8389 for ac_exec_ext
in '' $ac_executable_extensions; do
8390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8391 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8401 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8402 if test -n "$ac_ct_NMEDIT"; then
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8404 $as_echo "$ac_ct_NMEDIT" >&6; }
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8407 $as_echo "no" >&6; }
8410 if test "x$ac_ct_NMEDIT" = x
; then
8413 case $cross_compiling:$ac_tool_warned in
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8416 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8417 ac_tool_warned
=yes ;;
8419 NMEDIT
=$ac_ct_NMEDIT
8422 NMEDIT
="$ac_cv_prog_NMEDIT"
8425 if test -n "$ac_tool_prefix"; then
8426 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8427 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8429 $as_echo_n "checking for $ac_word... " >&6; }
8430 if test "${ac_cv_prog_LIPO+set}" = set; then :
8431 $as_echo_n "(cached) " >&6
8433 if test -n "$LIPO"; then
8434 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8440 test -z "$as_dir" && as_dir
=.
8441 for ac_exec_ext
in '' $ac_executable_extensions; do
8442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8443 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8453 LIPO
=$ac_cv_prog_LIPO
8454 if test -n "$LIPO"; then
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8456 $as_echo "$LIPO" >&6; }
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8459 $as_echo "no" >&6; }
8464 if test -z "$ac_cv_prog_LIPO"; then
8466 # Extract the first word of "lipo", so it can be a program name with args.
8467 set dummy lipo
; ac_word
=$2
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8469 $as_echo_n "checking for $ac_word... " >&6; }
8470 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8471 $as_echo_n "(cached) " >&6
8473 if test -n "$ac_ct_LIPO"; then
8474 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8480 test -z "$as_dir" && as_dir
=.
8481 for ac_exec_ext
in '' $ac_executable_extensions; do
8482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8483 ac_cv_prog_ac_ct_LIPO
="lipo"
8484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8493 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8494 if test -n "$ac_ct_LIPO"; then
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8496 $as_echo "$ac_ct_LIPO" >&6; }
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8499 $as_echo "no" >&6; }
8502 if test "x$ac_ct_LIPO" = x
; then
8505 case $cross_compiling:$ac_tool_warned in
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8509 ac_tool_warned
=yes ;;
8514 LIPO
="$ac_cv_prog_LIPO"
8517 if test -n "$ac_tool_prefix"; then
8518 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8519 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8521 $as_echo_n "checking for $ac_word... " >&6; }
8522 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8523 $as_echo_n "(cached) " >&6
8525 if test -n "$OTOOL"; then
8526 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8532 test -z "$as_dir" && as_dir
=.
8533 for ac_exec_ext
in '' $ac_executable_extensions; do
8534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8535 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8545 OTOOL
=$ac_cv_prog_OTOOL
8546 if test -n "$OTOOL"; then
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8548 $as_echo "$OTOOL" >&6; }
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8551 $as_echo "no" >&6; }
8556 if test -z "$ac_cv_prog_OTOOL"; then
8558 # Extract the first word of "otool", so it can be a program name with args.
8559 set dummy otool
; ac_word
=$2
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8561 $as_echo_n "checking for $ac_word... " >&6; }
8562 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8563 $as_echo_n "(cached) " >&6
8565 if test -n "$ac_ct_OTOOL"; then
8566 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8572 test -z "$as_dir" && as_dir
=.
8573 for ac_exec_ext
in '' $ac_executable_extensions; do
8574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8575 ac_cv_prog_ac_ct_OTOOL
="otool"
8576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8585 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8586 if test -n "$ac_ct_OTOOL"; then
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8588 $as_echo "$ac_ct_OTOOL" >&6; }
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8591 $as_echo "no" >&6; }
8594 if test "x$ac_ct_OTOOL" = x
; then
8597 case $cross_compiling:$ac_tool_warned in
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8600 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8601 ac_tool_warned
=yes ;;
8606 OTOOL
="$ac_cv_prog_OTOOL"
8609 if test -n "$ac_tool_prefix"; then
8610 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8611 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8613 $as_echo_n "checking for $ac_word... " >&6; }
8614 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8615 $as_echo_n "(cached) " >&6
8617 if test -n "$OTOOL64"; then
8618 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8624 test -z "$as_dir" && as_dir
=.
8625 for ac_exec_ext
in '' $ac_executable_extensions; do
8626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8627 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8637 OTOOL64
=$ac_cv_prog_OTOOL64
8638 if test -n "$OTOOL64"; then
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8640 $as_echo "$OTOOL64" >&6; }
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8643 $as_echo "no" >&6; }
8648 if test -z "$ac_cv_prog_OTOOL64"; then
8649 ac_ct_OTOOL64
=$OTOOL64
8650 # Extract the first word of "otool64", so it can be a program name with args.
8651 set dummy otool64
; ac_word
=$2
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8653 $as_echo_n "checking for $ac_word... " >&6; }
8654 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8655 $as_echo_n "(cached) " >&6
8657 if test -n "$ac_ct_OTOOL64"; then
8658 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8664 test -z "$as_dir" && as_dir
=.
8665 for ac_exec_ext
in '' $ac_executable_extensions; do
8666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8667 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8677 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8678 if test -n "$ac_ct_OTOOL64"; then
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8680 $as_echo "$ac_ct_OTOOL64" >&6; }
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8683 $as_echo "no" >&6; }
8686 if test "x$ac_ct_OTOOL64" = x
; then
8689 case $cross_compiling:$ac_tool_warned in
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8692 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8693 ac_tool_warned
=yes ;;
8695 OTOOL64
=$ac_ct_OTOOL64
8698 OTOOL64
="$ac_cv_prog_OTOOL64"
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8728 $as_echo_n "checking for -single_module linker flag... " >&6; }
8729 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8730 $as_echo_n "(cached) " >&6
8732 lt_cv_apple_cc_single_mod
=no
8733 if test -z "${LT_MULTI_MODULE}"; then
8734 # By default we will add the -single_module flag. You can override
8735 # by either setting the environment variable LT_MULTI_MODULE
8736 # non-empty at configure time, or by adding -multi_module to the
8738 rm -rf libconftest.dylib
*
8739 echo "int foo(void){return 1;}" > conftest.c
8740 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8741 -dynamiclib -Wl,-single_module conftest.c" >&5
8742 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8743 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8745 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8746 lt_cv_apple_cc_single_mod
=yes
8748 cat conftest.err
>&5
8750 rm -rf libconftest.dylib
*
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8755 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8757 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8758 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8759 $as_echo_n "(cached) " >&6
8761 lt_cv_ld_exported_symbols_list
=no
8762 save_LDFLAGS
=$LDFLAGS
8763 echo "_main" > conftest.sym
8764 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8765 if test x
$gcc_no_link = xyes
; then
8766 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8769 /* end confdefs.h. */
8779 if ac_fn_c_try_link
"$LINENO"; then :
8780 lt_cv_ld_exported_symbols_list
=yes
8782 lt_cv_ld_exported_symbols_list
=no
8784 rm -f core conftest.err conftest.
$ac_objext \
8785 conftest
$ac_exeext conftest.
$ac_ext
8786 LDFLAGS
="$save_LDFLAGS"
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8790 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8792 $as_echo_n "checking for -force_load linker flag... " >&6; }
8793 if test "${lt_cv_ld_force_load+set}" = set; then :
8794 $as_echo_n "(cached) " >&6
8796 lt_cv_ld_force_load
=no
8797 cat > conftest.c
<< _LT_EOF
8798 int forced_loaded() { return 2;}
8800 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8801 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8802 echo "$AR cru libconftest.a conftest.o" >&5
8803 $AR cru libconftest.a conftest.o
2>&5
8804 cat > conftest.c
<< _LT_EOF
8805 int main() { return 0;}
8807 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8808 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8810 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8811 lt_cv_ld_force_load
=yes
8813 cat conftest.err
>&5
8815 rm -f conftest.err libconftest.a conftest conftest.c
8816 rm -rf conftest.dSYM
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8820 $as_echo "$lt_cv_ld_force_load" >&6; }
8822 rhapsody
* | darwin1.
[012])
8823 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8825 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8826 darwin
*) # darwin 5.x on
8827 # if running on 10.5 or later, the deployment target defaults
8828 # to the OS version, if on x86, and 10.4, the deployment
8829 # target defaults to 10.4. Don't you love it?
8830 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8831 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8832 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8834 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8836 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8840 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8841 _lt_dar_single_mod
='$single_module'
8843 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8844 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8846 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8848 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8849 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8856 for ac_header
in dlfcn.h
8858 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8860 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8861 cat >>confdefs.h
<<_ACEOF
8862 #define HAVE_DLFCN_H 1
8881 # Check whether --enable-shared was given.
8882 if test "${enable_shared+set}" = set; then :
8883 enableval
=$enable_shared; p
=${PACKAGE-default}
8885 yes) enable_shared
=yes ;;
8886 no
) enable_shared
=no
;;
8889 # Look at the argument we got. We use all the common list separators.
8890 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8891 for pkg
in $enableval; do
8893 if test "X$pkg" = "X$p"; then
8912 # Check whether --enable-static was given.
8913 if test "${enable_static+set}" = set; then :
8914 enableval
=$enable_static; p
=${PACKAGE-default}
8916 yes) enable_static
=yes ;;
8917 no
) enable_static
=no
;;
8920 # Look at the argument we got. We use all the common list separators.
8921 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8922 for pkg
in $enableval; do
8924 if test "X$pkg" = "X$p"; then
8944 # Check whether --with-pic was given.
8945 if test "${with_pic+set}" = set; then :
8946 withval
=$with_pic; pic_mode
="$withval"
8952 test -z "$pic_mode" && pic_mode
=default
8960 # Check whether --enable-fast-install was given.
8961 if test "${enable_fast_install+set}" = set; then :
8962 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8964 yes) enable_fast_install
=yes ;;
8965 no
) enable_fast_install
=no
;;
8967 enable_fast_install
=no
8968 # Look at the argument we got. We use all the common list separators.
8969 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8970 for pkg
in $enableval; do
8972 if test "X$pkg" = "X$p"; then
8973 enable_fast_install
=yes
8980 enable_fast_install
=yes
8993 # This can be used to rebuild libtool when needed
8994 LIBTOOL_DEPS
="$ltmain"
8996 # Always use our own libtool.
8997 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9024 test -z "$LN_S" && LN_S
="ln -s"
9039 if test -n "${ZSH_VERSION+set}" ; then
9040 setopt NO_GLOB_SUBST
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9044 $as_echo_n "checking for objdir... " >&6; }
9045 if test "${lt_cv_objdir+set}" = set; then :
9046 $as_echo_n "(cached) " >&6
9048 rm -f .libs
2>/dev
/null
9049 mkdir .libs
2>/dev
/null
9050 if test -d .libs
; then
9053 # MS-DOS does not allow filenames that begin with a dot.
9056 rmdir .libs
2>/dev
/null
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9059 $as_echo "$lt_cv_objdir" >&6; }
9060 objdir
=$lt_cv_objdir
9066 cat >>confdefs.h
<<_ACEOF
9067 #define LT_OBJDIR "$lt_cv_objdir/"
9075 # AIX sometimes has problems with the GCC collect2 program. For some
9076 # reason, if we set the COLLECT_NAMES environment variable, the problems
9077 # vanish in a puff of smoke.
9078 if test "X${COLLECT_NAMES+set}" != Xset
; then
9080 export COLLECT_NAMES
9087 can_build_shared
=yes
9089 # All known linkers require a `.a' archive for static linking (except MSVC,
9090 # which needs '.lib').
9093 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9096 old_CFLAGS
="$CFLAGS"
9098 # Set sane defaults for various variables
9099 test -z "$CC" && CC
=cc
9100 test -z "$LTCC" && LTCC
=$CC
9101 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9102 test -z "$LD" && LD
=ld
9103 test -z "$ac_objext" && ac_objext
=o
9105 for cc_temp
in $compiler""; do
9107 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9108 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9113 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9116 # Only perform the check for file, if the check method requires it
9117 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9118 case $deplibs_check_method in
9120 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9122 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9123 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9124 $as_echo_n "(cached) " >&6
9128 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9131 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9132 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9133 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9134 for ac_dir
in $ac_dummy; do
9136 test -z "$ac_dir" && ac_dir
=.
9137 if test -f $ac_dir/${ac_tool_prefix}file; then
9138 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9139 if test -n "$file_magic_test_file"; then
9140 case $deplibs_check_method in
9142 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9143 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9144 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9145 $EGREP "$file_magic_regex" > /dev
/null
; then
9150 *** Warning: the command libtool uses to detect shared libraries,
9151 *** $file_magic_cmd, produces output that libtool cannot recognize.
9152 *** The result is that libtool may fail to recognize shared libraries
9153 *** as such. This will affect the creation of libtool libraries that
9154 *** depend on shared libraries, but programs linked with such libtool
9155 *** libraries will work regardless of this problem. Nevertheless, you
9156 *** may want to report the problem to your system manager and/or to
9157 *** bug-libtool@gnu.org
9167 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9172 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9173 if test -n "$MAGIC_CMD"; then
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9175 $as_echo "$MAGIC_CMD" >&6; }
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9178 $as_echo "no" >&6; }
9185 if test -z "$lt_cv_path_MAGIC_CMD"; then
9186 if test -n "$ac_tool_prefix"; then
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9188 $as_echo_n "checking for file... " >&6; }
9189 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9190 $as_echo_n "(cached) " >&6
9194 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9197 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9198 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9199 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9200 for ac_dir
in $ac_dummy; do
9202 test -z "$ac_dir" && ac_dir
=.
9203 if test -f $ac_dir/file; then
9204 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9205 if test -n "$file_magic_test_file"; then
9206 case $deplibs_check_method in
9208 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9209 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9210 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9211 $EGREP "$file_magic_regex" > /dev
/null
; then
9216 *** Warning: the command libtool uses to detect shared libraries,
9217 *** $file_magic_cmd, produces output that libtool cannot recognize.
9218 *** The result is that libtool may fail to recognize shared libraries
9219 *** as such. This will affect the creation of libtool libraries that
9220 *** depend on shared libraries, but programs linked with such libtool
9221 *** libraries will work regardless of this problem. Nevertheless, you
9222 *** may want to report the problem to your system manager and/or to
9223 *** bug-libtool@gnu.org
9233 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9238 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9239 if test -n "$MAGIC_CMD"; then
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9241 $as_echo "$MAGIC_CMD" >&6; }
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9244 $as_echo "no" >&6; }
9257 # Use C for the default configuration in the libtool script
9261 ac_cpp
='$CPP $CPPFLAGS'
9262 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9263 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9264 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9267 # Source file extension for C test sources.
9270 # Object file extension for compiled C test sources.
9274 # Code to be used in simple compile tests
9275 lt_simple_compile_test_code
="int some_variable = 0;"
9277 # Code to be used in simple link tests
9278 lt_simple_link_test_code
='int main(){return(0);}'
9286 # If no C compiler was specified, use CC.
9289 # If no C compiler flags were specified, use CFLAGS.
9290 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9292 # Allow CC to be a program name with arguments.
9295 # Save the default compiler, since it gets overwritten when the other
9296 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9297 compiler_DEFAULT
=$CC
9299 # save warnings/boilerplate of simple test code
9300 ac_outfile
=conftest.
$ac_objext
9301 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9302 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9303 _lt_compiler_boilerplate
=`cat conftest.err`
9306 ac_outfile
=conftest.
$ac_objext
9307 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9308 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9309 _lt_linker_boilerplate
=`cat conftest.err`
9314 ## There is no encapsulation within the following macros, do not change
9315 ## the running order or otherwise move them around unless you know exactly
9316 ## what you are doing...
9317 if test -n "$compiler"; then
9319 lt_prog_compiler_no_builtin_flag
=
9321 if test "$GCC" = yes; then
9322 case $cc_basename in
9324 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9326 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9330 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9331 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9332 $as_echo_n "(cached) " >&6
9334 lt_cv_prog_compiler_rtti_exceptions
=no
9335 ac_outfile
=conftest.
$ac_objext
9336 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9337 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9338 # Insert the option either (1) after the last *FLAGS variable, or
9339 # (2) before a word containing "conftest.", or (3) at the end.
9340 # Note that $ac_compile itself does not contain backslashes and begins
9341 # with a dollar sign (not a hyphen), so the echo should work correctly.
9342 # The option is referenced via a variable to avoid confusing sed.
9343 lt_compile
=`echo "$ac_compile" | $SED \
9344 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9345 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9346 -e 's:$: $lt_compiler_flag:'`
9347 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9348 (eval "$lt_compile" 2>conftest.err
)
9350 cat conftest.err
>&5
9351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9352 if (exit $ac_status) && test -s "$ac_outfile"; then
9353 # The compiler can only warn and ignore the option if not recognized
9354 # So say no if there are warnings other than the usual output.
9355 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9356 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9357 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9358 lt_cv_prog_compiler_rtti_exceptions
=yes
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9365 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9367 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9368 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9380 lt_prog_compiler_wl
=
9381 lt_prog_compiler_pic
=
9382 lt_prog_compiler_static
=
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9385 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9387 if test "$GCC" = yes; then
9388 lt_prog_compiler_wl
='-Wl,'
9389 lt_prog_compiler_static
='-static'
9393 # All AIX code is PIC.
9394 if test "$host_cpu" = ia64
; then
9395 # AIX 5 now supports IA64 processor
9396 lt_prog_compiler_static
='-Bstatic'
9398 lt_prog_compiler_pic
='-fPIC'
9404 # see comment about AmigaOS4 .so support
9405 lt_prog_compiler_pic
='-fPIC'
9408 # FIXME: we need at least 68020 code to build shared libraries, but
9409 # adding the `-m68020' flag to GCC prevents building anything better,
9411 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9416 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9417 # PIC is the default for these OSes.
9420 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9421 # This hack is so that the source file can tell whether it is being
9422 # built for inclusion in a dll (and should export symbols for example).
9423 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9424 # (--disable-auto-import) libraries
9425 lt_prog_compiler_pic
='-DDLL_EXPORT'
9428 darwin
* | rhapsody
*)
9429 # PIC is the default on this platform
9430 # Common symbols not allowed in MH_DYLIB files
9431 lt_prog_compiler_pic
='-fno-common'
9435 # PIC is the default for Haiku.
9436 # The "-static" flag exists, but is broken.
9437 lt_prog_compiler_static
=
9441 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9442 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9443 # sets the default TLS model and affects inlining.
9449 lt_prog_compiler_pic
='-fPIC'
9455 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9456 # Instead, we relocate shared libraries at runtime.
9460 # Just because we use GCC doesn't mean we suddenly get shared libraries
9461 # on systems that don't support them.
9462 lt_prog_compiler_can_build_shared
=no
9467 # QNX uses GNU C++, but need to define -shared option too, otherwise
9469 lt_prog_compiler_pic
='-fPIC -shared'
9473 if test -d /usr
/nec
; then
9474 lt_prog_compiler_pic
=-Kconform_pic
9479 lt_prog_compiler_pic
='-fPIC'
9483 case $cc_basename in
9484 nvcc
*) # Cuda Compiler Driver 2.2
9485 lt_prog_compiler_wl
='-Xlinker '
9486 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9490 # PORTME Check for flag to pass linker flags through the system compiler.
9493 lt_prog_compiler_wl
='-Wl,'
9494 if test "$host_cpu" = ia64
; then
9495 # AIX 5 now supports IA64 processor
9496 lt_prog_compiler_static
='-Bstatic'
9498 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9502 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9503 # This hack is so that the source file can tell whether it is being
9504 # built for inclusion in a dll (and should export symbols for example).
9505 lt_prog_compiler_pic
='-DDLL_EXPORT'
9508 hpux9
* | hpux10
* | hpux11
*)
9509 lt_prog_compiler_wl
='-Wl,'
9510 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9517 lt_prog_compiler_pic
='+Z'
9520 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9521 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9524 irix5
* | irix6
* | nonstopux
*)
9525 lt_prog_compiler_wl
='-Wl,'
9526 # PIC (with -KPIC) is the default.
9527 lt_prog_compiler_static
='-non_shared'
9530 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9531 case $cc_basename in
9532 # old Intel for x86_64 which still supported -KPIC.
9534 lt_prog_compiler_wl
='-Wl,'
9535 lt_prog_compiler_pic
='-KPIC'
9536 lt_prog_compiler_static
='-static'
9538 # icc used to be incompatible with GCC.
9539 # ICC 10 doesn't accept -KPIC any more.
9541 lt_prog_compiler_wl
='-Wl,'
9542 lt_prog_compiler_pic
='-fPIC'
9543 lt_prog_compiler_static
='-static'
9545 # Lahey Fortran 8.1.
9547 lt_prog_compiler_wl
='-Wl,'
9548 lt_prog_compiler_pic
='--shared'
9549 lt_prog_compiler_static
='--static'
9551 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9552 # Portland Group compilers (*not* the Pentium gcc compiler,
9553 # which looks to be a dead project)
9554 lt_prog_compiler_wl
='-Wl,'
9555 lt_prog_compiler_pic
='-fpic'
9556 lt_prog_compiler_static
='-Bstatic'
9559 lt_prog_compiler_wl
='-Wl,'
9560 # All Alpha code is PIC.
9561 lt_prog_compiler_static
='-non_shared'
9563 xl
* | bgxl
* | bgf
* | mpixl
*)
9564 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9565 lt_prog_compiler_wl
='-Wl,'
9566 lt_prog_compiler_pic
='-qpic'
9567 lt_prog_compiler_static
='-qstaticlink'
9570 case `$CC -V 2>&1 | sed 5q` in
9571 *Sun\ F
* |
*Sun
*Fortran
*)
9572 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9573 lt_prog_compiler_pic
='-KPIC'
9574 lt_prog_compiler_static
='-Bstatic'
9575 lt_prog_compiler_wl
=''
9579 lt_prog_compiler_pic
='-KPIC'
9580 lt_prog_compiler_static
='-Bstatic'
9581 lt_prog_compiler_wl
='-Wl,'
9589 lt_prog_compiler_pic
='-KPIC'
9590 lt_prog_compiler_static
='-Bstatic'
9594 # QNX uses GNU C++, but need to define -shared option too, otherwise
9596 lt_prog_compiler_pic
='-fPIC -shared'
9599 osf3
* | osf4
* | osf5
*)
9600 lt_prog_compiler_wl
='-Wl,'
9601 # All OSF/1 code is PIC.
9602 lt_prog_compiler_static
='-non_shared'
9606 lt_prog_compiler_static
='-non_shared'
9610 lt_prog_compiler_pic
='-KPIC'
9611 lt_prog_compiler_static
='-Bstatic'
9612 case $cc_basename in
9614 lt_prog_compiler_wl
='-Qoption ld ';;
9616 lt_prog_compiler_wl
='-Wl,';;
9621 lt_prog_compiler_wl
='-Qoption ld '
9622 lt_prog_compiler_pic
='-PIC'
9623 lt_prog_compiler_static
='-Bstatic'
9626 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9627 lt_prog_compiler_wl
='-Wl,'
9628 lt_prog_compiler_pic
='-KPIC'
9629 lt_prog_compiler_static
='-Bstatic'
9633 if test -d /usr
/nec
;then
9634 lt_prog_compiler_pic
='-Kconform_pic'
9635 lt_prog_compiler_static
='-Bstatic'
9639 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9640 lt_prog_compiler_wl
='-Wl,'
9641 lt_prog_compiler_pic
='-KPIC'
9642 lt_prog_compiler_static
='-Bstatic'
9646 lt_prog_compiler_wl
='-Wl,'
9647 lt_prog_compiler_can_build_shared
=no
9651 lt_prog_compiler_pic
='-pic'
9652 lt_prog_compiler_static
='-Bstatic'
9656 lt_prog_compiler_can_build_shared
=no
9662 # For platforms which do not support PIC, -DPIC is meaningless:
9664 lt_prog_compiler_pic
=
9667 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9671 $as_echo "$lt_prog_compiler_pic" >&6; }
9679 # Check to make sure the PIC flag actually works.
9681 if test -n "$lt_prog_compiler_pic"; then
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9683 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9684 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9685 $as_echo_n "(cached) " >&6
9687 lt_cv_prog_compiler_pic_works
=no
9688 ac_outfile
=conftest.
$ac_objext
9689 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9690 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9691 # Insert the option either (1) after the last *FLAGS variable, or
9692 # (2) before a word containing "conftest.", or (3) at the end.
9693 # Note that $ac_compile itself does not contain backslashes and begins
9694 # with a dollar sign (not a hyphen), so the echo should work correctly.
9695 # The option is referenced via a variable to avoid confusing sed.
9696 lt_compile
=`echo "$ac_compile" | $SED \
9697 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9698 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9699 -e 's:$: $lt_compiler_flag:'`
9700 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9701 (eval "$lt_compile" 2>conftest.err
)
9703 cat conftest.err
>&5
9704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9705 if (exit $ac_status) && test -s "$ac_outfile"; then
9706 # The compiler can only warn and ignore the option if not recognized
9707 # So say no if there are warnings other than the usual output.
9708 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9709 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9710 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9711 lt_cv_prog_compiler_pic_works
=yes
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9718 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9720 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9721 case $lt_prog_compiler_pic in
9723 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9726 lt_prog_compiler_pic
=
9727 lt_prog_compiler_can_build_shared
=no
9738 # Check to make sure the static flag actually works.
9740 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9742 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9743 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9744 $as_echo_n "(cached) " >&6
9746 lt_cv_prog_compiler_static_works
=no
9747 save_LDFLAGS
="$LDFLAGS"
9748 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9749 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9750 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9751 # The linker can only warn and ignore the option if not recognized
9752 # So say no if there are warnings
9753 if test -s conftest.err
; then
9754 # Append any errors to the config.log.
9755 cat conftest.err
1>&5
9756 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9757 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9758 if diff conftest.exp conftest.er2
>/dev
/null
; then
9759 lt_cv_prog_compiler_static_works
=yes
9762 lt_cv_prog_compiler_static_works
=yes
9766 LDFLAGS
="$save_LDFLAGS"
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9770 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9772 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9775 lt_prog_compiler_static
=
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9785 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9786 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9787 $as_echo_n "(cached) " >&6
9789 lt_cv_prog_compiler_c_o
=no
9790 $RM -r conftest
2>/dev
/null
9794 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9796 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9797 # Insert the option either (1) after the last *FLAGS variable, or
9798 # (2) before a word containing "conftest.", or (3) at the end.
9799 # Note that $ac_compile itself does not contain backslashes and begins
9800 # with a dollar sign (not a hyphen), so the echo should work correctly.
9801 lt_compile
=`echo "$ac_compile" | $SED \
9802 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9803 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9804 -e 's:$: $lt_compiler_flag:'`
9805 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9806 (eval "$lt_compile" 2>out
/conftest.err
)
9808 cat out
/conftest.err
>&5
9809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9810 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9812 # The compiler can only warn and ignore the option if not recognized
9813 # So say no if there are warnings
9814 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9815 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9816 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9817 lt_cv_prog_compiler_c_o
=yes
9822 # SGI C++ compiler will create directory out/ii_files/ for
9823 # template instantiation
9824 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9825 $RM out
/* && rmdir out
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9832 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9840 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9841 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9842 $as_echo_n "(cached) " >&6
9844 lt_cv_prog_compiler_c_o
=no
9845 $RM -r conftest
2>/dev
/null
9849 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9851 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9852 # Insert the option either (1) after the last *FLAGS variable, or
9853 # (2) before a word containing "conftest.", or (3) at the end.
9854 # Note that $ac_compile itself does not contain backslashes and begins
9855 # with a dollar sign (not a hyphen), so the echo should work correctly.
9856 lt_compile
=`echo "$ac_compile" | $SED \
9857 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9858 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9859 -e 's:$: $lt_compiler_flag:'`
9860 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9861 (eval "$lt_compile" 2>out
/conftest.err
)
9863 cat out
/conftest.err
>&5
9864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9865 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9867 # The compiler can only warn and ignore the option if not recognized
9868 # So say no if there are warnings
9869 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9870 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9871 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9872 lt_cv_prog_compiler_c_o
=yes
9877 # SGI C++ compiler will create directory out/ii_files/ for
9878 # template instantiation
9879 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9880 $RM out
/* && rmdir out
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9887 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9892 hard_links
="nottested"
9893 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9894 # do not overwrite the value of need_locks provided by the user
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9896 $as_echo_n "checking if we can lock with hard links... " >&6; }
9899 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9901 ln conftest.a conftest.b
2>&5 || hard_links
=no
9902 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9904 $as_echo "$hard_links" >&6; }
9905 if test "$hard_links" = no
; then
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9907 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9920 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9923 allow_undefined_flag
=
9924 always_export_symbols
=no
9926 archive_expsym_cmds
=
9927 compiler_needs_object
=no
9928 enable_shared_with_static_runtimes
=no
9929 export_dynamic_flag_spec
=
9930 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9931 hardcode_automatic
=no
9933 hardcode_direct_absolute
=no
9934 hardcode_libdir_flag_spec
=
9935 hardcode_libdir_flag_spec_ld
=
9936 hardcode_libdir_separator
=
9938 hardcode_shlibpath_var
=unsupported
9940 link_all_deplibs
=unknown
9943 old_archive_from_new_cmds
=
9944 old_archive_from_expsyms_cmds
=
9945 thread_safe_flag_spec
=
9946 whole_archive_flag_spec
=
9947 # include_expsyms should be a list of space-separated symbols to be *always*
9948 # included in the symbol list
9950 # exclude_expsyms can be an extended regexp of symbols to exclude
9951 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9952 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9953 # as well as any symbol that contains `d'.
9954 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9955 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9956 # platforms (ab)use it in PIC code, but their linkers get confused if
9957 # the symbol is explicitly referenced. Since portable code cannot
9958 # rely on this symbol name, it's probably fine to never include it in
9959 # preloaded symbol tables.
9960 # Exclude shared library initialization/finalization symbols.
9961 extract_expsyms_cmds
=
9964 cygwin
* | mingw
* | pw32
* | cegcc
*)
9965 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9966 # When not using gcc, we currently assume that we are using
9967 # Microsoft Visual C++.
9968 if test "$GCC" != yes; then
9973 # we just hope/assume this is gcc and not c89 (= MSVC++)
9983 # On some targets, GNU ld is compatible enough with the native linker
9984 # that we're better off using the native interface for both.
9985 lt_use_gnu_ld_interface
=no
9986 if test "$with_gnu_ld" = yes; then
9989 # The AIX port of GNU ld has always aspired to compatibility
9990 # with the native linker. However, as the warning in the GNU ld
9991 # block says, versions before 2.19.5* couldn't really create working
9992 # shared libraries, regardless of the interface used.
9993 case `$LD -v 2>&1` in
9994 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9995 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9996 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9998 lt_use_gnu_ld_interface
=yes
10003 lt_use_gnu_ld_interface
=yes
10008 if test "$lt_use_gnu_ld_interface" = yes; then
10009 # If archive_cmds runs LD, not CC, wlarc should be empty
10012 # Set some defaults for GNU ld with shared library support. These
10013 # are reset later if shared libraries are not supported. Putting them
10014 # here allows them to be overridden if necessary.
10015 runpath_var
=LD_RUN_PATH
10016 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10017 export_dynamic_flag_spec
='${wl}--export-dynamic'
10018 # ancient GNU ld didn't support --whole-archive et. al.
10019 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10020 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10022 whole_archive_flag_spec
=
10024 supports_anon_versioning
=no
10025 case `$LD -v 2>&1` in
10026 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10027 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10028 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10029 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10030 *\
2.11.
*) ;; # other 2.11 versions
10031 *) supports_anon_versioning
=yes ;;
10034 # See if GNU ld supports shared libraries.
10037 # On AIX/PPC, the GNU linker is very broken
10038 if test "$host_cpu" != ia64
; then
10042 *** Warning: the GNU linker, at least up to release 2.19, is reported
10043 *** to be unable to reliably create shared libraries on AIX.
10044 *** Therefore, libtool is disabling shared libraries support. If you
10045 *** really care for shared libraries, you may want to install binutils
10046 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10047 *** You will then need to restart the configuration process.
10056 # see comment about AmigaOS4 .so support
10057 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10058 archive_expsym_cmds
=''
10061 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)'
10062 hardcode_libdir_flag_spec
='-L$libdir'
10063 hardcode_minus_L
=yes
10069 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10070 allow_undefined_flag
=unsupported
10071 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10072 # support --undefined. This deserves some investigation. FIXME
10073 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10079 cygwin
* | mingw
* | pw32
* | cegcc
*)
10080 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10081 # as there is no search path for DLLs.
10082 hardcode_libdir_flag_spec
='-L$libdir'
10083 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10084 allow_undefined_flag
=unsupported
10085 always_export_symbols
=no
10086 enable_shared_with_static_runtimes
=yes
10087 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10089 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10090 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10091 # If the export-symbols file already is a .def file (1st line
10092 # is EXPORTS), use it as is; otherwise, prepend...
10093 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10094 cp $export_symbols $output_objdir/$soname.def;
10096 echo EXPORTS > $output_objdir/$soname.def;
10097 cat $export_symbols >> $output_objdir/$soname.def;
10099 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10106 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10107 link_all_deplibs
=yes
10112 hardcode_shlibpath_var
=no
10113 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10114 export_dynamic_flag_spec
='${wl}-E'
10115 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10116 # Instead, shared libraries are loaded at an image base (0x10000000 by
10117 # default) and relocated if they conflict, which is a slow very memory
10118 # consuming and fragmenting process. To avoid this, we pick a random,
10119 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10120 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10121 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10122 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'
10125 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10127 if test "$host_os" = linux-dietlibc
; then
10128 case $cc_basename in
10129 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10132 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10133 && test "$tmp_diet" = no
10135 tmp_addflag
=' $pic_flag'
10136 tmp_sharedflag
='-shared'
10137 case $cc_basename,$host_cpu in
10138 pgcc
*) # Portland Group C compiler
10139 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'
10140 tmp_addflag
=' $pic_flag'
10142 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10143 # Portland Group f77 and f90 compilers
10144 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'
10145 tmp_addflag
=' $pic_flag -Mnomain' ;;
10146 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10147 tmp_addflag
=' -i_dynamic' ;;
10148 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10149 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10150 ifc
* | ifort
*) # Intel Fortran compiler
10151 tmp_addflag
=' -nofor_main' ;;
10152 lf95
*) # Lahey Fortran 8.1
10153 whole_archive_flag_spec
=
10154 tmp_sharedflag
='--shared' ;;
10155 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10156 tmp_sharedflag
='-qmkshrobj'
10158 nvcc
*) # Cuda Compiler Driver 2.2
10159 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'
10160 compiler_needs_object
=yes
10163 case `$CC -V 2>&1 | sed 5q` in
10164 *Sun\ C
*) # Sun C 5.9
10165 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'
10166 compiler_needs_object
=yes
10167 tmp_sharedflag
='-G' ;;
10168 *Sun\ F
*) # Sun Fortran 8.3
10169 tmp_sharedflag
='-G' ;;
10171 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10173 if test "x$supports_anon_versioning" = xyes
; then
10174 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10175 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10176 echo "local: *; };" >> $output_objdir/$libname.ver~
10177 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10180 case $cc_basename in
10181 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10182 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10183 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10184 hardcode_libdir_flag_spec
=
10185 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10186 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10187 if test "x$supports_anon_versioning" = xyes
; then
10188 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10189 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10190 echo "local: *; };" >> $output_objdir/$libname.ver~
10191 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10201 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10202 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
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'
10211 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10215 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10216 *** create shared libraries on Solaris systems. Therefore, libtool
10217 *** is disabling shared libraries support. We urge you to upgrade GNU
10218 *** binutils to release 2.9.1 or newer. Another option is to modify
10219 *** your PATH or compiler configuration so that the native linker is
10220 *** used, and then restart.
10223 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10224 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10225 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10231 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10232 case `$LD -v 2>&1` in
10233 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10237 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10238 *** reliably create shared libraries on SCO systems. Therefore, libtool
10239 *** is disabling shared libraries support. We urge you to upgrade GNU
10240 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10241 *** your PATH or compiler configuration so that the native linker is
10242 *** used, and then restart.
10247 # For security reasons, it is highly recommended that you always
10248 # use absolute paths for naming shared libraries, and exclude the
10249 # DT_RUNPATH tag from executables and libraries. But doing so
10250 # requires that you compile everything twice, which is a pain.
10251 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10252 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10253 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10254 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10263 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10265 hardcode_direct
=yes
10266 hardcode_shlibpath_var
=no
10270 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10271 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10272 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10279 if test "$ld_shlibs" = no
; then
10281 hardcode_libdir_flag_spec
=
10282 export_dynamic_flag_spec
=
10283 whole_archive_flag_spec
=
10286 # PORTME fill in a description of your system's linker (not GNU ld)
10289 allow_undefined_flag
=unsupported
10290 always_export_symbols
=yes
10291 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'
10292 # Note: this linker hardcodes the directories in LIBPATH if there
10293 # are no directories specified by -L.
10294 hardcode_minus_L
=yes
10295 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10296 # Neither direct hardcoding nor static linking is supported with a
10298 hardcode_direct
=unsupported
10303 if test "$host_cpu" = ia64
; then
10304 # On IA64, the linker does run time linking by default, so we don't
10305 # have to do anything special.
10306 aix_use_runtimelinking
=no
10307 exp_sym_flag
='-Bexport'
10310 # If we're using GNU nm, then we don't want the "-C" option.
10311 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10312 # Also, AIX nm treats weak defined symbols like other global
10313 # defined symbols, whereas GNU nm marks them as "W".
10314 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10315 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'
10317 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'
10319 aix_use_runtimelinking
=no
10321 # Test if we are trying to use run time linking or normal
10322 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10323 # need to do runtime linking.
10324 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10325 for ld_flag
in $LDFLAGS; do
10326 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10327 aix_use_runtimelinking
=yes
10334 exp_sym_flag
='-bexport'
10335 no_entry_flag
='-bnoentry'
10338 # When large executables or shared objects are built, AIX ld can
10339 # have problems creating the table of contents. If linking a library
10340 # or program results in "error TOC overflow" add -mminimal-toc to
10341 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10342 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10345 hardcode_direct
=yes
10346 hardcode_direct_absolute
=yes
10347 hardcode_libdir_separator
=':'
10348 link_all_deplibs
=yes
10349 file_list_spec
='${wl}-f,'
10351 if test "$GCC" = yes; then
10352 case $host_os in aix4.
[012]|aix4.
[012].
*)
10353 # We only want to do this on AIX 4.2 and lower, the check
10354 # below for broken collect2 doesn't work under 4.3+
10355 collect2name
=`${CC} -print-prog-name=collect2`
10356 if test -f "$collect2name" &&
10357 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10359 # We have reworked collect2
10362 # We have old collect2
10363 hardcode_direct
=unsupported
10364 # It fails to find uninstalled libraries when the uninstalled
10365 # path is not listed in the libpath. Setting hardcode_minus_L
10366 # to unsupported forces relinking
10367 hardcode_minus_L
=yes
10368 hardcode_libdir_flag_spec
='-L$libdir'
10369 hardcode_libdir_separator
=
10373 shared_flag
='-shared'
10374 if test "$aix_use_runtimelinking" = yes; then
10375 shared_flag
="$shared_flag "'${wl}-G'
10379 if test "$host_cpu" = ia64
; then
10380 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10381 # chokes on -Wl,-G. The following line is correct:
10384 if test "$aix_use_runtimelinking" = yes; then
10385 shared_flag
='${wl}-G'
10387 shared_flag
='${wl}-bM:SRE'
10392 export_dynamic_flag_spec
='${wl}-bexpall'
10393 # It seems that -bexpall does not export symbols beginning with
10394 # underscore (_), so it is better to generate a list of symbols to export.
10395 always_export_symbols
=yes
10396 if test "$aix_use_runtimelinking" = yes; then
10397 # Warning - without using the other runtime loading flags (-brtl),
10398 # -berok will link without error, but may produce a broken library.
10399 allow_undefined_flag
='-berok'
10400 # Determine the default libpath from the value encoded in an
10401 # empty executable.
10402 if test x
$gcc_no_link = xyes
; then
10403 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10406 /* end confdefs.h. */
10416 if ac_fn_c_try_link
"$LINENO"; then :
10418 lt_aix_libpath_sed
='
10419 /Import File Strings/,/^$/ {
10425 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10426 # Check for a 64-bit object if we didn't find anything.
10427 if test -z "$aix_libpath"; then
10428 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10431 rm -f core conftest.err conftest.
$ac_objext \
10432 conftest
$ac_exeext conftest.
$ac_ext
10433 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10435 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10436 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"
10438 if test "$host_cpu" = ia64
; then
10439 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10440 allow_undefined_flag
="-z nodefs"
10441 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"
10443 # Determine the default libpath from the value encoded in an
10444 # empty executable.
10445 if test x
$gcc_no_link = xyes
; then
10446 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10449 /* end confdefs.h. */
10459 if ac_fn_c_try_link
"$LINENO"; then :
10461 lt_aix_libpath_sed
='
10462 /Import File Strings/,/^$/ {
10468 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10469 # Check for a 64-bit object if we didn't find anything.
10470 if test -z "$aix_libpath"; then
10471 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10474 rm -f core conftest.err conftest.
$ac_objext \
10475 conftest
$ac_exeext conftest.
$ac_ext
10476 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10478 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10479 # Warning - without using the other run time loading flags,
10480 # -berok will link without error, but may produce a broken library.
10481 no_undefined_flag
=' ${wl}-bernotok'
10482 allow_undefined_flag
=' ${wl}-berok'
10483 if test "$with_gnu_ld" = yes; then
10484 # We only use this code for GNU lds that support --whole-archive.
10485 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10487 # Exported symbols can be pulled into shared objects from archives
10488 whole_archive_flag_spec
='$convenience'
10490 archive_cmds_need_lc
=yes
10491 # This is similar to how AIX traditionally builds its shared libraries.
10492 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'
10500 # see comment about AmigaOS4 .so support
10501 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10502 archive_expsym_cmds
=''
10505 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)'
10506 hardcode_libdir_flag_spec
='-L$libdir'
10507 hardcode_minus_L
=yes
10513 export_dynamic_flag_spec
=-rdynamic
10516 cygwin
* | mingw
* | pw32
* | cegcc
*)
10517 # When not using gcc, we currently assume that we are using
10518 # Microsoft Visual C++.
10519 # hardcode_libdir_flag_spec is actually meaningless, as there is
10520 # no search path for DLLs.
10521 hardcode_libdir_flag_spec
=' '
10522 allow_undefined_flag
=unsupported
10523 # Tell ltmain to make .lib files, not .a files.
10525 # Tell ltmain to make .dll files, not .so files.
10527 # FIXME: Setting linknames here is a bad hack.
10528 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10529 # The linker will automatically build a .lib file if we build a DLL.
10530 old_archive_from_new_cmds
='true'
10531 # FIXME: Should let the user specify the lib program.
10532 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10533 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10534 enable_shared_with_static_runtimes
=yes
10537 darwin
* | rhapsody
*)
10540 archive_cmds_need_lc
=no
10542 hardcode_automatic
=yes
10543 hardcode_shlibpath_var
=unsupported
10544 if test "$lt_cv_ld_force_load" = "yes"; then
10545 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\"`'
10547 whole_archive_flag_spec
=''
10549 link_all_deplibs
=yes
10550 allow_undefined_flag
="$_lt_dar_allow_undefined"
10551 case $cc_basename in
10552 ifort
*) _lt_dar_can_shared
=yes ;;
10553 *) _lt_dar_can_shared
=$GCC ;;
10555 if test "$_lt_dar_can_shared" = "yes"; then
10556 output_verbose_link_cmd
=func_echo_all
10557 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10558 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10559 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}"
10560 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}"
10569 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10570 hardcode_libdir_flag_spec
='-L$libdir'
10571 hardcode_shlibpath_var
=no
10574 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10575 # support. Future versions do this automatically, but an explicit c++rt0.o
10576 # does not break anything, and helps significantly (at the cost of a little
10579 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10580 hardcode_libdir_flag_spec
='-R$libdir'
10581 hardcode_direct
=yes
10582 hardcode_shlibpath_var
=no
10585 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10587 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10588 hardcode_direct
=yes
10589 hardcode_minus_L
=yes
10590 hardcode_shlibpath_var
=no
10593 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10594 freebsd
* | dragonfly
*)
10595 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10596 hardcode_libdir_flag_spec
='-R$libdir'
10597 hardcode_direct
=yes
10598 hardcode_shlibpath_var
=no
10602 if test "$GCC" = yes; then
10603 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'
10605 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'
10607 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10608 hardcode_libdir_separator
=:
10609 hardcode_direct
=yes
10611 # hardcode_minus_L: Not really in the search PATH,
10612 # but as the default location of the library.
10613 hardcode_minus_L
=yes
10614 export_dynamic_flag_spec
='${wl}-E'
10618 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10619 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10621 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10623 if test "$with_gnu_ld" = no
; then
10624 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10625 hardcode_libdir_flag_spec_ld
='+b $libdir'
10626 hardcode_libdir_separator
=:
10627 hardcode_direct
=yes
10628 hardcode_direct_absolute
=yes
10629 export_dynamic_flag_spec
='${wl}-E'
10630 # hardcode_minus_L: Not really in the search PATH,
10631 # but as the default location of the library.
10632 hardcode_minus_L
=yes
10637 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10640 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10643 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10646 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10652 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10655 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10659 # Older versions of the 11.00 compiler do not understand -b yet
10660 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10662 $as_echo_n "checking if $CC understands -b... " >&6; }
10663 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10664 $as_echo_n "(cached) " >&6
10666 lt_cv_prog_compiler__b
=no
10667 save_LDFLAGS
="$LDFLAGS"
10668 LDFLAGS
="$LDFLAGS -b"
10669 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10670 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10671 # The linker can only warn and ignore the option if not recognized
10672 # So say no if there are warnings
10673 if test -s conftest.err
; then
10674 # Append any errors to the config.log.
10675 cat conftest.err
1>&5
10676 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10677 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10678 if diff conftest.exp conftest.er2
>/dev
/null
; then
10679 lt_cv_prog_compiler__b
=yes
10682 lt_cv_prog_compiler__b
=yes
10686 LDFLAGS
="$save_LDFLAGS"
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10690 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10692 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10693 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10695 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10701 if test "$with_gnu_ld" = no
; then
10702 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10703 hardcode_libdir_separator
=:
10708 hardcode_shlibpath_var
=no
10711 hardcode_direct
=yes
10712 hardcode_direct_absolute
=yes
10713 export_dynamic_flag_spec
='${wl}-E'
10715 # hardcode_minus_L: Not really in the search PATH,
10716 # but as the default location of the library.
10717 hardcode_minus_L
=yes
10723 irix5
* | irix6
* | nonstopux
*)
10724 if test "$GCC" = yes; then
10725 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'
10726 # Try to use the -exported_symbol ld option, if it does not
10727 # work, assume that -exports_file does not work either and
10728 # implicitly export all symbols.
10729 save_LDFLAGS
="$LDFLAGS"
10730 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10731 if test x
$gcc_no_link = xyes
; then
10732 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10735 /* end confdefs.h. */
10738 if ac_fn_c_try_link
"$LINENO"; then :
10739 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'
10742 rm -f core conftest.err conftest.
$ac_objext \
10743 conftest
$ac_exeext conftest.
$ac_ext
10744 LDFLAGS
="$save_LDFLAGS"
10746 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'
10747 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'
10749 archive_cmds_need_lc
='no'
10750 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10751 hardcode_libdir_separator
=:
10753 link_all_deplibs
=yes
10757 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10758 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10760 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10762 hardcode_libdir_flag_spec
='-R$libdir'
10763 hardcode_direct
=yes
10764 hardcode_shlibpath_var
=no
10768 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10769 hardcode_direct
=yes
10770 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10771 hardcode_libdir_separator
=:
10772 hardcode_shlibpath_var
=no
10779 if test -f /usr
/libexec
/ld.so
; then
10780 hardcode_direct
=yes
10781 hardcode_shlibpath_var
=no
10782 hardcode_direct_absolute
=yes
10783 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10784 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10785 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10786 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10787 export_dynamic_flag_spec
='${wl}-E'
10790 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10791 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10792 hardcode_libdir_flag_spec
='-R$libdir'
10795 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10796 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10806 hardcode_libdir_flag_spec
='-L$libdir'
10807 hardcode_minus_L
=yes
10808 allow_undefined_flag
=unsupported
10809 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'
10810 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10814 if test "$GCC" = yes; then
10815 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10816 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'
10818 allow_undefined_flag
=' -expect_unresolved \*'
10819 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'
10821 archive_cmds_need_lc
='no'
10822 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10823 hardcode_libdir_separator
=:
10826 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10827 if test "$GCC" = yes; then
10828 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10829 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'
10830 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10832 allow_undefined_flag
=' -expect_unresolved \*'
10833 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'
10834 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~
10835 $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'
10837 # Both c and cxx compiler support -rpath directly
10838 hardcode_libdir_flag_spec
='-rpath $libdir'
10840 archive_cmds_need_lc
='no'
10841 hardcode_libdir_separator
=:
10845 no_undefined_flag
=' -z defs'
10846 if test "$GCC" = yes; then
10848 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10849 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10850 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10852 case `$CC -V 2>&1` in
10855 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10856 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10857 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10861 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10862 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10863 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10867 hardcode_libdir_flag_spec
='-R$libdir'
10868 hardcode_shlibpath_var
=no
10870 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10872 # The compiler driver will combine and reorder linker options,
10873 # but understands `-z linker_flag'. GCC discards it without `$wl',
10874 # but is careful enough not to reorder.
10875 # Supported since Solaris 2.6 (maybe 2.5.1?)
10876 if test "$GCC" = yes; then
10877 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10879 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10883 link_all_deplibs
=yes
10887 if test "x$host_vendor" = xsequent
; then
10888 # Use $CC to link under sequent, because it throws in some extra .o
10889 # files that make .init and .fini sections work.
10890 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10892 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10894 hardcode_libdir_flag_spec
='-L$libdir'
10895 hardcode_direct
=yes
10896 hardcode_minus_L
=yes
10897 hardcode_shlibpath_var
=no
10901 case $host_vendor in
10903 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10904 hardcode_direct
=yes # is this really true???
10907 ## LD is ld it makes a PLAMLIB
10908 ## CC just makes a GrossModule.
10909 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10910 reload_cmds
='$CC -r -o $output$reload_objs'
10914 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10915 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10918 runpath_var
='LD_RUN_PATH'
10919 hardcode_shlibpath_var
=no
10923 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10924 hardcode_shlibpath_var
=no
10925 export_dynamic_flag_spec
='-Bexport'
10929 if test -d /usr
/nec
; then
10930 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10931 hardcode_shlibpath_var
=no
10932 runpath_var
=LD_RUN_PATH
10933 hardcode_runpath_var
=yes
10938 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10939 no_undefined_flag
='${wl}-z,text'
10940 archive_cmds_need_lc
=no
10941 hardcode_shlibpath_var
=no
10942 runpath_var
='LD_RUN_PATH'
10944 if test "$GCC" = yes; then
10945 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10946 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10948 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10949 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10953 sysv5
* | sco3.2v5
* | sco5v6
*)
10954 # Note: We can NOT use -z defs as we might desire, because we do not
10955 # link with -lc, and that would cause any symbols used from libc to
10956 # always be unresolved, which means just about no library would
10957 # ever link correctly. If we're not using GNU ld we use -z text
10958 # though, which does catch some bad symbols but isn't as heavy-handed
10960 no_undefined_flag
='${wl}-z,text'
10961 allow_undefined_flag
='${wl}-z,nodefs'
10962 archive_cmds_need_lc
=no
10963 hardcode_shlibpath_var
=no
10964 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10965 hardcode_libdir_separator
=':'
10966 link_all_deplibs
=yes
10967 export_dynamic_flag_spec
='${wl}-Bexport'
10968 runpath_var
='LD_RUN_PATH'
10970 if test "$GCC" = yes; then
10971 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10972 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10974 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10975 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10980 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10981 hardcode_libdir_flag_spec
='-L$libdir'
10982 hardcode_shlibpath_var
=no
10990 if test x
$host_vendor = xsni
; then
10992 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10993 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11000 $as_echo "$ld_shlibs" >&6; }
11001 test "$ld_shlibs" = no
&& can_build_shared
=no
11003 with_gnu_ld
=$with_gnu_ld
11020 # Do we need to explicitly link libc?
11022 case "x$archive_cmds_need_lc" in
11024 # Assume -lc should be added
11025 archive_cmds_need_lc
=yes
11027 if test "$enable_shared" = yes && test "$GCC" = yes; then
11028 case $archive_cmds in
11030 # FIXME: we may have to deal with multi-command sequences.
11033 # Test whether the compiler implicitly links with -lc since on some
11034 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11035 # to ld, don't add -lc before -lgcc.
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11037 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11038 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
11039 $as_echo_n "(cached) " >&6
11042 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11044 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11045 (eval $ac_compile) 2>&5
11047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11048 test $ac_status = 0; } 2>conftest.err
; then
11051 libobjs
=conftest.
$ac_objext
11053 wl
=$lt_prog_compiler_wl
11054 pic_flag
=$lt_prog_compiler_pic
11060 lt_save_allow_undefined_flag
=$allow_undefined_flag
11061 allow_undefined_flag
=
11062 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11063 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11066 test $ac_status = 0; }
11068 lt_cv_archive_cmds_need_lc
=no
11070 lt_cv_archive_cmds_need_lc
=yes
11072 allow_undefined_flag
=$lt_save_allow_undefined_flag
11074 cat conftest.err
1>&5
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11080 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11081 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11245 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11247 if test "$GCC" = yes; then
11249 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11250 *) lt_awk_arg
="/^libraries:/" ;;
11253 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11254 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11256 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11257 case $lt_search_path_spec in
11259 # if the path contains ";" then we assume it to be the separator
11260 # otherwise default to the standard path separator (i.e. ":") - it is
11261 # assumed that no part of a normal pathname contains ";" but that should
11262 # okay in the real world where ";" in dirpaths is itself problematic.
11263 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11266 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11269 # Ok, now we have the path, separated by spaces, we can step through it
11270 # and add multilib dir if necessary.
11271 lt_tmp_lt_search_path_spec
=
11272 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11273 for lt_sys_path
in $lt_search_path_spec; do
11274 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11275 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11277 test -d "$lt_sys_path" && \
11278 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11281 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11282 BEGIN {RS=" "; FS="/|\n";} {
11285 for (lt_i = NF; lt_i > 0; lt_i--) {
11286 if ($lt_i != "" && $lt_i != ".") {
11287 if ($lt_i == "..") {
11290 if (lt_count == 0) {
11291 lt_foo="/" $lt_i lt_foo;
11298 if (lt_foo != "") { lt_freq[lt_foo]++; }
11299 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11301 # AWK program above erroneously prepends '/' to C:/dos/paths
11304 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11305 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11307 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11309 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11311 library_names_spec
=
11312 libname_spec
='lib$name'
11316 postuninstall_cmds
=
11320 shlibpath_overrides_runpath
=unknown
11322 dynamic_linker
="$host_os ld.so"
11323 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11324 need_lib_prefix
=unknown
11325 hardcode_into_libs
=no
11327 # when you set need_version to no, make sure it does not cause -set_version
11328 # flags to be left without arguments
11329 need_version
=unknown
11334 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11335 shlibpath_var
=LIBPATH
11337 # AIX 3 has no versioning support, so we append a major version to the name.
11338 soname_spec
='${libname}${release}${shared_ext}$major'
11345 hardcode_into_libs
=yes
11346 if test "$host_cpu" = ia64
; then
11347 # AIX 5 supports IA64
11348 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11349 shlibpath_var
=LD_LIBRARY_PATH
11351 # With GCC up to 2.95.x, collect2 would create an import file
11352 # for dependence libraries. The import file would start with
11353 # the line `#! .'. This would cause the generated library to
11354 # depend on `.', always an invalid library. This was fixed in
11355 # development snapshots of GCC prior to 3.0.
11357 aix4 | aix4.
[01] | aix4.
[01].
*)
11358 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11360 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11363 can_build_shared
=no
11367 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11368 # soname into executable. Probably we can add versioning support to
11369 # collect2, so additional links can be useful in future.
11370 if test "$aix_use_runtimelinking" = yes; then
11371 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11372 # instead of lib<name>.a to let people know that these are not
11373 # typical AIX shared libraries.
11374 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11376 # We preserve .a as extension for shared libraries through AIX4.2
11377 # and later when we are not doing run time linking.
11378 library_names_spec
='${libname}${release}.a $libname.a'
11379 soname_spec
='${libname}${release}${shared_ext}$major'
11381 shlibpath_var
=LIBPATH
11388 # Since July 2007 AmigaOS4 officially supports .so libraries.
11389 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11390 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11393 library_names_spec
='$libname.ixlibrary $libname.a'
11394 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11395 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'
11401 library_names_spec
='${libname}${shared_ext}'
11402 dynamic_linker
="$host_os ld.so"
11403 shlibpath_var
=LIBRARY_PATH
11409 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11410 soname_spec
='${libname}${release}${shared_ext}$major'
11411 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11412 shlibpath_var
=LD_LIBRARY_PATH
11413 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11414 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11415 # the default ld.so.conf also contains /usr/contrib/lib and
11416 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11417 # libtool to hard-code these into programs
11420 cygwin
* | mingw
* | pw32
* | cegcc
*)
11421 version_type
=windows
11426 case $GCC,$host_os in
11427 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11428 library_names_spec
='$libname.dll.a'
11429 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11430 postinstall_cmds
='base_file=`basename \${file}`~
11431 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11432 dldir=$destdir/`dirname \$dlpath`~
11433 test -d \$dldir || mkdir -p \$dldir~
11434 $install_prog $dir/$dlname \$dldir/$dlname~
11435 chmod a+x \$dldir/$dlname~
11436 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11437 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11439 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11440 dlpath=$dir/\$dldll~
11442 shlibpath_overrides_runpath
=yes
11446 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11447 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11449 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11452 # MinGW DLLs use traditional 'lib' prefix
11453 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11456 # pw32 DLLs use 'pw' prefix rather than 'lib'
11457 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11463 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11466 dynamic_linker
='Win32 ld.exe'
11467 # FIXME: first we should search . and the directory the executable is in
11471 darwin
* | rhapsody
*)
11472 dynamic_linker
="$host_os dyld"
11473 version_type
=darwin
11476 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11477 soname_spec
='${libname}${release}${major}$shared_ext'
11478 shlibpath_overrides_runpath
=yes
11479 shlibpath_var
=DYLD_LIBRARY_PATH
11480 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11482 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11483 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11490 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11491 soname_spec
='${libname}${release}${shared_ext}$major'
11492 shlibpath_var
=LD_LIBRARY_PATH
11495 freebsd
* | dragonfly
*)
11496 # DragonFly does not have aout. When/if they implement a new
11497 # versioning mechanism, adjust this.
11498 if test -x /usr
/bin
/objformat
; then
11499 objformat
=`/usr/bin/objformat`
11502 freebsd
[23].
*) objformat
=aout
;;
11503 *) objformat
=elf
;;
11506 version_type
=freebsd-
$objformat
11507 case $version_type in
11509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11514 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11518 shlibpath_var
=LD_LIBRARY_PATH
11521 shlibpath_overrides_runpath
=yes
11523 freebsd3.
[01]* | freebsdelf3.
[01]*)
11524 shlibpath_overrides_runpath
=yes
11525 hardcode_into_libs
=yes
11527 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11528 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11529 shlibpath_overrides_runpath
=no
11530 hardcode_into_libs
=yes
11532 *) # from 4.6 on, and DragonFly
11533 shlibpath_overrides_runpath
=yes
11534 hardcode_into_libs
=yes
11543 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11544 soname_spec
='${libname}${release}${shared_ext}$major'
11545 shlibpath_var
=LD_LIBRARY_PATH
11546 hardcode_into_libs
=yes
11553 dynamic_linker
="$host_os runtime_loader"
11554 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11555 soname_spec
='${libname}${release}${shared_ext}$major'
11556 shlibpath_var
=LIBRARY_PATH
11557 shlibpath_overrides_runpath
=yes
11558 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11559 hardcode_into_libs
=yes
11562 hpux9
* | hpux10
* | hpux11
*)
11563 # Give a soname corresponding to the major version so that dld.sl refuses to
11564 # link against other versions.
11571 hardcode_into_libs
=yes
11572 dynamic_linker
="$host_os dld.so"
11573 shlibpath_var
=LD_LIBRARY_PATH
11574 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11575 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11576 soname_spec
='${libname}${release}${shared_ext}$major'
11577 if test "X$HPUX_IA64_MODE" = X32
; then
11578 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11580 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11582 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11586 hardcode_into_libs
=yes
11587 dynamic_linker
="$host_os dld.sl"
11588 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11589 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11590 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11591 soname_spec
='${libname}${release}${shared_ext}$major'
11592 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11593 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11597 dynamic_linker
="$host_os dld.sl"
11598 shlibpath_var
=SHLIB_PATH
11599 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11600 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11601 soname_spec
='${libname}${release}${shared_ext}$major'
11604 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11605 postinstall_cmds
='chmod 555 $lib'
11606 # or fails outright, so override atomically:
11607 install_override_mode
=555
11614 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11615 soname_spec
='${libname}${release}${shared_ext}$major'
11616 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11617 shlibpath_var
=LD_LIBRARY_PATH
11618 shlibpath_overrides_runpath
=no
11619 hardcode_into_libs
=yes
11622 irix5
* | irix6
* | nonstopux
*)
11624 nonstopux
*) version_type
=nonstopux
;;
11626 if test "$lt_cv_prog_gnu_ld" = yes; then
11634 soname_spec
='${libname}${release}${shared_ext}$major'
11635 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11637 irix5
* | nonstopux
*)
11638 libsuff
= shlibsuff
=
11641 case $LD in # libtool.m4 will add one of these switches to LD
11642 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11643 libsuff
= shlibsuff
= libmagic
=32-bit;;
11644 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11645 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11646 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11647 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11648 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11652 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11653 shlibpath_overrides_runpath
=no
11654 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11655 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11656 hardcode_into_libs
=yes
11659 # No shared lib support for Linux oldld, aout, or coff.
11660 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11664 # This must be Linux ELF.
11665 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11669 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11670 soname_spec
='${libname}${release}${shared_ext}$major'
11671 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11672 shlibpath_var
=LD_LIBRARY_PATH
11673 shlibpath_overrides_runpath
=no
11675 # Some binutils ld are patched to set DT_RUNPATH
11676 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11677 $as_echo_n "(cached) " >&6
11679 lt_cv_shlibpath_overrides_runpath
=no
11680 save_LDFLAGS
=$LDFLAGS
11681 save_libdir
=$libdir
11682 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11683 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11684 if test x
$gcc_no_link = xyes
; then
11685 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11688 /* end confdefs.h. */
11698 if ac_fn_c_try_link
"$LINENO"; then :
11699 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11700 lt_cv_shlibpath_overrides_runpath
=yes
11703 rm -f core conftest.err conftest.
$ac_objext \
11704 conftest
$ac_exeext conftest.
$ac_ext
11705 LDFLAGS
=$save_LDFLAGS
11706 libdir
=$save_libdir
11710 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11712 # This implies no fast_install, which is unacceptable.
11713 # Some rework will be needed to allow for fast_install
11714 # before this can be enabled.
11715 hardcode_into_libs
=yes
11717 # Append ld.so.conf contents to the search path
11718 if test -f /etc
/ld.so.conf
; then
11719 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' ' '`
11720 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11723 # We used to test for /lib/ld.so.1 and disable shared libraries on
11724 # powerpc, because MkLinux only supported shared libraries with the
11725 # GNU dynamic linker. Since this was broken with cross compilers,
11726 # most powerpc-linux boxes support dynamic linking these days and
11727 # people can always --disable-shared, the test was removed, and we
11728 # assume the GNU/Linux dynamic linker is in use.
11729 dynamic_linker
='GNU/Linux ld.so'
11736 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11737 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11738 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11739 dynamic_linker
='NetBSD (a.out) ld.so'
11741 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11742 soname_spec
='${libname}${release}${shared_ext}$major'
11743 dynamic_linker
='NetBSD ld.elf_so'
11745 shlibpath_var
=LD_LIBRARY_PATH
11746 shlibpath_overrides_runpath
=yes
11747 hardcode_into_libs
=yes
11752 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11753 shlibpath_var
=LD_LIBRARY_PATH
11754 shlibpath_overrides_runpath
=yes
11761 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11762 soname_spec
='${libname}${release}${shared_ext}$major'
11763 shlibpath_var
=LD_LIBRARY_PATH
11764 shlibpath_overrides_runpath
=no
11765 hardcode_into_libs
=yes
11766 dynamic_linker
='ldqnx.so'
11771 sys_lib_dlsearch_path_spec
="/usr/lib"
11773 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11775 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11776 *) need_version
=no
;;
11778 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11779 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11780 shlibpath_var
=LD_LIBRARY_PATH
11781 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11783 openbsd2.
[89] | openbsd2.
[89].
*)
11784 shlibpath_overrides_runpath
=no
11787 shlibpath_overrides_runpath
=yes
11791 shlibpath_overrides_runpath
=yes
11796 libname_spec
='$name'
11799 library_names_spec
='$libname${shared_ext} $libname.a'
11800 dynamic_linker
='OS/2 ld.exe'
11801 shlibpath_var
=LIBPATH
11804 osf3
* | osf4
* | osf5
*)
11808 soname_spec
='${libname}${release}${shared_ext}$major'
11809 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11810 shlibpath_var
=LD_LIBRARY_PATH
11811 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11812 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11823 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11824 soname_spec
='${libname}${release}${shared_ext}$major'
11825 shlibpath_var
=LD_LIBRARY_PATH
11826 shlibpath_overrides_runpath
=yes
11827 hardcode_into_libs
=yes
11828 # ldd complains unless libraries are executable
11829 postinstall_cmds
='chmod +x $lib'
11834 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11835 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11836 shlibpath_var
=LD_LIBRARY_PATH
11837 shlibpath_overrides_runpath
=yes
11838 if test "$with_gnu_ld" = yes; then
11846 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11847 soname_spec
='${libname}${release}${shared_ext}$major'
11848 shlibpath_var
=LD_LIBRARY_PATH
11849 case $host_vendor in
11851 shlibpath_overrides_runpath
=no
11853 runpath_var
=LD_RUN_PATH
11861 shlibpath_overrides_runpath
=no
11862 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11868 if test -d /usr
/nec
;then
11870 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11871 soname_spec
='$libname${shared_ext}.$major'
11872 shlibpath_var
=LD_LIBRARY_PATH
11876 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11877 version_type
=freebsd-elf
11880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11881 soname_spec
='${libname}${release}${shared_ext}$major'
11882 shlibpath_var
=LD_LIBRARY_PATH
11883 shlibpath_overrides_runpath
=yes
11884 hardcode_into_libs
=yes
11885 if test "$with_gnu_ld" = yes; then
11886 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11888 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11891 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11895 sys_lib_dlsearch_path_spec
='/usr/lib'
11899 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11903 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11904 shlibpath_var
=LD_LIBRARY_PATH
11905 shlibpath_overrides_runpath
=no
11906 hardcode_into_libs
=yes
11911 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11912 soname_spec
='${libname}${release}${shared_ext}$major'
11913 shlibpath_var
=LD_LIBRARY_PATH
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11921 $as_echo "$dynamic_linker" >&6; }
11922 test "$dynamic_linker" = no
&& can_build_shared
=no
11924 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11925 if test "$GCC" = yes; then
11926 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11929 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11930 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11932 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11933 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12028 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12030 if test -n "$hardcode_libdir_flag_spec" ||
12031 test -n "$runpath_var" ||
12032 test "X$hardcode_automatic" = "Xyes" ; then
12034 # We can hardcode non-existent directories.
12035 if test "$hardcode_direct" != no
&&
12036 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12037 # have to relink, otherwise we might link with an installed library
12038 # when we should be linking with a yet-to-be-installed one
12039 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12040 test "$hardcode_minus_L" != no
; then
12041 # Linking always hardcodes the temporary library directory.
12042 hardcode_action
=relink
12044 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12045 hardcode_action
=immediate
12048 # We cannot hardcode anything, or else we can only hardcode existing
12050 hardcode_action
=unsupported
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12053 $as_echo "$hardcode_action" >&6; }
12055 if test "$hardcode_action" = relink ||
12056 test "$inherit_rpath" = yes; then
12057 # Fast installation is not supported
12058 enable_fast_install
=no
12059 elif test "$shlibpath_overrides_runpath" = yes ||
12060 test "$enable_shared" = no
; then
12061 # Fast installation is not necessary
12062 enable_fast_install
=needless
12070 if test "x$enable_dlopen" != xyes
; then
12071 enable_dlopen
=unknown
12072 enable_dlopen_self
=unknown
12073 enable_dlopen_self_static
=unknown
12080 lt_cv_dlopen
="load_add_on"
12082 lt_cv_dlopen_self
=yes
12085 mingw
* | pw32
* | cegcc
*)
12086 lt_cv_dlopen
="LoadLibrary"
12091 lt_cv_dlopen
="dlopen"
12096 # if libdl is installed we need to link against it
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12098 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12099 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12100 $as_echo_n "(cached) " >&6
12102 ac_check_lib_save_LIBS
=$LIBS
12104 if test x
$gcc_no_link = xyes
; then
12105 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12108 /* end confdefs.h. */
12110 /* Override any GCC internal prototype to avoid an error.
12111 Use char because int might match the return type of a GCC
12112 builtin and then its argument prototype would still apply. */
12125 if ac_fn_c_try_link
"$LINENO"; then :
12126 ac_cv_lib_dl_dlopen
=yes
12128 ac_cv_lib_dl_dlopen
=no
12130 rm -f core conftest.err conftest.
$ac_objext \
12131 conftest
$ac_exeext conftest.
$ac_ext
12132 LIBS
=$ac_check_lib_save_LIBS
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12135 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12136 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12137 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12140 lt_cv_dlopen
="dyld"
12142 lt_cv_dlopen_self
=yes
12149 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12150 if test "x$ac_cv_func_shl_load" = x
""yes; then :
12151 lt_cv_dlopen
="shl_load"
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12154 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12155 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12156 $as_echo_n "(cached) " >&6
12158 ac_check_lib_save_LIBS
=$LIBS
12160 if test x
$gcc_no_link = xyes
; then
12161 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12164 /* end confdefs.h. */
12166 /* Override any GCC internal prototype to avoid an error.
12167 Use char because int might match the return type of a GCC
12168 builtin and then its argument prototype would still apply. */
12176 return shl_load ();
12181 if ac_fn_c_try_link
"$LINENO"; then :
12182 ac_cv_lib_dld_shl_load
=yes
12184 ac_cv_lib_dld_shl_load
=no
12186 rm -f core conftest.err conftest.
$ac_objext \
12187 conftest
$ac_exeext conftest.
$ac_ext
12188 LIBS
=$ac_check_lib_save_LIBS
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12191 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12192 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
12193 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12195 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12196 if test "x$ac_cv_func_dlopen" = x
""yes; then :
12197 lt_cv_dlopen
="dlopen"
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12200 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12201 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12202 $as_echo_n "(cached) " >&6
12204 ac_check_lib_save_LIBS
=$LIBS
12206 if test x
$gcc_no_link = xyes
; then
12207 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12210 /* end confdefs.h. */
12212 /* Override any GCC internal prototype to avoid an error.
12213 Use char because int might match the return type of a GCC
12214 builtin and then its argument prototype would still apply. */
12227 if ac_fn_c_try_link
"$LINENO"; then :
12228 ac_cv_lib_dl_dlopen
=yes
12230 ac_cv_lib_dl_dlopen
=no
12232 rm -f core conftest.err conftest.
$ac_objext \
12233 conftest
$ac_exeext conftest.
$ac_ext
12234 LIBS
=$ac_check_lib_save_LIBS
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12237 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12238 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12239 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12242 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12243 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12244 $as_echo_n "(cached) " >&6
12246 ac_check_lib_save_LIBS
=$LIBS
12247 LIBS
="-lsvld $LIBS"
12248 if test x
$gcc_no_link = xyes
; then
12249 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12252 /* end confdefs.h. */
12254 /* Override any GCC internal prototype to avoid an error.
12255 Use char because int might match the return type of a GCC
12256 builtin and then its argument prototype would still apply. */
12269 if ac_fn_c_try_link
"$LINENO"; then :
12270 ac_cv_lib_svld_dlopen
=yes
12272 ac_cv_lib_svld_dlopen
=no
12274 rm -f core conftest.err conftest.
$ac_objext \
12275 conftest
$ac_exeext conftest.
$ac_ext
12276 LIBS
=$ac_check_lib_save_LIBS
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12279 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12280 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
12281 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12284 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12285 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12286 $as_echo_n "(cached) " >&6
12288 ac_check_lib_save_LIBS
=$LIBS
12290 if test x
$gcc_no_link = xyes
; then
12291 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12294 /* end confdefs.h. */
12296 /* Override any GCC internal prototype to avoid an error.
12297 Use char because int might match the return type of a GCC
12298 builtin and then its argument prototype would still apply. */
12306 return dld_link ();
12311 if ac_fn_c_try_link
"$LINENO"; then :
12312 ac_cv_lib_dld_dld_link
=yes
12314 ac_cv_lib_dld_dld_link
=no
12316 rm -f core conftest.err conftest.
$ac_objext \
12317 conftest
$ac_exeext conftest.
$ac_ext
12318 LIBS
=$ac_check_lib_save_LIBS
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12321 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12322 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
12323 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12344 if test "x$lt_cv_dlopen" != xno
; then
12350 case $lt_cv_dlopen in
12352 save_CPPFLAGS
="$CPPFLAGS"
12353 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12355 save_LDFLAGS
="$LDFLAGS"
12356 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12359 LIBS
="$lt_cv_dlopen_libs $LIBS"
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12362 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12363 if test "${lt_cv_dlopen_self+set}" = set; then :
12364 $as_echo_n "(cached) " >&6
12366 if test "$cross_compiling" = yes; then :
12367 lt_cv_dlopen_self
=cross
12369 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12370 lt_status
=$lt_dlunknown
12371 cat > conftest.
$ac_ext <<_LT_EOF
12372 #line 12372 "configure"
12373 #include "confdefs.h"
12382 # define LT_DLGLOBAL RTLD_GLOBAL
12385 # define LT_DLGLOBAL DL_GLOBAL
12387 # define LT_DLGLOBAL 0
12391 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12392 find out it does not work in some platform. */
12393 #ifndef LT_DLLAZY_OR_NOW
12395 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12398 # define LT_DLLAZY_OR_NOW DL_LAZY
12401 # define LT_DLLAZY_OR_NOW RTLD_NOW
12404 # define LT_DLLAZY_OR_NOW DL_NOW
12406 # define LT_DLLAZY_OR_NOW 0
12413 /* When -fvisbility=hidden is used, assume the code has been annotated
12414 correspondingly for the symbols needed. */
12415 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12416 void fnord () __attribute__((visibility("default")));
12419 void fnord () { int i=42; }
12422 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12423 int status = $lt_dlunknown;
12427 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12430 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12431 else puts (dlerror ());
12433 /* dlclose (self); */
12441 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12442 (eval $ac_link) 2>&5
12444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12445 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12446 (.
/conftest
; exit; ) >&5 2>/dev
/null
12448 case x
$lt_status in
12449 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12450 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12451 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12454 # compilation failed
12455 lt_cv_dlopen_self
=no
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12463 $as_echo "$lt_cv_dlopen_self" >&6; }
12465 if test "x$lt_cv_dlopen_self" = xyes
; then
12466 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12468 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12469 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12470 $as_echo_n "(cached) " >&6
12472 if test "$cross_compiling" = yes; then :
12473 lt_cv_dlopen_self_static
=cross
12475 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12476 lt_status
=$lt_dlunknown
12477 cat > conftest.
$ac_ext <<_LT_EOF
12478 #line 12478 "configure"
12479 #include "confdefs.h"
12488 # define LT_DLGLOBAL RTLD_GLOBAL
12491 # define LT_DLGLOBAL DL_GLOBAL
12493 # define LT_DLGLOBAL 0
12497 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12498 find out it does not work in some platform. */
12499 #ifndef LT_DLLAZY_OR_NOW
12501 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12504 # define LT_DLLAZY_OR_NOW DL_LAZY
12507 # define LT_DLLAZY_OR_NOW RTLD_NOW
12510 # define LT_DLLAZY_OR_NOW DL_NOW
12512 # define LT_DLLAZY_OR_NOW 0
12519 /* When -fvisbility=hidden is used, assume the code has been annotated
12520 correspondingly for the symbols needed. */
12521 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12522 void fnord () __attribute__((visibility("default")));
12525 void fnord () { int i=42; }
12528 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12529 int status = $lt_dlunknown;
12533 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12536 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12537 else puts (dlerror ());
12539 /* dlclose (self); */
12547 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12548 (eval $ac_link) 2>&5
12550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12551 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12552 (.
/conftest
; exit; ) >&5 2>/dev
/null
12554 case x
$lt_status in
12555 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12556 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12557 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12560 # compilation failed
12561 lt_cv_dlopen_self_static
=no
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12569 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12572 CPPFLAGS
="$save_CPPFLAGS"
12573 LDFLAGS
="$save_LDFLAGS"
12578 case $lt_cv_dlopen_self in
12579 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12580 *) enable_dlopen_self
=unknown
;;
12583 case $lt_cv_dlopen_self_static in
12584 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12585 *) enable_dlopen_self_static
=unknown
;;
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12608 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12609 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12610 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12611 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12613 $as_echo "yes" >&6; }
12615 # FIXME - insert some real tests, host_os isn't really good enough
12618 if test -n "$STRIP" ; then
12619 striplib
="$STRIP -x"
12620 old_striplib
="$STRIP -S"
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12622 $as_echo "yes" >&6; }
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12625 $as_echo "no" >&6; }
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12630 $as_echo "no" >&6; }
12646 # Report which library types will actually be built
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12648 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12650 $as_echo "$can_build_shared" >&6; }
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12653 $as_echo_n "checking whether to build shared libraries... " >&6; }
12654 test "$can_build_shared" = "no" && enable_shared
=no
12656 # On AIX, shared libraries and static libraries use the same namespace, and
12657 # are all built from PIC.
12660 test "$enable_shared" = yes && enable_static
=no
12661 if test -n "$RANLIB"; then
12662 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12663 postinstall_cmds
='$RANLIB $lib'
12668 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12669 test "$enable_shared" = yes && enable_static
=no
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12674 $as_echo "$enable_shared" >&6; }
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12677 $as_echo_n "checking whether to build static libraries... " >&6; }
12678 # Make sure either enable_shared or enable_static is yes.
12679 test "$enable_shared" = yes || enable_static
=yes
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12681 $as_echo "$enable_static" >&6; }
12688 ac_cpp
='$CPP $CPPFLAGS'
12689 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12690 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12691 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12707 ac_config_commands
="$ac_config_commands libtool"
12712 # Only expand once:
12719 *-cygwin* |
*-mingw*)
12720 # 'host' will be top-level target in the case of a target lib,
12721 # we must compare to with_cross_host to decide if this is a native
12722 # or cross-compiler and select where to install dlls appropriately.
12723 if test -n "$with_cross_host" &&
12724 test x
"$with_cross_host" != x
"no"; then
12725 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
12727 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
12739 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12741 # We need gfortran to compile parts of the library
12742 #AC_PROG_FC(gfortran)
12744 ac_ext
=${ac_fc_srcext-f}
12745 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12746 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12747 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
12748 if test -n "$ac_tool_prefix"; then
12749 for ac_prog
in gfortran
12751 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12752 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12754 $as_echo_n "checking for $ac_word... " >&6; }
12755 if test "${ac_cv_prog_FC+set}" = set; then :
12756 $as_echo_n "(cached) " >&6
12758 if test -n "$FC"; then
12759 ac_cv_prog_FC
="$FC" # Let the user override the test.
12761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12762 for as_dir
in $PATH
12765 test -z "$as_dir" && as_dir
=.
12766 for ac_exec_ext
in '' $ac_executable_extensions; do
12767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12768 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
12769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12779 if test -n "$FC"; then
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12781 $as_echo "$FC" >&6; }
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12784 $as_echo "no" >&6; }
12788 test -n "$FC" && break
12791 if test -z "$FC"; then
12793 for ac_prog
in gfortran
12795 # Extract the first word of "$ac_prog", so it can be a program name with args.
12796 set dummy
$ac_prog; ac_word
=$2
12797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12798 $as_echo_n "checking for $ac_word... " >&6; }
12799 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12800 $as_echo_n "(cached) " >&6
12802 if test -n "$ac_ct_FC"; then
12803 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
12805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12806 for as_dir
in $PATH
12809 test -z "$as_dir" && as_dir
=.
12810 for ac_exec_ext
in '' $ac_executable_extensions; do
12811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12812 ac_cv_prog_ac_ct_FC
="$ac_prog"
12813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12822 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
12823 if test -n "$ac_ct_FC"; then
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12825 $as_echo "$ac_ct_FC" >&6; }
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12828 $as_echo "no" >&6; }
12832 test -n "$ac_ct_FC" && break
12835 if test "x$ac_ct_FC" = x
; then
12838 case $cross_compiling:$ac_tool_warned in
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12841 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12842 ac_tool_warned
=yes ;;
12849 # Provide some information about the compiler.
12850 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12853 for ac_option
in --version -v -V -qversion; do
12854 { { ac_try
="$ac_compiler $ac_option >&5"
12855 case "(($ac_try" in
12856 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12857 *) ac_try_echo=$ac_try;;
12859 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12860 $as_echo "$ac_try_echo"; } >&5
12861 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12863 if test -s conftest.err; then
12865 ... rest of stderr output deleted ...
12866 10q' conftest.err >conftest.er1
12867 cat conftest.er1 >&5
12868 rm -f conftest.er1 conftest.err
12870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12871 test $ac_status = 0; }
12875 # If we don't use `.F
' as extension, the preprocessor is not run on the
12876 # input file. (Note that this only needs to work for GNU compilers.)
12877 ac_save_ext=$ac_ext
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
12880 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
12881 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
12882 $as_echo_n "(cached) " >&6
12884 cat > conftest.$ac_ext <<_ACEOF
12892 if ac_fn_fc_try_compile "$LINENO"; then :
12893 ac_compiler_gnu=yes
12897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12898 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
12902 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
12903 ac_ext=$ac_save_ext
12904 ac_test_FCFLAGS=${FCFLAGS+set}
12905 ac_save_FCFLAGS=$FCFLAGS
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
12908 $as_echo_n "checking whether $FC accepts -g... " >&6; }
12909 if test "${ac_cv_prog_fc_g+set}" = set; then :
12910 $as_echo_n "(cached) " >&6
12913 cat > conftest.$ac_ext <<_ACEOF
12918 if ac_fn_fc_try_compile "$LINENO"; then :
12919 ac_cv_prog_fc_g=yes
12923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
12927 $as_echo "$ac_cv_prog_fc_g" >&6; }
12928 if test "$ac_test_FCFLAGS" = set; then
12929 FCFLAGS=$ac_save_FCFLAGS
12930 elif test $ac_cv_prog_fc_g = yes; then
12931 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12937 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12945 ac_cpp='$CPP $CPPFLAGS'
12946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
12947 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
12948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12950 ac_ext=${ac_fc_srcext-f}
12951 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
12952 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
12953 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12956 if test -z "$FC" || test "X$FC" = "Xno"; then
12960 archive_cmds_need_lc_FC=no
12961 allow_undefined_flag_FC=
12962 always_export_symbols_FC=no
12963 archive_expsym_cmds_FC=
12964 export_dynamic_flag_spec_FC=
12965 hardcode_direct_FC=no
12966 hardcode_direct_absolute_FC=no
12967 hardcode_libdir_flag_spec_FC=
12968 hardcode_libdir_flag_spec_ld_FC=
12969 hardcode_libdir_separator_FC=
12970 hardcode_minus_L_FC=no
12971 hardcode_automatic_FC=no
12972 inherit_rpath_FC=no
12974 module_expsym_cmds_FC=
12975 link_all_deplibs_FC=unknown
12976 old_archive_cmds_FC=$old_archive_cmds
12977 reload_flag_FC=$reload_flag
12978 reload_cmds_FC=$reload_cmds
12979 no_undefined_flag_FC=
12980 whole_archive_flag_spec_FC=
12981 enable_shared_with_static_runtimes_FC=no
12983 # Source file extension for fc test sources.
12984 ac_ext=${ac_fc_srcext-f}
12986 # Object file extension for compiled fc test sources.
12990 # No sense in running all these tests if we already determined that
12991 # the FC compiler isn't working. Some variables
(like enable_shared
)
12992 # are currently assumed to apply to all compilers on this platform,
12993 # and will be corrupted by setting them based on a non-working compiler.
12994 if test "$_lt_disable_FC" != yes; then
12995 # Code to be used in simple compile tests
12996 lt_simple_compile_test_code
="\
13002 # Code to be used in simple link tests
13003 lt_simple_link_test_code
="\
13008 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13015 # If no C compiler was specified, use CC.
13018 # If no C compiler flags were specified, use CFLAGS.
13019 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13021 # Allow CC to be a program name with arguments.
13025 # save warnings/boilerplate of simple test code
13026 ac_outfile
=conftest.
$ac_objext
13027 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13028 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13029 _lt_compiler_boilerplate
=`cat conftest.err`
13032 ac_outfile
=conftest.
$ac_objext
13033 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13034 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13035 _lt_linker_boilerplate
=`cat conftest.err`
13039 # Allow CC to be a program name with arguments.
13044 GCC
=$ac_cv_fc_compiler_gnu
13047 for cc_temp
in $compiler""; do
13049 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13050 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13055 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13058 if test -n "$compiler"; then
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13060 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13062 $as_echo "$can_build_shared" >&6; }
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13065 $as_echo_n "checking whether to build shared libraries... " >&6; }
13066 test "$can_build_shared" = "no" && enable_shared
=no
13068 # On AIX, shared libraries and static libraries use the same namespace, and
13069 # are all built from PIC.
13072 test "$enable_shared" = yes && enable_static
=no
13073 if test -n "$RANLIB"; then
13074 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13075 postinstall_cmds
='$RANLIB $lib'
13079 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13080 test "$enable_shared" = yes && enable_static
=no
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13085 $as_echo "$enable_shared" >&6; }
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13088 $as_echo_n "checking whether to build static libraries... " >&6; }
13089 # Make sure either enable_shared or enable_static is yes.
13090 test "$enable_shared" = yes || enable_static
=yes
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13092 $as_echo "$enable_static" >&6; }
13094 GCC_FC
="$ac_cv_fc_compiler_gnu"
13098 ## There is no encapsulation within the following macros, do not change
13099 ## the running order or otherwise move them around unless you know exactly
13100 ## what you are doing...
13101 # Dependencies to place before and after the object being linked:
13103 postdep_objects_FC
=
13106 compiler_lib_search_path_FC
=
13108 cat > conftest.
$ac_ext <<_LT_EOF
13117 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13118 (eval $ac_compile) 2>&5
13120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13121 test $ac_status = 0; }; then
13122 # Parse the compiler output and extract the necessary
13123 # objects, libraries and library flags.
13125 # Sentinel used to keep track of whether or not we are before
13126 # the conftest object file.
13127 pre_test_object_deps_done
=no
13129 for p
in `eval "$output_verbose_link_cmd"`; do
13133 # Some compilers place space between "-{L,R}" and the path.
13134 # Remove the space.
13135 if test $p = "-L" ||
13136 test $p = "-R"; then
13143 if test "$pre_test_object_deps_done" = no
; then
13146 # Internal compiler library paths should come after those
13147 # provided the user. The postdeps already come after the
13148 # user supplied libs so there is no need to process them.
13149 if test -z "$compiler_lib_search_path_FC"; then
13150 compiler_lib_search_path_FC
="${prev}${p}"
13152 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
13155 # The "-l" case would never come before the object being
13156 # linked, so don't bother handling this case.
13159 if test -z "$postdeps_FC"; then
13160 postdeps_FC
="${prev}${p}"
13162 postdeps_FC
="${postdeps_FC} ${prev}${p}"
13168 # This assumes that the test object file only shows up
13169 # once in the compiler output.
13170 if test "$p" = "conftest.$objext"; then
13171 pre_test_object_deps_done
=yes
13175 if test "$pre_test_object_deps_done" = no
; then
13176 if test -z "$predep_objects_FC"; then
13177 predep_objects_FC
="$p"
13179 predep_objects_FC
="$predep_objects_FC $p"
13182 if test -z "$postdep_objects_FC"; then
13183 postdep_objects_FC
="$p"
13185 postdep_objects_FC
="$postdep_objects_FC $p"
13190 *) ;; # Ignore the rest.
13198 echo "libtool.m4: error: problem compiling FC test program"
13201 $RM -f confest.
$objext
13203 # PORTME: override above test on systems where it is broken
13206 case " $postdeps_FC " in
13207 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
13209 compiler_lib_search_dirs_FC
=
13210 if test -n "${compiler_lib_search_path_FC}"; then
13211 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13244 lt_prog_compiler_wl_FC
=
13245 lt_prog_compiler_pic_FC
=
13246 lt_prog_compiler_static_FC
=
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13249 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13251 if test "$GCC" = yes; then
13252 lt_prog_compiler_wl_FC
='-Wl,'
13253 lt_prog_compiler_static_FC
='-static'
13257 # All AIX code is PIC.
13258 if test "$host_cpu" = ia64
; then
13259 # AIX 5 now supports IA64 processor
13260 lt_prog_compiler_static_FC
='-Bstatic'
13262 lt_prog_compiler_pic_FC
='-fPIC'
13268 # see comment about AmigaOS4 .so support
13269 lt_prog_compiler_pic_FC
='-fPIC'
13272 # FIXME: we need at least 68020 code to build shared libraries, but
13273 # adding the `-m68020' flag to GCC prevents building anything better,
13275 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
13280 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13281 # PIC is the default for these OSes.
13284 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13285 # This hack is so that the source file can tell whether it is being
13286 # built for inclusion in a dll (and should export symbols for example).
13287 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13288 # (--disable-auto-import) libraries
13289 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13292 darwin
* | rhapsody
*)
13293 # PIC is the default on this platform
13294 # Common symbols not allowed in MH_DYLIB files
13295 lt_prog_compiler_pic_FC
='-fno-common'
13299 # PIC is the default for Haiku.
13300 # The "-static" flag exists, but is broken.
13301 lt_prog_compiler_static_FC
=
13305 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13306 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13307 # sets the default TLS model and affects inlining.
13313 lt_prog_compiler_pic_FC
='-fPIC'
13319 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13320 # Instead, we relocate shared libraries at runtime.
13324 # Just because we use GCC doesn't mean we suddenly get shared libraries
13325 # on systems that don't support them.
13326 lt_prog_compiler_can_build_shared_FC
=no
13331 # QNX uses GNU C++, but need to define -shared option too, otherwise
13332 # it will coredump.
13333 lt_prog_compiler_pic_FC
='-fPIC -shared'
13337 if test -d /usr
/nec
; then
13338 lt_prog_compiler_pic_FC
=-Kconform_pic
13343 lt_prog_compiler_pic_FC
='-fPIC'
13347 case $cc_basename in
13348 nvcc
*) # Cuda Compiler Driver 2.2
13349 lt_prog_compiler_wl_FC
='-Xlinker '
13350 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
13354 # PORTME Check for flag to pass linker flags through the system compiler.
13357 lt_prog_compiler_wl_FC
='-Wl,'
13358 if test "$host_cpu" = ia64
; then
13359 # AIX 5 now supports IA64 processor
13360 lt_prog_compiler_static_FC
='-Bstatic'
13362 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
13366 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13367 # This hack is so that the source file can tell whether it is being
13368 # built for inclusion in a dll (and should export symbols for example).
13369 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13372 hpux9
* | hpux10
* | hpux11
*)
13373 lt_prog_compiler_wl_FC
='-Wl,'
13374 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13375 # not for PA HP-UX.
13381 lt_prog_compiler_pic_FC
='+Z'
13384 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13385 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
13388 irix5
* | irix6
* | nonstopux
*)
13389 lt_prog_compiler_wl_FC
='-Wl,'
13390 # PIC (with -KPIC) is the default.
13391 lt_prog_compiler_static_FC
='-non_shared'
13394 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13395 case $cc_basename in
13396 # old Intel for x86_64 which still supported -KPIC.
13398 lt_prog_compiler_wl_FC
='-Wl,'
13399 lt_prog_compiler_pic_FC
='-KPIC'
13400 lt_prog_compiler_static_FC
='-static'
13402 # icc used to be incompatible with GCC.
13403 # ICC 10 doesn't accept -KPIC any more.
13405 lt_prog_compiler_wl_FC
='-Wl,'
13406 lt_prog_compiler_pic_FC
='-fPIC'
13407 lt_prog_compiler_static_FC
='-static'
13409 # Lahey Fortran 8.1.
13411 lt_prog_compiler_wl_FC
='-Wl,'
13412 lt_prog_compiler_pic_FC
='--shared'
13413 lt_prog_compiler_static_FC
='--static'
13415 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13416 # Portland Group compilers (*not* the Pentium gcc compiler,
13417 # which looks to be a dead project)
13418 lt_prog_compiler_wl_FC
='-Wl,'
13419 lt_prog_compiler_pic_FC
='-fpic'
13420 lt_prog_compiler_static_FC
='-Bstatic'
13423 lt_prog_compiler_wl_FC
='-Wl,'
13424 # All Alpha code is PIC.
13425 lt_prog_compiler_static_FC
='-non_shared'
13427 xl
* | bgxl
* | bgf
* | mpixl
*)
13428 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13429 lt_prog_compiler_wl_FC
='-Wl,'
13430 lt_prog_compiler_pic_FC
='-qpic'
13431 lt_prog_compiler_static_FC
='-qstaticlink'
13434 case `$CC -V 2>&1 | sed 5q` in
13435 *Sun\ F
* |
*Sun
*Fortran
*)
13436 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13437 lt_prog_compiler_pic_FC
='-KPIC'
13438 lt_prog_compiler_static_FC
='-Bstatic'
13439 lt_prog_compiler_wl_FC
=''
13443 lt_prog_compiler_pic_FC
='-KPIC'
13444 lt_prog_compiler_static_FC
='-Bstatic'
13445 lt_prog_compiler_wl_FC
='-Wl,'
13453 lt_prog_compiler_pic_FC
='-KPIC'
13454 lt_prog_compiler_static_FC
='-Bstatic'
13458 # QNX uses GNU C++, but need to define -shared option too, otherwise
13459 # it will coredump.
13460 lt_prog_compiler_pic_FC
='-fPIC -shared'
13463 osf3
* | osf4
* | osf5
*)
13464 lt_prog_compiler_wl_FC
='-Wl,'
13465 # All OSF/1 code is PIC.
13466 lt_prog_compiler_static_FC
='-non_shared'
13470 lt_prog_compiler_static_FC
='-non_shared'
13474 lt_prog_compiler_pic_FC
='-KPIC'
13475 lt_prog_compiler_static_FC
='-Bstatic'
13476 case $cc_basename in
13477 f77
* | f90
* | f95
*)
13478 lt_prog_compiler_wl_FC
='-Qoption ld ';;
13480 lt_prog_compiler_wl_FC
='-Wl,';;
13485 lt_prog_compiler_wl_FC
='-Qoption ld '
13486 lt_prog_compiler_pic_FC
='-PIC'
13487 lt_prog_compiler_static_FC
='-Bstatic'
13490 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13491 lt_prog_compiler_wl_FC
='-Wl,'
13492 lt_prog_compiler_pic_FC
='-KPIC'
13493 lt_prog_compiler_static_FC
='-Bstatic'
13497 if test -d /usr
/nec
;then
13498 lt_prog_compiler_pic_FC
='-Kconform_pic'
13499 lt_prog_compiler_static_FC
='-Bstatic'
13503 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13504 lt_prog_compiler_wl_FC
='-Wl,'
13505 lt_prog_compiler_pic_FC
='-KPIC'
13506 lt_prog_compiler_static_FC
='-Bstatic'
13510 lt_prog_compiler_wl_FC
='-Wl,'
13511 lt_prog_compiler_can_build_shared_FC
=no
13515 lt_prog_compiler_pic_FC
='-pic'
13516 lt_prog_compiler_static_FC
='-Bstatic'
13520 lt_prog_compiler_can_build_shared_FC
=no
13526 # For platforms which do not support PIC, -DPIC is meaningless:
13528 lt_prog_compiler_pic_FC
=
13531 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13535 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13540 # Check to make sure the PIC flag actually works.
13542 if test -n "$lt_prog_compiler_pic_FC"; then
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13544 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13545 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13546 $as_echo_n "(cached) " >&6
13548 lt_cv_prog_compiler_pic_works_FC
=no
13549 ac_outfile
=conftest.
$ac_objext
13550 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13551 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
13552 # Insert the option either (1) after the last *FLAGS variable, or
13553 # (2) before a word containing "conftest.", or (3) at the end.
13554 # Note that $ac_compile itself does not contain backslashes and begins
13555 # with a dollar sign (not a hyphen), so the echo should work correctly.
13556 # The option is referenced via a variable to avoid confusing sed.
13557 lt_compile
=`echo "$ac_compile" | $SED \
13558 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13559 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13560 -e 's:$: $lt_compiler_flag:'`
13561 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13562 (eval "$lt_compile" 2>conftest.err
)
13564 cat conftest.err
>&5
13565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13566 if (exit $ac_status) && test -s "$ac_outfile"; then
13567 # The compiler can only warn and ignore the option if not recognized
13568 # So say no if there are warnings other than the usual output.
13569 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13570 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13571 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13572 lt_cv_prog_compiler_pic_works_FC
=yes
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13579 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13581 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
13582 case $lt_prog_compiler_pic_FC in
13584 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
13587 lt_prog_compiler_pic_FC
=
13588 lt_prog_compiler_can_build_shared_FC
=no
13596 # Check to make sure the static flag actually works.
13598 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13600 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13601 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13602 $as_echo_n "(cached) " >&6
13604 lt_cv_prog_compiler_static_works_FC
=no
13605 save_LDFLAGS
="$LDFLAGS"
13606 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13607 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13608 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13609 # The linker can only warn and ignore the option if not recognized
13610 # So say no if there are warnings
13611 if test -s conftest.err
; then
13612 # Append any errors to the config.log.
13613 cat conftest.err
1>&5
13614 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13615 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13616 if diff conftest.exp conftest.er2
>/dev
/null
; then
13617 lt_cv_prog_compiler_static_works_FC
=yes
13620 lt_cv_prog_compiler_static_works_FC
=yes
13624 LDFLAGS
="$save_LDFLAGS"
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13628 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13630 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
13633 lt_prog_compiler_static_FC
=
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13640 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13641 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13642 $as_echo_n "(cached) " >&6
13644 lt_cv_prog_compiler_c_o_FC
=no
13645 $RM -r conftest
2>/dev
/null
13649 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13651 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13652 # Insert the option either (1) after the last *FLAGS variable, or
13653 # (2) before a word containing "conftest.", or (3) at the end.
13654 # Note that $ac_compile itself does not contain backslashes and begins
13655 # with a dollar sign (not a hyphen), so the echo should work correctly.
13656 lt_compile
=`echo "$ac_compile" | $SED \
13657 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13658 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13659 -e 's:$: $lt_compiler_flag:'`
13660 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13661 (eval "$lt_compile" 2>out
/conftest.err
)
13663 cat out
/conftest.err
>&5
13664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13665 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13667 # The compiler can only warn and ignore the option if not recognized
13668 # So say no if there are warnings
13669 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13670 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13671 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13672 lt_cv_prog_compiler_c_o_FC
=yes
13677 # SGI C++ compiler will create directory out/ii_files/ for
13678 # template instantiation
13679 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13680 $RM out
/* && rmdir out
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13687 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13692 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13693 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13694 $as_echo_n "(cached) " >&6
13696 lt_cv_prog_compiler_c_o_FC
=no
13697 $RM -r conftest
2>/dev
/null
13701 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13703 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13704 # Insert the option either (1) after the last *FLAGS variable, or
13705 # (2) before a word containing "conftest.", or (3) at the end.
13706 # Note that $ac_compile itself does not contain backslashes and begins
13707 # with a dollar sign (not a hyphen), so the echo should work correctly.
13708 lt_compile
=`echo "$ac_compile" | $SED \
13709 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13710 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13711 -e 's:$: $lt_compiler_flag:'`
13712 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13713 (eval "$lt_compile" 2>out
/conftest.err
)
13715 cat out
/conftest.err
>&5
13716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13717 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13719 # The compiler can only warn and ignore the option if not recognized
13720 # So say no if there are warnings
13721 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13722 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13723 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13724 lt_cv_prog_compiler_c_o_FC
=yes
13729 # SGI C++ compiler will create directory out/ii_files/ for
13730 # template instantiation
13731 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13732 $RM out
/* && rmdir out
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13739 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13744 hard_links
="nottested"
13745 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
13746 # do not overwrite the value of need_locks provided by the user
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13748 $as_echo_n "checking if we can lock with hard links... " >&6; }
13751 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13753 ln conftest.a conftest.b
2>&5 || hard_links
=no
13754 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13756 $as_echo "$hard_links" >&6; }
13757 if test "$hard_links" = no
; then
13758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13759 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13769 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13772 allow_undefined_flag_FC
=
13773 always_export_symbols_FC
=no
13775 archive_expsym_cmds_FC
=
13776 compiler_needs_object_FC
=no
13777 enable_shared_with_static_runtimes_FC
=no
13778 export_dynamic_flag_spec_FC
=
13779 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13780 hardcode_automatic_FC
=no
13781 hardcode_direct_FC
=no
13782 hardcode_direct_absolute_FC
=no
13783 hardcode_libdir_flag_spec_FC
=
13784 hardcode_libdir_flag_spec_ld_FC
=
13785 hardcode_libdir_separator_FC
=
13786 hardcode_minus_L_FC
=no
13787 hardcode_shlibpath_var_FC
=unsupported
13788 inherit_rpath_FC
=no
13789 link_all_deplibs_FC
=unknown
13791 module_expsym_cmds_FC
=
13792 old_archive_from_new_cmds_FC
=
13793 old_archive_from_expsyms_cmds_FC
=
13794 thread_safe_flag_spec_FC
=
13795 whole_archive_flag_spec_FC
=
13796 # include_expsyms should be a list of space-separated symbols to be *always*
13797 # included in the symbol list
13798 include_expsyms_FC
=
13799 # exclude_expsyms can be an extended regexp of symbols to exclude
13800 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13801 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13802 # as well as any symbol that contains `d'.
13803 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13804 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13805 # platforms (ab)use it in PIC code, but their linkers get confused if
13806 # the symbol is explicitly referenced. Since portable code cannot
13807 # rely on this symbol name, it's probably fine to never include it in
13808 # preloaded symbol tables.
13809 # Exclude shared library initialization/finalization symbols.
13810 extract_expsyms_cmds
=
13813 cygwin
* | mingw
* | pw32
* | cegcc
*)
13814 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13815 # When not using gcc, we currently assume that we are using
13816 # Microsoft Visual C++.
13817 if test "$GCC" != yes; then
13822 # we just hope/assume this is gcc and not c89 (= MSVC++)
13832 # On some targets, GNU ld is compatible enough with the native linker
13833 # that we're better off using the native interface for both.
13834 lt_use_gnu_ld_interface
=no
13835 if test "$with_gnu_ld" = yes; then
13838 # The AIX port of GNU ld has always aspired to compatibility
13839 # with the native linker. However, as the warning in the GNU ld
13840 # block says, versions before 2.19.5* couldn't really create working
13841 # shared libraries, regardless of the interface used.
13842 case `$LD -v 2>&1` in
13843 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
13844 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
13845 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
13847 lt_use_gnu_ld_interface
=yes
13852 lt_use_gnu_ld_interface
=yes
13857 if test "$lt_use_gnu_ld_interface" = yes; then
13858 # If archive_cmds runs LD, not CC, wlarc should be empty
13861 # Set some defaults for GNU ld with shared library support. These
13862 # are reset later if shared libraries are not supported. Putting them
13863 # here allows them to be overridden if necessary.
13864 runpath_var
=LD_RUN_PATH
13865 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13866 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
13867 # ancient GNU ld didn't support --whole-archive et. al.
13868 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
13869 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13871 whole_archive_flag_spec_FC
=
13873 supports_anon_versioning
=no
13874 case `$LD -v 2>&1` in
13875 *GNU\ gold
*) supports_anon_versioning
=yes ;;
13876 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13877 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13878 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13879 *\
2.11.
*) ;; # other 2.11 versions
13880 *) supports_anon_versioning
=yes ;;
13883 # See if GNU ld supports shared libraries.
13886 # On AIX/PPC, the GNU linker is very broken
13887 if test "$host_cpu" != ia64
; then
13891 *** Warning: the GNU linker, at least up to release 2.19, is reported
13892 *** to be unable to reliably create shared libraries on AIX.
13893 *** Therefore, libtool is disabling shared libraries support. If you
13894 *** really care for shared libraries, you may want to install binutils
13895 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13896 *** You will then need to restart the configuration process.
13905 # see comment about AmigaOS4 .so support
13906 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13907 archive_expsym_cmds_FC
=''
13910 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)'
13911 hardcode_libdir_flag_spec_FC
='-L$libdir'
13912 hardcode_minus_L_FC
=yes
13918 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13919 allow_undefined_flag_FC
=unsupported
13920 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13921 # support --undefined. This deserves some investigation. FIXME
13922 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13928 cygwin
* | mingw
* | pw32
* | cegcc
*)
13929 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
13930 # as there is no search path for DLLs.
13931 hardcode_libdir_flag_spec_FC
='-L$libdir'
13932 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
13933 allow_undefined_flag_FC
=unsupported
13934 always_export_symbols_FC
=no
13935 enable_shared_with_static_runtimes_FC
=yes
13936 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13938 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13939 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13940 # If the export-symbols file already is a .def file (1st line
13941 # is EXPORTS), use it as is; otherwise, prepend...
13942 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13943 cp $export_symbols $output_objdir/$soname.def;
13945 echo EXPORTS > $output_objdir/$soname.def;
13946 cat $export_symbols >> $output_objdir/$soname.def;
13948 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13955 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13956 link_all_deplibs_FC
=yes
13960 hardcode_direct_FC
=no
13961 hardcode_shlibpath_var_FC
=no
13962 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13963 export_dynamic_flag_spec_FC
='${wl}-E'
13964 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13965 # Instead, shared libraries are loaded at an image base (0x10000000 by
13966 # default) and relocated if they conflict, which is a slow very memory
13967 # consuming and fragmenting process. To avoid this, we pick a random,
13968 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13969 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13970 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'
13971 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'
13974 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13976 if test "$host_os" = linux-dietlibc
; then
13977 case $cc_basename in
13978 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
13981 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
13982 && test "$tmp_diet" = no
13984 tmp_addflag
=' $pic_flag'
13985 tmp_sharedflag
='-shared'
13986 case $cc_basename,$host_cpu in
13987 pgcc
*) # Portland Group C compiler
13988 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'
13989 tmp_addflag
=' $pic_flag'
13991 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13992 # Portland Group f77 and f90 compilers
13993 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'
13994 tmp_addflag
=' $pic_flag -Mnomain' ;;
13995 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
13996 tmp_addflag
=' -i_dynamic' ;;
13997 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
13998 tmp_addflag
=' -i_dynamic -nofor_main' ;;
13999 ifc
* | ifort
*) # Intel Fortran compiler
14000 tmp_addflag
=' -nofor_main' ;;
14001 lf95
*) # Lahey Fortran 8.1
14002 whole_archive_flag_spec_FC
=
14003 tmp_sharedflag
='--shared' ;;
14004 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14005 tmp_sharedflag
='-qmkshrobj'
14007 nvcc
*) # Cuda Compiler Driver 2.2
14008 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'
14009 compiler_needs_object_FC
=yes
14012 case `$CC -V 2>&1 | sed 5q` in
14013 *Sun\ C
*) # Sun C 5.9
14014 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'
14015 compiler_needs_object_FC
=yes
14016 tmp_sharedflag
='-G' ;;
14017 *Sun\ F
*) # Sun Fortran 8.3
14018 tmp_sharedflag
='-G' ;;
14020 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14022 if test "x$supports_anon_versioning" = xyes
; then
14023 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14024 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14025 echo "local: *; };" >> $output_objdir/$libname.ver~
14026 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14029 case $cc_basename in
14030 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
14031 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14032 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
14033 hardcode_libdir_flag_spec_FC
=
14034 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
14035 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14036 if test "x$supports_anon_versioning" = xyes
; then
14037 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14038 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14039 echo "local: *; };" >> $output_objdir/$libname.ver~
14040 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14050 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14051 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
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'
14060 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
14064 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14065 *** create shared libraries on Solaris systems. Therefore, libtool
14066 *** is disabling shared libraries support. We urge you to upgrade GNU
14067 *** binutils to release 2.9.1 or newer. Another option is to modify
14068 *** your PATH or compiler configuration so that the native linker is
14069 *** used, and then restart.
14072 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14073 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14074 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14080 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14081 case `$LD -v 2>&1` in
14082 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14086 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14087 *** reliably create shared libraries on SCO systems. Therefore, libtool
14088 *** is disabling shared libraries support. We urge you to upgrade GNU
14089 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14090 *** your PATH or compiler configuration so that the native linker is
14091 *** used, and then restart.
14096 # For security reasons, it is highly recommended that you always
14097 # use absolute paths for naming shared libraries, and exclude the
14098 # DT_RUNPATH tag from executables and libraries. But doing so
14099 # requires that you compile everything twice, which is a pain.
14100 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14101 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14102 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14103 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14112 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14114 hardcode_direct_FC
=yes
14115 hardcode_shlibpath_var_FC
=no
14119 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14120 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14121 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14128 if test "$ld_shlibs_FC" = no
; then
14130 hardcode_libdir_flag_spec_FC
=
14131 export_dynamic_flag_spec_FC
=
14132 whole_archive_flag_spec_FC
=
14135 # PORTME fill in a description of your system's linker (not GNU ld)
14138 allow_undefined_flag_FC
=unsupported
14139 always_export_symbols_FC
=yes
14140 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'
14141 # Note: this linker hardcodes the directories in LIBPATH if there
14142 # are no directories specified by -L.
14143 hardcode_minus_L_FC
=yes
14144 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14145 # Neither direct hardcoding nor static linking is supported with a
14147 hardcode_direct_FC
=unsupported
14152 if test "$host_cpu" = ia64
; then
14153 # On IA64, the linker does run time linking by default, so we don't
14154 # have to do anything special.
14155 aix_use_runtimelinking
=no
14156 exp_sym_flag
='-Bexport'
14159 # If we're using GNU nm, then we don't want the "-C" option.
14160 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14161 # Also, AIX nm treats weak defined symbols like other global
14162 # defined symbols, whereas GNU nm marks them as "W".
14163 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14164 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'
14166 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'
14168 aix_use_runtimelinking
=no
14170 # Test if we are trying to use run time linking or normal
14171 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14172 # need to do runtime linking.
14173 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14174 for ld_flag
in $LDFLAGS; do
14175 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14176 aix_use_runtimelinking
=yes
14183 exp_sym_flag
='-bexport'
14184 no_entry_flag
='-bnoentry'
14187 # When large executables or shared objects are built, AIX ld can
14188 # have problems creating the table of contents. If linking a library
14189 # or program results in "error TOC overflow" add -mminimal-toc to
14190 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14191 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14194 hardcode_direct_FC
=yes
14195 hardcode_direct_absolute_FC
=yes
14196 hardcode_libdir_separator_FC
=':'
14197 link_all_deplibs_FC
=yes
14198 file_list_spec_FC
='${wl}-f,'
14200 if test "$GCC" = yes; then
14201 case $host_os in aix4.
[012]|aix4.
[012].
*)
14202 # We only want to do this on AIX 4.2 and lower, the check
14203 # below for broken collect2 doesn't work under 4.3+
14204 collect2name
=`${CC} -print-prog-name=collect2`
14205 if test -f "$collect2name" &&
14206 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14208 # We have reworked collect2
14211 # We have old collect2
14212 hardcode_direct_FC
=unsupported
14213 # It fails to find uninstalled libraries when the uninstalled
14214 # path is not listed in the libpath. Setting hardcode_minus_L
14215 # to unsupported forces relinking
14216 hardcode_minus_L_FC
=yes
14217 hardcode_libdir_flag_spec_FC
='-L$libdir'
14218 hardcode_libdir_separator_FC
=
14222 shared_flag
='-shared'
14223 if test "$aix_use_runtimelinking" = yes; then
14224 shared_flag
="$shared_flag "'${wl}-G'
14228 if test "$host_cpu" = ia64
; then
14229 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14230 # chokes on -Wl,-G. The following line is correct:
14233 if test "$aix_use_runtimelinking" = yes; then
14234 shared_flag
='${wl}-G'
14236 shared_flag
='${wl}-bM:SRE'
14241 export_dynamic_flag_spec_FC
='${wl}-bexpall'
14242 # It seems that -bexpall does not export symbols beginning with
14243 # underscore (_), so it is better to generate a list of symbols to export.
14244 always_export_symbols_FC
=yes
14245 if test "$aix_use_runtimelinking" = yes; then
14246 # Warning - without using the other runtime loading flags (-brtl),
14247 # -berok will link without error, but may produce a broken library.
14248 allow_undefined_flag_FC
='-berok'
14249 # Determine the default libpath from the value encoded in an
14250 # empty executable.
14251 if test x
$gcc_no_link = xyes
; then
14252 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14254 cat > conftest.
$ac_ext <<_ACEOF
14259 if ac_fn_fc_try_link
"$LINENO"; then :
14261 lt_aix_libpath_sed
='
14262 /Import File Strings/,/^$/ {
14268 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14269 # Check for a 64-bit object if we didn't find anything.
14270 if test -z "$aix_libpath"; then
14271 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14274 rm -f core conftest.err conftest.
$ac_objext \
14275 conftest
$ac_exeext conftest.
$ac_ext
14276 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14278 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14279 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"
14281 if test "$host_cpu" = ia64
; then
14282 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
14283 allow_undefined_flag_FC
="-z nodefs"
14284 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"
14286 # Determine the default libpath from the value encoded in an
14287 # empty executable.
14288 if test x
$gcc_no_link = xyes
; then
14289 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14291 cat > conftest.
$ac_ext <<_ACEOF
14296 if ac_fn_fc_try_link
"$LINENO"; then :
14298 lt_aix_libpath_sed
='
14299 /Import File Strings/,/^$/ {
14305 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14306 # Check for a 64-bit object if we didn't find anything.
14307 if test -z "$aix_libpath"; then
14308 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14311 rm -f core conftest.err conftest.
$ac_objext \
14312 conftest
$ac_exeext conftest.
$ac_ext
14313 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14315 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14316 # Warning - without using the other run time loading flags,
14317 # -berok will link without error, but may produce a broken library.
14318 no_undefined_flag_FC
=' ${wl}-bernotok'
14319 allow_undefined_flag_FC
=' ${wl}-berok'
14320 if test "$with_gnu_ld" = yes; then
14321 # We only use this code for GNU lds that support --whole-archive.
14322 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14324 # Exported symbols can be pulled into shared objects from archives
14325 whole_archive_flag_spec_FC
='$convenience'
14327 archive_cmds_need_lc_FC
=yes
14328 # This is similar to how AIX traditionally builds its shared libraries.
14329 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'
14337 # see comment about AmigaOS4 .so support
14338 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14339 archive_expsym_cmds_FC
=''
14342 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)'
14343 hardcode_libdir_flag_spec_FC
='-L$libdir'
14344 hardcode_minus_L_FC
=yes
14350 export_dynamic_flag_spec_FC
=-rdynamic
14353 cygwin
* | mingw
* | pw32
* | cegcc
*)
14354 # When not using gcc, we currently assume that we are using
14355 # Microsoft Visual C++.
14356 # hardcode_libdir_flag_spec is actually meaningless, as there is
14357 # no search path for DLLs.
14358 hardcode_libdir_flag_spec_FC
=' '
14359 allow_undefined_flag_FC
=unsupported
14360 # Tell ltmain to make .lib files, not .a files.
14362 # Tell ltmain to make .dll files, not .so files.
14364 # FIXME: Setting linknames here is a bad hack.
14365 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14366 # The linker will automatically build a .lib file if we build a DLL.
14367 old_archive_from_new_cmds_FC
='true'
14368 # FIXME: Should let the user specify the lib program.
14369 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14370 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
14371 enable_shared_with_static_runtimes_FC
=yes
14374 darwin
* | rhapsody
*)
14377 archive_cmds_need_lc_FC
=no
14378 hardcode_direct_FC
=no
14379 hardcode_automatic_FC
=yes
14380 hardcode_shlibpath_var_FC
=unsupported
14381 if test "$lt_cv_ld_force_load" = "yes"; then
14382 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\"`'
14384 whole_archive_flag_spec_FC
=''
14386 link_all_deplibs_FC
=yes
14387 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
14388 case $cc_basename in
14389 ifort
*) _lt_dar_can_shared
=yes ;;
14390 *) _lt_dar_can_shared
=$GCC ;;
14392 if test "$_lt_dar_can_shared" = "yes"; then
14393 output_verbose_link_cmd
=func_echo_all
14394 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}"
14395 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14396 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}"
14397 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}"
14406 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14407 hardcode_libdir_flag_spec_FC
='-L$libdir'
14408 hardcode_shlibpath_var_FC
=no
14411 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14412 # support. Future versions do this automatically, but an explicit c++rt0.o
14413 # does not break anything, and helps significantly (at the cost of a little
14416 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14417 hardcode_libdir_flag_spec_FC
='-R$libdir'
14418 hardcode_direct_FC
=yes
14419 hardcode_shlibpath_var_FC
=no
14422 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14424 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14425 hardcode_direct_FC
=yes
14426 hardcode_minus_L_FC
=yes
14427 hardcode_shlibpath_var_FC
=no
14430 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14431 freebsd
* | dragonfly
*)
14432 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14433 hardcode_libdir_flag_spec_FC
='-R$libdir'
14434 hardcode_direct_FC
=yes
14435 hardcode_shlibpath_var_FC
=no
14439 if test "$GCC" = yes; then
14440 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'
14442 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'
14444 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14445 hardcode_libdir_separator_FC
=:
14446 hardcode_direct_FC
=yes
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
14451 export_dynamic_flag_spec_FC
='${wl}-E'
14455 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14456 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14458 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14460 if test "$with_gnu_ld" = no
; then
14461 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14462 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
14463 hardcode_libdir_separator_FC
=:
14464 hardcode_direct_FC
=yes
14465 hardcode_direct_absolute_FC
=yes
14466 export_dynamic_flag_spec_FC
='${wl}-E'
14467 # hardcode_minus_L: Not really in the search PATH,
14468 # but as the default location of the library.
14469 hardcode_minus_L_FC
=yes
14474 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14477 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14480 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14483 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14489 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14492 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14495 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14499 if test "$with_gnu_ld" = no
; then
14500 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14501 hardcode_libdir_separator_FC
=:
14505 hardcode_direct_FC
=no
14506 hardcode_shlibpath_var_FC
=no
14509 hardcode_direct_FC
=yes
14510 hardcode_direct_absolute_FC
=yes
14511 export_dynamic_flag_spec_FC
='${wl}-E'
14513 # hardcode_minus_L: Not really in the search PATH,
14514 # but as the default location of the library.
14515 hardcode_minus_L_FC
=yes
14521 irix5
* | irix6
* | nonstopux
*)
14522 if test "$GCC" = yes; then
14523 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'
14524 # Try to use the -exported_symbol ld option, if it does not
14525 # work, assume that -exports_file does not work either and
14526 # implicitly export all symbols.
14527 save_LDFLAGS
="$LDFLAGS"
14528 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14529 if test x
$gcc_no_link = xyes
; then
14530 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14532 cat > conftest.
$ac_ext <<_ACEOF
14535 if ac_fn_fc_try_link
"$LINENO"; then :
14536 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'
14539 rm -f core conftest.err conftest.
$ac_objext \
14540 conftest
$ac_exeext conftest.
$ac_ext
14541 LDFLAGS
="$save_LDFLAGS"
14543 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'
14544 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'
14546 archive_cmds_need_lc_FC
='no'
14547 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14548 hardcode_libdir_separator_FC
=:
14549 inherit_rpath_FC
=yes
14550 link_all_deplibs_FC
=yes
14554 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14555 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14557 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14559 hardcode_libdir_flag_spec_FC
='-R$libdir'
14560 hardcode_direct_FC
=yes
14561 hardcode_shlibpath_var_FC
=no
14565 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14566 hardcode_direct_FC
=yes
14567 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14568 hardcode_libdir_separator_FC
=:
14569 hardcode_shlibpath_var_FC
=no
14576 if test -f /usr
/libexec
/ld.so
; then
14577 hardcode_direct_FC
=yes
14578 hardcode_shlibpath_var_FC
=no
14579 hardcode_direct_absolute_FC
=yes
14580 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14581 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14582 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14583 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14584 export_dynamic_flag_spec_FC
='${wl}-E'
14587 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14588 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14589 hardcode_libdir_flag_spec_FC
='-R$libdir'
14592 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14593 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14603 hardcode_libdir_flag_spec_FC
='-L$libdir'
14604 hardcode_minus_L_FC
=yes
14605 allow_undefined_flag_FC
=unsupported
14606 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'
14607 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14611 if test "$GCC" = yes; then
14612 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14613 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'
14615 allow_undefined_flag_FC
=' -expect_unresolved \*'
14616 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'
14618 archive_cmds_need_lc_FC
='no'
14619 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14620 hardcode_libdir_separator_FC
=:
14623 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14624 if test "$GCC" = yes; then
14625 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14626 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'
14627 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14629 allow_undefined_flag_FC
=' -expect_unresolved \*'
14630 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'
14631 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~
14632 $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'
14634 # Both c and cxx compiler support -rpath directly
14635 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
14637 archive_cmds_need_lc_FC
='no'
14638 hardcode_libdir_separator_FC
=:
14642 no_undefined_flag_FC
=' -z defs'
14643 if test "$GCC" = yes; then
14645 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14646 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14647 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14649 case `$CC -V 2>&1` in
14652 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14653 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14654 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14658 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14659 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14660 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14664 hardcode_libdir_flag_spec_FC
='-R$libdir'
14665 hardcode_shlibpath_var_FC
=no
14667 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14669 # The compiler driver will combine and reorder linker options,
14670 # but understands `-z linker_flag'. GCC discards it without `$wl',
14671 # but is careful enough not to reorder.
14672 # Supported since Solaris 2.6 (maybe 2.5.1?)
14673 if test "$GCC" = yes; then
14674 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14676 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
14680 link_all_deplibs_FC
=yes
14684 if test "x$host_vendor" = xsequent
; then
14685 # Use $CC to link under sequent, because it throws in some extra .o
14686 # files that make .init and .fini sections work.
14687 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14689 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14691 hardcode_libdir_flag_spec_FC
='-L$libdir'
14692 hardcode_direct_FC
=yes
14693 hardcode_minus_L_FC
=yes
14694 hardcode_shlibpath_var_FC
=no
14698 case $host_vendor in
14700 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14701 hardcode_direct_FC
=yes # is this really true???
14704 ## LD is ld it makes a PLAMLIB
14705 ## CC just makes a GrossModule.
14706 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14707 reload_cmds_FC
='$CC -r -o $output$reload_objs'
14708 hardcode_direct_FC
=no
14711 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14712 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
14715 runpath_var
='LD_RUN_PATH'
14716 hardcode_shlibpath_var_FC
=no
14720 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14721 hardcode_shlibpath_var_FC
=no
14722 export_dynamic_flag_spec_FC
='-Bexport'
14726 if test -d /usr
/nec
; then
14727 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14728 hardcode_shlibpath_var_FC
=no
14729 runpath_var
=LD_RUN_PATH
14730 hardcode_runpath_var
=yes
14735 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14736 no_undefined_flag_FC
='${wl}-z,text'
14737 archive_cmds_need_lc_FC
=no
14738 hardcode_shlibpath_var_FC
=no
14739 runpath_var
='LD_RUN_PATH'
14741 if test "$GCC" = yes; then
14742 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14743 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14745 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14746 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14750 sysv5
* | sco3.2v5
* | sco5v6
*)
14751 # Note: We can NOT use -z defs as we might desire, because we do not
14752 # link with -lc, and that would cause any symbols used from libc to
14753 # always be unresolved, which means just about no library would
14754 # ever link correctly. If we're not using GNU ld we use -z text
14755 # though, which does catch some bad symbols but isn't as heavy-handed
14757 no_undefined_flag_FC
='${wl}-z,text'
14758 allow_undefined_flag_FC
='${wl}-z,nodefs'
14759 archive_cmds_need_lc_FC
=no
14760 hardcode_shlibpath_var_FC
=no
14761 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
14762 hardcode_libdir_separator_FC
=':'
14763 link_all_deplibs_FC
=yes
14764 export_dynamic_flag_spec_FC
='${wl}-Bexport'
14765 runpath_var
='LD_RUN_PATH'
14767 if test "$GCC" = yes; then
14768 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14769 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14771 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14772 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14777 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14778 hardcode_libdir_flag_spec_FC
='-L$libdir'
14779 hardcode_shlibpath_var_FC
=no
14787 if test x
$host_vendor = xsni
; then
14789 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
14790 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14797 $as_echo "$ld_shlibs_FC" >&6; }
14798 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
14800 with_gnu_ld_FC
=$with_gnu_ld
14808 # Do we need to explicitly link libc?
14810 case "x$archive_cmds_need_lc_FC" in
14812 # Assume -lc should be added
14813 archive_cmds_need_lc_FC
=yes
14815 if test "$enable_shared" = yes && test "$GCC" = yes; then
14816 case $archive_cmds_FC in
14818 # FIXME: we may have to deal with multi-command sequences.
14821 # Test whether the compiler implicitly links with -lc since on some
14822 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14823 # to ld, don't add -lc before -lgcc.
14824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14825 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14826 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14827 $as_echo_n "(cached) " >&6
14830 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14832 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14833 (eval $ac_compile) 2>&5
14835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14836 test $ac_status = 0; } 2>conftest.err
; then
14839 libobjs
=conftest.
$ac_objext
14841 wl
=$lt_prog_compiler_wl_FC
14842 pic_flag
=$lt_prog_compiler_pic_FC
14848 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
14849 allow_undefined_flag_FC
=
14850 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14851 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14854 test $ac_status = 0; }
14856 lt_cv_archive_cmds_need_lc_FC
=no
14858 lt_cv_archive_cmds_need_lc_FC
=yes
14860 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
14862 cat conftest.err
1>&5
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14868 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14869 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14940 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14942 library_names_spec
=
14943 libname_spec
='lib$name'
14947 postuninstall_cmds
=
14951 shlibpath_overrides_runpath
=unknown
14953 dynamic_linker
="$host_os ld.so"
14954 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14955 need_lib_prefix
=unknown
14956 hardcode_into_libs
=no
14958 # when you set need_version to no, make sure it does not cause -set_version
14959 # flags to be left without arguments
14960 need_version
=unknown
14965 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14966 shlibpath_var
=LIBPATH
14968 # AIX 3 has no versioning support, so we append a major version to the name.
14969 soname_spec
='${libname}${release}${shared_ext}$major'
14976 hardcode_into_libs
=yes
14977 if test "$host_cpu" = ia64
; then
14978 # AIX 5 supports IA64
14979 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14980 shlibpath_var
=LD_LIBRARY_PATH
14982 # With GCC up to 2.95.x, collect2 would create an import file
14983 # for dependence libraries. The import file would start with
14984 # the line `#! .'. This would cause the generated library to
14985 # depend on `.', always an invalid library. This was fixed in
14986 # development snapshots of GCC prior to 3.0.
14988 aix4 | aix4.
[01] | aix4.
[01].
*)
14989 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14991 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14994 can_build_shared
=no
14998 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14999 # soname into executable. Probably we can add versioning support to
15000 # collect2, so additional links can be useful in future.
15001 if test "$aix_use_runtimelinking" = yes; then
15002 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15003 # instead of lib<name>.a to let people know that these are not
15004 # typical AIX shared libraries.
15005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15007 # We preserve .a as extension for shared libraries through AIX4.2
15008 # and later when we are not doing run time linking.
15009 library_names_spec
='${libname}${release}.a $libname.a'
15010 soname_spec
='${libname}${release}${shared_ext}$major'
15012 shlibpath_var
=LIBPATH
15019 # Since July 2007 AmigaOS4 officially supports .so libraries.
15020 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15021 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15024 library_names_spec
='$libname.ixlibrary $libname.a'
15025 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15026 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'
15032 library_names_spec
='${libname}${shared_ext}'
15033 dynamic_linker
="$host_os ld.so"
15034 shlibpath_var
=LIBRARY_PATH
15040 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15041 soname_spec
='${libname}${release}${shared_ext}$major'
15042 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15043 shlibpath_var
=LD_LIBRARY_PATH
15044 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15045 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15046 # the default ld.so.conf also contains /usr/contrib/lib and
15047 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15048 # libtool to hard-code these into programs
15051 cygwin
* | mingw
* | pw32
* | cegcc
*)
15052 version_type
=windows
15057 case $GCC,$host_os in
15058 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15059 library_names_spec
='$libname.dll.a'
15060 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15061 postinstall_cmds
='base_file=`basename \${file}`~
15062 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15063 dldir=$destdir/`dirname \$dlpath`~
15064 test -d \$dldir || mkdir -p \$dldir~
15065 $install_prog $dir/$dlname \$dldir/$dlname~
15066 chmod a+x \$dldir/$dlname~
15067 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15068 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15070 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15071 dlpath=$dir/\$dldll~
15073 shlibpath_overrides_runpath
=yes
15077 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15078 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15082 # MinGW DLLs use traditional 'lib' prefix
15083 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15086 # pw32 DLLs use 'pw' prefix rather than 'lib'
15087 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15093 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15096 dynamic_linker
='Win32 ld.exe'
15097 # FIXME: first we should search . and the directory the executable is in
15101 darwin
* | rhapsody
*)
15102 dynamic_linker
="$host_os dyld"
15103 version_type
=darwin
15106 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15107 soname_spec
='${libname}${release}${major}$shared_ext'
15108 shlibpath_overrides_runpath
=yes
15109 shlibpath_var
=DYLD_LIBRARY_PATH
15110 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15112 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15119 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15120 soname_spec
='${libname}${release}${shared_ext}$major'
15121 shlibpath_var
=LD_LIBRARY_PATH
15124 freebsd
* | dragonfly
*)
15125 # DragonFly does not have aout. When/if they implement a new
15126 # versioning mechanism, adjust this.
15127 if test -x /usr
/bin
/objformat
; then
15128 objformat
=`/usr/bin/objformat`
15131 freebsd
[23].
*) objformat
=aout
;;
15132 *) objformat
=elf
;;
15135 version_type
=freebsd-
$objformat
15136 case $version_type in
15138 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15143 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15147 shlibpath_var
=LD_LIBRARY_PATH
15150 shlibpath_overrides_runpath
=yes
15152 freebsd3.
[01]* | freebsdelf3.
[01]*)
15153 shlibpath_overrides_runpath
=yes
15154 hardcode_into_libs
=yes
15156 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15157 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15158 shlibpath_overrides_runpath
=no
15159 hardcode_into_libs
=yes
15161 *) # from 4.6 on, and DragonFly
15162 shlibpath_overrides_runpath
=yes
15163 hardcode_into_libs
=yes
15172 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15173 soname_spec
='${libname}${release}${shared_ext}$major'
15174 shlibpath_var
=LD_LIBRARY_PATH
15175 hardcode_into_libs
=yes
15182 dynamic_linker
="$host_os runtime_loader"
15183 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15184 soname_spec
='${libname}${release}${shared_ext}$major'
15185 shlibpath_var
=LIBRARY_PATH
15186 shlibpath_overrides_runpath
=yes
15187 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15188 hardcode_into_libs
=yes
15191 hpux9
* | hpux10
* | hpux11
*)
15192 # Give a soname corresponding to the major version so that dld.sl refuses to
15193 # link against other versions.
15200 hardcode_into_libs
=yes
15201 dynamic_linker
="$host_os dld.so"
15202 shlibpath_var
=LD_LIBRARY_PATH
15203 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15204 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15205 soname_spec
='${libname}${release}${shared_ext}$major'
15206 if test "X$HPUX_IA64_MODE" = X32
; then
15207 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15209 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15211 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15215 hardcode_into_libs
=yes
15216 dynamic_linker
="$host_os dld.sl"
15217 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15218 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15219 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15220 soname_spec
='${libname}${release}${shared_ext}$major'
15221 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15222 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15226 dynamic_linker
="$host_os dld.sl"
15227 shlibpath_var
=SHLIB_PATH
15228 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15229 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15230 soname_spec
='${libname}${release}${shared_ext}$major'
15233 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15234 postinstall_cmds
='chmod 555 $lib'
15235 # or fails outright, so override atomically:
15236 install_override_mode
=555
15243 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15244 soname_spec
='${libname}${release}${shared_ext}$major'
15245 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15246 shlibpath_var
=LD_LIBRARY_PATH
15247 shlibpath_overrides_runpath
=no
15248 hardcode_into_libs
=yes
15251 irix5
* | irix6
* | nonstopux
*)
15253 nonstopux
*) version_type
=nonstopux
;;
15255 if test "$lt_cv_prog_gnu_ld" = yes; then
15263 soname_spec
='${libname}${release}${shared_ext}$major'
15264 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15266 irix5
* | nonstopux
*)
15267 libsuff
= shlibsuff
=
15270 case $LD in # libtool.m4 will add one of these switches to LD
15271 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15272 libsuff
= shlibsuff
= libmagic
=32-bit;;
15273 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15274 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15275 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15276 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15277 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15281 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15282 shlibpath_overrides_runpath
=no
15283 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15284 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15285 hardcode_into_libs
=yes
15288 # No shared lib support for Linux oldld, aout, or coff.
15289 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15293 # This must be Linux ELF.
15294 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15298 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15299 soname_spec
='${libname}${release}${shared_ext}$major'
15300 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15301 shlibpath_var
=LD_LIBRARY_PATH
15302 shlibpath_overrides_runpath
=no
15304 # Some binutils ld are patched to set DT_RUNPATH
15305 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15306 $as_echo_n "(cached) " >&6
15308 lt_cv_shlibpath_overrides_runpath
=no
15309 save_LDFLAGS
=$LDFLAGS
15310 save_libdir
=$libdir
15311 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15312 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15313 if test x
$gcc_no_link = xyes
; then
15314 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15316 cat > conftest.
$ac_ext <<_ACEOF
15321 if ac_fn_fc_try_link
"$LINENO"; then :
15322 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15323 lt_cv_shlibpath_overrides_runpath
=yes
15326 rm -f core conftest.err conftest.
$ac_objext \
15327 conftest
$ac_exeext conftest.
$ac_ext
15328 LDFLAGS
=$save_LDFLAGS
15329 libdir
=$save_libdir
15333 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15335 # This implies no fast_install, which is unacceptable.
15336 # Some rework will be needed to allow for fast_install
15337 # before this can be enabled.
15338 hardcode_into_libs
=yes
15340 # Append ld.so.conf contents to the search path
15341 if test -f /etc
/ld.so.conf
; then
15342 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' ' '`
15343 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15346 # We used to test for /lib/ld.so.1 and disable shared libraries on
15347 # powerpc, because MkLinux only supported shared libraries with the
15348 # GNU dynamic linker. Since this was broken with cross compilers,
15349 # most powerpc-linux boxes support dynamic linking these days and
15350 # people can always --disable-shared, the test was removed, and we
15351 # assume the GNU/Linux dynamic linker is in use.
15352 dynamic_linker
='GNU/Linux ld.so'
15359 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15360 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15361 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15362 dynamic_linker
='NetBSD (a.out) ld.so'
15364 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15365 soname_spec
='${libname}${release}${shared_ext}$major'
15366 dynamic_linker
='NetBSD ld.elf_so'
15368 shlibpath_var
=LD_LIBRARY_PATH
15369 shlibpath_overrides_runpath
=yes
15370 hardcode_into_libs
=yes
15375 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15376 shlibpath_var
=LD_LIBRARY_PATH
15377 shlibpath_overrides_runpath
=yes
15384 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15385 soname_spec
='${libname}${release}${shared_ext}$major'
15386 shlibpath_var
=LD_LIBRARY_PATH
15387 shlibpath_overrides_runpath
=no
15388 hardcode_into_libs
=yes
15389 dynamic_linker
='ldqnx.so'
15394 sys_lib_dlsearch_path_spec
="/usr/lib"
15396 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15398 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15399 *) need_version
=no
;;
15401 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15402 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15403 shlibpath_var
=LD_LIBRARY_PATH
15404 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15406 openbsd2.
[89] | openbsd2.
[89].
*)
15407 shlibpath_overrides_runpath
=no
15410 shlibpath_overrides_runpath
=yes
15414 shlibpath_overrides_runpath
=yes
15419 libname_spec
='$name'
15422 library_names_spec
='$libname${shared_ext} $libname.a'
15423 dynamic_linker
='OS/2 ld.exe'
15424 shlibpath_var
=LIBPATH
15427 osf3
* | osf4
* | osf5
*)
15431 soname_spec
='${libname}${release}${shared_ext}$major'
15432 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15433 shlibpath_var
=LD_LIBRARY_PATH
15434 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15435 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15446 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15447 soname_spec
='${libname}${release}${shared_ext}$major'
15448 shlibpath_var
=LD_LIBRARY_PATH
15449 shlibpath_overrides_runpath
=yes
15450 hardcode_into_libs
=yes
15451 # ldd complains unless libraries are executable
15452 postinstall_cmds
='chmod +x $lib'
15457 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15458 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15459 shlibpath_var
=LD_LIBRARY_PATH
15460 shlibpath_overrides_runpath
=yes
15461 if test "$with_gnu_ld" = yes; then
15469 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15470 soname_spec
='${libname}${release}${shared_ext}$major'
15471 shlibpath_var
=LD_LIBRARY_PATH
15472 case $host_vendor in
15474 shlibpath_overrides_runpath
=no
15476 runpath_var
=LD_RUN_PATH
15484 shlibpath_overrides_runpath
=no
15485 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15491 if test -d /usr
/nec
;then
15493 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15494 soname_spec
='$libname${shared_ext}.$major'
15495 shlibpath_var
=LD_LIBRARY_PATH
15499 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15500 version_type
=freebsd-elf
15503 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15504 soname_spec
='${libname}${release}${shared_ext}$major'
15505 shlibpath_var
=LD_LIBRARY_PATH
15506 shlibpath_overrides_runpath
=yes
15507 hardcode_into_libs
=yes
15508 if test "$with_gnu_ld" = yes; then
15509 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15511 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15514 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15518 sys_lib_dlsearch_path_spec
='/usr/lib'
15522 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15526 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15527 shlibpath_var
=LD_LIBRARY_PATH
15528 shlibpath_overrides_runpath
=no
15529 hardcode_into_libs
=yes
15534 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15535 soname_spec
='${libname}${release}${shared_ext}$major'
15536 shlibpath_var
=LD_LIBRARY_PATH
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15544 $as_echo "$dynamic_linker" >&6; }
15545 test "$dynamic_linker" = no
&& can_build_shared
=no
15547 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15548 if test "$GCC" = yes; then
15549 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15552 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15553 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15555 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15556 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15597 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15598 hardcode_action_FC
=
15599 if test -n "$hardcode_libdir_flag_spec_FC" ||
15600 test -n "$runpath_var_FC" ||
15601 test "X$hardcode_automatic_FC" = "Xyes" ; then
15603 # We can hardcode non-existent directories.
15604 if test "$hardcode_direct_FC" != no
&&
15605 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15606 # have to relink, otherwise we might link with an installed library
15607 # when we should be linking with a yet-to-be-installed one
15608 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15609 test "$hardcode_minus_L_FC" != no
; then
15610 # Linking always hardcodes the temporary library directory.
15611 hardcode_action_FC
=relink
15613 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15614 hardcode_action_FC
=immediate
15617 # We cannot hardcode anything, or else we can only hardcode existing
15619 hardcode_action_FC
=unsupported
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15622 $as_echo "$hardcode_action_FC" >&6; }
15624 if test "$hardcode_action_FC" = relink ||
15625 test "$inherit_rpath_FC" = yes; then
15626 # Fast installation is not supported
15627 enable_fast_install
=no
15628 elif test "$shlibpath_overrides_runpath" = yes ||
15629 test "$enable_shared" = no
; then
15630 # Fast installation is not necessary
15631 enable_fast_install
=needless
15640 fi # test -n "$compiler"
15644 fi # test "$_lt_disable_FC" != yes
15647 ac_cpp
='$CPP $CPPFLAGS'
15648 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15649 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15650 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15654 # extra LD Flags which are required for targets
15657 # Darwin needs -single_module when linking libgfortran
15658 extra_ldflags_libgfortran
=-Wl,-single_module
15663 # We need a working compiler at that point, otherwise give a clear
15664 # error message and bail out.
15666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15667 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15668 ac_ext
=${ac_fc_srcext-f}
15669 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15670 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15671 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
15673 cat > conftest.
$ac_ext <<_ACEOF
15676 real, parameter :: bar = sin (12.34 / 2.5)
15679 if ac_fn_fc_try_compile
"$LINENO"; then :
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15681 $as_echo "yes" >&6; }
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15684 $as_echo "no" >&6; }
15685 as_fn_error
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15690 ac_cpp
='$CPP $CPPFLAGS'
15691 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15692 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15693 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15697 # Check whether --enable-largefile was given.
15698 if test "${enable_largefile+set}" = set; then :
15699 enableval
=$enable_largefile;
15702 if test "$enable_largefile" != no
; then
15704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15705 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15706 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15707 $as_echo_n "(cached) " >&6
15709 ac_cv_sys_largefile_CC
=no
15710 if test "$GCC" != yes; then
15713 # IRIX 6.2 and later do not support large files by default,
15714 # so use the C compiler's -n32 option if that helps.
15715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15716 /* end confdefs.h. */
15717 #include <sys/types.h>
15718 /* Check that off_t can represent 2**63 - 1 correctly.
15719 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15720 since some C++ compilers masquerading as C compilers
15721 incorrectly reject 9223372036854775807. */
15722 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15723 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15724 && LARGE_OFF_T % 2147483647 == 1)
15734 if ac_fn_c_try_compile
"$LINENO"; then :
15737 rm -f core conftest.err conftest.
$ac_objext
15739 if ac_fn_c_try_compile
"$LINENO"; then :
15740 ac_cv_sys_largefile_CC
=' -n32'; break
15742 rm -f core conftest.err conftest.
$ac_objext
15746 rm -f conftest.
$ac_ext
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15750 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15751 if test "$ac_cv_sys_largefile_CC" != no
; then
15752 CC
=$CC$ac_cv_sys_largefile_CC
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15756 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15757 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15758 $as_echo_n "(cached) " >&6
15761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15762 /* end confdefs.h. */
15763 #include <sys/types.h>
15764 /* Check that off_t can represent 2**63 - 1 correctly.
15765 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15766 since some C++ compilers masquerading as C compilers
15767 incorrectly reject 9223372036854775807. */
15768 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15769 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15770 && LARGE_OFF_T % 2147483647 == 1)
15780 if ac_fn_c_try_compile
"$LINENO"; then :
15781 ac_cv_sys_file_offset_bits
=no
; break
15783 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15785 /* end confdefs.h. */
15786 #define _FILE_OFFSET_BITS 64
15787 #include <sys/types.h>
15788 /* Check that off_t can represent 2**63 - 1 correctly.
15789 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15790 since some C++ compilers masquerading as C compilers
15791 incorrectly reject 9223372036854775807. */
15792 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15793 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15794 && LARGE_OFF_T % 2147483647 == 1)
15804 if ac_fn_c_try_compile
"$LINENO"; then :
15805 ac_cv_sys_file_offset_bits
=64; break
15807 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15808 ac_cv_sys_file_offset_bits
=unknown
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15813 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15814 case $ac_cv_sys_file_offset_bits in #(
15817 cat >>confdefs.h
<<_ACEOF
15818 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15823 if test $ac_cv_sys_file_offset_bits = unknown
; then
15824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15825 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15826 if test "${ac_cv_sys_large_files+set}" = set; then :
15827 $as_echo_n "(cached) " >&6
15830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15831 /* end confdefs.h. */
15832 #include <sys/types.h>
15833 /* Check that off_t can represent 2**63 - 1 correctly.
15834 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15835 since some C++ compilers masquerading as C compilers
15836 incorrectly reject 9223372036854775807. */
15837 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15838 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15839 && LARGE_OFF_T % 2147483647 == 1)
15849 if ac_fn_c_try_compile
"$LINENO"; then :
15850 ac_cv_sys_large_files
=no
; break
15852 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15854 /* end confdefs.h. */
15855 #define _LARGE_FILES 1
15856 #include <sys/types.h>
15857 /* Check that off_t can represent 2**63 - 1 correctly.
15858 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15859 since some C++ compilers masquerading as C compilers
15860 incorrectly reject 9223372036854775807. */
15861 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15862 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15863 && LARGE_OFF_T % 2147483647 == 1)
15873 if ac_fn_c_try_compile
"$LINENO"; then :
15874 ac_cv_sys_large_files
=1; break
15876 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15877 ac_cv_sys_large_files
=unknown
15881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15882 $as_echo "$ac_cv_sys_large_files" >&6; }
15883 case $ac_cv_sys_large_files in #(
15886 cat >>confdefs.h
<<_ACEOF
15887 #define _LARGE_FILES $ac_cv_sys_large_files
15897 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15898 if test "x$ac_cv_type_off_t" = x
""yes; then :
15902 cat >>confdefs.h
<<_ACEOF
15903 #define off_t long int
15909 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15910 if test "x$ac_cv_type_intptr_t" = x
""yes; then :
15912 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
15915 for ac_type
in 'int' 'long int' 'long long int'; do
15916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15917 /* end confdefs.h. */
15918 $ac_includes_default
15922 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15929 if ac_fn_c_try_compile
"$LINENO"; then :
15931 cat >>confdefs.h
<<_ACEOF
15932 #define intptr_t $ac_type
15937 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15938 test -z "$ac_type" && break
15944 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15945 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15947 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
15950 for ac_type
in 'unsigned int' 'unsigned long int' \
15951 'unsigned long long int'; do
15952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15953 /* end confdefs.h. */
15954 $ac_includes_default
15958 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15965 if ac_fn_c_try_compile
"$LINENO"; then :
15967 cat >>confdefs.h
<<_ACEOF
15968 #define uintptr_t $ac_type
15973 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15974 test -z "$ac_type" && break
15979 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
15980 if test "x$ac_cv_type_ptrdiff_t" = x
""yes; then :
15982 cat >>confdefs.h
<<_ACEOF
15983 #define HAVE_PTRDIFF_T 1
15990 # check header files (we assume C89 is available, so don't check for that)
15994 for ac_header
in $ac_header_list
15996 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15997 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
15999 eval as_val
=\$
$as_ac_Header
16000 if test "x$as_val" = x
""yes; then :
16001 cat >>confdefs.h
<<_ACEOF
16002 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16043 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16045 acx_cv_header_stdint
=stddef.h
16046 acx_cv_header_stdint_kind
="(already complete)"
16047 for i
in stdint.h
$inttype_headers; do
16048 unset ac_cv_type_uintptr_t
16049 unset ac_cv_type_uintmax_t
16050 unset ac_cv_type_int_least32_t
16051 unset ac_cv_type_int_fast32_t
16052 unset ac_cv_type_uint64_t
16053 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16054 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16057 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
16058 acx_cv_header_stdint
=$i
16063 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16066 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16069 acx_cv_header_stdint_kind
="(mostly complete)"
16072 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16075 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
16078 acx_cv_header_stdint_kind
="(mostly complete)"
16081 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16084 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
16087 acx_cv_header_stdint_kind
="(mostly complete)"
16090 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16093 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16096 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16101 if test "$acx_cv_header_stdint" = stddef.h
; then
16102 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16103 for i
in stdint.h
$inttype_headers; do
16104 unset ac_cv_type_uintptr_t
16105 unset ac_cv_type_uint32_t
16106 unset ac_cv_type_uint64_t
16107 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16108 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16111 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
16112 acx_cv_header_stdint
=$i
16117 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16120 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16124 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16127 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16134 if test "$acx_cv_header_stdint" = stddef.h
; then
16135 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16136 for i
in sys
/types.h
$inttype_headers; do
16137 unset ac_cv_type_u_int32_t
16138 unset ac_cv_type_u_int64_t
16139 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16140 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16143 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
16144 acx_cv_header_stdint
=$i
16149 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16152 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
16159 if test "$acx_cv_header_stdint" = stddef.h
; then
16160 acx_cv_header_stdint_kind
="(using manual detection)"
16163 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16164 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16165 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16166 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16167 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16169 # ----------------- Summarize what we found so far
16171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16172 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16174 case `$as_basename -- gstdint.h ||
16175 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16176 Xgstdint.h : 'X\(//\)$' \| \
16177 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16178 $as_echo X/gstdint.h |
16179 sed '/^.*\/\([^/][^/]*\)\/*$/{
16192 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16193 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16194 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16195 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16200 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16202 # ----------------- done included file, check C basic types --------
16204 # Lacking an uintptr_t? Test size of void *
16205 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16206 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16207 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16208 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16209 # This bug is HP SR number 8606223364.
16210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16211 $as_echo_n "checking size of void *... " >&6; }
16212 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16213 $as_echo_n "(cached) " >&6
16215 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16218 if test "$ac_cv_type_void_p" = yes; then
16219 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16220 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16221 { as_fn_set_status
77
16222 as_fn_error
"cannot compute sizeof (void *)
16223 See \`config.log' for more details." "$LINENO" 5; }; }
16225 ac_cv_sizeof_void_p
=0
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16231 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16235 cat >>confdefs.h
<<_ACEOF
16236 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16242 # Lacking an uint64_t? Test size of long
16243 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16244 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16245 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16246 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16247 # This bug is HP SR number 8606223364.
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16249 $as_echo_n "checking size of long... " >&6; }
16250 if test "${ac_cv_sizeof_long+set}" = set; then :
16251 $as_echo_n "(cached) " >&6
16253 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16256 if test "$ac_cv_type_long" = yes; then
16257 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16259 { as_fn_set_status
77
16260 as_fn_error
"cannot compute sizeof (long)
16261 See \`config.log' for more details." "$LINENO" 5; }; }
16263 ac_cv_sizeof_long
=0
16268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16269 $as_echo "$ac_cv_sizeof_long" >&6; }
16273 cat >>confdefs.h
<<_ACEOF
16274 #define SIZEOF_LONG $ac_cv_sizeof_long
16280 if test $acx_cv_header_stdint = stddef.h
; then
16281 # Lacking a good header? Test size of everything and deduce all types.
16282 # The cast to long int works around a bug in the HP C Compiler
16283 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16284 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16285 # This bug is HP SR number 8606223364.
16286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16287 $as_echo_n "checking size of int... " >&6; }
16288 if test "${ac_cv_sizeof_int+set}" = set; then :
16289 $as_echo_n "(cached) " >&6
16291 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16294 if test "$ac_cv_type_int" = yes; then
16295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16297 { as_fn_set_status
77
16298 as_fn_error
"cannot compute sizeof (int)
16299 See \`config.log' for more details." "$LINENO" 5; }; }
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16307 $as_echo "$ac_cv_sizeof_int" >&6; }
16311 cat >>confdefs.h
<<_ACEOF
16312 #define SIZEOF_INT $ac_cv_sizeof_int
16316 # The cast to long int works around a bug in the HP C Compiler
16317 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16318 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16319 # This bug is HP SR number 8606223364.
16320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16321 $as_echo_n "checking size of short... " >&6; }
16322 if test "${ac_cv_sizeof_short+set}" = set; then :
16323 $as_echo_n "(cached) " >&6
16325 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16328 if test "$ac_cv_type_short" = yes; then
16329 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16330 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16331 { as_fn_set_status
77
16332 as_fn_error
"cannot compute sizeof (short)
16333 See \`config.log' for more details." "$LINENO" 5; }; }
16335 ac_cv_sizeof_short
=0
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16341 $as_echo "$ac_cv_sizeof_short" >&6; }
16345 cat >>confdefs.h
<<_ACEOF
16346 #define SIZEOF_SHORT $ac_cv_sizeof_short
16350 # The cast to long int works around a bug in the HP C Compiler
16351 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16352 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16353 # This bug is HP SR number 8606223364.
16354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16355 $as_echo_n "checking size of char... " >&6; }
16356 if test "${ac_cv_sizeof_char+set}" = set; then :
16357 $as_echo_n "(cached) " >&6
16359 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16362 if test "$ac_cv_type_char" = yes; then
16363 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16365 { as_fn_set_status
77
16366 as_fn_error
"cannot compute sizeof (char)
16367 See \`config.log' for more details." "$LINENO" 5; }; }
16369 ac_cv_sizeof_char
=0
16374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16375 $as_echo "$ac_cv_sizeof_char" >&6; }
16379 cat >>confdefs.h
<<_ACEOF
16380 #define SIZEOF_CHAR $ac_cv_sizeof_char
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16386 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16387 case "$ac_cv_sizeof_char" in
16388 1) acx_cv_type_int8_t
=char
;;
16389 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
16391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16392 $as_echo "$acx_cv_type_int8_t" >&6; }
16394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16395 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16396 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16397 2:*) acx_cv_type_int16_t
=int
;;
16398 *:2) acx_cv_type_int16_t
=short
;;
16399 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16402 $as_echo "$acx_cv_type_int16_t" >&6; }
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16405 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16406 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16407 4:*) acx_cv_type_int32_t
=int
;;
16408 *:4) acx_cv_type_int32_t
=long
;;
16409 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
16411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16412 $as_echo "$acx_cv_type_int32_t" >&6; }
16415 # These tests are here to make the output prettier
16417 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16418 case "$ac_cv_sizeof_long" in
16419 8) acx_cv_type_int64_t
=long
;;
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16422 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16424 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16427 # Now we can use the above types
16429 if test "$ac_cv_type_uintptr_t" != yes; then
16430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16431 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16432 case $ac_cv_sizeof_void_p in
16433 2) acx_cv_type_intptr_t
=int16_t
;;
16434 4) acx_cv_type_intptr_t
=int32_t
;;
16435 8) acx_cv_type_intptr_t
=int64_t
;;
16436 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16439 $as_echo "$acx_cv_type_intptr_t" >&6; }
16442 # ----------------- done all checks, emit header -------------
16443 ac_config_commands
="$ac_config_commands gstdint.h"
16448 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16449 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
16451 cat >>confdefs.h
<<_ACEOF
16452 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16457 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16458 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
16460 cat >>confdefs.h
<<_ACEOF
16461 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16466 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16467 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
16469 cat >>confdefs.h
<<_ACEOF
16470 #define HAVE_STRUCT_STAT_ST_RDEV 1
16477 # Check for library functions.
16478 if test "x${with_newlib}" = "xyes"; then
16479 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
16480 # may not work correctly, because the compiler may not be able to
16481 # link executables.
16483 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
16486 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
16489 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
16492 $as_echo "#define HAVE_STRCASESTR 1" >>confdefs.h
16495 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
16498 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
16501 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
16504 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
16507 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
16510 # At some point, we should differentiate between architectures
16511 # like x86, which have long double versions, and alpha/powerpc/etc.,
16512 # which don't. For the time being, punt.
16513 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
16515 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
16522 for ac_func
in $ac_func_list
16524 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16525 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16526 eval as_val
=\$
$as_ac_var
16527 if test "x$as_val" = x
""yes; then :
16528 cat >>confdefs.h
<<_ACEOF
16529 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16648 # Check strerror_r, cannot be above as versions with two and three arguments exist
16650 ac_save_CFLAGS
="$CFLAGS"
16651 CFLAGS
="-Wimplicit-function-declaration -Werror"
16652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16653 /* end confdefs.h. */
16654 #define _GNU_SOURCE 1
16655 #include <string.h>
16656 #include <locale.h>
16660 char s[128]; strerror_r(5, s, 128);
16665 if ac_fn_c_try_compile
"$LINENO"; then :
16667 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16671 CFLAGS
="$ac_save_CFLAGS"
16673 ac_save_CFLAGS
="$CFLAGS"
16674 CFLAGS
="-Wimplicit-function-declaration -Werror"
16675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16676 /* end confdefs.h. */
16677 #define _GNU_SOURCE 1
16678 #include <string.h>
16679 #include <locale.h>
16683 char s[128]; strerror_r(5, s);
16688 if ac_fn_c_try_compile
"$LINENO"; then :
16690 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
16693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16694 CFLAGS
="$ac_save_CFLAGS"
16697 # Check for C99 (and other IEEE) math functions
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16699 $as_echo_n "checking for sin in -lm... " >&6; }
16700 if test "${ac_cv_lib_m_sin+set}" = set; then :
16701 $as_echo_n "(cached) " >&6
16703 ac_check_lib_save_LIBS
=$LIBS
16705 if test x
$gcc_no_link = xyes
; then
16706 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16709 /* end confdefs.h. */
16711 /* Override any GCC internal prototype to avoid an error.
16712 Use char because int might match the return type of a GCC
16713 builtin and then its argument prototype would still apply. */
16726 if ac_fn_c_try_link
"$LINENO"; then :
16727 ac_cv_lib_m_sin
=yes
16731 rm -f core conftest.err conftest.
$ac_objext \
16732 conftest
$ac_exeext conftest.
$ac_ext
16733 LIBS
=$ac_check_lib_save_LIBS
16735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16736 $as_echo "$ac_cv_lib_m_sin" >&6; }
16737 if test "x$ac_cv_lib_m_sin" = x
""yes; then :
16738 cat >>confdefs.h
<<_ACEOF
16739 #define HAVE_LIBM 1
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
16753 $as_echo_n "checking for acosf... " >&6; }
16754 if test "${gcc_cv_math_func_acosf+set}" = set; then :
16755 $as_echo_n "(cached) " >&6
16757 if test x
$gcc_no_link = xyes
; then
16758 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16761 /* end confdefs.h. */
16763 #ifdef HAVE_COMPLEX_H
16764 #include <complex.h>
16770 int (*ptr)() = (int (*)())acosf;
16779 if ac_fn_c_try_link
"$LINENO"; then :
16780 gcc_cv_math_func_acosf
=yes
16782 gcc_cv_math_func_acosf
=no
16784 rm -f core conftest.err conftest.
$ac_objext \
16785 conftest
$ac_exeext conftest.
$ac_ext
16787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
16788 $as_echo "$gcc_cv_math_func_acosf" >&6; }
16789 if test $gcc_cv_math_func_acosf = yes; then
16791 cat >>confdefs.h
<<_ACEOF
16792 #define HAVE_ACOSF 1
16800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
16801 $as_echo_n "checking for acos... " >&6; }
16802 if test "${gcc_cv_math_func_acos+set}" = set; then :
16803 $as_echo_n "(cached) " >&6
16805 if test x
$gcc_no_link = xyes
; then
16806 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16809 /* end confdefs.h. */
16811 #ifdef HAVE_COMPLEX_H
16812 #include <complex.h>
16818 int (*ptr)() = (int (*)())acos;
16827 if ac_fn_c_try_link
"$LINENO"; then :
16828 gcc_cv_math_func_acos
=yes
16830 gcc_cv_math_func_acos
=no
16832 rm -f core conftest.err conftest.
$ac_objext \
16833 conftest
$ac_exeext conftest.
$ac_ext
16835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
16836 $as_echo "$gcc_cv_math_func_acos" >&6; }
16837 if test $gcc_cv_math_func_acos = yes; then
16839 cat >>confdefs.h
<<_ACEOF
16840 #define HAVE_ACOS 1
16848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
16849 $as_echo_n "checking for acosl... " >&6; }
16850 if test "${gcc_cv_math_func_acosl+set}" = set; then :
16851 $as_echo_n "(cached) " >&6
16853 if test x
$gcc_no_link = xyes
; then
16854 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16857 /* end confdefs.h. */
16859 #ifdef HAVE_COMPLEX_H
16860 #include <complex.h>
16866 int (*ptr)() = (int (*)())acosl;
16875 if ac_fn_c_try_link
"$LINENO"; then :
16876 gcc_cv_math_func_acosl
=yes
16878 gcc_cv_math_func_acosl
=no
16880 rm -f core conftest.err conftest.
$ac_objext \
16881 conftest
$ac_exeext conftest.
$ac_ext
16883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
16884 $as_echo "$gcc_cv_math_func_acosl" >&6; }
16885 if test $gcc_cv_math_func_acosl = yes; then
16887 cat >>confdefs.h
<<_ACEOF
16888 #define HAVE_ACOSL 1
16896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
16897 $as_echo_n "checking for acoshf... " >&6; }
16898 if test "${gcc_cv_math_func_acoshf+set}" = set; then :
16899 $as_echo_n "(cached) " >&6
16901 if test x
$gcc_no_link = xyes
; then
16902 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16905 /* end confdefs.h. */
16907 #ifdef HAVE_COMPLEX_H
16908 #include <complex.h>
16914 int (*ptr)() = (int (*)())acoshf;
16923 if ac_fn_c_try_link
"$LINENO"; then :
16924 gcc_cv_math_func_acoshf
=yes
16926 gcc_cv_math_func_acoshf
=no
16928 rm -f core conftest.err conftest.
$ac_objext \
16929 conftest
$ac_exeext conftest.
$ac_ext
16931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
16932 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
16933 if test $gcc_cv_math_func_acoshf = yes; then
16935 cat >>confdefs.h
<<_ACEOF
16936 #define HAVE_ACOSHF 1
16944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
16945 $as_echo_n "checking for acosh... " >&6; }
16946 if test "${gcc_cv_math_func_acosh+set}" = set; then :
16947 $as_echo_n "(cached) " >&6
16949 if test x
$gcc_no_link = xyes
; then
16950 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16953 /* end confdefs.h. */
16955 #ifdef HAVE_COMPLEX_H
16956 #include <complex.h>
16962 int (*ptr)() = (int (*)())acosh;
16971 if ac_fn_c_try_link
"$LINENO"; then :
16972 gcc_cv_math_func_acosh
=yes
16974 gcc_cv_math_func_acosh
=no
16976 rm -f core conftest.err conftest.
$ac_objext \
16977 conftest
$ac_exeext conftest.
$ac_ext
16979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
16980 $as_echo "$gcc_cv_math_func_acosh" >&6; }
16981 if test $gcc_cv_math_func_acosh = yes; then
16983 cat >>confdefs.h
<<_ACEOF
16984 #define HAVE_ACOSH 1
16992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
16993 $as_echo_n "checking for acoshl... " >&6; }
16994 if test "${gcc_cv_math_func_acoshl+set}" = set; then :
16995 $as_echo_n "(cached) " >&6
16997 if test x
$gcc_no_link = xyes
; then
16998 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17001 /* end confdefs.h. */
17003 #ifdef HAVE_COMPLEX_H
17004 #include <complex.h>
17010 int (*ptr)() = (int (*)())acoshl;
17019 if ac_fn_c_try_link
"$LINENO"; then :
17020 gcc_cv_math_func_acoshl
=yes
17022 gcc_cv_math_func_acoshl
=no
17024 rm -f core conftest.err conftest.
$ac_objext \
17025 conftest
$ac_exeext conftest.
$ac_ext
17027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17028 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17029 if test $gcc_cv_math_func_acoshl = yes; then
17031 cat >>confdefs.h
<<_ACEOF
17032 #define HAVE_ACOSHL 1
17040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17041 $as_echo_n "checking for asinf... " >&6; }
17042 if test "${gcc_cv_math_func_asinf+set}" = set; then :
17043 $as_echo_n "(cached) " >&6
17045 if test x
$gcc_no_link = xyes
; then
17046 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17049 /* end confdefs.h. */
17051 #ifdef HAVE_COMPLEX_H
17052 #include <complex.h>
17058 int (*ptr)() = (int (*)())asinf;
17067 if ac_fn_c_try_link
"$LINENO"; then :
17068 gcc_cv_math_func_asinf
=yes
17070 gcc_cv_math_func_asinf
=no
17072 rm -f core conftest.err conftest.
$ac_objext \
17073 conftest
$ac_exeext conftest.
$ac_ext
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17076 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17077 if test $gcc_cv_math_func_asinf = yes; then
17079 cat >>confdefs.h
<<_ACEOF
17080 #define HAVE_ASINF 1
17088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17089 $as_echo_n "checking for asin... " >&6; }
17090 if test "${gcc_cv_math_func_asin+set}" = set; then :
17091 $as_echo_n "(cached) " >&6
17093 if test x
$gcc_no_link = xyes
; then
17094 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17097 /* end confdefs.h. */
17099 #ifdef HAVE_COMPLEX_H
17100 #include <complex.h>
17106 int (*ptr)() = (int (*)())asin;
17115 if ac_fn_c_try_link
"$LINENO"; then :
17116 gcc_cv_math_func_asin
=yes
17118 gcc_cv_math_func_asin
=no
17120 rm -f core conftest.err conftest.
$ac_objext \
17121 conftest
$ac_exeext conftest.
$ac_ext
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17124 $as_echo "$gcc_cv_math_func_asin" >&6; }
17125 if test $gcc_cv_math_func_asin = yes; then
17127 cat >>confdefs.h
<<_ACEOF
17128 #define HAVE_ASIN 1
17136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17137 $as_echo_n "checking for asinl... " >&6; }
17138 if test "${gcc_cv_math_func_asinl+set}" = set; then :
17139 $as_echo_n "(cached) " >&6
17141 if test x
$gcc_no_link = xyes
; then
17142 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17145 /* end confdefs.h. */
17147 #ifdef HAVE_COMPLEX_H
17148 #include <complex.h>
17154 int (*ptr)() = (int (*)())asinl;
17163 if ac_fn_c_try_link
"$LINENO"; then :
17164 gcc_cv_math_func_asinl
=yes
17166 gcc_cv_math_func_asinl
=no
17168 rm -f core conftest.err conftest.
$ac_objext \
17169 conftest
$ac_exeext conftest.
$ac_ext
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17172 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17173 if test $gcc_cv_math_func_asinl = yes; then
17175 cat >>confdefs.h
<<_ACEOF
17176 #define HAVE_ASINL 1
17184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17185 $as_echo_n "checking for asinhf... " >&6; }
17186 if test "${gcc_cv_math_func_asinhf+set}" = set; then :
17187 $as_echo_n "(cached) " >&6
17189 if test x
$gcc_no_link = xyes
; then
17190 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17193 /* end confdefs.h. */
17195 #ifdef HAVE_COMPLEX_H
17196 #include <complex.h>
17202 int (*ptr)() = (int (*)())asinhf;
17211 if ac_fn_c_try_link
"$LINENO"; then :
17212 gcc_cv_math_func_asinhf
=yes
17214 gcc_cv_math_func_asinhf
=no
17216 rm -f core conftest.err conftest.
$ac_objext \
17217 conftest
$ac_exeext conftest.
$ac_ext
17219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17220 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17221 if test $gcc_cv_math_func_asinhf = yes; then
17223 cat >>confdefs.h
<<_ACEOF
17224 #define HAVE_ASINHF 1
17232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17233 $as_echo_n "checking for asinh... " >&6; }
17234 if test "${gcc_cv_math_func_asinh+set}" = set; then :
17235 $as_echo_n "(cached) " >&6
17237 if test x
$gcc_no_link = xyes
; then
17238 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17241 /* end confdefs.h. */
17243 #ifdef HAVE_COMPLEX_H
17244 #include <complex.h>
17250 int (*ptr)() = (int (*)())asinh;
17259 if ac_fn_c_try_link
"$LINENO"; then :
17260 gcc_cv_math_func_asinh
=yes
17262 gcc_cv_math_func_asinh
=no
17264 rm -f core conftest.err conftest.
$ac_objext \
17265 conftest
$ac_exeext conftest.
$ac_ext
17267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17268 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17269 if test $gcc_cv_math_func_asinh = yes; then
17271 cat >>confdefs.h
<<_ACEOF
17272 #define HAVE_ASINH 1
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17281 $as_echo_n "checking for asinhl... " >&6; }
17282 if test "${gcc_cv_math_func_asinhl+set}" = set; then :
17283 $as_echo_n "(cached) " >&6
17285 if test x
$gcc_no_link = xyes
; then
17286 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17289 /* end confdefs.h. */
17291 #ifdef HAVE_COMPLEX_H
17292 #include <complex.h>
17298 int (*ptr)() = (int (*)())asinhl;
17307 if ac_fn_c_try_link
"$LINENO"; then :
17308 gcc_cv_math_func_asinhl
=yes
17310 gcc_cv_math_func_asinhl
=no
17312 rm -f core conftest.err conftest.
$ac_objext \
17313 conftest
$ac_exeext conftest.
$ac_ext
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17316 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17317 if test $gcc_cv_math_func_asinhl = yes; then
17319 cat >>confdefs.h
<<_ACEOF
17320 #define HAVE_ASINHL 1
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17329 $as_echo_n "checking for atan2f... " >&6; }
17330 if test "${gcc_cv_math_func_atan2f+set}" = set; then :
17331 $as_echo_n "(cached) " >&6
17333 if test x
$gcc_no_link = xyes
; then
17334 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17337 /* end confdefs.h. */
17339 #ifdef HAVE_COMPLEX_H
17340 #include <complex.h>
17346 int (*ptr)() = (int (*)())atan2f;
17355 if ac_fn_c_try_link
"$LINENO"; then :
17356 gcc_cv_math_func_atan2f
=yes
17358 gcc_cv_math_func_atan2f
=no
17360 rm -f core conftest.err conftest.
$ac_objext \
17361 conftest
$ac_exeext conftest.
$ac_ext
17363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17364 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17365 if test $gcc_cv_math_func_atan2f = yes; then
17367 cat >>confdefs.h
<<_ACEOF
17368 #define HAVE_ATAN2F 1
17376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17377 $as_echo_n "checking for atan2... " >&6; }
17378 if test "${gcc_cv_math_func_atan2+set}" = set; then :
17379 $as_echo_n "(cached) " >&6
17381 if test x
$gcc_no_link = xyes
; then
17382 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17385 /* end confdefs.h. */
17387 #ifdef HAVE_COMPLEX_H
17388 #include <complex.h>
17394 int (*ptr)() = (int (*)())atan2;
17403 if ac_fn_c_try_link
"$LINENO"; then :
17404 gcc_cv_math_func_atan2
=yes
17406 gcc_cv_math_func_atan2
=no
17408 rm -f core conftest.err conftest.
$ac_objext \
17409 conftest
$ac_exeext conftest.
$ac_ext
17411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17412 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17413 if test $gcc_cv_math_func_atan2 = yes; then
17415 cat >>confdefs.h
<<_ACEOF
17416 #define HAVE_ATAN2 1
17424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17425 $as_echo_n "checking for atan2l... " >&6; }
17426 if test "${gcc_cv_math_func_atan2l+set}" = set; then :
17427 $as_echo_n "(cached) " >&6
17429 if test x
$gcc_no_link = xyes
; then
17430 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17433 /* end confdefs.h. */
17435 #ifdef HAVE_COMPLEX_H
17436 #include <complex.h>
17442 int (*ptr)() = (int (*)())atan2l;
17451 if ac_fn_c_try_link
"$LINENO"; then :
17452 gcc_cv_math_func_atan2l
=yes
17454 gcc_cv_math_func_atan2l
=no
17456 rm -f core conftest.err conftest.
$ac_objext \
17457 conftest
$ac_exeext conftest.
$ac_ext
17459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17460 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17461 if test $gcc_cv_math_func_atan2l = yes; then
17463 cat >>confdefs.h
<<_ACEOF
17464 #define HAVE_ATAN2L 1
17472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17473 $as_echo_n "checking for atanf... " >&6; }
17474 if test "${gcc_cv_math_func_atanf+set}" = set; then :
17475 $as_echo_n "(cached) " >&6
17477 if test x
$gcc_no_link = xyes
; then
17478 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17481 /* end confdefs.h. */
17483 #ifdef HAVE_COMPLEX_H
17484 #include <complex.h>
17490 int (*ptr)() = (int (*)())atanf;
17499 if ac_fn_c_try_link
"$LINENO"; then :
17500 gcc_cv_math_func_atanf
=yes
17502 gcc_cv_math_func_atanf
=no
17504 rm -f core conftest.err conftest.
$ac_objext \
17505 conftest
$ac_exeext conftest.
$ac_ext
17507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17508 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17509 if test $gcc_cv_math_func_atanf = yes; then
17511 cat >>confdefs.h
<<_ACEOF
17512 #define HAVE_ATANF 1
17520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17521 $as_echo_n "checking for atan... " >&6; }
17522 if test "${gcc_cv_math_func_atan+set}" = set; then :
17523 $as_echo_n "(cached) " >&6
17525 if test x
$gcc_no_link = xyes
; then
17526 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17529 /* end confdefs.h. */
17531 #ifdef HAVE_COMPLEX_H
17532 #include <complex.h>
17538 int (*ptr)() = (int (*)())atan;
17547 if ac_fn_c_try_link
"$LINENO"; then :
17548 gcc_cv_math_func_atan
=yes
17550 gcc_cv_math_func_atan
=no
17552 rm -f core conftest.err conftest.
$ac_objext \
17553 conftest
$ac_exeext conftest.
$ac_ext
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17556 $as_echo "$gcc_cv_math_func_atan" >&6; }
17557 if test $gcc_cv_math_func_atan = yes; then
17559 cat >>confdefs.h
<<_ACEOF
17560 #define HAVE_ATAN 1
17568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17569 $as_echo_n "checking for atanl... " >&6; }
17570 if test "${gcc_cv_math_func_atanl+set}" = set; then :
17571 $as_echo_n "(cached) " >&6
17573 if test x
$gcc_no_link = xyes
; then
17574 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17577 /* end confdefs.h. */
17579 #ifdef HAVE_COMPLEX_H
17580 #include <complex.h>
17586 int (*ptr)() = (int (*)())atanl;
17595 if ac_fn_c_try_link
"$LINENO"; then :
17596 gcc_cv_math_func_atanl
=yes
17598 gcc_cv_math_func_atanl
=no
17600 rm -f core conftest.err conftest.
$ac_objext \
17601 conftest
$ac_exeext conftest.
$ac_ext
17603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17604 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17605 if test $gcc_cv_math_func_atanl = yes; then
17607 cat >>confdefs.h
<<_ACEOF
17608 #define HAVE_ATANL 1
17616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17617 $as_echo_n "checking for atanhf... " >&6; }
17618 if test "${gcc_cv_math_func_atanhf+set}" = set; then :
17619 $as_echo_n "(cached) " >&6
17621 if test x
$gcc_no_link = xyes
; then
17622 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17625 /* end confdefs.h. */
17627 #ifdef HAVE_COMPLEX_H
17628 #include <complex.h>
17634 int (*ptr)() = (int (*)())atanhf;
17643 if ac_fn_c_try_link
"$LINENO"; then :
17644 gcc_cv_math_func_atanhf
=yes
17646 gcc_cv_math_func_atanhf
=no
17648 rm -f core conftest.err conftest.
$ac_objext \
17649 conftest
$ac_exeext conftest.
$ac_ext
17651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17652 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
17653 if test $gcc_cv_math_func_atanhf = yes; then
17655 cat >>confdefs.h
<<_ACEOF
17656 #define HAVE_ATANHF 1
17664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
17665 $as_echo_n "checking for atanh... " >&6; }
17666 if test "${gcc_cv_math_func_atanh+set}" = set; then :
17667 $as_echo_n "(cached) " >&6
17669 if test x
$gcc_no_link = xyes
; then
17670 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17673 /* end confdefs.h. */
17675 #ifdef HAVE_COMPLEX_H
17676 #include <complex.h>
17682 int (*ptr)() = (int (*)())atanh;
17691 if ac_fn_c_try_link
"$LINENO"; then :
17692 gcc_cv_math_func_atanh
=yes
17694 gcc_cv_math_func_atanh
=no
17696 rm -f core conftest.err conftest.
$ac_objext \
17697 conftest
$ac_exeext conftest.
$ac_ext
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
17700 $as_echo "$gcc_cv_math_func_atanh" >&6; }
17701 if test $gcc_cv_math_func_atanh = yes; then
17703 cat >>confdefs.h
<<_ACEOF
17704 #define HAVE_ATANH 1
17712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
17713 $as_echo_n "checking for atanhl... " >&6; }
17714 if test "${gcc_cv_math_func_atanhl+set}" = set; then :
17715 $as_echo_n "(cached) " >&6
17717 if test x
$gcc_no_link = xyes
; then
17718 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17721 /* end confdefs.h. */
17723 #ifdef HAVE_COMPLEX_H
17724 #include <complex.h>
17730 int (*ptr)() = (int (*)())atanhl;
17739 if ac_fn_c_try_link
"$LINENO"; then :
17740 gcc_cv_math_func_atanhl
=yes
17742 gcc_cv_math_func_atanhl
=no
17744 rm -f core conftest.err conftest.
$ac_objext \
17745 conftest
$ac_exeext conftest.
$ac_ext
17747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
17748 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
17749 if test $gcc_cv_math_func_atanhl = yes; then
17751 cat >>confdefs.h
<<_ACEOF
17752 #define HAVE_ATANHL 1
17760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
17761 $as_echo_n "checking for cargf... " >&6; }
17762 if test "${gcc_cv_math_func_cargf+set}" = set; then :
17763 $as_echo_n "(cached) " >&6
17765 if test x
$gcc_no_link = xyes
; then
17766 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17769 /* end confdefs.h. */
17771 #ifdef HAVE_COMPLEX_H
17772 #include <complex.h>
17778 int (*ptr)() = (int (*)())cargf;
17787 if ac_fn_c_try_link
"$LINENO"; then :
17788 gcc_cv_math_func_cargf
=yes
17790 gcc_cv_math_func_cargf
=no
17792 rm -f core conftest.err conftest.
$ac_objext \
17793 conftest
$ac_exeext conftest.
$ac_ext
17795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
17796 $as_echo "$gcc_cv_math_func_cargf" >&6; }
17797 if test $gcc_cv_math_func_cargf = yes; then
17799 cat >>confdefs.h
<<_ACEOF
17800 #define HAVE_CARGF 1
17808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
17809 $as_echo_n "checking for carg... " >&6; }
17810 if test "${gcc_cv_math_func_carg+set}" = set; then :
17811 $as_echo_n "(cached) " >&6
17813 if test x
$gcc_no_link = xyes
; then
17814 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17817 /* end confdefs.h. */
17819 #ifdef HAVE_COMPLEX_H
17820 #include <complex.h>
17826 int (*ptr)() = (int (*)())carg;
17835 if ac_fn_c_try_link
"$LINENO"; then :
17836 gcc_cv_math_func_carg
=yes
17838 gcc_cv_math_func_carg
=no
17840 rm -f core conftest.err conftest.
$ac_objext \
17841 conftest
$ac_exeext conftest.
$ac_ext
17843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
17844 $as_echo "$gcc_cv_math_func_carg" >&6; }
17845 if test $gcc_cv_math_func_carg = yes; then
17847 cat >>confdefs.h
<<_ACEOF
17848 #define HAVE_CARG 1
17856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
17857 $as_echo_n "checking for cargl... " >&6; }
17858 if test "${gcc_cv_math_func_cargl+set}" = set; then :
17859 $as_echo_n "(cached) " >&6
17861 if test x
$gcc_no_link = xyes
; then
17862 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17865 /* end confdefs.h. */
17867 #ifdef HAVE_COMPLEX_H
17868 #include <complex.h>
17874 int (*ptr)() = (int (*)())cargl;
17883 if ac_fn_c_try_link
"$LINENO"; then :
17884 gcc_cv_math_func_cargl
=yes
17886 gcc_cv_math_func_cargl
=no
17888 rm -f core conftest.err conftest.
$ac_objext \
17889 conftest
$ac_exeext conftest.
$ac_ext
17891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
17892 $as_echo "$gcc_cv_math_func_cargl" >&6; }
17893 if test $gcc_cv_math_func_cargl = yes; then
17895 cat >>confdefs.h
<<_ACEOF
17896 #define HAVE_CARGL 1
17904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
17905 $as_echo_n "checking for ceilf... " >&6; }
17906 if test "${gcc_cv_math_func_ceilf+set}" = set; then :
17907 $as_echo_n "(cached) " >&6
17909 if test x
$gcc_no_link = xyes
; then
17910 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17913 /* end confdefs.h. */
17915 #ifdef HAVE_COMPLEX_H
17916 #include <complex.h>
17922 int (*ptr)() = (int (*)())ceilf;
17931 if ac_fn_c_try_link
"$LINENO"; then :
17932 gcc_cv_math_func_ceilf
=yes
17934 gcc_cv_math_func_ceilf
=no
17936 rm -f core conftest.err conftest.
$ac_objext \
17937 conftest
$ac_exeext conftest.
$ac_ext
17939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
17940 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
17941 if test $gcc_cv_math_func_ceilf = yes; then
17943 cat >>confdefs.h
<<_ACEOF
17944 #define HAVE_CEILF 1
17952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
17953 $as_echo_n "checking for ceil... " >&6; }
17954 if test "${gcc_cv_math_func_ceil+set}" = set; then :
17955 $as_echo_n "(cached) " >&6
17957 if test x
$gcc_no_link = xyes
; then
17958 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17961 /* end confdefs.h. */
17963 #ifdef HAVE_COMPLEX_H
17964 #include <complex.h>
17970 int (*ptr)() = (int (*)())ceil;
17979 if ac_fn_c_try_link
"$LINENO"; then :
17980 gcc_cv_math_func_ceil
=yes
17982 gcc_cv_math_func_ceil
=no
17984 rm -f core conftest.err conftest.
$ac_objext \
17985 conftest
$ac_exeext conftest.
$ac_ext
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
17988 $as_echo "$gcc_cv_math_func_ceil" >&6; }
17989 if test $gcc_cv_math_func_ceil = yes; then
17991 cat >>confdefs.h
<<_ACEOF
17992 #define HAVE_CEIL 1
18000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18001 $as_echo_n "checking for ceill... " >&6; }
18002 if test "${gcc_cv_math_func_ceill+set}" = set; then :
18003 $as_echo_n "(cached) " >&6
18005 if test x
$gcc_no_link = xyes
; then
18006 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18009 /* end confdefs.h. */
18011 #ifdef HAVE_COMPLEX_H
18012 #include <complex.h>
18018 int (*ptr)() = (int (*)())ceill;
18027 if ac_fn_c_try_link
"$LINENO"; then :
18028 gcc_cv_math_func_ceill
=yes
18030 gcc_cv_math_func_ceill
=no
18032 rm -f core conftest.err conftest.
$ac_objext \
18033 conftest
$ac_exeext conftest.
$ac_ext
18035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18036 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18037 if test $gcc_cv_math_func_ceill = yes; then
18039 cat >>confdefs.h
<<_ACEOF
18040 #define HAVE_CEILL 1
18048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18049 $as_echo_n "checking for copysignf... " >&6; }
18050 if test "${gcc_cv_math_func_copysignf+set}" = set; then :
18051 $as_echo_n "(cached) " >&6
18053 if test x
$gcc_no_link = xyes
; then
18054 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18057 /* end confdefs.h. */
18059 #ifdef HAVE_COMPLEX_H
18060 #include <complex.h>
18066 int (*ptr)() = (int (*)())copysignf;
18075 if ac_fn_c_try_link
"$LINENO"; then :
18076 gcc_cv_math_func_copysignf
=yes
18078 gcc_cv_math_func_copysignf
=no
18080 rm -f core conftest.err conftest.
$ac_objext \
18081 conftest
$ac_exeext conftest.
$ac_ext
18083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18084 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18085 if test $gcc_cv_math_func_copysignf = yes; then
18087 cat >>confdefs.h
<<_ACEOF
18088 #define HAVE_COPYSIGNF 1
18096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18097 $as_echo_n "checking for copysign... " >&6; }
18098 if test "${gcc_cv_math_func_copysign+set}" = set; then :
18099 $as_echo_n "(cached) " >&6
18101 if test x
$gcc_no_link = xyes
; then
18102 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18105 /* end confdefs.h. */
18107 #ifdef HAVE_COMPLEX_H
18108 #include <complex.h>
18114 int (*ptr)() = (int (*)())copysign;
18123 if ac_fn_c_try_link
"$LINENO"; then :
18124 gcc_cv_math_func_copysign
=yes
18126 gcc_cv_math_func_copysign
=no
18128 rm -f core conftest.err conftest.
$ac_objext \
18129 conftest
$ac_exeext conftest.
$ac_ext
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18132 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18133 if test $gcc_cv_math_func_copysign = yes; then
18135 cat >>confdefs.h
<<_ACEOF
18136 #define HAVE_COPYSIGN 1
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18145 $as_echo_n "checking for copysignl... " >&6; }
18146 if test "${gcc_cv_math_func_copysignl+set}" = set; then :
18147 $as_echo_n "(cached) " >&6
18149 if test x
$gcc_no_link = xyes
; then
18150 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18153 /* end confdefs.h. */
18155 #ifdef HAVE_COMPLEX_H
18156 #include <complex.h>
18162 int (*ptr)() = (int (*)())copysignl;
18171 if ac_fn_c_try_link
"$LINENO"; then :
18172 gcc_cv_math_func_copysignl
=yes
18174 gcc_cv_math_func_copysignl
=no
18176 rm -f core conftest.err conftest.
$ac_objext \
18177 conftest
$ac_exeext conftest.
$ac_ext
18179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18180 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18181 if test $gcc_cv_math_func_copysignl = yes; then
18183 cat >>confdefs.h
<<_ACEOF
18184 #define HAVE_COPYSIGNL 1
18192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18193 $as_echo_n "checking for cosf... " >&6; }
18194 if test "${gcc_cv_math_func_cosf+set}" = set; then :
18195 $as_echo_n "(cached) " >&6
18197 if test x
$gcc_no_link = xyes
; then
18198 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18201 /* end confdefs.h. */
18203 #ifdef HAVE_COMPLEX_H
18204 #include <complex.h>
18210 int (*ptr)() = (int (*)())cosf;
18219 if ac_fn_c_try_link
"$LINENO"; then :
18220 gcc_cv_math_func_cosf
=yes
18222 gcc_cv_math_func_cosf
=no
18224 rm -f core conftest.err conftest.
$ac_objext \
18225 conftest
$ac_exeext conftest.
$ac_ext
18227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18228 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18229 if test $gcc_cv_math_func_cosf = yes; then
18231 cat >>confdefs.h
<<_ACEOF
18232 #define HAVE_COSF 1
18240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18241 $as_echo_n "checking for cos... " >&6; }
18242 if test "${gcc_cv_math_func_cos+set}" = set; then :
18243 $as_echo_n "(cached) " >&6
18245 if test x
$gcc_no_link = xyes
; then
18246 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18249 /* end confdefs.h. */
18251 #ifdef HAVE_COMPLEX_H
18252 #include <complex.h>
18258 int (*ptr)() = (int (*)())cos;
18267 if ac_fn_c_try_link
"$LINENO"; then :
18268 gcc_cv_math_func_cos
=yes
18270 gcc_cv_math_func_cos
=no
18272 rm -f core conftest.err conftest.
$ac_objext \
18273 conftest
$ac_exeext conftest.
$ac_ext
18275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18276 $as_echo "$gcc_cv_math_func_cos" >&6; }
18277 if test $gcc_cv_math_func_cos = yes; then
18279 cat >>confdefs.h
<<_ACEOF
18288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18289 $as_echo_n "checking for cosl... " >&6; }
18290 if test "${gcc_cv_math_func_cosl+set}" = set; then :
18291 $as_echo_n "(cached) " >&6
18293 if test x
$gcc_no_link = xyes
; then
18294 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18297 /* end confdefs.h. */
18299 #ifdef HAVE_COMPLEX_H
18300 #include <complex.h>
18306 int (*ptr)() = (int (*)())cosl;
18315 if ac_fn_c_try_link
"$LINENO"; then :
18316 gcc_cv_math_func_cosl
=yes
18318 gcc_cv_math_func_cosl
=no
18320 rm -f core conftest.err conftest.
$ac_objext \
18321 conftest
$ac_exeext conftest.
$ac_ext
18323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18324 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18325 if test $gcc_cv_math_func_cosl = yes; then
18327 cat >>confdefs.h
<<_ACEOF
18328 #define HAVE_COSL 1
18336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18337 $as_echo_n "checking for ccosf... " >&6; }
18338 if test "${gcc_cv_math_func_ccosf+set}" = set; then :
18339 $as_echo_n "(cached) " >&6
18341 if test x
$gcc_no_link = xyes
; then
18342 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18345 /* end confdefs.h. */
18347 #ifdef HAVE_COMPLEX_H
18348 #include <complex.h>
18354 int (*ptr)() = (int (*)())ccosf;
18363 if ac_fn_c_try_link
"$LINENO"; then :
18364 gcc_cv_math_func_ccosf
=yes
18366 gcc_cv_math_func_ccosf
=no
18368 rm -f core conftest.err conftest.
$ac_objext \
18369 conftest
$ac_exeext conftest.
$ac_ext
18371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18372 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18373 if test $gcc_cv_math_func_ccosf = yes; then
18375 cat >>confdefs.h
<<_ACEOF
18376 #define HAVE_CCOSF 1
18384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18385 $as_echo_n "checking for ccos... " >&6; }
18386 if test "${gcc_cv_math_func_ccos+set}" = set; then :
18387 $as_echo_n "(cached) " >&6
18389 if test x
$gcc_no_link = xyes
; then
18390 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18393 /* end confdefs.h. */
18395 #ifdef HAVE_COMPLEX_H
18396 #include <complex.h>
18402 int (*ptr)() = (int (*)())ccos;
18411 if ac_fn_c_try_link
"$LINENO"; then :
18412 gcc_cv_math_func_ccos
=yes
18414 gcc_cv_math_func_ccos
=no
18416 rm -f core conftest.err conftest.
$ac_objext \
18417 conftest
$ac_exeext conftest.
$ac_ext
18419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18420 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18421 if test $gcc_cv_math_func_ccos = yes; then
18423 cat >>confdefs.h
<<_ACEOF
18424 #define HAVE_CCOS 1
18432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18433 $as_echo_n "checking for ccosl... " >&6; }
18434 if test "${gcc_cv_math_func_ccosl+set}" = set; then :
18435 $as_echo_n "(cached) " >&6
18437 if test x
$gcc_no_link = xyes
; then
18438 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18441 /* end confdefs.h. */
18443 #ifdef HAVE_COMPLEX_H
18444 #include <complex.h>
18450 int (*ptr)() = (int (*)())ccosl;
18459 if ac_fn_c_try_link
"$LINENO"; then :
18460 gcc_cv_math_func_ccosl
=yes
18462 gcc_cv_math_func_ccosl
=no
18464 rm -f core conftest.err conftest.
$ac_objext \
18465 conftest
$ac_exeext conftest.
$ac_ext
18467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18468 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18469 if test $gcc_cv_math_func_ccosl = yes; then
18471 cat >>confdefs.h
<<_ACEOF
18472 #define HAVE_CCOSL 1
18480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18481 $as_echo_n "checking for coshf... " >&6; }
18482 if test "${gcc_cv_math_func_coshf+set}" = set; then :
18483 $as_echo_n "(cached) " >&6
18485 if test x
$gcc_no_link = xyes
; then
18486 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18489 /* end confdefs.h. */
18491 #ifdef HAVE_COMPLEX_H
18492 #include <complex.h>
18498 int (*ptr)() = (int (*)())coshf;
18507 if ac_fn_c_try_link
"$LINENO"; then :
18508 gcc_cv_math_func_coshf
=yes
18510 gcc_cv_math_func_coshf
=no
18512 rm -f core conftest.err conftest.
$ac_objext \
18513 conftest
$ac_exeext conftest.
$ac_ext
18515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18516 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18517 if test $gcc_cv_math_func_coshf = yes; then
18519 cat >>confdefs.h
<<_ACEOF
18520 #define HAVE_COSHF 1
18528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18529 $as_echo_n "checking for cosh... " >&6; }
18530 if test "${gcc_cv_math_func_cosh+set}" = set; then :
18531 $as_echo_n "(cached) " >&6
18533 if test x
$gcc_no_link = xyes
; then
18534 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18537 /* end confdefs.h. */
18539 #ifdef HAVE_COMPLEX_H
18540 #include <complex.h>
18546 int (*ptr)() = (int (*)())cosh;
18555 if ac_fn_c_try_link
"$LINENO"; then :
18556 gcc_cv_math_func_cosh
=yes
18558 gcc_cv_math_func_cosh
=no
18560 rm -f core conftest.err conftest.
$ac_objext \
18561 conftest
$ac_exeext conftest.
$ac_ext
18563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18564 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18565 if test $gcc_cv_math_func_cosh = yes; then
18567 cat >>confdefs.h
<<_ACEOF
18568 #define HAVE_COSH 1
18576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18577 $as_echo_n "checking for coshl... " >&6; }
18578 if test "${gcc_cv_math_func_coshl+set}" = set; then :
18579 $as_echo_n "(cached) " >&6
18581 if test x
$gcc_no_link = xyes
; then
18582 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18585 /* end confdefs.h. */
18587 #ifdef HAVE_COMPLEX_H
18588 #include <complex.h>
18594 int (*ptr)() = (int (*)())coshl;
18603 if ac_fn_c_try_link
"$LINENO"; then :
18604 gcc_cv_math_func_coshl
=yes
18606 gcc_cv_math_func_coshl
=no
18608 rm -f core conftest.err conftest.
$ac_objext \
18609 conftest
$ac_exeext conftest.
$ac_ext
18611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18612 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18613 if test $gcc_cv_math_func_coshl = yes; then
18615 cat >>confdefs.h
<<_ACEOF
18616 #define HAVE_COSHL 1
18624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18625 $as_echo_n "checking for ccoshf... " >&6; }
18626 if test "${gcc_cv_math_func_ccoshf+set}" = set; then :
18627 $as_echo_n "(cached) " >&6
18629 if test x
$gcc_no_link = xyes
; then
18630 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18633 /* end confdefs.h. */
18635 #ifdef HAVE_COMPLEX_H
18636 #include <complex.h>
18642 int (*ptr)() = (int (*)())ccoshf;
18651 if ac_fn_c_try_link
"$LINENO"; then :
18652 gcc_cv_math_func_ccoshf
=yes
18654 gcc_cv_math_func_ccoshf
=no
18656 rm -f core conftest.err conftest.
$ac_objext \
18657 conftest
$ac_exeext conftest.
$ac_ext
18659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18660 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
18661 if test $gcc_cv_math_func_ccoshf = yes; then
18663 cat >>confdefs.h
<<_ACEOF
18664 #define HAVE_CCOSHF 1
18672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
18673 $as_echo_n "checking for ccosh... " >&6; }
18674 if test "${gcc_cv_math_func_ccosh+set}" = set; then :
18675 $as_echo_n "(cached) " >&6
18677 if test x
$gcc_no_link = xyes
; then
18678 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18681 /* end confdefs.h. */
18683 #ifdef HAVE_COMPLEX_H
18684 #include <complex.h>
18690 int (*ptr)() = (int (*)())ccosh;
18699 if ac_fn_c_try_link
"$LINENO"; then :
18700 gcc_cv_math_func_ccosh
=yes
18702 gcc_cv_math_func_ccosh
=no
18704 rm -f core conftest.err conftest.
$ac_objext \
18705 conftest
$ac_exeext conftest.
$ac_ext
18707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
18708 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
18709 if test $gcc_cv_math_func_ccosh = yes; then
18711 cat >>confdefs.h
<<_ACEOF
18712 #define HAVE_CCOSH 1
18720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
18721 $as_echo_n "checking for ccoshl... " >&6; }
18722 if test "${gcc_cv_math_func_ccoshl+set}" = set; then :
18723 $as_echo_n "(cached) " >&6
18725 if test x
$gcc_no_link = xyes
; then
18726 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18729 /* end confdefs.h. */
18731 #ifdef HAVE_COMPLEX_H
18732 #include <complex.h>
18738 int (*ptr)() = (int (*)())ccoshl;
18747 if ac_fn_c_try_link
"$LINENO"; then :
18748 gcc_cv_math_func_ccoshl
=yes
18750 gcc_cv_math_func_ccoshl
=no
18752 rm -f core conftest.err conftest.
$ac_objext \
18753 conftest
$ac_exeext conftest.
$ac_ext
18755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
18756 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
18757 if test $gcc_cv_math_func_ccoshl = yes; then
18759 cat >>confdefs.h
<<_ACEOF
18760 #define HAVE_CCOSHL 1
18768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
18769 $as_echo_n "checking for expf... " >&6; }
18770 if test "${gcc_cv_math_func_expf+set}" = set; then :
18771 $as_echo_n "(cached) " >&6
18773 if test x
$gcc_no_link = xyes
; then
18774 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18777 /* end confdefs.h. */
18779 #ifdef HAVE_COMPLEX_H
18780 #include <complex.h>
18786 int (*ptr)() = (int (*)())expf;
18795 if ac_fn_c_try_link
"$LINENO"; then :
18796 gcc_cv_math_func_expf
=yes
18798 gcc_cv_math_func_expf
=no
18800 rm -f core conftest.err conftest.
$ac_objext \
18801 conftest
$ac_exeext conftest.
$ac_ext
18803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
18804 $as_echo "$gcc_cv_math_func_expf" >&6; }
18805 if test $gcc_cv_math_func_expf = yes; then
18807 cat >>confdefs.h
<<_ACEOF
18808 #define HAVE_EXPF 1
18816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
18817 $as_echo_n "checking for exp... " >&6; }
18818 if test "${gcc_cv_math_func_exp+set}" = set; then :
18819 $as_echo_n "(cached) " >&6
18821 if test x
$gcc_no_link = xyes
; then
18822 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18825 /* end confdefs.h. */
18827 #ifdef HAVE_COMPLEX_H
18828 #include <complex.h>
18834 int (*ptr)() = (int (*)())exp;
18843 if ac_fn_c_try_link
"$LINENO"; then :
18844 gcc_cv_math_func_exp
=yes
18846 gcc_cv_math_func_exp
=no
18848 rm -f core conftest.err conftest.
$ac_objext \
18849 conftest
$ac_exeext conftest.
$ac_ext
18851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
18852 $as_echo "$gcc_cv_math_func_exp" >&6; }
18853 if test $gcc_cv_math_func_exp = yes; then
18855 cat >>confdefs.h
<<_ACEOF
18864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
18865 $as_echo_n "checking for expl... " >&6; }
18866 if test "${gcc_cv_math_func_expl+set}" = set; then :
18867 $as_echo_n "(cached) " >&6
18869 if test x
$gcc_no_link = xyes
; then
18870 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18873 /* end confdefs.h. */
18875 #ifdef HAVE_COMPLEX_H
18876 #include <complex.h>
18882 int (*ptr)() = (int (*)())expl;
18891 if ac_fn_c_try_link
"$LINENO"; then :
18892 gcc_cv_math_func_expl
=yes
18894 gcc_cv_math_func_expl
=no
18896 rm -f core conftest.err conftest.
$ac_objext \
18897 conftest
$ac_exeext conftest.
$ac_ext
18899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
18900 $as_echo "$gcc_cv_math_func_expl" >&6; }
18901 if test $gcc_cv_math_func_expl = yes; then
18903 cat >>confdefs.h
<<_ACEOF
18904 #define HAVE_EXPL 1
18912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
18913 $as_echo_n "checking for cexpf... " >&6; }
18914 if test "${gcc_cv_math_func_cexpf+set}" = set; then :
18915 $as_echo_n "(cached) " >&6
18917 if test x
$gcc_no_link = xyes
; then
18918 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18921 /* end confdefs.h. */
18923 #ifdef HAVE_COMPLEX_H
18924 #include <complex.h>
18930 int (*ptr)() = (int (*)())cexpf;
18939 if ac_fn_c_try_link
"$LINENO"; then :
18940 gcc_cv_math_func_cexpf
=yes
18942 gcc_cv_math_func_cexpf
=no
18944 rm -f core conftest.err conftest.
$ac_objext \
18945 conftest
$ac_exeext conftest.
$ac_ext
18947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
18948 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
18949 if test $gcc_cv_math_func_cexpf = yes; then
18951 cat >>confdefs.h
<<_ACEOF
18952 #define HAVE_CEXPF 1
18960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
18961 $as_echo_n "checking for cexp... " >&6; }
18962 if test "${gcc_cv_math_func_cexp+set}" = set; then :
18963 $as_echo_n "(cached) " >&6
18965 if test x
$gcc_no_link = xyes
; then
18966 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18969 /* end confdefs.h. */
18971 #ifdef HAVE_COMPLEX_H
18972 #include <complex.h>
18978 int (*ptr)() = (int (*)())cexp;
18987 if ac_fn_c_try_link
"$LINENO"; then :
18988 gcc_cv_math_func_cexp
=yes
18990 gcc_cv_math_func_cexp
=no
18992 rm -f core conftest.err conftest.
$ac_objext \
18993 conftest
$ac_exeext conftest.
$ac_ext
18995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
18996 $as_echo "$gcc_cv_math_func_cexp" >&6; }
18997 if test $gcc_cv_math_func_cexp = yes; then
18999 cat >>confdefs.h
<<_ACEOF
19000 #define HAVE_CEXP 1
19008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19009 $as_echo_n "checking for cexpl... " >&6; }
19010 if test "${gcc_cv_math_func_cexpl+set}" = set; then :
19011 $as_echo_n "(cached) " >&6
19013 if test x
$gcc_no_link = xyes
; then
19014 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19017 /* end confdefs.h. */
19019 #ifdef HAVE_COMPLEX_H
19020 #include <complex.h>
19026 int (*ptr)() = (int (*)())cexpl;
19035 if ac_fn_c_try_link
"$LINENO"; then :
19036 gcc_cv_math_func_cexpl
=yes
19038 gcc_cv_math_func_cexpl
=no
19040 rm -f core conftest.err conftest.
$ac_objext \
19041 conftest
$ac_exeext conftest.
$ac_ext
19043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19044 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19045 if test $gcc_cv_math_func_cexpl = yes; then
19047 cat >>confdefs.h
<<_ACEOF
19048 #define HAVE_CEXPL 1
19056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19057 $as_echo_n "checking for fabsf... " >&6; }
19058 if test "${gcc_cv_math_func_fabsf+set}" = set; then :
19059 $as_echo_n "(cached) " >&6
19061 if test x
$gcc_no_link = xyes
; then
19062 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19065 /* end confdefs.h. */
19067 #ifdef HAVE_COMPLEX_H
19068 #include <complex.h>
19074 int (*ptr)() = (int (*)())fabsf;
19083 if ac_fn_c_try_link
"$LINENO"; then :
19084 gcc_cv_math_func_fabsf
=yes
19086 gcc_cv_math_func_fabsf
=no
19088 rm -f core conftest.err conftest.
$ac_objext \
19089 conftest
$ac_exeext conftest.
$ac_ext
19091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19092 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19093 if test $gcc_cv_math_func_fabsf = yes; then
19095 cat >>confdefs.h
<<_ACEOF
19096 #define HAVE_FABSF 1
19104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19105 $as_echo_n "checking for fabs... " >&6; }
19106 if test "${gcc_cv_math_func_fabs+set}" = set; then :
19107 $as_echo_n "(cached) " >&6
19109 if test x
$gcc_no_link = xyes
; then
19110 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19113 /* end confdefs.h. */
19115 #ifdef HAVE_COMPLEX_H
19116 #include <complex.h>
19122 int (*ptr)() = (int (*)())fabs;
19131 if ac_fn_c_try_link
"$LINENO"; then :
19132 gcc_cv_math_func_fabs
=yes
19134 gcc_cv_math_func_fabs
=no
19136 rm -f core conftest.err conftest.
$ac_objext \
19137 conftest
$ac_exeext conftest.
$ac_ext
19139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19140 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19141 if test $gcc_cv_math_func_fabs = yes; then
19143 cat >>confdefs.h
<<_ACEOF
19144 #define HAVE_FABS 1
19152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19153 $as_echo_n "checking for fabsl... " >&6; }
19154 if test "${gcc_cv_math_func_fabsl+set}" = set; then :
19155 $as_echo_n "(cached) " >&6
19157 if test x
$gcc_no_link = xyes
; then
19158 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19161 /* end confdefs.h. */
19163 #ifdef HAVE_COMPLEX_H
19164 #include <complex.h>
19170 int (*ptr)() = (int (*)())fabsl;
19179 if ac_fn_c_try_link
"$LINENO"; then :
19180 gcc_cv_math_func_fabsl
=yes
19182 gcc_cv_math_func_fabsl
=no
19184 rm -f core conftest.err conftest.
$ac_objext \
19185 conftest
$ac_exeext conftest.
$ac_ext
19187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19188 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19189 if test $gcc_cv_math_func_fabsl = yes; then
19191 cat >>confdefs.h
<<_ACEOF
19192 #define HAVE_FABSL 1
19200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19201 $as_echo_n "checking for cabsf... " >&6; }
19202 if test "${gcc_cv_math_func_cabsf+set}" = set; then :
19203 $as_echo_n "(cached) " >&6
19205 if test x
$gcc_no_link = xyes
; then
19206 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19209 /* end confdefs.h. */
19211 #ifdef HAVE_COMPLEX_H
19212 #include <complex.h>
19218 int (*ptr)() = (int (*)())cabsf;
19227 if ac_fn_c_try_link
"$LINENO"; then :
19228 gcc_cv_math_func_cabsf
=yes
19230 gcc_cv_math_func_cabsf
=no
19232 rm -f core conftest.err conftest.
$ac_objext \
19233 conftest
$ac_exeext conftest.
$ac_ext
19235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19236 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19237 if test $gcc_cv_math_func_cabsf = yes; then
19239 cat >>confdefs.h
<<_ACEOF
19240 #define HAVE_CABSF 1
19248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19249 $as_echo_n "checking for cabs... " >&6; }
19250 if test "${gcc_cv_math_func_cabs+set}" = set; then :
19251 $as_echo_n "(cached) " >&6
19253 if test x
$gcc_no_link = xyes
; then
19254 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19257 /* end confdefs.h. */
19259 #ifdef HAVE_COMPLEX_H
19260 #include <complex.h>
19266 int (*ptr)() = (int (*)())cabs;
19275 if ac_fn_c_try_link
"$LINENO"; then :
19276 gcc_cv_math_func_cabs
=yes
19278 gcc_cv_math_func_cabs
=no
19280 rm -f core conftest.err conftest.
$ac_objext \
19281 conftest
$ac_exeext conftest.
$ac_ext
19283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19284 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19285 if test $gcc_cv_math_func_cabs = yes; then
19287 cat >>confdefs.h
<<_ACEOF
19288 #define HAVE_CABS 1
19296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19297 $as_echo_n "checking for cabsl... " >&6; }
19298 if test "${gcc_cv_math_func_cabsl+set}" = set; then :
19299 $as_echo_n "(cached) " >&6
19301 if test x
$gcc_no_link = xyes
; then
19302 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19305 /* end confdefs.h. */
19307 #ifdef HAVE_COMPLEX_H
19308 #include <complex.h>
19314 int (*ptr)() = (int (*)())cabsl;
19323 if ac_fn_c_try_link
"$LINENO"; then :
19324 gcc_cv_math_func_cabsl
=yes
19326 gcc_cv_math_func_cabsl
=no
19328 rm -f core conftest.err conftest.
$ac_objext \
19329 conftest
$ac_exeext conftest.
$ac_ext
19331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19332 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19333 if test $gcc_cv_math_func_cabsl = yes; then
19335 cat >>confdefs.h
<<_ACEOF
19336 #define HAVE_CABSL 1
19344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19345 $as_echo_n "checking for floorf... " >&6; }
19346 if test "${gcc_cv_math_func_floorf+set}" = set; then :
19347 $as_echo_n "(cached) " >&6
19349 if test x
$gcc_no_link = xyes
; then
19350 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19353 /* end confdefs.h. */
19355 #ifdef HAVE_COMPLEX_H
19356 #include <complex.h>
19362 int (*ptr)() = (int (*)())floorf;
19371 if ac_fn_c_try_link
"$LINENO"; then :
19372 gcc_cv_math_func_floorf
=yes
19374 gcc_cv_math_func_floorf
=no
19376 rm -f core conftest.err conftest.
$ac_objext \
19377 conftest
$ac_exeext conftest.
$ac_ext
19379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19380 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19381 if test $gcc_cv_math_func_floorf = yes; then
19383 cat >>confdefs.h
<<_ACEOF
19384 #define HAVE_FLOORF 1
19392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19393 $as_echo_n "checking for floor... " >&6; }
19394 if test "${gcc_cv_math_func_floor+set}" = set; then :
19395 $as_echo_n "(cached) " >&6
19397 if test x
$gcc_no_link = xyes
; then
19398 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19401 /* end confdefs.h. */
19403 #ifdef HAVE_COMPLEX_H
19404 #include <complex.h>
19410 int (*ptr)() = (int (*)())floor;
19419 if ac_fn_c_try_link
"$LINENO"; then :
19420 gcc_cv_math_func_floor
=yes
19422 gcc_cv_math_func_floor
=no
19424 rm -f core conftest.err conftest.
$ac_objext \
19425 conftest
$ac_exeext conftest.
$ac_ext
19427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19428 $as_echo "$gcc_cv_math_func_floor" >&6; }
19429 if test $gcc_cv_math_func_floor = yes; then
19431 cat >>confdefs.h
<<_ACEOF
19432 #define HAVE_FLOOR 1
19440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19441 $as_echo_n "checking for floorl... " >&6; }
19442 if test "${gcc_cv_math_func_floorl+set}" = set; then :
19443 $as_echo_n "(cached) " >&6
19445 if test x
$gcc_no_link = xyes
; then
19446 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19449 /* end confdefs.h. */
19451 #ifdef HAVE_COMPLEX_H
19452 #include <complex.h>
19458 int (*ptr)() = (int (*)())floorl;
19467 if ac_fn_c_try_link
"$LINENO"; then :
19468 gcc_cv_math_func_floorl
=yes
19470 gcc_cv_math_func_floorl
=no
19472 rm -f core conftest.err conftest.
$ac_objext \
19473 conftest
$ac_exeext conftest.
$ac_ext
19475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19476 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19477 if test $gcc_cv_math_func_floorl = yes; then
19479 cat >>confdefs.h
<<_ACEOF
19480 #define HAVE_FLOORL 1
19488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19489 $as_echo_n "checking for fmodf... " >&6; }
19490 if test "${gcc_cv_math_func_fmodf+set}" = set; then :
19491 $as_echo_n "(cached) " >&6
19493 if test x
$gcc_no_link = xyes
; then
19494 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19497 /* end confdefs.h. */
19499 #ifdef HAVE_COMPLEX_H
19500 #include <complex.h>
19506 int (*ptr)() = (int (*)())fmodf;
19515 if ac_fn_c_try_link
"$LINENO"; then :
19516 gcc_cv_math_func_fmodf
=yes
19518 gcc_cv_math_func_fmodf
=no
19520 rm -f core conftest.err conftest.
$ac_objext \
19521 conftest
$ac_exeext conftest.
$ac_ext
19523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19524 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
19525 if test $gcc_cv_math_func_fmodf = yes; then
19527 cat >>confdefs.h
<<_ACEOF
19528 #define HAVE_FMODF 1
19536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19537 $as_echo_n "checking for fmod... " >&6; }
19538 if test "${gcc_cv_math_func_fmod+set}" = set; then :
19539 $as_echo_n "(cached) " >&6
19541 if test x
$gcc_no_link = xyes
; then
19542 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19545 /* end confdefs.h. */
19547 #ifdef HAVE_COMPLEX_H
19548 #include <complex.h>
19554 int (*ptr)() = (int (*)())fmod;
19563 if ac_fn_c_try_link
"$LINENO"; then :
19564 gcc_cv_math_func_fmod
=yes
19566 gcc_cv_math_func_fmod
=no
19568 rm -f core conftest.err conftest.
$ac_objext \
19569 conftest
$ac_exeext conftest.
$ac_ext
19571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19572 $as_echo "$gcc_cv_math_func_fmod" >&6; }
19573 if test $gcc_cv_math_func_fmod = yes; then
19575 cat >>confdefs.h
<<_ACEOF
19576 #define HAVE_FMOD 1
19584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19585 $as_echo_n "checking for fmodl... " >&6; }
19586 if test "${gcc_cv_math_func_fmodl+set}" = set; then :
19587 $as_echo_n "(cached) " >&6
19589 if test x
$gcc_no_link = xyes
; then
19590 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19593 /* end confdefs.h. */
19595 #ifdef HAVE_COMPLEX_H
19596 #include <complex.h>
19602 int (*ptr)() = (int (*)())fmodl;
19611 if ac_fn_c_try_link
"$LINENO"; then :
19612 gcc_cv_math_func_fmodl
=yes
19614 gcc_cv_math_func_fmodl
=no
19616 rm -f core conftest.err conftest.
$ac_objext \
19617 conftest
$ac_exeext conftest.
$ac_ext
19619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19620 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
19621 if test $gcc_cv_math_func_fmodl = yes; then
19623 cat >>confdefs.h
<<_ACEOF
19624 #define HAVE_FMODL 1
19632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19633 $as_echo_n "checking for frexpf... " >&6; }
19634 if test "${gcc_cv_math_func_frexpf+set}" = set; then :
19635 $as_echo_n "(cached) " >&6
19637 if test x
$gcc_no_link = xyes
; then
19638 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19641 /* end confdefs.h. */
19643 #ifdef HAVE_COMPLEX_H
19644 #include <complex.h>
19650 int (*ptr)() = (int (*)())frexpf;
19659 if ac_fn_c_try_link
"$LINENO"; then :
19660 gcc_cv_math_func_frexpf
=yes
19662 gcc_cv_math_func_frexpf
=no
19664 rm -f core conftest.err conftest.
$ac_objext \
19665 conftest
$ac_exeext conftest.
$ac_ext
19667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
19668 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
19669 if test $gcc_cv_math_func_frexpf = yes; then
19671 cat >>confdefs.h
<<_ACEOF
19672 #define HAVE_FREXPF 1
19680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
19681 $as_echo_n "checking for frexp... " >&6; }
19682 if test "${gcc_cv_math_func_frexp+set}" = set; then :
19683 $as_echo_n "(cached) " >&6
19685 if test x
$gcc_no_link = xyes
; then
19686 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19689 /* end confdefs.h. */
19691 #ifdef HAVE_COMPLEX_H
19692 #include <complex.h>
19698 int (*ptr)() = (int (*)())frexp;
19707 if ac_fn_c_try_link
"$LINENO"; then :
19708 gcc_cv_math_func_frexp
=yes
19710 gcc_cv_math_func_frexp
=no
19712 rm -f core conftest.err conftest.
$ac_objext \
19713 conftest
$ac_exeext conftest.
$ac_ext
19715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
19716 $as_echo "$gcc_cv_math_func_frexp" >&6; }
19717 if test $gcc_cv_math_func_frexp = yes; then
19719 cat >>confdefs.h
<<_ACEOF
19720 #define HAVE_FREXP 1
19728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
19729 $as_echo_n "checking for frexpl... " >&6; }
19730 if test "${gcc_cv_math_func_frexpl+set}" = set; then :
19731 $as_echo_n "(cached) " >&6
19733 if test x
$gcc_no_link = xyes
; then
19734 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19737 /* end confdefs.h. */
19739 #ifdef HAVE_COMPLEX_H
19740 #include <complex.h>
19746 int (*ptr)() = (int (*)())frexpl;
19755 if ac_fn_c_try_link
"$LINENO"; then :
19756 gcc_cv_math_func_frexpl
=yes
19758 gcc_cv_math_func_frexpl
=no
19760 rm -f core conftest.err conftest.
$ac_objext \
19761 conftest
$ac_exeext conftest.
$ac_ext
19763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
19764 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
19765 if test $gcc_cv_math_func_frexpl = yes; then
19767 cat >>confdefs.h
<<_ACEOF
19768 #define HAVE_FREXPL 1
19776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
19777 $as_echo_n "checking for hypotf... " >&6; }
19778 if test "${gcc_cv_math_func_hypotf+set}" = set; then :
19779 $as_echo_n "(cached) " >&6
19781 if test x
$gcc_no_link = xyes
; then
19782 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19785 /* end confdefs.h. */
19787 #ifdef HAVE_COMPLEX_H
19788 #include <complex.h>
19794 int (*ptr)() = (int (*)())hypotf;
19803 if ac_fn_c_try_link
"$LINENO"; then :
19804 gcc_cv_math_func_hypotf
=yes
19806 gcc_cv_math_func_hypotf
=no
19808 rm -f core conftest.err conftest.
$ac_objext \
19809 conftest
$ac_exeext conftest.
$ac_ext
19811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
19812 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
19813 if test $gcc_cv_math_func_hypotf = yes; then
19815 cat >>confdefs.h
<<_ACEOF
19816 #define HAVE_HYPOTF 1
19824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
19825 $as_echo_n "checking for hypot... " >&6; }
19826 if test "${gcc_cv_math_func_hypot+set}" = set; then :
19827 $as_echo_n "(cached) " >&6
19829 if test x
$gcc_no_link = xyes
; then
19830 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19833 /* end confdefs.h. */
19835 #ifdef HAVE_COMPLEX_H
19836 #include <complex.h>
19842 int (*ptr)() = (int (*)())hypot;
19851 if ac_fn_c_try_link
"$LINENO"; then :
19852 gcc_cv_math_func_hypot
=yes
19854 gcc_cv_math_func_hypot
=no
19856 rm -f core conftest.err conftest.
$ac_objext \
19857 conftest
$ac_exeext conftest.
$ac_ext
19859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
19860 $as_echo "$gcc_cv_math_func_hypot" >&6; }
19861 if test $gcc_cv_math_func_hypot = yes; then
19863 cat >>confdefs.h
<<_ACEOF
19864 #define HAVE_HYPOT 1
19872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
19873 $as_echo_n "checking for hypotl... " >&6; }
19874 if test "${gcc_cv_math_func_hypotl+set}" = set; then :
19875 $as_echo_n "(cached) " >&6
19877 if test x
$gcc_no_link = xyes
; then
19878 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19881 /* end confdefs.h. */
19883 #ifdef HAVE_COMPLEX_H
19884 #include <complex.h>
19890 int (*ptr)() = (int (*)())hypotl;
19899 if ac_fn_c_try_link
"$LINENO"; then :
19900 gcc_cv_math_func_hypotl
=yes
19902 gcc_cv_math_func_hypotl
=no
19904 rm -f core conftest.err conftest.
$ac_objext \
19905 conftest
$ac_exeext conftest.
$ac_ext
19907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
19908 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
19909 if test $gcc_cv_math_func_hypotl = yes; then
19911 cat >>confdefs.h
<<_ACEOF
19912 #define HAVE_HYPOTL 1
19920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
19921 $as_echo_n "checking for ldexpf... " >&6; }
19922 if test "${gcc_cv_math_func_ldexpf+set}" = set; then :
19923 $as_echo_n "(cached) " >&6
19925 if test x
$gcc_no_link = xyes
; then
19926 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19929 /* end confdefs.h. */
19931 #ifdef HAVE_COMPLEX_H
19932 #include <complex.h>
19938 int (*ptr)() = (int (*)())ldexpf;
19947 if ac_fn_c_try_link
"$LINENO"; then :
19948 gcc_cv_math_func_ldexpf
=yes
19950 gcc_cv_math_func_ldexpf
=no
19952 rm -f core conftest.err conftest.
$ac_objext \
19953 conftest
$ac_exeext conftest.
$ac_ext
19955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
19956 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
19957 if test $gcc_cv_math_func_ldexpf = yes; then
19959 cat >>confdefs.h
<<_ACEOF
19960 #define HAVE_LDEXPF 1
19968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
19969 $as_echo_n "checking for ldexp... " >&6; }
19970 if test "${gcc_cv_math_func_ldexp+set}" = set; then :
19971 $as_echo_n "(cached) " >&6
19973 if test x
$gcc_no_link = xyes
; then
19974 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19977 /* end confdefs.h. */
19979 #ifdef HAVE_COMPLEX_H
19980 #include <complex.h>
19986 int (*ptr)() = (int (*)())ldexp;
19995 if ac_fn_c_try_link
"$LINENO"; then :
19996 gcc_cv_math_func_ldexp
=yes
19998 gcc_cv_math_func_ldexp
=no
20000 rm -f core conftest.err conftest.
$ac_objext \
20001 conftest
$ac_exeext conftest.
$ac_ext
20003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20004 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
20005 if test $gcc_cv_math_func_ldexp = yes; then
20007 cat >>confdefs.h
<<_ACEOF
20008 #define HAVE_LDEXP 1
20016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20017 $as_echo_n "checking for ldexpl... " >&6; }
20018 if test "${gcc_cv_math_func_ldexpl+set}" = set; then :
20019 $as_echo_n "(cached) " >&6
20021 if test x
$gcc_no_link = xyes
; then
20022 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20025 /* end confdefs.h. */
20027 #ifdef HAVE_COMPLEX_H
20028 #include <complex.h>
20034 int (*ptr)() = (int (*)())ldexpl;
20043 if ac_fn_c_try_link
"$LINENO"; then :
20044 gcc_cv_math_func_ldexpl
=yes
20046 gcc_cv_math_func_ldexpl
=no
20048 rm -f core conftest.err conftest.
$ac_objext \
20049 conftest
$ac_exeext conftest.
$ac_ext
20051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20052 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20053 if test $gcc_cv_math_func_ldexpl = yes; then
20055 cat >>confdefs.h
<<_ACEOF
20056 #define HAVE_LDEXPL 1
20064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20065 $as_echo_n "checking for logf... " >&6; }
20066 if test "${gcc_cv_math_func_logf+set}" = set; then :
20067 $as_echo_n "(cached) " >&6
20069 if test x
$gcc_no_link = xyes
; then
20070 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20073 /* end confdefs.h. */
20075 #ifdef HAVE_COMPLEX_H
20076 #include <complex.h>
20082 int (*ptr)() = (int (*)())logf;
20091 if ac_fn_c_try_link
"$LINENO"; then :
20092 gcc_cv_math_func_logf
=yes
20094 gcc_cv_math_func_logf
=no
20096 rm -f core conftest.err conftest.
$ac_objext \
20097 conftest
$ac_exeext conftest.
$ac_ext
20099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20100 $as_echo "$gcc_cv_math_func_logf" >&6; }
20101 if test $gcc_cv_math_func_logf = yes; then
20103 cat >>confdefs.h
<<_ACEOF
20104 #define HAVE_LOGF 1
20112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20113 $as_echo_n "checking for log... " >&6; }
20114 if test "${gcc_cv_math_func_log+set}" = set; then :
20115 $as_echo_n "(cached) " >&6
20117 if test x
$gcc_no_link = xyes
; then
20118 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20121 /* end confdefs.h. */
20123 #ifdef HAVE_COMPLEX_H
20124 #include <complex.h>
20130 int (*ptr)() = (int (*)())log;
20139 if ac_fn_c_try_link
"$LINENO"; then :
20140 gcc_cv_math_func_log
=yes
20142 gcc_cv_math_func_log
=no
20144 rm -f core conftest.err conftest.
$ac_objext \
20145 conftest
$ac_exeext conftest.
$ac_ext
20147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20148 $as_echo "$gcc_cv_math_func_log" >&6; }
20149 if test $gcc_cv_math_func_log = yes; then
20151 cat >>confdefs.h
<<_ACEOF
20160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20161 $as_echo_n "checking for logl... " >&6; }
20162 if test "${gcc_cv_math_func_logl+set}" = set; then :
20163 $as_echo_n "(cached) " >&6
20165 if test x
$gcc_no_link = xyes
; then
20166 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20169 /* end confdefs.h. */
20171 #ifdef HAVE_COMPLEX_H
20172 #include <complex.h>
20178 int (*ptr)() = (int (*)())logl;
20187 if ac_fn_c_try_link
"$LINENO"; then :
20188 gcc_cv_math_func_logl
=yes
20190 gcc_cv_math_func_logl
=no
20192 rm -f core conftest.err conftest.
$ac_objext \
20193 conftest
$ac_exeext conftest.
$ac_ext
20195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20196 $as_echo "$gcc_cv_math_func_logl" >&6; }
20197 if test $gcc_cv_math_func_logl = yes; then
20199 cat >>confdefs.h
<<_ACEOF
20200 #define HAVE_LOGL 1
20208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20209 $as_echo_n "checking for clogf... " >&6; }
20210 if test "${gcc_cv_math_func_clogf+set}" = set; then :
20211 $as_echo_n "(cached) " >&6
20213 if test x
$gcc_no_link = xyes
; then
20214 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20217 /* end confdefs.h. */
20219 #ifdef HAVE_COMPLEX_H
20220 #include <complex.h>
20226 int (*ptr)() = (int (*)())clogf;
20235 if ac_fn_c_try_link
"$LINENO"; then :
20236 gcc_cv_math_func_clogf
=yes
20238 gcc_cv_math_func_clogf
=no
20240 rm -f core conftest.err conftest.
$ac_objext \
20241 conftest
$ac_exeext conftest.
$ac_ext
20243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20244 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20245 if test $gcc_cv_math_func_clogf = yes; then
20247 cat >>confdefs.h
<<_ACEOF
20248 #define HAVE_CLOGF 1
20256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20257 $as_echo_n "checking for clog... " >&6; }
20258 if test "${gcc_cv_math_func_clog+set}" = set; then :
20259 $as_echo_n "(cached) " >&6
20261 if test x
$gcc_no_link = xyes
; then
20262 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20265 /* end confdefs.h. */
20267 #ifdef HAVE_COMPLEX_H
20268 #include <complex.h>
20274 int (*ptr)() = (int (*)())clog;
20283 if ac_fn_c_try_link
"$LINENO"; then :
20284 gcc_cv_math_func_clog
=yes
20286 gcc_cv_math_func_clog
=no
20288 rm -f core conftest.err conftest.
$ac_objext \
20289 conftest
$ac_exeext conftest.
$ac_ext
20291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20292 $as_echo "$gcc_cv_math_func_clog" >&6; }
20293 if test $gcc_cv_math_func_clog = yes; then
20295 cat >>confdefs.h
<<_ACEOF
20296 #define HAVE_CLOG 1
20304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20305 $as_echo_n "checking for clogl... " >&6; }
20306 if test "${gcc_cv_math_func_clogl+set}" = set; then :
20307 $as_echo_n "(cached) " >&6
20309 if test x
$gcc_no_link = xyes
; then
20310 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20313 /* end confdefs.h. */
20315 #ifdef HAVE_COMPLEX_H
20316 #include <complex.h>
20322 int (*ptr)() = (int (*)())clogl;
20331 if ac_fn_c_try_link
"$LINENO"; then :
20332 gcc_cv_math_func_clogl
=yes
20334 gcc_cv_math_func_clogl
=no
20336 rm -f core conftest.err conftest.
$ac_objext \
20337 conftest
$ac_exeext conftest.
$ac_ext
20339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20340 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20341 if test $gcc_cv_math_func_clogl = yes; then
20343 cat >>confdefs.h
<<_ACEOF
20344 #define HAVE_CLOGL 1
20352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20353 $as_echo_n "checking for log10f... " >&6; }
20354 if test "${gcc_cv_math_func_log10f+set}" = set; then :
20355 $as_echo_n "(cached) " >&6
20357 if test x
$gcc_no_link = xyes
; then
20358 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20361 /* end confdefs.h. */
20363 #ifdef HAVE_COMPLEX_H
20364 #include <complex.h>
20370 int (*ptr)() = (int (*)())log10f;
20379 if ac_fn_c_try_link
"$LINENO"; then :
20380 gcc_cv_math_func_log10f
=yes
20382 gcc_cv_math_func_log10f
=no
20384 rm -f core conftest.err conftest.
$ac_objext \
20385 conftest
$ac_exeext conftest.
$ac_ext
20387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20388 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20389 if test $gcc_cv_math_func_log10f = yes; then
20391 cat >>confdefs.h
<<_ACEOF
20392 #define HAVE_LOG10F 1
20400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20401 $as_echo_n "checking for log10... " >&6; }
20402 if test "${gcc_cv_math_func_log10+set}" = set; then :
20403 $as_echo_n "(cached) " >&6
20405 if test x
$gcc_no_link = xyes
; then
20406 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20409 /* end confdefs.h. */
20411 #ifdef HAVE_COMPLEX_H
20412 #include <complex.h>
20418 int (*ptr)() = (int (*)())log10;
20427 if ac_fn_c_try_link
"$LINENO"; then :
20428 gcc_cv_math_func_log10
=yes
20430 gcc_cv_math_func_log10
=no
20432 rm -f core conftest.err conftest.
$ac_objext \
20433 conftest
$ac_exeext conftest.
$ac_ext
20435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20436 $as_echo "$gcc_cv_math_func_log10" >&6; }
20437 if test $gcc_cv_math_func_log10 = yes; then
20439 cat >>confdefs.h
<<_ACEOF
20440 #define HAVE_LOG10 1
20448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20449 $as_echo_n "checking for log10l... " >&6; }
20450 if test "${gcc_cv_math_func_log10l+set}" = set; then :
20451 $as_echo_n "(cached) " >&6
20453 if test x
$gcc_no_link = xyes
; then
20454 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20457 /* end confdefs.h. */
20459 #ifdef HAVE_COMPLEX_H
20460 #include <complex.h>
20466 int (*ptr)() = (int (*)())log10l;
20475 if ac_fn_c_try_link
"$LINENO"; then :
20476 gcc_cv_math_func_log10l
=yes
20478 gcc_cv_math_func_log10l
=no
20480 rm -f core conftest.err conftest.
$ac_objext \
20481 conftest
$ac_exeext conftest.
$ac_ext
20483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20484 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20485 if test $gcc_cv_math_func_log10l = yes; then
20487 cat >>confdefs.h
<<_ACEOF
20488 #define HAVE_LOG10L 1
20496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20497 $as_echo_n "checking for clog10f... " >&6; }
20498 if test "${gcc_cv_math_func_clog10f+set}" = set; then :
20499 $as_echo_n "(cached) " >&6
20501 if test x
$gcc_no_link = xyes
; then
20502 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20505 /* end confdefs.h. */
20507 #ifdef HAVE_COMPLEX_H
20508 #include <complex.h>
20514 int (*ptr)() = (int (*)())clog10f;
20523 if ac_fn_c_try_link
"$LINENO"; then :
20524 gcc_cv_math_func_clog10f
=yes
20526 gcc_cv_math_func_clog10f
=no
20528 rm -f core conftest.err conftest.
$ac_objext \
20529 conftest
$ac_exeext conftest.
$ac_ext
20531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20532 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
20533 if test $gcc_cv_math_func_clog10f = yes; then
20535 cat >>confdefs.h
<<_ACEOF
20536 #define HAVE_CLOG10F 1
20544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20545 $as_echo_n "checking for clog10... " >&6; }
20546 if test "${gcc_cv_math_func_clog10+set}" = set; then :
20547 $as_echo_n "(cached) " >&6
20549 if test x
$gcc_no_link = xyes
; then
20550 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20553 /* end confdefs.h. */
20555 #ifdef HAVE_COMPLEX_H
20556 #include <complex.h>
20562 int (*ptr)() = (int (*)())clog10;
20571 if ac_fn_c_try_link
"$LINENO"; then :
20572 gcc_cv_math_func_clog10
=yes
20574 gcc_cv_math_func_clog10
=no
20576 rm -f core conftest.err conftest.
$ac_objext \
20577 conftest
$ac_exeext conftest.
$ac_ext
20579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20580 $as_echo "$gcc_cv_math_func_clog10" >&6; }
20581 if test $gcc_cv_math_func_clog10 = yes; then
20583 cat >>confdefs.h
<<_ACEOF
20584 #define HAVE_CLOG10 1
20592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20593 $as_echo_n "checking for clog10l... " >&6; }
20594 if test "${gcc_cv_math_func_clog10l+set}" = set; then :
20595 $as_echo_n "(cached) " >&6
20597 if test x
$gcc_no_link = xyes
; then
20598 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20601 /* end confdefs.h. */
20603 #ifdef HAVE_COMPLEX_H
20604 #include <complex.h>
20610 int (*ptr)() = (int (*)())clog10l;
20619 if ac_fn_c_try_link
"$LINENO"; then :
20620 gcc_cv_math_func_clog10l
=yes
20622 gcc_cv_math_func_clog10l
=no
20624 rm -f core conftest.err conftest.
$ac_objext \
20625 conftest
$ac_exeext conftest.
$ac_ext
20627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20628 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
20629 if test $gcc_cv_math_func_clog10l = yes; then
20631 cat >>confdefs.h
<<_ACEOF
20632 #define HAVE_CLOG10L 1
20640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20641 $as_echo_n "checking for nextafterf... " >&6; }
20642 if test "${gcc_cv_math_func_nextafterf+set}" = set; then :
20643 $as_echo_n "(cached) " >&6
20645 if test x
$gcc_no_link = xyes
; then
20646 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20649 /* end confdefs.h. */
20651 #ifdef HAVE_COMPLEX_H
20652 #include <complex.h>
20658 int (*ptr)() = (int (*)())nextafterf;
20667 if ac_fn_c_try_link
"$LINENO"; then :
20668 gcc_cv_math_func_nextafterf
=yes
20670 gcc_cv_math_func_nextafterf
=no
20672 rm -f core conftest.err conftest.
$ac_objext \
20673 conftest
$ac_exeext conftest.
$ac_ext
20675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
20676 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
20677 if test $gcc_cv_math_func_nextafterf = yes; then
20679 cat >>confdefs.h
<<_ACEOF
20680 #define HAVE_NEXTAFTERF 1
20688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
20689 $as_echo_n "checking for nextafter... " >&6; }
20690 if test "${gcc_cv_math_func_nextafter+set}" = set; then :
20691 $as_echo_n "(cached) " >&6
20693 if test x
$gcc_no_link = xyes
; then
20694 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20697 /* end confdefs.h. */
20699 #ifdef HAVE_COMPLEX_H
20700 #include <complex.h>
20706 int (*ptr)() = (int (*)())nextafter;
20715 if ac_fn_c_try_link
"$LINENO"; then :
20716 gcc_cv_math_func_nextafter
=yes
20718 gcc_cv_math_func_nextafter
=no
20720 rm -f core conftest.err conftest.
$ac_objext \
20721 conftest
$ac_exeext conftest.
$ac_ext
20723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
20724 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
20725 if test $gcc_cv_math_func_nextafter = yes; then
20727 cat >>confdefs.h
<<_ACEOF
20728 #define HAVE_NEXTAFTER 1
20736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
20737 $as_echo_n "checking for nextafterl... " >&6; }
20738 if test "${gcc_cv_math_func_nextafterl+set}" = set; then :
20739 $as_echo_n "(cached) " >&6
20741 if test x
$gcc_no_link = xyes
; then
20742 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20745 /* end confdefs.h. */
20747 #ifdef HAVE_COMPLEX_H
20748 #include <complex.h>
20754 int (*ptr)() = (int (*)())nextafterl;
20763 if ac_fn_c_try_link
"$LINENO"; then :
20764 gcc_cv_math_func_nextafterl
=yes
20766 gcc_cv_math_func_nextafterl
=no
20768 rm -f core conftest.err conftest.
$ac_objext \
20769 conftest
$ac_exeext conftest.
$ac_ext
20771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
20772 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
20773 if test $gcc_cv_math_func_nextafterl = yes; then
20775 cat >>confdefs.h
<<_ACEOF
20776 #define HAVE_NEXTAFTERL 1
20784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
20785 $as_echo_n "checking for powf... " >&6; }
20786 if test "${gcc_cv_math_func_powf+set}" = set; then :
20787 $as_echo_n "(cached) " >&6
20789 if test x
$gcc_no_link = xyes
; then
20790 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20793 /* end confdefs.h. */
20795 #ifdef HAVE_COMPLEX_H
20796 #include <complex.h>
20802 int (*ptr)() = (int (*)())powf;
20811 if ac_fn_c_try_link
"$LINENO"; then :
20812 gcc_cv_math_func_powf
=yes
20814 gcc_cv_math_func_powf
=no
20816 rm -f core conftest.err conftest.
$ac_objext \
20817 conftest
$ac_exeext conftest.
$ac_ext
20819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
20820 $as_echo "$gcc_cv_math_func_powf" >&6; }
20821 if test $gcc_cv_math_func_powf = yes; then
20823 cat >>confdefs.h
<<_ACEOF
20824 #define HAVE_POWF 1
20832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
20833 $as_echo_n "checking for pow... " >&6; }
20834 if test "${gcc_cv_math_func_pow+set}" = set; then :
20835 $as_echo_n "(cached) " >&6
20837 if test x
$gcc_no_link = xyes
; then
20838 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20841 /* end confdefs.h. */
20843 #ifdef HAVE_COMPLEX_H
20844 #include <complex.h>
20850 int (*ptr)() = (int (*)())pow;
20859 if ac_fn_c_try_link
"$LINENO"; then :
20860 gcc_cv_math_func_pow
=yes
20862 gcc_cv_math_func_pow
=no
20864 rm -f core conftest.err conftest.
$ac_objext \
20865 conftest
$ac_exeext conftest.
$ac_ext
20867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
20868 $as_echo "$gcc_cv_math_func_pow" >&6; }
20869 if test $gcc_cv_math_func_pow = yes; then
20871 cat >>confdefs.h
<<_ACEOF
20880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl" >&5
20881 $as_echo_n "checking for powl... " >&6; }
20882 if test "${gcc_cv_math_func_powl+set}" = set; then :
20883 $as_echo_n "(cached) " >&6
20885 if test x
$gcc_no_link = xyes
; then
20886 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20889 /* end confdefs.h. */
20891 #ifdef HAVE_COMPLEX_H
20892 #include <complex.h>
20898 int (*ptr)() = (int (*)())powl;
20907 if ac_fn_c_try_link
"$LINENO"; then :
20908 gcc_cv_math_func_powl
=yes
20910 gcc_cv_math_func_powl
=no
20912 rm -f core conftest.err conftest.
$ac_objext \
20913 conftest
$ac_exeext conftest.
$ac_ext
20915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powl" >&5
20916 $as_echo "$gcc_cv_math_func_powl" >&6; }
20917 if test $gcc_cv_math_func_powl = yes; then
20919 cat >>confdefs.h
<<_ACEOF
20920 #define HAVE_POWL 1
20928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
20929 $as_echo_n "checking for cpowf... " >&6; }
20930 if test "${gcc_cv_math_func_cpowf+set}" = set; then :
20931 $as_echo_n "(cached) " >&6
20933 if test x
$gcc_no_link = xyes
; then
20934 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20937 /* end confdefs.h. */
20939 #ifdef HAVE_COMPLEX_H
20940 #include <complex.h>
20946 int (*ptr)() = (int (*)())cpowf;
20955 if ac_fn_c_try_link
"$LINENO"; then :
20956 gcc_cv_math_func_cpowf
=yes
20958 gcc_cv_math_func_cpowf
=no
20960 rm -f core conftest.err conftest.
$ac_objext \
20961 conftest
$ac_exeext conftest.
$ac_ext
20963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
20964 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
20965 if test $gcc_cv_math_func_cpowf = yes; then
20967 cat >>confdefs.h
<<_ACEOF
20968 #define HAVE_CPOWF 1
20976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
20977 $as_echo_n "checking for cpow... " >&6; }
20978 if test "${gcc_cv_math_func_cpow+set}" = set; then :
20979 $as_echo_n "(cached) " >&6
20981 if test x
$gcc_no_link = xyes
; then
20982 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20985 /* end confdefs.h. */
20987 #ifdef HAVE_COMPLEX_H
20988 #include <complex.h>
20994 int (*ptr)() = (int (*)())cpow;
21003 if ac_fn_c_try_link
"$LINENO"; then :
21004 gcc_cv_math_func_cpow
=yes
21006 gcc_cv_math_func_cpow
=no
21008 rm -f core conftest.err conftest.
$ac_objext \
21009 conftest
$ac_exeext conftest.
$ac_ext
21011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21012 $as_echo "$gcc_cv_math_func_cpow" >&6; }
21013 if test $gcc_cv_math_func_cpow = yes; then
21015 cat >>confdefs.h
<<_ACEOF
21016 #define HAVE_CPOW 1
21024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21025 $as_echo_n "checking for cpowl... " >&6; }
21026 if test "${gcc_cv_math_func_cpowl+set}" = set; then :
21027 $as_echo_n "(cached) " >&6
21029 if test x
$gcc_no_link = xyes
; then
21030 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21033 /* end confdefs.h. */
21035 #ifdef HAVE_COMPLEX_H
21036 #include <complex.h>
21042 int (*ptr)() = (int (*)())cpowl;
21051 if ac_fn_c_try_link
"$LINENO"; then :
21052 gcc_cv_math_func_cpowl
=yes
21054 gcc_cv_math_func_cpowl
=no
21056 rm -f core conftest.err conftest.
$ac_objext \
21057 conftest
$ac_exeext conftest.
$ac_ext
21059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21060 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21061 if test $gcc_cv_math_func_cpowl = yes; then
21063 cat >>confdefs.h
<<_ACEOF
21064 #define HAVE_CPOWL 1
21072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21073 $as_echo_n "checking for roundf... " >&6; }
21074 if test "${gcc_cv_math_func_roundf+set}" = set; then :
21075 $as_echo_n "(cached) " >&6
21077 if test x
$gcc_no_link = xyes
; then
21078 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21081 /* end confdefs.h. */
21083 #ifdef HAVE_COMPLEX_H
21084 #include <complex.h>
21090 int (*ptr)() = (int (*)())roundf;
21099 if ac_fn_c_try_link
"$LINENO"; then :
21100 gcc_cv_math_func_roundf
=yes
21102 gcc_cv_math_func_roundf
=no
21104 rm -f core conftest.err conftest.
$ac_objext \
21105 conftest
$ac_exeext conftest.
$ac_ext
21107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21108 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21109 if test $gcc_cv_math_func_roundf = yes; then
21111 cat >>confdefs.h
<<_ACEOF
21112 #define HAVE_ROUNDF 1
21120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21121 $as_echo_n "checking for round... " >&6; }
21122 if test "${gcc_cv_math_func_round+set}" = set; then :
21123 $as_echo_n "(cached) " >&6
21125 if test x
$gcc_no_link = xyes
; then
21126 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21129 /* end confdefs.h. */
21131 #ifdef HAVE_COMPLEX_H
21132 #include <complex.h>
21138 int (*ptr)() = (int (*)())round;
21147 if ac_fn_c_try_link
"$LINENO"; then :
21148 gcc_cv_math_func_round
=yes
21150 gcc_cv_math_func_round
=no
21152 rm -f core conftest.err conftest.
$ac_objext \
21153 conftest
$ac_exeext conftest.
$ac_ext
21155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21156 $as_echo "$gcc_cv_math_func_round" >&6; }
21157 if test $gcc_cv_math_func_round = yes; then
21159 cat >>confdefs.h
<<_ACEOF
21160 #define HAVE_ROUND 1
21168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21169 $as_echo_n "checking for roundl... " >&6; }
21170 if test "${gcc_cv_math_func_roundl+set}" = set; then :
21171 $as_echo_n "(cached) " >&6
21173 if test x
$gcc_no_link = xyes
; then
21174 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21177 /* end confdefs.h. */
21179 #ifdef HAVE_COMPLEX_H
21180 #include <complex.h>
21186 int (*ptr)() = (int (*)())roundl;
21195 if ac_fn_c_try_link
"$LINENO"; then :
21196 gcc_cv_math_func_roundl
=yes
21198 gcc_cv_math_func_roundl
=no
21200 rm -f core conftest.err conftest.
$ac_objext \
21201 conftest
$ac_exeext conftest.
$ac_ext
21203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21204 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21205 if test $gcc_cv_math_func_roundl = yes; then
21207 cat >>confdefs.h
<<_ACEOF
21208 #define HAVE_ROUNDL 1
21216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21217 $as_echo_n "checking for lroundf... " >&6; }
21218 if test "${gcc_cv_math_func_lroundf+set}" = set; then :
21219 $as_echo_n "(cached) " >&6
21221 if test x
$gcc_no_link = xyes
; then
21222 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21225 /* end confdefs.h. */
21227 #ifdef HAVE_COMPLEX_H
21228 #include <complex.h>
21234 int (*ptr)() = (int (*)())lroundf;
21243 if ac_fn_c_try_link
"$LINENO"; then :
21244 gcc_cv_math_func_lroundf
=yes
21246 gcc_cv_math_func_lroundf
=no
21248 rm -f core conftest.err conftest.
$ac_objext \
21249 conftest
$ac_exeext conftest.
$ac_ext
21251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21252 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21253 if test $gcc_cv_math_func_lroundf = yes; then
21255 cat >>confdefs.h
<<_ACEOF
21256 #define HAVE_LROUNDF 1
21264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21265 $as_echo_n "checking for lround... " >&6; }
21266 if test "${gcc_cv_math_func_lround+set}" = set; then :
21267 $as_echo_n "(cached) " >&6
21269 if test x
$gcc_no_link = xyes
; then
21270 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21273 /* end confdefs.h. */
21275 #ifdef HAVE_COMPLEX_H
21276 #include <complex.h>
21282 int (*ptr)() = (int (*)())lround;
21291 if ac_fn_c_try_link
"$LINENO"; then :
21292 gcc_cv_math_func_lround
=yes
21294 gcc_cv_math_func_lround
=no
21296 rm -f core conftest.err conftest.
$ac_objext \
21297 conftest
$ac_exeext conftest.
$ac_ext
21299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21300 $as_echo "$gcc_cv_math_func_lround" >&6; }
21301 if test $gcc_cv_math_func_lround = yes; then
21303 cat >>confdefs.h
<<_ACEOF
21304 #define HAVE_LROUND 1
21312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21313 $as_echo_n "checking for lroundl... " >&6; }
21314 if test "${gcc_cv_math_func_lroundl+set}" = set; then :
21315 $as_echo_n "(cached) " >&6
21317 if test x
$gcc_no_link = xyes
; then
21318 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21321 /* end confdefs.h. */
21323 #ifdef HAVE_COMPLEX_H
21324 #include <complex.h>
21330 int (*ptr)() = (int (*)())lroundl;
21339 if ac_fn_c_try_link
"$LINENO"; then :
21340 gcc_cv_math_func_lroundl
=yes
21342 gcc_cv_math_func_lroundl
=no
21344 rm -f core conftest.err conftest.
$ac_objext \
21345 conftest
$ac_exeext conftest.
$ac_ext
21347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21348 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21349 if test $gcc_cv_math_func_lroundl = yes; then
21351 cat >>confdefs.h
<<_ACEOF
21352 #define HAVE_LROUNDL 1
21360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21361 $as_echo_n "checking for llroundf... " >&6; }
21362 if test "${gcc_cv_math_func_llroundf+set}" = set; then :
21363 $as_echo_n "(cached) " >&6
21365 if test x
$gcc_no_link = xyes
; then
21366 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21369 /* end confdefs.h. */
21371 #ifdef HAVE_COMPLEX_H
21372 #include <complex.h>
21378 int (*ptr)() = (int (*)())llroundf;
21387 if ac_fn_c_try_link
"$LINENO"; then :
21388 gcc_cv_math_func_llroundf
=yes
21390 gcc_cv_math_func_llroundf
=no
21392 rm -f core conftest.err conftest.
$ac_objext \
21393 conftest
$ac_exeext conftest.
$ac_ext
21395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21396 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21397 if test $gcc_cv_math_func_llroundf = yes; then
21399 cat >>confdefs.h
<<_ACEOF
21400 #define HAVE_LLROUNDF 1
21408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21409 $as_echo_n "checking for llround... " >&6; }
21410 if test "${gcc_cv_math_func_llround+set}" = set; then :
21411 $as_echo_n "(cached) " >&6
21413 if test x
$gcc_no_link = xyes
; then
21414 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21417 /* end confdefs.h. */
21419 #ifdef HAVE_COMPLEX_H
21420 #include <complex.h>
21426 int (*ptr)() = (int (*)())llround;
21435 if ac_fn_c_try_link
"$LINENO"; then :
21436 gcc_cv_math_func_llround
=yes
21438 gcc_cv_math_func_llround
=no
21440 rm -f core conftest.err conftest.
$ac_objext \
21441 conftest
$ac_exeext conftest.
$ac_ext
21443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21444 $as_echo "$gcc_cv_math_func_llround" >&6; }
21445 if test $gcc_cv_math_func_llround = yes; then
21447 cat >>confdefs.h
<<_ACEOF
21448 #define HAVE_LLROUND 1
21456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21457 $as_echo_n "checking for llroundl... " >&6; }
21458 if test "${gcc_cv_math_func_llroundl+set}" = set; then :
21459 $as_echo_n "(cached) " >&6
21461 if test x
$gcc_no_link = xyes
; then
21462 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21465 /* end confdefs.h. */
21467 #ifdef HAVE_COMPLEX_H
21468 #include <complex.h>
21474 int (*ptr)() = (int (*)())llroundl;
21483 if ac_fn_c_try_link
"$LINENO"; then :
21484 gcc_cv_math_func_llroundl
=yes
21486 gcc_cv_math_func_llroundl
=no
21488 rm -f core conftest.err conftest.
$ac_objext \
21489 conftest
$ac_exeext conftest.
$ac_ext
21491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21492 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21493 if test $gcc_cv_math_func_llroundl = yes; then
21495 cat >>confdefs.h
<<_ACEOF
21496 #define HAVE_LLROUNDL 1
21504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21505 $as_echo_n "checking for scalbnf... " >&6; }
21506 if test "${gcc_cv_math_func_scalbnf+set}" = set; then :
21507 $as_echo_n "(cached) " >&6
21509 if test x
$gcc_no_link = xyes
; then
21510 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21513 /* end confdefs.h. */
21515 #ifdef HAVE_COMPLEX_H
21516 #include <complex.h>
21522 int (*ptr)() = (int (*)())scalbnf;
21531 if ac_fn_c_try_link
"$LINENO"; then :
21532 gcc_cv_math_func_scalbnf
=yes
21534 gcc_cv_math_func_scalbnf
=no
21536 rm -f core conftest.err conftest.
$ac_objext \
21537 conftest
$ac_exeext conftest.
$ac_ext
21539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21540 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21541 if test $gcc_cv_math_func_scalbnf = yes; then
21543 cat >>confdefs.h
<<_ACEOF
21544 #define HAVE_SCALBNF 1
21552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21553 $as_echo_n "checking for scalbn... " >&6; }
21554 if test "${gcc_cv_math_func_scalbn+set}" = set; then :
21555 $as_echo_n "(cached) " >&6
21557 if test x
$gcc_no_link = xyes
; then
21558 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21561 /* end confdefs.h. */
21563 #ifdef HAVE_COMPLEX_H
21564 #include <complex.h>
21570 int (*ptr)() = (int (*)())scalbn;
21579 if ac_fn_c_try_link
"$LINENO"; then :
21580 gcc_cv_math_func_scalbn
=yes
21582 gcc_cv_math_func_scalbn
=no
21584 rm -f core conftest.err conftest.
$ac_objext \
21585 conftest
$ac_exeext conftest.
$ac_ext
21587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21588 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
21589 if test $gcc_cv_math_func_scalbn = yes; then
21591 cat >>confdefs.h
<<_ACEOF
21592 #define HAVE_SCALBN 1
21600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21601 $as_echo_n "checking for scalbnl... " >&6; }
21602 if test "${gcc_cv_math_func_scalbnl+set}" = set; then :
21603 $as_echo_n "(cached) " >&6
21605 if test x
$gcc_no_link = xyes
; then
21606 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21609 /* end confdefs.h. */
21611 #ifdef HAVE_COMPLEX_H
21612 #include <complex.h>
21618 int (*ptr)() = (int (*)())scalbnl;
21627 if ac_fn_c_try_link
"$LINENO"; then :
21628 gcc_cv_math_func_scalbnl
=yes
21630 gcc_cv_math_func_scalbnl
=no
21632 rm -f core conftest.err conftest.
$ac_objext \
21633 conftest
$ac_exeext conftest.
$ac_ext
21635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21636 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21637 if test $gcc_cv_math_func_scalbnl = yes; then
21639 cat >>confdefs.h
<<_ACEOF
21640 #define HAVE_SCALBNL 1
21648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21649 $as_echo_n "checking for sinf... " >&6; }
21650 if test "${gcc_cv_math_func_sinf+set}" = set; then :
21651 $as_echo_n "(cached) " >&6
21653 if test x
$gcc_no_link = xyes
; then
21654 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21657 /* end confdefs.h. */
21659 #ifdef HAVE_COMPLEX_H
21660 #include <complex.h>
21666 int (*ptr)() = (int (*)())sinf;
21675 if ac_fn_c_try_link
"$LINENO"; then :
21676 gcc_cv_math_func_sinf
=yes
21678 gcc_cv_math_func_sinf
=no
21680 rm -f core conftest.err conftest.
$ac_objext \
21681 conftest
$ac_exeext conftest.
$ac_ext
21683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21684 $as_echo "$gcc_cv_math_func_sinf" >&6; }
21685 if test $gcc_cv_math_func_sinf = yes; then
21687 cat >>confdefs.h
<<_ACEOF
21688 #define HAVE_SINF 1
21696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21697 $as_echo_n "checking for sin... " >&6; }
21698 if test "${gcc_cv_math_func_sin+set}" = set; then :
21699 $as_echo_n "(cached) " >&6
21701 if test x
$gcc_no_link = xyes
; then
21702 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21705 /* end confdefs.h. */
21707 #ifdef HAVE_COMPLEX_H
21708 #include <complex.h>
21714 int (*ptr)() = (int (*)())sin;
21723 if ac_fn_c_try_link
"$LINENO"; then :
21724 gcc_cv_math_func_sin
=yes
21726 gcc_cv_math_func_sin
=no
21728 rm -f core conftest.err conftest.
$ac_objext \
21729 conftest
$ac_exeext conftest.
$ac_ext
21731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
21732 $as_echo "$gcc_cv_math_func_sin" >&6; }
21733 if test $gcc_cv_math_func_sin = yes; then
21735 cat >>confdefs.h
<<_ACEOF
21744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
21745 $as_echo_n "checking for sinl... " >&6; }
21746 if test "${gcc_cv_math_func_sinl+set}" = set; then :
21747 $as_echo_n "(cached) " >&6
21749 if test x
$gcc_no_link = xyes
; then
21750 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21753 /* end confdefs.h. */
21755 #ifdef HAVE_COMPLEX_H
21756 #include <complex.h>
21762 int (*ptr)() = (int (*)())sinl;
21771 if ac_fn_c_try_link
"$LINENO"; then :
21772 gcc_cv_math_func_sinl
=yes
21774 gcc_cv_math_func_sinl
=no
21776 rm -f core conftest.err conftest.
$ac_objext \
21777 conftest
$ac_exeext conftest.
$ac_ext
21779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
21780 $as_echo "$gcc_cv_math_func_sinl" >&6; }
21781 if test $gcc_cv_math_func_sinl = yes; then
21783 cat >>confdefs.h
<<_ACEOF
21784 #define HAVE_SINL 1
21792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
21793 $as_echo_n "checking for csinf... " >&6; }
21794 if test "${gcc_cv_math_func_csinf+set}" = set; then :
21795 $as_echo_n "(cached) " >&6
21797 if test x
$gcc_no_link = xyes
; then
21798 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21801 /* end confdefs.h. */
21803 #ifdef HAVE_COMPLEX_H
21804 #include <complex.h>
21810 int (*ptr)() = (int (*)())csinf;
21819 if ac_fn_c_try_link
"$LINENO"; then :
21820 gcc_cv_math_func_csinf
=yes
21822 gcc_cv_math_func_csinf
=no
21824 rm -f core conftest.err conftest.
$ac_objext \
21825 conftest
$ac_exeext conftest.
$ac_ext
21827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
21828 $as_echo "$gcc_cv_math_func_csinf" >&6; }
21829 if test $gcc_cv_math_func_csinf = yes; then
21831 cat >>confdefs.h
<<_ACEOF
21832 #define HAVE_CSINF 1
21840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
21841 $as_echo_n "checking for csin... " >&6; }
21842 if test "${gcc_cv_math_func_csin+set}" = set; then :
21843 $as_echo_n "(cached) " >&6
21845 if test x
$gcc_no_link = xyes
; then
21846 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21849 /* end confdefs.h. */
21851 #ifdef HAVE_COMPLEX_H
21852 #include <complex.h>
21858 int (*ptr)() = (int (*)())csin;
21867 if ac_fn_c_try_link
"$LINENO"; then :
21868 gcc_cv_math_func_csin
=yes
21870 gcc_cv_math_func_csin
=no
21872 rm -f core conftest.err conftest.
$ac_objext \
21873 conftest
$ac_exeext conftest.
$ac_ext
21875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
21876 $as_echo "$gcc_cv_math_func_csin" >&6; }
21877 if test $gcc_cv_math_func_csin = yes; then
21879 cat >>confdefs.h
<<_ACEOF
21880 #define HAVE_CSIN 1
21888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
21889 $as_echo_n "checking for csinl... " >&6; }
21890 if test "${gcc_cv_math_func_csinl+set}" = set; then :
21891 $as_echo_n "(cached) " >&6
21893 if test x
$gcc_no_link = xyes
; then
21894 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21897 /* end confdefs.h. */
21899 #ifdef HAVE_COMPLEX_H
21900 #include <complex.h>
21906 int (*ptr)() = (int (*)())csinl;
21915 if ac_fn_c_try_link
"$LINENO"; then :
21916 gcc_cv_math_func_csinl
=yes
21918 gcc_cv_math_func_csinl
=no
21920 rm -f core conftest.err conftest.
$ac_objext \
21921 conftest
$ac_exeext conftest.
$ac_ext
21923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
21924 $as_echo "$gcc_cv_math_func_csinl" >&6; }
21925 if test $gcc_cv_math_func_csinl = yes; then
21927 cat >>confdefs.h
<<_ACEOF
21928 #define HAVE_CSINL 1
21936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
21937 $as_echo_n "checking for sinhf... " >&6; }
21938 if test "${gcc_cv_math_func_sinhf+set}" = set; then :
21939 $as_echo_n "(cached) " >&6
21941 if test x
$gcc_no_link = xyes
; then
21942 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21945 /* end confdefs.h. */
21947 #ifdef HAVE_COMPLEX_H
21948 #include <complex.h>
21954 int (*ptr)() = (int (*)())sinhf;
21963 if ac_fn_c_try_link
"$LINENO"; then :
21964 gcc_cv_math_func_sinhf
=yes
21966 gcc_cv_math_func_sinhf
=no
21968 rm -f core conftest.err conftest.
$ac_objext \
21969 conftest
$ac_exeext conftest.
$ac_ext
21971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
21972 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
21973 if test $gcc_cv_math_func_sinhf = yes; then
21975 cat >>confdefs.h
<<_ACEOF
21976 #define HAVE_SINHF 1
21984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
21985 $as_echo_n "checking for sinh... " >&6; }
21986 if test "${gcc_cv_math_func_sinh+set}" = set; then :
21987 $as_echo_n "(cached) " >&6
21989 if test x
$gcc_no_link = xyes
; then
21990 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21993 /* end confdefs.h. */
21995 #ifdef HAVE_COMPLEX_H
21996 #include <complex.h>
22002 int (*ptr)() = (int (*)())sinh;
22011 if ac_fn_c_try_link
"$LINENO"; then :
22012 gcc_cv_math_func_sinh
=yes
22014 gcc_cv_math_func_sinh
=no
22016 rm -f core conftest.err conftest.
$ac_objext \
22017 conftest
$ac_exeext conftest.
$ac_ext
22019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22020 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22021 if test $gcc_cv_math_func_sinh = yes; then
22023 cat >>confdefs.h
<<_ACEOF
22024 #define HAVE_SINH 1
22032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22033 $as_echo_n "checking for sinhl... " >&6; }
22034 if test "${gcc_cv_math_func_sinhl+set}" = set; then :
22035 $as_echo_n "(cached) " >&6
22037 if test x
$gcc_no_link = xyes
; then
22038 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22041 /* end confdefs.h. */
22043 #ifdef HAVE_COMPLEX_H
22044 #include <complex.h>
22050 int (*ptr)() = (int (*)())sinhl;
22059 if ac_fn_c_try_link
"$LINENO"; then :
22060 gcc_cv_math_func_sinhl
=yes
22062 gcc_cv_math_func_sinhl
=no
22064 rm -f core conftest.err conftest.
$ac_objext \
22065 conftest
$ac_exeext conftest.
$ac_ext
22067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22068 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22069 if test $gcc_cv_math_func_sinhl = yes; then
22071 cat >>confdefs.h
<<_ACEOF
22072 #define HAVE_SINHL 1
22080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22081 $as_echo_n "checking for csinhf... " >&6; }
22082 if test "${gcc_cv_math_func_csinhf+set}" = set; then :
22083 $as_echo_n "(cached) " >&6
22085 if test x
$gcc_no_link = xyes
; then
22086 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22089 /* end confdefs.h. */
22091 #ifdef HAVE_COMPLEX_H
22092 #include <complex.h>
22098 int (*ptr)() = (int (*)())csinhf;
22107 if ac_fn_c_try_link
"$LINENO"; then :
22108 gcc_cv_math_func_csinhf
=yes
22110 gcc_cv_math_func_csinhf
=no
22112 rm -f core conftest.err conftest.
$ac_objext \
22113 conftest
$ac_exeext conftest.
$ac_ext
22115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22116 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22117 if test $gcc_cv_math_func_csinhf = yes; then
22119 cat >>confdefs.h
<<_ACEOF
22120 #define HAVE_CSINHF 1
22128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22129 $as_echo_n "checking for csinh... " >&6; }
22130 if test "${gcc_cv_math_func_csinh+set}" = set; then :
22131 $as_echo_n "(cached) " >&6
22133 if test x
$gcc_no_link = xyes
; then
22134 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22137 /* end confdefs.h. */
22139 #ifdef HAVE_COMPLEX_H
22140 #include <complex.h>
22146 int (*ptr)() = (int (*)())csinh;
22155 if ac_fn_c_try_link
"$LINENO"; then :
22156 gcc_cv_math_func_csinh
=yes
22158 gcc_cv_math_func_csinh
=no
22160 rm -f core conftest.err conftest.
$ac_objext \
22161 conftest
$ac_exeext conftest.
$ac_ext
22163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22164 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22165 if test $gcc_cv_math_func_csinh = yes; then
22167 cat >>confdefs.h
<<_ACEOF
22168 #define HAVE_CSINH 1
22176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22177 $as_echo_n "checking for csinhl... " >&6; }
22178 if test "${gcc_cv_math_func_csinhl+set}" = set; then :
22179 $as_echo_n "(cached) " >&6
22181 if test x
$gcc_no_link = xyes
; then
22182 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22185 /* end confdefs.h. */
22187 #ifdef HAVE_COMPLEX_H
22188 #include <complex.h>
22194 int (*ptr)() = (int (*)())csinhl;
22203 if ac_fn_c_try_link
"$LINENO"; then :
22204 gcc_cv_math_func_csinhl
=yes
22206 gcc_cv_math_func_csinhl
=no
22208 rm -f core conftest.err conftest.
$ac_objext \
22209 conftest
$ac_exeext conftest.
$ac_ext
22211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22212 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22213 if test $gcc_cv_math_func_csinhl = yes; then
22215 cat >>confdefs.h
<<_ACEOF
22216 #define HAVE_CSINHL 1
22224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22225 $as_echo_n "checking for sqrtf... " >&6; }
22226 if test "${gcc_cv_math_func_sqrtf+set}" = set; then :
22227 $as_echo_n "(cached) " >&6
22229 if test x
$gcc_no_link = xyes
; then
22230 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22233 /* end confdefs.h. */
22235 #ifdef HAVE_COMPLEX_H
22236 #include <complex.h>
22242 int (*ptr)() = (int (*)())sqrtf;
22251 if ac_fn_c_try_link
"$LINENO"; then :
22252 gcc_cv_math_func_sqrtf
=yes
22254 gcc_cv_math_func_sqrtf
=no
22256 rm -f core conftest.err conftest.
$ac_objext \
22257 conftest
$ac_exeext conftest.
$ac_ext
22259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22260 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22261 if test $gcc_cv_math_func_sqrtf = yes; then
22263 cat >>confdefs.h
<<_ACEOF
22264 #define HAVE_SQRTF 1
22272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22273 $as_echo_n "checking for sqrt... " >&6; }
22274 if test "${gcc_cv_math_func_sqrt+set}" = set; then :
22275 $as_echo_n "(cached) " >&6
22277 if test x
$gcc_no_link = xyes
; then
22278 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22281 /* end confdefs.h. */
22283 #ifdef HAVE_COMPLEX_H
22284 #include <complex.h>
22290 int (*ptr)() = (int (*)())sqrt;
22299 if ac_fn_c_try_link
"$LINENO"; then :
22300 gcc_cv_math_func_sqrt
=yes
22302 gcc_cv_math_func_sqrt
=no
22304 rm -f core conftest.err conftest.
$ac_objext \
22305 conftest
$ac_exeext conftest.
$ac_ext
22307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22308 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22309 if test $gcc_cv_math_func_sqrt = yes; then
22311 cat >>confdefs.h
<<_ACEOF
22312 #define HAVE_SQRT 1
22320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22321 $as_echo_n "checking for sqrtl... " >&6; }
22322 if test "${gcc_cv_math_func_sqrtl+set}" = set; then :
22323 $as_echo_n "(cached) " >&6
22325 if test x
$gcc_no_link = xyes
; then
22326 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22329 /* end confdefs.h. */
22331 #ifdef HAVE_COMPLEX_H
22332 #include <complex.h>
22338 int (*ptr)() = (int (*)())sqrtl;
22347 if ac_fn_c_try_link
"$LINENO"; then :
22348 gcc_cv_math_func_sqrtl
=yes
22350 gcc_cv_math_func_sqrtl
=no
22352 rm -f core conftest.err conftest.
$ac_objext \
22353 conftest
$ac_exeext conftest.
$ac_ext
22355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22356 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22357 if test $gcc_cv_math_func_sqrtl = yes; then
22359 cat >>confdefs.h
<<_ACEOF
22360 #define HAVE_SQRTL 1
22368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22369 $as_echo_n "checking for csqrtf... " >&6; }
22370 if test "${gcc_cv_math_func_csqrtf+set}" = set; then :
22371 $as_echo_n "(cached) " >&6
22373 if test x
$gcc_no_link = xyes
; then
22374 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22377 /* end confdefs.h. */
22379 #ifdef HAVE_COMPLEX_H
22380 #include <complex.h>
22386 int (*ptr)() = (int (*)())csqrtf;
22395 if ac_fn_c_try_link
"$LINENO"; then :
22396 gcc_cv_math_func_csqrtf
=yes
22398 gcc_cv_math_func_csqrtf
=no
22400 rm -f core conftest.err conftest.
$ac_objext \
22401 conftest
$ac_exeext conftest.
$ac_ext
22403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22404 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22405 if test $gcc_cv_math_func_csqrtf = yes; then
22407 cat >>confdefs.h
<<_ACEOF
22408 #define HAVE_CSQRTF 1
22416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22417 $as_echo_n "checking for csqrt... " >&6; }
22418 if test "${gcc_cv_math_func_csqrt+set}" = set; then :
22419 $as_echo_n "(cached) " >&6
22421 if test x
$gcc_no_link = xyes
; then
22422 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22425 /* end confdefs.h. */
22427 #ifdef HAVE_COMPLEX_H
22428 #include <complex.h>
22434 int (*ptr)() = (int (*)())csqrt;
22443 if ac_fn_c_try_link
"$LINENO"; then :
22444 gcc_cv_math_func_csqrt
=yes
22446 gcc_cv_math_func_csqrt
=no
22448 rm -f core conftest.err conftest.
$ac_objext \
22449 conftest
$ac_exeext conftest.
$ac_ext
22451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22452 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22453 if test $gcc_cv_math_func_csqrt = yes; then
22455 cat >>confdefs.h
<<_ACEOF
22456 #define HAVE_CSQRT 1
22464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22465 $as_echo_n "checking for csqrtl... " >&6; }
22466 if test "${gcc_cv_math_func_csqrtl+set}" = set; then :
22467 $as_echo_n "(cached) " >&6
22469 if test x
$gcc_no_link = xyes
; then
22470 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22473 /* end confdefs.h. */
22475 #ifdef HAVE_COMPLEX_H
22476 #include <complex.h>
22482 int (*ptr)() = (int (*)())csqrtl;
22491 if ac_fn_c_try_link
"$LINENO"; then :
22492 gcc_cv_math_func_csqrtl
=yes
22494 gcc_cv_math_func_csqrtl
=no
22496 rm -f core conftest.err conftest.
$ac_objext \
22497 conftest
$ac_exeext conftest.
$ac_ext
22499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22500 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22501 if test $gcc_cv_math_func_csqrtl = yes; then
22503 cat >>confdefs.h
<<_ACEOF
22504 #define HAVE_CSQRTL 1
22512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22513 $as_echo_n "checking for tanf... " >&6; }
22514 if test "${gcc_cv_math_func_tanf+set}" = set; then :
22515 $as_echo_n "(cached) " >&6
22517 if test x
$gcc_no_link = xyes
; then
22518 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22521 /* end confdefs.h. */
22523 #ifdef HAVE_COMPLEX_H
22524 #include <complex.h>
22530 int (*ptr)() = (int (*)())tanf;
22539 if ac_fn_c_try_link
"$LINENO"; then :
22540 gcc_cv_math_func_tanf
=yes
22542 gcc_cv_math_func_tanf
=no
22544 rm -f core conftest.err conftest.
$ac_objext \
22545 conftest
$ac_exeext conftest.
$ac_ext
22547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22548 $as_echo "$gcc_cv_math_func_tanf" >&6; }
22549 if test $gcc_cv_math_func_tanf = yes; then
22551 cat >>confdefs.h
<<_ACEOF
22552 #define HAVE_TANF 1
22560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22561 $as_echo_n "checking for tan... " >&6; }
22562 if test "${gcc_cv_math_func_tan+set}" = set; then :
22563 $as_echo_n "(cached) " >&6
22565 if test x
$gcc_no_link = xyes
; then
22566 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22569 /* end confdefs.h. */
22571 #ifdef HAVE_COMPLEX_H
22572 #include <complex.h>
22578 int (*ptr)() = (int (*)())tan;
22587 if ac_fn_c_try_link
"$LINENO"; then :
22588 gcc_cv_math_func_tan
=yes
22590 gcc_cv_math_func_tan
=no
22592 rm -f core conftest.err conftest.
$ac_objext \
22593 conftest
$ac_exeext conftest.
$ac_ext
22595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22596 $as_echo "$gcc_cv_math_func_tan" >&6; }
22597 if test $gcc_cv_math_func_tan = yes; then
22599 cat >>confdefs.h
<<_ACEOF
22608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22609 $as_echo_n "checking for tanl... " >&6; }
22610 if test "${gcc_cv_math_func_tanl+set}" = set; then :
22611 $as_echo_n "(cached) " >&6
22613 if test x
$gcc_no_link = xyes
; then
22614 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22617 /* end confdefs.h. */
22619 #ifdef HAVE_COMPLEX_H
22620 #include <complex.h>
22626 int (*ptr)() = (int (*)())tanl;
22635 if ac_fn_c_try_link
"$LINENO"; then :
22636 gcc_cv_math_func_tanl
=yes
22638 gcc_cv_math_func_tanl
=no
22640 rm -f core conftest.err conftest.
$ac_objext \
22641 conftest
$ac_exeext conftest.
$ac_ext
22643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22644 $as_echo "$gcc_cv_math_func_tanl" >&6; }
22645 if test $gcc_cv_math_func_tanl = yes; then
22647 cat >>confdefs.h
<<_ACEOF
22648 #define HAVE_TANL 1
22656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22657 $as_echo_n "checking for ctanf... " >&6; }
22658 if test "${gcc_cv_math_func_ctanf+set}" = set; then :
22659 $as_echo_n "(cached) " >&6
22661 if test x
$gcc_no_link = xyes
; then
22662 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22665 /* end confdefs.h. */
22667 #ifdef HAVE_COMPLEX_H
22668 #include <complex.h>
22674 int (*ptr)() = (int (*)())ctanf;
22683 if ac_fn_c_try_link
"$LINENO"; then :
22684 gcc_cv_math_func_ctanf
=yes
22686 gcc_cv_math_func_ctanf
=no
22688 rm -f core conftest.err conftest.
$ac_objext \
22689 conftest
$ac_exeext conftest.
$ac_ext
22691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22692 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
22693 if test $gcc_cv_math_func_ctanf = yes; then
22695 cat >>confdefs.h
<<_ACEOF
22696 #define HAVE_CTANF 1
22704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22705 $as_echo_n "checking for ctan... " >&6; }
22706 if test "${gcc_cv_math_func_ctan+set}" = set; then :
22707 $as_echo_n "(cached) " >&6
22709 if test x
$gcc_no_link = xyes
; then
22710 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22713 /* end confdefs.h. */
22715 #ifdef HAVE_COMPLEX_H
22716 #include <complex.h>
22722 int (*ptr)() = (int (*)())ctan;
22731 if ac_fn_c_try_link
"$LINENO"; then :
22732 gcc_cv_math_func_ctan
=yes
22734 gcc_cv_math_func_ctan
=no
22736 rm -f core conftest.err conftest.
$ac_objext \
22737 conftest
$ac_exeext conftest.
$ac_ext
22739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
22740 $as_echo "$gcc_cv_math_func_ctan" >&6; }
22741 if test $gcc_cv_math_func_ctan = yes; then
22743 cat >>confdefs.h
<<_ACEOF
22744 #define HAVE_CTAN 1
22752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
22753 $as_echo_n "checking for ctanl... " >&6; }
22754 if test "${gcc_cv_math_func_ctanl+set}" = set; then :
22755 $as_echo_n "(cached) " >&6
22757 if test x
$gcc_no_link = xyes
; then
22758 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22761 /* end confdefs.h. */
22763 #ifdef HAVE_COMPLEX_H
22764 #include <complex.h>
22770 int (*ptr)() = (int (*)())ctanl;
22779 if ac_fn_c_try_link
"$LINENO"; then :
22780 gcc_cv_math_func_ctanl
=yes
22782 gcc_cv_math_func_ctanl
=no
22784 rm -f core conftest.err conftest.
$ac_objext \
22785 conftest
$ac_exeext conftest.
$ac_ext
22787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
22788 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
22789 if test $gcc_cv_math_func_ctanl = yes; then
22791 cat >>confdefs.h
<<_ACEOF
22792 #define HAVE_CTANL 1
22800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
22801 $as_echo_n "checking for tanhf... " >&6; }
22802 if test "${gcc_cv_math_func_tanhf+set}" = set; then :
22803 $as_echo_n "(cached) " >&6
22805 if test x
$gcc_no_link = xyes
; then
22806 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22809 /* end confdefs.h. */
22811 #ifdef HAVE_COMPLEX_H
22812 #include <complex.h>
22818 int (*ptr)() = (int (*)())tanhf;
22827 if ac_fn_c_try_link
"$LINENO"; then :
22828 gcc_cv_math_func_tanhf
=yes
22830 gcc_cv_math_func_tanhf
=no
22832 rm -f core conftest.err conftest.
$ac_objext \
22833 conftest
$ac_exeext conftest.
$ac_ext
22835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
22836 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
22837 if test $gcc_cv_math_func_tanhf = yes; then
22839 cat >>confdefs.h
<<_ACEOF
22840 #define HAVE_TANHF 1
22848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
22849 $as_echo_n "checking for tanh... " >&6; }
22850 if test "${gcc_cv_math_func_tanh+set}" = set; then :
22851 $as_echo_n "(cached) " >&6
22853 if test x
$gcc_no_link = xyes
; then
22854 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22857 /* end confdefs.h. */
22859 #ifdef HAVE_COMPLEX_H
22860 #include <complex.h>
22866 int (*ptr)() = (int (*)())tanh;
22875 if ac_fn_c_try_link
"$LINENO"; then :
22876 gcc_cv_math_func_tanh
=yes
22878 gcc_cv_math_func_tanh
=no
22880 rm -f core conftest.err conftest.
$ac_objext \
22881 conftest
$ac_exeext conftest.
$ac_ext
22883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
22884 $as_echo "$gcc_cv_math_func_tanh" >&6; }
22885 if test $gcc_cv_math_func_tanh = yes; then
22887 cat >>confdefs.h
<<_ACEOF
22888 #define HAVE_TANH 1
22896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
22897 $as_echo_n "checking for tanhl... " >&6; }
22898 if test "${gcc_cv_math_func_tanhl+set}" = set; then :
22899 $as_echo_n "(cached) " >&6
22901 if test x
$gcc_no_link = xyes
; then
22902 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22905 /* end confdefs.h. */
22907 #ifdef HAVE_COMPLEX_H
22908 #include <complex.h>
22914 int (*ptr)() = (int (*)())tanhl;
22923 if ac_fn_c_try_link
"$LINENO"; then :
22924 gcc_cv_math_func_tanhl
=yes
22926 gcc_cv_math_func_tanhl
=no
22928 rm -f core conftest.err conftest.
$ac_objext \
22929 conftest
$ac_exeext conftest.
$ac_ext
22931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
22932 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
22933 if test $gcc_cv_math_func_tanhl = yes; then
22935 cat >>confdefs.h
<<_ACEOF
22936 #define HAVE_TANHL 1
22944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
22945 $as_echo_n "checking for ctanhf... " >&6; }
22946 if test "${gcc_cv_math_func_ctanhf+set}" = set; then :
22947 $as_echo_n "(cached) " >&6
22949 if test x
$gcc_no_link = xyes
; then
22950 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22953 /* end confdefs.h. */
22955 #ifdef HAVE_COMPLEX_H
22956 #include <complex.h>
22962 int (*ptr)() = (int (*)())ctanhf;
22971 if ac_fn_c_try_link
"$LINENO"; then :
22972 gcc_cv_math_func_ctanhf
=yes
22974 gcc_cv_math_func_ctanhf
=no
22976 rm -f core conftest.err conftest.
$ac_objext \
22977 conftest
$ac_exeext conftest.
$ac_ext
22979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
22980 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
22981 if test $gcc_cv_math_func_ctanhf = yes; then
22983 cat >>confdefs.h
<<_ACEOF
22984 #define HAVE_CTANHF 1
22992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
22993 $as_echo_n "checking for ctanh... " >&6; }
22994 if test "${gcc_cv_math_func_ctanh+set}" = set; then :
22995 $as_echo_n "(cached) " >&6
22997 if test x
$gcc_no_link = xyes
; then
22998 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23001 /* end confdefs.h. */
23003 #ifdef HAVE_COMPLEX_H
23004 #include <complex.h>
23010 int (*ptr)() = (int (*)())ctanh;
23019 if ac_fn_c_try_link
"$LINENO"; then :
23020 gcc_cv_math_func_ctanh
=yes
23022 gcc_cv_math_func_ctanh
=no
23024 rm -f core conftest.err conftest.
$ac_objext \
23025 conftest
$ac_exeext conftest.
$ac_ext
23027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23028 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23029 if test $gcc_cv_math_func_ctanh = yes; then
23031 cat >>confdefs.h
<<_ACEOF
23032 #define HAVE_CTANH 1
23040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23041 $as_echo_n "checking for ctanhl... " >&6; }
23042 if test "${gcc_cv_math_func_ctanhl+set}" = set; then :
23043 $as_echo_n "(cached) " >&6
23045 if test x
$gcc_no_link = xyes
; then
23046 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23049 /* end confdefs.h. */
23051 #ifdef HAVE_COMPLEX_H
23052 #include <complex.h>
23058 int (*ptr)() = (int (*)())ctanhl;
23067 if ac_fn_c_try_link
"$LINENO"; then :
23068 gcc_cv_math_func_ctanhl
=yes
23070 gcc_cv_math_func_ctanhl
=no
23072 rm -f core conftest.err conftest.
$ac_objext \
23073 conftest
$ac_exeext conftest.
$ac_ext
23075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23076 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23077 if test $gcc_cv_math_func_ctanhl = yes; then
23079 cat >>confdefs.h
<<_ACEOF
23080 #define HAVE_CTANHL 1
23088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23089 $as_echo_n "checking for truncf... " >&6; }
23090 if test "${gcc_cv_math_func_truncf+set}" = set; then :
23091 $as_echo_n "(cached) " >&6
23093 if test x
$gcc_no_link = xyes
; then
23094 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23097 /* end confdefs.h. */
23099 #ifdef HAVE_COMPLEX_H
23100 #include <complex.h>
23106 int (*ptr)() = (int (*)())truncf;
23115 if ac_fn_c_try_link
"$LINENO"; then :
23116 gcc_cv_math_func_truncf
=yes
23118 gcc_cv_math_func_truncf
=no
23120 rm -f core conftest.err conftest.
$ac_objext \
23121 conftest
$ac_exeext conftest.
$ac_ext
23123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23124 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23125 if test $gcc_cv_math_func_truncf = yes; then
23127 cat >>confdefs.h
<<_ACEOF
23128 #define HAVE_TRUNCF 1
23136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23137 $as_echo_n "checking for trunc... " >&6; }
23138 if test "${gcc_cv_math_func_trunc+set}" = set; then :
23139 $as_echo_n "(cached) " >&6
23141 if test x
$gcc_no_link = xyes
; then
23142 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23145 /* end confdefs.h. */
23147 #ifdef HAVE_COMPLEX_H
23148 #include <complex.h>
23154 int (*ptr)() = (int (*)())trunc;
23163 if ac_fn_c_try_link
"$LINENO"; then :
23164 gcc_cv_math_func_trunc
=yes
23166 gcc_cv_math_func_trunc
=no
23168 rm -f core conftest.err conftest.
$ac_objext \
23169 conftest
$ac_exeext conftest.
$ac_ext
23171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23172 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23173 if test $gcc_cv_math_func_trunc = yes; then
23175 cat >>confdefs.h
<<_ACEOF
23176 #define HAVE_TRUNC 1
23184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23185 $as_echo_n "checking for truncl... " >&6; }
23186 if test "${gcc_cv_math_func_truncl+set}" = set; then :
23187 $as_echo_n "(cached) " >&6
23189 if test x
$gcc_no_link = xyes
; then
23190 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23193 /* end confdefs.h. */
23195 #ifdef HAVE_COMPLEX_H
23196 #include <complex.h>
23202 int (*ptr)() = (int (*)())truncl;
23211 if ac_fn_c_try_link
"$LINENO"; then :
23212 gcc_cv_math_func_truncl
=yes
23214 gcc_cv_math_func_truncl
=no
23216 rm -f core conftest.err conftest.
$ac_objext \
23217 conftest
$ac_exeext conftest.
$ac_ext
23219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23220 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23221 if test $gcc_cv_math_func_truncl = yes; then
23223 cat >>confdefs.h
<<_ACEOF
23224 #define HAVE_TRUNCL 1
23232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23233 $as_echo_n "checking for erff... " >&6; }
23234 if test "${gcc_cv_math_func_erff+set}" = set; then :
23235 $as_echo_n "(cached) " >&6
23237 if test x
$gcc_no_link = xyes
; then
23238 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23241 /* end confdefs.h. */
23243 #ifdef HAVE_COMPLEX_H
23244 #include <complex.h>
23250 int (*ptr)() = (int (*)())erff;
23259 if ac_fn_c_try_link
"$LINENO"; then :
23260 gcc_cv_math_func_erff
=yes
23262 gcc_cv_math_func_erff
=no
23264 rm -f core conftest.err conftest.
$ac_objext \
23265 conftest
$ac_exeext conftest.
$ac_ext
23267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23268 $as_echo "$gcc_cv_math_func_erff" >&6; }
23269 if test $gcc_cv_math_func_erff = yes; then
23271 cat >>confdefs.h
<<_ACEOF
23272 #define HAVE_ERFF 1
23280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23281 $as_echo_n "checking for erf... " >&6; }
23282 if test "${gcc_cv_math_func_erf+set}" = set; then :
23283 $as_echo_n "(cached) " >&6
23285 if test x
$gcc_no_link = xyes
; then
23286 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23289 /* end confdefs.h. */
23291 #ifdef HAVE_COMPLEX_H
23292 #include <complex.h>
23298 int (*ptr)() = (int (*)())erf;
23307 if ac_fn_c_try_link
"$LINENO"; then :
23308 gcc_cv_math_func_erf
=yes
23310 gcc_cv_math_func_erf
=no
23312 rm -f core conftest.err conftest.
$ac_objext \
23313 conftest
$ac_exeext conftest.
$ac_ext
23315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23316 $as_echo "$gcc_cv_math_func_erf" >&6; }
23317 if test $gcc_cv_math_func_erf = yes; then
23319 cat >>confdefs.h
<<_ACEOF
23328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl" >&5
23329 $as_echo_n "checking for erfl... " >&6; }
23330 if test "${gcc_cv_math_func_erfl+set}" = set; then :
23331 $as_echo_n "(cached) " >&6
23333 if test x
$gcc_no_link = xyes
; then
23334 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23337 /* end confdefs.h. */
23339 #ifdef HAVE_COMPLEX_H
23340 #include <complex.h>
23346 int (*ptr)() = (int (*)())erfl;
23355 if ac_fn_c_try_link
"$LINENO"; then :
23356 gcc_cv_math_func_erfl
=yes
23358 gcc_cv_math_func_erfl
=no
23360 rm -f core conftest.err conftest.
$ac_objext \
23361 conftest
$ac_exeext conftest.
$ac_ext
23363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfl" >&5
23364 $as_echo "$gcc_cv_math_func_erfl" >&6; }
23365 if test $gcc_cv_math_func_erfl = yes; then
23367 cat >>confdefs.h
<<_ACEOF
23368 #define HAVE_ERFL 1
23376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23377 $as_echo_n "checking for erfcf... " >&6; }
23378 if test "${gcc_cv_math_func_erfcf+set}" = set; then :
23379 $as_echo_n "(cached) " >&6
23381 if test x
$gcc_no_link = xyes
; then
23382 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23385 /* end confdefs.h. */
23387 #ifdef HAVE_COMPLEX_H
23388 #include <complex.h>
23394 int (*ptr)() = (int (*)())erfcf;
23403 if ac_fn_c_try_link
"$LINENO"; then :
23404 gcc_cv_math_func_erfcf
=yes
23406 gcc_cv_math_func_erfcf
=no
23408 rm -f core conftest.err conftest.
$ac_objext \
23409 conftest
$ac_exeext conftest.
$ac_ext
23411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23412 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23413 if test $gcc_cv_math_func_erfcf = yes; then
23415 cat >>confdefs.h
<<_ACEOF
23416 #define HAVE_ERFCF 1
23424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23425 $as_echo_n "checking for erfc... " >&6; }
23426 if test "${gcc_cv_math_func_erfc+set}" = set; then :
23427 $as_echo_n "(cached) " >&6
23429 if test x
$gcc_no_link = xyes
; then
23430 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23433 /* end confdefs.h. */
23435 #ifdef HAVE_COMPLEX_H
23436 #include <complex.h>
23442 int (*ptr)() = (int (*)())erfc;
23451 if ac_fn_c_try_link
"$LINENO"; then :
23452 gcc_cv_math_func_erfc
=yes
23454 gcc_cv_math_func_erfc
=no
23456 rm -f core conftest.err conftest.
$ac_objext \
23457 conftest
$ac_exeext conftest.
$ac_ext
23459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23460 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23461 if test $gcc_cv_math_func_erfc = yes; then
23463 cat >>confdefs.h
<<_ACEOF
23464 #define HAVE_ERFC 1
23472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23473 $as_echo_n "checking for erfcl... " >&6; }
23474 if test "${gcc_cv_math_func_erfcl+set}" = set; then :
23475 $as_echo_n "(cached) " >&6
23477 if test x
$gcc_no_link = xyes
; then
23478 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23481 /* end confdefs.h. */
23483 #ifdef HAVE_COMPLEX_H
23484 #include <complex.h>
23490 int (*ptr)() = (int (*)())erfcl;
23499 if ac_fn_c_try_link
"$LINENO"; then :
23500 gcc_cv_math_func_erfcl
=yes
23502 gcc_cv_math_func_erfcl
=no
23504 rm -f core conftest.err conftest.
$ac_objext \
23505 conftest
$ac_exeext conftest.
$ac_ext
23507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23508 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23509 if test $gcc_cv_math_func_erfcl = yes; then
23511 cat >>confdefs.h
<<_ACEOF
23512 #define HAVE_ERFCL 1
23520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23521 $as_echo_n "checking for j0f... " >&6; }
23522 if test "${gcc_cv_math_func_j0f+set}" = set; then :
23523 $as_echo_n "(cached) " >&6
23525 if test x
$gcc_no_link = xyes
; then
23526 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23529 /* end confdefs.h. */
23531 #ifdef HAVE_COMPLEX_H
23532 #include <complex.h>
23538 int (*ptr)() = (int (*)())j0f;
23547 if ac_fn_c_try_link
"$LINENO"; then :
23548 gcc_cv_math_func_j0f
=yes
23550 gcc_cv_math_func_j0f
=no
23552 rm -f core conftest.err conftest.
$ac_objext \
23553 conftest
$ac_exeext conftest.
$ac_ext
23555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23556 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23557 if test $gcc_cv_math_func_j0f = yes; then
23559 cat >>confdefs.h
<<_ACEOF
23568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23569 $as_echo_n "checking for j0... " >&6; }
23570 if test "${gcc_cv_math_func_j0+set}" = set; then :
23571 $as_echo_n "(cached) " >&6
23573 if test x
$gcc_no_link = xyes
; then
23574 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23577 /* end confdefs.h. */
23579 #ifdef HAVE_COMPLEX_H
23580 #include <complex.h>
23586 int (*ptr)() = (int (*)())j0;
23595 if ac_fn_c_try_link
"$LINENO"; then :
23596 gcc_cv_math_func_j0
=yes
23598 gcc_cv_math_func_j0
=no
23600 rm -f core conftest.err conftest.
$ac_objext \
23601 conftest
$ac_exeext conftest.
$ac_ext
23603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23604 $as_echo "$gcc_cv_math_func_j0" >&6; }
23605 if test $gcc_cv_math_func_j0 = yes; then
23607 cat >>confdefs.h
<<_ACEOF
23616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l" >&5
23617 $as_echo_n "checking for j0l... " >&6; }
23618 if test "${gcc_cv_math_func_j0l+set}" = set; then :
23619 $as_echo_n "(cached) " >&6
23621 if test x
$gcc_no_link = xyes
; then
23622 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23625 /* end confdefs.h. */
23627 #ifdef HAVE_COMPLEX_H
23628 #include <complex.h>
23634 int (*ptr)() = (int (*)())j0l;
23643 if ac_fn_c_try_link
"$LINENO"; then :
23644 gcc_cv_math_func_j0l
=yes
23646 gcc_cv_math_func_j0l
=no
23648 rm -f core conftest.err conftest.
$ac_objext \
23649 conftest
$ac_exeext conftest.
$ac_ext
23651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0l" >&5
23652 $as_echo "$gcc_cv_math_func_j0l" >&6; }
23653 if test $gcc_cv_math_func_j0l = yes; then
23655 cat >>confdefs.h
<<_ACEOF
23664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23665 $as_echo_n "checking for j1f... " >&6; }
23666 if test "${gcc_cv_math_func_j1f+set}" = set; then :
23667 $as_echo_n "(cached) " >&6
23669 if test x
$gcc_no_link = xyes
; then
23670 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23673 /* end confdefs.h. */
23675 #ifdef HAVE_COMPLEX_H
23676 #include <complex.h>
23682 int (*ptr)() = (int (*)())j1f;
23691 if ac_fn_c_try_link
"$LINENO"; then :
23692 gcc_cv_math_func_j1f
=yes
23694 gcc_cv_math_func_j1f
=no
23696 rm -f core conftest.err conftest.
$ac_objext \
23697 conftest
$ac_exeext conftest.
$ac_ext
23699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23700 $as_echo "$gcc_cv_math_func_j1f" >&6; }
23701 if test $gcc_cv_math_func_j1f = yes; then
23703 cat >>confdefs.h
<<_ACEOF
23712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23713 $as_echo_n "checking for j1... " >&6; }
23714 if test "${gcc_cv_math_func_j1+set}" = set; then :
23715 $as_echo_n "(cached) " >&6
23717 if test x
$gcc_no_link = xyes
; then
23718 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23721 /* end confdefs.h. */
23723 #ifdef HAVE_COMPLEX_H
23724 #include <complex.h>
23730 int (*ptr)() = (int (*)())j1;
23739 if ac_fn_c_try_link
"$LINENO"; then :
23740 gcc_cv_math_func_j1
=yes
23742 gcc_cv_math_func_j1
=no
23744 rm -f core conftest.err conftest.
$ac_objext \
23745 conftest
$ac_exeext conftest.
$ac_ext
23747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23748 $as_echo "$gcc_cv_math_func_j1" >&6; }
23749 if test $gcc_cv_math_func_j1 = yes; then
23751 cat >>confdefs.h
<<_ACEOF
23760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l" >&5
23761 $as_echo_n "checking for j1l... " >&6; }
23762 if test "${gcc_cv_math_func_j1l+set}" = set; then :
23763 $as_echo_n "(cached) " >&6
23765 if test x
$gcc_no_link = xyes
; then
23766 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23769 /* end confdefs.h. */
23771 #ifdef HAVE_COMPLEX_H
23772 #include <complex.h>
23778 int (*ptr)() = (int (*)())j1l;
23787 if ac_fn_c_try_link
"$LINENO"; then :
23788 gcc_cv_math_func_j1l
=yes
23790 gcc_cv_math_func_j1l
=no
23792 rm -f core conftest.err conftest.
$ac_objext \
23793 conftest
$ac_exeext conftest.
$ac_ext
23795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1l" >&5
23796 $as_echo "$gcc_cv_math_func_j1l" >&6; }
23797 if test $gcc_cv_math_func_j1l = yes; then
23799 cat >>confdefs.h
<<_ACEOF
23808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23809 $as_echo_n "checking for jnf... " >&6; }
23810 if test "${gcc_cv_math_func_jnf+set}" = set; then :
23811 $as_echo_n "(cached) " >&6
23813 if test x
$gcc_no_link = xyes
; then
23814 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23817 /* end confdefs.h. */
23819 #ifdef HAVE_COMPLEX_H
23820 #include <complex.h>
23826 int (*ptr)() = (int (*)())jnf;
23835 if ac_fn_c_try_link
"$LINENO"; then :
23836 gcc_cv_math_func_jnf
=yes
23838 gcc_cv_math_func_jnf
=no
23840 rm -f core conftest.err conftest.
$ac_objext \
23841 conftest
$ac_exeext conftest.
$ac_ext
23843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23844 $as_echo "$gcc_cv_math_func_jnf" >&6; }
23845 if test $gcc_cv_math_func_jnf = yes; then
23847 cat >>confdefs.h
<<_ACEOF
23856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
23857 $as_echo_n "checking for jn... " >&6; }
23858 if test "${gcc_cv_math_func_jn+set}" = set; then :
23859 $as_echo_n "(cached) " >&6
23861 if test x
$gcc_no_link = xyes
; then
23862 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23865 /* end confdefs.h. */
23867 #ifdef HAVE_COMPLEX_H
23868 #include <complex.h>
23874 int (*ptr)() = (int (*)())jn;
23883 if ac_fn_c_try_link
"$LINENO"; then :
23884 gcc_cv_math_func_jn
=yes
23886 gcc_cv_math_func_jn
=no
23888 rm -f core conftest.err conftest.
$ac_objext \
23889 conftest
$ac_exeext conftest.
$ac_ext
23891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
23892 $as_echo "$gcc_cv_math_func_jn" >&6; }
23893 if test $gcc_cv_math_func_jn = yes; then
23895 cat >>confdefs.h
<<_ACEOF
23904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
23905 $as_echo_n "checking for jnl... " >&6; }
23906 if test "${gcc_cv_math_func_jnl+set}" = set; then :
23907 $as_echo_n "(cached) " >&6
23909 if test x
$gcc_no_link = xyes
; then
23910 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23913 /* end confdefs.h. */
23915 #ifdef HAVE_COMPLEX_H
23916 #include <complex.h>
23922 int (*ptr)() = (int (*)())jnl;
23931 if ac_fn_c_try_link
"$LINENO"; then :
23932 gcc_cv_math_func_jnl
=yes
23934 gcc_cv_math_func_jnl
=no
23936 rm -f core conftest.err conftest.
$ac_objext \
23937 conftest
$ac_exeext conftest.
$ac_ext
23939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
23940 $as_echo "$gcc_cv_math_func_jnl" >&6; }
23941 if test $gcc_cv_math_func_jnl = yes; then
23943 cat >>confdefs.h
<<_ACEOF
23952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
23953 $as_echo_n "checking for y0f... " >&6; }
23954 if test "${gcc_cv_math_func_y0f+set}" = set; then :
23955 $as_echo_n "(cached) " >&6
23957 if test x
$gcc_no_link = xyes
; then
23958 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23961 /* end confdefs.h. */
23963 #ifdef HAVE_COMPLEX_H
23964 #include <complex.h>
23970 int (*ptr)() = (int (*)())y0f;
23979 if ac_fn_c_try_link
"$LINENO"; then :
23980 gcc_cv_math_func_y0f
=yes
23982 gcc_cv_math_func_y0f
=no
23984 rm -f core conftest.err conftest.
$ac_objext \
23985 conftest
$ac_exeext conftest.
$ac_ext
23987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
23988 $as_echo "$gcc_cv_math_func_y0f" >&6; }
23989 if test $gcc_cv_math_func_y0f = yes; then
23991 cat >>confdefs.h
<<_ACEOF
24000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
24001 $as_echo_n "checking for y0... " >&6; }
24002 if test "${gcc_cv_math_func_y0+set}" = set; then :
24003 $as_echo_n "(cached) " >&6
24005 if test x
$gcc_no_link = xyes
; then
24006 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24009 /* end confdefs.h. */
24011 #ifdef HAVE_COMPLEX_H
24012 #include <complex.h>
24018 int (*ptr)() = (int (*)())y0;
24027 if ac_fn_c_try_link
"$LINENO"; then :
24028 gcc_cv_math_func_y0
=yes
24030 gcc_cv_math_func_y0
=no
24032 rm -f core conftest.err conftest.
$ac_objext \
24033 conftest
$ac_exeext conftest.
$ac_ext
24035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24036 $as_echo "$gcc_cv_math_func_y0" >&6; }
24037 if test $gcc_cv_math_func_y0 = yes; then
24039 cat >>confdefs.h
<<_ACEOF
24048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l" >&5
24049 $as_echo_n "checking for y0l... " >&6; }
24050 if test "${gcc_cv_math_func_y0l+set}" = set; then :
24051 $as_echo_n "(cached) " >&6
24053 if test x
$gcc_no_link = xyes
; then
24054 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24057 /* end confdefs.h. */
24059 #ifdef HAVE_COMPLEX_H
24060 #include <complex.h>
24066 int (*ptr)() = (int (*)())y0l;
24075 if ac_fn_c_try_link
"$LINENO"; then :
24076 gcc_cv_math_func_y0l
=yes
24078 gcc_cv_math_func_y0l
=no
24080 rm -f core conftest.err conftest.
$ac_objext \
24081 conftest
$ac_exeext conftest.
$ac_ext
24083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0l" >&5
24084 $as_echo "$gcc_cv_math_func_y0l" >&6; }
24085 if test $gcc_cv_math_func_y0l = yes; then
24087 cat >>confdefs.h
<<_ACEOF
24096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24097 $as_echo_n "checking for y1f... " >&6; }
24098 if test "${gcc_cv_math_func_y1f+set}" = set; then :
24099 $as_echo_n "(cached) " >&6
24101 if test x
$gcc_no_link = xyes
; then
24102 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24105 /* end confdefs.h. */
24107 #ifdef HAVE_COMPLEX_H
24108 #include <complex.h>
24114 int (*ptr)() = (int (*)())y1f;
24123 if ac_fn_c_try_link
"$LINENO"; then :
24124 gcc_cv_math_func_y1f
=yes
24126 gcc_cv_math_func_y1f
=no
24128 rm -f core conftest.err conftest.
$ac_objext \
24129 conftest
$ac_exeext conftest.
$ac_ext
24131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24132 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24133 if test $gcc_cv_math_func_y1f = yes; then
24135 cat >>confdefs.h
<<_ACEOF
24144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24145 $as_echo_n "checking for y1... " >&6; }
24146 if test "${gcc_cv_math_func_y1+set}" = set; then :
24147 $as_echo_n "(cached) " >&6
24149 if test x
$gcc_no_link = xyes
; then
24150 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24153 /* end confdefs.h. */
24155 #ifdef HAVE_COMPLEX_H
24156 #include <complex.h>
24162 int (*ptr)() = (int (*)())y1;
24171 if ac_fn_c_try_link
"$LINENO"; then :
24172 gcc_cv_math_func_y1
=yes
24174 gcc_cv_math_func_y1
=no
24176 rm -f core conftest.err conftest.
$ac_objext \
24177 conftest
$ac_exeext conftest.
$ac_ext
24179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24180 $as_echo "$gcc_cv_math_func_y1" >&6; }
24181 if test $gcc_cv_math_func_y1 = yes; then
24183 cat >>confdefs.h
<<_ACEOF
24192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l" >&5
24193 $as_echo_n "checking for y1l... " >&6; }
24194 if test "${gcc_cv_math_func_y1l+set}" = set; then :
24195 $as_echo_n "(cached) " >&6
24197 if test x
$gcc_no_link = xyes
; then
24198 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24201 /* end confdefs.h. */
24203 #ifdef HAVE_COMPLEX_H
24204 #include <complex.h>
24210 int (*ptr)() = (int (*)())y1l;
24219 if ac_fn_c_try_link
"$LINENO"; then :
24220 gcc_cv_math_func_y1l
=yes
24222 gcc_cv_math_func_y1l
=no
24224 rm -f core conftest.err conftest.
$ac_objext \
24225 conftest
$ac_exeext conftest.
$ac_ext
24227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1l" >&5
24228 $as_echo "$gcc_cv_math_func_y1l" >&6; }
24229 if test $gcc_cv_math_func_y1l = yes; then
24231 cat >>confdefs.h
<<_ACEOF
24240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24241 $as_echo_n "checking for ynf... " >&6; }
24242 if test "${gcc_cv_math_func_ynf+set}" = set; then :
24243 $as_echo_n "(cached) " >&6
24245 if test x
$gcc_no_link = xyes
; then
24246 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24249 /* end confdefs.h. */
24251 #ifdef HAVE_COMPLEX_H
24252 #include <complex.h>
24258 int (*ptr)() = (int (*)())ynf;
24267 if ac_fn_c_try_link
"$LINENO"; then :
24268 gcc_cv_math_func_ynf
=yes
24270 gcc_cv_math_func_ynf
=no
24272 rm -f core conftest.err conftest.
$ac_objext \
24273 conftest
$ac_exeext conftest.
$ac_ext
24275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24276 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24277 if test $gcc_cv_math_func_ynf = yes; then
24279 cat >>confdefs.h
<<_ACEOF
24288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24289 $as_echo_n "checking for yn... " >&6; }
24290 if test "${gcc_cv_math_func_yn+set}" = set; then :
24291 $as_echo_n "(cached) " >&6
24293 if test x
$gcc_no_link = xyes
; then
24294 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24297 /* end confdefs.h. */
24299 #ifdef HAVE_COMPLEX_H
24300 #include <complex.h>
24306 int (*ptr)() = (int (*)())yn;
24315 if ac_fn_c_try_link
"$LINENO"; then :
24316 gcc_cv_math_func_yn
=yes
24318 gcc_cv_math_func_yn
=no
24320 rm -f core conftest.err conftest.
$ac_objext \
24321 conftest
$ac_exeext conftest.
$ac_ext
24323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24324 $as_echo "$gcc_cv_math_func_yn" >&6; }
24325 if test $gcc_cv_math_func_yn = yes; then
24327 cat >>confdefs.h
<<_ACEOF
24336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24337 $as_echo_n "checking for ynl... " >&6; }
24338 if test "${gcc_cv_math_func_ynl+set}" = set; then :
24339 $as_echo_n "(cached) " >&6
24341 if test x
$gcc_no_link = xyes
; then
24342 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24345 /* end confdefs.h. */
24347 #ifdef HAVE_COMPLEX_H
24348 #include <complex.h>
24354 int (*ptr)() = (int (*)())ynl;
24363 if ac_fn_c_try_link
"$LINENO"; then :
24364 gcc_cv_math_func_ynl
=yes
24366 gcc_cv_math_func_ynl
=no
24368 rm -f core conftest.err conftest.
$ac_objext \
24369 conftest
$ac_exeext conftest.
$ac_ext
24371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24372 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24373 if test $gcc_cv_math_func_ynl = yes; then
24375 cat >>confdefs.h
<<_ACEOF
24384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24385 $as_echo_n "checking for tgamma... " >&6; }
24386 if test "${gcc_cv_math_func_tgamma+set}" = set; then :
24387 $as_echo_n "(cached) " >&6
24389 if test x
$gcc_no_link = xyes
; then
24390 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24393 /* end confdefs.h. */
24395 #ifdef HAVE_COMPLEX_H
24396 #include <complex.h>
24402 int (*ptr)() = (int (*)())tgamma;
24411 if ac_fn_c_try_link
"$LINENO"; then :
24412 gcc_cv_math_func_tgamma
=yes
24414 gcc_cv_math_func_tgamma
=no
24416 rm -f core conftest.err conftest.
$ac_objext \
24417 conftest
$ac_exeext conftest.
$ac_ext
24419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24420 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24421 if test $gcc_cv_math_func_tgamma = yes; then
24423 cat >>confdefs.h
<<_ACEOF
24424 #define HAVE_TGAMMA 1
24432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24433 $as_echo_n "checking for tgammaf... " >&6; }
24434 if test "${gcc_cv_math_func_tgammaf+set}" = set; then :
24435 $as_echo_n "(cached) " >&6
24437 if test x
$gcc_no_link = xyes
; then
24438 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24441 /* end confdefs.h. */
24443 #ifdef HAVE_COMPLEX_H
24444 #include <complex.h>
24450 int (*ptr)() = (int (*)())tgammaf;
24459 if ac_fn_c_try_link
"$LINENO"; then :
24460 gcc_cv_math_func_tgammaf
=yes
24462 gcc_cv_math_func_tgammaf
=no
24464 rm -f core conftest.err conftest.
$ac_objext \
24465 conftest
$ac_exeext conftest.
$ac_ext
24467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24468 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24469 if test $gcc_cv_math_func_tgammaf = yes; then
24471 cat >>confdefs.h
<<_ACEOF
24472 #define HAVE_TGAMMAF 1
24480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal" >&5
24481 $as_echo_n "checking for tgammal... " >&6; }
24482 if test "${gcc_cv_math_func_tgammal+set}" = set; then :
24483 $as_echo_n "(cached) " >&6
24485 if test x
$gcc_no_link = xyes
; then
24486 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24489 /* end confdefs.h. */
24491 #ifdef HAVE_COMPLEX_H
24492 #include <complex.h>
24498 int (*ptr)() = (int (*)())tgammal;
24507 if ac_fn_c_try_link
"$LINENO"; then :
24508 gcc_cv_math_func_tgammal
=yes
24510 gcc_cv_math_func_tgammal
=no
24512 rm -f core conftest.err conftest.
$ac_objext \
24513 conftest
$ac_exeext conftest.
$ac_ext
24515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammal" >&5
24516 $as_echo "$gcc_cv_math_func_tgammal" >&6; }
24517 if test $gcc_cv_math_func_tgammal = yes; then
24519 cat >>confdefs.h
<<_ACEOF
24520 #define HAVE_TGAMMAL 1
24528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24529 $as_echo_n "checking for lgamma... " >&6; }
24530 if test "${gcc_cv_math_func_lgamma+set}" = set; then :
24531 $as_echo_n "(cached) " >&6
24533 if test x
$gcc_no_link = xyes
; then
24534 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24537 /* end confdefs.h. */
24539 #ifdef HAVE_COMPLEX_H
24540 #include <complex.h>
24546 int (*ptr)() = (int (*)())lgamma;
24555 if ac_fn_c_try_link
"$LINENO"; then :
24556 gcc_cv_math_func_lgamma
=yes
24558 gcc_cv_math_func_lgamma
=no
24560 rm -f core conftest.err conftest.
$ac_objext \
24561 conftest
$ac_exeext conftest.
$ac_ext
24563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24564 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24565 if test $gcc_cv_math_func_lgamma = yes; then
24567 cat >>confdefs.h
<<_ACEOF
24568 #define HAVE_LGAMMA 1
24576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24577 $as_echo_n "checking for lgammaf... " >&6; }
24578 if test "${gcc_cv_math_func_lgammaf+set}" = set; then :
24579 $as_echo_n "(cached) " >&6
24581 if test x
$gcc_no_link = xyes
; then
24582 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24585 /* end confdefs.h. */
24587 #ifdef HAVE_COMPLEX_H
24588 #include <complex.h>
24594 int (*ptr)() = (int (*)())lgammaf;
24603 if ac_fn_c_try_link
"$LINENO"; then :
24604 gcc_cv_math_func_lgammaf
=yes
24606 gcc_cv_math_func_lgammaf
=no
24608 rm -f core conftest.err conftest.
$ac_objext \
24609 conftest
$ac_exeext conftest.
$ac_ext
24611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24612 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24613 if test $gcc_cv_math_func_lgammaf = yes; then
24615 cat >>confdefs.h
<<_ACEOF
24616 #define HAVE_LGAMMAF 1
24624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal" >&5
24625 $as_echo_n "checking for lgammal... " >&6; }
24626 if test "${gcc_cv_math_func_lgammal+set}" = set; then :
24627 $as_echo_n "(cached) " >&6
24629 if test x
$gcc_no_link = xyes
; then
24630 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24633 /* end confdefs.h. */
24635 #ifdef HAVE_COMPLEX_H
24636 #include <complex.h>
24642 int (*ptr)() = (int (*)())lgammal;
24651 if ac_fn_c_try_link
"$LINENO"; then :
24652 gcc_cv_math_func_lgammal
=yes
24654 gcc_cv_math_func_lgammal
=no
24656 rm -f core conftest.err conftest.
$ac_objext \
24657 conftest
$ac_exeext conftest.
$ac_ext
24659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammal" >&5
24660 $as_echo "$gcc_cv_math_func_lgammal" >&6; }
24661 if test $gcc_cv_math_func_lgammal = yes; then
24663 cat >>confdefs.h
<<_ACEOF
24664 #define HAVE_LGAMMAL 1
24670 # Check for GFORTRAN_C99_1.1 funcs
24674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24675 $as_echo_n "checking for cacos... " >&6; }
24676 if test "${gcc_cv_math_func_cacos+set}" = set; then :
24677 $as_echo_n "(cached) " >&6
24679 if test x
$gcc_no_link = xyes
; then
24680 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24683 /* end confdefs.h. */
24685 #ifdef HAVE_COMPLEX_H
24686 #include <complex.h>
24692 int (*ptr)() = (int (*)())cacos;
24701 if ac_fn_c_try_link
"$LINENO"; then :
24702 gcc_cv_math_func_cacos
=yes
24704 gcc_cv_math_func_cacos
=no
24706 rm -f core conftest.err conftest.
$ac_objext \
24707 conftest
$ac_exeext conftest.
$ac_ext
24709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24710 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24711 if test $gcc_cv_math_func_cacos = yes; then
24713 cat >>confdefs.h
<<_ACEOF
24714 #define HAVE_CACOS 1
24722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24723 $as_echo_n "checking for cacosf... " >&6; }
24724 if test "${gcc_cv_math_func_cacosf+set}" = set; then :
24725 $as_echo_n "(cached) " >&6
24727 if test x
$gcc_no_link = xyes
; then
24728 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24731 /* end confdefs.h. */
24733 #ifdef HAVE_COMPLEX_H
24734 #include <complex.h>
24740 int (*ptr)() = (int (*)())cacosf;
24749 if ac_fn_c_try_link
"$LINENO"; then :
24750 gcc_cv_math_func_cacosf
=yes
24752 gcc_cv_math_func_cacosf
=no
24754 rm -f core conftest.err conftest.
$ac_objext \
24755 conftest
$ac_exeext conftest.
$ac_ext
24757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24758 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24759 if test $gcc_cv_math_func_cacosf = yes; then
24761 cat >>confdefs.h
<<_ACEOF
24762 #define HAVE_CACOSF 1
24770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24771 $as_echo_n "checking for cacosh... " >&6; }
24772 if test "${gcc_cv_math_func_cacosh+set}" = set; then :
24773 $as_echo_n "(cached) " >&6
24775 if test x
$gcc_no_link = xyes
; then
24776 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24779 /* end confdefs.h. */
24781 #ifdef HAVE_COMPLEX_H
24782 #include <complex.h>
24788 int (*ptr)() = (int (*)())cacosh;
24797 if ac_fn_c_try_link
"$LINENO"; then :
24798 gcc_cv_math_func_cacosh
=yes
24800 gcc_cv_math_func_cacosh
=no
24802 rm -f core conftest.err conftest.
$ac_objext \
24803 conftest
$ac_exeext conftest.
$ac_ext
24805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24806 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24807 if test $gcc_cv_math_func_cacosh = yes; then
24809 cat >>confdefs.h
<<_ACEOF
24810 #define HAVE_CACOSH 1
24818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24819 $as_echo_n "checking for cacoshf... " >&6; }
24820 if test "${gcc_cv_math_func_cacoshf+set}" = set; then :
24821 $as_echo_n "(cached) " >&6
24823 if test x
$gcc_no_link = xyes
; then
24824 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24827 /* end confdefs.h. */
24829 #ifdef HAVE_COMPLEX_H
24830 #include <complex.h>
24836 int (*ptr)() = (int (*)())cacoshf;
24845 if ac_fn_c_try_link
"$LINENO"; then :
24846 gcc_cv_math_func_cacoshf
=yes
24848 gcc_cv_math_func_cacoshf
=no
24850 rm -f core conftest.err conftest.
$ac_objext \
24851 conftest
$ac_exeext conftest.
$ac_ext
24853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24854 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24855 if test $gcc_cv_math_func_cacoshf = yes; then
24857 cat >>confdefs.h
<<_ACEOF
24858 #define HAVE_CACOSHF 1
24866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24867 $as_echo_n "checking for cacoshl... " >&6; }
24868 if test "${gcc_cv_math_func_cacoshl+set}" = set; then :
24869 $as_echo_n "(cached) " >&6
24871 if test x
$gcc_no_link = xyes
; then
24872 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24875 /* end confdefs.h. */
24877 #ifdef HAVE_COMPLEX_H
24878 #include <complex.h>
24884 int (*ptr)() = (int (*)())cacoshl;
24893 if ac_fn_c_try_link
"$LINENO"; then :
24894 gcc_cv_math_func_cacoshl
=yes
24896 gcc_cv_math_func_cacoshl
=no
24898 rm -f core conftest.err conftest.
$ac_objext \
24899 conftest
$ac_exeext conftest.
$ac_ext
24901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
24902 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24903 if test $gcc_cv_math_func_cacoshl = yes; then
24905 cat >>confdefs.h
<<_ACEOF
24906 #define HAVE_CACOSHL 1
24914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24915 $as_echo_n "checking for cacosl... " >&6; }
24916 if test "${gcc_cv_math_func_cacosl+set}" = set; then :
24917 $as_echo_n "(cached) " >&6
24919 if test x
$gcc_no_link = xyes
; then
24920 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24923 /* end confdefs.h. */
24925 #ifdef HAVE_COMPLEX_H
24926 #include <complex.h>
24932 int (*ptr)() = (int (*)())cacosl;
24941 if ac_fn_c_try_link
"$LINENO"; then :
24942 gcc_cv_math_func_cacosl
=yes
24944 gcc_cv_math_func_cacosl
=no
24946 rm -f core conftest.err conftest.
$ac_objext \
24947 conftest
$ac_exeext conftest.
$ac_ext
24949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
24950 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
24951 if test $gcc_cv_math_func_cacosl = yes; then
24953 cat >>confdefs.h
<<_ACEOF
24954 #define HAVE_CACOSL 1
24962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24963 $as_echo_n "checking for casin... " >&6; }
24964 if test "${gcc_cv_math_func_casin+set}" = set; then :
24965 $as_echo_n "(cached) " >&6
24967 if test x
$gcc_no_link = xyes
; then
24968 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24971 /* end confdefs.h. */
24973 #ifdef HAVE_COMPLEX_H
24974 #include <complex.h>
24980 int (*ptr)() = (int (*)())casin;
24989 if ac_fn_c_try_link
"$LINENO"; then :
24990 gcc_cv_math_func_casin
=yes
24992 gcc_cv_math_func_casin
=no
24994 rm -f core conftest.err conftest.
$ac_objext \
24995 conftest
$ac_exeext conftest.
$ac_ext
24997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
24998 $as_echo "$gcc_cv_math_func_casin" >&6; }
24999 if test $gcc_cv_math_func_casin = yes; then
25001 cat >>confdefs.h
<<_ACEOF
25002 #define HAVE_CASIN 1
25010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
25011 $as_echo_n "checking for casinf... " >&6; }
25012 if test "${gcc_cv_math_func_casinf+set}" = set; then :
25013 $as_echo_n "(cached) " >&6
25015 if test x
$gcc_no_link = xyes
; then
25016 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25019 /* end confdefs.h. */
25021 #ifdef HAVE_COMPLEX_H
25022 #include <complex.h>
25028 int (*ptr)() = (int (*)())casinf;
25037 if ac_fn_c_try_link
"$LINENO"; then :
25038 gcc_cv_math_func_casinf
=yes
25040 gcc_cv_math_func_casinf
=no
25042 rm -f core conftest.err conftest.
$ac_objext \
25043 conftest
$ac_exeext conftest.
$ac_ext
25045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25046 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25047 if test $gcc_cv_math_func_casinf = yes; then
25049 cat >>confdefs.h
<<_ACEOF
25050 #define HAVE_CASINF 1
25058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25059 $as_echo_n "checking for casinh... " >&6; }
25060 if test "${gcc_cv_math_func_casinh+set}" = set; then :
25061 $as_echo_n "(cached) " >&6
25063 if test x
$gcc_no_link = xyes
; then
25064 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25067 /* end confdefs.h. */
25069 #ifdef HAVE_COMPLEX_H
25070 #include <complex.h>
25076 int (*ptr)() = (int (*)())casinh;
25085 if ac_fn_c_try_link
"$LINENO"; then :
25086 gcc_cv_math_func_casinh
=yes
25088 gcc_cv_math_func_casinh
=no
25090 rm -f core conftest.err conftest.
$ac_objext \
25091 conftest
$ac_exeext conftest.
$ac_ext
25093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25094 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25095 if test $gcc_cv_math_func_casinh = yes; then
25097 cat >>confdefs.h
<<_ACEOF
25098 #define HAVE_CASINH 1
25106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25107 $as_echo_n "checking for casinhf... " >&6; }
25108 if test "${gcc_cv_math_func_casinhf+set}" = set; then :
25109 $as_echo_n "(cached) " >&6
25111 if test x
$gcc_no_link = xyes
; then
25112 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25115 /* end confdefs.h. */
25117 #ifdef HAVE_COMPLEX_H
25118 #include <complex.h>
25124 int (*ptr)() = (int (*)())casinhf;
25133 if ac_fn_c_try_link
"$LINENO"; then :
25134 gcc_cv_math_func_casinhf
=yes
25136 gcc_cv_math_func_casinhf
=no
25138 rm -f core conftest.err conftest.
$ac_objext \
25139 conftest
$ac_exeext conftest.
$ac_ext
25141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25142 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25143 if test $gcc_cv_math_func_casinhf = yes; then
25145 cat >>confdefs.h
<<_ACEOF
25146 #define HAVE_CASINHF 1
25154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25155 $as_echo_n "checking for casinhl... " >&6; }
25156 if test "${gcc_cv_math_func_casinhl+set}" = set; then :
25157 $as_echo_n "(cached) " >&6
25159 if test x
$gcc_no_link = xyes
; then
25160 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25163 /* end confdefs.h. */
25165 #ifdef HAVE_COMPLEX_H
25166 #include <complex.h>
25172 int (*ptr)() = (int (*)())casinhl;
25181 if ac_fn_c_try_link
"$LINENO"; then :
25182 gcc_cv_math_func_casinhl
=yes
25184 gcc_cv_math_func_casinhl
=no
25186 rm -f core conftest.err conftest.
$ac_objext \
25187 conftest
$ac_exeext conftest.
$ac_ext
25189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25190 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25191 if test $gcc_cv_math_func_casinhl = yes; then
25193 cat >>confdefs.h
<<_ACEOF
25194 #define HAVE_CASINHL 1
25202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25203 $as_echo_n "checking for casinl... " >&6; }
25204 if test "${gcc_cv_math_func_casinl+set}" = set; then :
25205 $as_echo_n "(cached) " >&6
25207 if test x
$gcc_no_link = xyes
; then
25208 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25211 /* end confdefs.h. */
25213 #ifdef HAVE_COMPLEX_H
25214 #include <complex.h>
25220 int (*ptr)() = (int (*)())casinl;
25229 if ac_fn_c_try_link
"$LINENO"; then :
25230 gcc_cv_math_func_casinl
=yes
25232 gcc_cv_math_func_casinl
=no
25234 rm -f core conftest.err conftest.
$ac_objext \
25235 conftest
$ac_exeext conftest.
$ac_ext
25237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25238 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25239 if test $gcc_cv_math_func_casinl = yes; then
25241 cat >>confdefs.h
<<_ACEOF
25242 #define HAVE_CASINL 1
25250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25251 $as_echo_n "checking for catan... " >&6; }
25252 if test "${gcc_cv_math_func_catan+set}" = set; then :
25253 $as_echo_n "(cached) " >&6
25255 if test x
$gcc_no_link = xyes
; then
25256 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25259 /* end confdefs.h. */
25261 #ifdef HAVE_COMPLEX_H
25262 #include <complex.h>
25268 int (*ptr)() = (int (*)())catan;
25277 if ac_fn_c_try_link
"$LINENO"; then :
25278 gcc_cv_math_func_catan
=yes
25280 gcc_cv_math_func_catan
=no
25282 rm -f core conftest.err conftest.
$ac_objext \
25283 conftest
$ac_exeext conftest.
$ac_ext
25285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25286 $as_echo "$gcc_cv_math_func_catan" >&6; }
25287 if test $gcc_cv_math_func_catan = yes; then
25289 cat >>confdefs.h
<<_ACEOF
25290 #define HAVE_CATAN 1
25298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25299 $as_echo_n "checking for catanf... " >&6; }
25300 if test "${gcc_cv_math_func_catanf+set}" = set; then :
25301 $as_echo_n "(cached) " >&6
25303 if test x
$gcc_no_link = xyes
; then
25304 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25307 /* end confdefs.h. */
25309 #ifdef HAVE_COMPLEX_H
25310 #include <complex.h>
25316 int (*ptr)() = (int (*)())catanf;
25325 if ac_fn_c_try_link
"$LINENO"; then :
25326 gcc_cv_math_func_catanf
=yes
25328 gcc_cv_math_func_catanf
=no
25330 rm -f core conftest.err conftest.
$ac_objext \
25331 conftest
$ac_exeext conftest.
$ac_ext
25333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25334 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25335 if test $gcc_cv_math_func_catanf = yes; then
25337 cat >>confdefs.h
<<_ACEOF
25338 #define HAVE_CATANF 1
25346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25347 $as_echo_n "checking for catanh... " >&6; }
25348 if test "${gcc_cv_math_func_catanh+set}" = set; then :
25349 $as_echo_n "(cached) " >&6
25351 if test x
$gcc_no_link = xyes
; then
25352 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25355 /* end confdefs.h. */
25357 #ifdef HAVE_COMPLEX_H
25358 #include <complex.h>
25364 int (*ptr)() = (int (*)())catanh;
25373 if ac_fn_c_try_link
"$LINENO"; then :
25374 gcc_cv_math_func_catanh
=yes
25376 gcc_cv_math_func_catanh
=no
25378 rm -f core conftest.err conftest.
$ac_objext \
25379 conftest
$ac_exeext conftest.
$ac_ext
25381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25382 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25383 if test $gcc_cv_math_func_catanh = yes; then
25385 cat >>confdefs.h
<<_ACEOF
25386 #define HAVE_CATANH 1
25394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25395 $as_echo_n "checking for catanhf... " >&6; }
25396 if test "${gcc_cv_math_func_catanhf+set}" = set; then :
25397 $as_echo_n "(cached) " >&6
25399 if test x
$gcc_no_link = xyes
; then
25400 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25403 /* end confdefs.h. */
25405 #ifdef HAVE_COMPLEX_H
25406 #include <complex.h>
25412 int (*ptr)() = (int (*)())catanhf;
25421 if ac_fn_c_try_link
"$LINENO"; then :
25422 gcc_cv_math_func_catanhf
=yes
25424 gcc_cv_math_func_catanhf
=no
25426 rm -f core conftest.err conftest.
$ac_objext \
25427 conftest
$ac_exeext conftest.
$ac_ext
25429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25430 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25431 if test $gcc_cv_math_func_catanhf = yes; then
25433 cat >>confdefs.h
<<_ACEOF
25434 #define HAVE_CATANHF 1
25442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25443 $as_echo_n "checking for catanhl... " >&6; }
25444 if test "${gcc_cv_math_func_catanhl+set}" = set; then :
25445 $as_echo_n "(cached) " >&6
25447 if test x
$gcc_no_link = xyes
; then
25448 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25451 /* end confdefs.h. */
25453 #ifdef HAVE_COMPLEX_H
25454 #include <complex.h>
25460 int (*ptr)() = (int (*)())catanhl;
25469 if ac_fn_c_try_link
"$LINENO"; then :
25470 gcc_cv_math_func_catanhl
=yes
25472 gcc_cv_math_func_catanhl
=no
25474 rm -f core conftest.err conftest.
$ac_objext \
25475 conftest
$ac_exeext conftest.
$ac_ext
25477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25478 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25479 if test $gcc_cv_math_func_catanhl = yes; then
25481 cat >>confdefs.h
<<_ACEOF
25482 #define HAVE_CATANHL 1
25490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25491 $as_echo_n "checking for catanl... " >&6; }
25492 if test "${gcc_cv_math_func_catanl+set}" = set; then :
25493 $as_echo_n "(cached) " >&6
25495 if test x
$gcc_no_link = xyes
; then
25496 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25499 /* end confdefs.h. */
25501 #ifdef HAVE_COMPLEX_H
25502 #include <complex.h>
25508 int (*ptr)() = (int (*)())catanl;
25517 if ac_fn_c_try_link
"$LINENO"; then :
25518 gcc_cv_math_func_catanl
=yes
25520 gcc_cv_math_func_catanl
=no
25522 rm -f core conftest.err conftest.
$ac_objext \
25523 conftest
$ac_exeext conftest.
$ac_ext
25525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25526 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25527 if test $gcc_cv_math_func_catanl = yes; then
25529 cat >>confdefs.h
<<_ACEOF
25530 #define HAVE_CATANL 1
25536 # On AIX, clog is present in libm as __clog
25537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25538 $as_echo_n "checking for __clog in -lm... " >&6; }
25539 if test "${ac_cv_lib_m___clog+set}" = set; then :
25540 $as_echo_n "(cached) " >&6
25542 ac_check_lib_save_LIBS
=$LIBS
25544 if test x
$gcc_no_link = xyes
; then
25545 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25548 /* end confdefs.h. */
25550 /* Override any GCC internal prototype to avoid an error.
25551 Use char because int might match the return type of a GCC
25552 builtin and then its argument prototype would still apply. */
25565 if ac_fn_c_try_link
"$LINENO"; then :
25566 ac_cv_lib_m___clog
=yes
25568 ac_cv_lib_m___clog
=no
25570 rm -f core conftest.err conftest.
$ac_objext \
25571 conftest
$ac_exeext conftest.
$ac_ext
25572 LIBS
=$ac_check_lib_save_LIBS
25574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25575 $as_echo "$ac_cv_lib_m___clog" >&6; }
25576 if test "x$ac_cv_lib_m___clog" = x
""yes; then :
25578 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25583 # Check whether the system has a working stat()
25585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25586 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25587 if test "${libgfor_cv_have_working_stat+set}" = set; then :
25588 $as_echo_n "(cached) " >&6
25591 if test "$cross_compiling" = yes; then :
25593 case "${target}" in
25594 *mingw
*) libgfor_cv_have_working_stat
=no
;;
25595 *) libgfor_cv_have_working_stat
=yes;;
25598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25599 /* end confdefs.h. */
25602 #include <sys/types.h>
25603 #include <sys/stat.h>
25604 #include <unistd.h>
25609 struct stat st1, st2;
25611 f = fopen ("foo", "w");
25612 g = fopen ("bar", "w");
25613 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25615 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25622 if ac_fn_c_try_run
"$LINENO"; then :
25623 libgfor_cv_have_working_stat
=yes
25625 libgfor_cv_have_working_stat
=no
25627 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
25628 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
25632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25633 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25634 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
25636 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25640 # Check whether __mingw_snprintf() is present
25642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25643 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25644 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
25645 $as_echo_n "(cached) " >&6
25648 if test x
$gcc_no_link = xyes
; then
25649 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25652 /* end confdefs.h. */
25655 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25661 __mingw_snprintf (NULL, 0, "%d\n", 1);
25667 if ac_fn_c_try_link
"$LINENO"; then :
25668 eval "libgfor_cv_have_mingw_snprintf=yes"
25670 eval "libgfor_cv_have_mingw_snprintf=no"
25672 rm -f core conftest.err conftest.
$ac_objext \
25673 conftest
$ac_exeext conftest.
$ac_ext
25676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25677 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25678 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
25680 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25685 # Check whether libquadmath should be used
25686 # Check whether --enable-libquadmath-support was given.
25687 if test "${enable_libquadmath_support+set}" = set; then :
25688 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
25690 ENABLE_LIBQUADMATH_SUPPORT
=yes
25693 enable_libquadmath_support
=
25694 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25695 enable_libquadmath_support
=no
25698 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25702 if test "x$enable_libquadmath_support" != xno
; then
25704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25705 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25706 if test "${libgfor_cv_have_float128+set}" = set; then :
25707 $as_echo_n "(cached) " >&6
25710 if test x
$gcc_no_link = xyes
; then
25711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25712 /* end confdefs.h. */
25714 typedef _Complex float __attribute__((mode(TC))) __complex128;
25716 __float128 foo (__float128 x)
25719 __complex128 z1, z2;
25725 return (__float128) z2;
25728 __float128 bar (__float128 x)
25730 return x * __builtin_huge_valq ();
25744 if ac_fn_c_try_compile
"$LINENO"; then :
25746 libgfor_cv_have_float128
=yes
25750 libgfor_cv_have_float128
=no
25753 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25755 if test x
$gcc_no_link = xyes
; then
25756 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25759 /* end confdefs.h. */
25761 typedef _Complex float __attribute__((mode(TC))) __complex128;
25763 __float128 foo (__float128 x)
25766 __complex128 z1, z2;
25772 return (__float128) z2;
25775 __float128 bar (__float128 x)
25777 return x * __builtin_huge_valq ();
25791 if ac_fn_c_try_link
"$LINENO"; then :
25793 libgfor_cv_have_float128
=yes
25797 libgfor_cv_have_float128
=no
25800 rm -f core conftest.err conftest.
$ac_objext \
25801 conftest
$ac_exeext conftest.
$ac_ext
25804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25805 $as_echo "$libgfor_cv_have_float128" >&6; }
25807 if test "x$libgfor_cv_have_float128" = xyes
; then
25809 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25812 ac_xsave_c_werror_flag
=$ac_c_werror_flag
25813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
25814 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
25815 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25816 $as_echo_n "(cached) " >&6
25819 # Test for native Solaris options first.
25820 # No whitespace after -z to pass it through -Wl.
25821 libgfor_cv_as_needed_option
="-zignore"
25822 libgfor_cv_no_as_needed_option
="-zrecord"
25823 save_LDFLAGS
="$LDFLAGS"
25824 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25825 libgfor_cv_have_as_needed
=no
25827 ac_c_werror_flag
=yes
25828 if test x
$gcc_no_link = xyes
; then
25829 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25832 /* end confdefs.h. */
25842 if ac_fn_c_try_link
"$LINENO"; then :
25843 libgfor_cv_have_as_needed
=yes
25845 libgfor_cv_have_as_needed
=no
25847 rm -f core conftest.err conftest.
$ac_objext \
25848 conftest
$ac_exeext conftest.
$ac_ext
25849 LDFLAGS
="$save_LDFLAGS"
25850 if test "x$libgfor_cv_have_as_needed" = xno
; then
25851 libgfor_cv_as_needed_option
="--as-needed"
25852 libgfor_cv_no_as_needed_option
="--no-as-needed"
25853 save_LDFLAGS
="$LDFLAGS"
25854 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25855 libgfor_cv_have_as_needed
=no
25857 ac_c_werror_flag
=yes
25858 if test x
$gcc_no_link = xyes
; then
25859 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25862 /* end confdefs.h. */
25872 if ac_fn_c_try_link
"$LINENO"; then :
25873 libgfor_cv_have_as_needed
=yes
25875 libgfor_cv_have_as_needed
=no
25877 rm -f core conftest.err conftest.
$ac_objext \
25878 conftest
$ac_exeext conftest.
$ac_ext
25879 LDFLAGS
="$save_LDFLAGS"
25881 ac_c_werror_flag
=$ac_xsave_c_werror_flag
25884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25885 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25887 if test "x$libgfor_cv_have_as_needed" = xyes
; then
25888 LIBQUADSPEC
="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
25890 LIBQUADSPEC
="-lquadmath"
25892 if test -f ..
/libquadmath
/libquadmath.la
; then
25893 LIBQUADLIB
=..
/libquadmath
/libquadmath.la
25894 LIBQUADLIB_DEP
=..
/libquadmath
/libquadmath.la
25895 LIBQUADINCLUDE
='-I$(srcdir)/../libquadmath'
25897 LIBQUADLIB
="-lquadmath"
25903 # for --disable-quadmath
25914 if test "x$libgfor_cv_have_float128" = xyes
; then
25915 LIBGFOR_BUILD_QUAD_TRUE
=
25916 LIBGFOR_BUILD_QUAD_FALSE
='#'
25918 LIBGFOR_BUILD_QUAD_TRUE
='#'
25919 LIBGFOR_BUILD_QUAD_FALSE
=
25924 # Check for GNU libc feenableexcept
25925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25926 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25927 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25928 $as_echo_n "(cached) " >&6
25930 ac_check_lib_save_LIBS
=$LIBS
25932 if test x
$gcc_no_link = xyes
; then
25933 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25936 /* end confdefs.h. */
25938 /* Override any GCC internal prototype to avoid an error.
25939 Use char because int might match the return type of a GCC
25940 builtin and then its argument prototype would still apply. */
25944 char feenableexcept ();
25948 return feenableexcept ();
25953 if ac_fn_c_try_link
"$LINENO"; then :
25954 ac_cv_lib_m_feenableexcept
=yes
25956 ac_cv_lib_m_feenableexcept
=no
25958 rm -f core conftest.err conftest.
$ac_objext \
25959 conftest
$ac_exeext conftest.
$ac_ext
25960 LIBS
=$ac_check_lib_save_LIBS
25962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25963 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25964 if test "x$ac_cv_lib_m_feenableexcept" = x
""yes; then :
25965 have_feenableexcept
=yes
25966 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25971 # At least for glibc, clock_gettime is in librt. But don't
25972 # pull that in if it still doesn't give us the function we want. This
25973 # test is copied from libgomp, and modified to not link in -lrt as
25974 # libgfortran calls clock_gettime via a weak reference if it's found
25976 if test "$ac_cv_func_clock_gettime" = no
; then
25977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25978 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25979 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25980 $as_echo_n "(cached) " >&6
25982 ac_check_lib_save_LIBS
=$LIBS
25984 if test x
$gcc_no_link = xyes
; then
25985 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25988 /* end confdefs.h. */
25990 /* Override any GCC internal prototype to avoid an error.
25991 Use char because int might match the return type of a GCC
25992 builtin and then its argument prototype would still apply. */
25996 char clock_gettime ();
26000 return clock_gettime ();
26005 if ac_fn_c_try_link
"$LINENO"; then :
26006 ac_cv_lib_rt_clock_gettime
=yes
26008 ac_cv_lib_rt_clock_gettime
=no
26010 rm -f core conftest.err conftest.
$ac_objext \
26011 conftest
$ac_exeext conftest.
$ac_ext
26012 LIBS
=$ac_check_lib_save_LIBS
26014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
26015 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
26016 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
26018 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
26024 # Check for SysV fpsetmask
26026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
26027 $as_echo_n "checking whether fpsetmask is present... " >&6; }
26028 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
26029 $as_echo_n "(cached) " >&6
26032 if test x
$gcc_no_link = xyes
; then
26033 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26036 /* end confdefs.h. */
26038 #if HAVE_FLOATINGPOINT_H
26039 # include <floatingpoint.h>
26040 #endif /* HAVE_FLOATINGPOINT_H */
26042 # include <ieeefp.h>
26043 #endif /* HAVE_IEEEFP_H */
26052 if ac_fn_c_try_link
"$LINENO"; then :
26053 eval "libgfor_cv_have_fpsetmask=yes"
26055 eval "libgfor_cv_have_fpsetmask=no"
26057 rm -f core conftest.err conftest.
$ac_objext \
26058 conftest
$ac_exeext conftest.
$ac_ext
26061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
26062 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
26063 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
26066 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
26070 ac_fn_c_check_type
"$LINENO" "fp_except" "ac_cv_type_fp_except" "
26071 #ifdef HAVE_IEEEFP_H
26072 #include <ieeefp.h>
26077 if test "x$ac_cv_type_fp_except" = x
""yes; then :
26079 cat >>confdefs.h
<<_ACEOF
26080 #define HAVE_FP_EXCEPT 1
26085 ac_fn_c_check_type
"$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
26086 #ifdef HAVE_IEEEFP_H
26087 #include <ieeefp.h>
26092 if test "x$ac_cv_type_fp_except_t" = x
""yes; then :
26094 cat >>confdefs.h
<<_ACEOF
26095 #define HAVE_FP_EXCEPT_T 1
26101 ac_fn_c_check_type
"$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
26102 #ifdef HAVE_IEEEFP_H
26103 #include <ieeefp.h>
26108 if test "x$ac_cv_type_fp_rnd" = x
""yes; then :
26110 cat >>confdefs.h
<<_ACEOF
26111 #define HAVE_FP_RND 1
26116 ac_fn_c_check_type
"$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
26117 #ifdef HAVE_IEEEFP_H
26118 #include <ieeefp.h>
26123 if test "x$ac_cv_type_fp_rnd_t" = x
""yes; then :
26125 cat >>confdefs.h
<<_ACEOF
26126 #define HAVE_FP_RND_T 1
26133 # Check whether we have fpsetsticky or fpresetsticky
26134 ac_fn_c_check_func
"$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
26135 if test "x$ac_cv_func_fpsetsticky" = x
""yes; then :
26136 have_fpsetsticky
=yes
26137 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
26141 ac_fn_c_check_func
"$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
26142 if test "x$ac_cv_func_fpresetsticky" = x
""yes; then :
26143 have_fpresetsticky
=yes
26144 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
26149 # Check for AIX fp_trap and fp_enable
26150 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
26151 if test "x$ac_cv_func_fp_trap" = x
""yes; then :
26153 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
26157 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
26158 if test "x$ac_cv_func_fp_enable" = x
""yes; then :
26160 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
26165 # Runs configure.host to set up necessary host-dependent shell variables.
26166 # We then display a message about it, and propagate them through the
26168 .
${srcdir}/configure.
host
26169 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
26170 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
26171 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
26172 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
26173 FPU_HOST_HEADER
=config
/${fpu_host}.h
26176 # Whether we will build the IEEE modules
26177 if test x
${ieee_support} = xyes
; then
26179 IEEE_SUPPORT_FALSE
='#'
26181 IEEE_SUPPORT_TRUE
='#'
26182 IEEE_SUPPORT_FALSE
=
26187 # Some targets require additional compiler options for IEEE compatibility.
26188 IEEE_FLAGS
="${ieee_flags}"
26192 # Check for POSIX getpwuid_r
26194 # There are two versions of getpwuid_r, the POSIX one with 5
26195 # arguments, and another one with 4 arguments used by at least HP-UX
26197 if test "$ac_cv_func_getpwuid_r" = "yes"; then
26198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
26199 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
26200 if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
26201 $as_echo_n "(cached) " >&6
26204 if test x
$gcc_no_link = xyes
; then
26205 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26208 /* end confdefs.h. */
26211 #include <sys/types.h>
26217 getpwuid_r(0, NULL, NULL, 0, NULL);
26223 if ac_fn_c_try_link
"$LINENO"; then :
26224 libgfor_cv_posix_getpwuid_r
="yes"
26226 libgfor_cv_posix_getpwuid_r
="no"
26228 rm -f core conftest.err conftest.
$ac_objext \
26229 conftest
$ac_exeext conftest.
$ac_ext
26231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
26232 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
26234 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
26236 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
26241 # Check out attribute support.
26243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
26244 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
26245 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
26246 $as_echo_n "(cached) " >&6
26249 save_CFLAGS
="$CFLAGS"
26250 CFLAGS
="$CFLAGS -Werror"
26251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26252 /* end confdefs.h. */
26253 void __attribute__((visibility("hidden"))) foo(void) { }
26262 if ac_fn_c_try_compile
"$LINENO"; then :
26263 libgfor_cv_have_attribute_visibility
=yes
26265 libgfor_cv_have_attribute_visibility
=no
26267 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26268 CFLAGS
="$save_CFLAGS"
26270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26271 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26272 if test $libgfor_cv_have_attribute_visibility = yes; then
26274 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
26279 $as_echo_n "checking whether the target supports dllexport... " >&6; }
26280 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
26281 $as_echo_n "(cached) " >&6
26284 save_CFLAGS
="$CFLAGS"
26285 CFLAGS
="$CFLAGS -Werror"
26286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26287 /* end confdefs.h. */
26288 void __attribute__((dllexport)) foo(void) { }
26297 if ac_fn_c_try_compile
"$LINENO"; then :
26298 libgfor_cv_have_attribute_dllexport
=yes
26300 libgfor_cv_have_attribute_dllexport
=no
26302 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26303 CFLAGS
="$save_CFLAGS"
26305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
26306 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
26307 if test $libgfor_cv_have_attribute_dllexport = yes; then
26309 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
26313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26314 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26315 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
26316 $as_echo_n "(cached) " >&6
26319 if test x
$gcc_no_link = xyes
; then
26320 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26323 /* end confdefs.h. */
26326 extern void bar(void) __attribute__((alias("foo")));
26335 if ac_fn_c_try_link
"$LINENO"; then :
26336 libgfor_cv_have_attribute_alias
=yes
26338 libgfor_cv_have_attribute_alias
=no
26340 rm -f core conftest.err conftest.
$ac_objext \
26341 conftest
$ac_exeext conftest.
$ac_ext
26343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26344 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26345 if test $libgfor_cv_have_attribute_alias = yes; then
26347 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26351 # Check out sync builtins support.
26353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
26354 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
26355 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
26356 $as_echo_n "(cached) " >&6
26359 if test x
$gcc_no_link = xyes
; then
26360 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26363 /* end confdefs.h. */
26369 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
26370 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
26375 if ac_fn_c_try_link
"$LINENO"; then :
26376 libgfor_cv_have_sync_fetch_and_add
=yes
26378 libgfor_cv_have_sync_fetch_and_add
=no
26380 rm -f core conftest.err conftest.
$ac_objext \
26381 conftest
$ac_exeext conftest.
$ac_ext
26383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
26384 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
26385 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
26387 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
26391 # Check out #pragma weak.
26393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26394 $as_echo_n "checking whether pragma weak works... " >&6; }
26395 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
26396 $as_echo_n "(cached) " >&6
26399 gfor_save_CFLAGS
="$CFLAGS"
26400 CFLAGS
="$CFLAGS -Wunknown-pragmas"
26401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26402 /* end confdefs.h. */
26415 if ac_fn_c_try_compile
"$LINENO"; then :
26416 libgfor_cv_have_pragma_weak
=yes
26418 libgfor_cv_have_pragma_weak
=no
26420 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26423 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26424 if test $libgfor_cv_have_pragma_weak = yes; then
26426 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26430 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* |
*-*-musl* )
26432 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26437 # Various other checks on target
26439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26440 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26441 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
26442 $as_echo_n "(cached) " >&6
26445 if test "$cross_compiling" = yes; then :
26447 case "${target}" in
26448 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
26449 *) libgfor_cv_have_unlink_open_file
=yes;;
26452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26453 /* end confdefs.h. */
26457 #include <unistd.h>
26458 #include <sys/stat.h>
26464 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26467 if (unlink ("testfile") == -1)
26469 write (fd, "This is a test\n", 15);
26472 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26478 if ac_fn_c_try_run
"$LINENO"; then :
26479 libgfor_cv_have_unlink_open_file
=yes
26481 libgfor_cv_have_unlink_open_file
=no
26483 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26484 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26489 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26490 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
26492 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26496 # Check whether line terminator is LF or CRLF
26498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26499 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26500 if test "${libgfor_cv_have_crlf+set}" = set; then :
26501 $as_echo_n "(cached) " >&6
26504 if test "$cross_compiling" = yes; then :
26506 case "${target}" in
26507 *mingw
*) libgfor_cv_have_crlf
=yes ;;
26508 *) libgfor_cv_have_crlf
=no
;;
26511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26512 /* end confdefs.h. */
26514 /* This test program should exit with status 0 if system uses a CRLF as
26515 line terminator, and status 1 otherwise.
26516 Since it is used to check for mingw systems, and should return 0 in any
26517 other case, in case of a failure we will not use CRLF. */
26518 #include <sys/stat.h>
26519 #include <stdlib.h>
26531 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26534 if (write (fd, "\n", 1) < 0)
26539 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26541 bytes = read (fd, buff, 5);
26542 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26549 if ac_fn_c_try_run
"$LINENO"; then :
26550 libgfor_cv_have_crlf
=yes
26552 libgfor_cv_have_crlf
=no
26554 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26555 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26560 $as_echo "$libgfor_cv_have_crlf" >&6; }
26561 if test x
"$libgfor_cv_have_crlf" = xyes
; then
26563 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26567 cat >confcache
<<\_ACEOF
26568 # This file is a shell script that caches the results of configure
26569 # tests run on this system so they can be shared between configure
26570 # scripts and configure runs, see configure's option --config-cache.
26571 # It is not useful on other systems. If it contains results you don't
26572 # want to keep, you may remove or edit it.
26574 # config.status only pays attention to the cache file if you give it
26575 # the --recheck option to rerun configure.
26577 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26578 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26579 # following values.
26583 # The following way of writing the cache mishandles newlines in values,
26584 # but we know of no workaround that is simple, portable, and efficient.
26585 # So, we kill variables containing newlines.
26586 # Ultrix sh set writes to stderr and can't be redirected directly,
26587 # and sets the high bit in the cache file unless we assign to the vars.
26589 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26590 eval ac_val
=\$
$ac_var
26594 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26595 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26598 _ | IFS | as_nl
) ;; #(
26599 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26600 *) { eval $ac_var=; unset $ac_var;} ;;
26606 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26607 *${as_nl}ac_space
=\
*)
26608 # `set' does not quote correctly, so add quotes: double-quote
26609 # substitution turns \\\\ into \\, and sed turns \\ into \.
26612 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26615 # `set' quotes correctly as required by POSIX, so do not add quotes.
26616 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26625 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26627 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26629 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26630 if test -w "$cache_file"; then
26631 test "x$cache_file" != "x/dev/null" &&
26632 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26633 $as_echo "$as_me: updating cache $cache_file" >&6;}
26634 cat confcache
>$cache_file
26636 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26637 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26642 if test ${multilib} = yes; then
26643 multilib_arg
="--enable-multilib"
26648 # Write our Makefile and spec file.
26649 ac_config_files
="$ac_config_files Makefile libgfortran.spec"
26651 cat >confcache
<<\_ACEOF
26652 # This file is a shell script that caches the results of configure
26653 # tests run on this system so they can be shared between configure
26654 # scripts and configure runs, see configure's option --config-cache.
26655 # It is not useful on other systems. If it contains results you don't
26656 # want to keep, you may remove or edit it.
26658 # config.status only pays attention to the cache file if you give it
26659 # the --recheck option to rerun configure.
26661 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26662 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26663 # following values.
26667 # The following way of writing the cache mishandles newlines in values,
26668 # but we know of no workaround that is simple, portable, and efficient.
26669 # So, we kill variables containing newlines.
26670 # Ultrix sh set writes to stderr and can't be redirected directly,
26671 # and sets the high bit in the cache file unless we assign to the vars.
26673 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26674 eval ac_val
=\$
$ac_var
26678 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26679 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26682 _ | IFS | as_nl
) ;; #(
26683 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26684 *) { eval $ac_var=; unset $ac_var;} ;;
26690 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26691 *${as_nl}ac_space
=\
*)
26692 # `set' does not quote correctly, so add quotes: double-quote
26693 # substitution turns \\\\ into \\, and sed turns \\ into \.
26696 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26699 # `set' quotes correctly as required by POSIX, so do not add quotes.
26700 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26709 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26711 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26713 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26714 if test -w "$cache_file"; then
26715 test "x$cache_file" != "x/dev/null" &&
26716 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26717 $as_echo "$as_me: updating cache $cache_file" >&6;}
26718 cat confcache
>$cache_file
26720 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26721 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26726 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
26727 # Let make expand exec_prefix.
26728 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
26730 DEFS
=-DHAVE_CONFIG_H
26734 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
26735 # 1. Remove the extension, and $U if already installed.
26736 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
26737 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
26738 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26739 # will be set to the directory where LIBOBJS objects are built.
26740 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26741 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
26743 LIBOBJS
=$ac_libobjs
26745 LTLIBOBJS
=$ac_ltlibobjs
26748 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26749 as_fn_error
"conditional \"onestep\" was never defined.
26750 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26752 if test -n "$EXEEXT"; then
26754 am__EXEEXT_FALSE
='#'
26756 am__EXEEXT_TRUE
='#'
26760 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26761 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
26762 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26764 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26765 as_fn_error
"conditional \"AMDEP\" was never defined.
26766 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26768 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26769 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26770 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26772 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26773 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26774 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26776 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
26777 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
26778 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26780 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
26781 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
26782 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26784 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
26785 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
26786 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26788 if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
26789 as_fn_error
"conditional \"LIBGFOR_MINIMAL\" was never defined.
26790 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26792 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
26793 as_fn_error
"conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
26794 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26796 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
26797 as_fn_error
"conditional \"IEEE_SUPPORT\" was never defined.
26798 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26801 : ${CONFIG_STATUS=./config.status}
26803 ac_clean_files_save
=$ac_clean_files
26804 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
26805 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26806 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26808 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26810 # Generated by $as_me.
26811 # Run this file to recreate the current configuration.
26812 # Compiler output produced by configure, useful for debugging
26813 # configure, is in config.log if it exists.
26816 ac_cs_recheck=false
26819 SHELL=\${CONFIG_SHELL-$SHELL}
26822 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
26823 ## -------------------- ##
26824 ## M4sh Initialization. ##
26825 ## -------------------- ##
26827 # Be more Bourne compatible
26828 DUALCASE
=1; export DUALCASE
# for MKS sh
26829 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
26832 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26833 # is contrary to our usage. Disable this feature.
26834 alias -g '${1+"$@"}'='"$@"'
26835 setopt NO_GLOB_SUBST
26837 case `(set -o) 2>/dev/null` in #(
26849 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26850 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26851 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26852 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26853 # Prefer a ksh shell builtin over an external printf program on Solaris,
26854 # but without wasting forks for bash or zsh.
26855 if test -z "$BASH_VERSION$ZSH_VERSION" \
26856 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26857 as_echo='print
-r --'
26858 as_echo_n='print
-rn --'
26859 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26860 as_echo='printf %s
\n'
26861 as_echo_n='printf %s
'
26863 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26864 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
26865 as_echo_n='/usr
/ucb
/echo -n'
26867 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26868 as_echo_n_body='eval
26872 expr "X$arg" : "X\\(.*\\)$as_nl";
26873 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26875 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
26877 export as_echo_n_body
26878 as_echo_n='sh
-c $as_echo_n_body as_echo
'
26880 export as_echo_body
26881 as_echo='sh
-c $as_echo_body as_echo
'
26884 # The user is always right.
26885 if test "${PATH_SEPARATOR+set}" != set; then
26887 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26888 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26895 # We need space, tab and new line, in precisely that order. Quoting is
26896 # there to prevent editors from complaining about space-tab.
26897 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26898 # splitting by setting IFS to empty value.)
26901 # Find who we are. Look in the path if we contain no directory separator.
26903 *[\\/]* ) as_myself=$0 ;;
26904 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26905 for as_dir in $PATH
26908 test -z "$as_dir" && as_dir=.
26909 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26915 # We did not find ourselves, most probably we were run as `sh COMMAND'
26916 # in which case we are not to be found in the path.
26917 if test "x$as_myself" = x
; then
26920 if test ! -f "$as_myself"; then
26921 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26925 # Unset variables that we do not need and which cause bugs (e.g. in
26926 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26927 # suppresses any "Segmentation fault" message there. '((' could
26928 # trigger a bug in pdksh 5.2.14.
26929 for as_var
in BASH_ENV ENV MAIL MAILPATH
26930 do eval test x\
${$as_var+set} = xset \
26931 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
26944 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
26947 # as_fn_error ERROR [LINENO LOG_FD]
26948 # ---------------------------------
26949 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26950 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26951 # script with status $?, using 1 if that was 0.
26954 as_status
=$?
; test $as_status -eq 0 && as_status
=1
26956 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
26957 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26959 $as_echo "$as_me: error: $1" >&2
26960 as_fn_exit
$as_status
26964 # as_fn_set_status STATUS
26965 # -----------------------
26966 # Set $? to STATUS, without forking.
26967 as_fn_set_status
()
26970 } # as_fn_set_status
26972 # as_fn_exit STATUS
26973 # -----------------
26974 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26978 as_fn_set_status
$1
26984 # Portably unset VAR.
26987 { eval $1=; unset $1;}
26989 as_unset
=as_fn_unset
26990 # as_fn_append VAR VALUE
26991 # ----------------------
26992 # Append the text in VALUE to the end of the definition contained in VAR. Take
26993 # advantage of any shell optimizations that allow amortized linear growth over
26994 # repeated appends, instead of the typical quadratic growth present in naive
26996 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
26997 eval 'as_fn_append ()
27008 # as_fn_arith ARG...
27009 # ------------------
27010 # Perform arithmetic evaluation on the ARGs, and store the result in the
27011 # global $as_val. Take advantage of shells that can avoid forks. The arguments
27012 # must be portable across $(()) and expr.
27013 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
27014 eval 'as_fn_arith ()
27021 as_val
=`expr "$@" || test $? -eq 1`
27026 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
27027 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
27033 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
27034 as_basename
=basename
27039 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
27045 as_me
=`$as_basename -- "$0" ||
27046 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27047 X"$0" : 'X\(//\)$' \| \
27048 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27050 sed '/^.*\/\([^/][^/]*\)\/*$/{
27064 # Avoid depending upon Character Ranges.
27065 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
27066 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27067 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
27068 as_cr_digits
='0123456789'
27069 as_cr_alnum
=$as_cr_Letters$as_cr_digits
27071 ECHO_C
= ECHO_N
= ECHO_T
=
27072 case `echo -n x` in #(((((
27074 case `echo 'xy\c'` in
27075 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
27077 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
27084 rm -f conf$$ conf$$.exe conf$$.
file
27085 if test -d conf$$.dir
; then
27086 rm -f conf$$.dir
/conf$$.
file
27089 mkdir conf$$.dir
2>/dev
/null
27091 if (echo >conf$$.
file) 2>/dev
/null
; then
27092 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
27094 # ... but there are two gotchas:
27095 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27096 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27097 # In both cases, we have to default to `cp -p'.
27098 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
27100 elif ln conf$$.
file conf$$
2>/dev
/null
; then
27108 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
27109 rmdir conf$$.dir
2>/dev
/null
27114 # Create "$as_dir" as a directory, including parents if necessary.
27119 -*) as_dir
=.
/$as_dir;;
27121 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
27125 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27126 *) as_qdir
=$as_dir;;
27128 as_dirs
="'$as_qdir' $as_dirs"
27129 as_dir
=`$as_dirname -- "$as_dir" ||
27130 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27131 X"$as_dir" : 'X\(//\)[^/]' \| \
27132 X"$as_dir" : 'X\(//\)$' \| \
27133 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27134 $as_echo X"$as_dir" |
27135 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27139 /^X\(\/\/\)[^/].*/{
27152 test -d "$as_dir" && break
27154 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
27155 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
27159 if mkdir
-p .
2>/dev
/null
; then
27160 as_mkdir_p
='mkdir -p "$as_dir"'
27162 test -d .
/-p && rmdir .
/-p
27166 if test -x / >/dev
/null
2>&1; then
27167 as_test_x
='test -x'
27169 if ls -dL / >/dev
/null
2>&1; then
27176 if test -d "$1"; then
27182 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
27183 ???[sx]*):;;*)false;;esac;fi
27187 as_executable_p
=$as_test_x
27189 # Sed expression to map a string onto a valid CPP name.
27190 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27192 # Sed expression to map a string onto a valid variable name.
27193 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27197 ## ----------------------------------- ##
27198 ## Main body of $CONFIG_STATUS script. ##
27199 ## ----------------------------------- ##
27201 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
27203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27204 # Save the log message, to keep $0 and so on meaningful, and to
27205 # report actual input values of CONFIG_FILES etc. instead of their
27206 # values after options handling.
27208 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27209 generated by GNU Autoconf 2.64. Invocation command line was
27211 CONFIG_FILES = $CONFIG_FILES
27212 CONFIG_HEADERS = $CONFIG_HEADERS
27213 CONFIG_LINKS = $CONFIG_LINKS
27214 CONFIG_COMMANDS = $CONFIG_COMMANDS
27217 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27222 case $ac_config_files in *"
27223 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
27226 case $ac_config_headers in *"
27227 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
27231 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27232 # Files that config.status was made for.
27233 config_files="$ac_config_files"
27234 config_headers="$ac_config_headers"
27235 config_commands="$ac_config_commands"
27239 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27241 \`$as_me' instantiates files and other configuration actions
27242 from templates according to the current configuration. Unless the files
27243 and actions are specified as TAGs, all are instantiated by default.
27245 Usage: $0 [OPTION]... [TAG]...
27247 -h, --help print this help, then exit
27248 -V, --version print version number and configuration settings, then exit
27249 -q, --quiet, --silent
27250 do not print progress messages
27251 -d, --debug don't remove temporary files
27252 --recheck update $as_me by reconfiguring in the same conditions
27253 --file=FILE[:TEMPLATE]
27254 instantiate the configuration file FILE
27255 --header=FILE[:TEMPLATE]
27256 instantiate the configuration header FILE
27258 Configuration files:
27261 Configuration headers:
27264 Configuration commands:
27267 Report bugs to the package provider.
27268 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27269 General help using GNU software: <http://www.gnu.org/gethelp/>."
27272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27274 GNU Fortran Runtime Library config.status 0.3
27275 configured by $0, generated by GNU Autoconf 2.64,
27276 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
27278 Copyright (C) 2009 Free Software Foundation, Inc.
27279 This config.status script is free software; the Free Software Foundation
27280 gives unlimited permission to copy, distribute and modify it."
27287 test -n "\$AWK" || AWK=awk
27290 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27291 # The default lists apply if the user does not specify any file.
27297 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
27298 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
27309 # Handling of the options.
27310 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
27312 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
27313 $as_echo "$ac_cs_version"; exit ;;
27314 --debug |
--debu |
--deb |
--de |
--d |
-d )
27316 --file |
--fil |
--fi |
--f )
27319 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27321 as_fn_append CONFIG_FILES
" '$ac_optarg'"
27322 ac_need_defaults
=false
;;
27323 --header |
--heade |
--head |
--hea )
27326 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27328 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
27329 ac_need_defaults
=false
;;
27331 # Conflict between --help and --header
27332 as_fn_error
"ambiguous option: \`$1'
27333 Try \`$0 --help' for more information.";;
27334 --help |
--hel |
-h )
27335 $as_echo "$ac_cs_usage"; exit ;;
27336 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
27337 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
27340 # This is an error.
27341 -*) as_fn_error
"unrecognized option: \`$1'
27342 Try \`$0 --help' for more information." ;;
27344 *) as_fn_append ac_config_targets
" $1"
27345 ac_need_defaults
=false
;;
27351 ac_configure_extra_args
=
27353 if $ac_cs_silent; then
27355 ac_configure_extra_args
="$ac_configure_extra_args --silent"
27359 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27360 if \$ac_cs_recheck; then
27361 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27363 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27364 CONFIG_SHELL='$SHELL'
27365 export CONFIG_SHELL
27370 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27374 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27375 ## Running $as_me. ##
27381 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27389 with_multisubdir="$with_multisubdir"
27390 with_multisrctop="$with_multisrctop"
27391 with_target_subdir="$with_target_subdir"
27392 ac_configure_args="${multilib_arg} ${ac_configure_args}"
27393 multi_basedir="$multi_basedir"
27394 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27397 GFORTRAN="$GFORTRAN"
27399 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27402 # The HP-UX ksh and POSIX shell print the target directory to stdout
27403 # if CDPATH is set.
27404 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27406 sed_quote_subst='$sed_quote_subst'
27407 double_quote_subst='$double_quote_subst'
27408 delay_variable_subst='$delay_variable_subst'
27409 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27410 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27411 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27412 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27413 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27414 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27415 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27416 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27417 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27418 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27419 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27420 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27421 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27422 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27423 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27424 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27425 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27426 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27427 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27428 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27429 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27430 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27431 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27432 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27433 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27434 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27435 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27436 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27437 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27438 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27439 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27440 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27441 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27442 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27443 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27444 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27445 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27446 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27447 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27448 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27449 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27450 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27451 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27452 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27453 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27454 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27455 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27456 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27457 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"`'
27458 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27459 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27460 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27461 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27462 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27463 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27464 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27465 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27466 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27467 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27468 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27469 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27470 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27471 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27472 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27473 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27474 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27475 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27476 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27477 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27478 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27479 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27480 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27481 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27482 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27483 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27484 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27485 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27486 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27487 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27488 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27489 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27490 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27491 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27492 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27493 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27494 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27495 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27496 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27497 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27498 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27499 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27500 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27501 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27502 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27503 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27504 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27505 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27506 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27507 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27508 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27509 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27510 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27511 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27512 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27513 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27514 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27515 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27516 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27517 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27518 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27519 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27520 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27521 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27522 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27523 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27524 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27525 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27526 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27527 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27528 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27529 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27530 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27531 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27532 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27533 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27534 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27535 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27536 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27537 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27538 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27539 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27540 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27541 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27542 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27543 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27544 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27545 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27546 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27547 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27548 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27549 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27550 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27551 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27552 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27553 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27554 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27555 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27556 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27557 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27558 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27559 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27560 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27561 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27562 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27563 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27564 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27565 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27566 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27567 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27568 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27569 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27570 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27571 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27572 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27573 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27574 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27575 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27576 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27577 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27578 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27579 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27580 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27581 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27582 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27583 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27586 LTCFLAGS='$LTCFLAGS'
27587 compiler='$compiler_DEFAULT'
27589 # A function that is used when there is no print builtin or printf.
27590 func_fallback_echo ()
27592 eval 'cat <<_LTECHO_EOF
27597 # Quote evaled strings.
27611 deplibs_check_method \
27620 lt_cv_sys_global_symbol_pipe \
27621 lt_cv_sys_global_symbol_to_cdecl \
27622 lt_cv_sys_global_symbol_to_c_name_address \
27623 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27624 lt_prog_compiler_no_builtin_flag \
27625 lt_prog_compiler_wl \
27626 lt_prog_compiler_pic \
27627 lt_prog_compiler_static \
27628 lt_cv_prog_compiler_c_o \
27636 export_dynamic_flag_spec \
27637 whole_archive_flag_spec \
27638 compiler_needs_object \
27640 allow_undefined_flag \
27641 no_undefined_flag \
27642 hardcode_libdir_flag_spec \
27643 hardcode_libdir_flag_spec_ld \
27644 hardcode_libdir_separator \
27649 variables_saved_for_relink \
27651 library_names_spec \
27653 install_override_mode \
27657 compiler_lib_search_dirs \
27662 compiler_lib_search_path \
27666 lt_prog_compiler_no_builtin_flag_FC \
27667 lt_prog_compiler_wl_FC \
27668 lt_prog_compiler_pic_FC \
27669 lt_prog_compiler_static_FC \
27670 lt_cv_prog_compiler_c_o_FC \
27671 export_dynamic_flag_spec_FC \
27672 whole_archive_flag_spec_FC \
27673 compiler_needs_object_FC \
27675 allow_undefined_flag_FC \
27676 no_undefined_flag_FC \
27677 hardcode_libdir_flag_spec_FC \
27678 hardcode_libdir_flag_spec_ld_FC \
27679 hardcode_libdir_separator_FC \
27680 fix_srcfile_path_FC \
27681 exclude_expsyms_FC \
27682 include_expsyms_FC \
27683 file_list_spec_FC \
27684 compiler_lib_search_dirs_FC \
27685 predep_objects_FC \
27686 postdep_objects_FC \
27689 compiler_lib_search_path_FC; do
27690 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27691 *[\\\\\\\`\\"\\\$]*)
27692 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27695 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27700 # Double-quote double-evaled strings.
27701 for var in reload_cmds \
27702 old_postinstall_cmds \
27703 old_postuninstall_cmds \
27705 extract_expsyms_cmds \
27706 old_archive_from_new_cmds \
27707 old_archive_from_expsyms_cmds \
27709 archive_expsym_cmds \
27711 module_expsym_cmds \
27712 export_symbols_cmds \
27715 postuninstall_cmds \
27717 sys_lib_search_path_spec \
27718 sys_lib_dlsearch_path_spec \
27720 old_archive_cmds_FC \
27721 old_archive_from_new_cmds_FC \
27722 old_archive_from_expsyms_cmds_FC \
27724 archive_expsym_cmds_FC \
27726 module_expsym_cmds_FC \
27727 export_symbols_cmds_FC \
27728 prelink_cmds_FC; do
27729 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27730 *[\\\\\\\`\\"\\\$]*)
27731 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27734 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27739 ac_aux_dir='$ac_aux_dir'
27740 xsi_shell='$xsi_shell'
27741 lt_shell_append='$lt_shell_append'
27743 # See if we are running on zsh, and set the options which allow our
27744 # commands through without removal of \ escapes INIT.
27745 if test -n "\${ZSH_VERSION+set}" ; then
27746 setopt NO_GLOB_SUBST
27752 TIMESTAMP='$TIMESTAMP'
27763 acx_cv_header_stdint="$acx_cv_header_stdint"
27764 acx_cv_type_int8_t="$acx_cv_type_int8_t"
27765 acx_cv_type_int16_t="$acx_cv_type_int16_t"
27766 acx_cv_type_int32_t="$acx_cv_type_int32_t"
27767 acx_cv_type_int64_t="$acx_cv_type_int64_t"
27768 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
27769 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
27770 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
27771 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27772 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27773 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
27774 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27775 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27776 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
27781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27783 # Handling of arguments.
27784 for ac_config_target
in $ac_config_targets
27786 case $ac_config_target in
27787 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
27788 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
27789 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
27790 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
27791 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
27792 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
27793 "libgfortran.spec") CONFIG_FILES
="$CONFIG_FILES libgfortran.spec" ;;
27795 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27800 # If the user did not use the arguments to specify the items to instantiate,
27801 # then the envvar interface is used. Set only those that are not.
27802 # We use the long form for the default assignment because of an extremely
27803 # bizarre bug on SunOS 4.1.3.
27804 if $ac_need_defaults; then
27805 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
27806 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
27807 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
27810 # Have a temporary directory for convenience. Make it in the build tree
27811 # simply because there is no reason against having it here, and in addition,
27812 # creating and moving files from /tmp can sometimes cause problems.
27813 # Hook for its removal unless debugging.
27814 # Note that there is a small window in which the directory will not be cleaned:
27815 # after its creation but before its name has been assigned to `$tmp'.
27819 trap 'exit_status=$?
27820 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27822 trap 'as_fn_exit 1' 1 2 13 15
27824 # Create a (secure) tmp directory for tmp files.
27827 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27828 test -n "$tmp" && test -d "$tmp"
27831 tmp
=.
/conf$$
-$RANDOM
27832 (umask 077 && mkdir
"$tmp")
27833 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
27835 # Set up the scripts for CONFIG_FILES section.
27836 # No need to generate them if there are no CONFIG_FILES.
27837 # This happens for instance with `./config.status config.h'.
27838 if test -n "$CONFIG_FILES"; then
27841 ac_cr
=`echo X | tr X '\015'`
27842 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27843 # But we know of no other shell where ac_cr would be empty at this
27844 # point, so we can use a bashism as a fallback.
27845 if test "x$ac_cr" = x
; then
27846 eval ac_cr
=\$
\'\\r
\'
27848 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27849 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27852 ac_cs_awk_cr
=$ac_cr
27855 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27860 echo "cat >conf$$subs.awk <<_ACEOF" &&
27861 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27863 } >conf$$subs.sh ||
27864 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27865 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27867 for ac_last_try in false false false false false :; do
27868 . ./conf$$subs.sh ||
27869 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27871 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
27872 if test $ac_delim_n = $ac_delim_num; then
27874 elif $ac_last_try; then
27875 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27877 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27880 rm -f conf$$subs.sh
27882 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27883 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
27887 s/^/S["/; s
/!.
*/"]=/
27897 s/\(.\{148\}\).*/\1/
27899 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
27904 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27911 s/\(.\{148\}\).*/\1/
27913 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
27917 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27922 ' <conf$$subs.awk | sed '
27927 ' >>$CONFIG_STATUS || ac_write_fail=1
27928 rm -f conf$$subs.awk
27929 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27931 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
27932 for (key in S) S_is_set[key] = 1
27938 nfields = split(line, field, "@
")
27940 len = length(field[1])
27941 for (i = 2; i < nfields; i++) {
27943 keylen = length(key)
27944 if (S_is_set[key]) {
27946 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27947 len += length(value) + length(field[++i])
27958 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27959 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27960 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
27963 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
27964 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
27967 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27968 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
27969 # trailing colons and then remove the whole line if VPATH becomes empty
27970 # (actually we leave an empty line to preserve line numbers).
27971 if test "x
$srcdir" = x.; then
27972 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27973 s/:*\$(srcdir):*/:/
27974 s/:*\${srcdir}:*/:/
27976 s/^\([^=]*=[ ]*\):*/\1/
27982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27983 fi # test -n "$CONFIG_FILES"
27985 # Set up the scripts for CONFIG_HEADERS section.
27986 # No need to generate them if there are no CONFIG_HEADERS.
27987 # This happens for instance with `./config.status Makefile'.
27988 if test -n "$CONFIG_HEADERS"; then
27989 cat >"$tmp/defines.
awk" <<\_ACAWK ||
27993 # Transform confdefs.h into an awk script `defines.awk', embedded as
27994 # here-document in config.status, that substitutes the proper values into
27995 # config.h.in to produce config.h.
27997 # Create a delimiter string that does not exist in confdefs.h, to ease
27998 # handling of long lines.
28000 for ac_last_try in false false :; do
28001 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
28002 if test -z "$ac_t"; then
28004 elif $ac_last_try; then
28005 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
28007 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
28011 # For the awk script, D is an array of macro values keyed by name,
28012 # likewise P contains macro parameters if any. Preserve backslash
28013 # newline sequences.
28015 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
28017 s/.\{148\}/&'"$ac_delim"'/g
28020 s/^[ ]*#[ ]*define[ ][ ]*/ /
28027 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
28029 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
28033 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
28034 D["\
1"]=" \
3\\\\\\n
"\\/p
28036 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
28041 s/.\{148\}/&'"$ac_delim"'/g
28046 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
28049 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
28051 ' <confdefs.h | sed '
28052 s/'"$ac_delim"'/"\\\
28053 "/g' >>$CONFIG_STATUS || ac_write_fail=1
28055 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28056 for (key in D) D_is_set[key] = 1
28059 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
28061 split(line, arg, " ")
28062 if (arg[1] == "#") {
28066 defundef
= substr
(arg
[1], 2)
28069 split(mac1
, mac2
, "(") #)
28071 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
28072 if (D_is_set
[macro
]) {
28073 # Preserve the white space surrounding the "#".
28074 print prefix
"define", macro P
[macro
] D
[macro
]
28077 # Replace #undef with comments. This is necessary, for example,
28078 # in the case of _POSIX_SOURCE, which is predefined and required
28079 # on some systems where configure will not decide to define it.
28080 if (defundef
== "undef") {
28081 print
"/*", prefix defundef
, macro
, "*/"
28089 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28090 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
28091 fi # test -n "$CONFIG_HEADERS"
28094 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
28099 :[FHLC
]) ac_mode
=$ac_tag; continue;;
28101 case $ac_mode$ac_tag in
28103 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
28104 :[FH
]-) ac_tag
=-:-;;
28105 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
28122 -) ac_f
="$tmp/stdin";;
28123 *) # Look for the file first in the build tree, then in the source tree
28124 # (if the path is not absolute). The absolute path cannot be DOS-style,
28125 # because $ac_f cannot contain `:'.
28129 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
28131 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
28133 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28134 as_fn_append ac_file_inputs
" '$ac_f'"
28137 # Let's still pretend it is `configure' which instantiates (i.e., don't
28138 # use $as_me), people would be surprised to read:
28139 # /* config.h. Generated by config.status. */
28140 configure_input
='Generated from '`
28141 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28143 if test x
"$ac_file" != x-
; then
28144 configure_input
="$ac_file. $configure_input"
28145 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
28146 $as_echo "$as_me: creating $ac_file" >&6;}
28148 # Neutralize special characters interpreted by sed in replacement strings.
28149 case $configure_input in #(
28150 *\
&* |
*\|
* |
*\\* )
28151 ac_sed_conf_input
=`$as_echo "$configure_input" |
28152 sed 's/[\\\\&|]/\\\\&/g'`;; #(
28153 *) ac_sed_conf_input
=$configure_input;;
28157 *:-:* |
*:-) cat >"$tmp/stdin" \
28158 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
28163 ac_dir
=`$as_dirname -- "$ac_file" ||
28164 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28165 X"$ac_file" : 'X\(//\)[^/]' \| \
28166 X"$ac_file" : 'X\(//\)$' \| \
28167 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28168 $as_echo X"$ac_file" |
28169 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28173 /^X\(\/\/\)[^/].*/{
28186 as_dir
="$ac_dir"; as_fn_mkdir_p
28190 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28192 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28193 # A ".." for each directory in $ac_dir_suffix.
28194 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28195 case $ac_top_builddir_sub in
28196 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28197 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
28200 ac_abs_top_builddir
=$ac_pwd
28201 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
28202 # for backward compatibility:
28203 ac_top_builddir
=$ac_top_build_prefix
28206 .
) # We are building in place.
28208 ac_top_srcdir
=$ac_top_builddir_sub
28209 ac_abs_top_srcdir
=$ac_pwd ;;
28210 [\\/]* | ?
:[\\/]* ) # Absolute name.
28211 ac_srcdir
=$srcdir$ac_dir_suffix;
28212 ac_top_srcdir
=$srcdir
28213 ac_abs_top_srcdir
=$srcdir ;;
28214 *) # Relative name.
28215 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
28216 ac_top_srcdir
=$ac_top_build_prefix$srcdir
28217 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
28219 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
28229 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
28230 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
28232 ac_MKDIR_P
=$MKDIR_P
28234 [\\/$
]* | ?
:[\\/]* ) ;;
28235 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
28239 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28240 # If the template does not know about datarootdir, expand it.
28241 # FIXME: This hack should be removed a few years after 2.60.
28242 ac_datarootdir_hack
=; ac_datarootdir_seen
=
28253 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28254 *datarootdir
*) ac_datarootdir_seen
=yes;;
28255 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
28256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28257 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28259 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28260 ac_datarootdir_hack='
28261 s&@datadir@&$datadir&g
28262 s&@docdir@&$docdir&g
28263 s&@infodir@&$infodir&g
28264 s&@localedir@&$localedir&g
28265 s&@mandir@&$mandir&g
28266 s&\\\${datarootdir}&$datarootdir&g' ;;
28270 # Neutralize VPATH when `$srcdir' = `.'.
28271 # Shell code in configure.ac might set extrasub.
28272 # FIXME: do we really want to maintain this feature?
28273 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28274 ac_sed_extra="$ac_vpsub
28277 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28279 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
28280 s|@configure_input@|
$ac_sed_conf_input|
;t t
28281 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
28282 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
28283 s
&@srcdir@
&$ac_srcdir&;t t
28284 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
28285 s
&@top_srcdir@
&$ac_top_srcdir&;t t
28286 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
28287 s
&@builddir@
&$ac_builddir&;t t
28288 s
&@abs_builddir@
&$ac_abs_builddir&;t t
28289 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
28290 s
&@INSTALL@
&$ac_INSTALL&;t t
28291 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
28292 $ac_datarootdir_hack
28294 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
28295 || as_fn_error "could not create
$ac_file" "$LINENO" 5
28297 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28298 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
28299 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
28300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
28301 which seems to be undefined. Please make sure it is defined." >&5
28302 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
28303 which seems to be undefined. Please make sure it is defined." >&2;}
28307 -) cat "$tmp/out" && rm -f "$tmp/out";;
28308 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
28310 || as_fn_error "could not create $ac_file" "$LINENO" 5
28316 if test x"$ac_file" != x-; then
28318 $as_echo "/* $configure_input */" \
28319 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
28320 } >"$tmp/config.h" \
28321 || as_fn_error "could not create $ac_file" "$LINENO" 5
28322 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
28323 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28324 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28327 mv "$tmp/config.h" "$ac_file" \
28328 || as_fn_error "could not create $ac_file" "$LINENO" 5
28331 $as_echo "/* $configure_input */" \
28332 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
28333 || as_fn_error "could not create -" "$LINENO" 5
28335 # Compute "$ac_file"'s index
in $config_headers.
28338 for _am_header
in $config_headers :; do
28339 case $_am_header in
28340 $_am_arg |
$_am_arg:* )
28343 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
28346 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28347 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28348 X"$_am_arg" : 'X\(//\)[^/]' \| \
28349 X"$_am_arg" : 'X\(//\)$' \| \
28350 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28351 $as_echo X"$_am_arg" |
28352 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28356 /^X\(\/\/\)[^/].*/{
28368 s/.*/./; q'`/stamp-h
$_am_stamp_count
28371 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28372 $as_echo "$as_me: executing $ac_file commands" >&6;}
28377 case $ac_file$ac_mode in
28379 # Only add multilib support code if we just rebuilt the top-level
28381 case " $CONFIG_FILES " in
28383 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
28386 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
28387 # Autoconf 2.62 quotes --file arguments for eval, but not when files
28388 # are listed without --file. Let's play safe and only enable the eval
28389 # if we detect the quoting.
28390 case $CONFIG_FILES in
28391 *\'*) eval set x
"$CONFIG_FILES" ;;
28392 *) set x
$CONFIG_FILES ;;
28397 # Strip MF so we end up with the name of the file.
28398 mf
=`echo "$mf" | sed -e 's/:.*$//'`
28399 # Check whether this is an Automake generated Makefile or not.
28400 # We used to match only the files named `Makefile.in', but
28401 # some people rename them; so instead we look at the file content.
28402 # Grep'ing the first line is not enough: some people post-process
28403 # each Makefile.in and add a new line on top of each file to say so.
28404 # Grep'ing the whole file is not good either: AIX grep has a line
28405 # limit of 2048, but all sed's we know have understand at least 4000.
28406 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
28407 dirpart
=`$as_dirname -- "$mf" ||
28408 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28409 X"$mf" : 'X\(//\)[^/]' \| \
28410 X"$mf" : 'X\(//\)$' \| \
28411 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28413 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28417 /^X\(\/\/\)[^/].*/{
28433 # Extract the definition of DEPDIR, am__include, and am__quote
28434 # from the Makefile without running `make'.
28435 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
28436 test -z "$DEPDIR" && continue
28437 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
28438 test -z "am__include" && continue
28439 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
28440 # When using ansi2knr, U may be empty or an underscore; expand it
28441 U
=`sed -n 's/^U = //p' < "$mf"`
28442 # Find all dependency output files, they are included files with
28443 # $(DEPDIR) in their names. We invoke sed twice because it is the
28444 # simplest approach to changing $(DEPDIR) to its actual value in the
28446 for file in `sed -n "
28447 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28448 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28449 # Make sure the directory exists.
28450 test -f "$dirpart/$file" && continue
28451 fdir
=`$as_dirname -- "$file" ||
28452 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28453 X"$file" : 'X\(//\)[^/]' \| \
28454 X"$file" : 'X\(//\)$' \| \
28455 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28456 $as_echo X"$file" |
28457 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28461 /^X\(\/\/\)[^/].*/{
28474 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
28475 # echo "creating $dirpart/$file"
28476 echo '# dummy' > "$dirpart/$file"
28483 # See if we are running on zsh, and set the options which allow our
28484 # commands through without removal of \ escapes.
28485 if test -n "${ZSH_VERSION+set}" ; then
28486 setopt NO_GLOB_SUBST
28489 cfgfile
="${ofile}T"
28490 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28493 cat <<_LT_EOF >> "$cfgfile"
28496 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28497 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28498 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28499 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28501 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28502 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28503 # Written by Gordon Matzigkeit, 1996
28505 # This file is part of GNU Libtool.
28507 # GNU Libtool is free software; you can redistribute it and/or
28508 # modify it under the terms of the GNU General Public License as
28509 # published by the Free Software Foundation; either version 2 of
28510 # the License, or (at your option) any later version.
28512 # As a special exception to the GNU General Public License,
28513 # if you distribute this file as part of a program or library that
28514 # is built using GNU Libtool, you may include this file under the
28515 # same distribution terms that you use for the rest of that program.
28517 # GNU Libtool is distributed in the hope that it will be useful,
28518 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28519 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28520 # GNU General Public License for more details.
28522 # You should have received a copy of the GNU General Public License
28523 # along with GNU Libtool; see the file COPYING. If not, a copy
28524 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28525 # obtained by writing to the Free Software Foundation, Inc.,
28526 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28529 # The names of the tagged configurations supported by this script.
28530 available_tags="FC "
28532 # ### BEGIN LIBTOOL CONFIG
28534 # Which release of libtool.m4 was used?
28535 macro_version=$macro_version
28536 macro_revision=$macro_revision
28538 # Whether or not to build shared libraries.
28539 build_libtool_libs=$enable_shared
28541 # Whether or not to build static libraries.
28542 build_old_libs=$enable_static
28544 # What type of objects to build.
28547 # Whether or not to optimize for fast installation.
28548 fast_install=$enable_fast_install
28550 # Shell to use when invoking shell scripts.
28553 # An echo program that protects backslashes.
28557 host_alias=$host_alias
28561 # The build system.
28562 build_alias=$build_alias
28566 # A sed program that does not truncate output.
28569 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28570 Xsed="\$SED -e 1s/^X//"
28572 # A grep program that handles long lines.
28578 # A literal string matcher.
28581 # A BSD- or MS-compatible name lister.
28584 # Whether we need soft or hard links.
28587 # What is the maximum length of a command?
28588 max_cmd_len=$max_cmd_len
28590 # Object file suffix (normally "o").
28593 # Executable file suffix (normally "").
28596 # whether the shell understands "unset".
28599 # turn spaces into newlines.
28602 # turn newlines into spaces.
28605 # An object symbol dumper.
28606 OBJDUMP=$lt_OBJDUMP
28608 # Method to check whether dependent libraries are shared objects.
28609 deplibs_check_method=$lt_deplibs_check_method
28611 # Command to use when deplibs_check_method == "file_magic".
28612 file_magic_cmd=$lt_file_magic_cmd
28616 AR_FLAGS=$lt_AR_FLAGS
28618 # A symbol stripping program.
28621 # Commands used to install an old-style archive.
28623 old_postinstall_cmds=$lt_old_postinstall_cmds
28624 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28626 # Whether to use a lock for old archive extraction.
28627 lock_old_archive_extraction=$lock_old_archive_extraction
28632 # LTCC compiler flags.
28633 LTCFLAGS=$lt_CFLAGS
28635 # Take the output of nm and produce a listing of raw symbols and C names.
28636 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28638 # Transform the output of nm in a proper C declaration.
28639 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28641 # Transform the output of nm in a C name address pair.
28642 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28644 # Transform the output of nm in a C name address pair when lib prefix is needed.
28645 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28647 # The name of the directory that contains temporary libtool files.
28650 # Used to examine libraries when file_magic_cmd begins with "file".
28651 MAGIC_CMD=$MAGIC_CMD
28653 # Must we lock files when doing compilation?
28654 need_locks=$lt_need_locks
28656 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28657 DSYMUTIL=$lt_DSYMUTIL
28659 # Tool to change global to local symbols on Mac OS X.
28662 # Tool to manipulate fat objects and archives on Mac OS X.
28665 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28668 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28669 OTOOL64=$lt_OTOOL64
28671 # Old archive suffix (normally "a").
28674 # Shared library suffix (normally ".so").
28675 shrext_cmds=$lt_shrext_cmds
28677 # The commands to extract the exported symbol list from a shared archive.
28678 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28680 # Variables whose values should be saved in libtool wrapper scripts and
28681 # restored at link time.
28682 variables_saved_for_relink=$lt_variables_saved_for_relink
28684 # Do we need the "lib" prefix for modules?
28685 need_lib_prefix=$need_lib_prefix
28687 # Do we need a version for libraries?
28688 need_version=$need_version
28690 # Library versioning type.
28691 version_type=$version_type
28693 # Shared library runtime path variable.
28694 runpath_var=$runpath_var
28696 # Shared library path variable.
28697 shlibpath_var=$shlibpath_var
28699 # Is shlibpath searched before the hard-coded library search path?
28700 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28702 # Format of library name prefix.
28703 libname_spec=$lt_libname_spec
28705 # List of archive names. First name is the real one, the rest are links.
28706 # The last name is the one that the linker finds with -lNAME
28707 library_names_spec=$lt_library_names_spec
28709 # The coded name of the library, if different from the real name.
28710 soname_spec=$lt_soname_spec
28712 # Permission mode override for installation of shared libraries.
28713 install_override_mode=$lt_install_override_mode
28715 # Command to use after installation of a shared archive.
28716 postinstall_cmds=$lt_postinstall_cmds
28718 # Command to use after uninstallation of a shared archive.
28719 postuninstall_cmds=$lt_postuninstall_cmds
28721 # Commands used to finish a libtool library installation in a directory.
28722 finish_cmds=$lt_finish_cmds
28724 # As "finish_cmds", except a single script fragment to be evaled but
28726 finish_eval=$lt_finish_eval
28728 # Whether we should hardcode library paths into libraries.
28729 hardcode_into_libs=$hardcode_into_libs
28731 # Compile-time system search path for libraries.
28732 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28734 # Run-time system search path for libraries.
28735 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28737 # Whether dlopen is supported.
28738 dlopen_support=$enable_dlopen
28740 # Whether dlopen of programs is supported.
28741 dlopen_self=$enable_dlopen_self
28743 # Whether dlopen of statically linked programs is supported.
28744 dlopen_self_static=$enable_dlopen_self_static
28746 # Commands to strip libraries.
28747 old_striplib=$lt_old_striplib
28748 striplib=$lt_striplib
28751 # The linker used to build libraries.
28754 # How to create reloadable object files.
28755 reload_flag=$lt_reload_flag
28756 reload_cmds=$lt_reload_cmds
28758 # Commands used to build an old-style archive.
28759 old_archive_cmds=$lt_old_archive_cmds
28761 # A language specific compiler.
28764 # Is the compiler the GNU compiler?
28767 # Compiler flag to turn off builtin functions.
28768 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28770 # How to pass a linker flag through the compiler.
28771 wl=$lt_lt_prog_compiler_wl
28773 # Additional compiler flags for building library objects.
28774 pic_flag=$lt_lt_prog_compiler_pic
28776 # Compiler flag to prevent dynamic linking.
28777 link_static_flag=$lt_lt_prog_compiler_static
28779 # Does compiler simultaneously support -c and -o options?
28780 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28782 # Whether or not to add -lc for building shared libraries.
28783 build_libtool_need_lc=$archive_cmds_need_lc
28785 # Whether or not to disallow shared libs when runtime libs are static.
28786 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28788 # Compiler flag to allow reflexive dlopens.
28789 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28791 # Compiler flag to generate shared objects directly from archives.
28792 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28794 # Whether the compiler copes with passing no objects directly.
28795 compiler_needs_object=$lt_compiler_needs_object
28797 # Create an old-style archive from a shared archive.
28798 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28800 # Create a temporary old-style archive to link instead of a shared archive.
28801 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28803 # Commands used to build a shared archive.
28804 archive_cmds=$lt_archive_cmds
28805 archive_expsym_cmds=$lt_archive_expsym_cmds
28807 # Commands used to build a loadable module if different from building
28808 # a shared archive.
28809 module_cmds=$lt_module_cmds
28810 module_expsym_cmds=$lt_module_expsym_cmds
28812 # Whether we are building with GNU ld or not.
28813 with_gnu_ld=$lt_with_gnu_ld
28815 # Flag that allows shared libraries with undefined symbols to be built.
28816 allow_undefined_flag=$lt_allow_undefined_flag
28818 # Flag that enforces no undefined symbols.
28819 no_undefined_flag=$lt_no_undefined_flag
28821 # Flag to hardcode \$libdir into a binary during linking.
28822 # This must work even if \$libdir does not exist
28823 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28825 # If ld is used when linking, flag to hardcode \$libdir into a binary
28826 # during linking. This must work even if \$libdir does not exist.
28827 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28829 # Whether we need a single "-rpath" flag with a separated argument.
28830 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28832 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28833 # DIR into the resulting binary.
28834 hardcode_direct=$hardcode_direct
28836 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28837 # DIR into the resulting binary and the resulting library dependency is
28838 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28839 # library is relocated.
28840 hardcode_direct_absolute=$hardcode_direct_absolute
28842 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28843 # into the resulting binary.
28844 hardcode_minus_L=$hardcode_minus_L
28846 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28847 # into the resulting binary.
28848 hardcode_shlibpath_var=$hardcode_shlibpath_var
28850 # Set to "yes" if building a shared library automatically hardcodes DIR
28851 # into the library and all subsequent libraries and executables linked
28853 hardcode_automatic=$hardcode_automatic
28855 # Set to yes if linker adds runtime paths of dependent libraries
28856 # to runtime path list.
28857 inherit_rpath=$inherit_rpath
28859 # Whether libtool must link a program against all its dependency libraries.
28860 link_all_deplibs=$link_all_deplibs
28862 # Fix the shell variable \$srcfile for the compiler.
28863 fix_srcfile_path=$lt_fix_srcfile_path
28865 # Set to "yes" if exported symbols are required.
28866 always_export_symbols=$always_export_symbols
28868 # The commands to list exported symbols.
28869 export_symbols_cmds=$lt_export_symbols_cmds
28871 # Symbols that should not be listed in the preloaded symbols.
28872 exclude_expsyms=$lt_exclude_expsyms
28874 # Symbols that must always be exported.
28875 include_expsyms=$lt_include_expsyms
28877 # Commands necessary for linking programs (against libraries) with templates.
28878 prelink_cmds=$lt_prelink_cmds
28880 # Specify filename containing input files.
28881 file_list_spec=$lt_file_list_spec
28883 # How to hardcode a shared library path into an executable.
28884 hardcode_action=$hardcode_action
28886 # The directories searched by this compiler when creating a shared library.
28887 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28889 # Dependencies to place before and after the objects being linked to
28890 # create a shared library.
28891 predep_objects=$lt_predep_objects
28892 postdep_objects=$lt_postdep_objects
28893 predeps=$lt_predeps
28894 postdeps=$lt_postdeps
28896 # The library search path used internally by the compiler when linking
28897 # a shared library.
28898 compiler_lib_search_path=$lt_compiler_lib_search_path
28900 # ### END LIBTOOL CONFIG
28906 cat <<\_LT_EOF
>> "$cfgfile"
28907 # AIX sometimes has problems with the GCC collect2 program. For some
28908 # reason, if we set the COLLECT_NAMES environment variable, the problems
28909 # vanish in a puff of smoke.
28910 if test "X${COLLECT_NAMES+set}" != Xset
; then
28912 export COLLECT_NAMES
28919 ltmain
="$ac_aux_dir/ltmain.sh"
28922 # We use sed instead of cat because bash on DJGPP gets confused if
28923 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28924 # text mode, it properly converts lines to CR/LF. This bash problem
28925 # is reportedly fixed, but why not run on old versions too?
28926 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28927 ||
(rm -f "$cfgfile"; exit 1)
28931 cat << \_LT_EOF
>> "$cfgfile"
28933 # func_dirname file append nondir_replacement
28934 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28935 # otherwise set result to NONDIR_REPLACEMENT.
28939 */*) func_dirname_result
="${1%/*}${2}" ;;
28940 * ) func_dirname_result
="${3}" ;;
28944 # func_basename file
28947 func_basename_result
="${1##*/}"
28950 # func_dirname_and_basename file append nondir_replacement
28951 # perform func_basename and func_dirname in a single function
28953 # dirname: Compute the dirname of FILE. If nonempty,
28954 # add APPEND to the result, otherwise set result
28955 # to NONDIR_REPLACEMENT.
28956 # value returned in "$func_dirname_result"
28957 # basename: Compute filename of FILE.
28958 # value retuned in "$func_basename_result"
28959 # Implementation must be kept synchronized with func_dirname
28960 # and func_basename. For efficiency, we do not delegate to
28961 # those functions but instead duplicate the functionality here.
28962 func_dirname_and_basename
()
28965 */*) func_dirname_result
="${1%/*}${2}" ;;
28966 * ) func_dirname_result
="${3}" ;;
28968 func_basename_result
="${1##*/}"
28971 # func_stripname prefix suffix name
28972 # strip PREFIX and SUFFIX off of NAME.
28973 # PREFIX and SUFFIX must not contain globbing or regex special
28974 # characters, hashes, percent signs, but SUFFIX may contain a leading
28975 # dot (in which case that matches only a dot).
28978 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28979 # positional parameters, so assign one to ordinary parameter first.
28980 func_stripname_result
=${3}
28981 func_stripname_result
=${func_stripname_result#"${1}"}
28982 func_stripname_result
=${func_stripname_result%"${2}"}
28988 func_opt_split_opt
=${1%%=*}
28989 func_opt_split_arg
=${1#*=}
28996 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
28997 *) func_lo2o_result
=${1} ;;
29001 # func_xform libobj-or-source
29004 func_xform_result
=${1%.*}.lo
29007 # func_arith arithmetic-term...
29010 func_arith_result
=$
(( $
* ))
29014 # STRING may not start with a hyphen.
29017 func_len_result
=${#1}
29022 *) # Bourne compatible functions.
29023 cat << \_LT_EOF
>> "$cfgfile"
29025 # func_dirname file append nondir_replacement
29026 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
29027 # otherwise set result to NONDIR_REPLACEMENT.
29030 # Extract subdirectory from the argument.
29031 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
29032 if test "X$func_dirname_result" = "X${1}"; then
29033 func_dirname_result
="${3}"
29035 func_dirname_result
="$func_dirname_result${2}"
29039 # func_basename file
29042 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
29046 # func_stripname prefix suffix name
29047 # strip PREFIX and SUFFIX off of NAME.
29048 # PREFIX and SUFFIX must not contain globbing or regex special
29049 # characters, hashes, percent signs, but SUFFIX may contain a leading
29050 # dot (in which case that matches only a dot).
29051 # func_strip_suffix prefix name
29055 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
29056 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
29061 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
29062 my_sed_long_arg
='1s/^-[^=]*=//'
29067 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
29068 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
29074 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
29077 # func_xform libobj-or-source
29080 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
29083 # func_arith arithmetic-term...
29086 func_arith_result
=`expr "$@"`
29090 # STRING may not start with a hyphen.
29093 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
29099 case $lt_shell_append in
29101 cat << \_LT_EOF
>> "$cfgfile"
29103 # func_append var value
29104 # Append VALUE to the end of shell variable VAR.
29112 cat << \_LT_EOF
>> "$cfgfile"
29114 # func_append var value
29115 # Append VALUE to the end of shell variable VAR.
29126 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
29127 ||
(rm -f "$cfgfile"; exit 1)
29129 mv -f "$cfgfile" "$ofile" ||
29130 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29134 cat <<_LT_EOF >> "$ofile"
29136 # ### BEGIN LIBTOOL TAG CONFIG: FC
29138 # The linker used to build libraries.
29141 # How to create reloadable object files.
29142 reload_flag=$lt_reload_flag_FC
29143 reload_cmds=$lt_reload_cmds_FC
29145 # Commands used to build an old-style archive.
29146 old_archive_cmds=$lt_old_archive_cmds_FC
29148 # A language specific compiler.
29151 # Is the compiler the GNU compiler?
29154 # Compiler flag to turn off builtin functions.
29155 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
29157 # How to pass a linker flag through the compiler.
29158 wl=$lt_lt_prog_compiler_wl_FC
29160 # Additional compiler flags for building library objects.
29161 pic_flag=$lt_lt_prog_compiler_pic_FC
29163 # Compiler flag to prevent dynamic linking.
29164 link_static_flag=$lt_lt_prog_compiler_static_FC
29166 # Does compiler simultaneously support -c and -o options?
29167 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
29169 # Whether or not to add -lc for building shared libraries.
29170 build_libtool_need_lc=$archive_cmds_need_lc_FC
29172 # Whether or not to disallow shared libs when runtime libs are static.
29173 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
29175 # Compiler flag to allow reflexive dlopens.
29176 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
29178 # Compiler flag to generate shared objects directly from archives.
29179 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29181 # Whether the compiler copes with passing no objects directly.
29182 compiler_needs_object=$lt_compiler_needs_object_FC
29184 # Create an old-style archive from a shared archive.
29185 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29187 # Create a temporary old-style archive to link instead of a shared archive.
29188 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29190 # Commands used to build a shared archive.
29191 archive_cmds=$lt_archive_cmds_FC
29192 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29194 # Commands used to build a loadable module if different from building
29195 # a shared archive.
29196 module_cmds=$lt_module_cmds_FC
29197 module_expsym_cmds=$lt_module_expsym_cmds_FC
29199 # Whether we are building with GNU ld or not.
29200 with_gnu_ld=$lt_with_gnu_ld_FC
29202 # Flag that allows shared libraries with undefined symbols to be built.
29203 allow_undefined_flag=$lt_allow_undefined_flag_FC
29205 # Flag that enforces no undefined symbols.
29206 no_undefined_flag=$lt_no_undefined_flag_FC
29208 # Flag to hardcode \$libdir into a binary during linking.
29209 # This must work even if \$libdir does not exist
29210 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29212 # If ld is used when linking, flag to hardcode \$libdir into a binary
29213 # during linking. This must work even if \$libdir does not exist.
29214 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29216 # Whether we need a single "-rpath" flag with a separated argument.
29217 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29219 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29220 # DIR into the resulting binary.
29221 hardcode_direct=$hardcode_direct_FC
29223 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29224 # DIR into the resulting binary and the resulting library dependency is
29225 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29226 # library is relocated.
29227 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29229 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29230 # into the resulting binary.
29231 hardcode_minus_L=$hardcode_minus_L_FC
29233 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29234 # into the resulting binary.
29235 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29237 # Set to "yes" if building a shared library automatically hardcodes DIR
29238 # into the library and all subsequent libraries and executables linked
29240 hardcode_automatic=$hardcode_automatic_FC
29242 # Set to yes if linker adds runtime paths of dependent libraries
29243 # to runtime path list.
29244 inherit_rpath=$inherit_rpath_FC
29246 # Whether libtool must link a program against all its dependency libraries.
29247 link_all_deplibs=$link_all_deplibs_FC
29249 # Fix the shell variable \$srcfile for the compiler.
29250 fix_srcfile_path=$lt_fix_srcfile_path_FC
29252 # Set to "yes" if exported symbols are required.
29253 always_export_symbols=$always_export_symbols_FC
29255 # The commands to list exported symbols.
29256 export_symbols_cmds=$lt_export_symbols_cmds_FC
29258 # Symbols that should not be listed in the preloaded symbols.
29259 exclude_expsyms=$lt_exclude_expsyms_FC
29261 # Symbols that must always be exported.
29262 include_expsyms=$lt_include_expsyms_FC
29264 # Commands necessary for linking programs (against libraries) with templates.
29265 prelink_cmds=$lt_prelink_cmds_FC
29267 # Specify filename containing input files.
29268 file_list_spec=$lt_file_list_spec_FC
29270 # How to hardcode a shared library path into an executable.
29271 hardcode_action=$hardcode_action_FC
29273 # The directories searched by this compiler when creating a shared library.
29274 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29276 # Dependencies to place before and after the objects being linked to
29277 # create a shared library.
29278 predep_objects=$lt_predep_objects_FC
29279 postdep_objects=$lt_postdep_objects_FC
29280 predeps=$lt_predeps_FC
29281 postdeps=$lt_postdeps_FC
29283 # The library search path used internally by the compiler when linking
29284 # a shared library.
29285 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29287 # ### END LIBTOOL TAG CONFIG: FC
29292 if test "$GCC" = yes; then
29293 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29295 echo "/* generated for $CC */" > tmp-stdint.h
29298 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29300 #ifndef GCC_GENERATED_STDINT_H
29301 #define GCC_GENERATED_STDINT_H 1
29303 #include <sys/types.h>
29306 if test "$acx_cv_header_stdint" != stdint.h
; then
29307 echo "#include <stddef.h>" >> tmp-stdint.h
29309 if test "$acx_cv_header_stdint" != stddef.h
; then
29310 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29313 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29314 /* glibc uses these symbols as guards to prevent redefinitions. */
29315 #ifdef __int8_t_defined
29320 #ifdef __uint32_t_defined
29326 # ----------------- done header, emit basic int types -------------
29327 if test "$acx_cv_header_stdint" = stddef.h
; then
29328 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29332 #ifndef __uint8_t_defined
29333 #define __uint8_t_defined
29335 typedef unsigned $acx_cv_type_int8_t uint8_t;
29342 #ifndef __uint16_t_defined
29343 #define __uint16_t_defined
29345 typedef unsigned $acx_cv_type_int16_t uint16_t;
29352 #ifndef __uint32_t_defined
29353 #define __uint32_t_defined
29355 typedef unsigned $acx_cv_type_int32_t uint32_t;
29362 #ifndef __int8_t_defined
29363 #define __int8_t_defined
29365 typedef $acx_cv_type_int8_t int8_t;
29372 #ifndef __int16_t_defined
29373 #define __int16_t_defined
29375 typedef $acx_cv_type_int16_t int16_t;
29382 #ifndef __int32_t_defined
29383 #define __int32_t_defined
29385 typedef $acx_cv_type_int32_t int32_t;
29390 elif test "$ac_cv_type_u_int32_t" = yes; then
29391 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29393 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29406 #ifndef __uint8_t_defined
29407 #define __uint8_t_defined
29409 typedef u_int8_t uint8_t;
29416 #ifndef __uint16_t_defined
29417 #define __uint16_t_defined
29419 typedef u_int16_t uint16_t;
29426 #ifndef __uint32_t_defined
29427 #define __uint32_t_defined
29429 typedef u_int32_t uint32_t;
29435 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29437 /* Some systems have guard macros to prevent redefinitions, define them. */
29459 # ------------- done basic int types, emit int64_t types ------------
29460 if test "$ac_cv_type_uint64_t" = yes; then
29461 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29463 /* system headers have good uint64_t and int64_t */
29471 elif test "$ac_cv_type_u_int64_t" = yes; then
29472 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29474 /* system headers have an u_int64_t (and int64_t) */
29480 #ifndef __uint64_t_defined
29481 #define __uint64_t_defined
29483 typedef u_int64_t uint64_t;
29488 elif test -n "$acx_cv_type_int64_t"; then
29489 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29491 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29495 typedef $acx_cv_type_int64_t int64_t;
29500 #ifndef __uint64_t_defined
29501 #define __uint64_t_defined
29503 typedef unsigned $acx_cv_type_int64_t uint64_t;
29509 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29511 /* some common heuristics for int64_t, using compiler-specific tests */
29512 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29515 #ifndef __int64_t_defined
29517 typedef long long int64_t;
29524 typedef unsigned long long uint64_t;
29528 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29529 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29530 does not implement __extension__. But that compiler doesn't define
29532 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29533 # define __extension__
29539 __extension__ typedef long long int64_t;
29545 __extension__ typedef unsigned long long uint64_t;
29549 #elif !defined __STRICT_ANSI__
29550 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29555 typedef __int64 int64_t;
29561 typedef unsigned __int64 uint64_t;
29564 # endif /* compiler */
29566 #endif /* ANSI version */
29570 # ------------- done int64_t types, emit intptr types ------------
29571 if test "$ac_cv_type_uintptr_t" != yes; then
29572 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29574 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29575 #ifndef __uintptr_t_defined
29577 typedef u$acx_cv_type_intptr_t uintptr_t;
29580 #ifndef __intptr_t_defined
29582 typedef $acx_cv_type_intptr_t intptr_t;
29588 # ------------- done intptr types, emit int_least types ------------
29589 if test "$ac_cv_type_int_least32_t" != yes; then
29590 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29592 /* Define int_least types */
29593 typedef int8_t int_least8_t;
29594 typedef int16_t int_least16_t;
29595 typedef int32_t int_least32_t;
29597 typedef int64_t int_least64_t;
29600 typedef uint8_t uint_least8_t;
29601 typedef uint16_t uint_least16_t;
29602 typedef uint32_t uint_least32_t;
29604 typedef uint64_t uint_least64_t;
29609 # ------------- done intptr types, emit int_fast types ------------
29610 if test "$ac_cv_type_int_fast32_t" != yes; then
29611 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29613 /* Define int_fast types. short is often slow */
29614 typedef int8_t int_fast8_t;
29615 typedef int int_fast16_t;
29616 typedef int32_t int_fast32_t;
29618 typedef int64_t int_fast64_t;
29621 typedef uint8_t uint_fast8_t;
29622 typedef unsigned int uint_fast16_t;
29623 typedef uint32_t uint_fast32_t;
29625 typedef uint64_t uint_fast64_t;
29630 if test "$ac_cv_type_uintmax_t" != yes; then
29631 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29633 /* Define intmax based on what we found */
29636 typedef int64_t intmax_t;
29638 typedef long intmax_t;
29643 typedef uint64_t uintmax_t;
29645 typedef unsigned long uintmax_t;
29651 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29653 #endif /* GCC_GENERATED_STDINT_H */
29656 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
29659 mv -f tmp-stdint.h gstdint.h
29670 ac_clean_files
=$ac_clean_files_save
29672 test $ac_write_fail = 0 ||
29673 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
29676 # configure is writing to config.log, and then calls config.status.
29677 # config.status does its own redirection, appending to config.log.
29678 # Unfortunately, on DOS this fails, as config.log is still kept open
29679 # by configure, so config.status won't be able to write to it; its
29680 # output is simply discarded. So we exec the FD to /dev/null,
29681 # effectively closing config.log, so it can be properly (re)opened and
29682 # appended to by config.status. When coming back to configure, we
29683 # need to make the FD available again.
29684 if test "$no_create" != yes; then
29686 ac_config_status_args
=
29687 test "$silent" = yes &&
29688 ac_config_status_args
="$ac_config_status_args --quiet"
29690 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
29692 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29693 # would make configure fail if this is the last instruction.
29694 $ac_cs_success || as_fn_exit $?
29696 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
29697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29698 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}