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
614 LIBGFOR_BUILD_QUAD_FALSE
615 LIBGFOR_BUILD_QUAD_TRUE
620 extra_ldflags_libgfortran
648 LIBGFOR_MINIMAL_FALSE
650 LIBGFOR_USE_SYMVER_SUN_FALSE
651 LIBGFOR_USE_SYMVER_SUN_TRUE
652 LIBGFOR_USE_SYMVER_GNU_FALSE
653 LIBGFOR_USE_SYMVER_GNU_TRUE
654 LIBGFOR_USE_SYMVER_FALSE
655 LIBGFOR_USE_SYMVER_TRUE
682 MAINTAINER_MODE_FALSE
692 INSTALL_STRIP_PROGRAM
754 program_transform_name
767 enable_option_checking
769 enable_version_specific_runtime_libs
771 enable_maintainer_mode
773 enable_dependency_tracking
782 enable_libquadmath_support
783 with_gcc_major_version_only
785 ac_precious_vars
='build_alias
798 # Initialize some variables set by options.
800 ac_init_version
=false
801 ac_unrecognized_opts
=
803 # The variables have the same names as the options, with
804 # dashes changed to underlines.
812 program_transform_name
=s
,x
,x
,
820 # Installation directory options.
821 # These are left unexpanded so users can "make install exec_prefix=/foo"
822 # and all the variables that are supposed to be based on exec_prefix
823 # by default will actually change.
824 # Use braces instead of parens because sh, perl, etc. also accept them.
825 # (The list follows the same order as the GNU Coding Standards.)
826 bindir
='${exec_prefix}/bin'
827 sbindir
='${exec_prefix}/sbin'
828 libexecdir
='${exec_prefix}/libexec'
829 datarootdir
='${prefix}/share'
830 datadir
='${datarootdir}'
831 sysconfdir
='${prefix}/etc'
832 sharedstatedir
='${prefix}/com'
833 localstatedir
='${prefix}/var'
834 includedir
='${prefix}/include'
835 oldincludedir
='/usr/include'
836 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
837 infodir
='${datarootdir}/info'
842 libdir
='${exec_prefix}/lib'
843 localedir
='${datarootdir}/locale'
844 mandir
='${datarootdir}/man'
850 # If the previous option needs an argument, assign it.
851 if test -n "$ac_prev"; then
852 eval $ac_prev=\
$ac_option
858 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
862 # Accept the important Cygnus configure options, so we can diagnose typos.
864 case $ac_dashdash$ac_option in
868 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
870 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
873 -build |
--build |
--buil |
--bui |
--bu)
874 ac_prev
=build_alias
;;
875 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
876 build_alias
=$ac_optarg ;;
878 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
879 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
880 ac_prev
=cache_file
;;
881 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
882 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
883 cache_file
=$ac_optarg ;;
886 cache_file
=config.cache
;;
888 -datadir |
--datadir |
--datadi |
--datad)
890 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
891 datadir
=$ac_optarg ;;
893 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
894 |
--dataroo |
--dataro |
--datar)
895 ac_prev
=datarootdir
;;
896 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
897 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
898 datarootdir
=$ac_optarg ;;
900 -disable-* |
--disable-*)
901 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
902 # Reject names that are not valid shell variable names.
903 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
904 as_fn_error
"invalid feature name: $ac_useropt"
905 ac_useropt_orig
=$ac_useropt
906 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
907 case $ac_user_opts in
911 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
912 ac_unrecognized_sep
=', ';;
914 eval enable_
$ac_useropt=no
;;
916 -docdir |
--docdir |
--docdi |
--doc |
--do)
918 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
921 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
923 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
926 -enable-* |
--enable-*)
927 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
928 # Reject names that are not valid shell variable names.
929 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
930 as_fn_error
"invalid feature name: $ac_useropt"
931 ac_useropt_orig
=$ac_useropt
932 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
933 case $ac_user_opts in
937 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
938 ac_unrecognized_sep
=', ';;
940 eval enable_
$ac_useropt=\
$ac_optarg ;;
942 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
943 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
944 |
--exec |
--exe |
--ex)
945 ac_prev
=exec_prefix
;;
946 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
947 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
948 |
--exec=* |
--exe=* |
--ex=*)
949 exec_prefix
=$ac_optarg ;;
951 -gas |
--gas |
--ga |
--g)
952 # Obsolete; use --with-gas.
955 -help |
--help |
--hel |
--he |
-h)
957 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
958 ac_init_help
=recursive
;;
959 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
960 ac_init_help
=short
;;
962 -host |
--host |
--hos |
--ho)
963 ac_prev
=host_alias
;;
964 -host=* |
--host=* |
--hos=* |
--ho=*)
965 host_alias
=$ac_optarg ;;
967 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
969 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
971 htmldir
=$ac_optarg ;;
973 -includedir |
--includedir |
--includedi |
--included |
--include \
974 |
--includ |
--inclu |
--incl |
--inc)
975 ac_prev
=includedir
;;
976 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
977 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
978 includedir
=$ac_optarg ;;
980 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
982 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
983 infodir
=$ac_optarg ;;
985 -libdir |
--libdir |
--libdi |
--libd)
987 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
990 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
991 |
--libexe |
--libex |
--libe)
992 ac_prev
=libexecdir
;;
993 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
994 |
--libexe=* |
--libex=* |
--libe=*)
995 libexecdir
=$ac_optarg ;;
997 -localedir |
--localedir |
--localedi |
--localed |
--locale)
999 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1000 localedir
=$ac_optarg ;;
1002 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1003 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1004 ac_prev
=localstatedir
;;
1005 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1006 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1007 localstatedir
=$ac_optarg ;;
1009 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1011 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1012 mandir
=$ac_optarg ;;
1014 -nfp |
--nfp |
--nf)
1015 # Obsolete; use --without-fp.
1018 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1019 |
--no-cr |
--no-c |
-n)
1022 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1023 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1026 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1027 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1028 |
--oldin |
--oldi |
--old |
--ol |
--o)
1029 ac_prev
=oldincludedir
;;
1030 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1031 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1032 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1033 oldincludedir
=$ac_optarg ;;
1035 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1037 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1038 prefix
=$ac_optarg ;;
1040 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1041 |
--program-pre |
--program-pr |
--program-p)
1042 ac_prev
=program_prefix
;;
1043 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1044 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1045 program_prefix
=$ac_optarg ;;
1047 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1048 |
--program-suf |
--program-su |
--program-s)
1049 ac_prev
=program_suffix
;;
1050 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1051 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1052 program_suffix
=$ac_optarg ;;
1054 -program-transform-name |
--program-transform-name \
1055 |
--program-transform-nam |
--program-transform-na \
1056 |
--program-transform-n |
--program-transform- \
1057 |
--program-transform |
--program-transfor \
1058 |
--program-transfo |
--program-transf \
1059 |
--program-trans |
--program-tran \
1060 |
--progr-tra |
--program-tr |
--program-t)
1061 ac_prev
=program_transform_name
;;
1062 -program-transform-name=* |
--program-transform-name=* \
1063 |
--program-transform-nam=* |
--program-transform-na=* \
1064 |
--program-transform-n=* |
--program-transform-=* \
1065 |
--program-transform=* |
--program-transfor=* \
1066 |
--program-transfo=* |
--program-transf=* \
1067 |
--program-trans=* |
--program-tran=* \
1068 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1069 program_transform_name
=$ac_optarg ;;
1071 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1073 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1074 pdfdir
=$ac_optarg ;;
1076 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1078 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1081 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1082 |
-silent |
--silent |
--silen |
--sile |
--sil)
1085 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1087 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1089 sbindir
=$ac_optarg ;;
1091 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1092 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1093 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1095 ac_prev
=sharedstatedir
;;
1096 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1097 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1098 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1100 sharedstatedir
=$ac_optarg ;;
1102 -site |
--site |
--sit)
1104 -site=* |
--site=* |
--sit=*)
1107 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1109 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1110 srcdir
=$ac_optarg ;;
1112 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1113 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1114 ac_prev
=sysconfdir
;;
1115 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1116 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1117 sysconfdir
=$ac_optarg ;;
1119 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1120 ac_prev
=target_alias
;;
1121 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1122 target_alias
=$ac_optarg ;;
1124 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1127 -version |
--version |
--versio |
--versi |
--vers |
-V)
1128 ac_init_version
=: ;;
1131 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1132 # Reject names that are not valid shell variable names.
1133 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1134 as_fn_error
"invalid package name: $ac_useropt"
1135 ac_useropt_orig
=$ac_useropt
1136 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1137 case $ac_user_opts in
1141 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1142 ac_unrecognized_sep
=', ';;
1144 eval with_
$ac_useropt=\
$ac_optarg ;;
1146 -without-* |
--without-*)
1147 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1148 # Reject names that are not valid shell variable names.
1149 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1150 as_fn_error
"invalid package name: $ac_useropt"
1151 ac_useropt_orig
=$ac_useropt
1152 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1153 case $ac_user_opts in
1157 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1158 ac_unrecognized_sep
=', ';;
1160 eval with_
$ac_useropt=no
;;
1163 # Obsolete; use --with-x.
1166 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1167 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1168 ac_prev
=x_includes
;;
1169 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1170 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1171 x_includes
=$ac_optarg ;;
1173 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1174 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1175 ac_prev
=x_libraries
;;
1176 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1177 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1178 x_libraries
=$ac_optarg ;;
1180 -*) as_fn_error
"unrecognized option: \`$ac_option'
1181 Try \`$0 --help' for more information."
1185 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1186 # Reject names that are not valid shell variable names.
1187 case $ac_envvar in #(
1188 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1189 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1191 eval $ac_envvar=\
$ac_optarg
1192 export $ac_envvar ;;
1195 # FIXME: should be removed in autoconf 3.0.
1196 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1197 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1198 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1199 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1205 if test -n "$ac_prev"; then
1206 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1207 as_fn_error
"missing argument to $ac_option"
1210 if test -n "$ac_unrecognized_opts"; then
1211 case $enable_option_checking in
1213 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1214 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1218 # Check all directory arguments for consistency.
1219 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1220 datadir sysconfdir sharedstatedir localstatedir includedir \
1221 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1222 libdir localedir mandir
1224 eval ac_val
=\$
$ac_var
1225 # Remove trailing slashes.
1228 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1229 eval $ac_var=\
$ac_val;;
1231 # Be sure to have absolute directory names.
1233 [\\/$
]* | ?
:[\\/]* ) continue;;
1234 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1236 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1239 # There might be people who depend on the old broken behavior: `$host'
1240 # used to hold the argument of --host etc.
1241 # FIXME: To remove some day.
1244 target
=$target_alias
1246 # FIXME: To remove some day.
1247 if test "x$host_alias" != x
; then
1248 if test "x$build_alias" = x
; then
1249 cross_compiling
=maybe
1250 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1251 If a cross compiler is detected then cross compile mode will be used." >&2
1252 elif test "x$build_alias" != "x$host_alias"; then
1258 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1260 test "$silent" = yes && exec 6>/dev
/null
1263 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1264 ac_ls_di
=`ls -di .` &&
1265 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1266 as_fn_error
"working directory cannot be determined"
1267 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1268 as_fn_error
"pwd does not report name of working directory"
1271 # Find the source files, if location was not specified.
1272 if test -z "$srcdir"; then
1273 ac_srcdir_defaulted
=yes
1274 # Try the directory containing this script, then the parent directory.
1275 ac_confdir
=`$as_dirname -- "$as_myself" ||
1276 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1277 X"$as_myself" : 'X\(//\)[^/]' \| \
1278 X"$as_myself" : 'X\(//\)$' \| \
1279 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1280 $as_echo X"$as_myself" |
1281 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1299 if test ! -r "$srcdir/$ac_unique_file"; then
1303 ac_srcdir_defaulted
=no
1305 if test ! -r "$srcdir/$ac_unique_file"; then
1306 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1307 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1309 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1311 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1313 # When building in place, set srcdir=.
1314 if test "$ac_abs_confdir" = "$ac_pwd"; then
1317 # Remove unnecessary trailing slashes from srcdir.
1318 # Double slashes in file names in object file debugging info
1319 # mess up M-x gdb in Emacs.
1321 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1323 for ac_var
in $ac_precious_vars; do
1324 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1325 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1326 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1327 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1331 # Report the --help message.
1333 if test "$ac_init_help" = "long"; then
1334 # Omit some internal or obsolete options to make the list less imposing.
1335 # This message is too long to be a string in the A/UX 3.1 sh.
1337 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1339 Usage: $0 [OPTION]... [VAR=VALUE]...
1341 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1342 VAR=VALUE. See below for descriptions of some of the useful variables.
1344 Defaults for the options are specified in brackets.
1347 -h, --help display this help and exit
1348 --help=short display options specific to this package
1349 --help=recursive display the short help of all the included packages
1350 -V, --version display version information and exit
1351 -q, --quiet, --silent do not print \`checking...' messages
1352 --cache-file=FILE cache test results in FILE [disabled]
1353 -C, --config-cache alias for \`--cache-file=config.cache'
1354 -n, --no-create do not create output files
1355 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1357 Installation directories:
1358 --prefix=PREFIX install architecture-independent files in PREFIX
1359 [$ac_default_prefix]
1360 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1363 By default, \`make install' will install all the files in
1364 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1365 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1366 for instance \`--prefix=\$HOME'.
1368 For better control, use the options below.
1370 Fine tuning of the installation directories:
1371 --bindir=DIR user executables [EPREFIX/bin]
1372 --sbindir=DIR system admin executables [EPREFIX/sbin]
1373 --libexecdir=DIR program executables [EPREFIX/libexec]
1374 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1375 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1376 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1377 --libdir=DIR object code libraries [EPREFIX/lib]
1378 --includedir=DIR C header files [PREFIX/include]
1379 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1380 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1381 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1382 --infodir=DIR info documentation [DATAROOTDIR/info]
1383 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1384 --mandir=DIR man documentation [DATAROOTDIR/man]
1385 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1386 --htmldir=DIR html documentation [DOCDIR]
1387 --dvidir=DIR dvi documentation [DOCDIR]
1388 --pdfdir=DIR pdf documentation [DOCDIR]
1389 --psdir=DIR ps documentation [DOCDIR]
1395 --program-prefix=PREFIX prepend PREFIX to installed program names
1396 --program-suffix=SUFFIX append SUFFIX to installed program names
1397 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1400 --build=BUILD configure
for building on BUILD
[guessed
]
1401 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1402 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1406 if test -n "$ac_init_help"; then
1407 case $ac_init_help in
1408 short | recursive
) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1413 --disable-option-checking ignore unrecognized
--enable/--with options
1414 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1415 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1416 --enable-version-specific-runtime-libs
1417 specify that runtime libraries should be installed
1418 in a compiler-specific directory
1419 --enable-intermodule build the library
in one step
1420 --enable-maintainer-mode enable make rules and dependencies not useful
1421 (and sometimes confusing
) to the casual installer
1422 --enable-multilib build many library versions
(default
)
1423 --disable-dependency-tracking speeds up one-time build
1424 --enable-dependency-tracking do not reject slow dependency extractors
1425 --disable-symvers disable symbol versioning
for libgfortran
1426 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1427 --enable-static[=PKGS
] build static libraries
[default
=yes]
1428 --enable-fast-install[=PKGS
]
1429 optimize
for fast installation
[default
=yes]
1430 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1431 --disable-largefile omit support
for large files
1432 --disable-libquadmath-support
1433 disable libquadmath support
for Fortran
1436 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1437 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1438 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1439 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1440 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1442 --with-gcc-major-version-only
1443 use only GCC major number
in filesystem paths
1445 Some influential environment variables
:
1446 CC C compiler
command
1447 CFLAGS C compiler flags
1448 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1449 nonstandard directory
<lib dir
>
1450 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1451 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1452 you have headers
in a nonstandard directory
<include dir
>
1454 FC Fortran compiler
command
1455 FCFLAGS Fortran compiler flags
1457 Use these variables to override the choices made by
`configure' or to help
1458 it to find libraries and programs with nonstandard names/locations.
1460 Report bugs to the package provider.
1461 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1462 General help using GNU software: <http://www.gnu.org/gethelp/>.
1467 if test "$ac_init_help" = "recursive"; then
1468 # If there are subdirs, report their specific --help.
1469 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1470 test -d "$ac_dir" ||
1471 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1476 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1478 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1479 # A ".." for each directory in $ac_dir_suffix.
1480 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1481 case $ac_top_builddir_sub in
1482 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1483 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1486 ac_abs_top_builddir=$ac_pwd
1487 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1488 # for backward compatibility:
1489 ac_top_builddir=$ac_top_build_prefix
1492 .) # We are building in place.
1494 ac_top_srcdir=$ac_top_builddir_sub
1495 ac_abs_top_srcdir=$ac_pwd ;;
1496 [\\/]* | ?:[\\/]* ) # Absolute name.
1497 ac_srcdir=$srcdir$ac_dir_suffix;
1498 ac_top_srcdir=$srcdir
1499 ac_abs_top_srcdir=$srcdir ;;
1501 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1502 ac_top_srcdir=$ac_top_build_prefix$srcdir
1503 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1505 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1507 cd "$ac_dir" || { ac_status=$?; continue; }
1508 # Check for guested configure.
1509 if test -f "$ac_srcdir/configure.gnu"; then
1511 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1512 elif test -f "$ac_srcdir/configure"; then
1514 $SHELL "$ac_srcdir/configure" --help=recursive
1516 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1518 cd "$ac_pwd" || { ac_status=$?; break; }
1522 test -n "$ac_init_help" && exit $ac_status
1523 if $ac_init_version; then
1525 GNU Fortran Runtime Library configure 0.3
1526 generated by GNU Autoconf 2.64
1528 Copyright (C) 2009 Free Software Foundation, Inc.
1529 This configure script is free software; the Free Software Foundation
1530 gives unlimited permission to copy, distribute and modify it.
1535 ## ------------------------ ##
1536 ## Autoconf initialization. ##
1537 ## ------------------------ ##
1539 # ac_fn_c_try_compile LINENO
1540 # --------------------------
1541 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1542 ac_fn_c_try_compile ()
1544 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1545 rm -f conftest.$ac_objext
1546 if { { ac_try="$ac_compile"
1548 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1549 *) ac_try_echo
=$ac_try;;
1551 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1552 $as_echo "$ac_try_echo"; } >&5
1553 (eval "$ac_compile") 2>conftest.err
1555 if test -s conftest.err
; then
1556 grep -v '^ *+' conftest.err
>conftest.er1
1557 cat conftest.er1
>&5
1558 mv -f conftest.er1 conftest.err
1560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1561 test $ac_status = 0; } && {
1562 test -z "$ac_c_werror_flag" ||
1563 test ! -s conftest.err
1564 } && test -s conftest.
$ac_objext; then :
1567 $as_echo "$as_me: failed program was:" >&5
1568 sed 's/^/| /' conftest.
$ac_ext >&5
1572 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1575 } # ac_fn_c_try_compile
1577 # ac_fn_c_try_cpp LINENO
1578 # ----------------------
1579 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1582 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1583 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1585 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1586 *) ac_try_echo=$ac_try;;
1588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1589 $as_echo "$ac_try_echo"; } >&5
1590 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1592 if test -s conftest.err; then
1593 grep -v '^ *+' conftest.err >conftest.er1
1594 cat conftest.er1 >&5
1595 mv -f conftest.er1 conftest.err
1597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1598 test $ac_status = 0; } >/dev/null && {
1599 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1600 test ! -s conftest.err
1604 $as_echo "$as_me: failed program was:" >&5
1605 sed 's/^/| /' conftest.$ac_ext >&5
1609 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1614 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1615 # -------------------------------------------------------
1616 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1617 # the include files in INCLUDES and setting the cache variable VAR
1619 ac_fn_c_check_header_mongrel ()
1621 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1622 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1624 $as_echo_n "checking for $2... " >&6; }
1625 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1626 $as_echo_n "(cached) " >&6
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1630 $as_echo "$ac_res" >&6; }
1632 # Is the header compilable?
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1634 $as_echo_n "checking $2 usability... " >&6; }
1635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1636 /* end confdefs.h. */
1640 if ac_fn_c_try_compile "$LINENO"; then :
1641 ac_header_compiler=yes
1643 ac_header_compiler=no
1645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1647 $as_echo "$ac_header_compiler" >&6; }
1649 # Is the header present?
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1651 $as_echo_n "checking $2 presence... " >&6; }
1652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1653 /* end confdefs.h. */
1656 if ac_fn_c_try_cpp "$LINENO"; then :
1657 ac_header_preproc=yes
1659 ac_header_preproc=no
1661 rm -f conftest.err conftest.$ac_ext
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1663 $as_echo "$ac_header_preproc" >&6; }
1665 # So? What about this header?
1666 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1669 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1671 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1675 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1677 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1679 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1681 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1683 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1687 $as_echo_n "checking for $2... " >&6; }
1688 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1689 $as_echo_n "(cached) " >&6
1691 eval "$3=\$ac_header_compiler"
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1695 $as_echo "$ac_res" >&6; }
1697 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1699 } # ac_fn_c_check_header_mongrel
1701 # ac_fn_c_try_run LINENO
1702 # ----------------------
1703 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1704 # that executables *can* be run.
1707 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1708 if { { ac_try="$ac_link"
1710 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1711 *) ac_try_echo
=$ac_try;;
1713 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1714 $as_echo "$ac_try_echo"; } >&5
1715 (eval "$ac_link") 2>&5
1717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1718 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1719 { { case "(($ac_try" in
1720 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1721 *) ac_try_echo=$ac_try;;
1723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725 (eval "$ac_try") 2>&5
1727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1728 test $ac_status = 0; }; }; then :
1731 $as_echo "$as_me: program exited with status $ac_status" >&5
1732 $as_echo "$as_me: failed program was:" >&5
1733 sed 's/^/| /' conftest.$ac_ext >&5
1735 ac_retval=$ac_status
1737 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1738 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1743 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1744 # -------------------------------------------------------
1745 # Tests whether HEADER exists and can be compiled using the include files in
1746 # INCLUDES, setting the cache variable VAR accordingly.
1747 ac_fn_c_check_header_compile ()
1749 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1751 $as_echo_n "checking for $2... " >&6; }
1752 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1753 $as_echo_n "(cached) " >&6
1755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1756 /* end confdefs.h. */
1760 if ac_fn_c_try_compile "$LINENO"; then :
1765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1769 $as_echo "$ac_res" >&6; }
1770 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1772 } # ac_fn_c_check_header_compile
1774 # ac_fn_c_try_link LINENO
1775 # -----------------------
1776 # Try to link conftest.$ac_ext, and return whether this succeeded.
1779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1780 rm -f conftest.$ac_objext conftest$ac_exeext
1781 if { { ac_try="$ac_link"
1783 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1784 *) ac_try_echo
=$ac_try;;
1786 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1787 $as_echo "$ac_try_echo"; } >&5
1788 (eval "$ac_link") 2>conftest.err
1790 if test -s conftest.err
; then
1791 grep -v '^ *+' conftest.err
>conftest.er1
1792 cat conftest.er1
>&5
1793 mv -f conftest.er1 conftest.err
1795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1796 test $ac_status = 0; } && {
1797 test -z "$ac_c_werror_flag" ||
1798 test ! -s conftest.err
1799 } && test -s conftest
$ac_exeext && {
1800 test "$cross_compiling" = yes ||
1801 $as_test_x conftest
$ac_exeext
1805 $as_echo "$as_me: failed program was:" >&5
1806 sed 's/^/| /' conftest.
$ac_ext >&5
1810 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1811 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1812 # interfere with the next link command; also delete a directory that is
1813 # left behind by Apple's compiler. We do this before executing the actions.
1814 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1815 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1818 } # ac_fn_c_try_link
1820 # ac_fn_c_check_func LINENO FUNC VAR
1821 # ----------------------------------
1822 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1823 ac_fn_c_check_func
()
1825 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1827 $as_echo_n "checking for $2... " >&6; }
1828 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1829 $as_echo_n "(cached) " >&6
1831 if test x
$gcc_no_link = xyes
; then
1832 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1835 /* end confdefs.h. */
1836 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1838 #define $2 innocuous_$2
1840 /* System header to define __stub macros and hopefully few prototypes,
1841 which can conflict with char $2 (); below.
1842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1843 <limits.h> exists even on freestanding compilers. */
1846 # include <limits.h>
1848 # include <assert.h>
1853 /* Override any GCC internal prototype to avoid an error.
1854 Use char because int might match the return type of a GCC
1855 builtin and then its argument prototype would still apply. */
1860 /* The GNU C library defines this for functions which it implements
1861 to always fail with ENOSYS. Some functions are actually named
1862 something starting with __ and the normal name is an alias. */
1863 #if defined __stub_$2 || defined __stub___$2
1875 if ac_fn_c_try_link
"$LINENO"; then :
1880 rm -f core conftest.err conftest.
$ac_objext \
1881 conftest
$ac_exeext conftest.
$ac_ext
1884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1885 $as_echo "$ac_res" >&6; }
1886 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1888 } # ac_fn_c_check_func
1890 # ac_fn_fc_try_compile LINENO
1891 # ---------------------------
1892 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1893 ac_fn_fc_try_compile
()
1895 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1896 rm -f conftest.
$ac_objext
1897 if { { ac_try
="$ac_compile"
1899 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1900 *) ac_try_echo=$ac_try;;
1902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1903 $as_echo "$ac_try_echo"; } >&5
1904 (eval "$ac_compile") 2>conftest.err
1906 if test -s conftest.err; then
1907 grep -v '^ *+' conftest.err >conftest.er1
1908 cat conftest.er1 >&5
1909 mv -f conftest.er1 conftest.err
1911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1912 test $ac_status = 0; } && {
1913 test -z "$ac_fc_werror_flag" ||
1914 test ! -s conftest.err
1915 } && test -s conftest.$ac_objext; then :
1918 $as_echo "$as_me: failed program was:" >&5
1919 sed 's/^/| /' conftest.$ac_ext >&5
1923 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1926 } # ac_fn_fc_try_compile
1928 # ac_fn_fc_try_link LINENO
1929 # ------------------------
1930 # Try to link conftest.$ac_ext, and return whether this succeeded.
1931 ac_fn_fc_try_link ()
1933 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1934 rm -f conftest.$ac_objext conftest$ac_exeext
1935 if { { ac_try="$ac_link"
1937 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1938 *) ac_try_echo
=$ac_try;;
1940 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1941 $as_echo "$ac_try_echo"; } >&5
1942 (eval "$ac_link") 2>conftest.err
1944 if test -s conftest.err
; then
1945 grep -v '^ *+' conftest.err
>conftest.er1
1946 cat conftest.er1
>&5
1947 mv -f conftest.er1 conftest.err
1949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1950 test $ac_status = 0; } && {
1951 test -z "$ac_fc_werror_flag" ||
1952 test ! -s conftest.err
1953 } && test -s conftest
$ac_exeext && {
1954 test "$cross_compiling" = yes ||
1955 $as_test_x conftest
$ac_exeext
1959 $as_echo "$as_me: failed program was:" >&5
1960 sed 's/^/| /' conftest.
$ac_ext >&5
1964 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1965 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1966 # interfere with the next link command; also delete a directory that is
1967 # left behind by Apple's compiler. We do this before executing the actions.
1968 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1969 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1972 } # ac_fn_fc_try_link
1974 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1975 # -------------------------------------------
1976 # Tests whether TYPE exists after having included INCLUDES, setting cache
1977 # variable VAR accordingly.
1978 ac_fn_c_check_type
()
1980 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1982 $as_echo_n "checking for $2... " >&6; }
1983 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1984 $as_echo_n "(cached) " >&6
1987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1988 /* end confdefs.h. */
1999 if ac_fn_c_try_compile
"$LINENO"; then :
2000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2001 /* end confdefs.h. */
2012 if ac_fn_c_try_compile
"$LINENO"; then :
2017 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2019 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2023 $as_echo "$ac_res" >&6; }
2024 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2026 } # ac_fn_c_check_type
2028 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2029 # --------------------------------------------
2030 # Tries to find the compile-time value of EXPR in a program that includes
2031 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2033 ac_fn_c_compute_int
()
2035 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2036 if test "$cross_compiling" = yes; then
2037 # Depending upon the size, compute the lo and hi bounds.
2038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2039 /* end confdefs.h. */
2044 static int test_array [1 - 2 * !(($2) >= 0)];
2051 if ac_fn_c_try_compile
"$LINENO"; then :
2054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2055 /* end confdefs.h. */
2060 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2067 if ac_fn_c_try_compile
"$LINENO"; then :
2068 ac_hi
=$ac_mid; break
2070 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2071 if test $ac_lo -le $ac_mid; then
2075 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2077 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2080 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2081 /* end confdefs.h. */
2086 static int test_array [1 - 2 * !(($2) < 0)];
2093 if ac_fn_c_try_compile
"$LINENO"; then :
2096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2097 /* end confdefs.h. */
2102 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2109 if ac_fn_c_try_compile
"$LINENO"; then :
2110 ac_lo
=$ac_mid; break
2112 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2113 if test $ac_mid -le $ac_hi; then
2117 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2126 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2127 # Binary search between lo and hi bounds.
2128 while test "x$ac_lo" != "x$ac_hi"; do
2129 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2131 /* end confdefs.h. */
2136 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2143 if ac_fn_c_try_compile
"$LINENO"; then :
2146 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2148 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2151 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2156 /* end confdefs.h. */
2158 static long int longval () { return $2; }
2159 static unsigned long int ulongval () { return $2; }
2166 FILE *f = fopen ("conftest.val", "w");
2171 long int i = longval ();
2174 fprintf (f, "%ld", i);
2178 unsigned long int i = ulongval ();
2181 fprintf (f, "%lu", i);
2183 /* Do not output a trailing newline, as this causes \r\n confusion
2184 on some platforms. */
2185 return ferror (f) || fclose (f) != 0;
2191 if ac_fn_c_try_run
"$LINENO"; then :
2192 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2196 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2197 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2201 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2204 } # ac_fn_c_compute_int
2206 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2207 # ----------------------------------------------------
2208 # Tries to find if the field MEMBER exists in type AGGR, after including
2209 # INCLUDES, setting cache variable VAR accordingly.
2210 ac_fn_c_check_member
()
2212 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2214 $as_echo_n "checking for $2.$3... " >&6; }
2215 if { as_var
=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2216 $as_echo_n "(cached) " >&6
2218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2219 /* end confdefs.h. */
2231 if ac_fn_c_try_compile
"$LINENO"; then :
2234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2235 /* end confdefs.h. */
2241 if (sizeof ac_aggr.$3)
2247 if ac_fn_c_try_compile
"$LINENO"; then :
2252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2258 $as_echo "$ac_res" >&6; }
2259 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2261 } # ac_fn_c_check_member
2262 cat >config.log
<<_ACEOF
2263 This file contains any messages produced by compilers while
2264 running configure, to aid debugging if configure makes a mistake.
2266 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2267 generated by GNU Autoconf 2.64. Invocation command line was
2279 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2280 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2281 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2282 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2283 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2285 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2286 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2288 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2289 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2290 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2291 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2292 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2293 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2294 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2302 test -z "$as_dir" && as_dir
=.
2303 $as_echo "PATH: $as_dir"
2319 # Keep a trace of the command line.
2320 # Strip out --no-create and --no-recursion so they do not pile up.
2321 # Strip out --silent because we don't want to record it for future runs.
2322 # Also quote any args containing shell meta-characters.
2323 # Make two passes to allow for proper duplicate-argument suppression.
2327 ac_must_keep_next
=false
2333 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2334 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2335 |
-silent |
--silent |
--silen |
--sile |
--sil)
2338 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2341 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2343 as_fn_append ac_configure_args1
" '$ac_arg'"
2344 if test $ac_must_keep_next = true
; then
2345 ac_must_keep_next
=false
# Got value, back to normal.
2348 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2349 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2350 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2351 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2352 case "$ac_configure_args0 " in
2353 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2356 -* ) ac_must_keep_next
=true
;;
2359 as_fn_append ac_configure_args
" '$ac_arg'"
2364 { ac_configure_args0
=; unset ac_configure_args0
;}
2365 { ac_configure_args1
=; unset ac_configure_args1
;}
2367 # When interrupted or exit'd, cleanup temporary files, and complete
2368 # config.log. We remove comments because anyway the quotes in there
2369 # would cause problems or look ugly.
2370 # WARNING: Use '\'' to represent an apostrophe within the trap.
2371 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2372 trap 'exit_status=$?
2373 # Save into config.log some information that might help in debugging.
2378 ## ---------------- ##
2379 ## Cache variables. ##
2380 ## ---------------- ##
2383 # The following way of writing the cache mishandles newlines in values,
2385 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2386 eval ac_val=\$$ac_var
2390 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2391 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2394 _ | IFS | as_nl) ;; #(
2395 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2396 *) { eval $ac_var=; unset $ac_var;} ;;
2401 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2402 *${as_nl}ac_space=\ *)
2404 "s/'\''/'\''\\\\'\'''\''/g;
2405 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2408 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2416 ## ----------------- ##
2417 ## Output variables. ##
2418 ## ----------------- ##
2421 for ac_var in $ac_subst_vars
2423 eval ac_val=\$$ac_var
2425 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2427 $as_echo "$ac_var='\''$ac_val'\''"
2431 if test -n "$ac_subst_files"; then
2433 ## ------------------- ##
2434 ## File substitutions. ##
2435 ## ------------------- ##
2438 for ac_var
in $ac_subst_files
2440 eval ac_val
=\$
$ac_var
2442 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2444 $as_echo "$ac_var='\''$ac_val'\''"
2449 if test -s confdefs.h; then
2459 test "$ac_signal" != 0 &&
2460 $as_echo "$as_me: caught signal $ac_signal"
2461 $as_echo "$as_me: exit $exit_status"
2463 rm -f core *.core core.conftest.* &&
2464 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2467 for ac_signal
in 1 2 13 15; do
2468 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2472 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2473 rm -f -r conftest
* confdefs.h
2475 $as_echo "/* confdefs.h */" > confdefs.h
2477 # Predefined preprocessor variables.
2479 cat >>confdefs.h
<<_ACEOF
2480 #define PACKAGE_NAME "$PACKAGE_NAME"
2483 cat >>confdefs.h
<<_ACEOF
2484 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2487 cat >>confdefs.h
<<_ACEOF
2488 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2491 cat >>confdefs.h
<<_ACEOF
2492 #define PACKAGE_STRING "$PACKAGE_STRING"
2495 cat >>confdefs.h
<<_ACEOF
2496 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2499 cat >>confdefs.h
<<_ACEOF
2500 #define PACKAGE_URL "$PACKAGE_URL"
2504 # Let the site file select an alternate cache file if it wants to.
2505 # Prefer an explicitly selected file to automatically selected ones.
2508 if test -n "$CONFIG_SITE"; then
2509 ac_site_file1
=$CONFIG_SITE
2510 elif test "x$prefix" != xNONE
; then
2511 ac_site_file1
=$prefix/share
/config.site
2512 ac_site_file2
=$prefix/etc
/config.site
2514 ac_site_file1
=$ac_default_prefix/share
/config.site
2515 ac_site_file2
=$ac_default_prefix/etc
/config.site
2517 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2519 test "x$ac_site_file" = xNONE
&& continue
2520 if test -r "$ac_site_file"; then
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2522 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2523 sed 's/^/| /' "$ac_site_file" >&5
2528 if test -r "$cache_file"; then
2529 # Some versions of bash will fail to source /dev/null (special
2530 # files actually), so we avoid doing that.
2531 if test -f "$cache_file"; then
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2533 $as_echo "$as_me: loading cache $cache_file" >&6;}
2535 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2536 *) .
"./$cache_file";;
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2541 $as_echo "$as_me: creating cache $cache_file" >&6;}
2545 as_fn_append ac_header_list
" unistd.h"
2546 as_fn_append ac_header_list
" sys/time.h"
2547 as_fn_append ac_header_list
" sys/times.h"
2548 as_fn_append ac_header_list
" sys/resource.h"
2549 as_fn_append ac_header_list
" sys/types.h"
2550 as_fn_append ac_header_list
" sys/stat.h"
2551 as_fn_append ac_header_list
" sys/wait.h"
2552 as_fn_append ac_header_list
" floatingpoint.h"
2553 as_fn_append ac_header_list
" ieeefp.h"
2554 as_fn_append ac_header_list
" fenv.h"
2555 as_fn_append ac_header_list
" fptrap.h"
2556 as_fn_append ac_header_list
" fpxcp.h"
2557 as_fn_append ac_header_list
" pwd.h"
2558 as_fn_append ac_header_list
" complex.h"
2559 as_fn_append ac_header_list
" xlocale.h"
2560 as_fn_append ac_func_list
" getrusage"
2561 as_fn_append ac_func_list
" times"
2562 as_fn_append ac_func_list
" mkstemp"
2563 as_fn_append ac_func_list
" strtof"
2564 as_fn_append ac_func_list
" strtold"
2565 as_fn_append ac_func_list
" snprintf"
2566 as_fn_append ac_func_list
" ftruncate"
2567 as_fn_append ac_func_list
" chsize"
2568 as_fn_append ac_func_list
" chdir"
2569 as_fn_append ac_func_list
" getlogin"
2570 as_fn_append ac_func_list
" gethostname"
2571 as_fn_append ac_func_list
" kill"
2572 as_fn_append ac_func_list
" link"
2573 as_fn_append ac_func_list
" symlink"
2574 as_fn_append ac_func_list
" sleep"
2575 as_fn_append ac_func_list
" ttyname"
2576 as_fn_append ac_func_list
" alarm"
2577 as_fn_append ac_func_list
" access"
2578 as_fn_append ac_func_list
" fork"
2579 as_fn_append ac_func_list
" setmode"
2580 as_fn_append ac_func_list
" fcntl"
2581 as_fn_append ac_func_list
" gettimeofday"
2582 as_fn_append ac_func_list
" stat"
2583 as_fn_append ac_func_list
" fstat"
2584 as_fn_append ac_func_list
" lstat"
2585 as_fn_append ac_func_list
" getpwuid"
2586 as_fn_append ac_func_list
" vsnprintf"
2587 as_fn_append ac_func_list
" dup"
2588 as_fn_append ac_func_list
" getcwd"
2589 as_fn_append ac_func_list
" localtime_r"
2590 as_fn_append ac_func_list
" gmtime_r"
2591 as_fn_append ac_func_list
" getpwuid_r"
2592 as_fn_append ac_func_list
" ttyname_r"
2593 as_fn_append ac_func_list
" clock_gettime"
2594 as_fn_append ac_func_list
" getgid"
2595 as_fn_append ac_func_list
" getpid"
2596 as_fn_append ac_func_list
" getuid"
2597 as_fn_append ac_func_list
" geteuid"
2598 as_fn_append ac_func_list
" umask"
2599 as_fn_append ac_func_list
" getegid"
2600 as_fn_append ac_func_list
" secure_getenv"
2601 as_fn_append ac_func_list
" __secure_getenv"
2602 as_fn_append ac_func_list
" mkostemp"
2603 as_fn_append ac_func_list
" strnlen"
2604 as_fn_append ac_func_list
" strndup"
2605 as_fn_append ac_func_list
" newlocale"
2606 as_fn_append ac_func_list
" freelocale"
2607 as_fn_append ac_func_list
" uselocale"
2608 as_fn_append ac_func_list
" strerror_l"
2609 as_fn_append ac_header_list
" math.h"
2610 # Check that the precious variables saved in the cache have kept the same
2612 ac_cache_corrupted
=false
2613 for ac_var
in $ac_precious_vars; do
2614 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2615 eval ac_new_set
=\
$ac_env_${ac_var}_set
2616 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2617 eval ac_new_val
=\
$ac_env_${ac_var}_value
2618 case $ac_old_set,$ac_new_set in
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2621 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2622 ac_cache_corrupted
=: ;;
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2625 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2626 ac_cache_corrupted
=: ;;
2629 if test "x$ac_old_val" != "x$ac_new_val"; then
2630 # differences in whitespace do not lead to failure.
2631 ac_old_val_w
=`echo x $ac_old_val`
2632 ac_new_val_w
=`echo x $ac_new_val`
2633 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2635 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2636 ac_cache_corrupted
=:
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2639 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2640 eval $ac_var=\
$ac_old_val
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2643 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2645 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2648 # Pass precious variables to config.status.
2649 if test "$ac_new_set" = set; then
2651 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2652 *) ac_arg
=$ac_var=$ac_new_val ;;
2654 case " $ac_configure_args " in
2655 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2656 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2660 if $ac_cache_corrupted; then
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2662 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2664 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2665 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2667 ## -------------------- ##
2668 ## Main body of script. ##
2669 ## -------------------- ##
2672 ac_cpp
='$CPP $CPPFLAGS'
2673 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2674 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2675 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2681 ac_config_headers
="$ac_config_headers config.h"
2684 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2685 for ac_t
in install-sh
install.sh shtool
; do
2686 if test -f "$ac_dir/$ac_t"; then
2688 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2693 if test -z "$ac_aux_dir"; then
2694 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2697 # These three variables are undocumented and unsupported,
2698 # and are intended to be withdrawn in a future Autoconf release.
2699 # They can cause serious problems if a builder's source tree is in a directory
2700 # whose full name contains unusual characters.
2701 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2702 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2703 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2706 # Make sure we can run config.sub.
2707 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2708 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2711 $as_echo_n "checking build system type... " >&6; }
2712 if test "${ac_cv_build+set}" = set; then :
2713 $as_echo_n "(cached) " >&6
2715 ac_build_alias
=$build_alias
2716 test "x$ac_build_alias" = x
&&
2717 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2718 test "x$ac_build_alias" = x
&&
2719 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2720 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2721 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2725 $as_echo "$ac_cv_build" >&6; }
2726 case $ac_cv_build in
2728 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2731 ac_save_IFS
=$IFS; IFS
='-'
2737 # Remember, the first character of IFS is used to create $*,
2738 # except with old shells:
2741 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2744 case ${build_alias} in
2745 "") build_noncanonical
=${build} ;;
2746 *) build_noncanonical
=${build_alias} ;;
2749 case ${host_alias} in
2750 "") host_noncanonical
=${build_noncanonical} ;;
2751 *) host_noncanonical
=${host_alias} ;;
2754 case ${target_alias} in
2755 "") target_noncanonical
=${host_noncanonical} ;;
2756 *) target_noncanonical
=${target_alias} ;;
2760 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2761 # have matching libraries, they should use host libraries: Makefile.tpl
2762 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2763 # However, they still use the build modules, because the corresponding
2764 # host modules (e.g. bison) are only built for the host when bootstrap
2766 # - build_subdir is where we find build modules, and never changes.
2767 # - build_libsubdir is where we find build libraries, and can be overridden.
2769 # Prefix 'build-' so this never conflicts with target_subdir.
2770 build_subdir
="build-${build_noncanonical}"
2772 # Check whether --with-build-libsubdir was given.
2773 if test "${with_build_libsubdir+set}" = set; then :
2774 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2776 build_libsubdir
="$build_subdir"
2779 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2780 if ( test $srcdir = .
&& test -d gcc
) \
2781 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2782 host_subdir
="host-${host_noncanonical}"
2787 target_subdir
=${target_noncanonical}
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2795 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2796 # Check whether --enable-version-specific-runtime-libs was given.
2797 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2798 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2799 yes) version_specific_libs
=yes ;;
2800 no
) version_specific_libs
=no
;;
2801 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2804 version_specific_libs
=no
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2808 $as_echo "$version_specific_libs" >&6; }
2810 # Build with intermodule optimisations
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2812 $as_echo_n "checking for --enable-intermodule... " >&6; }
2813 # Check whether --enable-intermodule was given.
2814 if test "${enable_intermodule+set}" = set; then :
2815 enableval
=$enable_intermodule; case "$enable_intermodule" in
2816 yes) onestep
="-onestep";;
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2824 $as_echo "$enable_intermodule" >&6; }
2825 if test x
$onestep = x-onestep
; then
2835 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2837 # You will slowly go insane if you do not grok the following fact: when
2838 # building this library, the top-level /target/ becomes the library's /host/.
2840 # configure then causes --target to default to --host, exactly like any
2841 # other package using autoconf. Therefore, 'target' and 'host' will
2842 # always be the same. This makes sense both for native and cross compilers
2843 # just think about it for a little while. :-)
2845 # Also, if this library is being configured as part of a cross compiler, the
2846 # top-level configure script will pass the "real" host as $with_cross_host.
2848 # Do not delete or change the following two lines. For why, see
2849 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2851 $as_echo_n "checking host system type... " >&6; }
2852 if test "${ac_cv_host+set}" = set; then :
2853 $as_echo_n "(cached) " >&6
2855 if test "x$host_alias" = x
; then
2856 ac_cv_host
=$ac_cv_build
2858 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2859 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2864 $as_echo "$ac_cv_host" >&6; }
2867 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2870 ac_save_IFS
=$IFS; IFS
='-'
2876 # Remember, the first character of IFS is used to create $*,
2877 # except with old shells:
2880 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2884 $as_echo_n "checking target system type... " >&6; }
2885 if test "${ac_cv_target+set}" = set; then :
2886 $as_echo_n "(cached) " >&6
2888 if test "x$target_alias" = x
; then
2889 ac_cv_target
=$ac_cv_host
2891 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2892 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2897 $as_echo "$ac_cv_target" >&6; }
2898 case $ac_cv_target in
2900 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2902 target
=$ac_cv_target
2903 ac_save_IFS
=$IFS; IFS
='-'
2909 # Remember, the first character of IFS is used to create $*,
2910 # except with old shells:
2913 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2916 # The aliases save the names the user supplied, while $host etc.
2917 # will get canonicalized.
2918 test -n "$target_alias" &&
2919 test "$program_prefix$program_suffix$program_transform_name" = \
2921 program_prefix
=${target_alias}-
2926 target_alias
=${target_alias-$host_alias}
2929 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2930 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2931 # 1.9.6: minimum required version
2932 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2933 # of other PACKAGE_* variables will, however, and there's nothing
2934 # we can do about that; they come from AC_INIT).
2935 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2936 # file in the top srcdir, etc, etc), so stop complaining.
2937 # no-dist: we don't want 'dist' and related rules.
2938 # -Wall: turns on all automake warnings...
2939 # -Wno-portability: ...except this one, since GNU make is required.
2940 am__api_version
='1.11'
2942 # Find a good install program. We prefer a C program (faster),
2943 # so one script is as good as another. But avoid the broken or
2944 # incompatible versions:
2945 # SysV /etc/install, /usr/sbin/install
2946 # SunOS /usr/etc/install
2947 # IRIX /sbin/install
2949 # AmigaOS /C/install, which installs bootblocks on floppy discs
2950 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2951 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2952 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2953 # OS/2's system install, which has a completely different semantic
2954 # ./install, which can be erroneously created by make from ./install.sh.
2955 # Reject install programs that cannot install multiple files.
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2957 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2958 if test -z "$INSTALL"; then
2959 if test "${ac_cv_path_install+set}" = set; then :
2960 $as_echo_n "(cached) " >&6
2962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2966 test -z "$as_dir" && as_dir
=.
2967 # Account for people who put trailing slashes in PATH elements.
2968 case $as_dir/ in #((
2969 .
/ | .
// |
/[cC
]/* | \
2970 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2971 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2974 # OSF1 and SCO ODT 3.0 have their own names for install.
2975 # Don't use installbsd from OSF since it installs stuff as root
2977 for ac_prog
in ginstall scoinst
install; do
2978 for ac_exec_ext
in '' $ac_executable_extensions; do
2979 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2980 if test $ac_prog = install &&
2981 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2982 # AIX install. It has an incompatible calling convention.
2984 elif test $ac_prog = install &&
2985 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2986 # program-specific install script used by HP pwplus--don't use.
2989 rm -rf conftest.one conftest.two conftest.dir
2990 echo one
> conftest.one
2991 echo two
> conftest.two
2993 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2994 test -s conftest.one
&& test -s conftest.two
&&
2995 test -s conftest.dir
/conftest.one
&&
2996 test -s conftest.dir
/conftest.two
2998 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3011 rm -rf conftest.one conftest.two conftest.dir
3014 if test "${ac_cv_path_install+set}" = set; then
3015 INSTALL
=$ac_cv_path_install
3017 # As a last resort, use the slow shell script. Don't cache a
3018 # value for INSTALL within a source directory, because that will
3019 # break other packages using the cache if that directory is
3020 # removed, or if the value is a relative name.
3021 INSTALL
=$ac_install_sh
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3025 $as_echo "$INSTALL" >&6; }
3027 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3028 # It thinks the first close brace ends the variable substitution.
3029 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3031 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3033 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3036 $as_echo_n "checking whether build environment is sane... " >&6; }
3039 echo timestamp
> conftest.
file
3040 # Reject unsafe characters in $srcdir or the absolute working directory
3041 # name. Accept space and tab only in the latter.
3045 *[\\\"\
#\$\&\'\`$am_lf]*)
3046 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3049 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3050 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3053 # Do `set' in a subshell so we don't clobber the current shell's
3054 # arguments. Must try -L first in case configure is actually a
3055 # symlink; some systems play weird games with the mod time of symlinks
3056 # (eg FreeBSD returns the mod time of the symlink's containing
3059 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3060 if test "$*" = "X"; then
3062 set X
`ls -t "$srcdir/configure" conftest.file`
3065 if test "$*" != "X $srcdir/configure conftest.file" \
3066 && test "$*" != "X conftest.file $srcdir/configure"; then
3068 # If neither matched, then we have a broken ls. This can happen
3069 # if, for instance, CONFIG_SHELL is bash and it inherits a
3070 # broken ls alias from the environment. This has actually
3071 # happened. Such a system could not be considered "sane".
3072 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3073 alias in your environment" "$LINENO" 5
3076 test "$2" = conftest.
file
3082 as_fn_error
"newly created file is older than distributed files!
3083 Check your system clock" "$LINENO" 5
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3086 $as_echo "yes" >&6; }
3087 test "$program_prefix" != NONE
&&
3088 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3089 # Use a double $ so make ignores it.
3090 test "$program_suffix" != NONE
&&
3091 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3092 # Double any \ or $.
3093 # By default was `s,x,x', remove it if useless.
3094 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3095 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3097 # expand $ac_aux_dir to an absolute path
3098 am_aux_dir
=`cd $ac_aux_dir && pwd`
3100 if test x
"${MISSING+set}" != xset
; then
3103 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3105 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3108 # Use eval to expand $SHELL
3109 if eval "$MISSING --run true"; then
3110 am_missing_run
="$MISSING --run "
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3114 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3117 if test x
"${install_sh}" != xset
; then
3120 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3122 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3126 # Installed binaries are usually stripped using `strip' when the user
3127 # run `make install-strip'. However `strip' might not be the right
3128 # tool to use in cross-compilation environments, therefore Automake
3129 # will honor the `STRIP' environment variable to overrule this program.
3130 if test "$cross_compiling" != no
; then
3131 if test -n "$ac_tool_prefix"; then
3132 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3133 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3135 $as_echo_n "checking for $ac_word... " >&6; }
3136 if test "${ac_cv_prog_STRIP+set}" = set; then :
3137 $as_echo_n "(cached) " >&6
3139 if test -n "$STRIP"; then
3140 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3146 test -z "$as_dir" && as_dir
=.
3147 for ac_exec_ext
in '' $ac_executable_extensions; do
3148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3149 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3159 STRIP
=$ac_cv_prog_STRIP
3160 if test -n "$STRIP"; then
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3162 $as_echo "$STRIP" >&6; }
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3165 $as_echo "no" >&6; }
3170 if test -z "$ac_cv_prog_STRIP"; then
3172 # Extract the first word of "strip", so it can be a program name with args.
3173 set dummy strip
; ac_word
=$2
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3175 $as_echo_n "checking for $ac_word... " >&6; }
3176 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3177 $as_echo_n "(cached) " >&6
3179 if test -n "$ac_ct_STRIP"; then
3180 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3186 test -z "$as_dir" && as_dir
=.
3187 for ac_exec_ext
in '' $ac_executable_extensions; do
3188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3189 ac_cv_prog_ac_ct_STRIP
="strip"
3190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3199 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3200 if test -n "$ac_ct_STRIP"; then
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3202 $as_echo "$ac_ct_STRIP" >&6; }
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3205 $as_echo "no" >&6; }
3208 if test "x$ac_ct_STRIP" = x
; then
3211 case $cross_compiling:$ac_tool_warned in
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3215 ac_tool_warned
=yes ;;
3220 STRIP
="$ac_cv_prog_STRIP"
3224 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3227 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3228 if test -z "$MKDIR_P"; then
3229 if test "${ac_cv_path_mkdir+set}" = set; then :
3230 $as_echo_n "(cached) " >&6
3232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3233 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3236 test -z "$as_dir" && as_dir
=.
3237 for ac_prog
in mkdir gmkdir
; do
3238 for ac_exec_ext
in '' $ac_executable_extensions; do
3239 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3240 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3241 'mkdir (GNU coreutils) '* | \
3242 'mkdir (coreutils) '* | \
3243 'mkdir (fileutils) '4.1*)
3244 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3254 if test "${ac_cv_path_mkdir+set}" = set; then
3255 MKDIR_P
="$ac_cv_path_mkdir -p"
3257 # As a last resort, use the slow shell script. Don't cache a
3258 # value for MKDIR_P within a source directory, because that will
3259 # break other packages using the cache if that directory is
3260 # removed, or if the value is a relative name.
3261 test -d .
/--version && rmdir .
/--version
3262 MKDIR_P
="$ac_install_sh -d"
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3266 $as_echo "$MKDIR_P" >&6; }
3270 [\\/$
]* | ?
:[\\/]*) ;;
3271 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3274 for ac_prog
in gawk mawk nawk
awk
3276 # Extract the first word of "$ac_prog", so it can be a program name with args.
3277 set dummy
$ac_prog; ac_word
=$2
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3279 $as_echo_n "checking for $ac_word... " >&6; }
3280 if test "${ac_cv_prog_AWK+set}" = set; then :
3281 $as_echo_n "(cached) " >&6
3283 if test -n "$AWK"; then
3284 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3290 test -z "$as_dir" && as_dir
=.
3291 for ac_exec_ext
in '' $ac_executable_extensions; do
3292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3293 ac_cv_prog_AWK
="$ac_prog"
3294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3304 if test -n "$AWK"; then
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3306 $as_echo "$AWK" >&6; }
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3309 $as_echo "no" >&6; }
3313 test -n "$AWK" && break
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3317 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3319 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3320 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3321 $as_echo_n "(cached) " >&6
3323 cat >conftest.
make <<\_ACEOF
3326 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3328 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3329 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3331 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3333 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3337 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3339 $as_echo "yes" >&6; }
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3343 $as_echo "no" >&6; }
3344 SET_MAKE
="MAKE=${MAKE-make}"
3347 rm -rf .tst
2>/dev
/null
3348 mkdir .tst
2>/dev
/null
3349 if test -d .tst
; then
3354 rmdir .tst
2>/dev
/null
3356 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3357 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3358 # is not polluted with repeated "-I."
3359 am__isrc
=' -I$(srcdir)'
3360 # test to see if srcdir already configured
3361 if test -f $srcdir/config.status
; then
3362 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3366 # test whether we have cygpath
3367 if test -z "$CYGPATH_W"; then
3368 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3369 CYGPATH_W
='cygpath -w'
3376 # Define the identity of the package.
3377 PACKAGE
='libgfortran'
3381 # Some tools Automake needs.
3383 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3386 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3389 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3392 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3395 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3397 # We need awk for the "check" target. The system "awk" is bad on
3399 # Always define AMTAR for backward compatibility. Yes, it's still used
3400 # in the wild :-( We should find a proper way to deprecate it ...
3403 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3412 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3413 # Check whether --enable-maintainer-mode was given.
3414 if test "${enable_maintainer_mode+set}" = set; then :
3415 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3417 USE_MAINTAINER_MODE
=no
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3421 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3422 if test $USE_MAINTAINER_MODE = yes; then
3423 MAINTAINER_MODE_TRUE
=
3424 MAINTAINER_MODE_FALSE
='#'
3426 MAINTAINER_MODE_TRUE
='#'
3427 MAINTAINER_MODE_FALSE
=
3430 MAINT
=$MAINTAINER_MODE_TRUE
3433 # Default to --enable-multilib
3434 # Check whether --enable-multilib was given.
3435 if test "${enable_multilib+set}" = set; then :
3436 enableval
=$enable_multilib; case "$enableval" in
3437 yes) multilib
=yes ;;
3439 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3446 # We may get other options which we leave undocumented:
3447 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3448 # See config-ml.in if you want the gory details.
3450 if test "$srcdir" = "."; then
3451 if test "$with_target_subdir" != "."; then
3452 multi_basedir
="$srcdir/$with_multisrctop../.."
3454 multi_basedir
="$srcdir/$with_multisrctop.."
3457 multi_basedir
="$srcdir/.."
3461 # Even if the default multilib is not a cross compilation,
3462 # it may be that some of the other multilibs are.
3463 if test $cross_compiling = no
&& test $multilib = yes \
3464 && test "x${with_multisubdir}" != x
; then
3465 cross_compiling
=maybe
3468 ac_config_commands
="$ac_config_commands default-1"
3471 # Handy for debugging:
3472 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3474 # Are we being configured with some form of cross compiler?
3475 # NB: We don't actually need to know this just now, but when, say, a test
3476 # suite is included, we'll have to know.
3477 if test "$build" != "$host"; then
3478 LIBGFOR_IS_NATIVE
=false
3481 LIBGFOR_IS_NATIVE
=true
3484 DEPDIR
="${am__leading_dot}deps"
3486 ac_config_commands
="$ac_config_commands depfiles"
3489 am_make
=${MAKE-make}
3490 cat > confinc
<< 'END'
3492 @
echo this is the am__doit target
3495 # If we don't find an include directive, just comment out the code.
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3497 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3501 # First try GNU make style include.
3502 echo "include confinc" > confmf
3503 # Ignore all kinds of additional output from `make'.
3504 case `$am_make -s -f confmf 2> /dev/null` in #(
3505 *the\ am__doit\ target
*)
3511 # Now try BSD make style include.
3512 if test "$am__include" = "#"; then
3513 echo '.include "confinc"' > confmf
3514 case `$am_make -s -f confmf 2> /dev/null` in #(
3515 *the\ am__doit\ target
*)
3516 am__include
=.include
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3525 $as_echo "$_am_result" >&6; }
3526 rm -f confinc confmf
3528 # Check whether --enable-dependency-tracking was given.
3529 if test "${enable_dependency_tracking+set}" = set; then :
3530 enableval
=$enable_dependency_tracking;
3533 if test "x$enable_dependency_tracking" != xno
; then
3534 am_depcomp
="$ac_aux_dir/depcomp"
3538 if test "x$enable_dependency_tracking" != xno; then
3548 ac_cpp
='$CPP $CPPFLAGS'
3549 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3550 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3551 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3552 if test -n "$ac_tool_prefix"; then
3553 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3554 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3556 $as_echo_n "checking for $ac_word... " >&6; }
3557 if test "${ac_cv_prog_CC+set}" = set; then :
3558 $as_echo_n "(cached) " >&6
3560 if test -n "$CC"; then
3561 ac_cv_prog_CC
="$CC" # Let the user override the test.
3563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3567 test -z "$as_dir" && as_dir
=.
3568 for ac_exec_ext
in '' $ac_executable_extensions; do
3569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3570 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3581 if test -n "$CC"; then
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3583 $as_echo "$CC" >&6; }
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3586 $as_echo "no" >&6; }
3591 if test -z "$ac_cv_prog_CC"; then
3593 # Extract the first word of "gcc", so it can be a program name with args.
3594 set dummy gcc
; ac_word
=$2
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3596 $as_echo_n "checking for $ac_word... " >&6; }
3597 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3598 $as_echo_n "(cached) " >&6
3600 if test -n "$ac_ct_CC"; then
3601 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3607 test -z "$as_dir" && as_dir
=.
3608 for ac_exec_ext
in '' $ac_executable_extensions; do
3609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3610 ac_cv_prog_ac_ct_CC
="gcc"
3611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3620 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3621 if test -n "$ac_ct_CC"; then
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3623 $as_echo "$ac_ct_CC" >&6; }
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3626 $as_echo "no" >&6; }
3629 if test "x$ac_ct_CC" = x
; then
3632 case $cross_compiling:$ac_tool_warned in
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3635 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3636 ac_tool_warned
=yes ;;
3644 if test -z "$CC"; then
3645 if test -n "$ac_tool_prefix"; then
3646 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3647 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3649 $as_echo_n "checking for $ac_word... " >&6; }
3650 if test "${ac_cv_prog_CC+set}" = set; then :
3651 $as_echo_n "(cached) " >&6
3653 if test -n "$CC"; then
3654 ac_cv_prog_CC
="$CC" # Let the user override the test.
3656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3660 test -z "$as_dir" && as_dir
=.
3661 for ac_exec_ext
in '' $ac_executable_extensions; do
3662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3663 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3674 if test -n "$CC"; then
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3676 $as_echo "$CC" >&6; }
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3679 $as_echo "no" >&6; }
3685 if test -z "$CC"; then
3686 # Extract the first word of "cc", so it can be a program name with args.
3687 set dummy cc
; ac_word
=$2
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3689 $as_echo_n "checking for $ac_word... " >&6; }
3690 if test "${ac_cv_prog_CC+set}" = set; then :
3691 $as_echo_n "(cached) " >&6
3693 if test -n "$CC"; then
3694 ac_cv_prog_CC
="$CC" # Let the user override the test.
3697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3701 test -z "$as_dir" && as_dir
=.
3702 for ac_exec_ext
in '' $ac_executable_extensions; do
3703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3704 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3705 ac_prog_rejected
=yes
3709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3716 if test $ac_prog_rejected = yes; then
3717 # We found a bogon in the path, so make sure we never use it.
3718 set dummy
$ac_cv_prog_CC
3720 if test $# != 0; then
3721 # We chose a different compiler from the bogus one.
3722 # However, it has the same basename, so the bogon will be chosen
3723 # first if we set CC to just the basename; use the full file name.
3725 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3731 if test -n "$CC"; then
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3733 $as_echo "$CC" >&6; }
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3736 $as_echo "no" >&6; }
3741 if test -z "$CC"; then
3742 if test -n "$ac_tool_prefix"; then
3743 for ac_prog
in cl.exe
3745 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3746 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3748 $as_echo_n "checking for $ac_word... " >&6; }
3749 if test "${ac_cv_prog_CC+set}" = set; then :
3750 $as_echo_n "(cached) " >&6
3752 if test -n "$CC"; then
3753 ac_cv_prog_CC
="$CC" # Let the user override the test.
3755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3759 test -z "$as_dir" && as_dir
=.
3760 for ac_exec_ext
in '' $ac_executable_extensions; do
3761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3762 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3773 if test -n "$CC"; then
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3775 $as_echo "$CC" >&6; }
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3778 $as_echo "no" >&6; }
3782 test -n "$CC" && break
3785 if test -z "$CC"; then
3787 for ac_prog
in cl.exe
3789 # Extract the first word of "$ac_prog", so it can be a program name with args.
3790 set dummy
$ac_prog; ac_word
=$2
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3792 $as_echo_n "checking for $ac_word... " >&6; }
3793 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3794 $as_echo_n "(cached) " >&6
3796 if test -n "$ac_ct_CC"; then
3797 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3803 test -z "$as_dir" && as_dir
=.
3804 for ac_exec_ext
in '' $ac_executable_extensions; do
3805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3806 ac_cv_prog_ac_ct_CC
="$ac_prog"
3807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3816 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3817 if test -n "$ac_ct_CC"; then
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3819 $as_echo "$ac_ct_CC" >&6; }
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3822 $as_echo "no" >&6; }
3826 test -n "$ac_ct_CC" && break
3829 if test "x$ac_ct_CC" = x
; then
3832 case $cross_compiling:$ac_tool_warned in
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3835 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3836 ac_tool_warned
=yes ;;
3845 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3846 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3847 as_fn_error
"no acceptable C compiler found in \$PATH
3848 See \`config.log' for more details." "$LINENO" 5; }
3850 # Provide some information about the compiler.
3851 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3854 for ac_option
in --version -v -V -qversion; do
3855 { { ac_try
="$ac_compiler $ac_option >&5"
3857 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3858 *) ac_try_echo=$ac_try;;
3860 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3861 $as_echo "$ac_try_echo"; } >&5
3862 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3864 if test -s conftest.err; then
3866 ... rest of stderr output deleted ...
3867 10q' conftest.err >conftest.er1
3868 cat conftest.er1 >&5
3869 rm -f conftest.er1 conftest.err
3871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3872 test $ac_status = 0; }
3875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3876 /* end confdefs.h. */
3887 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3888 (eval $ac_link) 2>&5
3890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3891 test $ac_status = 0; }; then :
3896 if test x$gcc_no_link = xyes; then
3897 # Setting cross_compile will disable run tests; it will
3898 # also disable AC_CHECK_FILE but that's generally
3899 # correct if we can't link.
3903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3904 /* end confdefs.h. */
3914 ac_clean_files_save=$ac_clean_files
3915 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3916 # Try to create an executable without -o first, disregard a.out.
3917 # It will help us diagnose broken compilers, and finding out an intuition
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3920 $as_echo_n "checking for C compiler default output file name... " >&6; }
3921 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3923 # The possible output files:
3924 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3927 for ac_file in $ac_files
3930 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3931 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3936 if { { ac_try="$ac_link_default"
3938 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3939 *) ac_try_echo
=$ac_try;;
3941 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3942 $as_echo "$ac_try_echo"; } >&5
3943 (eval "$ac_link_default") 2>&5
3945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3946 test $ac_status = 0; }; then :
3947 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3948 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3949 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3950 # so that the user can short-circuit this test for compilers unknown to
3952 for ac_file
in $ac_files ''
3954 test -f "$ac_file" ||
continue
3956 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3959 # We found the default executable, but exeext='' is most
3963 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3965 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3967 # We set ac_cv_exeext here because the later test for it is not
3968 # safe: cross compilers may not add the suffix if given an `-o'
3969 # argument, so we may need to know it at that point already.
3970 # Even if this section looks crufty: it has the advantage of
3977 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3983 $as_echo "$ac_file" >&6; }
3984 if test -z "$ac_file"; then :
3985 $as_echo "$as_me: failed program was:" >&5
3986 sed 's/^/| /' conftest.
$ac_ext >&5
3988 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3989 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3990 { as_fn_set_status
77
3991 as_fn_error
"C compiler cannot create executables
3992 See \`config.log' for more details." "$LINENO" 5; }; }
3994 ac_exeext
=$ac_cv_exeext
3996 # Check that the compiler produces executables we can run. If not, either
3997 # the compiler is broken, or we cross compile.
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3999 $as_echo_n "checking whether the C compiler works... " >&6; }
4000 # If not cross compiling, check that we can run a simple program.
4001 if test "$cross_compiling" != yes; then
4002 if { ac_try
='./$ac_file'
4003 { { case "(($ac_try" in
4004 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4005 *) ac_try_echo=$ac_try;;
4007 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4008 $as_echo "$ac_try_echo"; } >&5
4009 (eval "$ac_try") 2>&5
4011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4012 test $ac_status = 0; }; }; then
4015 if test "$cross_compiling" = maybe; then
4018 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4019 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4020 as_fn_error "cannot run C compiled programs.
4021 If you meant to cross compile
, use \
`--host'.
4022 See \`config.log
' for more details." "$LINENO" 5; }
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4027 $as_echo "yes" >&6; }
4029 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4030 ac_clean_files=$ac_clean_files_save
4031 # Check that the compiler produces executables we can run. If not, either
4032 # the compiler is broken, or we cross compile.
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4034 $as_echo_n "checking whether we are cross compiling... " >&6; }
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4036 $as_echo "$cross_compiling" >&6; }
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4039 $as_echo_n "checking for suffix of executables... " >&6; }
4040 if { { ac_try="$ac_link"
4042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4043 *) ac_try_echo=$ac_try;;
4045 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4046 $as_echo "$ac_try_echo"; } >&5
4047 (eval "$ac_link") 2>&5
4049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4050 test $ac_status = 0; }; then :
4051 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4052 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4053 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4055 for ac_file
in conftest.exe conftest conftest.
*; do
4056 test -f "$ac_file" ||
continue
4058 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4059 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4065 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4066 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4067 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4068 See \`config.log' for more details." "$LINENO" 5; }
4070 rm -f conftest
$ac_cv_exeext
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4072 $as_echo "$ac_cv_exeext" >&6; }
4074 rm -f conftest.
$ac_ext
4075 EXEEXT
=$ac_cv_exeext
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4079 $as_echo_n "checking for suffix of object files... " >&6; }
4080 if test "${ac_cv_objext+set}" = set; then :
4081 $as_echo_n "(cached) " >&6
4083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4084 /* end confdefs.h. */
4094 rm -f conftest.o conftest.obj
4095 if { { ac_try
="$ac_compile"
4097 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4098 *) ac_try_echo=$ac_try;;
4100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4101 $as_echo "$ac_try_echo"; } >&5
4102 (eval "$ac_compile") 2>&5
4104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4105 test $ac_status = 0; }; then :
4106 for ac_file in conftest.o conftest.obj conftest.*; do
4107 test -f "$ac_file" || continue;
4109 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4110 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4115 $as_echo "$as_me: failed program was:" >&5
4116 sed 's/^/| /' conftest.$ac_ext >&5
4118 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4119 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4120 as_fn_error "cannot compute suffix of object files
: cannot compile
4121 See \
`config.log' for more details." "$LINENO" 5; }
4123 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4126 $as_echo "$ac_cv_objext" >&6; }
4127 OBJEXT=$ac_cv_objext
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4130 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4131 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4132 $as_echo_n "(cached) " >&6
4134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4135 /* end confdefs.h. */
4148 if ac_fn_c_try_compile "$LINENO"; then :
4153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4154 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4158 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4159 if test $ac_compiler_gnu = yes; then
4164 ac_test_CFLAGS=${CFLAGS+set}
4165 ac_save_CFLAGS=$CFLAGS
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4167 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4168 if test "${ac_cv_prog_cc_g+set}" = set; then :
4169 $as_echo_n "(cached) " >&6
4171 ac_save_c_werror_flag=$ac_c_werror_flag
4172 ac_c_werror_flag=yes
4175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4176 /* end confdefs.h. */
4186 if ac_fn_c_try_compile "$LINENO"; then :
4190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4191 /* end confdefs.h. */
4201 if ac_fn_c_try_compile "$LINENO"; then :
4204 ac_c_werror_flag=$ac_save_c_werror_flag
4206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4207 /* end confdefs.h. */
4217 if ac_fn_c_try_compile "$LINENO"; then :
4220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4225 ac_c_werror_flag=$ac_save_c_werror_flag
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4228 $as_echo "$ac_cv_prog_cc_g" >&6; }
4229 if test "$ac_test_CFLAGS" = set; then
4230 CFLAGS=$ac_save_CFLAGS
4231 elif test $ac_cv_prog_cc_g = yes; then
4232 if test "$GCC" = yes; then
4238 if test "$GCC" = yes; then
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4245 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4246 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4247 $as_echo_n "(cached) " >&6
4249 ac_cv_prog_cc_c89=no
4251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4252 /* end confdefs.h. */
4255 #include <sys/types.h>
4256 #include <sys/stat.h>
4257 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4258 struct buf { int x; };
4259 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4260 static char *e (p, i)
4266 static char *f (char * (*g) (char **, int), char **p, ...)
4271 s = g (p, va_arg (v,int));
4276 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4277 function prototypes and stuff, but not '\xHH' hex character constants.
4278 These don't provoke an error unfortunately, instead are silently treated
4279 as 'x'. The following induces an error, until -std is added to get
4280 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4281 array size at least. It's necessary to write '\x00'==0 to get something
4282 that's true only with -std. */
4283 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4285 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4286 inside strings and character constants. */
4288 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4290 int test (int i, double x);
4291 struct s1 {int (*f) (int a);};
4292 struct s2 {int (*f) (double a);};
4293 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4299 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4304 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4305 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4307 CC="$ac_save_CC $ac_arg"
4308 if ac_fn_c_try_compile "$LINENO"; then :
4309 ac_cv_prog_cc_c89=$ac_arg
4311 rm -f core conftest.err conftest.$ac_objext
4312 test "x$ac_cv_prog_cc_c89" != "xno" && break
4314 rm -f conftest.$ac_ext
4319 case "x$ac_cv_prog_cc_c89" in
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4322 $as_echo "none needed" >&6; } ;;
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4325 $as_echo "unsupported" >&6; } ;;
4327 CC="$CC $ac_cv_prog_cc_c89"
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4329 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4331 if test "x$ac_cv_prog_cc_c89" != xno; then :
4336 ac_cpp='$CPP $CPPFLAGS'
4337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4341 depcc="$CC" am_compiler_list=
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4344 $as_echo_n "checking dependency style of $depcc... " >&6; }
4345 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4346 $as_echo_n "(cached) " >&6
4348 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4349 # We make a subdir and do the tests there. Otherwise we can end up
4350 # making bogus files that we don't know about and never remove. For
4351 # instance it was reported that on HP-UX the gcc test will end up
4352 # making a dummy file named `D
' -- because `-MD' means
`put the output
4356 # Copy depcomp to subdir because otherwise we won't find it if we're
4357 # using a relative directory.
4358 cp "$am_depcomp" conftest.dir
4360 # We will build objects and dependencies in a subdirectory because
4361 # it helps to detect inapplicable dependency modes. For instance
4362 # both Tru64's cc and ICC support -MD to output dependencies as a
4363 # side effect of compilation, but ICC will put the dependencies in
4364 # the current directory while Tru64 will put them in the object
4368 am_cv_CC_dependencies_compiler_type=none
4369 if test "$am_compiler_list" = ""; then
4370 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4373 case " $depcc " in #(
4374 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4377 for depmode in $am_compiler_list; do
4378 # Setup a source with many dependencies, because some compilers
4379 # like to wrap large dependency lists on column 80 (with \), and
4380 # we should not choose a depcomp mode which is confused by this.
4382 # We need to recreate these files for each test, as the compiler may
4383 # overwrite some of them when testing with obscure command lines.
4384 # This happens at least with the AIX C compiler.
4386 for i in 1 2 3 4 5 6; do
4387 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4388 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4389 # Solaris 8's
{/usr
,}/bin
/sh.
4390 touch sub
/conftst
$i.h
4392 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4394 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4395 # mode. It turns out that the SunPro C++ compiler does not properly
4396 # handle `-M -o', and we need to detect this. Also, some Intel
4397 # versions had trouble with output in subdirs
4398 am__obj
=sub
/conftest.
${OBJEXT-o}
4399 am__minus_obj
="-o $am__obj"
4402 # This depmode causes a compiler race in universal mode.
4403 test "$am__universal" = false ||
continue
4406 # after this tag, mechanisms are not by side-effect, so they'll
4407 # only be used when explicitly requested
4408 if test "x$enable_dependency_tracking" = xyes
; then
4414 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4415 # This compiler won't grok `-c -o', but also, the minuso test has
4416 # not run yet. These depmodes are late enough in the game, and
4417 # so weak that their functioning should not be impacted.
4418 am__obj
=conftest.
${OBJEXT-o}
4423 if depmode
=$depmode \
4424 source=sub
/conftest.c object
=$am__obj \
4425 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4426 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4427 >/dev
/null
2>conftest.err
&&
4428 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4429 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4430 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4431 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4432 # icc doesn't choke on unknown options, it will just issue warnings
4433 # or remarks (even with -Werror). So we grep stderr for any message
4434 # that says an option was ignored or not supported.
4435 # When given -MP, icc 7.0 and 7.1 complain thusly:
4436 # icc: Command line warning: ignoring option '-M'; no argument required
4437 # The diagnosis changed in icc 8.0:
4438 # icc: Command line remark: option '-MP' not supported
4439 if (grep 'ignoring option' conftest.err ||
4440 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4441 am_cv_CC_dependencies_compiler_type
=$depmode
4450 am_cv_CC_dependencies_compiler_type
=none
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4455 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4456 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4459 test "x$enable_dependency_tracking" != xno \
4460 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4462 am__fastdepCC_FALSE
='#'
4464 am__fastdepCC_TRUE
='#'
4465 am__fastdepCC_FALSE
=
4471 ac_cpp
='$CPP $CPPFLAGS'
4472 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4473 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4474 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4476 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4477 # On Suns, sometimes $CPP names a directory.
4478 if test -n "$CPP" && test -d "$CPP"; then
4481 if test -z "$CPP"; then
4482 if test "${ac_cv_prog_CPP+set}" = set; then :
4483 $as_echo_n "(cached) " >&6
4485 # Double quotes because CPP needs to be expanded
4486 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4489 for ac_c_preproc_warn_flag
in '' yes
4491 # Use a header file that comes with gcc, so configuring glibc
4492 # with a fresh cross-compiler works.
4493 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4494 # <limits.h> exists even on freestanding compilers.
4495 # On the NeXT, cc -E runs the code through the compiler's parser,
4496 # not just through cpp. "Syntax error" is here to catch this case.
4497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4498 /* end confdefs.h. */
4500 # include <limits.h>
4502 # include <assert.h>
4506 if ac_fn_c_try_cpp
"$LINENO"; then :
4509 # Broken: fails on valid input.
4512 rm -f conftest.err conftest.
$ac_ext
4514 # OK, works on sane cases. Now check whether nonexistent headers
4515 # can be detected and how.
4516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4517 /* end confdefs.h. */
4518 #include <ac_nonexistent.h>
4520 if ac_fn_c_try_cpp
"$LINENO"; then :
4521 # Broken: success on invalid input.
4524 # Passes both tests.
4528 rm -f conftest.err conftest.
$ac_ext
4531 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4532 rm -f conftest.err conftest.
$ac_ext
4533 if $ac_preproc_ok; then :
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4546 $as_echo "$CPP" >&6; }
4548 for ac_c_preproc_warn_flag
in '' yes
4550 # Use a header file that comes with gcc, so configuring glibc
4551 # with a fresh cross-compiler works.
4552 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4553 # <limits.h> exists even on freestanding compilers.
4554 # On the NeXT, cc -E runs the code through the compiler's parser,
4555 # not just through cpp. "Syntax error" is here to catch this case.
4556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4557 /* end confdefs.h. */
4559 # include <limits.h>
4561 # include <assert.h>
4565 if ac_fn_c_try_cpp
"$LINENO"; then :
4568 # Broken: fails on valid input.
4571 rm -f conftest.err conftest.
$ac_ext
4573 # OK, works on sane cases. Now check whether nonexistent headers
4574 # can be detected and how.
4575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4576 /* end confdefs.h. */
4577 #include <ac_nonexistent.h>
4579 if ac_fn_c_try_cpp
"$LINENO"; then :
4580 # Broken: success on invalid input.
4583 # Passes both tests.
4587 rm -f conftest.err conftest.
$ac_ext
4590 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4591 rm -f conftest.err conftest.
$ac_ext
4592 if $ac_preproc_ok; then :
4595 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4597 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4598 See \`config.log' for more details." "$LINENO" 5; }
4602 ac_cpp
='$CPP $CPPFLAGS'
4603 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4604 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4605 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4609 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4610 if test "${ac_cv_path_GREP+set}" = set; then :
4611 $as_echo_n "(cached) " >&6
4613 if test -z "$GREP"; then
4614 ac_path_GREP_found
=false
4615 # Loop through the user's path and test for each of PROGNAME-LIST
4616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4617 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4620 test -z "$as_dir" && as_dir
=.
4621 for ac_prog
in grep ggrep
; do
4622 for ac_exec_ext
in '' $ac_executable_extensions; do
4623 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4624 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4625 # Check for GNU ac_path_GREP and select it if it is found.
4626 # Check for GNU $ac_path_GREP
4627 case `"$ac_path_GREP" --version 2>&1` in
4629 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4632 $as_echo_n 0123456789 >"conftest.in"
4635 cat "conftest.in" "conftest.in" >"conftest.tmp"
4636 mv "conftest.tmp" "conftest.in"
4637 cp "conftest.in" "conftest.nl"
4638 $as_echo 'GREP' >> "conftest.nl"
4639 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4640 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4641 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4642 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4643 # Best one so far, save it but keep looking for a better one
4644 ac_cv_path_GREP
="$ac_path_GREP"
4645 ac_path_GREP_max
=$ac_count
4647 # 10*(2^10) chars as input seems more than enough
4648 test $ac_count -gt 10 && break
4650 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4653 $ac_path_GREP_found && break 3
4658 if test -z "$ac_cv_path_GREP"; then
4659 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4662 ac_cv_path_GREP
=$GREP
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4667 $as_echo "$ac_cv_path_GREP" >&6; }
4668 GREP
="$ac_cv_path_GREP"
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4672 $as_echo_n "checking for egrep... " >&6; }
4673 if test "${ac_cv_path_EGREP+set}" = set; then :
4674 $as_echo_n "(cached) " >&6
4676 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4677 then ac_cv_path_EGREP
="$GREP -E"
4679 if test -z "$EGREP"; then
4680 ac_path_EGREP_found
=false
4681 # Loop through the user's path and test for each of PROGNAME-LIST
4682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4683 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4686 test -z "$as_dir" && as_dir
=.
4687 for ac_prog
in egrep; do
4688 for ac_exec_ext
in '' $ac_executable_extensions; do
4689 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4690 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4691 # Check for GNU ac_path_EGREP and select it if it is found.
4692 # Check for GNU $ac_path_EGREP
4693 case `"$ac_path_EGREP" --version 2>&1` in
4695 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4698 $as_echo_n 0123456789 >"conftest.in"
4701 cat "conftest.in" "conftest.in" >"conftest.tmp"
4702 mv "conftest.tmp" "conftest.in"
4703 cp "conftest.in" "conftest.nl"
4704 $as_echo 'EGREP' >> "conftest.nl"
4705 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4706 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4707 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4708 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4709 # Best one so far, save it but keep looking for a better one
4710 ac_cv_path_EGREP
="$ac_path_EGREP"
4711 ac_path_EGREP_max
=$ac_count
4713 # 10*(2^10) chars as input seems more than enough
4714 test $ac_count -gt 10 && break
4716 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4719 $ac_path_EGREP_found && break 3
4724 if test -z "$ac_cv_path_EGREP"; then
4725 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4728 ac_cv_path_EGREP
=$EGREP
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4734 $as_echo "$ac_cv_path_EGREP" >&6; }
4735 EGREP
="$ac_cv_path_EGREP"
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4739 $as_echo_n "checking for ANSI C header files... " >&6; }
4740 if test "${ac_cv_header_stdc+set}" = set; then :
4741 $as_echo_n "(cached) " >&6
4743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4744 /* end confdefs.h. */
4758 if ac_fn_c_try_compile
"$LINENO"; then :
4759 ac_cv_header_stdc
=yes
4761 ac_cv_header_stdc
=no
4763 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4765 if test $ac_cv_header_stdc = yes; then
4766 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4768 /* end confdefs.h. */
4772 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4773 $EGREP "memchr" >/dev
/null
2>&1; then :
4776 ac_cv_header_stdc
=no
4782 if test $ac_cv_header_stdc = yes; then
4783 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4785 /* end confdefs.h. */
4789 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4790 $EGREP "free" >/dev
/null
2>&1; then :
4793 ac_cv_header_stdc
=no
4799 if test $ac_cv_header_stdc = yes; then
4800 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4801 if test "$cross_compiling" = yes; then :
4804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4805 /* end confdefs.h. */
4808 #if ((' ' & 0x0FF) == 0x020)
4809 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4810 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4812 # define ISLOWER(c) \
4813 (('a' <= (c) && (c) <= 'i') \
4814 || ('j' <= (c) && (c) <= 'r') \
4815 || ('s' <= (c) && (c) <= 'z'))
4816 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4819 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4824 for (i = 0; i < 256; i++)
4825 if (XOR (islower (i), ISLOWER (i))
4826 || toupper (i) != TOUPPER (i))
4831 if ac_fn_c_try_run
"$LINENO"; then :
4834 ac_cv_header_stdc
=no
4836 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4837 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4843 $as_echo "$ac_cv_header_stdc" >&6; }
4844 if test $ac_cv_header_stdc = yes; then
4846 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4850 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4851 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4852 inttypes.h stdint.h unistd.h
4854 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4855 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4857 eval as_val
=\$
$as_ac_Header
4858 if test "x$as_val" = x
""yes; then :
4859 cat >>confdefs.h
<<_ACEOF
4860 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4869 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4870 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4877 if test "$MINIX" = yes; then
4879 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4882 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4885 $as_echo "#define _MINIX 1" >>confdefs.h
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4891 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4892 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4893 $as_echo_n "(cached) " >&6
4895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4896 /* end confdefs.h. */
4898 # define __EXTENSIONS__ 1
4899 $ac_includes_default
4908 if ac_fn_c_try_compile
"$LINENO"; then :
4909 ac_cv_safe_to_define___extensions__
=yes
4911 ac_cv_safe_to_define___extensions__
=no
4913 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4916 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4917 test $ac_cv_safe_to_define___extensions__ = yes &&
4918 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4920 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4922 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4924 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4926 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4930 # Calculate toolexeclibdir
4931 # Also toolexecdir, though it's only used in toolexeclibdir
4932 case ${version_specific_libs} in
4934 # Need the gcc compiler version to know where to install libraries
4935 # and header files if --enable-version-specific-runtime-libs option
4937 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4938 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4941 if test -n "$with_cross_host" &&
4942 test x
"$with_cross_host" != x
"no"; then
4943 # Install a library built with a cross compiler in tooldir, not libdir.
4944 toolexecdir
='$(exec_prefix)/$(target_alias)'
4945 toolexeclibdir
='$(toolexecdir)/lib'
4947 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4948 toolexeclibdir
='$(libdir)'
4950 multi_os_directory
=`$CC -print-multi-os-directory`
4951 case $multi_os_directory in
4952 .
) ;; # Avoid trailing /.
4953 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4960 # Create a spec file, so that compile/link tests don't fail
4961 test -f libgfortran.spec ||
touch libgfortran.spec
4964 ac_cpp
='$CPP $CPPFLAGS'
4965 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4966 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4967 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4969 # Check the compiler.
4970 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
4971 # We must force CC to /not/ be precious variables; otherwise
4972 # the wrong, non-multilib-adjusted value will be used in multilibs.
4973 # As a side effect, we have to subst CFLAGS ourselves.
4978 ac_cpp
='$CPP $CPPFLAGS'
4979 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4980 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4981 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4982 if test -n "$ac_tool_prefix"; then
4983 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4984 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4986 $as_echo_n "checking for $ac_word... " >&6; }
4987 if test "${ac_cv_prog_CC+set}" = set; then :
4988 $as_echo_n "(cached) " >&6
4990 if test -n "$CC"; then
4991 ac_cv_prog_CC
="$CC" # Let the user override the test.
4993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4997 test -z "$as_dir" && as_dir
=.
4998 for ac_exec_ext
in '' $ac_executable_extensions; do
4999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5000 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5011 if test -n "$CC"; then
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5013 $as_echo "$CC" >&6; }
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 $as_echo "no" >&6; }
5021 if test -z "$ac_cv_prog_CC"; then
5023 # Extract the first word of "gcc", so it can be a program name with args.
5024 set dummy gcc
; ac_word
=$2
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5026 $as_echo_n "checking for $ac_word... " >&6; }
5027 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5028 $as_echo_n "(cached) " >&6
5030 if test -n "$ac_ct_CC"; then
5031 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5037 test -z "$as_dir" && as_dir
=.
5038 for ac_exec_ext
in '' $ac_executable_extensions; do
5039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5040 ac_cv_prog_ac_ct_CC
="gcc"
5041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5050 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5051 if test -n "$ac_ct_CC"; then
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5053 $as_echo "$ac_ct_CC" >&6; }
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5056 $as_echo "no" >&6; }
5059 if test "x$ac_ct_CC" = x
; then
5062 case $cross_compiling:$ac_tool_warned in
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5066 ac_tool_warned
=yes ;;
5074 if test -z "$CC"; then
5075 if test -n "$ac_tool_prefix"; then
5076 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5077 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5079 $as_echo_n "checking for $ac_word... " >&6; }
5080 if test "${ac_cv_prog_CC+set}" = set; then :
5081 $as_echo_n "(cached) " >&6
5083 if test -n "$CC"; then
5084 ac_cv_prog_CC
="$CC" # Let the user override the test.
5086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5090 test -z "$as_dir" && as_dir
=.
5091 for ac_exec_ext
in '' $ac_executable_extensions; do
5092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5093 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5104 if test -n "$CC"; then
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5106 $as_echo "$CC" >&6; }
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5109 $as_echo "no" >&6; }
5115 if test -z "$CC"; then
5116 # Extract the first word of "cc", so it can be a program name with args.
5117 set dummy cc
; ac_word
=$2
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5119 $as_echo_n "checking for $ac_word... " >&6; }
5120 if test "${ac_cv_prog_CC+set}" = set; then :
5121 $as_echo_n "(cached) " >&6
5123 if test -n "$CC"; then
5124 ac_cv_prog_CC
="$CC" # Let the user override the test.
5127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5131 test -z "$as_dir" && as_dir
=.
5132 for ac_exec_ext
in '' $ac_executable_extensions; do
5133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5134 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5135 ac_prog_rejected
=yes
5139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5146 if test $ac_prog_rejected = yes; then
5147 # We found a bogon in the path, so make sure we never use it.
5148 set dummy
$ac_cv_prog_CC
5150 if test $# != 0; then
5151 # We chose a different compiler from the bogus one.
5152 # However, it has the same basename, so the bogon will be chosen
5153 # first if we set CC to just the basename; use the full file name.
5155 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5161 if test -n "$CC"; then
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5163 $as_echo "$CC" >&6; }
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5166 $as_echo "no" >&6; }
5171 if test -z "$CC"; then
5172 if test -n "$ac_tool_prefix"; then
5173 for ac_prog
in cl.exe
5175 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5176 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5178 $as_echo_n "checking for $ac_word... " >&6; }
5179 if test "${ac_cv_prog_CC+set}" = set; then :
5180 $as_echo_n "(cached) " >&6
5182 if test -n "$CC"; then
5183 ac_cv_prog_CC
="$CC" # Let the user override the test.
5185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5189 test -z "$as_dir" && as_dir
=.
5190 for ac_exec_ext
in '' $ac_executable_extensions; do
5191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5192 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5203 if test -n "$CC"; then
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5205 $as_echo "$CC" >&6; }
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5208 $as_echo "no" >&6; }
5212 test -n "$CC" && break
5215 if test -z "$CC"; then
5217 for ac_prog
in cl.exe
5219 # Extract the first word of "$ac_prog", so it can be a program name with args.
5220 set dummy
$ac_prog; ac_word
=$2
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5222 $as_echo_n "checking for $ac_word... " >&6; }
5223 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5224 $as_echo_n "(cached) " >&6
5226 if test -n "$ac_ct_CC"; then
5227 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5233 test -z "$as_dir" && as_dir
=.
5234 for ac_exec_ext
in '' $ac_executable_extensions; do
5235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5236 ac_cv_prog_ac_ct_CC
="$ac_prog"
5237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5246 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5247 if test -n "$ac_ct_CC"; then
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5249 $as_echo "$ac_ct_CC" >&6; }
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5252 $as_echo "no" >&6; }
5256 test -n "$ac_ct_CC" && break
5259 if test "x$ac_ct_CC" = x
; then
5262 case $cross_compiling:$ac_tool_warned in
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5265 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5266 ac_tool_warned
=yes ;;
5275 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5276 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5277 as_fn_error
"no acceptable C compiler found in \$PATH
5278 See \`config.log' for more details." "$LINENO" 5; }
5280 # Provide some information about the compiler.
5281 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5284 for ac_option
in --version -v -V -qversion; do
5285 { { ac_try
="$ac_compiler $ac_option >&5"
5287 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5288 *) ac_try_echo=$ac_try;;
5290 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5291 $as_echo "$ac_try_echo"; } >&5
5292 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5294 if test -s conftest.err; then
5296 ... rest of stderr output deleted ...
5297 10q' conftest.err >conftest.er1
5298 cat conftest.er1 >&5
5299 rm -f conftest.er1 conftest.err
5301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5302 test $ac_status = 0; }
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5306 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5307 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5308 $as_echo_n "(cached) " >&6
5310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5311 /* end confdefs.h. */
5324 if ac_fn_c_try_compile "$LINENO"; then :
5329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5330 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5334 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5335 if test $ac_compiler_gnu = yes; then
5340 ac_test_CFLAGS=${CFLAGS+set}
5341 ac_save_CFLAGS=$CFLAGS
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5343 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5344 if test "${ac_cv_prog_cc_g+set}" = set; then :
5345 $as_echo_n "(cached) " >&6
5347 ac_save_c_werror_flag=$ac_c_werror_flag
5348 ac_c_werror_flag=yes
5351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5352 /* end confdefs.h. */
5362 if ac_fn_c_try_compile "$LINENO"; then :
5366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5367 /* end confdefs.h. */
5377 if ac_fn_c_try_compile "$LINENO"; then :
5380 ac_c_werror_flag=$ac_save_c_werror_flag
5382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5383 /* end confdefs.h. */
5393 if ac_fn_c_try_compile "$LINENO"; then :
5396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5401 ac_c_werror_flag=$ac_save_c_werror_flag
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5404 $as_echo "$ac_cv_prog_cc_g" >&6; }
5405 if test "$ac_test_CFLAGS" = set; then
5406 CFLAGS=$ac_save_CFLAGS
5407 elif test $ac_cv_prog_cc_g = yes; then
5408 if test "$GCC" = yes; then
5414 if test "$GCC" = yes; then
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5421 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5422 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5423 $as_echo_n "(cached) " >&6
5425 ac_cv_prog_cc_c89=no
5427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5428 /* end confdefs.h. */
5431 #include <sys/types.h>
5432 #include <sys/stat.h>
5433 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5434 struct buf { int x; };
5435 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5436 static char *e (p, i)
5442 static char *f (char * (*g) (char **, int), char **p, ...)
5447 s = g (p, va_arg (v,int));
5452 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5453 function prototypes and stuff, but not '\xHH' hex character constants.
5454 These don't provoke an error unfortunately, instead are silently treated
5455 as 'x'. The following induces an error, until -std is added to get
5456 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5457 array size at least. It's necessary to write '\x00'==0 to get something
5458 that's true only with -std. */
5459 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5461 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5462 inside strings and character constants. */
5464 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5466 int test (int i, double x);
5467 struct s1 {int (*f) (int a);};
5468 struct s2 {int (*f) (double a);};
5469 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5475 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5480 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5481 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5483 CC="$ac_save_CC $ac_arg"
5484 if ac_fn_c_try_compile "$LINENO"; then :
5485 ac_cv_prog_cc_c89=$ac_arg
5487 rm -f core conftest.err conftest.$ac_objext
5488 test "x$ac_cv_prog_cc_c89" != "xno" && break
5490 rm -f conftest.$ac_ext
5495 case "x$ac_cv_prog_cc_c89" in
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5498 $as_echo "none needed" >&6; } ;;
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5501 $as_echo "unsupported" >&6; } ;;
5503 CC="$CC $ac_cv_prog_cc_c89"
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5505 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5507 if test "x$ac_cv_prog_cc_c89" != xno; then :
5512 ac_cpp='$CPP $CPPFLAGS'
5513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5517 depcc="$CC" am_compiler_list=
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5520 $as_echo_n "checking dependency style of $depcc... " >&6; }
5521 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5522 $as_echo_n "(cached) " >&6
5524 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5525 # We make a subdir and do the tests there. Otherwise we can end up
5526 # making bogus files that we don't know about and never remove. For
5527 # instance it was reported that on HP-UX the gcc test will end up
5528 # making a dummy file named `D
' -- because `-MD' means
`put the output
5532 # Copy depcomp to subdir because otherwise we won't find it if we're
5533 # using a relative directory.
5534 cp "$am_depcomp" conftest.dir
5536 # We will build objects and dependencies in a subdirectory because
5537 # it helps to detect inapplicable dependency modes. For instance
5538 # both Tru64's cc and ICC support -MD to output dependencies as a
5539 # side effect of compilation, but ICC will put the dependencies in
5540 # the current directory while Tru64 will put them in the object
5544 am_cv_CC_dependencies_compiler_type=none
5545 if test "$am_compiler_list" = ""; then
5546 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5549 case " $depcc " in #(
5550 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5553 for depmode in $am_compiler_list; do
5554 # Setup a source with many dependencies, because some compilers
5555 # like to wrap large dependency lists on column 80 (with \), and
5556 # we should not choose a depcomp mode which is confused by this.
5558 # We need to recreate these files for each test, as the compiler may
5559 # overwrite some of them when testing with obscure command lines.
5560 # This happens at least with the AIX C compiler.
5562 for i in 1 2 3 4 5 6; do
5563 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5564 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5565 # Solaris 8's
{/usr
,}/bin
/sh.
5566 touch sub
/conftst
$i.h
5568 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5570 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5571 # mode. It turns out that the SunPro C++ compiler does not properly
5572 # handle `-M -o', and we need to detect this. Also, some Intel
5573 # versions had trouble with output in subdirs
5574 am__obj
=sub
/conftest.
${OBJEXT-o}
5575 am__minus_obj
="-o $am__obj"
5578 # This depmode causes a compiler race in universal mode.
5579 test "$am__universal" = false ||
continue
5582 # after this tag, mechanisms are not by side-effect, so they'll
5583 # only be used when explicitly requested
5584 if test "x$enable_dependency_tracking" = xyes
; then
5590 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5591 # This compiler won't grok `-c -o', but also, the minuso test has
5592 # not run yet. These depmodes are late enough in the game, and
5593 # so weak that their functioning should not be impacted.
5594 am__obj
=conftest.
${OBJEXT-o}
5599 if depmode
=$depmode \
5600 source=sub
/conftest.c object
=$am__obj \
5601 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5602 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5603 >/dev
/null
2>conftest.err
&&
5604 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5605 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5606 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5607 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5608 # icc doesn't choke on unknown options, it will just issue warnings
5609 # or remarks (even with -Werror). So we grep stderr for any message
5610 # that says an option was ignored or not supported.
5611 # When given -MP, icc 7.0 and 7.1 complain thusly:
5612 # icc: Command line warning: ignoring option '-M'; no argument required
5613 # The diagnosis changed in icc 8.0:
5614 # icc: Command line remark: option '-MP' not supported
5615 if (grep 'ignoring option' conftest.err ||
5616 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5617 am_cv_CC_dependencies_compiler_type
=$depmode
5626 am_cv_CC_dependencies_compiler_type
=none
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5631 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5632 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5635 test "x$enable_dependency_tracking" != xno \
5636 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5638 am__fastdepCC_FALSE
='#'
5640 am__fastdepCC_TRUE
='#'
5641 am__fastdepCC_FALSE
=
5649 if test "x$CC" != xcc
; then
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5651 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5654 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5656 set dummy
$CC; ac_cc
=`$as_echo "$2" |
5657 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5658 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5659 $as_echo_n "(cached) " >&6
5661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5662 /* end confdefs.h. */
5672 # Make sure it works both with $CC and with simple cc.
5673 # We do the test twice because some compilers refuse to overwrite an
5674 # existing .o file with -o, though they will create one.
5675 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5677 if { { case "(($ac_try" in
5678 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5679 *) ac_try_echo=$ac_try;;
5681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5682 $as_echo "$ac_try_echo"; } >&5
5683 (eval "$ac_try") 2>&5
5685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5686 test $ac_status = 0; } &&
5687 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5688 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5689 *) ac_try_echo
=$ac_try;;
5691 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5692 $as_echo "$ac_try_echo"; } >&5
5693 (eval "$ac_try") 2>&5
5695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5696 test $ac_status = 0; };
5698 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
5699 if test "x$CC" != xcc
; then
5700 # Test first that cc exists at all.
5701 if { ac_try
='cc -c conftest.$ac_ext >&5'
5702 { { case "(($ac_try" in
5703 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5704 *) ac_try_echo=$ac_try;;
5706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5707 $as_echo "$ac_try_echo"; } >&5
5708 (eval "$ac_try") 2>&5
5710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5711 test $ac_status = 0; }; }; then
5712 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5714 if { { case "(($ac_try" in
5715 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5716 *) ac_try_echo
=$ac_try;;
5718 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5719 $as_echo "$ac_try_echo"; } >&5
5720 (eval "$ac_try") 2>&5
5722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5723 test $ac_status = 0; } &&
5724 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
5725 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5726 *) ac_try_echo=$ac_try;;
5728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5729 $as_echo "$ac_try_echo"; } >&5
5730 (eval "$ac_try") 2>&5
5732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5733 test $ac_status = 0; };
5738 # cc exists but doesn't like -o.
5739 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5744 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5746 rm -f core conftest*
5749 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5751 $as_echo "yes" >&6; }
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5754 $as_echo "no" >&6; }
5756 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5760 # FIXME: we rely on the cache variable name because
5761 # there is no other way.
5763 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5764 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5765 if test "$am_t" != yes; then
5766 # Losing compiler, so override with the script.
5767 # FIXME: It is wrong to rewrite CC.
5768 # But if we don't then we get into trouble of one sort or another.
5769 # A longer-term fix would be to have automake use am__CC in this case,
5770 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5771 CC="$am_aux_dir/compile $CC"
5776 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5777 if test "x$GCC" = "xyes"; then
5778 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5779 ## We like to use C11 and C99 routines when available. This makes
5781 ## __STDC_VERSION__ is set such that libc includes make them available.
5782 AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla"
5783 ## Compile the following tests with the same system header contents
5784 ## that we'll encounter when compiling our own source files.
5785 CFLAGS="-std=gnu11 $CFLAGS"
5791 # Check for symbol versioning (copied from libssp).
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5793 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5794 # Check whether --enable-symvers was given.
5795 if test "${enable_symvers+set}" = set; then :
5796 enableval=$enable_symvers; gfortran_use_symver=$enableval
5798 gfortran_use_symver=yes
5801 if test "x$gfortran_use_symver" != xno; then
5802 save_LDFLAGS="$LDFLAGS"
5803 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5804 cat > conftest.map <<EOF
5806 global: *foo*; bar; local: *;
5809 if test x$gcc_no_link = xyes; then
5810 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5813 /* end confdefs.h. */
5823 if ac_fn_c_try_link "$LINENO"; then :
5824 gfortran_use_symver=gnu
5826 gfortran_use_symver=no
5828 rm -f core conftest.err conftest.$ac_objext \
5829 conftest$ac_exeext conftest.$ac_ext
5830 if test x$gfortran_use_symver = xno; then
5831 case "$target_os" in
5833 LDFLAGS="$save_LDFLAGS"
5834 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5835 # Sun ld cannot handle wildcards and treats all entries as undefined.
5836 cat > conftest.map <<EOF
5838 global: foo; local: *;
5841 if test x$gcc_no_link = xyes; then
5842 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5845 /* end confdefs.h. */
5855 if ac_fn_c_try_link "$LINENO"; then :
5856 gfortran_use_symver=sun
5858 gfortran_use_symver=no
5860 rm -f core conftest.err conftest.$ac_objext \
5861 conftest$ac_exeext conftest.$ac_ext
5865 LDFLAGS="$save_LDFLAGS"
5867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
5868 $as_echo "$gfortran_use_symver" >&6; }
5869 if test "x$gfortran_use_symver" != xno; then
5870 LIBGFOR_USE_SYMVER_TRUE=
5871 LIBGFOR_USE_SYMVER_FALSE='#'
5873 LIBGFOR_USE_SYMVER_TRUE='#'
5874 LIBGFOR_USE_SYMVER_FALSE=
5877 if test "x$gfortran_use_symver" = xgnu; then
5878 LIBGFOR_USE_SYMVER_GNU_TRUE=
5879 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
5881 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
5882 LIBGFOR_USE_SYMVER_GNU_FALSE=
5885 if test "x$gfortran_use_symver" = xsun; then
5886 LIBGFOR_USE_SYMVER_SUN_TRUE=
5887 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
5889 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
5890 LIBGFOR_USE_SYMVER_SUN_FALSE=
5894 # For GPU offloading, not everything in libfortran can be supported.
5895 # Currently, the only target that has this problem is nvptx. The
5896 # following is a (partial) list of features that are unsupportable on
5897 # this particular target:
5900 # * C library support for I/O, with printf as the one notable exception
5901 # * C library support for other features such as signal, environment
5902 # variables, time functions
5904 if test "x${target_cpu}" = xnvptx; then
5905 LIBGFOR_MINIMAL_TRUE=
5906 LIBGFOR_MINIMAL_FALSE='#'
5908 LIBGFOR_MINIMAL_TRUE='#'
5909 LIBGFOR_MINIMAL_FALSE=
5913 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5914 # similarly to how libstdc++ does it
5915 ac_test_CFLAGS="${CFLAGS+set}"
5916 ac_save_CFLAGS="$CFLAGS"
5918 # Check for -ffunction-sections -fdata-sections
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5920 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
5921 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5923 /* end confdefs.h. */
5933 if ac_fn_c_try_compile "$LINENO"; then :
5938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5939 if test "$ac_test_CFLAGS" = set; then
5940 CFLAGS="$ac_save_CFLAGS"
5942 # this is the suspicious part
5945 if test x"$ac_fdsections" = x"yes"; then
5946 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
5949 $as_echo "$ac_fdsections" >&6; }
5952 # Check linker hardware capability support.
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5954 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5955 if test "${ac_cv_path_SED+set}" = set; then :
5956 $as_echo_n "(cached) " >&6
5958 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5959 for ac_i in 1 2 3 4 5 6 7; do
5960 ac_script="$ac_script$as_nl$ac_script"
5962 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5963 { ac_script=; unset ac_script;}
5964 if test -z "$SED"; then
5965 ac_path_SED_found=false
5966 # Loop through the user's path and test for each of PROGNAME-LIST
5967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5971 test -z "$as_dir" && as_dir=.
5972 for ac_prog in sed gsed; do
5973 for ac_exec_ext in '' $ac_executable_extensions; do
5974 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5975 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5976 # Check for GNU ac_path_SED and select it if it is found.
5977 # Check for GNU $ac_path_SED
5978 case `"$ac_path_SED" --version 2>&1` in
5980 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5983 $as_echo_n 0123456789 >"conftest.in"
5986 cat "conftest.in" "conftest.in" >"conftest.tmp"
5987 mv "conftest.tmp" "conftest.in"
5988 cp "conftest.in" "conftest.nl"
5989 $as_echo '' >> "conftest.nl"
5990 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5991 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5992 as_fn_arith $ac_count + 1 && ac_count=$as_val
5993 if test $ac_count -gt ${ac_path_SED_max-0}; then
5994 # Best one so far, save it but keep looking for a better one
5995 ac_cv_path_SED="$ac_path_SED"
5996 ac_path_SED_max=$ac_count
5998 # 10*(2^10) chars as input seems more than enough
5999 test $ac_count -gt 10 && break
6001 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6004 $ac_path_SED_found && break 3
6009 if test -z "$ac_cv_path_SED"; then
6010 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6018 $as_echo "$ac_cv_path_SED" >&6; }
6019 SED="$ac_cv_path_SED"
6022 test -z "$SED" && SED=sed
6023 Xsed="$SED -e 1s/^X//"
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6036 $as_echo_n "checking for fgrep... " >&6; }
6037 if test "${ac_cv_path_FGREP+set}" = set; then :
6038 $as_echo_n "(cached) " >&6
6040 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6041 then ac_cv_path_FGREP="$GREP -F"
6043 if test -z "$FGREP"; then
6044 ac_path_FGREP_found=false
6045 # Loop through the user's path and test for each of PROGNAME-LIST
6046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6047 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6050 test -z "$as_dir" && as_dir=.
6051 for ac_prog in fgrep; do
6052 for ac_exec_ext in '' $ac_executable_extensions; do
6053 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6054 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6055 # Check for GNU ac_path_FGREP and select it if it is found.
6056 # Check for GNU $ac_path_FGREP
6057 case `"$ac_path_FGREP" --version 2>&1` in
6059 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6062 $as_echo_n 0123456789 >"conftest.in"
6065 cat "conftest.in" "conftest.in" >"conftest.tmp"
6066 mv "conftest.tmp" "conftest.in"
6067 cp "conftest.in" "conftest.nl"
6068 $as_echo 'FGREP' >> "conftest.nl"
6069 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6070 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6071 as_fn_arith $ac_count + 1 && ac_count=$as_val
6072 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6073 # Best one so far, save it but keep looking for a better one
6074 ac_cv_path_FGREP="$ac_path_FGREP"
6075 ac_path_FGREP_max=$ac_count
6077 # 10*(2^10) chars as input seems more than enough
6078 test $ac_count -gt 10 && break
6080 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6083 $ac_path_FGREP_found && break 3
6088 if test -z "$ac_cv_path_FGREP"; then
6089 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6092 ac_cv_path_FGREP=$FGREP
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6098 $as_echo "$ac_cv_path_FGREP" >&6; }
6099 FGREP="$ac_cv_path_FGREP"
6102 test -z "$GREP" && GREP=grep
6120 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6121 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6122 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6125 $as_echo_n "checking how to print strings... " >&6; }
6126 # Test print first, because it will be a builtin if present.
6127 if test "X`print
-r -- -n 2>/dev
/null
`" = X-n && \
6128 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
6130 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
6133 # Use this function as a fallback that always works.
6134 func_fallback_echo ()
6136 eval 'cat <<_LTECHO_EOF
6140 ECHO='func_fallback_echo'
6143 # func_echo_all arg...
6144 # Invoke $ECHO with all args, space-separated.
6151 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6152 $as_echo "printf" >&6; } ;;
6153 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6154 $as_echo "print -r" >&6; } ;;
6155 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6156 $as_echo "cat" >&6; } ;;
6174 # Check whether --with-gnu-ld was given.
6175 if test "${with_gnu_ld+set}" = set; then :
6176 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6182 if test "$GCC" = yes; then
6183 # Check if gcc -print-prog-name=ld gives a path.
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6185 $as_echo_n "checking for ld used by $CC... " >&6; }
6188 # gcc leaves a trailing carriage return which upsets mingw
6189 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
6191 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
6194 # Accept absolute paths.
6196 re_direlt='/[^/][^/]*/\.\./'
6197 # Canonicalize the pathname of ld
6198 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
6199 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6200 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
6202 test -z "$LD" && LD="$ac_prog"
6205 # If it fails, then pretend we aren't using GCC.
6209 # If it is relative, then search for the first ld in PATH.
6213 elif test "$with_gnu_ld" = yes; then
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6215 $as_echo_n "checking for GNU ld... " >&6; }
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6218 $as_echo_n "checking for non-GNU ld... " >&6; }
6220 if test "${lt_cv_path_LD+set}" = set; then :
6221 $as_echo_n "(cached) " >&6
6223 if test -z "$LD"; then
6224 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6225 for ac_dir in $PATH; do
6227 test -z "$ac_dir" && ac_dir=.
6228 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6229 lt_cv_path_LD="$ac_dir/$ac_prog"
6230 # Check to see if the program is GNU ld. I'd rather use --version,
6231 # but apparently some variants of GNU ld only accept -v.
6232 # Break only if it was the GNU/non-GNU ld that we prefer.
6233 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
6234 *GNU* | *'with BFD'*)
6235 test "$with_gnu_ld" != no && break
6238 test "$with_gnu_ld" != yes && break
6245 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6250 if test -n "$LD"; then
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6252 $as_echo "$LD" >&6; }
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6255 $as_echo "no" >&6; }
6257 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6259 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6260 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6261 $as_echo_n "(cached) " >&6
6263 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6264 case `$LD -v 2>&1 </dev
/null
` in
6265 *GNU* | *'with BFD'*)
6266 lt_cv_prog_gnu_ld=yes
6269 lt_cv_prog_gnu_ld=no
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6274 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6275 with_gnu_ld=$lt_cv_prog_gnu_ld
6286 test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS=''
6289 ac_save_LDFLAGS="$LDFLAGS"
6290 LDFLAGS="$LFLAGS -mclear-hwcap"
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5
6293 $as_echo_n "checking for -mclear-hwcap... " >&6; }
6294 if test x$gcc_no_link = xyes; then
6295 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6298 /* end confdefs.h. */
6308 if ac_fn_c_try_link "$LINENO"; then :
6309 ac_hwcap_ldflags=yes
6313 rm -f core conftest.err conftest.$ac_objext \
6314 conftest$ac_exeext conftest.$ac_ext
6315 if test "$ac_hwcap_ldflags" = "yes"; then
6316 HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS"
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5
6319 $as_echo "$ac_hwcap_ldflags" >&6; }
6321 LDFLAGS="$ac_save_LDFLAGS"
6325 if test $ac_hwcap_ldflags != no; then
6327 HAVE_HWCAP_FALSE='#'
6335 # Find other programs we need.
6336 if test -n "$ac_tool_prefix"; then
6337 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6338 set dummy ${ac_tool_prefix}as; ac_word=$2
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6340 $as_echo_n "checking for $ac_word... " >&6; }
6341 if test "${ac_cv_prog_AS+set}" = set; then :
6342 $as_echo_n "(cached) " >&6
6344 if test -n "$AS"; then
6345 ac_cv_prog_AS="$AS" # Let the user override the test.
6347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6351 test -z "$as_dir" && as_dir=.
6352 for ac_exec_ext in '' $ac_executable_extensions; do
6353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6354 ac_cv_prog_AS="${ac_tool_prefix}as"
6355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6365 if test -n "$AS"; then
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6367 $as_echo "$AS" >&6; }
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6370 $as_echo "no" >&6; }
6375 if test -z "$ac_cv_prog_AS"; then
6377 # Extract the first word of "as", so it can be a program name with args.
6378 set dummy as; ac_word=$2
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6380 $as_echo_n "checking for $ac_word... " >&6; }
6381 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
6382 $as_echo_n "(cached) " >&6
6384 if test -n "$ac_ct_AS"; then
6385 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6391 test -z "$as_dir" && as_dir=.
6392 for ac_exec_ext in '' $ac_executable_extensions; do
6393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6394 ac_cv_prog_ac_ct_AS="as"
6395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6404 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6405 if test -n "$ac_ct_AS"; then
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6407 $as_echo "$ac_ct_AS" >&6; }
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6410 $as_echo "no" >&6; }
6413 if test "x$ac_ct_AS" = x; then
6416 case $cross_compiling:$ac_tool_warned in
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6419 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6420 ac_tool_warned=yes ;;
6428 if test -n "$ac_tool_prefix"; then
6429 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6430 set dummy ${ac_tool_prefix}ar; ac_word=$2
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6432 $as_echo_n "checking for $ac_word... " >&6; }
6433 if test "${ac_cv_prog_AR+set}" = set; then :
6434 $as_echo_n "(cached) " >&6
6436 if test -n "$AR"; then
6437 ac_cv_prog_AR="$AR" # Let the user override the test.
6439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6443 test -z "$as_dir" && as_dir=.
6444 for ac_exec_ext in '' $ac_executable_extensions; do
6445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6446 ac_cv_prog_AR="${ac_tool_prefix}ar"
6447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6457 if test -n "$AR"; then
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6459 $as_echo "$AR" >&6; }
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6462 $as_echo "no" >&6; }
6467 if test -z "$ac_cv_prog_AR"; then
6469 # Extract the first word of "ar", so it can be a program name with args.
6470 set dummy ar; ac_word=$2
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6472 $as_echo_n "checking for $ac_word... " >&6; }
6473 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6474 $as_echo_n "(cached) " >&6
6476 if test -n "$ac_ct_AR"; then
6477 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6483 test -z "$as_dir" && as_dir=.
6484 for ac_exec_ext in '' $ac_executable_extensions; do
6485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6486 ac_cv_prog_ac_ct_AR="ar"
6487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6496 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6497 if test -n "$ac_ct_AR"; then
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6499 $as_echo "$ac_ct_AR" >&6; }
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6502 $as_echo "no" >&6; }
6505 if test "x$ac_ct_AR" = x; then
6508 case $cross_compiling:$ac_tool_warned in
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6511 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6512 ac_tool_warned=yes ;;
6520 if test -n "$ac_tool_prefix"; then
6521 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6522 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6524 $as_echo_n "checking for $ac_word... " >&6; }
6525 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6526 $as_echo_n "(cached) " >&6
6528 if test -n "$RANLIB"; then
6529 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6535 test -z "$as_dir" && as_dir=.
6536 for ac_exec_ext in '' $ac_executable_extensions; do
6537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6538 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6548 RANLIB=$ac_cv_prog_RANLIB
6549 if test -n "$RANLIB"; then
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6551 $as_echo "$RANLIB" >&6; }
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6554 $as_echo "no" >&6; }
6559 if test -z "$ac_cv_prog_RANLIB"; then
6560 ac_ct_RANLIB=$RANLIB
6561 # Extract the first word of "ranlib", so it can be a program name with args.
6562 set dummy ranlib; ac_word=$2
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6564 $as_echo_n "checking for $ac_word... " >&6; }
6565 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6566 $as_echo_n "(cached) " >&6
6568 if test -n "$ac_ct_RANLIB"; then
6569 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6575 test -z "$as_dir" && as_dir=.
6576 for ac_exec_ext in '' $ac_executable_extensions; do
6577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6578 ac_cv_prog_ac_ct_RANLIB="ranlib"
6579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6588 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6589 if test -n "$ac_ct_RANLIB"; then
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6591 $as_echo "$ac_ct_RANLIB" >&6; }
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6594 $as_echo "no" >&6; }
6597 if test "x$ac_ct_RANLIB" = x; then
6598 RANLIB="ranlib-not-found-in-path-error"
6600 case $cross_compiling:$ac_tool_warned in
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6603 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6604 ac_tool_warned=yes ;;
6606 RANLIB=$ac_ct_RANLIB
6609 RANLIB="$ac_cv_prog_RANLIB"
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6613 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6615 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6616 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6617 $as_echo_n "(cached) " >&6
6619 cat >conftest.make <<\_ACEOF
6622 @echo '@@@%%%=$(MAKE)=@@@%%%'
6624 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6625 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
6627 eval ac_cv_prog_make_${ac_make}_set=yes;;
6629 eval ac_cv_prog_make_${ac_make}_set=no;;
6633 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6635 $as_echo "yes" >&6; }
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6639 $as_echo "no" >&6; }
6640 SET_MAKE="MAKE=${MAKE-make}"
6646 #AC_MSG_NOTICE([====== Starting libtool configuration])
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
6654 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
6659 macro_version='2.2.7a'
6660 macro_revision='1.3134'
6674 ltmain="$ac_aux_dir/ltmain.sh"
6676 # Backslashify metacharacters that are still active within
6677 # double-quoted strings.
6678 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6680 # Same as above, but do not quote variable references.
6681 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6683 # Sed substitution to delay expansion of an escaped shell variable in a
6684 # double_quote_subst'ed string.
6685 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6687 # Sed substitution to delay expansion of an escaped single quote.
6688 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6690 # Sed substitution to avoid accidental globbing in evaled expressions
6691 no_glob_subst='s/\*/\\\*/g'
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6694 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6695 if test "${lt_cv_path_NM+set}" = set; then :
6696 $as_echo_n "(cached
) " >&6
6698 if test -n "$NM"; then
6699 # Let the user override the test.
6702 lt_nm_to_check="${ac_tool_prefix}nm
"
6703 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6704 lt_nm_to_check="$lt_nm_to_check nm
"
6706 for lt_tmp_nm in $lt_nm_to_check; do
6707 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6708 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6710 test -z "$ac_dir" && ac_dir=.
6711 tmp_nm="$ac_dir/$lt_tmp_nm"
6712 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6713 # Check to see if the nm accepts a BSD-compat flag.
6714 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6715 # nm: unknown option "B
" ignored
6716 # Tru64's nm complains that /dev/null is an invalid object file
6717 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6718 */dev/null* | *'Invalid file or object type'*)
6719 lt_cv_path_NM="$tmp_nm -B"
6723 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6725 lt_cv_path_NM="$tmp_nm -p"
6729 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6730 continue # so that we can try to find one that supports BSD flags
6739 : ${lt_cv_path_NM=no}
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
6743 $as_echo "$lt_cv_path_NM" >&6; }
6744 if test "$lt_cv_path_NM" != "no
"; then
6747 # Didn't find any BSD compatible name lister, look for dumpbin.
6748 if test -n "$DUMPBIN"; then :
6749 # Let the user override the test.
6751 if test -n "$ac_tool_prefix"; then
6752 for ac_prog in dumpbin "link
-dump"
6754 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6755 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6757 $as_echo_n "checking
for $ac_word...
" >&6; }
6758 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6759 $as_echo_n "(cached
) " >&6
6761 if test -n "$DUMPBIN"; then
6762 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6768 test -z "$as_dir" && as_dir=.
6769 for ac_exec_ext in '' $ac_executable_extensions; do
6770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6771 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6772 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6781 DUMPBIN=$ac_cv_prog_DUMPBIN
6782 if test -n "$DUMPBIN"; then
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
6784 $as_echo "$DUMPBIN" >&6; }
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6787 $as_echo "no
" >&6; }
6791 test -n "$DUMPBIN" && break
6794 if test -z "$DUMPBIN"; then
6795 ac_ct_DUMPBIN=$DUMPBIN
6796 for ac_prog in dumpbin "link
-dump"
6798 # Extract the first word of "$ac_prog", so it can be a program name with args.
6799 set dummy $ac_prog; ac_word=$2
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6801 $as_echo_n "checking
for $ac_word...
" >&6; }
6802 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6803 $as_echo_n "(cached
) " >&6
6805 if test -n "$ac_ct_DUMPBIN"; then
6806 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6812 test -z "$as_dir" && as_dir=.
6813 for ac_exec_ext in '' $ac_executable_extensions; do
6814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6815 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6816 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6825 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6826 if test -n "$ac_ct_DUMPBIN"; then
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6828 $as_echo "$ac_ct_DUMPBIN" >&6; }
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6831 $as_echo "no
" >&6; }
6835 test -n "$ac_ct_DUMPBIN" && break
6838 if test "x
$ac_ct_DUMPBIN" = x; then
6841 case $cross_compiling:$ac_tool_warned in
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6844 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6845 ac_tool_warned=yes ;;
6847 DUMPBIN=$ac_ct_DUMPBIN
6851 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6853 DUMPBIN="$DUMPBIN -symbols"
6861 if test "$DUMPBIN" != ":"; then
6865 test -z "$NM" && NM=nm
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6873 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6874 if test "${lt_cv_nm_interface+set}" = set; then :
6875 $as_echo_n "(cached
) " >&6
6877 lt_cv_nm_interface="BSD nm
"
6878 echo "int some_variable
= 0;" > conftest.$ac_ext
6879 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6880 (eval "$ac_compile" 2>conftest.err)
6881 cat conftest.err >&5
6882 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6883 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6884 cat conftest.err >&5
6885 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6886 cat conftest.out >&5
6887 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6888 lt_cv_nm_interface="MS dumpbin
"
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6893 $as_echo "$lt_cv_nm_interface" >&6; }
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
6896 $as_echo_n "checking whether
ln -s works...
" >&6; }
6898 if test "$LN_S" = "ln -s"; then
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
6900 $as_echo "yes" >&6; }
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
6903 $as_echo "no
, using
$LN_S" >&6; }
6906 # find the maximum length of command line arguments
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6908 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6909 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6910 $as_echo_n "(cached
) " >&6
6917 # On DJGPP, this test can blow up pretty badly due to problems in libc
6918 # (any single argument exceeding 2000 bytes causes a buffer overrun
6919 # during glob expansion). Even if it were fixed, the result of this
6920 # check would be larger than it should be.
6921 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6925 # Under GNU Hurd, this test is not required because there is
6926 # no limit to the length of command line arguments.
6927 # Libtool will interpret -1 as no limit whatsoever
6928 lt_cv_sys_max_cmd_len=-1;
6931 cygwin* | mingw* | cegcc*)
6932 # On Win9x/ME, this test blows up -- it succeeds, but takes
6933 # about 5 minutes as the teststring grows exponentially.
6934 # Worse, since 9x/ME are not pre-emptively multitasking,
6935 # you end up with a "frozen
" computer, even though with patience
6936 # the test eventually succeeds (with a max line length of 256k).
6937 # Instead, let's just punt: use the minimum linelength reported by
6938 # all of the supported platforms: 8192 (on NT/2K/XP).
6939 lt_cv_sys_max_cmd_len=8192;
6943 # On MiNT this can take a long time and run out of memory.
6944 lt_cv_sys_max_cmd_len=8192;
6948 # On AmigaOS with pdksh, this test takes hours, literally.
6949 # So we just punt and use a minimum line length of 8192.
6950 lt_cv_sys_max_cmd_len=8192;
6953 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6954 # This has been around since 386BSD, at least. Likely further.
6955 if test -x /sbin/sysctl; then
6956 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6957 elif test -x /usr/sbin/sysctl; then
6958 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6960 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6962 # And add a safety zone
6963 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6964 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6968 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6969 lt_cv_sys_max_cmd_len=196608
6973 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6974 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6975 # nice to cause kernel panics so lets avoid the loop below.
6976 # First set a reasonable default.
6977 lt_cv_sys_max_cmd_len=16384
6979 if test -x /sbin/sysconfig; then
6980 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6981 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6986 lt_cv_sys_max_cmd_len=102400
6988 sysv5* | sco5v6* | sysv4.2uw2*)
6989 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6990 if test -n "$kargmax"; then
6991 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6993 lt_cv_sys_max_cmd_len=32768
6997 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6998 if test -n "$lt_cv_sys_max_cmd_len"; then
6999 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7000 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7002 # Make teststring a little bigger before we do anything with it.
7003 # a 1K string should be a reasonable start.
7004 for i in 1 2 3 4 5 6 7 8 ; do
7005 teststring=$teststring$teststring
7007 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7008 # If test is not a shell built-in, we'll probably end up computing a
7009 # maximum length that is only half of the actual maximum length, but
7011 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7012 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
7013 test $i != 17 # 1/2 MB should be enough
7016 teststring=$teststring$teststring
7018 # Only check the string length outside the loop.
7019 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
7021 # Add a significant safety factor because C++ compilers can tack on
7022 # massive amounts of additional arguments before passing them to the
7023 # linker. It appears as though 1/2 is a usable value.
7024 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7031 if test -n $lt_cv_sys_max_cmd_len ; then
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
7033 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
7036 $as_echo "none
" >&6; }
7038 max_cmd_len=$lt_cv_sys_max_cmd_len
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
7050 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
7051 # Try some XSI features
7054 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7056 && eval 'test $(( 1 + 1 )) -eq 2 \
7057 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7060 $as_echo "$xsi_shell" >&6; }
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7064 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7066 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
7068 && lt_shell_append
=yes
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7070 $as_echo "$lt_shell_append" >&6; }
7073 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7083 # test EBCDIC or ASCII
7084 case `echo X|tr X '\101'` in
7085 A
) # ASCII based system
7086 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7087 lt_SP2NL
='tr \040 \012'
7088 lt_NL2SP
='tr \015\012 \040\040'
7090 *) # EBCDIC based system
7091 lt_SP2NL
='tr \100 \n'
7092 lt_NL2SP
='tr \r\n \100\100'
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7105 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7106 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7107 $as_echo_n "(cached) " >&6
7109 lt_cv_ld_reload_flag
='-r'
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7112 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7113 reload_flag
=$lt_cv_ld_reload_flag
7114 case $reload_flag in
7116 *) reload_flag
=" $reload_flag" ;;
7118 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7121 if test "$GCC" = yes; then
7122 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7124 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7137 if test -n "$ac_tool_prefix"; then
7138 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7139 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7141 $as_echo_n "checking for $ac_word... " >&6; }
7142 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7143 $as_echo_n "(cached) " >&6
7145 if test -n "$OBJDUMP"; then
7146 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7152 test -z "$as_dir" && as_dir
=.
7153 for ac_exec_ext
in '' $ac_executable_extensions; do
7154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7155 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7165 OBJDUMP
=$ac_cv_prog_OBJDUMP
7166 if test -n "$OBJDUMP"; then
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7168 $as_echo "$OBJDUMP" >&6; }
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7171 $as_echo "no" >&6; }
7176 if test -z "$ac_cv_prog_OBJDUMP"; then
7177 ac_ct_OBJDUMP
=$OBJDUMP
7178 # Extract the first word of "objdump", so it can be a program name with args.
7179 set dummy objdump
; ac_word
=$2
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7181 $as_echo_n "checking for $ac_word... " >&6; }
7182 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7183 $as_echo_n "(cached) " >&6
7185 if test -n "$ac_ct_OBJDUMP"; then
7186 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7192 test -z "$as_dir" && as_dir
=.
7193 for ac_exec_ext
in '' $ac_executable_extensions; do
7194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7195 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7205 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7206 if test -n "$ac_ct_OBJDUMP"; then
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7208 $as_echo "$ac_ct_OBJDUMP" >&6; }
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7211 $as_echo "no" >&6; }
7214 if test "x$ac_ct_OBJDUMP" = x
; then
7217 case $cross_compiling:$ac_tool_warned in
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7220 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7221 ac_tool_warned
=yes ;;
7223 OBJDUMP
=$ac_ct_OBJDUMP
7226 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7229 test -z "$OBJDUMP" && OBJDUMP
=objdump
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7240 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7241 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7242 $as_echo_n "(cached) " >&6
7244 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7245 lt_cv_file_magic_test_file
=
7246 lt_cv_deplibs_check_method
='unknown'
7247 # Need to set the preceding variable on all platforms that support
7248 # interlibrary dependencies.
7249 # 'none' -- dependencies not supported.
7250 # `unknown' -- same as none, but documents that we really don't know.
7251 # 'pass_all' -- all dependencies passed with no checks.
7252 # 'test_compile' -- check by making test program.
7253 # 'file_magic [[regex]]' -- check by looking for files in library path
7254 # which responds to the $file_magic_cmd with a given extended regex.
7255 # If you have `file' or equivalent on your system and you're not sure
7256 # whether `pass_all' will *always* work, you probably want this one.
7260 lt_cv_deplibs_check_method
=pass_all
7264 lt_cv_deplibs_check_method
=pass_all
7268 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7269 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7270 lt_cv_file_magic_test_file
=/shlib
/libc.so
7274 # func_win32_libid is a shell function defined in ltmain.sh
7275 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7276 lt_cv_file_magic_cmd
='func_win32_libid'
7280 # Base MSYS/MinGW do not provide the 'file' command needed by
7281 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7282 # unless we find 'file', for example because we are cross-compiling.
7283 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7284 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
7285 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7286 lt_cv_file_magic_cmd
='func_win32_libid'
7288 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
7289 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7294 # use the weaker test based on 'objdump'. See mingw*.
7295 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7296 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7299 darwin
* | rhapsody
*)
7300 lt_cv_deplibs_check_method
=pass_all
7303 freebsd
* | dragonfly
*)
7304 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7307 # Not sure whether the presence of OpenBSD here was a mistake.
7308 # Let's accept both of them until this is cleared up.
7309 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7310 lt_cv_file_magic_cmd
=/usr
/bin
/file
7311 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7315 lt_cv_deplibs_check_method
=pass_all
7320 lt_cv_deplibs_check_method
=pass_all
7324 lt_cv_deplibs_check_method
=pass_all
7327 hpux10.20
* | hpux11
*)
7328 lt_cv_file_magic_cmd
=/usr
/bin
/file
7331 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7332 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7335 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]'
7336 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7339 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7340 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7346 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7347 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7350 irix5
* | irix6
* | nonstopux
*)
7352 *-32|
*"-32 ") libmagic
=32-bit;;
7353 *-n32|
*"-n32 ") libmagic
=N32
;;
7354 *-64|
*"-64 ") libmagic
=64-bit;;
7355 *) libmagic
=never-match
;;
7357 lt_cv_deplibs_check_method
=pass_all
7360 # This must be Linux ELF.
7361 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7362 lt_cv_deplibs_check_method
=pass_all
7366 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7367 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7369 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7374 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7375 lt_cv_file_magic_cmd
=/usr
/bin
/file
7376 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7380 lt_cv_deplibs_check_method
=pass_all
7384 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7385 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7387 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7391 osf3
* | osf4
* | osf5
*)
7392 lt_cv_deplibs_check_method
=pass_all
7396 lt_cv_deplibs_check_method
=pass_all
7400 lt_cv_deplibs_check_method
=pass_all
7403 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7404 lt_cv_deplibs_check_method
=pass_all
7408 case $host_vendor in
7410 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]'
7411 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7414 lt_cv_deplibs_check_method
=pass_all
7417 lt_cv_file_magic_cmd
='/bin/file'
7418 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7421 lt_cv_file_magic_cmd
='/bin/file'
7422 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7423 lt_cv_file_magic_test_file
=/lib
/libc.so
7426 lt_cv_deplibs_check_method
=pass_all
7429 lt_cv_deplibs_check_method
=pass_all
7435 lt_cv_deplibs_check_method
=pass_all
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7441 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7442 file_magic_cmd
=$lt_cv_file_magic_cmd
7443 deplibs_check_method
=$lt_cv_deplibs_check_method
7444 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7457 if test -n "$ac_tool_prefix"; then
7458 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7459 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7461 $as_echo_n "checking for $ac_word... " >&6; }
7462 if test "${ac_cv_prog_AR+set}" = set; then :
7463 $as_echo_n "(cached) " >&6
7465 if test -n "$AR"; then
7466 ac_cv_prog_AR
="$AR" # Let the user override the test.
7468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7472 test -z "$as_dir" && as_dir
=.
7473 for ac_exec_ext
in '' $ac_executable_extensions; do
7474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7475 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7486 if test -n "$AR"; then
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7488 $as_echo "$AR" >&6; }
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7491 $as_echo "no" >&6; }
7496 if test -z "$ac_cv_prog_AR"; then
7498 # Extract the first word of "ar", so it can be a program name with args.
7499 set dummy
ar; ac_word
=$2
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7501 $as_echo_n "checking for $ac_word... " >&6; }
7502 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7503 $as_echo_n "(cached) " >&6
7505 if test -n "$ac_ct_AR"; then
7506 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7512 test -z "$as_dir" && as_dir
=.
7513 for ac_exec_ext
in '' $ac_executable_extensions; do
7514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7515 ac_cv_prog_ac_ct_AR
="ar"
7516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7525 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7526 if test -n "$ac_ct_AR"; then
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7528 $as_echo "$ac_ct_AR" >&6; }
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7531 $as_echo "no" >&6; }
7534 if test "x$ac_ct_AR" = x
; then
7537 case $cross_compiling:$ac_tool_warned in
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7540 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7541 ac_tool_warned
=yes ;;
7549 test -z "$AR" && AR
=ar
7550 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7562 if test -n "$ac_tool_prefix"; then
7563 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7564 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7566 $as_echo_n "checking for $ac_word... " >&6; }
7567 if test "${ac_cv_prog_STRIP+set}" = set; then :
7568 $as_echo_n "(cached) " >&6
7570 if test -n "$STRIP"; then
7571 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7577 test -z "$as_dir" && as_dir
=.
7578 for ac_exec_ext
in '' $ac_executable_extensions; do
7579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7580 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7590 STRIP
=$ac_cv_prog_STRIP
7591 if test -n "$STRIP"; then
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7593 $as_echo "$STRIP" >&6; }
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7596 $as_echo "no" >&6; }
7601 if test -z "$ac_cv_prog_STRIP"; then
7603 # Extract the first word of "strip", so it can be a program name with args.
7604 set dummy strip
; ac_word
=$2
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7606 $as_echo_n "checking for $ac_word... " >&6; }
7607 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7608 $as_echo_n "(cached) " >&6
7610 if test -n "$ac_ct_STRIP"; then
7611 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7617 test -z "$as_dir" && as_dir
=.
7618 for ac_exec_ext
in '' $ac_executable_extensions; do
7619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7620 ac_cv_prog_ac_ct_STRIP
="strip"
7621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7630 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7631 if test -n "$ac_ct_STRIP"; then
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7633 $as_echo "$ac_ct_STRIP" >&6; }
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7636 $as_echo "no" >&6; }
7639 if test "x$ac_ct_STRIP" = x
; then
7642 case $cross_compiling:$ac_tool_warned in
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7646 ac_tool_warned
=yes ;;
7651 STRIP
="$ac_cv_prog_STRIP"
7654 test -z "$STRIP" && STRIP
=:
7661 if test -n "$ac_tool_prefix"; then
7662 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7663 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7665 $as_echo_n "checking for $ac_word... " >&6; }
7666 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7667 $as_echo_n "(cached) " >&6
7669 if test -n "$RANLIB"; then
7670 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7676 test -z "$as_dir" && as_dir
=.
7677 for ac_exec_ext
in '' $ac_executable_extensions; do
7678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7679 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7689 RANLIB
=$ac_cv_prog_RANLIB
7690 if test -n "$RANLIB"; then
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7692 $as_echo "$RANLIB" >&6; }
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7695 $as_echo "no" >&6; }
7700 if test -z "$ac_cv_prog_RANLIB"; then
7701 ac_ct_RANLIB
=$RANLIB
7702 # Extract the first word of "ranlib", so it can be a program name with args.
7703 set dummy ranlib
; ac_word
=$2
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7705 $as_echo_n "checking for $ac_word... " >&6; }
7706 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7707 $as_echo_n "(cached) " >&6
7709 if test -n "$ac_ct_RANLIB"; then
7710 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7716 test -z "$as_dir" && as_dir
=.
7717 for ac_exec_ext
in '' $ac_executable_extensions; do
7718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7719 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7729 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7730 if test -n "$ac_ct_RANLIB"; then
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7732 $as_echo "$ac_ct_RANLIB" >&6; }
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7735 $as_echo "no" >&6; }
7738 if test "x$ac_ct_RANLIB" = x
; then
7741 case $cross_compiling:$ac_tool_warned in
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7744 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7745 ac_tool_warned
=yes ;;
7747 RANLIB
=$ac_ct_RANLIB
7750 RANLIB
="$ac_cv_prog_RANLIB"
7753 test -z "$RANLIB" && RANLIB
=:
7760 # Determine commands to create old-style static archives.
7761 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7762 old_postinstall_cmds
='chmod 644 $oldlib'
7763 old_postuninstall_cmds
=
7765 if test -n "$RANLIB"; then
7768 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7771 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7774 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7779 lock_old_archive_extraction
=yes ;;
7781 lock_old_archive_extraction
=no
;;
7822 # If no C compiler was specified, use CC.
7825 # If no C compiler flags were specified, use CFLAGS.
7826 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7828 # Allow CC to be a program name with arguments.
7832 # Check for command to grab the raw symbol name followed by C symbol from nm.
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7834 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7835 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7836 $as_echo_n "(cached) " >&6
7839 # These are sane defaults that work on at least a few old systems.
7840 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7842 # Character class describing NM global symbol codes.
7843 symcode
='[BCDEGRST]'
7845 # Regexp to match symbols that can be accessed directly from C.
7846 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7848 # Define system-specific variables.
7853 cygwin
* | mingw
* | pw32
* | cegcc
*)
7854 symcode
='[ABCDGISTW]'
7857 if test "$host_cpu" = ia64
; then
7858 symcode
='[ABCDEGRST]'
7862 symcode
='[BCDEGRST]'
7865 symcode
='[BCDEGQRST]'
7876 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7884 # If we're using GNU nm, then use its standard symbol codes.
7885 case `$NM -V 2>&1` in
7886 *GNU
* |
*'with BFD'*)
7887 symcode
='[ABCDGIRSTW]' ;;
7890 # Transform an extracted symbol line into a proper C declaration.
7891 # Some systems (esp. on ia64) link data and code symbols differently,
7892 # so use this general approach.
7893 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7895 # Transform an extracted symbol line into symbol name and symbol address
7896 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7897 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'"
7899 # Handle CRLF in mingw tool chain
7903 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7907 # Try without a prefix underscore, then with it.
7908 for ac_symprfx
in "" "_"; do
7910 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7911 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7913 # Write the raw and C identifiers.
7914 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7915 # Fake it for dumpbin and say T for any non-static function
7916 # and D for any global variable.
7917 # Also find C++ and __fastcall symbols from MSVC++,
7918 # which start with @ or ?.
7919 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7920 " {last_section=section; section=\$ 3};"\
7921 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7922 " \$ 0!~/External *\|/{next};"\
7923 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7924 " {if(hide[section]) next};"\
7925 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7926 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7927 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7928 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7929 " ' prfx=^$ac_symprfx"
7931 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7934 # Check to see that the pipe works correctly.
7938 cat > conftest.
$ac_ext <<_LT_EOF
7943 void nm_test_func(void);
7944 void nm_test_func(void){}
7948 int main(){nm_test_var='a';nm_test_func();return(0);}
7951 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7952 (eval $ac_compile) 2>&5
7954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7955 test $ac_status = 0; }; then
7956 # Now try to grab the symbols.
7958 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7959 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7962 test $ac_status = 0; } && test -s "$nlist"; then
7963 # Try sorting and uniquifying the output.
7964 if sort "$nlist" |
uniq > "$nlist"T
; then
7965 mv -f "$nlist"T
"$nlist"
7970 # Make sure that we snagged all the symbols we need.
7971 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7972 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7973 cat <<_LT_EOF > conftest.$ac_ext
7979 # Now generate the symbol file.
7980 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7982 cat <<_LT_EOF >> conftest.$ac_ext
7984 /* The mapping between symbol names and symbols. */
7989 lt__PROGRAM__LTX_preloaded_symbols[] =
7991 { "@PROGRAM@", (void *) 0 },
7993 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7994 cat <<\_LT_EOF
>> conftest.
$ac_ext
7998 /* This works around a problem
in FreeBSD linker
*/
7999 #ifdef FREEBSD_WORKAROUND
8000 static const void
*lt_preloaded_setup
() {
8001 return lt__PROGRAM__LTX_preloaded_symbols
;
8009 # Now try linking the two files.
8010 mv conftest.
$ac_objext conftstm.
$ac_objext
8011 lt_save_LIBS
="$LIBS"
8012 lt_save_CFLAGS
="$CFLAGS"
8013 LIBS
="conftstm.$ac_objext"
8014 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8015 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8016 (eval $ac_link) 2>&5
8018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8019 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
8022 LIBS
="$lt_save_LIBS"
8023 CFLAGS
="$lt_save_CFLAGS"
8025 echo "cannot find nm_test_func in $nlist" >&5
8028 echo "cannot find nm_test_var in $nlist" >&5
8031 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8034 echo "$progname: failed program was:" >&5
8035 cat conftest.
$ac_ext >&5
8037 rm -rf conftest
* conftst
*
8039 # Do not use the global_symbol_pipe unless it works.
8040 if test "$pipe_works" = yes; then
8043 lt_cv_sys_global_symbol_pipe
=
8049 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8050 lt_cv_sys_global_symbol_to_cdecl
=
8052 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8054 $as_echo "failed" >&6; }
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8057 $as_echo "ok" >&6; }
8081 # Check whether --enable-libtool-lock was given.
8082 if test "${enable_libtool_lock+set}" = set; then :
8083 enableval
=$enable_libtool_lock;
8086 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8088 # Some flags need to be propagated to the compiler or linker for good
8092 # Find out which ABI we are using.
8093 echo 'int i;' > conftest.
$ac_ext
8094 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8095 (eval $ac_compile) 2>&5
8097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8098 test $ac_status = 0; }; then
8099 case `/usr/bin/file conftest.$ac_objext` in
8111 # Find out which ABI we are using.
8112 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8113 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8114 (eval $ac_compile) 2>&5
8116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8117 test $ac_status = 0; }; then
8118 if test "$lt_cv_prog_gnu_ld" = yes; then
8119 case `/usr/bin/file conftest.$ac_objext` in
8121 LD
="${LD-ld} -melf32bsmip"
8124 LD
="${LD-ld} -melf32bmipn32"
8127 LD
="${LD-ld} -melf64bmip"
8131 case `/usr/bin/file conftest.$ac_objext` in
8147 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
8148 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8149 # Find out which ABI we are using.
8150 echo 'int i;' > conftest.
$ac_ext
8151 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8152 (eval $ac_compile) 2>&5
8154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8155 test $ac_status = 0; }; then
8156 case `/usr/bin/file conftest.o` in
8159 x86_64-
*kfreebsd
*-gnu)
8160 LD
="${LD-ld} -m elf_i386_fbsd"
8163 case `/usr/bin/file conftest.o` in
8165 LD
="${LD-ld} -m elf32_x86_64"
8168 LD
="${LD-ld} -m elf_i386"
8172 powerpc64le-
*linux
*)
8173 LD
="${LD-ld} -m elf32lppclinux"
8176 LD
="${LD-ld} -m elf32ppclinux"
8179 LD
="${LD-ld} -m elf_s390"
8182 LD
="${LD-ld} -m elf32_sparc"
8188 x86_64-
*kfreebsd
*-gnu)
8189 LD
="${LD-ld} -m elf_x86_64_fbsd"
8192 LD
="${LD-ld} -m elf_x86_64"
8195 LD
="${LD-ld} -m elf64lppc"
8198 LD
="${LD-ld} -m elf64ppc"
8200 s390
*-*linux
*|s390
*-*tpf
*)
8201 LD
="${LD-ld} -m elf64_s390"
8204 LD
="${LD-ld} -m elf64_sparc"
8214 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8215 SAVE_CFLAGS
="$CFLAGS"
8216 CFLAGS
="$CFLAGS -belf"
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8218 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8219 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8220 $as_echo_n "(cached) " >&6
8223 ac_cpp
='$CPP $CPPFLAGS'
8224 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8225 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8226 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8228 if test x
$gcc_no_link = xyes
; then
8229 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8232 /* end confdefs.h. */
8242 if ac_fn_c_try_link
"$LINENO"; then :
8243 lt_cv_cc_needs_belf
=yes
8245 lt_cv_cc_needs_belf
=no
8247 rm -f core conftest.err conftest.
$ac_objext \
8248 conftest
$ac_exeext conftest.
$ac_ext
8250 ac_cpp
='$CPP $CPPFLAGS'
8251 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8252 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8253 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8257 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8258 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
8259 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8260 CFLAGS
="$SAVE_CFLAGS"
8264 # Find out which ABI we are using.
8265 echo 'int i;' > conftest.
$ac_ext
8266 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8267 (eval $ac_compile) 2>&5
8269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8270 test $ac_status = 0; }; then
8271 case `/usr/bin/file conftest.o` in
8273 case $lt_cv_prog_gnu_ld in
8274 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8276 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8288 need_locks
="$enable_libtool_lock"
8292 rhapsody
* | darwin
*)
8293 if test -n "$ac_tool_prefix"; then
8294 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8295 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8297 $as_echo_n "checking for $ac_word... " >&6; }
8298 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8299 $as_echo_n "(cached) " >&6
8301 if test -n "$DSYMUTIL"; then
8302 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8308 test -z "$as_dir" && as_dir
=.
8309 for ac_exec_ext
in '' $ac_executable_extensions; do
8310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8311 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8321 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8322 if test -n "$DSYMUTIL"; then
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8324 $as_echo "$DSYMUTIL" >&6; }
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8327 $as_echo "no" >&6; }
8332 if test -z "$ac_cv_prog_DSYMUTIL"; then
8333 ac_ct_DSYMUTIL
=$DSYMUTIL
8334 # Extract the first word of "dsymutil", so it can be a program name with args.
8335 set dummy dsymutil
; 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_ac_ct_DSYMUTIL+set}" = set; then :
8339 $as_echo_n "(cached) " >&6
8341 if test -n "$ac_ct_DSYMUTIL"; then
8342 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # 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_ac_ct_DSYMUTIL
="dsymutil"
8352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8361 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8362 if test -n "$ac_ct_DSYMUTIL"; then
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8364 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8367 $as_echo "no" >&6; }
8370 if test "x$ac_ct_DSYMUTIL" = x
; then
8373 case $cross_compiling:$ac_tool_warned in
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8376 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8377 ac_tool_warned
=yes ;;
8379 DSYMUTIL
=$ac_ct_DSYMUTIL
8382 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8385 if test -n "$ac_tool_prefix"; then
8386 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8387 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8389 $as_echo_n "checking for $ac_word... " >&6; }
8390 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8391 $as_echo_n "(cached) " >&6
8393 if test -n "$NMEDIT"; then
8394 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8400 test -z "$as_dir" && as_dir
=.
8401 for ac_exec_ext
in '' $ac_executable_extensions; do
8402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8403 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8413 NMEDIT
=$ac_cv_prog_NMEDIT
8414 if test -n "$NMEDIT"; then
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8416 $as_echo "$NMEDIT" >&6; }
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8419 $as_echo "no" >&6; }
8424 if test -z "$ac_cv_prog_NMEDIT"; then
8425 ac_ct_NMEDIT
=$NMEDIT
8426 # Extract the first word of "nmedit", so it can be a program name with args.
8427 set dummy nmedit
; 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_ac_ct_NMEDIT+set}" = set; then :
8431 $as_echo_n "(cached) " >&6
8433 if test -n "$ac_ct_NMEDIT"; then
8434 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # 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_ac_ct_NMEDIT
="nmedit"
8444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8453 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8454 if test -n "$ac_ct_NMEDIT"; then
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8456 $as_echo "$ac_ct_NMEDIT" >&6; }
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8459 $as_echo "no" >&6; }
8462 if test "x$ac_ct_NMEDIT" = x
; then
8465 case $cross_compiling:$ac_tool_warned in
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8468 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8469 ac_tool_warned
=yes ;;
8471 NMEDIT
=$ac_ct_NMEDIT
8474 NMEDIT
="$ac_cv_prog_NMEDIT"
8477 if test -n "$ac_tool_prefix"; then
8478 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8479 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8481 $as_echo_n "checking for $ac_word... " >&6; }
8482 if test "${ac_cv_prog_LIPO+set}" = set; then :
8483 $as_echo_n "(cached) " >&6
8485 if test -n "$LIPO"; then
8486 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8492 test -z "$as_dir" && as_dir
=.
8493 for ac_exec_ext
in '' $ac_executable_extensions; do
8494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8495 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8505 LIPO
=$ac_cv_prog_LIPO
8506 if test -n "$LIPO"; then
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8508 $as_echo "$LIPO" >&6; }
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8511 $as_echo "no" >&6; }
8516 if test -z "$ac_cv_prog_LIPO"; then
8518 # Extract the first word of "lipo", so it can be a program name with args.
8519 set dummy lipo
; 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_ac_ct_LIPO+set}" = set; then :
8523 $as_echo_n "(cached) " >&6
8525 if test -n "$ac_ct_LIPO"; then
8526 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # 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_ac_ct_LIPO
="lipo"
8536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8545 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8546 if test -n "$ac_ct_LIPO"; then
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8548 $as_echo "$ac_ct_LIPO" >&6; }
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8551 $as_echo "no" >&6; }
8554 if test "x$ac_ct_LIPO" = x
; then
8557 case $cross_compiling:$ac_tool_warned in
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8560 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8561 ac_tool_warned
=yes ;;
8566 LIPO
="$ac_cv_prog_LIPO"
8569 if test -n "$ac_tool_prefix"; then
8570 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8571 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8573 $as_echo_n "checking for $ac_word... " >&6; }
8574 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8575 $as_echo_n "(cached) " >&6
8577 if test -n "$OTOOL"; then
8578 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8584 test -z "$as_dir" && as_dir
=.
8585 for ac_exec_ext
in '' $ac_executable_extensions; do
8586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8587 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8597 OTOOL
=$ac_cv_prog_OTOOL
8598 if test -n "$OTOOL"; then
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8600 $as_echo "$OTOOL" >&6; }
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8603 $as_echo "no" >&6; }
8608 if test -z "$ac_cv_prog_OTOOL"; then
8610 # Extract the first word of "otool", so it can be a program name with args.
8611 set dummy otool
; 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_ac_ct_OTOOL+set}" = set; then :
8615 $as_echo_n "(cached) " >&6
8617 if test -n "$ac_ct_OTOOL"; then
8618 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # 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_ac_ct_OTOOL
="otool"
8628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8637 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8638 if test -n "$ac_ct_OTOOL"; then
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8640 $as_echo "$ac_ct_OTOOL" >&6; }
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8643 $as_echo "no" >&6; }
8646 if test "x$ac_ct_OTOOL" = x
; then
8649 case $cross_compiling:$ac_tool_warned in
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8653 ac_tool_warned
=yes ;;
8658 OTOOL
="$ac_cv_prog_OTOOL"
8661 if test -n "$ac_tool_prefix"; then
8662 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8663 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8665 $as_echo_n "checking for $ac_word... " >&6; }
8666 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8667 $as_echo_n "(cached) " >&6
8669 if test -n "$OTOOL64"; then
8670 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8672 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8676 test -z "$as_dir" && as_dir
=.
8677 for ac_exec_ext
in '' $ac_executable_extensions; do
8678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8679 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8689 OTOOL64
=$ac_cv_prog_OTOOL64
8690 if test -n "$OTOOL64"; then
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8692 $as_echo "$OTOOL64" >&6; }
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8695 $as_echo "no" >&6; }
8700 if test -z "$ac_cv_prog_OTOOL64"; then
8701 ac_ct_OTOOL64
=$OTOOL64
8702 # Extract the first word of "otool64", so it can be a program name with args.
8703 set dummy otool64
; ac_word
=$2
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8705 $as_echo_n "checking for $ac_word... " >&6; }
8706 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8707 $as_echo_n "(cached) " >&6
8709 if test -n "$ac_ct_OTOOL64"; then
8710 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8716 test -z "$as_dir" && as_dir
=.
8717 for ac_exec_ext
in '' $ac_executable_extensions; do
8718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8719 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8729 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8730 if test -n "$ac_ct_OTOOL64"; then
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8732 $as_echo "$ac_ct_OTOOL64" >&6; }
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8735 $as_echo "no" >&6; }
8738 if test "x$ac_ct_OTOOL64" = x
; then
8741 case $cross_compiling:$ac_tool_warned in
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8744 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8745 ac_tool_warned
=yes ;;
8747 OTOOL64
=$ac_ct_OTOOL64
8750 OTOOL64
="$ac_cv_prog_OTOOL64"
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8780 $as_echo_n "checking for -single_module linker flag... " >&6; }
8781 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8782 $as_echo_n "(cached) " >&6
8784 lt_cv_apple_cc_single_mod
=no
8785 if test -z "${LT_MULTI_MODULE}"; then
8786 # By default we will add the -single_module flag. You can override
8787 # by either setting the environment variable LT_MULTI_MODULE
8788 # non-empty at configure time, or by adding -multi_module to the
8790 rm -rf libconftest.dylib
*
8791 echo "int foo(void){return 1;}" > conftest.c
8792 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8793 -dynamiclib -Wl,-single_module conftest.c" >&5
8794 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8795 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8797 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8798 lt_cv_apple_cc_single_mod
=yes
8800 cat conftest.err
>&5
8802 rm -rf libconftest.dylib
*
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8807 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8809 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8810 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8811 $as_echo_n "(cached) " >&6
8813 lt_cv_ld_exported_symbols_list
=no
8814 save_LDFLAGS
=$LDFLAGS
8815 echo "_main" > conftest.sym
8816 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8817 if test x
$gcc_no_link = xyes
; then
8818 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8821 /* end confdefs.h. */
8831 if ac_fn_c_try_link
"$LINENO"; then :
8832 lt_cv_ld_exported_symbols_list
=yes
8834 lt_cv_ld_exported_symbols_list
=no
8836 rm -f core conftest.err conftest.
$ac_objext \
8837 conftest
$ac_exeext conftest.
$ac_ext
8838 LDFLAGS
="$save_LDFLAGS"
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8842 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8844 $as_echo_n "checking for -force_load linker flag... " >&6; }
8845 if test "${lt_cv_ld_force_load+set}" = set; then :
8846 $as_echo_n "(cached) " >&6
8848 lt_cv_ld_force_load
=no
8849 cat > conftest.c
<< _LT_EOF
8850 int forced_loaded() { return 2;}
8852 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8853 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8854 echo "$AR cru libconftest.a conftest.o" >&5
8855 $AR cru libconftest.a conftest.o
2>&5
8856 cat > conftest.c
<< _LT_EOF
8857 int main() { return 0;}
8859 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8860 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8862 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8863 lt_cv_ld_force_load
=yes
8865 cat conftest.err
>&5
8867 rm -f conftest.err libconftest.a conftest conftest.c
8868 rm -rf conftest.dSYM
8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8872 $as_echo "$lt_cv_ld_force_load" >&6; }
8874 rhapsody
* | darwin1.
[012])
8875 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8877 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8878 darwin
*) # darwin 5.x on
8879 # if running on 10.5 or later, the deployment target defaults
8880 # to the OS version, if on x86, and 10.4, the deployment
8881 # target defaults to 10.4. Don't you love it?
8882 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8883 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8884 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8886 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8888 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8892 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8893 _lt_dar_single_mod
='$single_module'
8895 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8896 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8898 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8900 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8901 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8908 for ac_header
in dlfcn.h
8910 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8912 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8913 cat >>confdefs.h
<<_ACEOF
8914 #define HAVE_DLFCN_H 1
8933 # Check whether --enable-shared was given.
8934 if test "${enable_shared+set}" = set; then :
8935 enableval
=$enable_shared; p
=${PACKAGE-default}
8937 yes) enable_shared
=yes ;;
8938 no
) enable_shared
=no
;;
8941 # Look at the argument we got. We use all the common list separators.
8942 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8943 for pkg
in $enableval; do
8945 if test "X$pkg" = "X$p"; then
8964 # Check whether --enable-static was given.
8965 if test "${enable_static+set}" = set; then :
8966 enableval
=$enable_static; p
=${PACKAGE-default}
8968 yes) enable_static
=yes ;;
8969 no
) enable_static
=no
;;
8972 # Look at the argument we got. We use all the common list separators.
8973 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8974 for pkg
in $enableval; do
8976 if test "X$pkg" = "X$p"; then
8996 # Check whether --with-pic was given.
8997 if test "${with_pic+set}" = set; then :
8998 withval
=$with_pic; pic_mode
="$withval"
9004 test -z "$pic_mode" && pic_mode
=default
9012 # Check whether --enable-fast-install was given.
9013 if test "${enable_fast_install+set}" = set; then :
9014 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9016 yes) enable_fast_install
=yes ;;
9017 no
) enable_fast_install
=no
;;
9019 enable_fast_install
=no
9020 # Look at the argument we got. We use all the common list separators.
9021 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9022 for pkg
in $enableval; do
9024 if test "X$pkg" = "X$p"; then
9025 enable_fast_install
=yes
9032 enable_fast_install
=yes
9045 # This can be used to rebuild libtool when needed
9046 LIBTOOL_DEPS
="$ltmain"
9048 # Always use our own libtool.
9049 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9076 test -z "$LN_S" && LN_S
="ln -s"
9091 if test -n "${ZSH_VERSION+set}" ; then
9092 setopt NO_GLOB_SUBST
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9096 $as_echo_n "checking for objdir... " >&6; }
9097 if test "${lt_cv_objdir+set}" = set; then :
9098 $as_echo_n "(cached) " >&6
9100 rm -f .libs
2>/dev
/null
9101 mkdir .libs
2>/dev
/null
9102 if test -d .libs
; then
9105 # MS-DOS does not allow filenames that begin with a dot.
9108 rmdir .libs
2>/dev
/null
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9111 $as_echo "$lt_cv_objdir" >&6; }
9112 objdir
=$lt_cv_objdir
9118 cat >>confdefs.h
<<_ACEOF
9119 #define LT_OBJDIR "$lt_cv_objdir/"
9127 # AIX sometimes has problems with the GCC collect2 program. For some
9128 # reason, if we set the COLLECT_NAMES environment variable, the problems
9129 # vanish in a puff of smoke.
9130 if test "X${COLLECT_NAMES+set}" != Xset
; then
9132 export COLLECT_NAMES
9139 can_build_shared
=yes
9141 # All known linkers require a `.a' archive for static linking (except MSVC,
9142 # which needs '.lib').
9145 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9148 old_CFLAGS
="$CFLAGS"
9150 # Set sane defaults for various variables
9151 test -z "$CC" && CC
=cc
9152 test -z "$LTCC" && LTCC
=$CC
9153 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9154 test -z "$LD" && LD
=ld
9155 test -z "$ac_objext" && ac_objext
=o
9157 for cc_temp
in $compiler""; do
9159 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9160 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9165 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9168 # Only perform the check for file, if the check method requires it
9169 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9170 case $deplibs_check_method in
9172 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9174 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9175 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9176 $as_echo_n "(cached) " >&6
9180 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9183 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9184 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9185 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9186 for ac_dir
in $ac_dummy; do
9188 test -z "$ac_dir" && ac_dir
=.
9189 if test -f $ac_dir/${ac_tool_prefix}file; then
9190 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9191 if test -n "$file_magic_test_file"; then
9192 case $deplibs_check_method in
9194 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9195 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9196 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9197 $EGREP "$file_magic_regex" > /dev
/null
; then
9202 *** Warning: the command libtool uses to detect shared libraries,
9203 *** $file_magic_cmd, produces output that libtool cannot recognize.
9204 *** The result is that libtool may fail to recognize shared libraries
9205 *** as such. This will affect the creation of libtool libraries that
9206 *** depend on shared libraries, but programs linked with such libtool
9207 *** libraries will work regardless of this problem. Nevertheless, you
9208 *** may want to report the problem to your system manager and/or to
9209 *** bug-libtool@gnu.org
9219 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9224 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9225 if test -n "$MAGIC_CMD"; then
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9227 $as_echo "$MAGIC_CMD" >&6; }
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9230 $as_echo "no" >&6; }
9237 if test -z "$lt_cv_path_MAGIC_CMD"; then
9238 if test -n "$ac_tool_prefix"; then
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9240 $as_echo_n "checking for file... " >&6; }
9241 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9242 $as_echo_n "(cached) " >&6
9246 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9249 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9250 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9251 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9252 for ac_dir
in $ac_dummy; do
9254 test -z "$ac_dir" && ac_dir
=.
9255 if test -f $ac_dir/file; then
9256 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9257 if test -n "$file_magic_test_file"; then
9258 case $deplibs_check_method in
9260 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9261 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9262 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9263 $EGREP "$file_magic_regex" > /dev
/null
; then
9268 *** Warning: the command libtool uses to detect shared libraries,
9269 *** $file_magic_cmd, produces output that libtool cannot recognize.
9270 *** The result is that libtool may fail to recognize shared libraries
9271 *** as such. This will affect the creation of libtool libraries that
9272 *** depend on shared libraries, but programs linked with such libtool
9273 *** libraries will work regardless of this problem. Nevertheless, you
9274 *** may want to report the problem to your system manager and/or to
9275 *** bug-libtool@gnu.org
9285 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9290 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9291 if test -n "$MAGIC_CMD"; then
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9293 $as_echo "$MAGIC_CMD" >&6; }
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9296 $as_echo "no" >&6; }
9309 # Use C for the default configuration in the libtool script
9313 ac_cpp
='$CPP $CPPFLAGS'
9314 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9315 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9316 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9319 # Source file extension for C test sources.
9322 # Object file extension for compiled C test sources.
9326 # Code to be used in simple compile tests
9327 lt_simple_compile_test_code
="int some_variable = 0;"
9329 # Code to be used in simple link tests
9330 lt_simple_link_test_code
='int main(){return(0);}'
9338 # If no C compiler was specified, use CC.
9341 # If no C compiler flags were specified, use CFLAGS.
9342 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9344 # Allow CC to be a program name with arguments.
9347 # Save the default compiler, since it gets overwritten when the other
9348 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9349 compiler_DEFAULT
=$CC
9351 # save warnings/boilerplate of simple test code
9352 ac_outfile
=conftest.
$ac_objext
9353 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9354 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9355 _lt_compiler_boilerplate
=`cat conftest.err`
9358 ac_outfile
=conftest.
$ac_objext
9359 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9360 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9361 _lt_linker_boilerplate
=`cat conftest.err`
9366 ## There is no encapsulation within the following macros, do not change
9367 ## the running order or otherwise move them around unless you know exactly
9368 ## what you are doing...
9369 if test -n "$compiler"; then
9371 lt_prog_compiler_no_builtin_flag
=
9373 if test "$GCC" = yes; then
9374 case $cc_basename in
9376 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9378 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9382 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9383 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9384 $as_echo_n "(cached) " >&6
9386 lt_cv_prog_compiler_rtti_exceptions
=no
9387 ac_outfile
=conftest.
$ac_objext
9388 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9389 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9390 # Insert the option either (1) after the last *FLAGS variable, or
9391 # (2) before a word containing "conftest.", or (3) at the end.
9392 # Note that $ac_compile itself does not contain backslashes and begins
9393 # with a dollar sign (not a hyphen), so the echo should work correctly.
9394 # The option is referenced via a variable to avoid confusing sed.
9395 lt_compile
=`echo "$ac_compile" | $SED \
9396 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9397 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9398 -e 's:$: $lt_compiler_flag:'`
9399 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9400 (eval "$lt_compile" 2>conftest.err
)
9402 cat conftest.err
>&5
9403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9404 if (exit $ac_status) && test -s "$ac_outfile"; then
9405 # The compiler can only warn and ignore the option if not recognized
9406 # So say no if there are warnings other than the usual output.
9407 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9408 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9409 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9410 lt_cv_prog_compiler_rtti_exceptions
=yes
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9417 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9419 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9420 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9432 lt_prog_compiler_wl
=
9433 lt_prog_compiler_pic
=
9434 lt_prog_compiler_static
=
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9437 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9439 if test "$GCC" = yes; then
9440 lt_prog_compiler_wl
='-Wl,'
9441 lt_prog_compiler_static
='-static'
9445 # All AIX code is PIC.
9446 if test "$host_cpu" = ia64
; then
9447 # AIX 5 now supports IA64 processor
9448 lt_prog_compiler_static
='-Bstatic'
9450 lt_prog_compiler_pic
='-fPIC'
9456 # see comment about AmigaOS4 .so support
9457 lt_prog_compiler_pic
='-fPIC'
9460 # FIXME: we need at least 68020 code to build shared libraries, but
9461 # adding the `-m68020' flag to GCC prevents building anything better,
9463 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9468 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9469 # PIC is the default for these OSes.
9472 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9473 # This hack is so that the source file can tell whether it is being
9474 # built for inclusion in a dll (and should export symbols for example).
9475 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9476 # (--disable-auto-import) libraries
9477 lt_prog_compiler_pic
='-DDLL_EXPORT'
9480 darwin
* | rhapsody
*)
9481 # PIC is the default on this platform
9482 # Common symbols not allowed in MH_DYLIB files
9483 lt_prog_compiler_pic
='-fno-common'
9487 # PIC is the default for Haiku.
9488 # The "-static" flag exists, but is broken.
9489 lt_prog_compiler_static
=
9493 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9494 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9495 # sets the default TLS model and affects inlining.
9501 lt_prog_compiler_pic
='-fPIC'
9507 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9508 # Instead, we relocate shared libraries at runtime.
9512 # Just because we use GCC doesn't mean we suddenly get shared libraries
9513 # on systems that don't support them.
9514 lt_prog_compiler_can_build_shared
=no
9519 # QNX uses GNU C++, but need to define -shared option too, otherwise
9521 lt_prog_compiler_pic
='-fPIC -shared'
9525 if test -d /usr
/nec
; then
9526 lt_prog_compiler_pic
=-Kconform_pic
9531 lt_prog_compiler_pic
='-fPIC'
9535 case $cc_basename in
9536 nvcc
*) # Cuda Compiler Driver 2.2
9537 lt_prog_compiler_wl
='-Xlinker '
9538 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9542 # PORTME Check for flag to pass linker flags through the system compiler.
9545 lt_prog_compiler_wl
='-Wl,'
9546 if test "$host_cpu" = ia64
; then
9547 # AIX 5 now supports IA64 processor
9548 lt_prog_compiler_static
='-Bstatic'
9550 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9554 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9555 # This hack is so that the source file can tell whether it is being
9556 # built for inclusion in a dll (and should export symbols for example).
9557 lt_prog_compiler_pic
='-DDLL_EXPORT'
9560 hpux9
* | hpux10
* | hpux11
*)
9561 lt_prog_compiler_wl
='-Wl,'
9562 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9569 lt_prog_compiler_pic
='+Z'
9572 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9573 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9576 irix5
* | irix6
* | nonstopux
*)
9577 lt_prog_compiler_wl
='-Wl,'
9578 # PIC (with -KPIC) is the default.
9579 lt_prog_compiler_static
='-non_shared'
9582 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9583 case $cc_basename in
9584 # old Intel for x86_64 which still supported -KPIC.
9586 lt_prog_compiler_wl
='-Wl,'
9587 lt_prog_compiler_pic
='-KPIC'
9588 lt_prog_compiler_static
='-static'
9590 # icc used to be incompatible with GCC.
9591 # ICC 10 doesn't accept -KPIC any more.
9593 lt_prog_compiler_wl
='-Wl,'
9594 lt_prog_compiler_pic
='-fPIC'
9595 lt_prog_compiler_static
='-static'
9597 # Lahey Fortran 8.1.
9599 lt_prog_compiler_wl
='-Wl,'
9600 lt_prog_compiler_pic
='--shared'
9601 lt_prog_compiler_static
='--static'
9603 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9604 # Portland Group compilers (*not* the Pentium gcc compiler,
9605 # which looks to be a dead project)
9606 lt_prog_compiler_wl
='-Wl,'
9607 lt_prog_compiler_pic
='-fpic'
9608 lt_prog_compiler_static
='-Bstatic'
9611 lt_prog_compiler_wl
='-Wl,'
9612 # All Alpha code is PIC.
9613 lt_prog_compiler_static
='-non_shared'
9615 xl
* | bgxl
* | bgf
* | mpixl
*)
9616 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9617 lt_prog_compiler_wl
='-Wl,'
9618 lt_prog_compiler_pic
='-qpic'
9619 lt_prog_compiler_static
='-qstaticlink'
9622 case `$CC -V 2>&1 | sed 5q` in
9623 *Sun\ F
* |
*Sun
*Fortran
*)
9624 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9625 lt_prog_compiler_pic
='-KPIC'
9626 lt_prog_compiler_static
='-Bstatic'
9627 lt_prog_compiler_wl
=''
9631 lt_prog_compiler_pic
='-KPIC'
9632 lt_prog_compiler_static
='-Bstatic'
9633 lt_prog_compiler_wl
='-Wl,'
9641 lt_prog_compiler_pic
='-KPIC'
9642 lt_prog_compiler_static
='-Bstatic'
9646 # QNX uses GNU C++, but need to define -shared option too, otherwise
9648 lt_prog_compiler_pic
='-fPIC -shared'
9651 osf3
* | osf4
* | osf5
*)
9652 lt_prog_compiler_wl
='-Wl,'
9653 # All OSF/1 code is PIC.
9654 lt_prog_compiler_static
='-non_shared'
9658 lt_prog_compiler_static
='-non_shared'
9662 lt_prog_compiler_pic
='-KPIC'
9663 lt_prog_compiler_static
='-Bstatic'
9664 case $cc_basename in
9666 lt_prog_compiler_wl
='-Qoption ld ';;
9668 lt_prog_compiler_wl
='-Wl,';;
9673 lt_prog_compiler_wl
='-Qoption ld '
9674 lt_prog_compiler_pic
='-PIC'
9675 lt_prog_compiler_static
='-Bstatic'
9678 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9679 lt_prog_compiler_wl
='-Wl,'
9680 lt_prog_compiler_pic
='-KPIC'
9681 lt_prog_compiler_static
='-Bstatic'
9685 if test -d /usr
/nec
;then
9686 lt_prog_compiler_pic
='-Kconform_pic'
9687 lt_prog_compiler_static
='-Bstatic'
9691 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9692 lt_prog_compiler_wl
='-Wl,'
9693 lt_prog_compiler_pic
='-KPIC'
9694 lt_prog_compiler_static
='-Bstatic'
9698 lt_prog_compiler_wl
='-Wl,'
9699 lt_prog_compiler_can_build_shared
=no
9703 lt_prog_compiler_pic
='-pic'
9704 lt_prog_compiler_static
='-Bstatic'
9708 lt_prog_compiler_can_build_shared
=no
9714 # For platforms which do not support PIC, -DPIC is meaningless:
9716 lt_prog_compiler_pic
=
9719 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9723 $as_echo "$lt_prog_compiler_pic" >&6; }
9731 # Check to make sure the PIC flag actually works.
9733 if test -n "$lt_prog_compiler_pic"; then
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9735 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9736 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9737 $as_echo_n "(cached) " >&6
9739 lt_cv_prog_compiler_pic_works
=no
9740 ac_outfile
=conftest.
$ac_objext
9741 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9742 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9743 # Insert the option either (1) after the last *FLAGS variable, or
9744 # (2) before a word containing "conftest.", or (3) at the end.
9745 # Note that $ac_compile itself does not contain backslashes and begins
9746 # with a dollar sign (not a hyphen), so the echo should work correctly.
9747 # The option is referenced via a variable to avoid confusing sed.
9748 lt_compile
=`echo "$ac_compile" | $SED \
9749 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9750 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9751 -e 's:$: $lt_compiler_flag:'`
9752 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9753 (eval "$lt_compile" 2>conftest.err
)
9755 cat conftest.err
>&5
9756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9757 if (exit $ac_status) && test -s "$ac_outfile"; then
9758 # The compiler can only warn and ignore the option if not recognized
9759 # So say no if there are warnings other than the usual output.
9760 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9761 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9762 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9763 lt_cv_prog_compiler_pic_works
=yes
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9770 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9772 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9773 case $lt_prog_compiler_pic in
9775 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9778 lt_prog_compiler_pic
=
9779 lt_prog_compiler_can_build_shared
=no
9790 # Check to make sure the static flag actually works.
9792 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9794 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9795 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9796 $as_echo_n "(cached) " >&6
9798 lt_cv_prog_compiler_static_works
=no
9799 save_LDFLAGS
="$LDFLAGS"
9800 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9801 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9802 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9803 # The linker can only warn and ignore the option if not recognized
9804 # So say no if there are warnings
9805 if test -s conftest.err
; then
9806 # Append any errors to the config.log.
9807 cat conftest.err
1>&5
9808 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9809 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9810 if diff conftest.exp conftest.er2
>/dev
/null
; then
9811 lt_cv_prog_compiler_static_works
=yes
9814 lt_cv_prog_compiler_static_works
=yes
9818 LDFLAGS
="$save_LDFLAGS"
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9822 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9824 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9827 lt_prog_compiler_static
=
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9837 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9838 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9839 $as_echo_n "(cached) " >&6
9841 lt_cv_prog_compiler_c_o
=no
9842 $RM -r conftest
2>/dev
/null
9846 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9848 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9849 # Insert the option either (1) after the last *FLAGS variable, or
9850 # (2) before a word containing "conftest.", or (3) at the end.
9851 # Note that $ac_compile itself does not contain backslashes and begins
9852 # with a dollar sign (not a hyphen), so the echo should work correctly.
9853 lt_compile
=`echo "$ac_compile" | $SED \
9854 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9855 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9856 -e 's:$: $lt_compiler_flag:'`
9857 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9858 (eval "$lt_compile" 2>out
/conftest.err
)
9860 cat out
/conftest.err
>&5
9861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9862 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9864 # The compiler can only warn and ignore the option if not recognized
9865 # So say no if there are warnings
9866 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9867 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9868 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9869 lt_cv_prog_compiler_c_o
=yes
9874 # SGI C++ compiler will create directory out/ii_files/ for
9875 # template instantiation
9876 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9877 $RM out
/* && rmdir out
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9884 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9892 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9893 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9894 $as_echo_n "(cached) " >&6
9896 lt_cv_prog_compiler_c_o
=no
9897 $RM -r conftest
2>/dev
/null
9901 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9903 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9904 # Insert the option either (1) after the last *FLAGS variable, or
9905 # (2) before a word containing "conftest.", or (3) at the end.
9906 # Note that $ac_compile itself does not contain backslashes and begins
9907 # with a dollar sign (not a hyphen), so the echo should work correctly.
9908 lt_compile
=`echo "$ac_compile" | $SED \
9909 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9910 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9911 -e 's:$: $lt_compiler_flag:'`
9912 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9913 (eval "$lt_compile" 2>out
/conftest.err
)
9915 cat out
/conftest.err
>&5
9916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9917 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9919 # The compiler can only warn and ignore the option if not recognized
9920 # So say no if there are warnings
9921 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9922 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9923 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9924 lt_cv_prog_compiler_c_o
=yes
9929 # SGI C++ compiler will create directory out/ii_files/ for
9930 # template instantiation
9931 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9932 $RM out
/* && rmdir out
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9939 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9944 hard_links
="nottested"
9945 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9946 # do not overwrite the value of need_locks provided by the user
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9948 $as_echo_n "checking if we can lock with hard links... " >&6; }
9951 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9953 ln conftest.a conftest.b
2>&5 || hard_links
=no
9954 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9956 $as_echo "$hard_links" >&6; }
9957 if test "$hard_links" = no
; then
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9959 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9972 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9975 allow_undefined_flag
=
9976 always_export_symbols
=no
9978 archive_expsym_cmds
=
9979 compiler_needs_object
=no
9980 enable_shared_with_static_runtimes
=no
9981 export_dynamic_flag_spec
=
9982 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9983 hardcode_automatic
=no
9985 hardcode_direct_absolute
=no
9986 hardcode_libdir_flag_spec
=
9987 hardcode_libdir_flag_spec_ld
=
9988 hardcode_libdir_separator
=
9990 hardcode_shlibpath_var
=unsupported
9992 link_all_deplibs
=unknown
9995 old_archive_from_new_cmds
=
9996 old_archive_from_expsyms_cmds
=
9997 thread_safe_flag_spec
=
9998 whole_archive_flag_spec
=
9999 # include_expsyms should be a list of space-separated symbols to be *always*
10000 # included in the symbol list
10002 # exclude_expsyms can be an extended regexp of symbols to exclude
10003 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10004 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10005 # as well as any symbol that contains `d'.
10006 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10007 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10008 # platforms (ab)use it in PIC code, but their linkers get confused if
10009 # the symbol is explicitly referenced. Since portable code cannot
10010 # rely on this symbol name, it's probably fine to never include it in
10011 # preloaded symbol tables.
10012 # Exclude shared library initialization/finalization symbols.
10013 extract_expsyms_cmds
=
10016 cygwin
* | mingw
* | pw32
* | cegcc
*)
10017 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10018 # When not using gcc, we currently assume that we are using
10019 # Microsoft Visual C++.
10020 if test "$GCC" != yes; then
10025 # we just hope/assume this is gcc and not c89 (= MSVC++)
10035 # On some targets, GNU ld is compatible enough with the native linker
10036 # that we're better off using the native interface for both.
10037 lt_use_gnu_ld_interface
=no
10038 if test "$with_gnu_ld" = yes; then
10041 # The AIX port of GNU ld has always aspired to compatibility
10042 # with the native linker. However, as the warning in the GNU ld
10043 # block says, versions before 2.19.5* couldn't really create working
10044 # shared libraries, regardless of the interface used.
10045 case `$LD -v 2>&1` in
10046 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10047 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10048 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10050 lt_use_gnu_ld_interface
=yes
10055 lt_use_gnu_ld_interface
=yes
10060 if test "$lt_use_gnu_ld_interface" = yes; then
10061 # If archive_cmds runs LD, not CC, wlarc should be empty
10064 # Set some defaults for GNU ld with shared library support. These
10065 # are reset later if shared libraries are not supported. Putting them
10066 # here allows them to be overridden if necessary.
10067 runpath_var
=LD_RUN_PATH
10068 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10069 export_dynamic_flag_spec
='${wl}--export-dynamic'
10070 # ancient GNU ld didn't support --whole-archive et. al.
10071 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10072 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10074 whole_archive_flag_spec
=
10076 supports_anon_versioning
=no
10077 case `$LD -v 2>&1` in
10078 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10079 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10080 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10081 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10082 *\
2.11.
*) ;; # other 2.11 versions
10083 *) supports_anon_versioning
=yes ;;
10086 # See if GNU ld supports shared libraries.
10089 # On AIX/PPC, the GNU linker is very broken
10090 if test "$host_cpu" != ia64
; then
10094 *** Warning: the GNU linker, at least up to release 2.19, is reported
10095 *** to be unable to reliably create shared libraries on AIX.
10096 *** Therefore, libtool is disabling shared libraries support. If you
10097 *** really care for shared libraries, you may want to install binutils
10098 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10099 *** You will then need to restart the configuration process.
10108 # see comment about AmigaOS4 .so support
10109 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10110 archive_expsym_cmds
=''
10113 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)'
10114 hardcode_libdir_flag_spec
='-L$libdir'
10115 hardcode_minus_L
=yes
10121 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10122 allow_undefined_flag
=unsupported
10123 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10124 # support --undefined. This deserves some investigation. FIXME
10125 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10131 cygwin
* | mingw
* | pw32
* | cegcc
*)
10132 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10133 # as there is no search path for DLLs.
10134 hardcode_libdir_flag_spec
='-L$libdir'
10135 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10136 allow_undefined_flag
=unsupported
10137 always_export_symbols
=no
10138 enable_shared_with_static_runtimes
=yes
10139 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10141 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10142 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10143 # If the export-symbols file already is a .def file (1st line
10144 # is EXPORTS), use it as is; otherwise, prepend...
10145 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10146 cp $export_symbols $output_objdir/$soname.def;
10148 echo EXPORTS > $output_objdir/$soname.def;
10149 cat $export_symbols >> $output_objdir/$soname.def;
10151 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10158 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10159 link_all_deplibs
=yes
10164 hardcode_shlibpath_var
=no
10165 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10166 export_dynamic_flag_spec
='${wl}-E'
10167 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10168 # Instead, shared libraries are loaded at an image base (0x10000000 by
10169 # default) and relocated if they conflict, which is a slow very memory
10170 # consuming and fragmenting process. To avoid this, we pick a random,
10171 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10172 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10173 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10174 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'
10177 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10179 if test "$host_os" = linux-dietlibc
; then
10180 case $cc_basename in
10181 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10184 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10185 && test "$tmp_diet" = no
10187 tmp_addflag
=' $pic_flag'
10188 tmp_sharedflag
='-shared'
10189 case $cc_basename,$host_cpu in
10190 pgcc
*) # Portland Group C compiler
10191 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'
10192 tmp_addflag
=' $pic_flag'
10194 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10195 # Portland Group f77 and f90 compilers
10196 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'
10197 tmp_addflag
=' $pic_flag -Mnomain' ;;
10198 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10199 tmp_addflag
=' -i_dynamic' ;;
10200 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10201 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10202 ifc
* | ifort
*) # Intel Fortran compiler
10203 tmp_addflag
=' -nofor_main' ;;
10204 lf95
*) # Lahey Fortran 8.1
10205 whole_archive_flag_spec
=
10206 tmp_sharedflag
='--shared' ;;
10207 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10208 tmp_sharedflag
='-qmkshrobj'
10210 nvcc
*) # Cuda Compiler Driver 2.2
10211 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'
10212 compiler_needs_object
=yes
10215 case `$CC -V 2>&1 | sed 5q` in
10216 *Sun\ C
*) # Sun C 5.9
10217 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'
10218 compiler_needs_object
=yes
10219 tmp_sharedflag
='-G' ;;
10220 *Sun\ F
*) # Sun Fortran 8.3
10221 tmp_sharedflag
='-G' ;;
10223 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10225 if test "x$supports_anon_versioning" = xyes
; then
10226 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10227 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10228 echo "local: *; };" >> $output_objdir/$libname.ver~
10229 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10232 case $cc_basename in
10233 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10234 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10235 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10236 hardcode_libdir_flag_spec
=
10237 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10238 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10239 if test "x$supports_anon_versioning" = xyes
; then
10240 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10241 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10242 echo "local: *; };" >> $output_objdir/$libname.ver~
10243 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10253 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10254 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10257 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10258 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10263 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10267 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10268 *** create shared libraries on Solaris systems. Therefore, libtool
10269 *** is disabling shared libraries support. We urge you to upgrade GNU
10270 *** binutils to release 2.9.1 or newer. Another option is to modify
10271 *** your PATH or compiler configuration so that the native linker is
10272 *** used, and then restart.
10275 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10276 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10277 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10283 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10284 case `$LD -v 2>&1` in
10285 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10289 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10290 *** reliably create shared libraries on SCO systems. Therefore, libtool
10291 *** is disabling shared libraries support. We urge you to upgrade GNU
10292 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10293 *** your PATH or compiler configuration so that the native linker is
10294 *** used, and then restart.
10299 # For security reasons, it is highly recommended that you always
10300 # use absolute paths for naming shared libraries, and exclude the
10301 # DT_RUNPATH tag from executables and libraries. But doing so
10302 # requires that you compile everything twice, which is a pain.
10303 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10304 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10305 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10306 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10315 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10317 hardcode_direct
=yes
10318 hardcode_shlibpath_var
=no
10322 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10323 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10324 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10331 if test "$ld_shlibs" = no
; then
10333 hardcode_libdir_flag_spec
=
10334 export_dynamic_flag_spec
=
10335 whole_archive_flag_spec
=
10338 # PORTME fill in a description of your system's linker (not GNU ld)
10341 allow_undefined_flag
=unsupported
10342 always_export_symbols
=yes
10343 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'
10344 # Note: this linker hardcodes the directories in LIBPATH if there
10345 # are no directories specified by -L.
10346 hardcode_minus_L
=yes
10347 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10348 # Neither direct hardcoding nor static linking is supported with a
10350 hardcode_direct
=unsupported
10355 if test "$host_cpu" = ia64
; then
10356 # On IA64, the linker does run time linking by default, so we don't
10357 # have to do anything special.
10358 aix_use_runtimelinking
=no
10359 exp_sym_flag
='-Bexport'
10362 # If we're using GNU nm, then we don't want the "-C" option.
10363 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10364 # Also, AIX nm treats weak defined symbols like other global
10365 # defined symbols, whereas GNU nm marks them as "W".
10366 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10367 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'
10369 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10371 aix_use_runtimelinking
=no
10373 # Test if we are trying to use run time linking or normal
10374 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10375 # need to do runtime linking.
10376 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10377 for ld_flag
in $LDFLAGS; do
10378 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10379 aix_use_runtimelinking
=yes
10386 exp_sym_flag
='-bexport'
10387 no_entry_flag
='-bnoentry'
10390 # When large executables or shared objects are built, AIX ld can
10391 # have problems creating the table of contents. If linking a library
10392 # or program results in "error TOC overflow" add -mminimal-toc to
10393 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10394 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10397 hardcode_direct
=yes
10398 hardcode_direct_absolute
=yes
10399 hardcode_libdir_separator
=':'
10400 link_all_deplibs
=yes
10401 file_list_spec
='${wl}-f,'
10403 if test "$GCC" = yes; then
10404 case $host_os in aix4.
[012]|aix4.
[012].
*)
10405 # We only want to do this on AIX 4.2 and lower, the check
10406 # below for broken collect2 doesn't work under 4.3+
10407 collect2name
=`${CC} -print-prog-name=collect2`
10408 if test -f "$collect2name" &&
10409 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10411 # We have reworked collect2
10414 # We have old collect2
10415 hardcode_direct
=unsupported
10416 # It fails to find uninstalled libraries when the uninstalled
10417 # path is not listed in the libpath. Setting hardcode_minus_L
10418 # to unsupported forces relinking
10419 hardcode_minus_L
=yes
10420 hardcode_libdir_flag_spec
='-L$libdir'
10421 hardcode_libdir_separator
=
10425 shared_flag
='-shared'
10426 if test "$aix_use_runtimelinking" = yes; then
10427 shared_flag
="$shared_flag "'${wl}-G'
10431 if test "$host_cpu" = ia64
; then
10432 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10433 # chokes on -Wl,-G. The following line is correct:
10436 if test "$aix_use_runtimelinking" = yes; then
10437 shared_flag
='${wl}-G'
10439 shared_flag
='${wl}-bM:SRE'
10444 export_dynamic_flag_spec
='${wl}-bexpall'
10445 # It seems that -bexpall does not export symbols beginning with
10446 # underscore (_), so it is better to generate a list of symbols to export.
10447 always_export_symbols
=yes
10448 if test "$aix_use_runtimelinking" = yes; then
10449 # Warning - without using the other runtime loading flags (-brtl),
10450 # -berok will link without error, but may produce a broken library.
10451 allow_undefined_flag
='-berok'
10452 # Determine the default libpath from the value encoded in an
10453 # empty executable.
10454 if test x
$gcc_no_link = xyes
; then
10455 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10458 /* end confdefs.h. */
10468 if ac_fn_c_try_link
"$LINENO"; then :
10470 lt_aix_libpath_sed
='
10471 /Import File Strings/,/^$/ {
10477 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10478 # Check for a 64-bit object if we didn't find anything.
10479 if test -z "$aix_libpath"; then
10480 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10483 rm -f core conftest.err conftest.
$ac_objext \
10484 conftest
$ac_exeext conftest.
$ac_ext
10485 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10487 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10488 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"
10490 if test "$host_cpu" = ia64
; then
10491 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10492 allow_undefined_flag
="-z nodefs"
10493 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"
10495 # Determine the default libpath from the value encoded in an
10496 # empty executable.
10497 if test x
$gcc_no_link = xyes
; then
10498 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10501 /* end confdefs.h. */
10511 if ac_fn_c_try_link
"$LINENO"; then :
10513 lt_aix_libpath_sed
='
10514 /Import File Strings/,/^$/ {
10520 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10521 # Check for a 64-bit object if we didn't find anything.
10522 if test -z "$aix_libpath"; then
10523 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10526 rm -f core conftest.err conftest.
$ac_objext \
10527 conftest
$ac_exeext conftest.
$ac_ext
10528 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10530 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10531 # Warning - without using the other run time loading flags,
10532 # -berok will link without error, but may produce a broken library.
10533 no_undefined_flag
=' ${wl}-bernotok'
10534 allow_undefined_flag
=' ${wl}-berok'
10535 if test "$with_gnu_ld" = yes; then
10536 # We only use this code for GNU lds that support --whole-archive.
10537 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10539 # Exported symbols can be pulled into shared objects from archives
10540 whole_archive_flag_spec
='$convenience'
10542 archive_cmds_need_lc
=yes
10543 # This is similar to how AIX traditionally builds its shared libraries.
10544 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'
10552 # see comment about AmigaOS4 .so support
10553 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10554 archive_expsym_cmds
=''
10557 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)'
10558 hardcode_libdir_flag_spec
='-L$libdir'
10559 hardcode_minus_L
=yes
10565 export_dynamic_flag_spec
=-rdynamic
10568 cygwin
* | mingw
* | pw32
* | cegcc
*)
10569 # When not using gcc, we currently assume that we are using
10570 # Microsoft Visual C++.
10571 # hardcode_libdir_flag_spec is actually meaningless, as there is
10572 # no search path for DLLs.
10573 hardcode_libdir_flag_spec
=' '
10574 allow_undefined_flag
=unsupported
10575 # Tell ltmain to make .lib files, not .a files.
10577 # Tell ltmain to make .dll files, not .so files.
10579 # FIXME: Setting linknames here is a bad hack.
10580 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10581 # The linker will automatically build a .lib file if we build a DLL.
10582 old_archive_from_new_cmds
='true'
10583 # FIXME: Should let the user specify the lib program.
10584 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10585 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10586 enable_shared_with_static_runtimes
=yes
10589 darwin
* | rhapsody
*)
10592 archive_cmds_need_lc
=no
10594 hardcode_automatic
=yes
10595 hardcode_shlibpath_var
=unsupported
10596 if test "$lt_cv_ld_force_load" = "yes"; then
10597 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\"`'
10599 whole_archive_flag_spec
=''
10601 link_all_deplibs
=yes
10602 allow_undefined_flag
="$_lt_dar_allow_undefined"
10603 case $cc_basename in
10604 ifort
*) _lt_dar_can_shared
=yes ;;
10605 *) _lt_dar_can_shared
=$GCC ;;
10607 if test "$_lt_dar_can_shared" = "yes"; then
10608 output_verbose_link_cmd
=func_echo_all
10609 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10610 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10611 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}"
10612 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}"
10621 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10622 hardcode_libdir_flag_spec
='-L$libdir'
10623 hardcode_shlibpath_var
=no
10626 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10627 # support. Future versions do this automatically, but an explicit c++rt0.o
10628 # does not break anything, and helps significantly (at the cost of a little
10631 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10632 hardcode_libdir_flag_spec
='-R$libdir'
10633 hardcode_direct
=yes
10634 hardcode_shlibpath_var
=no
10637 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10639 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10640 hardcode_direct
=yes
10641 hardcode_minus_L
=yes
10642 hardcode_shlibpath_var
=no
10645 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10646 freebsd
* | dragonfly
*)
10647 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10648 hardcode_libdir_flag_spec
='-R$libdir'
10649 hardcode_direct
=yes
10650 hardcode_shlibpath_var
=no
10654 if test "$GCC" = yes; then
10655 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'
10657 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'
10659 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10660 hardcode_libdir_separator
=:
10661 hardcode_direct
=yes
10663 # hardcode_minus_L: Not really in the search PATH,
10664 # but as the default location of the library.
10665 hardcode_minus_L
=yes
10666 export_dynamic_flag_spec
='${wl}-E'
10670 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10671 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10673 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10675 if test "$with_gnu_ld" = no
; then
10676 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10677 hardcode_libdir_flag_spec_ld
='+b $libdir'
10678 hardcode_libdir_separator
=:
10679 hardcode_direct
=yes
10680 hardcode_direct_absolute
=yes
10681 export_dynamic_flag_spec
='${wl}-E'
10682 # hardcode_minus_L: Not really in the search PATH,
10683 # but as the default location of the library.
10684 hardcode_minus_L
=yes
10689 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10692 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10695 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10698 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10704 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10707 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10711 # Older versions of the 11.00 compiler do not understand -b yet
10712 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10714 $as_echo_n "checking if $CC understands -b... " >&6; }
10715 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10716 $as_echo_n "(cached) " >&6
10718 lt_cv_prog_compiler__b
=no
10719 save_LDFLAGS
="$LDFLAGS"
10720 LDFLAGS
="$LDFLAGS -b"
10721 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10722 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10723 # The linker can only warn and ignore the option if not recognized
10724 # So say no if there are warnings
10725 if test -s conftest.err
; then
10726 # Append any errors to the config.log.
10727 cat conftest.err
1>&5
10728 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10729 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10730 if diff conftest.exp conftest.er2
>/dev
/null
; then
10731 lt_cv_prog_compiler__b
=yes
10734 lt_cv_prog_compiler__b
=yes
10738 LDFLAGS
="$save_LDFLAGS"
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10742 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10744 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10745 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10747 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10753 if test "$with_gnu_ld" = no
; then
10754 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10755 hardcode_libdir_separator
=:
10760 hardcode_shlibpath_var
=no
10763 hardcode_direct
=yes
10764 hardcode_direct_absolute
=yes
10765 export_dynamic_flag_spec
='${wl}-E'
10767 # hardcode_minus_L: Not really in the search PATH,
10768 # but as the default location of the library.
10769 hardcode_minus_L
=yes
10775 irix5
* | irix6
* | nonstopux
*)
10776 if test "$GCC" = yes; then
10777 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'
10778 # Try to use the -exported_symbol ld option, if it does not
10779 # work, assume that -exports_file does not work either and
10780 # implicitly export all symbols.
10781 save_LDFLAGS
="$LDFLAGS"
10782 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10783 if test x
$gcc_no_link = xyes
; then
10784 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10787 /* end confdefs.h. */
10790 if ac_fn_c_try_link
"$LINENO"; then :
10791 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'
10794 rm -f core conftest.err conftest.
$ac_objext \
10795 conftest
$ac_exeext conftest.
$ac_ext
10796 LDFLAGS
="$save_LDFLAGS"
10798 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'
10799 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'
10801 archive_cmds_need_lc
='no'
10802 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10803 hardcode_libdir_separator
=:
10805 link_all_deplibs
=yes
10809 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10810 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10812 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10814 hardcode_libdir_flag_spec
='-R$libdir'
10815 hardcode_direct
=yes
10816 hardcode_shlibpath_var
=no
10820 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10821 hardcode_direct
=yes
10822 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10823 hardcode_libdir_separator
=:
10824 hardcode_shlibpath_var
=no
10831 if test -f /usr
/libexec
/ld.so
; then
10832 hardcode_direct
=yes
10833 hardcode_shlibpath_var
=no
10834 hardcode_direct_absolute
=yes
10835 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10836 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10837 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10838 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10839 export_dynamic_flag_spec
='${wl}-E'
10842 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10843 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10844 hardcode_libdir_flag_spec
='-R$libdir'
10847 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10848 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10858 hardcode_libdir_flag_spec
='-L$libdir'
10859 hardcode_minus_L
=yes
10860 allow_undefined_flag
=unsupported
10861 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'
10862 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10866 if test "$GCC" = yes; then
10867 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10868 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'
10870 allow_undefined_flag
=' -expect_unresolved \*'
10871 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'
10873 archive_cmds_need_lc
='no'
10874 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10875 hardcode_libdir_separator
=:
10878 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10879 if test "$GCC" = yes; then
10880 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10881 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'
10882 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10884 allow_undefined_flag
=' -expect_unresolved \*'
10885 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'
10886 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~
10887 $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'
10889 # Both c and cxx compiler support -rpath directly
10890 hardcode_libdir_flag_spec
='-rpath $libdir'
10892 archive_cmds_need_lc
='no'
10893 hardcode_libdir_separator
=:
10897 no_undefined_flag
=' -z defs'
10898 if test "$GCC" = yes; then
10900 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10901 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10902 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10904 case `$CC -V 2>&1` in
10907 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10908 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10909 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10913 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10914 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10915 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10919 hardcode_libdir_flag_spec
='-R$libdir'
10920 hardcode_shlibpath_var
=no
10922 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10924 # The compiler driver will combine and reorder linker options,
10925 # but understands `-z linker_flag'. GCC discards it without `$wl',
10926 # but is careful enough not to reorder.
10927 # Supported since Solaris 2.6 (maybe 2.5.1?)
10928 if test "$GCC" = yes; then
10929 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10931 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10935 link_all_deplibs
=yes
10939 if test "x$host_vendor" = xsequent
; then
10940 # Use $CC to link under sequent, because it throws in some extra .o
10941 # files that make .init and .fini sections work.
10942 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10944 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10946 hardcode_libdir_flag_spec
='-L$libdir'
10947 hardcode_direct
=yes
10948 hardcode_minus_L
=yes
10949 hardcode_shlibpath_var
=no
10953 case $host_vendor in
10955 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10956 hardcode_direct
=yes # is this really true???
10959 ## LD is ld it makes a PLAMLIB
10960 ## CC just makes a GrossModule.
10961 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10962 reload_cmds
='$CC -r -o $output$reload_objs'
10966 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10967 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10970 runpath_var
='LD_RUN_PATH'
10971 hardcode_shlibpath_var
=no
10975 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10976 hardcode_shlibpath_var
=no
10977 export_dynamic_flag_spec
='-Bexport'
10981 if test -d /usr
/nec
; then
10982 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10983 hardcode_shlibpath_var
=no
10984 runpath_var
=LD_RUN_PATH
10985 hardcode_runpath_var
=yes
10990 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10991 no_undefined_flag
='${wl}-z,text'
10992 archive_cmds_need_lc
=no
10993 hardcode_shlibpath_var
=no
10994 runpath_var
='LD_RUN_PATH'
10996 if test "$GCC" = yes; then
10997 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10998 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11000 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11001 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11005 sysv5
* | sco3.2v5
* | sco5v6
*)
11006 # Note: We can NOT use -z defs as we might desire, because we do not
11007 # link with -lc, and that would cause any symbols used from libc to
11008 # always be unresolved, which means just about no library would
11009 # ever link correctly. If we're not using GNU ld we use -z text
11010 # though, which does catch some bad symbols but isn't as heavy-handed
11012 no_undefined_flag
='${wl}-z,text'
11013 allow_undefined_flag
='${wl}-z,nodefs'
11014 archive_cmds_need_lc
=no
11015 hardcode_shlibpath_var
=no
11016 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11017 hardcode_libdir_separator
=':'
11018 link_all_deplibs
=yes
11019 export_dynamic_flag_spec
='${wl}-Bexport'
11020 runpath_var
='LD_RUN_PATH'
11022 if test "$GCC" = yes; then
11023 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11024 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11026 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11027 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11032 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11033 hardcode_libdir_flag_spec
='-L$libdir'
11034 hardcode_shlibpath_var
=no
11042 if test x
$host_vendor = xsni
; then
11044 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11045 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11052 $as_echo "$ld_shlibs" >&6; }
11053 test "$ld_shlibs" = no
&& can_build_shared
=no
11055 with_gnu_ld
=$with_gnu_ld
11072 # Do we need to explicitly link libc?
11074 case "x$archive_cmds_need_lc" in
11076 # Assume -lc should be added
11077 archive_cmds_need_lc
=yes
11079 if test "$enable_shared" = yes && test "$GCC" = yes; then
11080 case $archive_cmds in
11082 # FIXME: we may have to deal with multi-command sequences.
11085 # Test whether the compiler implicitly links with -lc since on some
11086 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11087 # to ld, don't add -lc before -lgcc.
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11089 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11090 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
11091 $as_echo_n "(cached) " >&6
11094 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11096 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11097 (eval $ac_compile) 2>&5
11099 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11100 test $ac_status = 0; } 2>conftest.err
; then
11103 libobjs
=conftest.
$ac_objext
11105 wl
=$lt_prog_compiler_wl
11106 pic_flag
=$lt_prog_compiler_pic
11112 lt_save_allow_undefined_flag
=$allow_undefined_flag
11113 allow_undefined_flag
=
11114 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11115 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11118 test $ac_status = 0; }
11120 lt_cv_archive_cmds_need_lc
=no
11122 lt_cv_archive_cmds_need_lc
=yes
11124 allow_undefined_flag
=$lt_save_allow_undefined_flag
11126 cat conftest.err
1>&5
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11132 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11133 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11297 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11299 if test "$GCC" = yes; then
11301 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11302 *) lt_awk_arg
="/^libraries:/" ;;
11305 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11306 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11308 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11309 case $lt_search_path_spec in
11311 # if the path contains ";" then we assume it to be the separator
11312 # otherwise default to the standard path separator (i.e. ":") - it is
11313 # assumed that no part of a normal pathname contains ";" but that should
11314 # okay in the real world where ";" in dirpaths is itself problematic.
11315 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11318 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11321 # Ok, now we have the path, separated by spaces, we can step through it
11322 # and add multilib dir if necessary.
11323 lt_tmp_lt_search_path_spec
=
11324 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11325 for lt_sys_path
in $lt_search_path_spec; do
11326 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11327 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11329 test -d "$lt_sys_path" && \
11330 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11333 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11334 BEGIN {RS=" "; FS="/|\n";} {
11337 for (lt_i = NF; lt_i > 0; lt_i--) {
11338 if ($lt_i != "" && $lt_i != ".") {
11339 if ($lt_i == "..") {
11342 if (lt_count == 0) {
11343 lt_foo="/" $lt_i lt_foo;
11350 if (lt_foo != "") { lt_freq[lt_foo]++; }
11351 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11353 # AWK program above erroneously prepends '/' to C:/dos/paths
11356 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11357 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11359 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11361 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11363 library_names_spec
=
11364 libname_spec
='lib$name'
11368 postuninstall_cmds
=
11372 shlibpath_overrides_runpath
=unknown
11374 dynamic_linker
="$host_os ld.so"
11375 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11376 need_lib_prefix
=unknown
11377 hardcode_into_libs
=no
11379 # when you set need_version to no, make sure it does not cause -set_version
11380 # flags to be left without arguments
11381 need_version
=unknown
11386 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11387 shlibpath_var
=LIBPATH
11389 # AIX 3 has no versioning support, so we append a major version to the name.
11390 soname_spec
='${libname}${release}${shared_ext}$major'
11397 hardcode_into_libs
=yes
11398 if test "$host_cpu" = ia64
; then
11399 # AIX 5 supports IA64
11400 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11401 shlibpath_var
=LD_LIBRARY_PATH
11403 # With GCC up to 2.95.x, collect2 would create an import file
11404 # for dependence libraries. The import file would start with
11405 # the line `#! .'. This would cause the generated library to
11406 # depend on `.', always an invalid library. This was fixed in
11407 # development snapshots of GCC prior to 3.0.
11409 aix4 | aix4.
[01] | aix4.
[01].
*)
11410 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11412 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11415 can_build_shared
=no
11419 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11420 # soname into executable. Probably we can add versioning support to
11421 # collect2, so additional links can be useful in future.
11422 if test "$aix_use_runtimelinking" = yes; then
11423 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11424 # instead of lib<name>.a to let people know that these are not
11425 # typical AIX shared libraries.
11426 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11428 # We preserve .a as extension for shared libraries through AIX4.2
11429 # and later when we are not doing run time linking.
11430 library_names_spec
='${libname}${release}.a $libname.a'
11431 soname_spec
='${libname}${release}${shared_ext}$major'
11433 shlibpath_var
=LIBPATH
11440 # Since July 2007 AmigaOS4 officially supports .so libraries.
11441 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11442 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11445 library_names_spec
='$libname.ixlibrary $libname.a'
11446 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11447 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'
11453 library_names_spec
='${libname}${shared_ext}'
11454 dynamic_linker
="$host_os ld.so"
11455 shlibpath_var
=LIBRARY_PATH
11461 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11462 soname_spec
='${libname}${release}${shared_ext}$major'
11463 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11464 shlibpath_var
=LD_LIBRARY_PATH
11465 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11466 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11467 # the default ld.so.conf also contains /usr/contrib/lib and
11468 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11469 # libtool to hard-code these into programs
11472 cygwin
* | mingw
* | pw32
* | cegcc
*)
11473 version_type
=windows
11478 case $GCC,$host_os in
11479 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11480 library_names_spec
='$libname.dll.a'
11481 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11482 postinstall_cmds
='base_file=`basename \${file}`~
11483 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11484 dldir=$destdir/`dirname \$dlpath`~
11485 test -d \$dldir || mkdir -p \$dldir~
11486 $install_prog $dir/$dlname \$dldir/$dlname~
11487 chmod a+x \$dldir/$dlname~
11488 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11489 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11491 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11492 dlpath=$dir/\$dldll~
11494 shlibpath_overrides_runpath
=yes
11498 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11499 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11501 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11504 # MinGW DLLs use traditional 'lib' prefix
11505 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11508 # pw32 DLLs use 'pw' prefix rather than 'lib'
11509 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11515 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11518 dynamic_linker
='Win32 ld.exe'
11519 # FIXME: first we should search . and the directory the executable is in
11523 darwin
* | rhapsody
*)
11524 dynamic_linker
="$host_os dyld"
11525 version_type
=darwin
11528 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11529 soname_spec
='${libname}${release}${major}$shared_ext'
11530 shlibpath_overrides_runpath
=yes
11531 shlibpath_var
=DYLD_LIBRARY_PATH
11532 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11534 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11535 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11542 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11543 soname_spec
='${libname}${release}${shared_ext}$major'
11544 shlibpath_var
=LD_LIBRARY_PATH
11547 freebsd
* | dragonfly
*)
11548 # DragonFly does not have aout. When/if they implement a new
11549 # versioning mechanism, adjust this.
11550 if test -x /usr
/bin
/objformat
; then
11551 objformat
=`/usr/bin/objformat`
11554 freebsd
[23].
*) objformat
=aout
;;
11555 *) objformat
=elf
;;
11558 version_type
=freebsd-
$objformat
11559 case $version_type in
11561 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11566 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11570 shlibpath_var
=LD_LIBRARY_PATH
11573 shlibpath_overrides_runpath
=yes
11575 freebsd3.
[01]* | freebsdelf3.
[01]*)
11576 shlibpath_overrides_runpath
=yes
11577 hardcode_into_libs
=yes
11579 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11580 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11581 shlibpath_overrides_runpath
=no
11582 hardcode_into_libs
=yes
11584 *) # from 4.6 on, and DragonFly
11585 shlibpath_overrides_runpath
=yes
11586 hardcode_into_libs
=yes
11595 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11596 soname_spec
='${libname}${release}${shared_ext}$major'
11597 shlibpath_var
=LD_LIBRARY_PATH
11598 hardcode_into_libs
=yes
11605 dynamic_linker
="$host_os runtime_loader"
11606 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11607 soname_spec
='${libname}${release}${shared_ext}$major'
11608 shlibpath_var
=LIBRARY_PATH
11609 shlibpath_overrides_runpath
=yes
11610 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11611 hardcode_into_libs
=yes
11614 hpux9
* | hpux10
* | hpux11
*)
11615 # Give a soname corresponding to the major version so that dld.sl refuses to
11616 # link against other versions.
11623 hardcode_into_libs
=yes
11624 dynamic_linker
="$host_os dld.so"
11625 shlibpath_var
=LD_LIBRARY_PATH
11626 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11627 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11628 soname_spec
='${libname}${release}${shared_ext}$major'
11629 if test "X$HPUX_IA64_MODE" = X32
; then
11630 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11632 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11634 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11638 hardcode_into_libs
=yes
11639 dynamic_linker
="$host_os dld.sl"
11640 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11641 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11642 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11643 soname_spec
='${libname}${release}${shared_ext}$major'
11644 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11645 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11649 dynamic_linker
="$host_os dld.sl"
11650 shlibpath_var
=SHLIB_PATH
11651 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11652 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11653 soname_spec
='${libname}${release}${shared_ext}$major'
11656 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11657 postinstall_cmds
='chmod 555 $lib'
11658 # or fails outright, so override atomically:
11659 install_override_mode
=555
11666 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11667 soname_spec
='${libname}${release}${shared_ext}$major'
11668 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11669 shlibpath_var
=LD_LIBRARY_PATH
11670 shlibpath_overrides_runpath
=no
11671 hardcode_into_libs
=yes
11674 irix5
* | irix6
* | nonstopux
*)
11676 nonstopux
*) version_type
=nonstopux
;;
11678 if test "$lt_cv_prog_gnu_ld" = yes; then
11686 soname_spec
='${libname}${release}${shared_ext}$major'
11687 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11689 irix5
* | nonstopux
*)
11690 libsuff
= shlibsuff
=
11693 case $LD in # libtool.m4 will add one of these switches to LD
11694 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11695 libsuff
= shlibsuff
= libmagic
=32-bit;;
11696 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11697 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11698 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11699 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11700 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11704 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11705 shlibpath_overrides_runpath
=no
11706 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11707 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11708 hardcode_into_libs
=yes
11711 # No shared lib support for Linux oldld, aout, or coff.
11712 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11716 # This must be Linux ELF.
11717 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11721 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11722 soname_spec
='${libname}${release}${shared_ext}$major'
11723 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11724 shlibpath_var
=LD_LIBRARY_PATH
11725 shlibpath_overrides_runpath
=no
11727 # Some binutils ld are patched to set DT_RUNPATH
11728 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11729 $as_echo_n "(cached) " >&6
11731 lt_cv_shlibpath_overrides_runpath
=no
11732 save_LDFLAGS
=$LDFLAGS
11733 save_libdir
=$libdir
11734 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11735 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11736 if test x
$gcc_no_link = xyes
; then
11737 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11740 /* end confdefs.h. */
11750 if ac_fn_c_try_link
"$LINENO"; then :
11751 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11752 lt_cv_shlibpath_overrides_runpath
=yes
11755 rm -f core conftest.err conftest.
$ac_objext \
11756 conftest
$ac_exeext conftest.
$ac_ext
11757 LDFLAGS
=$save_LDFLAGS
11758 libdir
=$save_libdir
11762 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11764 # This implies no fast_install, which is unacceptable.
11765 # Some rework will be needed to allow for fast_install
11766 # before this can be enabled.
11767 hardcode_into_libs
=yes
11769 # Append ld.so.conf contents to the search path
11770 if test -f /etc
/ld.so.conf
; then
11771 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' ' '`
11772 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11775 # We used to test for /lib/ld.so.1 and disable shared libraries on
11776 # powerpc, because MkLinux only supported shared libraries with the
11777 # GNU dynamic linker. Since this was broken with cross compilers,
11778 # most powerpc-linux boxes support dynamic linking these days and
11779 # people can always --disable-shared, the test was removed, and we
11780 # assume the GNU/Linux dynamic linker is in use.
11781 dynamic_linker
='GNU/Linux ld.so'
11788 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11789 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11790 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11791 dynamic_linker
='NetBSD (a.out) ld.so'
11793 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11794 soname_spec
='${libname}${release}${shared_ext}$major'
11795 dynamic_linker
='NetBSD ld.elf_so'
11797 shlibpath_var
=LD_LIBRARY_PATH
11798 shlibpath_overrides_runpath
=yes
11799 hardcode_into_libs
=yes
11804 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11805 shlibpath_var
=LD_LIBRARY_PATH
11806 shlibpath_overrides_runpath
=yes
11813 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11814 soname_spec
='${libname}${release}${shared_ext}$major'
11815 shlibpath_var
=LD_LIBRARY_PATH
11816 shlibpath_overrides_runpath
=no
11817 hardcode_into_libs
=yes
11818 dynamic_linker
='ldqnx.so'
11823 sys_lib_dlsearch_path_spec
="/usr/lib"
11825 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11827 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11828 *) need_version
=no
;;
11830 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11831 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11832 shlibpath_var
=LD_LIBRARY_PATH
11833 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11835 openbsd2.
[89] | openbsd2.
[89].
*)
11836 shlibpath_overrides_runpath
=no
11839 shlibpath_overrides_runpath
=yes
11843 shlibpath_overrides_runpath
=yes
11848 libname_spec
='$name'
11851 library_names_spec
='$libname${shared_ext} $libname.a'
11852 dynamic_linker
='OS/2 ld.exe'
11853 shlibpath_var
=LIBPATH
11856 osf3
* | osf4
* | osf5
*)
11860 soname_spec
='${libname}${release}${shared_ext}$major'
11861 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11862 shlibpath_var
=LD_LIBRARY_PATH
11863 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11864 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11875 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11876 soname_spec
='${libname}${release}${shared_ext}$major'
11877 shlibpath_var
=LD_LIBRARY_PATH
11878 shlibpath_overrides_runpath
=yes
11879 hardcode_into_libs
=yes
11880 # ldd complains unless libraries are executable
11881 postinstall_cmds
='chmod +x $lib'
11886 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11887 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11888 shlibpath_var
=LD_LIBRARY_PATH
11889 shlibpath_overrides_runpath
=yes
11890 if test "$with_gnu_ld" = yes; then
11898 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11899 soname_spec
='${libname}${release}${shared_ext}$major'
11900 shlibpath_var
=LD_LIBRARY_PATH
11901 case $host_vendor in
11903 shlibpath_overrides_runpath
=no
11905 runpath_var
=LD_RUN_PATH
11913 shlibpath_overrides_runpath
=no
11914 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11920 if test -d /usr
/nec
;then
11922 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11923 soname_spec
='$libname${shared_ext}.$major'
11924 shlibpath_var
=LD_LIBRARY_PATH
11928 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11929 version_type
=freebsd-elf
11932 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11933 soname_spec
='${libname}${release}${shared_ext}$major'
11934 shlibpath_var
=LD_LIBRARY_PATH
11935 shlibpath_overrides_runpath
=yes
11936 hardcode_into_libs
=yes
11937 if test "$with_gnu_ld" = yes; then
11938 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11940 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11943 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11947 sys_lib_dlsearch_path_spec
='/usr/lib'
11951 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11955 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11956 shlibpath_var
=LD_LIBRARY_PATH
11957 shlibpath_overrides_runpath
=no
11958 hardcode_into_libs
=yes
11963 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11964 soname_spec
='${libname}${release}${shared_ext}$major'
11965 shlibpath_var
=LD_LIBRARY_PATH
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11973 $as_echo "$dynamic_linker" >&6; }
11974 test "$dynamic_linker" = no
&& can_build_shared
=no
11976 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11977 if test "$GCC" = yes; then
11978 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11981 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11982 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11984 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11985 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12080 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12082 if test -n "$hardcode_libdir_flag_spec" ||
12083 test -n "$runpath_var" ||
12084 test "X$hardcode_automatic" = "Xyes" ; then
12086 # We can hardcode non-existent directories.
12087 if test "$hardcode_direct" != no
&&
12088 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12089 # have to relink, otherwise we might link with an installed library
12090 # when we should be linking with a yet-to-be-installed one
12091 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12092 test "$hardcode_minus_L" != no
; then
12093 # Linking always hardcodes the temporary library directory.
12094 hardcode_action
=relink
12096 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12097 hardcode_action
=immediate
12100 # We cannot hardcode anything, or else we can only hardcode existing
12102 hardcode_action
=unsupported
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12105 $as_echo "$hardcode_action" >&6; }
12107 if test "$hardcode_action" = relink ||
12108 test "$inherit_rpath" = yes; then
12109 # Fast installation is not supported
12110 enable_fast_install
=no
12111 elif test "$shlibpath_overrides_runpath" = yes ||
12112 test "$enable_shared" = no
; then
12113 # Fast installation is not necessary
12114 enable_fast_install
=needless
12122 if test "x$enable_dlopen" != xyes
; then
12123 enable_dlopen
=unknown
12124 enable_dlopen_self
=unknown
12125 enable_dlopen_self_static
=unknown
12132 lt_cv_dlopen
="load_add_on"
12134 lt_cv_dlopen_self
=yes
12137 mingw
* | pw32
* | cegcc
*)
12138 lt_cv_dlopen
="LoadLibrary"
12143 lt_cv_dlopen
="dlopen"
12148 # if libdl is installed we need to link against it
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12150 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12151 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12152 $as_echo_n "(cached) " >&6
12154 ac_check_lib_save_LIBS
=$LIBS
12156 if test x
$gcc_no_link = xyes
; then
12157 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12160 /* end confdefs.h. */
12162 /* Override any GCC internal prototype to avoid an error.
12163 Use char because int might match the return type of a GCC
12164 builtin and then its argument prototype would still apply. */
12177 if ac_fn_c_try_link
"$LINENO"; then :
12178 ac_cv_lib_dl_dlopen
=yes
12180 ac_cv_lib_dl_dlopen
=no
12182 rm -f core conftest.err conftest.
$ac_objext \
12183 conftest
$ac_exeext conftest.
$ac_ext
12184 LIBS
=$ac_check_lib_save_LIBS
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12187 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12188 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12189 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12192 lt_cv_dlopen
="dyld"
12194 lt_cv_dlopen_self
=yes
12201 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12202 if test "x$ac_cv_func_shl_load" = x
""yes; then :
12203 lt_cv_dlopen
="shl_load"
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12206 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12207 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12208 $as_echo_n "(cached) " >&6
12210 ac_check_lib_save_LIBS
=$LIBS
12212 if test x
$gcc_no_link = xyes
; then
12213 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12216 /* end confdefs.h. */
12218 /* Override any GCC internal prototype to avoid an error.
12219 Use char because int might match the return type of a GCC
12220 builtin and then its argument prototype would still apply. */
12228 return shl_load ();
12233 if ac_fn_c_try_link
"$LINENO"; then :
12234 ac_cv_lib_dld_shl_load
=yes
12236 ac_cv_lib_dld_shl_load
=no
12238 rm -f core conftest.err conftest.
$ac_objext \
12239 conftest
$ac_exeext conftest.
$ac_ext
12240 LIBS
=$ac_check_lib_save_LIBS
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12243 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12244 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
12245 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12247 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12248 if test "x$ac_cv_func_dlopen" = x
""yes; then :
12249 lt_cv_dlopen
="dlopen"
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12252 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12253 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12254 $as_echo_n "(cached) " >&6
12256 ac_check_lib_save_LIBS
=$LIBS
12258 if test x
$gcc_no_link = xyes
; then
12259 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12262 /* end confdefs.h. */
12264 /* Override any GCC internal prototype to avoid an error.
12265 Use char because int might match the return type of a GCC
12266 builtin and then its argument prototype would still apply. */
12279 if ac_fn_c_try_link
"$LINENO"; then :
12280 ac_cv_lib_dl_dlopen
=yes
12282 ac_cv_lib_dl_dlopen
=no
12284 rm -f core conftest.err conftest.
$ac_objext \
12285 conftest
$ac_exeext conftest.
$ac_ext
12286 LIBS
=$ac_check_lib_save_LIBS
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12289 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12290 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12291 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12294 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12295 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12296 $as_echo_n "(cached) " >&6
12298 ac_check_lib_save_LIBS
=$LIBS
12299 LIBS
="-lsvld $LIBS"
12300 if test x
$gcc_no_link = xyes
; then
12301 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12303 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12304 /* end confdefs.h. */
12306 /* Override any GCC internal prototype to avoid an error.
12307 Use char because int might match the return type of a GCC
12308 builtin and then its argument prototype would still apply. */
12321 if ac_fn_c_try_link
"$LINENO"; then :
12322 ac_cv_lib_svld_dlopen
=yes
12324 ac_cv_lib_svld_dlopen
=no
12326 rm -f core conftest.err conftest.
$ac_objext \
12327 conftest
$ac_exeext conftest.
$ac_ext
12328 LIBS
=$ac_check_lib_save_LIBS
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12331 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12332 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
12333 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12336 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12337 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12338 $as_echo_n "(cached) " >&6
12340 ac_check_lib_save_LIBS
=$LIBS
12342 if test x
$gcc_no_link = xyes
; then
12343 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12346 /* end confdefs.h. */
12348 /* Override any GCC internal prototype to avoid an error.
12349 Use char because int might match the return type of a GCC
12350 builtin and then its argument prototype would still apply. */
12358 return dld_link ();
12363 if ac_fn_c_try_link
"$LINENO"; then :
12364 ac_cv_lib_dld_dld_link
=yes
12366 ac_cv_lib_dld_dld_link
=no
12368 rm -f core conftest.err conftest.
$ac_objext \
12369 conftest
$ac_exeext conftest.
$ac_ext
12370 LIBS
=$ac_check_lib_save_LIBS
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12373 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12374 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
12375 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12396 if test "x$lt_cv_dlopen" != xno
; then
12402 case $lt_cv_dlopen in
12404 save_CPPFLAGS
="$CPPFLAGS"
12405 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12407 save_LDFLAGS
="$LDFLAGS"
12408 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12411 LIBS
="$lt_cv_dlopen_libs $LIBS"
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12414 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12415 if test "${lt_cv_dlopen_self+set}" = set; then :
12416 $as_echo_n "(cached) " >&6
12418 if test "$cross_compiling" = yes; then :
12419 lt_cv_dlopen_self
=cross
12421 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12422 lt_status
=$lt_dlunknown
12423 cat > conftest.
$ac_ext <<_LT_EOF
12424 #line 12424 "configure"
12425 #include "confdefs.h"
12434 # define LT_DLGLOBAL RTLD_GLOBAL
12437 # define LT_DLGLOBAL DL_GLOBAL
12439 # define LT_DLGLOBAL 0
12443 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12444 find out it does not work in some platform. */
12445 #ifndef LT_DLLAZY_OR_NOW
12447 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12450 # define LT_DLLAZY_OR_NOW DL_LAZY
12453 # define LT_DLLAZY_OR_NOW RTLD_NOW
12456 # define LT_DLLAZY_OR_NOW DL_NOW
12458 # define LT_DLLAZY_OR_NOW 0
12465 /* When -fvisbility=hidden is used, assume the code has been annotated
12466 correspondingly for the symbols needed. */
12467 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12468 void fnord () __attribute__((visibility("default")));
12471 void fnord () { int i=42; }
12474 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12475 int status = $lt_dlunknown;
12479 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12482 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12483 else puts (dlerror ());
12485 /* dlclose (self); */
12493 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12494 (eval $ac_link) 2>&5
12496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12497 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12498 (.
/conftest
; exit; ) >&5 2>/dev
/null
12500 case x
$lt_status in
12501 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12502 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12503 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12506 # compilation failed
12507 lt_cv_dlopen_self
=no
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12515 $as_echo "$lt_cv_dlopen_self" >&6; }
12517 if test "x$lt_cv_dlopen_self" = xyes
; then
12518 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12520 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12521 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12522 $as_echo_n "(cached) " >&6
12524 if test "$cross_compiling" = yes; then :
12525 lt_cv_dlopen_self_static
=cross
12527 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12528 lt_status
=$lt_dlunknown
12529 cat > conftest.
$ac_ext <<_LT_EOF
12530 #line 12530 "configure"
12531 #include "confdefs.h"
12540 # define LT_DLGLOBAL RTLD_GLOBAL
12543 # define LT_DLGLOBAL DL_GLOBAL
12545 # define LT_DLGLOBAL 0
12549 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12550 find out it does not work in some platform. */
12551 #ifndef LT_DLLAZY_OR_NOW
12553 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12556 # define LT_DLLAZY_OR_NOW DL_LAZY
12559 # define LT_DLLAZY_OR_NOW RTLD_NOW
12562 # define LT_DLLAZY_OR_NOW DL_NOW
12564 # define LT_DLLAZY_OR_NOW 0
12571 /* When -fvisbility=hidden is used, assume the code has been annotated
12572 correspondingly for the symbols needed. */
12573 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12574 void fnord () __attribute__((visibility("default")));
12577 void fnord () { int i=42; }
12580 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12581 int status = $lt_dlunknown;
12585 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12588 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12589 else puts (dlerror ());
12591 /* dlclose (self); */
12599 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12600 (eval $ac_link) 2>&5
12602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12603 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12604 (.
/conftest
; exit; ) >&5 2>/dev
/null
12606 case x
$lt_status in
12607 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12608 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12609 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12612 # compilation failed
12613 lt_cv_dlopen_self_static
=no
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12621 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12624 CPPFLAGS
="$save_CPPFLAGS"
12625 LDFLAGS
="$save_LDFLAGS"
12630 case $lt_cv_dlopen_self in
12631 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12632 *) enable_dlopen_self
=unknown
;;
12635 case $lt_cv_dlopen_self_static in
12636 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12637 *) enable_dlopen_self_static
=unknown
;;
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12660 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12661 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12662 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12663 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12665 $as_echo "yes" >&6; }
12667 # FIXME - insert some real tests, host_os isn't really good enough
12670 if test -n "$STRIP" ; then
12671 striplib
="$STRIP -x"
12672 old_striplib
="$STRIP -S"
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12674 $as_echo "yes" >&6; }
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12677 $as_echo "no" >&6; }
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12682 $as_echo "no" >&6; }
12698 # Report which library types will actually be built
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12700 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12702 $as_echo "$can_build_shared" >&6; }
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12705 $as_echo_n "checking whether to build shared libraries... " >&6; }
12706 test "$can_build_shared" = "no" && enable_shared
=no
12708 # On AIX, shared libraries and static libraries use the same namespace, and
12709 # are all built from PIC.
12712 test "$enable_shared" = yes && enable_static
=no
12713 if test -n "$RANLIB"; then
12714 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12715 postinstall_cmds
='$RANLIB $lib'
12720 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12721 test "$enable_shared" = yes && enable_static
=no
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12726 $as_echo "$enable_shared" >&6; }
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12729 $as_echo_n "checking whether to build static libraries... " >&6; }
12730 # Make sure either enable_shared or enable_static is yes.
12731 test "$enable_shared" = yes || enable_static
=yes
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12733 $as_echo "$enable_static" >&6; }
12740 ac_cpp
='$CPP $CPPFLAGS'
12741 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12742 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12743 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12759 ac_config_commands
="$ac_config_commands libtool"
12764 # Only expand once:
12771 *-cygwin* |
*-mingw*)
12772 # 'host' will be top-level target in the case of a target lib,
12773 # we must compare to with_cross_host to decide if this is a native
12774 # or cross-compiler and select where to install dlls appropriately.
12775 if test -n "$with_cross_host" &&
12776 test x
"$with_cross_host" != x
"no"; then
12777 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
12779 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
12791 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12793 # We need gfortran to compile parts of the library
12794 #AC_PROG_FC(gfortran)
12796 ac_ext
=${ac_fc_srcext-f}
12797 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12798 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12799 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
12800 if test -n "$ac_tool_prefix"; then
12801 for ac_prog
in gfortran
12803 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12804 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12806 $as_echo_n "checking for $ac_word... " >&6; }
12807 if test "${ac_cv_prog_FC+set}" = set; then :
12808 $as_echo_n "(cached) " >&6
12810 if test -n "$FC"; then
12811 ac_cv_prog_FC
="$FC" # Let the user override the test.
12813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12814 for as_dir
in $PATH
12817 test -z "$as_dir" && as_dir
=.
12818 for ac_exec_ext
in '' $ac_executable_extensions; do
12819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12820 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
12821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12831 if test -n "$FC"; then
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12833 $as_echo "$FC" >&6; }
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12836 $as_echo "no" >&6; }
12840 test -n "$FC" && break
12843 if test -z "$FC"; then
12845 for ac_prog
in gfortran
12847 # Extract the first word of "$ac_prog", so it can be a program name with args.
12848 set dummy
$ac_prog; ac_word
=$2
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12850 $as_echo_n "checking for $ac_word... " >&6; }
12851 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12852 $as_echo_n "(cached) " >&6
12854 if test -n "$ac_ct_FC"; then
12855 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
12857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12858 for as_dir
in $PATH
12861 test -z "$as_dir" && as_dir
=.
12862 for ac_exec_ext
in '' $ac_executable_extensions; do
12863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12864 ac_cv_prog_ac_ct_FC
="$ac_prog"
12865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12874 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
12875 if test -n "$ac_ct_FC"; then
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12877 $as_echo "$ac_ct_FC" >&6; }
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12880 $as_echo "no" >&6; }
12884 test -n "$ac_ct_FC" && break
12887 if test "x$ac_ct_FC" = x
; then
12890 case $cross_compiling:$ac_tool_warned in
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12894 ac_tool_warned
=yes ;;
12901 # Provide some information about the compiler.
12902 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12905 for ac_option
in --version -v -V -qversion; do
12906 { { ac_try
="$ac_compiler $ac_option >&5"
12907 case "(($ac_try" in
12908 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12909 *) ac_try_echo=$ac_try;;
12911 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12912 $as_echo "$ac_try_echo"; } >&5
12913 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12915 if test -s conftest.err; then
12917 ... rest of stderr output deleted ...
12918 10q' conftest.err >conftest.er1
12919 cat conftest.er1 >&5
12920 rm -f conftest.er1 conftest.err
12922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12923 test $ac_status = 0; }
12927 # If we don't use `.F
' as extension, the preprocessor is not run on the
12928 # input file. (Note that this only needs to work for GNU compilers.)
12929 ac_save_ext=$ac_ext
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
12932 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
12933 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
12934 $as_echo_n "(cached) " >&6
12936 cat > conftest.$ac_ext <<_ACEOF
12944 if ac_fn_fc_try_compile "$LINENO"; then :
12945 ac_compiler_gnu=yes
12949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12950 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
12954 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
12955 ac_ext=$ac_save_ext
12956 ac_test_FCFLAGS=${FCFLAGS+set}
12957 ac_save_FCFLAGS=$FCFLAGS
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
12960 $as_echo_n "checking whether $FC accepts -g... " >&6; }
12961 if test "${ac_cv_prog_fc_g+set}" = set; then :
12962 $as_echo_n "(cached) " >&6
12965 cat > conftest.$ac_ext <<_ACEOF
12970 if ac_fn_fc_try_compile "$LINENO"; then :
12971 ac_cv_prog_fc_g=yes
12975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
12979 $as_echo "$ac_cv_prog_fc_g" >&6; }
12980 if test "$ac_test_FCFLAGS" = set; then
12981 FCFLAGS=$ac_save_FCFLAGS
12982 elif test $ac_cv_prog_fc_g = yes; then
12983 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12989 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12997 ac_cpp='$CPP $CPPFLAGS'
12998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
12999 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13002 ac_ext=${ac_fc_srcext-f}
13003 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
13004 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
13005 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13008 if test -z "$FC" || test "X$FC" = "Xno"; then
13012 archive_cmds_need_lc_FC=no
13013 allow_undefined_flag_FC=
13014 always_export_symbols_FC=no
13015 archive_expsym_cmds_FC=
13016 export_dynamic_flag_spec_FC=
13017 hardcode_direct_FC=no
13018 hardcode_direct_absolute_FC=no
13019 hardcode_libdir_flag_spec_FC=
13020 hardcode_libdir_flag_spec_ld_FC=
13021 hardcode_libdir_separator_FC=
13022 hardcode_minus_L_FC=no
13023 hardcode_automatic_FC=no
13024 inherit_rpath_FC=no
13026 module_expsym_cmds_FC=
13027 link_all_deplibs_FC=unknown
13028 old_archive_cmds_FC=$old_archive_cmds
13029 reload_flag_FC=$reload_flag
13030 reload_cmds_FC=$reload_cmds
13031 no_undefined_flag_FC=
13032 whole_archive_flag_spec_FC=
13033 enable_shared_with_static_runtimes_FC=no
13035 # Source file extension for fc test sources.
13036 ac_ext=${ac_fc_srcext-f}
13038 # Object file extension for compiled fc test sources.
13042 # No sense in running all these tests if we already determined that
13043 # the FC compiler isn't working. Some variables
(like enable_shared
)
13044 # are currently assumed to apply to all compilers on this platform,
13045 # and will be corrupted by setting them based on a non-working compiler.
13046 if test "$_lt_disable_FC" != yes; then
13047 # Code to be used in simple compile tests
13048 lt_simple_compile_test_code
="\
13054 # Code to be used in simple link tests
13055 lt_simple_link_test_code
="\
13060 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13067 # If no C compiler was specified, use CC.
13070 # If no C compiler flags were specified, use CFLAGS.
13071 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13073 # Allow CC to be a program name with arguments.
13077 # save warnings/boilerplate of simple test code
13078 ac_outfile
=conftest.
$ac_objext
13079 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13080 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13081 _lt_compiler_boilerplate
=`cat conftest.err`
13084 ac_outfile
=conftest.
$ac_objext
13085 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13086 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13087 _lt_linker_boilerplate
=`cat conftest.err`
13091 # Allow CC to be a program name with arguments.
13096 GCC
=$ac_cv_fc_compiler_gnu
13099 for cc_temp
in $compiler""; do
13101 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13102 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13107 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13110 if test -n "$compiler"; then
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13112 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13114 $as_echo "$can_build_shared" >&6; }
13116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13117 $as_echo_n "checking whether to build shared libraries... " >&6; }
13118 test "$can_build_shared" = "no" && enable_shared
=no
13120 # On AIX, shared libraries and static libraries use the same namespace, and
13121 # are all built from PIC.
13124 test "$enable_shared" = yes && enable_static
=no
13125 if test -n "$RANLIB"; then
13126 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13127 postinstall_cmds
='$RANLIB $lib'
13131 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13132 test "$enable_shared" = yes && enable_static
=no
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13137 $as_echo "$enable_shared" >&6; }
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13140 $as_echo_n "checking whether to build static libraries... " >&6; }
13141 # Make sure either enable_shared or enable_static is yes.
13142 test "$enable_shared" = yes || enable_static
=yes
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13144 $as_echo "$enable_static" >&6; }
13146 GCC_FC
="$ac_cv_fc_compiler_gnu"
13150 ## There is no encapsulation within the following macros, do not change
13151 ## the running order or otherwise move them around unless you know exactly
13152 ## what you are doing...
13153 # Dependencies to place before and after the object being linked:
13155 postdep_objects_FC
=
13158 compiler_lib_search_path_FC
=
13160 cat > conftest.
$ac_ext <<_LT_EOF
13169 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13170 (eval $ac_compile) 2>&5
13172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13173 test $ac_status = 0; }; then
13174 # Parse the compiler output and extract the necessary
13175 # objects, libraries and library flags.
13177 # Sentinel used to keep track of whether or not we are before
13178 # the conftest object file.
13179 pre_test_object_deps_done
=no
13181 for p
in `eval "$output_verbose_link_cmd"`; do
13185 # Some compilers place space between "-{L,R}" and the path.
13186 # Remove the space.
13187 if test $p = "-L" ||
13188 test $p = "-R"; then
13195 if test "$pre_test_object_deps_done" = no
; then
13198 # Internal compiler library paths should come after those
13199 # provided the user. The postdeps already come after the
13200 # user supplied libs so there is no need to process them.
13201 if test -z "$compiler_lib_search_path_FC"; then
13202 compiler_lib_search_path_FC
="${prev}${p}"
13204 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
13207 # The "-l" case would never come before the object being
13208 # linked, so don't bother handling this case.
13211 if test -z "$postdeps_FC"; then
13212 postdeps_FC
="${prev}${p}"
13214 postdeps_FC
="${postdeps_FC} ${prev}${p}"
13220 # This assumes that the test object file only shows up
13221 # once in the compiler output.
13222 if test "$p" = "conftest.$objext"; then
13223 pre_test_object_deps_done
=yes
13227 if test "$pre_test_object_deps_done" = no
; then
13228 if test -z "$predep_objects_FC"; then
13229 predep_objects_FC
="$p"
13231 predep_objects_FC
="$predep_objects_FC $p"
13234 if test -z "$postdep_objects_FC"; then
13235 postdep_objects_FC
="$p"
13237 postdep_objects_FC
="$postdep_objects_FC $p"
13242 *) ;; # Ignore the rest.
13250 echo "libtool.m4: error: problem compiling FC test program"
13253 $RM -f confest.
$objext
13255 # PORTME: override above test on systems where it is broken
13258 case " $postdeps_FC " in
13259 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
13261 compiler_lib_search_dirs_FC
=
13262 if test -n "${compiler_lib_search_path_FC}"; then
13263 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13296 lt_prog_compiler_wl_FC
=
13297 lt_prog_compiler_pic_FC
=
13298 lt_prog_compiler_static_FC
=
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13301 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13303 if test "$GCC" = yes; then
13304 lt_prog_compiler_wl_FC
='-Wl,'
13305 lt_prog_compiler_static_FC
='-static'
13309 # All AIX code is PIC.
13310 if test "$host_cpu" = ia64
; then
13311 # AIX 5 now supports IA64 processor
13312 lt_prog_compiler_static_FC
='-Bstatic'
13314 lt_prog_compiler_pic_FC
='-fPIC'
13320 # see comment about AmigaOS4 .so support
13321 lt_prog_compiler_pic_FC
='-fPIC'
13324 # FIXME: we need at least 68020 code to build shared libraries, but
13325 # adding the `-m68020' flag to GCC prevents building anything better,
13327 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
13332 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13333 # PIC is the default for these OSes.
13336 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13337 # This hack is so that the source file can tell whether it is being
13338 # built for inclusion in a dll (and should export symbols for example).
13339 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13340 # (--disable-auto-import) libraries
13341 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13344 darwin
* | rhapsody
*)
13345 # PIC is the default on this platform
13346 # Common symbols not allowed in MH_DYLIB files
13347 lt_prog_compiler_pic_FC
='-fno-common'
13351 # PIC is the default for Haiku.
13352 # The "-static" flag exists, but is broken.
13353 lt_prog_compiler_static_FC
=
13357 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13358 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13359 # sets the default TLS model and affects inlining.
13365 lt_prog_compiler_pic_FC
='-fPIC'
13371 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13372 # Instead, we relocate shared libraries at runtime.
13376 # Just because we use GCC doesn't mean we suddenly get shared libraries
13377 # on systems that don't support them.
13378 lt_prog_compiler_can_build_shared_FC
=no
13383 # QNX uses GNU C++, but need to define -shared option too, otherwise
13384 # it will coredump.
13385 lt_prog_compiler_pic_FC
='-fPIC -shared'
13389 if test -d /usr
/nec
; then
13390 lt_prog_compiler_pic_FC
=-Kconform_pic
13395 lt_prog_compiler_pic_FC
='-fPIC'
13399 case $cc_basename in
13400 nvcc
*) # Cuda Compiler Driver 2.2
13401 lt_prog_compiler_wl_FC
='-Xlinker '
13402 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
13406 # PORTME Check for flag to pass linker flags through the system compiler.
13409 lt_prog_compiler_wl_FC
='-Wl,'
13410 if test "$host_cpu" = ia64
; then
13411 # AIX 5 now supports IA64 processor
13412 lt_prog_compiler_static_FC
='-Bstatic'
13414 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
13418 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13419 # This hack is so that the source file can tell whether it is being
13420 # built for inclusion in a dll (and should export symbols for example).
13421 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13424 hpux9
* | hpux10
* | hpux11
*)
13425 lt_prog_compiler_wl_FC
='-Wl,'
13426 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13427 # not for PA HP-UX.
13433 lt_prog_compiler_pic_FC
='+Z'
13436 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13437 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
13440 irix5
* | irix6
* | nonstopux
*)
13441 lt_prog_compiler_wl_FC
='-Wl,'
13442 # PIC (with -KPIC) is the default.
13443 lt_prog_compiler_static_FC
='-non_shared'
13446 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13447 case $cc_basename in
13448 # old Intel for x86_64 which still supported -KPIC.
13450 lt_prog_compiler_wl_FC
='-Wl,'
13451 lt_prog_compiler_pic_FC
='-KPIC'
13452 lt_prog_compiler_static_FC
='-static'
13454 # icc used to be incompatible with GCC.
13455 # ICC 10 doesn't accept -KPIC any more.
13457 lt_prog_compiler_wl_FC
='-Wl,'
13458 lt_prog_compiler_pic_FC
='-fPIC'
13459 lt_prog_compiler_static_FC
='-static'
13461 # Lahey Fortran 8.1.
13463 lt_prog_compiler_wl_FC
='-Wl,'
13464 lt_prog_compiler_pic_FC
='--shared'
13465 lt_prog_compiler_static_FC
='--static'
13467 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13468 # Portland Group compilers (*not* the Pentium gcc compiler,
13469 # which looks to be a dead project)
13470 lt_prog_compiler_wl_FC
='-Wl,'
13471 lt_prog_compiler_pic_FC
='-fpic'
13472 lt_prog_compiler_static_FC
='-Bstatic'
13475 lt_prog_compiler_wl_FC
='-Wl,'
13476 # All Alpha code is PIC.
13477 lt_prog_compiler_static_FC
='-non_shared'
13479 xl
* | bgxl
* | bgf
* | mpixl
*)
13480 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13481 lt_prog_compiler_wl_FC
='-Wl,'
13482 lt_prog_compiler_pic_FC
='-qpic'
13483 lt_prog_compiler_static_FC
='-qstaticlink'
13486 case `$CC -V 2>&1 | sed 5q` in
13487 *Sun\ F
* |
*Sun
*Fortran
*)
13488 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13489 lt_prog_compiler_pic_FC
='-KPIC'
13490 lt_prog_compiler_static_FC
='-Bstatic'
13491 lt_prog_compiler_wl_FC
=''
13495 lt_prog_compiler_pic_FC
='-KPIC'
13496 lt_prog_compiler_static_FC
='-Bstatic'
13497 lt_prog_compiler_wl_FC
='-Wl,'
13505 lt_prog_compiler_pic_FC
='-KPIC'
13506 lt_prog_compiler_static_FC
='-Bstatic'
13510 # QNX uses GNU C++, but need to define -shared option too, otherwise
13511 # it will coredump.
13512 lt_prog_compiler_pic_FC
='-fPIC -shared'
13515 osf3
* | osf4
* | osf5
*)
13516 lt_prog_compiler_wl_FC
='-Wl,'
13517 # All OSF/1 code is PIC.
13518 lt_prog_compiler_static_FC
='-non_shared'
13522 lt_prog_compiler_static_FC
='-non_shared'
13526 lt_prog_compiler_pic_FC
='-KPIC'
13527 lt_prog_compiler_static_FC
='-Bstatic'
13528 case $cc_basename in
13529 f77
* | f90
* | f95
*)
13530 lt_prog_compiler_wl_FC
='-Qoption ld ';;
13532 lt_prog_compiler_wl_FC
='-Wl,';;
13537 lt_prog_compiler_wl_FC
='-Qoption ld '
13538 lt_prog_compiler_pic_FC
='-PIC'
13539 lt_prog_compiler_static_FC
='-Bstatic'
13542 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13543 lt_prog_compiler_wl_FC
='-Wl,'
13544 lt_prog_compiler_pic_FC
='-KPIC'
13545 lt_prog_compiler_static_FC
='-Bstatic'
13549 if test -d /usr
/nec
;then
13550 lt_prog_compiler_pic_FC
='-Kconform_pic'
13551 lt_prog_compiler_static_FC
='-Bstatic'
13555 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13556 lt_prog_compiler_wl_FC
='-Wl,'
13557 lt_prog_compiler_pic_FC
='-KPIC'
13558 lt_prog_compiler_static_FC
='-Bstatic'
13562 lt_prog_compiler_wl_FC
='-Wl,'
13563 lt_prog_compiler_can_build_shared_FC
=no
13567 lt_prog_compiler_pic_FC
='-pic'
13568 lt_prog_compiler_static_FC
='-Bstatic'
13572 lt_prog_compiler_can_build_shared_FC
=no
13578 # For platforms which do not support PIC, -DPIC is meaningless:
13580 lt_prog_compiler_pic_FC
=
13583 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13587 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13592 # Check to make sure the PIC flag actually works.
13594 if test -n "$lt_prog_compiler_pic_FC"; then
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13596 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13597 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13598 $as_echo_n "(cached) " >&6
13600 lt_cv_prog_compiler_pic_works_FC
=no
13601 ac_outfile
=conftest.
$ac_objext
13602 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13603 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
13604 # Insert the option either (1) after the last *FLAGS variable, or
13605 # (2) before a word containing "conftest.", or (3) at the end.
13606 # Note that $ac_compile itself does not contain backslashes and begins
13607 # with a dollar sign (not a hyphen), so the echo should work correctly.
13608 # The option is referenced via a variable to avoid confusing sed.
13609 lt_compile
=`echo "$ac_compile" | $SED \
13610 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13611 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13612 -e 's:$: $lt_compiler_flag:'`
13613 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13614 (eval "$lt_compile" 2>conftest.err
)
13616 cat conftest.err
>&5
13617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13618 if (exit $ac_status) && test -s "$ac_outfile"; then
13619 # The compiler can only warn and ignore the option if not recognized
13620 # So say no if there are warnings other than the usual output.
13621 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13622 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13623 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13624 lt_cv_prog_compiler_pic_works_FC
=yes
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13631 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13633 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
13634 case $lt_prog_compiler_pic_FC in
13636 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
13639 lt_prog_compiler_pic_FC
=
13640 lt_prog_compiler_can_build_shared_FC
=no
13648 # Check to make sure the static flag actually works.
13650 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13652 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13653 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13654 $as_echo_n "(cached) " >&6
13656 lt_cv_prog_compiler_static_works_FC
=no
13657 save_LDFLAGS
="$LDFLAGS"
13658 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13659 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13660 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13661 # The linker can only warn and ignore the option if not recognized
13662 # So say no if there are warnings
13663 if test -s conftest.err
; then
13664 # Append any errors to the config.log.
13665 cat conftest.err
1>&5
13666 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13667 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13668 if diff conftest.exp conftest.er2
>/dev
/null
; then
13669 lt_cv_prog_compiler_static_works_FC
=yes
13672 lt_cv_prog_compiler_static_works_FC
=yes
13676 LDFLAGS
="$save_LDFLAGS"
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13680 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13682 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
13685 lt_prog_compiler_static_FC
=
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; }
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13744 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13745 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13746 $as_echo_n "(cached) " >&6
13748 lt_cv_prog_compiler_c_o_FC
=no
13749 $RM -r conftest
2>/dev
/null
13753 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13755 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13756 # Insert the option either (1) after the last *FLAGS variable, or
13757 # (2) before a word containing "conftest.", or (3) at the end.
13758 # Note that $ac_compile itself does not contain backslashes and begins
13759 # with a dollar sign (not a hyphen), so the echo should work correctly.
13760 lt_compile
=`echo "$ac_compile" | $SED \
13761 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13762 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13763 -e 's:$: $lt_compiler_flag:'`
13764 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13765 (eval "$lt_compile" 2>out
/conftest.err
)
13767 cat out
/conftest.err
>&5
13768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13769 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13771 # The compiler can only warn and ignore the option if not recognized
13772 # So say no if there are warnings
13773 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13774 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13775 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13776 lt_cv_prog_compiler_c_o_FC
=yes
13781 # SGI C++ compiler will create directory out/ii_files/ for
13782 # template instantiation
13783 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13784 $RM out
/* && rmdir out
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13791 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13796 hard_links
="nottested"
13797 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
13798 # do not overwrite the value of need_locks provided by the user
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13800 $as_echo_n "checking if we can lock with hard links... " >&6; }
13803 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13805 ln conftest.a conftest.b
2>&5 || hard_links
=no
13806 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13808 $as_echo "$hard_links" >&6; }
13809 if test "$hard_links" = no
; then
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13811 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13821 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13824 allow_undefined_flag_FC
=
13825 always_export_symbols_FC
=no
13827 archive_expsym_cmds_FC
=
13828 compiler_needs_object_FC
=no
13829 enable_shared_with_static_runtimes_FC
=no
13830 export_dynamic_flag_spec_FC
=
13831 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13832 hardcode_automatic_FC
=no
13833 hardcode_direct_FC
=no
13834 hardcode_direct_absolute_FC
=no
13835 hardcode_libdir_flag_spec_FC
=
13836 hardcode_libdir_flag_spec_ld_FC
=
13837 hardcode_libdir_separator_FC
=
13838 hardcode_minus_L_FC
=no
13839 hardcode_shlibpath_var_FC
=unsupported
13840 inherit_rpath_FC
=no
13841 link_all_deplibs_FC
=unknown
13843 module_expsym_cmds_FC
=
13844 old_archive_from_new_cmds_FC
=
13845 old_archive_from_expsyms_cmds_FC
=
13846 thread_safe_flag_spec_FC
=
13847 whole_archive_flag_spec_FC
=
13848 # include_expsyms should be a list of space-separated symbols to be *always*
13849 # included in the symbol list
13850 include_expsyms_FC
=
13851 # exclude_expsyms can be an extended regexp of symbols to exclude
13852 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13853 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13854 # as well as any symbol that contains `d'.
13855 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13856 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13857 # platforms (ab)use it in PIC code, but their linkers get confused if
13858 # the symbol is explicitly referenced. Since portable code cannot
13859 # rely on this symbol name, it's probably fine to never include it in
13860 # preloaded symbol tables.
13861 # Exclude shared library initialization/finalization symbols.
13862 extract_expsyms_cmds
=
13865 cygwin
* | mingw
* | pw32
* | cegcc
*)
13866 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13867 # When not using gcc, we currently assume that we are using
13868 # Microsoft Visual C++.
13869 if test "$GCC" != yes; then
13874 # we just hope/assume this is gcc and not c89 (= MSVC++)
13884 # On some targets, GNU ld is compatible enough with the native linker
13885 # that we're better off using the native interface for both.
13886 lt_use_gnu_ld_interface
=no
13887 if test "$with_gnu_ld" = yes; then
13890 # The AIX port of GNU ld has always aspired to compatibility
13891 # with the native linker. However, as the warning in the GNU ld
13892 # block says, versions before 2.19.5* couldn't really create working
13893 # shared libraries, regardless of the interface used.
13894 case `$LD -v 2>&1` in
13895 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
13896 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
13897 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
13899 lt_use_gnu_ld_interface
=yes
13904 lt_use_gnu_ld_interface
=yes
13909 if test "$lt_use_gnu_ld_interface" = yes; then
13910 # If archive_cmds runs LD, not CC, wlarc should be empty
13913 # Set some defaults for GNU ld with shared library support. These
13914 # are reset later if shared libraries are not supported. Putting them
13915 # here allows them to be overridden if necessary.
13916 runpath_var
=LD_RUN_PATH
13917 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13918 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
13919 # ancient GNU ld didn't support --whole-archive et. al.
13920 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
13921 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13923 whole_archive_flag_spec_FC
=
13925 supports_anon_versioning
=no
13926 case `$LD -v 2>&1` in
13927 *GNU\ gold
*) supports_anon_versioning
=yes ;;
13928 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13929 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13930 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13931 *\
2.11.
*) ;; # other 2.11 versions
13932 *) supports_anon_versioning
=yes ;;
13935 # See if GNU ld supports shared libraries.
13938 # On AIX/PPC, the GNU linker is very broken
13939 if test "$host_cpu" != ia64
; then
13943 *** Warning: the GNU linker, at least up to release 2.19, is reported
13944 *** to be unable to reliably create shared libraries on AIX.
13945 *** Therefore, libtool is disabling shared libraries support. If you
13946 *** really care for shared libraries, you may want to install binutils
13947 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13948 *** You will then need to restart the configuration process.
13957 # see comment about AmigaOS4 .so support
13958 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13959 archive_expsym_cmds_FC
=''
13962 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)'
13963 hardcode_libdir_flag_spec_FC
='-L$libdir'
13964 hardcode_minus_L_FC
=yes
13970 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13971 allow_undefined_flag_FC
=unsupported
13972 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13973 # support --undefined. This deserves some investigation. FIXME
13974 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13980 cygwin
* | mingw
* | pw32
* | cegcc
*)
13981 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
13982 # as there is no search path for DLLs.
13983 hardcode_libdir_flag_spec_FC
='-L$libdir'
13984 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
13985 allow_undefined_flag_FC
=unsupported
13986 always_export_symbols_FC
=no
13987 enable_shared_with_static_runtimes_FC
=yes
13988 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13990 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13991 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13992 # If the export-symbols file already is a .def file (1st line
13993 # is EXPORTS), use it as is; otherwise, prepend...
13994 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13995 cp $export_symbols $output_objdir/$soname.def;
13997 echo EXPORTS > $output_objdir/$soname.def;
13998 cat $export_symbols >> $output_objdir/$soname.def;
14000 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14007 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14008 link_all_deplibs_FC
=yes
14012 hardcode_direct_FC
=no
14013 hardcode_shlibpath_var_FC
=no
14014 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14015 export_dynamic_flag_spec_FC
='${wl}-E'
14016 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14017 # Instead, shared libraries are loaded at an image base (0x10000000 by
14018 # default) and relocated if they conflict, which is a slow very memory
14019 # consuming and fragmenting process. To avoid this, we pick a random,
14020 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14021 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14022 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'
14023 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'
14026 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14028 if test "$host_os" = linux-dietlibc
; then
14029 case $cc_basename in
14030 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
14033 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
14034 && test "$tmp_diet" = no
14036 tmp_addflag
=' $pic_flag'
14037 tmp_sharedflag
='-shared'
14038 case $cc_basename,$host_cpu in
14039 pgcc
*) # Portland Group C compiler
14040 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'
14041 tmp_addflag
=' $pic_flag'
14043 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
14044 # Portland Group f77 and f90 compilers
14045 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'
14046 tmp_addflag
=' $pic_flag -Mnomain' ;;
14047 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14048 tmp_addflag
=' -i_dynamic' ;;
14049 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14050 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14051 ifc
* | ifort
*) # Intel Fortran compiler
14052 tmp_addflag
=' -nofor_main' ;;
14053 lf95
*) # Lahey Fortran 8.1
14054 whole_archive_flag_spec_FC
=
14055 tmp_sharedflag
='--shared' ;;
14056 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14057 tmp_sharedflag
='-qmkshrobj'
14059 nvcc
*) # Cuda Compiler Driver 2.2
14060 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'
14061 compiler_needs_object_FC
=yes
14064 case `$CC -V 2>&1 | sed 5q` in
14065 *Sun\ C
*) # Sun C 5.9
14066 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'
14067 compiler_needs_object_FC
=yes
14068 tmp_sharedflag
='-G' ;;
14069 *Sun\ F
*) # Sun Fortran 8.3
14070 tmp_sharedflag
='-G' ;;
14072 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14074 if test "x$supports_anon_versioning" = xyes
; then
14075 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14076 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14077 echo "local: *; };" >> $output_objdir/$libname.ver~
14078 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14081 case $cc_basename in
14082 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
14083 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14084 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
14085 hardcode_libdir_flag_spec_FC
=
14086 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
14087 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14088 if test "x$supports_anon_versioning" = xyes
; then
14089 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14090 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14091 echo "local: *; };" >> $output_objdir/$libname.ver~
14092 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14102 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14103 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14106 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14107 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14112 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
14116 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14117 *** create shared libraries on Solaris systems. Therefore, libtool
14118 *** is disabling shared libraries support. We urge you to upgrade GNU
14119 *** binutils to release 2.9.1 or newer. Another option is to modify
14120 *** your PATH or compiler configuration so that the native linker is
14121 *** used, and then restart.
14124 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14125 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14126 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14132 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14133 case `$LD -v 2>&1` in
14134 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14138 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14139 *** reliably create shared libraries on SCO systems. Therefore, libtool
14140 *** is disabling shared libraries support. We urge you to upgrade GNU
14141 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14142 *** your PATH or compiler configuration so that the native linker is
14143 *** used, and then restart.
14148 # For security reasons, it is highly recommended that you always
14149 # use absolute paths for naming shared libraries, and exclude the
14150 # DT_RUNPATH tag from executables and libraries. But doing so
14151 # requires that you compile everything twice, which is a pain.
14152 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14153 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14154 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14155 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14164 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14166 hardcode_direct_FC
=yes
14167 hardcode_shlibpath_var_FC
=no
14171 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14172 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14173 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14180 if test "$ld_shlibs_FC" = no
; then
14182 hardcode_libdir_flag_spec_FC
=
14183 export_dynamic_flag_spec_FC
=
14184 whole_archive_flag_spec_FC
=
14187 # PORTME fill in a description of your system's linker (not GNU ld)
14190 allow_undefined_flag_FC
=unsupported
14191 always_export_symbols_FC
=yes
14192 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'
14193 # Note: this linker hardcodes the directories in LIBPATH if there
14194 # are no directories specified by -L.
14195 hardcode_minus_L_FC
=yes
14196 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14197 # Neither direct hardcoding nor static linking is supported with a
14199 hardcode_direct_FC
=unsupported
14204 if test "$host_cpu" = ia64
; then
14205 # On IA64, the linker does run time linking by default, so we don't
14206 # have to do anything special.
14207 aix_use_runtimelinking
=no
14208 exp_sym_flag
='-Bexport'
14211 # If we're using GNU nm, then we don't want the "-C" option.
14212 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14213 # Also, AIX nm treats weak defined symbols like other global
14214 # defined symbols, whereas GNU nm marks them as "W".
14215 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14216 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'
14218 export_symbols_cmds_FC
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14220 aix_use_runtimelinking
=no
14222 # Test if we are trying to use run time linking or normal
14223 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14224 # need to do runtime linking.
14225 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14226 for ld_flag
in $LDFLAGS; do
14227 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14228 aix_use_runtimelinking
=yes
14235 exp_sym_flag
='-bexport'
14236 no_entry_flag
='-bnoentry'
14239 # When large executables or shared objects are built, AIX ld can
14240 # have problems creating the table of contents. If linking a library
14241 # or program results in "error TOC overflow" add -mminimal-toc to
14242 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14243 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14246 hardcode_direct_FC
=yes
14247 hardcode_direct_absolute_FC
=yes
14248 hardcode_libdir_separator_FC
=':'
14249 link_all_deplibs_FC
=yes
14250 file_list_spec_FC
='${wl}-f,'
14252 if test "$GCC" = yes; then
14253 case $host_os in aix4.
[012]|aix4.
[012].
*)
14254 # We only want to do this on AIX 4.2 and lower, the check
14255 # below for broken collect2 doesn't work under 4.3+
14256 collect2name
=`${CC} -print-prog-name=collect2`
14257 if test -f "$collect2name" &&
14258 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14260 # We have reworked collect2
14263 # We have old collect2
14264 hardcode_direct_FC
=unsupported
14265 # It fails to find uninstalled libraries when the uninstalled
14266 # path is not listed in the libpath. Setting hardcode_minus_L
14267 # to unsupported forces relinking
14268 hardcode_minus_L_FC
=yes
14269 hardcode_libdir_flag_spec_FC
='-L$libdir'
14270 hardcode_libdir_separator_FC
=
14274 shared_flag
='-shared'
14275 if test "$aix_use_runtimelinking" = yes; then
14276 shared_flag
="$shared_flag "'${wl}-G'
14280 if test "$host_cpu" = ia64
; then
14281 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14282 # chokes on -Wl,-G. The following line is correct:
14285 if test "$aix_use_runtimelinking" = yes; then
14286 shared_flag
='${wl}-G'
14288 shared_flag
='${wl}-bM:SRE'
14293 export_dynamic_flag_spec_FC
='${wl}-bexpall'
14294 # It seems that -bexpall does not export symbols beginning with
14295 # underscore (_), so it is better to generate a list of symbols to export.
14296 always_export_symbols_FC
=yes
14297 if test "$aix_use_runtimelinking" = yes; then
14298 # Warning - without using the other runtime loading flags (-brtl),
14299 # -berok will link without error, but may produce a broken library.
14300 allow_undefined_flag_FC
='-berok'
14301 # Determine the default libpath from the value encoded in an
14302 # empty executable.
14303 if test x
$gcc_no_link = xyes
; then
14304 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14306 cat > conftest.
$ac_ext <<_ACEOF
14311 if ac_fn_fc_try_link
"$LINENO"; then :
14313 lt_aix_libpath_sed
='
14314 /Import File Strings/,/^$/ {
14320 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14321 # Check for a 64-bit object if we didn't find anything.
14322 if test -z "$aix_libpath"; then
14323 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14326 rm -f core conftest.err conftest.
$ac_objext \
14327 conftest
$ac_exeext conftest.
$ac_ext
14328 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14330 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14331 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"
14333 if test "$host_cpu" = ia64
; then
14334 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
14335 allow_undefined_flag_FC
="-z nodefs"
14336 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"
14338 # Determine the default libpath from the value encoded in an
14339 # empty executable.
14340 if test x
$gcc_no_link = xyes
; then
14341 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14343 cat > conftest.
$ac_ext <<_ACEOF
14348 if ac_fn_fc_try_link
"$LINENO"; then :
14350 lt_aix_libpath_sed
='
14351 /Import File Strings/,/^$/ {
14357 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14358 # Check for a 64-bit object if we didn't find anything.
14359 if test -z "$aix_libpath"; then
14360 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14363 rm -f core conftest.err conftest.
$ac_objext \
14364 conftest
$ac_exeext conftest.
$ac_ext
14365 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14367 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14368 # Warning - without using the other run time loading flags,
14369 # -berok will link without error, but may produce a broken library.
14370 no_undefined_flag_FC
=' ${wl}-bernotok'
14371 allow_undefined_flag_FC
=' ${wl}-berok'
14372 if test "$with_gnu_ld" = yes; then
14373 # We only use this code for GNU lds that support --whole-archive.
14374 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14376 # Exported symbols can be pulled into shared objects from archives
14377 whole_archive_flag_spec_FC
='$convenience'
14379 archive_cmds_need_lc_FC
=yes
14380 # This is similar to how AIX traditionally builds its shared libraries.
14381 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'
14389 # see comment about AmigaOS4 .so support
14390 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14391 archive_expsym_cmds_FC
=''
14394 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)'
14395 hardcode_libdir_flag_spec_FC
='-L$libdir'
14396 hardcode_minus_L_FC
=yes
14402 export_dynamic_flag_spec_FC
=-rdynamic
14405 cygwin
* | mingw
* | pw32
* | cegcc
*)
14406 # When not using gcc, we currently assume that we are using
14407 # Microsoft Visual C++.
14408 # hardcode_libdir_flag_spec is actually meaningless, as there is
14409 # no search path for DLLs.
14410 hardcode_libdir_flag_spec_FC
=' '
14411 allow_undefined_flag_FC
=unsupported
14412 # Tell ltmain to make .lib files, not .a files.
14414 # Tell ltmain to make .dll files, not .so files.
14416 # FIXME: Setting linknames here is a bad hack.
14417 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14418 # The linker will automatically build a .lib file if we build a DLL.
14419 old_archive_from_new_cmds_FC
='true'
14420 # FIXME: Should let the user specify the lib program.
14421 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14422 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
14423 enable_shared_with_static_runtimes_FC
=yes
14426 darwin
* | rhapsody
*)
14429 archive_cmds_need_lc_FC
=no
14430 hardcode_direct_FC
=no
14431 hardcode_automatic_FC
=yes
14432 hardcode_shlibpath_var_FC
=unsupported
14433 if test "$lt_cv_ld_force_load" = "yes"; then
14434 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\"`'
14436 whole_archive_flag_spec_FC
=''
14438 link_all_deplibs_FC
=yes
14439 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
14440 case $cc_basename in
14441 ifort
*) _lt_dar_can_shared
=yes ;;
14442 *) _lt_dar_can_shared
=$GCC ;;
14444 if test "$_lt_dar_can_shared" = "yes"; then
14445 output_verbose_link_cmd
=func_echo_all
14446 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}"
14447 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14448 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}"
14449 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}"
14458 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14459 hardcode_libdir_flag_spec_FC
='-L$libdir'
14460 hardcode_shlibpath_var_FC
=no
14463 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14464 # support. Future versions do this automatically, but an explicit c++rt0.o
14465 # does not break anything, and helps significantly (at the cost of a little
14468 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14469 hardcode_libdir_flag_spec_FC
='-R$libdir'
14470 hardcode_direct_FC
=yes
14471 hardcode_shlibpath_var_FC
=no
14474 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14476 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14477 hardcode_direct_FC
=yes
14478 hardcode_minus_L_FC
=yes
14479 hardcode_shlibpath_var_FC
=no
14482 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14483 freebsd
* | dragonfly
*)
14484 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14485 hardcode_libdir_flag_spec_FC
='-R$libdir'
14486 hardcode_direct_FC
=yes
14487 hardcode_shlibpath_var_FC
=no
14491 if test "$GCC" = yes; then
14492 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'
14494 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'
14496 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14497 hardcode_libdir_separator_FC
=:
14498 hardcode_direct_FC
=yes
14500 # hardcode_minus_L: Not really in the search PATH,
14501 # but as the default location of the library.
14502 hardcode_minus_L_FC
=yes
14503 export_dynamic_flag_spec_FC
='${wl}-E'
14507 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14508 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14510 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14512 if test "$with_gnu_ld" = no
; then
14513 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14514 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
14515 hardcode_libdir_separator_FC
=:
14516 hardcode_direct_FC
=yes
14517 hardcode_direct_absolute_FC
=yes
14518 export_dynamic_flag_spec_FC
='${wl}-E'
14519 # hardcode_minus_L: Not really in the search PATH,
14520 # but as the default location of the library.
14521 hardcode_minus_L_FC
=yes
14526 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14529 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14532 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14535 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14541 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14544 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14547 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14551 if test "$with_gnu_ld" = no
; then
14552 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14553 hardcode_libdir_separator_FC
=:
14557 hardcode_direct_FC
=no
14558 hardcode_shlibpath_var_FC
=no
14561 hardcode_direct_FC
=yes
14562 hardcode_direct_absolute_FC
=yes
14563 export_dynamic_flag_spec_FC
='${wl}-E'
14565 # hardcode_minus_L: Not really in the search PATH,
14566 # but as the default location of the library.
14567 hardcode_minus_L_FC
=yes
14573 irix5
* | irix6
* | nonstopux
*)
14574 if test "$GCC" = yes; then
14575 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'
14576 # Try to use the -exported_symbol ld option, if it does not
14577 # work, assume that -exports_file does not work either and
14578 # implicitly export all symbols.
14579 save_LDFLAGS
="$LDFLAGS"
14580 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14581 if test x
$gcc_no_link = xyes
; then
14582 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14584 cat > conftest.
$ac_ext <<_ACEOF
14587 if ac_fn_fc_try_link
"$LINENO"; then :
14588 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'
14591 rm -f core conftest.err conftest.
$ac_objext \
14592 conftest
$ac_exeext conftest.
$ac_ext
14593 LDFLAGS
="$save_LDFLAGS"
14595 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'
14596 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'
14598 archive_cmds_need_lc_FC
='no'
14599 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14600 hardcode_libdir_separator_FC
=:
14601 inherit_rpath_FC
=yes
14602 link_all_deplibs_FC
=yes
14606 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14607 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14609 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14611 hardcode_libdir_flag_spec_FC
='-R$libdir'
14612 hardcode_direct_FC
=yes
14613 hardcode_shlibpath_var_FC
=no
14617 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14618 hardcode_direct_FC
=yes
14619 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14620 hardcode_libdir_separator_FC
=:
14621 hardcode_shlibpath_var_FC
=no
14628 if test -f /usr
/libexec
/ld.so
; then
14629 hardcode_direct_FC
=yes
14630 hardcode_shlibpath_var_FC
=no
14631 hardcode_direct_absolute_FC
=yes
14632 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14633 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14634 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14635 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14636 export_dynamic_flag_spec_FC
='${wl}-E'
14639 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14640 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14641 hardcode_libdir_flag_spec_FC
='-R$libdir'
14644 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14645 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14655 hardcode_libdir_flag_spec_FC
='-L$libdir'
14656 hardcode_minus_L_FC
=yes
14657 allow_undefined_flag_FC
=unsupported
14658 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'
14659 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14663 if test "$GCC" = yes; then
14664 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14665 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'
14667 allow_undefined_flag_FC
=' -expect_unresolved \*'
14668 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'
14670 archive_cmds_need_lc_FC
='no'
14671 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14672 hardcode_libdir_separator_FC
=:
14675 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14676 if test "$GCC" = yes; then
14677 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14678 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'
14679 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14681 allow_undefined_flag_FC
=' -expect_unresolved \*'
14682 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'
14683 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~
14684 $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'
14686 # Both c and cxx compiler support -rpath directly
14687 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
14689 archive_cmds_need_lc_FC
='no'
14690 hardcode_libdir_separator_FC
=:
14694 no_undefined_flag_FC
=' -z defs'
14695 if test "$GCC" = yes; then
14697 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14698 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14699 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14701 case `$CC -V 2>&1` in
14704 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14705 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14706 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14710 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14711 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14712 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14716 hardcode_libdir_flag_spec_FC
='-R$libdir'
14717 hardcode_shlibpath_var_FC
=no
14719 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14721 # The compiler driver will combine and reorder linker options,
14722 # but understands `-z linker_flag'. GCC discards it without `$wl',
14723 # but is careful enough not to reorder.
14724 # Supported since Solaris 2.6 (maybe 2.5.1?)
14725 if test "$GCC" = yes; then
14726 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14728 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
14732 link_all_deplibs_FC
=yes
14736 if test "x$host_vendor" = xsequent
; then
14737 # Use $CC to link under sequent, because it throws in some extra .o
14738 # files that make .init and .fini sections work.
14739 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14741 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14743 hardcode_libdir_flag_spec_FC
='-L$libdir'
14744 hardcode_direct_FC
=yes
14745 hardcode_minus_L_FC
=yes
14746 hardcode_shlibpath_var_FC
=no
14750 case $host_vendor in
14752 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14753 hardcode_direct_FC
=yes # is this really true???
14756 ## LD is ld it makes a PLAMLIB
14757 ## CC just makes a GrossModule.
14758 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14759 reload_cmds_FC
='$CC -r -o $output$reload_objs'
14760 hardcode_direct_FC
=no
14763 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14764 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
14767 runpath_var
='LD_RUN_PATH'
14768 hardcode_shlibpath_var_FC
=no
14772 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14773 hardcode_shlibpath_var_FC
=no
14774 export_dynamic_flag_spec_FC
='-Bexport'
14778 if test -d /usr
/nec
; then
14779 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14780 hardcode_shlibpath_var_FC
=no
14781 runpath_var
=LD_RUN_PATH
14782 hardcode_runpath_var
=yes
14787 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14788 no_undefined_flag_FC
='${wl}-z,text'
14789 archive_cmds_need_lc_FC
=no
14790 hardcode_shlibpath_var_FC
=no
14791 runpath_var
='LD_RUN_PATH'
14793 if test "$GCC" = yes; then
14794 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14795 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14797 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14798 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14802 sysv5
* | sco3.2v5
* | sco5v6
*)
14803 # Note: We can NOT use -z defs as we might desire, because we do not
14804 # link with -lc, and that would cause any symbols used from libc to
14805 # always be unresolved, which means just about no library would
14806 # ever link correctly. If we're not using GNU ld we use -z text
14807 # though, which does catch some bad symbols but isn't as heavy-handed
14809 no_undefined_flag_FC
='${wl}-z,text'
14810 allow_undefined_flag_FC
='${wl}-z,nodefs'
14811 archive_cmds_need_lc_FC
=no
14812 hardcode_shlibpath_var_FC
=no
14813 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
14814 hardcode_libdir_separator_FC
=':'
14815 link_all_deplibs_FC
=yes
14816 export_dynamic_flag_spec_FC
='${wl}-Bexport'
14817 runpath_var
='LD_RUN_PATH'
14819 if test "$GCC" = yes; then
14820 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14821 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14823 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14824 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14829 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14830 hardcode_libdir_flag_spec_FC
='-L$libdir'
14831 hardcode_shlibpath_var_FC
=no
14839 if test x
$host_vendor = xsni
; then
14841 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
14842 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14849 $as_echo "$ld_shlibs_FC" >&6; }
14850 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
14852 with_gnu_ld_FC
=$with_gnu_ld
14860 # Do we need to explicitly link libc?
14862 case "x$archive_cmds_need_lc_FC" in
14864 # Assume -lc should be added
14865 archive_cmds_need_lc_FC
=yes
14867 if test "$enable_shared" = yes && test "$GCC" = yes; then
14868 case $archive_cmds_FC in
14870 # FIXME: we may have to deal with multi-command sequences.
14873 # Test whether the compiler implicitly links with -lc since on some
14874 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14875 # to ld, don't add -lc before -lgcc.
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14877 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14878 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14879 $as_echo_n "(cached) " >&6
14882 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14884 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14885 (eval $ac_compile) 2>&5
14887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14888 test $ac_status = 0; } 2>conftest.err
; then
14891 libobjs
=conftest.
$ac_objext
14893 wl
=$lt_prog_compiler_wl_FC
14894 pic_flag
=$lt_prog_compiler_pic_FC
14900 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
14901 allow_undefined_flag_FC
=
14902 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14903 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14906 test $ac_status = 0; }
14908 lt_cv_archive_cmds_need_lc_FC
=no
14910 lt_cv_archive_cmds_need_lc_FC
=yes
14912 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
14914 cat conftest.err
1>&5
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14920 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14921 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14992 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14994 library_names_spec
=
14995 libname_spec
='lib$name'
14999 postuninstall_cmds
=
15003 shlibpath_overrides_runpath
=unknown
15005 dynamic_linker
="$host_os ld.so"
15006 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15007 need_lib_prefix
=unknown
15008 hardcode_into_libs
=no
15010 # when you set need_version to no, make sure it does not cause -set_version
15011 # flags to be left without arguments
15012 need_version
=unknown
15017 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15018 shlibpath_var
=LIBPATH
15020 # AIX 3 has no versioning support, so we append a major version to the name.
15021 soname_spec
='${libname}${release}${shared_ext}$major'
15028 hardcode_into_libs
=yes
15029 if test "$host_cpu" = ia64
; then
15030 # AIX 5 supports IA64
15031 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15032 shlibpath_var
=LD_LIBRARY_PATH
15034 # With GCC up to 2.95.x, collect2 would create an import file
15035 # for dependence libraries. The import file would start with
15036 # the line `#! .'. This would cause the generated library to
15037 # depend on `.', always an invalid library. This was fixed in
15038 # development snapshots of GCC prior to 3.0.
15040 aix4 | aix4.
[01] | aix4.
[01].
*)
15041 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15043 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15046 can_build_shared
=no
15050 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15051 # soname into executable. Probably we can add versioning support to
15052 # collect2, so additional links can be useful in future.
15053 if test "$aix_use_runtimelinking" = yes; then
15054 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15055 # instead of lib<name>.a to let people know that these are not
15056 # typical AIX shared libraries.
15057 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15059 # We preserve .a as extension for shared libraries through AIX4.2
15060 # and later when we are not doing run time linking.
15061 library_names_spec
='${libname}${release}.a $libname.a'
15062 soname_spec
='${libname}${release}${shared_ext}$major'
15064 shlibpath_var
=LIBPATH
15071 # Since July 2007 AmigaOS4 officially supports .so libraries.
15072 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15076 library_names_spec
='$libname.ixlibrary $libname.a'
15077 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15078 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'
15084 library_names_spec
='${libname}${shared_ext}'
15085 dynamic_linker
="$host_os ld.so"
15086 shlibpath_var
=LIBRARY_PATH
15092 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15093 soname_spec
='${libname}${release}${shared_ext}$major'
15094 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15095 shlibpath_var
=LD_LIBRARY_PATH
15096 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15097 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15098 # the default ld.so.conf also contains /usr/contrib/lib and
15099 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15100 # libtool to hard-code these into programs
15103 cygwin
* | mingw
* | pw32
* | cegcc
*)
15104 version_type
=windows
15109 case $GCC,$host_os in
15110 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15111 library_names_spec
='$libname.dll.a'
15112 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15113 postinstall_cmds
='base_file=`basename \${file}`~
15114 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15115 dldir=$destdir/`dirname \$dlpath`~
15116 test -d \$dldir || mkdir -p \$dldir~
15117 $install_prog $dir/$dlname \$dldir/$dlname~
15118 chmod a+x \$dldir/$dlname~
15119 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15120 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15122 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15123 dlpath=$dir/\$dldll~
15125 shlibpath_overrides_runpath
=yes
15129 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15130 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15134 # MinGW DLLs use traditional 'lib' prefix
15135 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15138 # pw32 DLLs use 'pw' prefix rather than 'lib'
15139 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15145 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15148 dynamic_linker
='Win32 ld.exe'
15149 # FIXME: first we should search . and the directory the executable is in
15153 darwin
* | rhapsody
*)
15154 dynamic_linker
="$host_os dyld"
15155 version_type
=darwin
15158 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15159 soname_spec
='${libname}${release}${major}$shared_ext'
15160 shlibpath_overrides_runpath
=yes
15161 shlibpath_var
=DYLD_LIBRARY_PATH
15162 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15164 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15171 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15172 soname_spec
='${libname}${release}${shared_ext}$major'
15173 shlibpath_var
=LD_LIBRARY_PATH
15176 freebsd
* | dragonfly
*)
15177 # DragonFly does not have aout. When/if they implement a new
15178 # versioning mechanism, adjust this.
15179 if test -x /usr
/bin
/objformat
; then
15180 objformat
=`/usr/bin/objformat`
15183 freebsd
[23].
*) objformat
=aout
;;
15184 *) objformat
=elf
;;
15187 version_type
=freebsd-
$objformat
15188 case $version_type in
15190 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15195 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15199 shlibpath_var
=LD_LIBRARY_PATH
15202 shlibpath_overrides_runpath
=yes
15204 freebsd3.
[01]* | freebsdelf3.
[01]*)
15205 shlibpath_overrides_runpath
=yes
15206 hardcode_into_libs
=yes
15208 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15209 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15210 shlibpath_overrides_runpath
=no
15211 hardcode_into_libs
=yes
15213 *) # from 4.6 on, and DragonFly
15214 shlibpath_overrides_runpath
=yes
15215 hardcode_into_libs
=yes
15224 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15225 soname_spec
='${libname}${release}${shared_ext}$major'
15226 shlibpath_var
=LD_LIBRARY_PATH
15227 hardcode_into_libs
=yes
15234 dynamic_linker
="$host_os runtime_loader"
15235 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15236 soname_spec
='${libname}${release}${shared_ext}$major'
15237 shlibpath_var
=LIBRARY_PATH
15238 shlibpath_overrides_runpath
=yes
15239 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15240 hardcode_into_libs
=yes
15243 hpux9
* | hpux10
* | hpux11
*)
15244 # Give a soname corresponding to the major version so that dld.sl refuses to
15245 # link against other versions.
15252 hardcode_into_libs
=yes
15253 dynamic_linker
="$host_os dld.so"
15254 shlibpath_var
=LD_LIBRARY_PATH
15255 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15257 soname_spec
='${libname}${release}${shared_ext}$major'
15258 if test "X$HPUX_IA64_MODE" = X32
; then
15259 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15261 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15263 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15267 hardcode_into_libs
=yes
15268 dynamic_linker
="$host_os dld.sl"
15269 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15270 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15271 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15272 soname_spec
='${libname}${release}${shared_ext}$major'
15273 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15274 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15278 dynamic_linker
="$host_os dld.sl"
15279 shlibpath_var
=SHLIB_PATH
15280 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15281 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15282 soname_spec
='${libname}${release}${shared_ext}$major'
15285 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15286 postinstall_cmds
='chmod 555 $lib'
15287 # or fails outright, so override atomically:
15288 install_override_mode
=555
15295 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15296 soname_spec
='${libname}${release}${shared_ext}$major'
15297 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15298 shlibpath_var
=LD_LIBRARY_PATH
15299 shlibpath_overrides_runpath
=no
15300 hardcode_into_libs
=yes
15303 irix5
* | irix6
* | nonstopux
*)
15305 nonstopux
*) version_type
=nonstopux
;;
15307 if test "$lt_cv_prog_gnu_ld" = yes; then
15315 soname_spec
='${libname}${release}${shared_ext}$major'
15316 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15318 irix5
* | nonstopux
*)
15319 libsuff
= shlibsuff
=
15322 case $LD in # libtool.m4 will add one of these switches to LD
15323 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15324 libsuff
= shlibsuff
= libmagic
=32-bit;;
15325 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15326 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15327 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15328 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15329 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15333 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15334 shlibpath_overrides_runpath
=no
15335 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15336 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15337 hardcode_into_libs
=yes
15340 # No shared lib support for Linux oldld, aout, or coff.
15341 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15345 # This must be Linux ELF.
15346 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15351 soname_spec
='${libname}${release}${shared_ext}$major'
15352 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15353 shlibpath_var
=LD_LIBRARY_PATH
15354 shlibpath_overrides_runpath
=no
15356 # Some binutils ld are patched to set DT_RUNPATH
15357 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15358 $as_echo_n "(cached) " >&6
15360 lt_cv_shlibpath_overrides_runpath
=no
15361 save_LDFLAGS
=$LDFLAGS
15362 save_libdir
=$libdir
15363 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15364 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15365 if test x
$gcc_no_link = xyes
; then
15366 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15368 cat > conftest.
$ac_ext <<_ACEOF
15373 if ac_fn_fc_try_link
"$LINENO"; then :
15374 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15375 lt_cv_shlibpath_overrides_runpath
=yes
15378 rm -f core conftest.err conftest.
$ac_objext \
15379 conftest
$ac_exeext conftest.
$ac_ext
15380 LDFLAGS
=$save_LDFLAGS
15381 libdir
=$save_libdir
15385 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15387 # This implies no fast_install, which is unacceptable.
15388 # Some rework will be needed to allow for fast_install
15389 # before this can be enabled.
15390 hardcode_into_libs
=yes
15392 # Append ld.so.conf contents to the search path
15393 if test -f /etc
/ld.so.conf
; then
15394 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' ' '`
15395 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15398 # We used to test for /lib/ld.so.1 and disable shared libraries on
15399 # powerpc, because MkLinux only supported shared libraries with the
15400 # GNU dynamic linker. Since this was broken with cross compilers,
15401 # most powerpc-linux boxes support dynamic linking these days and
15402 # people can always --disable-shared, the test was removed, and we
15403 # assume the GNU/Linux dynamic linker is in use.
15404 dynamic_linker
='GNU/Linux ld.so'
15411 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15412 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15413 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15414 dynamic_linker
='NetBSD (a.out) ld.so'
15416 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15417 soname_spec
='${libname}${release}${shared_ext}$major'
15418 dynamic_linker
='NetBSD ld.elf_so'
15420 shlibpath_var
=LD_LIBRARY_PATH
15421 shlibpath_overrides_runpath
=yes
15422 hardcode_into_libs
=yes
15427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15428 shlibpath_var
=LD_LIBRARY_PATH
15429 shlibpath_overrides_runpath
=yes
15436 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15437 soname_spec
='${libname}${release}${shared_ext}$major'
15438 shlibpath_var
=LD_LIBRARY_PATH
15439 shlibpath_overrides_runpath
=no
15440 hardcode_into_libs
=yes
15441 dynamic_linker
='ldqnx.so'
15446 sys_lib_dlsearch_path_spec
="/usr/lib"
15448 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15450 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15451 *) need_version
=no
;;
15453 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15454 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15455 shlibpath_var
=LD_LIBRARY_PATH
15456 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15458 openbsd2.
[89] | openbsd2.
[89].
*)
15459 shlibpath_overrides_runpath
=no
15462 shlibpath_overrides_runpath
=yes
15466 shlibpath_overrides_runpath
=yes
15471 libname_spec
='$name'
15474 library_names_spec
='$libname${shared_ext} $libname.a'
15475 dynamic_linker
='OS/2 ld.exe'
15476 shlibpath_var
=LIBPATH
15479 osf3
* | osf4
* | osf5
*)
15483 soname_spec
='${libname}${release}${shared_ext}$major'
15484 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15485 shlibpath_var
=LD_LIBRARY_PATH
15486 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15487 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15498 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15499 soname_spec
='${libname}${release}${shared_ext}$major'
15500 shlibpath_var
=LD_LIBRARY_PATH
15501 shlibpath_overrides_runpath
=yes
15502 hardcode_into_libs
=yes
15503 # ldd complains unless libraries are executable
15504 postinstall_cmds
='chmod +x $lib'
15509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15510 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15511 shlibpath_var
=LD_LIBRARY_PATH
15512 shlibpath_overrides_runpath
=yes
15513 if test "$with_gnu_ld" = yes; then
15521 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15522 soname_spec
='${libname}${release}${shared_ext}$major'
15523 shlibpath_var
=LD_LIBRARY_PATH
15524 case $host_vendor in
15526 shlibpath_overrides_runpath
=no
15528 runpath_var
=LD_RUN_PATH
15536 shlibpath_overrides_runpath
=no
15537 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15543 if test -d /usr
/nec
;then
15545 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15546 soname_spec
='$libname${shared_ext}.$major'
15547 shlibpath_var
=LD_LIBRARY_PATH
15551 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15552 version_type
=freebsd-elf
15555 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15556 soname_spec
='${libname}${release}${shared_ext}$major'
15557 shlibpath_var
=LD_LIBRARY_PATH
15558 shlibpath_overrides_runpath
=yes
15559 hardcode_into_libs
=yes
15560 if test "$with_gnu_ld" = yes; then
15561 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15563 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15566 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15570 sys_lib_dlsearch_path_spec
='/usr/lib'
15574 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15578 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15579 shlibpath_var
=LD_LIBRARY_PATH
15580 shlibpath_overrides_runpath
=no
15581 hardcode_into_libs
=yes
15586 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15587 soname_spec
='${libname}${release}${shared_ext}$major'
15588 shlibpath_var
=LD_LIBRARY_PATH
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15596 $as_echo "$dynamic_linker" >&6; }
15597 test "$dynamic_linker" = no
&& can_build_shared
=no
15599 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15600 if test "$GCC" = yes; then
15601 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15604 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15605 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15607 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15608 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15649 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15650 hardcode_action_FC
=
15651 if test -n "$hardcode_libdir_flag_spec_FC" ||
15652 test -n "$runpath_var_FC" ||
15653 test "X$hardcode_automatic_FC" = "Xyes" ; then
15655 # We can hardcode non-existent directories.
15656 if test "$hardcode_direct_FC" != no
&&
15657 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15658 # have to relink, otherwise we might link with an installed library
15659 # when we should be linking with a yet-to-be-installed one
15660 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15661 test "$hardcode_minus_L_FC" != no
; then
15662 # Linking always hardcodes the temporary library directory.
15663 hardcode_action_FC
=relink
15665 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15666 hardcode_action_FC
=immediate
15669 # We cannot hardcode anything, or else we can only hardcode existing
15671 hardcode_action_FC
=unsupported
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15674 $as_echo "$hardcode_action_FC" >&6; }
15676 if test "$hardcode_action_FC" = relink ||
15677 test "$inherit_rpath_FC" = yes; then
15678 # Fast installation is not supported
15679 enable_fast_install
=no
15680 elif test "$shlibpath_overrides_runpath" = yes ||
15681 test "$enable_shared" = no
; then
15682 # Fast installation is not necessary
15683 enable_fast_install
=needless
15692 fi # test -n "$compiler"
15696 fi # test "$_lt_disable_FC" != yes
15699 ac_cpp
='$CPP $CPPFLAGS'
15700 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15701 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15702 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15706 # extra LD Flags which are required for targets
15709 # Darwin needs -single_module when linking libgfortran
15710 extra_ldflags_libgfortran
=-Wl,-single_module
15715 # We need a working compiler at that point, otherwise give a clear
15716 # error message and bail out.
15718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15719 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15720 ac_ext
=${ac_fc_srcext-f}
15721 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15722 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15723 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
15725 cat > conftest.
$ac_ext <<_ACEOF
15728 real, parameter :: bar = sin (12.34 / 2.5)
15731 if ac_fn_fc_try_compile
"$LINENO"; then :
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15733 $as_echo "yes" >&6; }
15735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15736 $as_echo "no" >&6; }
15737 as_fn_error
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15740 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15742 ac_cpp
='$CPP $CPPFLAGS'
15743 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15744 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15745 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15749 # Check whether --enable-largefile was given.
15750 if test "${enable_largefile+set}" = set; then :
15751 enableval
=$enable_largefile;
15754 if test "$enable_largefile" != no
; then
15756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15757 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15758 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15759 $as_echo_n "(cached) " >&6
15761 ac_cv_sys_largefile_CC
=no
15762 if test "$GCC" != yes; then
15765 # IRIX 6.2 and later do not support large files by default,
15766 # so use the C compiler's -n32 option if that helps.
15767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15768 /* end confdefs.h. */
15769 #include <sys/types.h>
15770 /* Check that off_t can represent 2**63 - 1 correctly.
15771 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15772 since some C++ compilers masquerading as C compilers
15773 incorrectly reject 9223372036854775807. */
15774 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15775 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15776 && LARGE_OFF_T % 2147483647 == 1)
15786 if ac_fn_c_try_compile
"$LINENO"; then :
15789 rm -f core conftest.err conftest.
$ac_objext
15791 if ac_fn_c_try_compile
"$LINENO"; then :
15792 ac_cv_sys_largefile_CC
=' -n32'; break
15794 rm -f core conftest.err conftest.
$ac_objext
15798 rm -f conftest.
$ac_ext
15801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15802 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15803 if test "$ac_cv_sys_largefile_CC" != no
; then
15804 CC
=$CC$ac_cv_sys_largefile_CC
15807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15808 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15809 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15810 $as_echo_n "(cached) " >&6
15813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15814 /* end confdefs.h. */
15815 #include <sys/types.h>
15816 /* Check that off_t can represent 2**63 - 1 correctly.
15817 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15818 since some C++ compilers masquerading as C compilers
15819 incorrectly reject 9223372036854775807. */
15820 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15821 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15822 && LARGE_OFF_T % 2147483647 == 1)
15832 if ac_fn_c_try_compile
"$LINENO"; then :
15833 ac_cv_sys_file_offset_bits
=no
; break
15835 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15837 /* end confdefs.h. */
15838 #define _FILE_OFFSET_BITS 64
15839 #include <sys/types.h>
15840 /* Check that off_t can represent 2**63 - 1 correctly.
15841 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15842 since some C++ compilers masquerading as C compilers
15843 incorrectly reject 9223372036854775807. */
15844 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15845 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15846 && LARGE_OFF_T % 2147483647 == 1)
15856 if ac_fn_c_try_compile
"$LINENO"; then :
15857 ac_cv_sys_file_offset_bits
=64; break
15859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15860 ac_cv_sys_file_offset_bits
=unknown
15864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15865 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15866 case $ac_cv_sys_file_offset_bits in #(
15869 cat >>confdefs.h
<<_ACEOF
15870 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15875 if test $ac_cv_sys_file_offset_bits = unknown
; then
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15877 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15878 if test "${ac_cv_sys_large_files+set}" = set; then :
15879 $as_echo_n "(cached) " >&6
15882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15883 /* end confdefs.h. */
15884 #include <sys/types.h>
15885 /* Check that off_t can represent 2**63 - 1 correctly.
15886 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15887 since some C++ compilers masquerading as C compilers
15888 incorrectly reject 9223372036854775807. */
15889 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15890 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15891 && LARGE_OFF_T % 2147483647 == 1)
15901 if ac_fn_c_try_compile
"$LINENO"; then :
15902 ac_cv_sys_large_files
=no
; break
15904 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15906 /* end confdefs.h. */
15907 #define _LARGE_FILES 1
15908 #include <sys/types.h>
15909 /* Check that off_t can represent 2**63 - 1 correctly.
15910 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15911 since some C++ compilers masquerading as C compilers
15912 incorrectly reject 9223372036854775807. */
15913 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15914 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15915 && LARGE_OFF_T % 2147483647 == 1)
15925 if ac_fn_c_try_compile
"$LINENO"; then :
15926 ac_cv_sys_large_files
=1; break
15928 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15929 ac_cv_sys_large_files
=unknown
15933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15934 $as_echo "$ac_cv_sys_large_files" >&6; }
15935 case $ac_cv_sys_large_files in #(
15938 cat >>confdefs.h
<<_ACEOF
15939 #define _LARGE_FILES $ac_cv_sys_large_files
15949 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15950 if test "x$ac_cv_type_off_t" = x
""yes; then :
15954 cat >>confdefs.h
<<_ACEOF
15955 #define off_t long int
15961 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15962 if test "x$ac_cv_type_intptr_t" = x
""yes; then :
15964 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
15967 for ac_type
in 'int' 'long int' 'long long int'; do
15968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15969 /* end confdefs.h. */
15970 $ac_includes_default
15974 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15981 if ac_fn_c_try_compile
"$LINENO"; then :
15983 cat >>confdefs.h
<<_ACEOF
15984 #define intptr_t $ac_type
15989 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15990 test -z "$ac_type" && break
15996 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15997 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15999 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
16002 for ac_type
in 'unsigned int' 'unsigned long int' \
16003 'unsigned long long int'; do
16004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16005 /* end confdefs.h. */
16006 $ac_includes_default
16010 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16017 if ac_fn_c_try_compile
"$LINENO"; then :
16019 cat >>confdefs.h
<<_ACEOF
16020 #define uintptr_t $ac_type
16025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16026 test -z "$ac_type" && break
16031 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16032 if test "x$ac_cv_type_ptrdiff_t" = x
""yes; then :
16034 cat >>confdefs.h
<<_ACEOF
16035 #define HAVE_PTRDIFF_T 1
16042 # check header files (we assume C89 is available, so don't check for that)
16046 for ac_header
in $ac_header_list
16048 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16049 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16051 eval as_val
=\$
$as_ac_Header
16052 if test "x$as_val" = x
""yes; then :
16053 cat >>confdefs.h
<<_ACEOF
16054 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16095 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16097 acx_cv_header_stdint
=stddef.h
16098 acx_cv_header_stdint_kind
="(already complete)"
16099 for i
in stdint.h
$inttype_headers; do
16100 unset ac_cv_type_uintptr_t
16101 unset ac_cv_type_uintmax_t
16102 unset ac_cv_type_int_least32_t
16103 unset ac_cv_type_int_fast32_t
16104 unset ac_cv_type_uint64_t
16105 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16106 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16109 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
16110 acx_cv_header_stdint
=$i
16115 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16118 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16121 acx_cv_header_stdint_kind
="(mostly complete)"
16124 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16127 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
16130 acx_cv_header_stdint_kind
="(mostly complete)"
16133 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16136 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
16139 acx_cv_header_stdint_kind
="(mostly complete)"
16142 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16145 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16148 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16153 if test "$acx_cv_header_stdint" = stddef.h
; then
16154 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16155 for i
in stdint.h
$inttype_headers; do
16156 unset ac_cv_type_uintptr_t
16157 unset ac_cv_type_uint32_t
16158 unset ac_cv_type_uint64_t
16159 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16160 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16163 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
16164 acx_cv_header_stdint
=$i
16169 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16172 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16176 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16179 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16186 if test "$acx_cv_header_stdint" = stddef.h
; then
16187 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16188 for i
in sys
/types.h
$inttype_headers; do
16189 unset ac_cv_type_u_int32_t
16190 unset ac_cv_type_u_int64_t
16191 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16192 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16195 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
16196 acx_cv_header_stdint
=$i
16201 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16204 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
16211 if test "$acx_cv_header_stdint" = stddef.h
; then
16212 acx_cv_header_stdint_kind
="(using manual detection)"
16215 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16216 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16217 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16218 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16219 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16221 # ----------------- Summarize what we found so far
16223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16224 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16226 case `$as_basename -- gstdint.h ||
16227 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16228 Xgstdint.h : 'X\(//\)$' \| \
16229 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16230 $as_echo X/gstdint.h |
16231 sed '/^.*\/\([^/][^/]*\)\/*$/{
16244 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16245 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16246 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16247 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16252 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16254 # ----------------- done included file, check C basic types --------
16256 # Lacking an uintptr_t? Test size of void *
16257 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16258 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16259 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16260 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16261 # This bug is HP SR number 8606223364.
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16263 $as_echo_n "checking size of void *... " >&6; }
16264 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16265 $as_echo_n "(cached) " >&6
16267 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16270 if test "$ac_cv_type_void_p" = yes; then
16271 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16273 { as_fn_set_status
77
16274 as_fn_error
"cannot compute sizeof (void *)
16275 See \`config.log' for more details." "$LINENO" 5; }; }
16277 ac_cv_sizeof_void_p
=0
16282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16283 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16287 cat >>confdefs.h
<<_ACEOF
16288 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16294 # Lacking an uint64_t? Test size of long
16295 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16296 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16297 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16298 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16299 # This bug is HP SR number 8606223364.
16300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16301 $as_echo_n "checking size of long... " >&6; }
16302 if test "${ac_cv_sizeof_long+set}" = set; then :
16303 $as_echo_n "(cached) " >&6
16305 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16308 if test "$ac_cv_type_long" = yes; then
16309 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16310 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16311 { as_fn_set_status
77
16312 as_fn_error
"cannot compute sizeof (long)
16313 See \`config.log' for more details." "$LINENO" 5; }; }
16315 ac_cv_sizeof_long
=0
16320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16321 $as_echo "$ac_cv_sizeof_long" >&6; }
16325 cat >>confdefs.h
<<_ACEOF
16326 #define SIZEOF_LONG $ac_cv_sizeof_long
16332 if test $acx_cv_header_stdint = stddef.h
; then
16333 # Lacking a good header? Test size of everything and deduce all types.
16334 # The cast to long int works around a bug in the HP C Compiler
16335 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16336 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16337 # This bug is HP SR number 8606223364.
16338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16339 $as_echo_n "checking size of int... " >&6; }
16340 if test "${ac_cv_sizeof_int+set}" = set; then :
16341 $as_echo_n "(cached) " >&6
16343 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16346 if test "$ac_cv_type_int" = yes; then
16347 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16349 { as_fn_set_status
77
16350 as_fn_error
"cannot compute sizeof (int)
16351 See \`config.log' for more details." "$LINENO" 5; }; }
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16359 $as_echo "$ac_cv_sizeof_int" >&6; }
16363 cat >>confdefs.h
<<_ACEOF
16364 #define SIZEOF_INT $ac_cv_sizeof_int
16368 # The cast to long int works around a bug in the HP C Compiler
16369 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16370 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16371 # This bug is HP SR number 8606223364.
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16373 $as_echo_n "checking size of short... " >&6; }
16374 if test "${ac_cv_sizeof_short+set}" = set; then :
16375 $as_echo_n "(cached) " >&6
16377 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16380 if test "$ac_cv_type_short" = yes; then
16381 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16382 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16383 { as_fn_set_status
77
16384 as_fn_error
"cannot compute sizeof (short)
16385 See \`config.log' for more details." "$LINENO" 5; }; }
16387 ac_cv_sizeof_short
=0
16392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16393 $as_echo "$ac_cv_sizeof_short" >&6; }
16397 cat >>confdefs.h
<<_ACEOF
16398 #define SIZEOF_SHORT $ac_cv_sizeof_short
16402 # The cast to long int works around a bug in the HP C Compiler
16403 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16404 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16405 # This bug is HP SR number 8606223364.
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16407 $as_echo_n "checking size of char... " >&6; }
16408 if test "${ac_cv_sizeof_char+set}" = set; then :
16409 $as_echo_n "(cached) " >&6
16411 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16414 if test "$ac_cv_type_char" = yes; then
16415 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16416 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16417 { as_fn_set_status
77
16418 as_fn_error
"cannot compute sizeof (char)
16419 See \`config.log' for more details." "$LINENO" 5; }; }
16421 ac_cv_sizeof_char
=0
16426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16427 $as_echo "$ac_cv_sizeof_char" >&6; }
16431 cat >>confdefs.h
<<_ACEOF
16432 #define SIZEOF_CHAR $ac_cv_sizeof_char
16437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16438 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16439 case "$ac_cv_sizeof_char" in
16440 1) acx_cv_type_int8_t
=char
;;
16441 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
16443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16444 $as_echo "$acx_cv_type_int8_t" >&6; }
16446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16447 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16448 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16449 2:*) acx_cv_type_int16_t
=int
;;
16450 *:2) acx_cv_type_int16_t
=short
;;
16451 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
16453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16454 $as_echo "$acx_cv_type_int16_t" >&6; }
16456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16457 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16458 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16459 4:*) acx_cv_type_int32_t
=int
;;
16460 *:4) acx_cv_type_int32_t
=long
;;
16461 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
16463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16464 $as_echo "$acx_cv_type_int32_t" >&6; }
16467 # These tests are here to make the output prettier
16469 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16470 case "$ac_cv_sizeof_long" in
16471 8) acx_cv_type_int64_t
=long
;;
16473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16474 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16476 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16479 # Now we can use the above types
16481 if test "$ac_cv_type_uintptr_t" != yes; then
16482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16483 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16484 case $ac_cv_sizeof_void_p in
16485 2) acx_cv_type_intptr_t
=int16_t
;;
16486 4) acx_cv_type_intptr_t
=int32_t
;;
16487 8) acx_cv_type_intptr_t
=int64_t
;;
16488 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16491 $as_echo "$acx_cv_type_intptr_t" >&6; }
16494 # ----------------- done all checks, emit header -------------
16495 ac_config_commands
="$ac_config_commands gstdint.h"
16500 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16501 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
16503 cat >>confdefs.h
<<_ACEOF
16504 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16509 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16510 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
16512 cat >>confdefs.h
<<_ACEOF
16513 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16518 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16519 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
16521 cat >>confdefs.h
<<_ACEOF
16522 #define HAVE_STRUCT_STAT_ST_RDEV 1
16529 case "${host}--x${with_newlib}" in
16531 hardwire_newlib
=1;;
16533 hardwire_newlib
=1;;
16536 # Check for library functions.
16537 if test "${hardwire_newlib:-0}" -eq 1; then
16538 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
16539 # may not work correctly, because the compiler may not be able to
16540 # link executables.
16542 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
16545 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
16548 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
16551 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
16554 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
16557 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
16560 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
16563 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
16566 # At some point, we should differentiate between architectures
16567 # like x86, which have long double versions, and alpha/powerpc/etc.,
16568 # which don't. For the time being, punt.
16569 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
16571 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
16578 for ac_func
in $ac_func_list
16580 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16581 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16582 eval as_val
=\$
$as_ac_var
16583 if test "x$as_val" = x
""yes; then :
16584 cat >>confdefs.h
<<_ACEOF
16585 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16692 # Check strerror_r, cannot be above as versions with two and three arguments exist
16694 ac_save_CFLAGS
="$CFLAGS"
16695 CFLAGS
="-Wimplicit-function-declaration -Werror"
16696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16697 /* end confdefs.h. */
16698 #define _GNU_SOURCE 1
16699 #include <string.h>
16700 #include <locale.h>
16704 char s[128]; strerror_r(5, s, 128);
16709 if ac_fn_c_try_compile
"$LINENO"; then :
16711 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16714 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16715 CFLAGS
="$ac_save_CFLAGS"
16717 ac_save_CFLAGS
="$CFLAGS"
16718 CFLAGS
="-Wimplicit-function-declaration -Werror"
16719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16720 /* end confdefs.h. */
16721 #define _GNU_SOURCE 1
16722 #include <string.h>
16723 #include <locale.h>
16727 char s[128]; strerror_r(5, s);
16732 if ac_fn_c_try_compile
"$LINENO"; then :
16734 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
16737 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16738 CFLAGS
="$ac_save_CFLAGS"
16741 # Check for C99 (and other IEEE) math functions
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16743 $as_echo_n "checking for sin in -lm... " >&6; }
16744 if test "${ac_cv_lib_m_sin+set}" = set; then :
16745 $as_echo_n "(cached) " >&6
16747 ac_check_lib_save_LIBS
=$LIBS
16749 if test x
$gcc_no_link = xyes
; then
16750 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16753 /* end confdefs.h. */
16755 /* Override any GCC internal prototype to avoid an error.
16756 Use char because int might match the return type of a GCC
16757 builtin and then its argument prototype would still apply. */
16770 if ac_fn_c_try_link
"$LINENO"; then :
16771 ac_cv_lib_m_sin
=yes
16775 rm -f core conftest.err conftest.
$ac_objext \
16776 conftest
$ac_exeext conftest.
$ac_ext
16777 LIBS
=$ac_check_lib_save_LIBS
16779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16780 $as_echo "$ac_cv_lib_m_sin" >&6; }
16781 if test "x$ac_cv_lib_m_sin" = x
""yes; then :
16782 cat >>confdefs.h
<<_ACEOF
16783 #define HAVE_LIBM 1
16796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
16797 $as_echo_n "checking for acosf... " >&6; }
16798 if test "${gcc_cv_math_func_acosf+set}" = set; then :
16799 $as_echo_n "(cached) " >&6
16801 if test x
$gcc_no_link = xyes
; then
16802 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16805 /* end confdefs.h. */
16807 #ifdef HAVE_COMPLEX_H
16808 #include <complex.h>
16814 int (*ptr)() = (int (*)())acosf;
16823 if ac_fn_c_try_link
"$LINENO"; then :
16824 gcc_cv_math_func_acosf
=yes
16826 gcc_cv_math_func_acosf
=no
16828 rm -f core conftest.err conftest.
$ac_objext \
16829 conftest
$ac_exeext conftest.
$ac_ext
16831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
16832 $as_echo "$gcc_cv_math_func_acosf" >&6; }
16833 if test $gcc_cv_math_func_acosf = yes; then
16835 cat >>confdefs.h
<<_ACEOF
16836 #define HAVE_ACOSF 1
16844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
16845 $as_echo_n "checking for acos... " >&6; }
16846 if test "${gcc_cv_math_func_acos+set}" = set; then :
16847 $as_echo_n "(cached) " >&6
16849 if test x
$gcc_no_link = xyes
; then
16850 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16853 /* end confdefs.h. */
16855 #ifdef HAVE_COMPLEX_H
16856 #include <complex.h>
16862 int (*ptr)() = (int (*)())acos;
16871 if ac_fn_c_try_link
"$LINENO"; then :
16872 gcc_cv_math_func_acos
=yes
16874 gcc_cv_math_func_acos
=no
16876 rm -f core conftest.err conftest.
$ac_objext \
16877 conftest
$ac_exeext conftest.
$ac_ext
16879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
16880 $as_echo "$gcc_cv_math_func_acos" >&6; }
16881 if test $gcc_cv_math_func_acos = yes; then
16883 cat >>confdefs.h
<<_ACEOF
16884 #define HAVE_ACOS 1
16892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
16893 $as_echo_n "checking for acosl... " >&6; }
16894 if test "${gcc_cv_math_func_acosl+set}" = set; then :
16895 $as_echo_n "(cached) " >&6
16897 if test x
$gcc_no_link = xyes
; then
16898 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16901 /* end confdefs.h. */
16903 #ifdef HAVE_COMPLEX_H
16904 #include <complex.h>
16910 int (*ptr)() = (int (*)())acosl;
16919 if ac_fn_c_try_link
"$LINENO"; then :
16920 gcc_cv_math_func_acosl
=yes
16922 gcc_cv_math_func_acosl
=no
16924 rm -f core conftest.err conftest.
$ac_objext \
16925 conftest
$ac_exeext conftest.
$ac_ext
16927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
16928 $as_echo "$gcc_cv_math_func_acosl" >&6; }
16929 if test $gcc_cv_math_func_acosl = yes; then
16931 cat >>confdefs.h
<<_ACEOF
16932 #define HAVE_ACOSL 1
16940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
16941 $as_echo_n "checking for acoshf... " >&6; }
16942 if test "${gcc_cv_math_func_acoshf+set}" = set; then :
16943 $as_echo_n "(cached) " >&6
16945 if test x
$gcc_no_link = xyes
; then
16946 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16949 /* end confdefs.h. */
16951 #ifdef HAVE_COMPLEX_H
16952 #include <complex.h>
16958 int (*ptr)() = (int (*)())acoshf;
16967 if ac_fn_c_try_link
"$LINENO"; then :
16968 gcc_cv_math_func_acoshf
=yes
16970 gcc_cv_math_func_acoshf
=no
16972 rm -f core conftest.err conftest.
$ac_objext \
16973 conftest
$ac_exeext conftest.
$ac_ext
16975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
16976 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
16977 if test $gcc_cv_math_func_acoshf = yes; then
16979 cat >>confdefs.h
<<_ACEOF
16980 #define HAVE_ACOSHF 1
16988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
16989 $as_echo_n "checking for acosh... " >&6; }
16990 if test "${gcc_cv_math_func_acosh+set}" = set; then :
16991 $as_echo_n "(cached) " >&6
16993 if test x
$gcc_no_link = xyes
; then
16994 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16997 /* end confdefs.h. */
16999 #ifdef HAVE_COMPLEX_H
17000 #include <complex.h>
17006 int (*ptr)() = (int (*)())acosh;
17015 if ac_fn_c_try_link
"$LINENO"; then :
17016 gcc_cv_math_func_acosh
=yes
17018 gcc_cv_math_func_acosh
=no
17020 rm -f core conftest.err conftest.
$ac_objext \
17021 conftest
$ac_exeext conftest.
$ac_ext
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
17024 $as_echo "$gcc_cv_math_func_acosh" >&6; }
17025 if test $gcc_cv_math_func_acosh = yes; then
17027 cat >>confdefs.h
<<_ACEOF
17028 #define HAVE_ACOSH 1
17036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
17037 $as_echo_n "checking for acoshl... " >&6; }
17038 if test "${gcc_cv_math_func_acoshl+set}" = set; then :
17039 $as_echo_n "(cached) " >&6
17041 if test x
$gcc_no_link = xyes
; then
17042 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17045 /* end confdefs.h. */
17047 #ifdef HAVE_COMPLEX_H
17048 #include <complex.h>
17054 int (*ptr)() = (int (*)())acoshl;
17063 if ac_fn_c_try_link
"$LINENO"; then :
17064 gcc_cv_math_func_acoshl
=yes
17066 gcc_cv_math_func_acoshl
=no
17068 rm -f core conftest.err conftest.
$ac_objext \
17069 conftest
$ac_exeext conftest.
$ac_ext
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17072 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17073 if test $gcc_cv_math_func_acoshl = yes; then
17075 cat >>confdefs.h
<<_ACEOF
17076 #define HAVE_ACOSHL 1
17084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17085 $as_echo_n "checking for asinf... " >&6; }
17086 if test "${gcc_cv_math_func_asinf+set}" = set; then :
17087 $as_echo_n "(cached) " >&6
17089 if test x
$gcc_no_link = xyes
; then
17090 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17093 /* end confdefs.h. */
17095 #ifdef HAVE_COMPLEX_H
17096 #include <complex.h>
17102 int (*ptr)() = (int (*)())asinf;
17111 if ac_fn_c_try_link
"$LINENO"; then :
17112 gcc_cv_math_func_asinf
=yes
17114 gcc_cv_math_func_asinf
=no
17116 rm -f core conftest.err conftest.
$ac_objext \
17117 conftest
$ac_exeext conftest.
$ac_ext
17119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17120 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17121 if test $gcc_cv_math_func_asinf = yes; then
17123 cat >>confdefs.h
<<_ACEOF
17124 #define HAVE_ASINF 1
17132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17133 $as_echo_n "checking for asin... " >&6; }
17134 if test "${gcc_cv_math_func_asin+set}" = set; then :
17135 $as_echo_n "(cached) " >&6
17137 if test x
$gcc_no_link = xyes
; then
17138 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17141 /* end confdefs.h. */
17143 #ifdef HAVE_COMPLEX_H
17144 #include <complex.h>
17150 int (*ptr)() = (int (*)())asin;
17159 if ac_fn_c_try_link
"$LINENO"; then :
17160 gcc_cv_math_func_asin
=yes
17162 gcc_cv_math_func_asin
=no
17164 rm -f core conftest.err conftest.
$ac_objext \
17165 conftest
$ac_exeext conftest.
$ac_ext
17167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17168 $as_echo "$gcc_cv_math_func_asin" >&6; }
17169 if test $gcc_cv_math_func_asin = yes; then
17171 cat >>confdefs.h
<<_ACEOF
17172 #define HAVE_ASIN 1
17180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17181 $as_echo_n "checking for asinl... " >&6; }
17182 if test "${gcc_cv_math_func_asinl+set}" = set; then :
17183 $as_echo_n "(cached) " >&6
17185 if test x
$gcc_no_link = xyes
; then
17186 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17189 /* end confdefs.h. */
17191 #ifdef HAVE_COMPLEX_H
17192 #include <complex.h>
17198 int (*ptr)() = (int (*)())asinl;
17207 if ac_fn_c_try_link
"$LINENO"; then :
17208 gcc_cv_math_func_asinl
=yes
17210 gcc_cv_math_func_asinl
=no
17212 rm -f core conftest.err conftest.
$ac_objext \
17213 conftest
$ac_exeext conftest.
$ac_ext
17215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17216 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17217 if test $gcc_cv_math_func_asinl = yes; then
17219 cat >>confdefs.h
<<_ACEOF
17220 #define HAVE_ASINL 1
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17229 $as_echo_n "checking for asinhf... " >&6; }
17230 if test "${gcc_cv_math_func_asinhf+set}" = set; then :
17231 $as_echo_n "(cached) " >&6
17233 if test x
$gcc_no_link = xyes
; then
17234 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17237 /* end confdefs.h. */
17239 #ifdef HAVE_COMPLEX_H
17240 #include <complex.h>
17246 int (*ptr)() = (int (*)())asinhf;
17255 if ac_fn_c_try_link
"$LINENO"; then :
17256 gcc_cv_math_func_asinhf
=yes
17258 gcc_cv_math_func_asinhf
=no
17260 rm -f core conftest.err conftest.
$ac_objext \
17261 conftest
$ac_exeext conftest.
$ac_ext
17263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17264 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17265 if test $gcc_cv_math_func_asinhf = yes; then
17267 cat >>confdefs.h
<<_ACEOF
17268 #define HAVE_ASINHF 1
17276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17277 $as_echo_n "checking for asinh... " >&6; }
17278 if test "${gcc_cv_math_func_asinh+set}" = set; then :
17279 $as_echo_n "(cached) " >&6
17281 if test x
$gcc_no_link = xyes
; then
17282 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17285 /* end confdefs.h. */
17287 #ifdef HAVE_COMPLEX_H
17288 #include <complex.h>
17294 int (*ptr)() = (int (*)())asinh;
17303 if ac_fn_c_try_link
"$LINENO"; then :
17304 gcc_cv_math_func_asinh
=yes
17306 gcc_cv_math_func_asinh
=no
17308 rm -f core conftest.err conftest.
$ac_objext \
17309 conftest
$ac_exeext conftest.
$ac_ext
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17312 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17313 if test $gcc_cv_math_func_asinh = yes; then
17315 cat >>confdefs.h
<<_ACEOF
17316 #define HAVE_ASINH 1
17324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17325 $as_echo_n "checking for asinhl... " >&6; }
17326 if test "${gcc_cv_math_func_asinhl+set}" = set; then :
17327 $as_echo_n "(cached) " >&6
17329 if test x
$gcc_no_link = xyes
; then
17330 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17333 /* end confdefs.h. */
17335 #ifdef HAVE_COMPLEX_H
17336 #include <complex.h>
17342 int (*ptr)() = (int (*)())asinhl;
17351 if ac_fn_c_try_link
"$LINENO"; then :
17352 gcc_cv_math_func_asinhl
=yes
17354 gcc_cv_math_func_asinhl
=no
17356 rm -f core conftest.err conftest.
$ac_objext \
17357 conftest
$ac_exeext conftest.
$ac_ext
17359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17360 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17361 if test $gcc_cv_math_func_asinhl = yes; then
17363 cat >>confdefs.h
<<_ACEOF
17364 #define HAVE_ASINHL 1
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17373 $as_echo_n "checking for atan2f... " >&6; }
17374 if test "${gcc_cv_math_func_atan2f+set}" = set; then :
17375 $as_echo_n "(cached) " >&6
17377 if test x
$gcc_no_link = xyes
; then
17378 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17381 /* end confdefs.h. */
17383 #ifdef HAVE_COMPLEX_H
17384 #include <complex.h>
17390 int (*ptr)() = (int (*)())atan2f;
17399 if ac_fn_c_try_link
"$LINENO"; then :
17400 gcc_cv_math_func_atan2f
=yes
17402 gcc_cv_math_func_atan2f
=no
17404 rm -f core conftest.err conftest.
$ac_objext \
17405 conftest
$ac_exeext conftest.
$ac_ext
17407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17408 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17409 if test $gcc_cv_math_func_atan2f = yes; then
17411 cat >>confdefs.h
<<_ACEOF
17412 #define HAVE_ATAN2F 1
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17421 $as_echo_n "checking for atan2... " >&6; }
17422 if test "${gcc_cv_math_func_atan2+set}" = set; then :
17423 $as_echo_n "(cached) " >&6
17425 if test x
$gcc_no_link = xyes
; then
17426 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17429 /* end confdefs.h. */
17431 #ifdef HAVE_COMPLEX_H
17432 #include <complex.h>
17438 int (*ptr)() = (int (*)())atan2;
17447 if ac_fn_c_try_link
"$LINENO"; then :
17448 gcc_cv_math_func_atan2
=yes
17450 gcc_cv_math_func_atan2
=no
17452 rm -f core conftest.err conftest.
$ac_objext \
17453 conftest
$ac_exeext conftest.
$ac_ext
17455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17456 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17457 if test $gcc_cv_math_func_atan2 = yes; then
17459 cat >>confdefs.h
<<_ACEOF
17460 #define HAVE_ATAN2 1
17468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17469 $as_echo_n "checking for atan2l... " >&6; }
17470 if test "${gcc_cv_math_func_atan2l+set}" = set; then :
17471 $as_echo_n "(cached) " >&6
17473 if test x
$gcc_no_link = xyes
; then
17474 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17477 /* end confdefs.h. */
17479 #ifdef HAVE_COMPLEX_H
17480 #include <complex.h>
17486 int (*ptr)() = (int (*)())atan2l;
17495 if ac_fn_c_try_link
"$LINENO"; then :
17496 gcc_cv_math_func_atan2l
=yes
17498 gcc_cv_math_func_atan2l
=no
17500 rm -f core conftest.err conftest.
$ac_objext \
17501 conftest
$ac_exeext conftest.
$ac_ext
17503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17504 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17505 if test $gcc_cv_math_func_atan2l = yes; then
17507 cat >>confdefs.h
<<_ACEOF
17508 #define HAVE_ATAN2L 1
17516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17517 $as_echo_n "checking for atanf... " >&6; }
17518 if test "${gcc_cv_math_func_atanf+set}" = set; then :
17519 $as_echo_n "(cached) " >&6
17521 if test x
$gcc_no_link = xyes
; then
17522 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17525 /* end confdefs.h. */
17527 #ifdef HAVE_COMPLEX_H
17528 #include <complex.h>
17534 int (*ptr)() = (int (*)())atanf;
17543 if ac_fn_c_try_link
"$LINENO"; then :
17544 gcc_cv_math_func_atanf
=yes
17546 gcc_cv_math_func_atanf
=no
17548 rm -f core conftest.err conftest.
$ac_objext \
17549 conftest
$ac_exeext conftest.
$ac_ext
17551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17552 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17553 if test $gcc_cv_math_func_atanf = yes; then
17555 cat >>confdefs.h
<<_ACEOF
17556 #define HAVE_ATANF 1
17564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17565 $as_echo_n "checking for atan... " >&6; }
17566 if test "${gcc_cv_math_func_atan+set}" = set; then :
17567 $as_echo_n "(cached) " >&6
17569 if test x
$gcc_no_link = xyes
; then
17570 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17573 /* end confdefs.h. */
17575 #ifdef HAVE_COMPLEX_H
17576 #include <complex.h>
17582 int (*ptr)() = (int (*)())atan;
17591 if ac_fn_c_try_link
"$LINENO"; then :
17592 gcc_cv_math_func_atan
=yes
17594 gcc_cv_math_func_atan
=no
17596 rm -f core conftest.err conftest.
$ac_objext \
17597 conftest
$ac_exeext conftest.
$ac_ext
17599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17600 $as_echo "$gcc_cv_math_func_atan" >&6; }
17601 if test $gcc_cv_math_func_atan = yes; then
17603 cat >>confdefs.h
<<_ACEOF
17604 #define HAVE_ATAN 1
17612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17613 $as_echo_n "checking for atanl... " >&6; }
17614 if test "${gcc_cv_math_func_atanl+set}" = set; then :
17615 $as_echo_n "(cached) " >&6
17617 if test x
$gcc_no_link = xyes
; then
17618 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17621 /* end confdefs.h. */
17623 #ifdef HAVE_COMPLEX_H
17624 #include <complex.h>
17630 int (*ptr)() = (int (*)())atanl;
17639 if ac_fn_c_try_link
"$LINENO"; then :
17640 gcc_cv_math_func_atanl
=yes
17642 gcc_cv_math_func_atanl
=no
17644 rm -f core conftest.err conftest.
$ac_objext \
17645 conftest
$ac_exeext conftest.
$ac_ext
17647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17648 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17649 if test $gcc_cv_math_func_atanl = yes; then
17651 cat >>confdefs.h
<<_ACEOF
17652 #define HAVE_ATANL 1
17660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17661 $as_echo_n "checking for atanhf... " >&6; }
17662 if test "${gcc_cv_math_func_atanhf+set}" = set; then :
17663 $as_echo_n "(cached) " >&6
17665 if test x
$gcc_no_link = xyes
; then
17666 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17669 /* end confdefs.h. */
17671 #ifdef HAVE_COMPLEX_H
17672 #include <complex.h>
17678 int (*ptr)() = (int (*)())atanhf;
17687 if ac_fn_c_try_link
"$LINENO"; then :
17688 gcc_cv_math_func_atanhf
=yes
17690 gcc_cv_math_func_atanhf
=no
17692 rm -f core conftest.err conftest.
$ac_objext \
17693 conftest
$ac_exeext conftest.
$ac_ext
17695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17696 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
17697 if test $gcc_cv_math_func_atanhf = yes; then
17699 cat >>confdefs.h
<<_ACEOF
17700 #define HAVE_ATANHF 1
17708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
17709 $as_echo_n "checking for atanh... " >&6; }
17710 if test "${gcc_cv_math_func_atanh+set}" = set; then :
17711 $as_echo_n "(cached) " >&6
17713 if test x
$gcc_no_link = xyes
; then
17714 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17717 /* end confdefs.h. */
17719 #ifdef HAVE_COMPLEX_H
17720 #include <complex.h>
17726 int (*ptr)() = (int (*)())atanh;
17735 if ac_fn_c_try_link
"$LINENO"; then :
17736 gcc_cv_math_func_atanh
=yes
17738 gcc_cv_math_func_atanh
=no
17740 rm -f core conftest.err conftest.
$ac_objext \
17741 conftest
$ac_exeext conftest.
$ac_ext
17743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
17744 $as_echo "$gcc_cv_math_func_atanh" >&6; }
17745 if test $gcc_cv_math_func_atanh = yes; then
17747 cat >>confdefs.h
<<_ACEOF
17748 #define HAVE_ATANH 1
17756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
17757 $as_echo_n "checking for atanhl... " >&6; }
17758 if test "${gcc_cv_math_func_atanhl+set}" = set; then :
17759 $as_echo_n "(cached) " >&6
17761 if test x
$gcc_no_link = xyes
; then
17762 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17765 /* end confdefs.h. */
17767 #ifdef HAVE_COMPLEX_H
17768 #include <complex.h>
17774 int (*ptr)() = (int (*)())atanhl;
17783 if ac_fn_c_try_link
"$LINENO"; then :
17784 gcc_cv_math_func_atanhl
=yes
17786 gcc_cv_math_func_atanhl
=no
17788 rm -f core conftest.err conftest.
$ac_objext \
17789 conftest
$ac_exeext conftest.
$ac_ext
17791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
17792 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
17793 if test $gcc_cv_math_func_atanhl = yes; then
17795 cat >>confdefs.h
<<_ACEOF
17796 #define HAVE_ATANHL 1
17804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
17805 $as_echo_n "checking for cargf... " >&6; }
17806 if test "${gcc_cv_math_func_cargf+set}" = set; then :
17807 $as_echo_n "(cached) " >&6
17809 if test x
$gcc_no_link = xyes
; then
17810 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17813 /* end confdefs.h. */
17815 #ifdef HAVE_COMPLEX_H
17816 #include <complex.h>
17822 int (*ptr)() = (int (*)())cargf;
17831 if ac_fn_c_try_link
"$LINENO"; then :
17832 gcc_cv_math_func_cargf
=yes
17834 gcc_cv_math_func_cargf
=no
17836 rm -f core conftest.err conftest.
$ac_objext \
17837 conftest
$ac_exeext conftest.
$ac_ext
17839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
17840 $as_echo "$gcc_cv_math_func_cargf" >&6; }
17841 if test $gcc_cv_math_func_cargf = yes; then
17843 cat >>confdefs.h
<<_ACEOF
17844 #define HAVE_CARGF 1
17852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
17853 $as_echo_n "checking for carg... " >&6; }
17854 if test "${gcc_cv_math_func_carg+set}" = set; then :
17855 $as_echo_n "(cached) " >&6
17857 if test x
$gcc_no_link = xyes
; then
17858 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17861 /* end confdefs.h. */
17863 #ifdef HAVE_COMPLEX_H
17864 #include <complex.h>
17870 int (*ptr)() = (int (*)())carg;
17879 if ac_fn_c_try_link
"$LINENO"; then :
17880 gcc_cv_math_func_carg
=yes
17882 gcc_cv_math_func_carg
=no
17884 rm -f core conftest.err conftest.
$ac_objext \
17885 conftest
$ac_exeext conftest.
$ac_ext
17887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
17888 $as_echo "$gcc_cv_math_func_carg" >&6; }
17889 if test $gcc_cv_math_func_carg = yes; then
17891 cat >>confdefs.h
<<_ACEOF
17892 #define HAVE_CARG 1
17900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
17901 $as_echo_n "checking for cargl... " >&6; }
17902 if test "${gcc_cv_math_func_cargl+set}" = set; then :
17903 $as_echo_n "(cached) " >&6
17905 if test x
$gcc_no_link = xyes
; then
17906 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17909 /* end confdefs.h. */
17911 #ifdef HAVE_COMPLEX_H
17912 #include <complex.h>
17918 int (*ptr)() = (int (*)())cargl;
17927 if ac_fn_c_try_link
"$LINENO"; then :
17928 gcc_cv_math_func_cargl
=yes
17930 gcc_cv_math_func_cargl
=no
17932 rm -f core conftest.err conftest.
$ac_objext \
17933 conftest
$ac_exeext conftest.
$ac_ext
17935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
17936 $as_echo "$gcc_cv_math_func_cargl" >&6; }
17937 if test $gcc_cv_math_func_cargl = yes; then
17939 cat >>confdefs.h
<<_ACEOF
17940 #define HAVE_CARGL 1
17948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
17949 $as_echo_n "checking for ceilf... " >&6; }
17950 if test "${gcc_cv_math_func_ceilf+set}" = set; then :
17951 $as_echo_n "(cached) " >&6
17953 if test x
$gcc_no_link = xyes
; then
17954 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17957 /* end confdefs.h. */
17959 #ifdef HAVE_COMPLEX_H
17960 #include <complex.h>
17966 int (*ptr)() = (int (*)())ceilf;
17975 if ac_fn_c_try_link
"$LINENO"; then :
17976 gcc_cv_math_func_ceilf
=yes
17978 gcc_cv_math_func_ceilf
=no
17980 rm -f core conftest.err conftest.
$ac_objext \
17981 conftest
$ac_exeext conftest.
$ac_ext
17983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
17984 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
17985 if test $gcc_cv_math_func_ceilf = yes; then
17987 cat >>confdefs.h
<<_ACEOF
17988 #define HAVE_CEILF 1
17996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
17997 $as_echo_n "checking for ceil... " >&6; }
17998 if test "${gcc_cv_math_func_ceil+set}" = set; then :
17999 $as_echo_n "(cached) " >&6
18001 if test x
$gcc_no_link = xyes
; then
18002 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18005 /* end confdefs.h. */
18007 #ifdef HAVE_COMPLEX_H
18008 #include <complex.h>
18014 int (*ptr)() = (int (*)())ceil;
18023 if ac_fn_c_try_link
"$LINENO"; then :
18024 gcc_cv_math_func_ceil
=yes
18026 gcc_cv_math_func_ceil
=no
18028 rm -f core conftest.err conftest.
$ac_objext \
18029 conftest
$ac_exeext conftest.
$ac_ext
18031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
18032 $as_echo "$gcc_cv_math_func_ceil" >&6; }
18033 if test $gcc_cv_math_func_ceil = yes; then
18035 cat >>confdefs.h
<<_ACEOF
18036 #define HAVE_CEIL 1
18044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18045 $as_echo_n "checking for ceill... " >&6; }
18046 if test "${gcc_cv_math_func_ceill+set}" = set; then :
18047 $as_echo_n "(cached) " >&6
18049 if test x
$gcc_no_link = xyes
; then
18050 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18053 /* end confdefs.h. */
18055 #ifdef HAVE_COMPLEX_H
18056 #include <complex.h>
18062 int (*ptr)() = (int (*)())ceill;
18071 if ac_fn_c_try_link
"$LINENO"; then :
18072 gcc_cv_math_func_ceill
=yes
18074 gcc_cv_math_func_ceill
=no
18076 rm -f core conftest.err conftest.
$ac_objext \
18077 conftest
$ac_exeext conftest.
$ac_ext
18079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18080 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18081 if test $gcc_cv_math_func_ceill = yes; then
18083 cat >>confdefs.h
<<_ACEOF
18084 #define HAVE_CEILL 1
18092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18093 $as_echo_n "checking for copysignf... " >&6; }
18094 if test "${gcc_cv_math_func_copysignf+set}" = set; then :
18095 $as_echo_n "(cached) " >&6
18097 if test x
$gcc_no_link = xyes
; then
18098 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18101 /* end confdefs.h. */
18103 #ifdef HAVE_COMPLEX_H
18104 #include <complex.h>
18110 int (*ptr)() = (int (*)())copysignf;
18119 if ac_fn_c_try_link
"$LINENO"; then :
18120 gcc_cv_math_func_copysignf
=yes
18122 gcc_cv_math_func_copysignf
=no
18124 rm -f core conftest.err conftest.
$ac_objext \
18125 conftest
$ac_exeext conftest.
$ac_ext
18127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18128 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18129 if test $gcc_cv_math_func_copysignf = yes; then
18131 cat >>confdefs.h
<<_ACEOF
18132 #define HAVE_COPYSIGNF 1
18140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18141 $as_echo_n "checking for copysign... " >&6; }
18142 if test "${gcc_cv_math_func_copysign+set}" = set; then :
18143 $as_echo_n "(cached) " >&6
18145 if test x
$gcc_no_link = xyes
; then
18146 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18149 /* end confdefs.h. */
18151 #ifdef HAVE_COMPLEX_H
18152 #include <complex.h>
18158 int (*ptr)() = (int (*)())copysign;
18167 if ac_fn_c_try_link
"$LINENO"; then :
18168 gcc_cv_math_func_copysign
=yes
18170 gcc_cv_math_func_copysign
=no
18172 rm -f core conftest.err conftest.
$ac_objext \
18173 conftest
$ac_exeext conftest.
$ac_ext
18175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18176 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18177 if test $gcc_cv_math_func_copysign = yes; then
18179 cat >>confdefs.h
<<_ACEOF
18180 #define HAVE_COPYSIGN 1
18188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18189 $as_echo_n "checking for copysignl... " >&6; }
18190 if test "${gcc_cv_math_func_copysignl+set}" = set; then :
18191 $as_echo_n "(cached) " >&6
18193 if test x
$gcc_no_link = xyes
; then
18194 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18197 /* end confdefs.h. */
18199 #ifdef HAVE_COMPLEX_H
18200 #include <complex.h>
18206 int (*ptr)() = (int (*)())copysignl;
18215 if ac_fn_c_try_link
"$LINENO"; then :
18216 gcc_cv_math_func_copysignl
=yes
18218 gcc_cv_math_func_copysignl
=no
18220 rm -f core conftest.err conftest.
$ac_objext \
18221 conftest
$ac_exeext conftest.
$ac_ext
18223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18224 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18225 if test $gcc_cv_math_func_copysignl = yes; then
18227 cat >>confdefs.h
<<_ACEOF
18228 #define HAVE_COPYSIGNL 1
18236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18237 $as_echo_n "checking for cosf... " >&6; }
18238 if test "${gcc_cv_math_func_cosf+set}" = set; then :
18239 $as_echo_n "(cached) " >&6
18241 if test x
$gcc_no_link = xyes
; then
18242 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18245 /* end confdefs.h. */
18247 #ifdef HAVE_COMPLEX_H
18248 #include <complex.h>
18254 int (*ptr)() = (int (*)())cosf;
18263 if ac_fn_c_try_link
"$LINENO"; then :
18264 gcc_cv_math_func_cosf
=yes
18266 gcc_cv_math_func_cosf
=no
18268 rm -f core conftest.err conftest.
$ac_objext \
18269 conftest
$ac_exeext conftest.
$ac_ext
18271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18272 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18273 if test $gcc_cv_math_func_cosf = yes; then
18275 cat >>confdefs.h
<<_ACEOF
18276 #define HAVE_COSF 1
18284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18285 $as_echo_n "checking for cos... " >&6; }
18286 if test "${gcc_cv_math_func_cos+set}" = set; then :
18287 $as_echo_n "(cached) " >&6
18289 if test x
$gcc_no_link = xyes
; then
18290 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18293 /* end confdefs.h. */
18295 #ifdef HAVE_COMPLEX_H
18296 #include <complex.h>
18302 int (*ptr)() = (int (*)())cos;
18311 if ac_fn_c_try_link
"$LINENO"; then :
18312 gcc_cv_math_func_cos
=yes
18314 gcc_cv_math_func_cos
=no
18316 rm -f core conftest.err conftest.
$ac_objext \
18317 conftest
$ac_exeext conftest.
$ac_ext
18319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18320 $as_echo "$gcc_cv_math_func_cos" >&6; }
18321 if test $gcc_cv_math_func_cos = yes; then
18323 cat >>confdefs.h
<<_ACEOF
18332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18333 $as_echo_n "checking for cosl... " >&6; }
18334 if test "${gcc_cv_math_func_cosl+set}" = set; then :
18335 $as_echo_n "(cached) " >&6
18337 if test x
$gcc_no_link = xyes
; then
18338 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18341 /* end confdefs.h. */
18343 #ifdef HAVE_COMPLEX_H
18344 #include <complex.h>
18350 int (*ptr)() = (int (*)())cosl;
18359 if ac_fn_c_try_link
"$LINENO"; then :
18360 gcc_cv_math_func_cosl
=yes
18362 gcc_cv_math_func_cosl
=no
18364 rm -f core conftest.err conftest.
$ac_objext \
18365 conftest
$ac_exeext conftest.
$ac_ext
18367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18368 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18369 if test $gcc_cv_math_func_cosl = yes; then
18371 cat >>confdefs.h
<<_ACEOF
18372 #define HAVE_COSL 1
18380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18381 $as_echo_n "checking for ccosf... " >&6; }
18382 if test "${gcc_cv_math_func_ccosf+set}" = set; then :
18383 $as_echo_n "(cached) " >&6
18385 if test x
$gcc_no_link = xyes
; then
18386 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18389 /* end confdefs.h. */
18391 #ifdef HAVE_COMPLEX_H
18392 #include <complex.h>
18398 int (*ptr)() = (int (*)())ccosf;
18407 if ac_fn_c_try_link
"$LINENO"; then :
18408 gcc_cv_math_func_ccosf
=yes
18410 gcc_cv_math_func_ccosf
=no
18412 rm -f core conftest.err conftest.
$ac_objext \
18413 conftest
$ac_exeext conftest.
$ac_ext
18415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18416 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18417 if test $gcc_cv_math_func_ccosf = yes; then
18419 cat >>confdefs.h
<<_ACEOF
18420 #define HAVE_CCOSF 1
18428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18429 $as_echo_n "checking for ccos... " >&6; }
18430 if test "${gcc_cv_math_func_ccos+set}" = set; then :
18431 $as_echo_n "(cached) " >&6
18433 if test x
$gcc_no_link = xyes
; then
18434 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18437 /* end confdefs.h. */
18439 #ifdef HAVE_COMPLEX_H
18440 #include <complex.h>
18446 int (*ptr)() = (int (*)())ccos;
18455 if ac_fn_c_try_link
"$LINENO"; then :
18456 gcc_cv_math_func_ccos
=yes
18458 gcc_cv_math_func_ccos
=no
18460 rm -f core conftest.err conftest.
$ac_objext \
18461 conftest
$ac_exeext conftest.
$ac_ext
18463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18464 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18465 if test $gcc_cv_math_func_ccos = yes; then
18467 cat >>confdefs.h
<<_ACEOF
18468 #define HAVE_CCOS 1
18476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18477 $as_echo_n "checking for ccosl... " >&6; }
18478 if test "${gcc_cv_math_func_ccosl+set}" = set; then :
18479 $as_echo_n "(cached) " >&6
18481 if test x
$gcc_no_link = xyes
; then
18482 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18485 /* end confdefs.h. */
18487 #ifdef HAVE_COMPLEX_H
18488 #include <complex.h>
18494 int (*ptr)() = (int (*)())ccosl;
18503 if ac_fn_c_try_link
"$LINENO"; then :
18504 gcc_cv_math_func_ccosl
=yes
18506 gcc_cv_math_func_ccosl
=no
18508 rm -f core conftest.err conftest.
$ac_objext \
18509 conftest
$ac_exeext conftest.
$ac_ext
18511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18512 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18513 if test $gcc_cv_math_func_ccosl = yes; then
18515 cat >>confdefs.h
<<_ACEOF
18516 #define HAVE_CCOSL 1
18524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18525 $as_echo_n "checking for coshf... " >&6; }
18526 if test "${gcc_cv_math_func_coshf+set}" = set; then :
18527 $as_echo_n "(cached) " >&6
18529 if test x
$gcc_no_link = xyes
; then
18530 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18533 /* end confdefs.h. */
18535 #ifdef HAVE_COMPLEX_H
18536 #include <complex.h>
18542 int (*ptr)() = (int (*)())coshf;
18551 if ac_fn_c_try_link
"$LINENO"; then :
18552 gcc_cv_math_func_coshf
=yes
18554 gcc_cv_math_func_coshf
=no
18556 rm -f core conftest.err conftest.
$ac_objext \
18557 conftest
$ac_exeext conftest.
$ac_ext
18559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18560 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18561 if test $gcc_cv_math_func_coshf = yes; then
18563 cat >>confdefs.h
<<_ACEOF
18564 #define HAVE_COSHF 1
18572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18573 $as_echo_n "checking for cosh... " >&6; }
18574 if test "${gcc_cv_math_func_cosh+set}" = set; then :
18575 $as_echo_n "(cached) " >&6
18577 if test x
$gcc_no_link = xyes
; then
18578 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18581 /* end confdefs.h. */
18583 #ifdef HAVE_COMPLEX_H
18584 #include <complex.h>
18590 int (*ptr)() = (int (*)())cosh;
18599 if ac_fn_c_try_link
"$LINENO"; then :
18600 gcc_cv_math_func_cosh
=yes
18602 gcc_cv_math_func_cosh
=no
18604 rm -f core conftest.err conftest.
$ac_objext \
18605 conftest
$ac_exeext conftest.
$ac_ext
18607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18608 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18609 if test $gcc_cv_math_func_cosh = yes; then
18611 cat >>confdefs.h
<<_ACEOF
18612 #define HAVE_COSH 1
18620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18621 $as_echo_n "checking for coshl... " >&6; }
18622 if test "${gcc_cv_math_func_coshl+set}" = set; then :
18623 $as_echo_n "(cached) " >&6
18625 if test x
$gcc_no_link = xyes
; then
18626 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18629 /* end confdefs.h. */
18631 #ifdef HAVE_COMPLEX_H
18632 #include <complex.h>
18638 int (*ptr)() = (int (*)())coshl;
18647 if ac_fn_c_try_link
"$LINENO"; then :
18648 gcc_cv_math_func_coshl
=yes
18650 gcc_cv_math_func_coshl
=no
18652 rm -f core conftest.err conftest.
$ac_objext \
18653 conftest
$ac_exeext conftest.
$ac_ext
18655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18656 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18657 if test $gcc_cv_math_func_coshl = yes; then
18659 cat >>confdefs.h
<<_ACEOF
18660 #define HAVE_COSHL 1
18668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18669 $as_echo_n "checking for ccoshf... " >&6; }
18670 if test "${gcc_cv_math_func_ccoshf+set}" = set; then :
18671 $as_echo_n "(cached) " >&6
18673 if test x
$gcc_no_link = xyes
; then
18674 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18677 /* end confdefs.h. */
18679 #ifdef HAVE_COMPLEX_H
18680 #include <complex.h>
18686 int (*ptr)() = (int (*)())ccoshf;
18695 if ac_fn_c_try_link
"$LINENO"; then :
18696 gcc_cv_math_func_ccoshf
=yes
18698 gcc_cv_math_func_ccoshf
=no
18700 rm -f core conftest.err conftest.
$ac_objext \
18701 conftest
$ac_exeext conftest.
$ac_ext
18703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18704 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
18705 if test $gcc_cv_math_func_ccoshf = yes; then
18707 cat >>confdefs.h
<<_ACEOF
18708 #define HAVE_CCOSHF 1
18716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
18717 $as_echo_n "checking for ccosh... " >&6; }
18718 if test "${gcc_cv_math_func_ccosh+set}" = set; then :
18719 $as_echo_n "(cached) " >&6
18721 if test x
$gcc_no_link = xyes
; then
18722 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18725 /* end confdefs.h. */
18727 #ifdef HAVE_COMPLEX_H
18728 #include <complex.h>
18734 int (*ptr)() = (int (*)())ccosh;
18743 if ac_fn_c_try_link
"$LINENO"; then :
18744 gcc_cv_math_func_ccosh
=yes
18746 gcc_cv_math_func_ccosh
=no
18748 rm -f core conftest.err conftest.
$ac_objext \
18749 conftest
$ac_exeext conftest.
$ac_ext
18751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
18752 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
18753 if test $gcc_cv_math_func_ccosh = yes; then
18755 cat >>confdefs.h
<<_ACEOF
18756 #define HAVE_CCOSH 1
18764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
18765 $as_echo_n "checking for ccoshl... " >&6; }
18766 if test "${gcc_cv_math_func_ccoshl+set}" = set; then :
18767 $as_echo_n "(cached) " >&6
18769 if test x
$gcc_no_link = xyes
; then
18770 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18773 /* end confdefs.h. */
18775 #ifdef HAVE_COMPLEX_H
18776 #include <complex.h>
18782 int (*ptr)() = (int (*)())ccoshl;
18791 if ac_fn_c_try_link
"$LINENO"; then :
18792 gcc_cv_math_func_ccoshl
=yes
18794 gcc_cv_math_func_ccoshl
=no
18796 rm -f core conftest.err conftest.
$ac_objext \
18797 conftest
$ac_exeext conftest.
$ac_ext
18799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
18800 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
18801 if test $gcc_cv_math_func_ccoshl = yes; then
18803 cat >>confdefs.h
<<_ACEOF
18804 #define HAVE_CCOSHL 1
18812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
18813 $as_echo_n "checking for expf... " >&6; }
18814 if test "${gcc_cv_math_func_expf+set}" = set; then :
18815 $as_echo_n "(cached) " >&6
18817 if test x
$gcc_no_link = xyes
; then
18818 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18820 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18821 /* end confdefs.h. */
18823 #ifdef HAVE_COMPLEX_H
18824 #include <complex.h>
18830 int (*ptr)() = (int (*)())expf;
18839 if ac_fn_c_try_link
"$LINENO"; then :
18840 gcc_cv_math_func_expf
=yes
18842 gcc_cv_math_func_expf
=no
18844 rm -f core conftest.err conftest.
$ac_objext \
18845 conftest
$ac_exeext conftest.
$ac_ext
18847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
18848 $as_echo "$gcc_cv_math_func_expf" >&6; }
18849 if test $gcc_cv_math_func_expf = yes; then
18851 cat >>confdefs.h
<<_ACEOF
18852 #define HAVE_EXPF 1
18860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
18861 $as_echo_n "checking for exp... " >&6; }
18862 if test "${gcc_cv_math_func_exp+set}" = set; then :
18863 $as_echo_n "(cached) " >&6
18865 if test x
$gcc_no_link = xyes
; then
18866 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18869 /* end confdefs.h. */
18871 #ifdef HAVE_COMPLEX_H
18872 #include <complex.h>
18878 int (*ptr)() = (int (*)())exp;
18887 if ac_fn_c_try_link
"$LINENO"; then :
18888 gcc_cv_math_func_exp
=yes
18890 gcc_cv_math_func_exp
=no
18892 rm -f core conftest.err conftest.
$ac_objext \
18893 conftest
$ac_exeext conftest.
$ac_ext
18895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
18896 $as_echo "$gcc_cv_math_func_exp" >&6; }
18897 if test $gcc_cv_math_func_exp = yes; then
18899 cat >>confdefs.h
<<_ACEOF
18908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
18909 $as_echo_n "checking for expl... " >&6; }
18910 if test "${gcc_cv_math_func_expl+set}" = set; then :
18911 $as_echo_n "(cached) " >&6
18913 if test x
$gcc_no_link = xyes
; then
18914 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18917 /* end confdefs.h. */
18919 #ifdef HAVE_COMPLEX_H
18920 #include <complex.h>
18926 int (*ptr)() = (int (*)())expl;
18935 if ac_fn_c_try_link
"$LINENO"; then :
18936 gcc_cv_math_func_expl
=yes
18938 gcc_cv_math_func_expl
=no
18940 rm -f core conftest.err conftest.
$ac_objext \
18941 conftest
$ac_exeext conftest.
$ac_ext
18943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
18944 $as_echo "$gcc_cv_math_func_expl" >&6; }
18945 if test $gcc_cv_math_func_expl = yes; then
18947 cat >>confdefs.h
<<_ACEOF
18948 #define HAVE_EXPL 1
18956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
18957 $as_echo_n "checking for cexpf... " >&6; }
18958 if test "${gcc_cv_math_func_cexpf+set}" = set; then :
18959 $as_echo_n "(cached) " >&6
18961 if test x
$gcc_no_link = xyes
; then
18962 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18965 /* end confdefs.h. */
18967 #ifdef HAVE_COMPLEX_H
18968 #include <complex.h>
18974 int (*ptr)() = (int (*)())cexpf;
18983 if ac_fn_c_try_link
"$LINENO"; then :
18984 gcc_cv_math_func_cexpf
=yes
18986 gcc_cv_math_func_cexpf
=no
18988 rm -f core conftest.err conftest.
$ac_objext \
18989 conftest
$ac_exeext conftest.
$ac_ext
18991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
18992 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
18993 if test $gcc_cv_math_func_cexpf = yes; then
18995 cat >>confdefs.h
<<_ACEOF
18996 #define HAVE_CEXPF 1
19004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
19005 $as_echo_n "checking for cexp... " >&6; }
19006 if test "${gcc_cv_math_func_cexp+set}" = set; then :
19007 $as_echo_n "(cached) " >&6
19009 if test x
$gcc_no_link = xyes
; then
19010 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19013 /* end confdefs.h. */
19015 #ifdef HAVE_COMPLEX_H
19016 #include <complex.h>
19022 int (*ptr)() = (int (*)())cexp;
19031 if ac_fn_c_try_link
"$LINENO"; then :
19032 gcc_cv_math_func_cexp
=yes
19034 gcc_cv_math_func_cexp
=no
19036 rm -f core conftest.err conftest.
$ac_objext \
19037 conftest
$ac_exeext conftest.
$ac_ext
19039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
19040 $as_echo "$gcc_cv_math_func_cexp" >&6; }
19041 if test $gcc_cv_math_func_cexp = yes; then
19043 cat >>confdefs.h
<<_ACEOF
19044 #define HAVE_CEXP 1
19052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19053 $as_echo_n "checking for cexpl... " >&6; }
19054 if test "${gcc_cv_math_func_cexpl+set}" = set; then :
19055 $as_echo_n "(cached) " >&6
19057 if test x
$gcc_no_link = xyes
; then
19058 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19061 /* end confdefs.h. */
19063 #ifdef HAVE_COMPLEX_H
19064 #include <complex.h>
19070 int (*ptr)() = (int (*)())cexpl;
19079 if ac_fn_c_try_link
"$LINENO"; then :
19080 gcc_cv_math_func_cexpl
=yes
19082 gcc_cv_math_func_cexpl
=no
19084 rm -f core conftest.err conftest.
$ac_objext \
19085 conftest
$ac_exeext conftest.
$ac_ext
19087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19088 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19089 if test $gcc_cv_math_func_cexpl = yes; then
19091 cat >>confdefs.h
<<_ACEOF
19092 #define HAVE_CEXPL 1
19100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19101 $as_echo_n "checking for fabsf... " >&6; }
19102 if test "${gcc_cv_math_func_fabsf+set}" = set; then :
19103 $as_echo_n "(cached) " >&6
19105 if test x
$gcc_no_link = xyes
; then
19106 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19109 /* end confdefs.h. */
19111 #ifdef HAVE_COMPLEX_H
19112 #include <complex.h>
19118 int (*ptr)() = (int (*)())fabsf;
19127 if ac_fn_c_try_link
"$LINENO"; then :
19128 gcc_cv_math_func_fabsf
=yes
19130 gcc_cv_math_func_fabsf
=no
19132 rm -f core conftest.err conftest.
$ac_objext \
19133 conftest
$ac_exeext conftest.
$ac_ext
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19136 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19137 if test $gcc_cv_math_func_fabsf = yes; then
19139 cat >>confdefs.h
<<_ACEOF
19140 #define HAVE_FABSF 1
19148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19149 $as_echo_n "checking for fabs... " >&6; }
19150 if test "${gcc_cv_math_func_fabs+set}" = set; then :
19151 $as_echo_n "(cached) " >&6
19153 if test x
$gcc_no_link = xyes
; then
19154 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19157 /* end confdefs.h. */
19159 #ifdef HAVE_COMPLEX_H
19160 #include <complex.h>
19166 int (*ptr)() = (int (*)())fabs;
19175 if ac_fn_c_try_link
"$LINENO"; then :
19176 gcc_cv_math_func_fabs
=yes
19178 gcc_cv_math_func_fabs
=no
19180 rm -f core conftest.err conftest.
$ac_objext \
19181 conftest
$ac_exeext conftest.
$ac_ext
19183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19184 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19185 if test $gcc_cv_math_func_fabs = yes; then
19187 cat >>confdefs.h
<<_ACEOF
19188 #define HAVE_FABS 1
19196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19197 $as_echo_n "checking for fabsl... " >&6; }
19198 if test "${gcc_cv_math_func_fabsl+set}" = set; then :
19199 $as_echo_n "(cached) " >&6
19201 if test x
$gcc_no_link = xyes
; then
19202 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19205 /* end confdefs.h. */
19207 #ifdef HAVE_COMPLEX_H
19208 #include <complex.h>
19214 int (*ptr)() = (int (*)())fabsl;
19223 if ac_fn_c_try_link
"$LINENO"; then :
19224 gcc_cv_math_func_fabsl
=yes
19226 gcc_cv_math_func_fabsl
=no
19228 rm -f core conftest.err conftest.
$ac_objext \
19229 conftest
$ac_exeext conftest.
$ac_ext
19231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19232 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19233 if test $gcc_cv_math_func_fabsl = yes; then
19235 cat >>confdefs.h
<<_ACEOF
19236 #define HAVE_FABSL 1
19244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19245 $as_echo_n "checking for cabsf... " >&6; }
19246 if test "${gcc_cv_math_func_cabsf+set}" = set; then :
19247 $as_echo_n "(cached) " >&6
19249 if test x
$gcc_no_link = xyes
; then
19250 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19253 /* end confdefs.h. */
19255 #ifdef HAVE_COMPLEX_H
19256 #include <complex.h>
19262 int (*ptr)() = (int (*)())cabsf;
19271 if ac_fn_c_try_link
"$LINENO"; then :
19272 gcc_cv_math_func_cabsf
=yes
19274 gcc_cv_math_func_cabsf
=no
19276 rm -f core conftest.err conftest.
$ac_objext \
19277 conftest
$ac_exeext conftest.
$ac_ext
19279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19280 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19281 if test $gcc_cv_math_func_cabsf = yes; then
19283 cat >>confdefs.h
<<_ACEOF
19284 #define HAVE_CABSF 1
19292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19293 $as_echo_n "checking for cabs... " >&6; }
19294 if test "${gcc_cv_math_func_cabs+set}" = set; then :
19295 $as_echo_n "(cached) " >&6
19297 if test x
$gcc_no_link = xyes
; then
19298 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19301 /* end confdefs.h. */
19303 #ifdef HAVE_COMPLEX_H
19304 #include <complex.h>
19310 int (*ptr)() = (int (*)())cabs;
19319 if ac_fn_c_try_link
"$LINENO"; then :
19320 gcc_cv_math_func_cabs
=yes
19322 gcc_cv_math_func_cabs
=no
19324 rm -f core conftest.err conftest.
$ac_objext \
19325 conftest
$ac_exeext conftest.
$ac_ext
19327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19328 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19329 if test $gcc_cv_math_func_cabs = yes; then
19331 cat >>confdefs.h
<<_ACEOF
19332 #define HAVE_CABS 1
19340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19341 $as_echo_n "checking for cabsl... " >&6; }
19342 if test "${gcc_cv_math_func_cabsl+set}" = set; then :
19343 $as_echo_n "(cached) " >&6
19345 if test x
$gcc_no_link = xyes
; then
19346 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19349 /* end confdefs.h. */
19351 #ifdef HAVE_COMPLEX_H
19352 #include <complex.h>
19358 int (*ptr)() = (int (*)())cabsl;
19367 if ac_fn_c_try_link
"$LINENO"; then :
19368 gcc_cv_math_func_cabsl
=yes
19370 gcc_cv_math_func_cabsl
=no
19372 rm -f core conftest.err conftest.
$ac_objext \
19373 conftest
$ac_exeext conftest.
$ac_ext
19375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19376 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19377 if test $gcc_cv_math_func_cabsl = yes; then
19379 cat >>confdefs.h
<<_ACEOF
19380 #define HAVE_CABSL 1
19388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19389 $as_echo_n "checking for floorf... " >&6; }
19390 if test "${gcc_cv_math_func_floorf+set}" = set; then :
19391 $as_echo_n "(cached) " >&6
19393 if test x
$gcc_no_link = xyes
; then
19394 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19397 /* end confdefs.h. */
19399 #ifdef HAVE_COMPLEX_H
19400 #include <complex.h>
19406 int (*ptr)() = (int (*)())floorf;
19415 if ac_fn_c_try_link
"$LINENO"; then :
19416 gcc_cv_math_func_floorf
=yes
19418 gcc_cv_math_func_floorf
=no
19420 rm -f core conftest.err conftest.
$ac_objext \
19421 conftest
$ac_exeext conftest.
$ac_ext
19423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19424 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19425 if test $gcc_cv_math_func_floorf = yes; then
19427 cat >>confdefs.h
<<_ACEOF
19428 #define HAVE_FLOORF 1
19436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19437 $as_echo_n "checking for floor... " >&6; }
19438 if test "${gcc_cv_math_func_floor+set}" = set; then :
19439 $as_echo_n "(cached) " >&6
19441 if test x
$gcc_no_link = xyes
; then
19442 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19445 /* end confdefs.h. */
19447 #ifdef HAVE_COMPLEX_H
19448 #include <complex.h>
19454 int (*ptr)() = (int (*)())floor;
19463 if ac_fn_c_try_link
"$LINENO"; then :
19464 gcc_cv_math_func_floor
=yes
19466 gcc_cv_math_func_floor
=no
19468 rm -f core conftest.err conftest.
$ac_objext \
19469 conftest
$ac_exeext conftest.
$ac_ext
19471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19472 $as_echo "$gcc_cv_math_func_floor" >&6; }
19473 if test $gcc_cv_math_func_floor = yes; then
19475 cat >>confdefs.h
<<_ACEOF
19476 #define HAVE_FLOOR 1
19484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19485 $as_echo_n "checking for floorl... " >&6; }
19486 if test "${gcc_cv_math_func_floorl+set}" = set; then :
19487 $as_echo_n "(cached) " >&6
19489 if test x
$gcc_no_link = xyes
; then
19490 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19493 /* end confdefs.h. */
19495 #ifdef HAVE_COMPLEX_H
19496 #include <complex.h>
19502 int (*ptr)() = (int (*)())floorl;
19511 if ac_fn_c_try_link
"$LINENO"; then :
19512 gcc_cv_math_func_floorl
=yes
19514 gcc_cv_math_func_floorl
=no
19516 rm -f core conftest.err conftest.
$ac_objext \
19517 conftest
$ac_exeext conftest.
$ac_ext
19519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19520 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19521 if test $gcc_cv_math_func_floorl = yes; then
19523 cat >>confdefs.h
<<_ACEOF
19524 #define HAVE_FLOORL 1
19532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19533 $as_echo_n "checking for fmodf... " >&6; }
19534 if test "${gcc_cv_math_func_fmodf+set}" = set; then :
19535 $as_echo_n "(cached) " >&6
19537 if test x
$gcc_no_link = xyes
; then
19538 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19541 /* end confdefs.h. */
19543 #ifdef HAVE_COMPLEX_H
19544 #include <complex.h>
19550 int (*ptr)() = (int (*)())fmodf;
19559 if ac_fn_c_try_link
"$LINENO"; then :
19560 gcc_cv_math_func_fmodf
=yes
19562 gcc_cv_math_func_fmodf
=no
19564 rm -f core conftest.err conftest.
$ac_objext \
19565 conftest
$ac_exeext conftest.
$ac_ext
19567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19568 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
19569 if test $gcc_cv_math_func_fmodf = yes; then
19571 cat >>confdefs.h
<<_ACEOF
19572 #define HAVE_FMODF 1
19580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19581 $as_echo_n "checking for fmod... " >&6; }
19582 if test "${gcc_cv_math_func_fmod+set}" = set; then :
19583 $as_echo_n "(cached) " >&6
19585 if test x
$gcc_no_link = xyes
; then
19586 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19589 /* end confdefs.h. */
19591 #ifdef HAVE_COMPLEX_H
19592 #include <complex.h>
19598 int (*ptr)() = (int (*)())fmod;
19607 if ac_fn_c_try_link
"$LINENO"; then :
19608 gcc_cv_math_func_fmod
=yes
19610 gcc_cv_math_func_fmod
=no
19612 rm -f core conftest.err conftest.
$ac_objext \
19613 conftest
$ac_exeext conftest.
$ac_ext
19615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19616 $as_echo "$gcc_cv_math_func_fmod" >&6; }
19617 if test $gcc_cv_math_func_fmod = yes; then
19619 cat >>confdefs.h
<<_ACEOF
19620 #define HAVE_FMOD 1
19628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19629 $as_echo_n "checking for fmodl... " >&6; }
19630 if test "${gcc_cv_math_func_fmodl+set}" = set; then :
19631 $as_echo_n "(cached) " >&6
19633 if test x
$gcc_no_link = xyes
; then
19634 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19637 /* end confdefs.h. */
19639 #ifdef HAVE_COMPLEX_H
19640 #include <complex.h>
19646 int (*ptr)() = (int (*)())fmodl;
19655 if ac_fn_c_try_link
"$LINENO"; then :
19656 gcc_cv_math_func_fmodl
=yes
19658 gcc_cv_math_func_fmodl
=no
19660 rm -f core conftest.err conftest.
$ac_objext \
19661 conftest
$ac_exeext conftest.
$ac_ext
19663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19664 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
19665 if test $gcc_cv_math_func_fmodl = yes; then
19667 cat >>confdefs.h
<<_ACEOF
19668 #define HAVE_FMODL 1
19676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19677 $as_echo_n "checking for frexpf... " >&6; }
19678 if test "${gcc_cv_math_func_frexpf+set}" = set; then :
19679 $as_echo_n "(cached) " >&6
19681 if test x
$gcc_no_link = xyes
; then
19682 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19685 /* end confdefs.h. */
19687 #ifdef HAVE_COMPLEX_H
19688 #include <complex.h>
19694 int (*ptr)() = (int (*)())frexpf;
19703 if ac_fn_c_try_link
"$LINENO"; then :
19704 gcc_cv_math_func_frexpf
=yes
19706 gcc_cv_math_func_frexpf
=no
19708 rm -f core conftest.err conftest.
$ac_objext \
19709 conftest
$ac_exeext conftest.
$ac_ext
19711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
19712 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
19713 if test $gcc_cv_math_func_frexpf = yes; then
19715 cat >>confdefs.h
<<_ACEOF
19716 #define HAVE_FREXPF 1
19724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
19725 $as_echo_n "checking for frexp... " >&6; }
19726 if test "${gcc_cv_math_func_frexp+set}" = set; then :
19727 $as_echo_n "(cached) " >&6
19729 if test x
$gcc_no_link = xyes
; then
19730 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19733 /* end confdefs.h. */
19735 #ifdef HAVE_COMPLEX_H
19736 #include <complex.h>
19742 int (*ptr)() = (int (*)())frexp;
19751 if ac_fn_c_try_link
"$LINENO"; then :
19752 gcc_cv_math_func_frexp
=yes
19754 gcc_cv_math_func_frexp
=no
19756 rm -f core conftest.err conftest.
$ac_objext \
19757 conftest
$ac_exeext conftest.
$ac_ext
19759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
19760 $as_echo "$gcc_cv_math_func_frexp" >&6; }
19761 if test $gcc_cv_math_func_frexp = yes; then
19763 cat >>confdefs.h
<<_ACEOF
19764 #define HAVE_FREXP 1
19772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
19773 $as_echo_n "checking for frexpl... " >&6; }
19774 if test "${gcc_cv_math_func_frexpl+set}" = set; then :
19775 $as_echo_n "(cached) " >&6
19777 if test x
$gcc_no_link = xyes
; then
19778 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19781 /* end confdefs.h. */
19783 #ifdef HAVE_COMPLEX_H
19784 #include <complex.h>
19790 int (*ptr)() = (int (*)())frexpl;
19799 if ac_fn_c_try_link
"$LINENO"; then :
19800 gcc_cv_math_func_frexpl
=yes
19802 gcc_cv_math_func_frexpl
=no
19804 rm -f core conftest.err conftest.
$ac_objext \
19805 conftest
$ac_exeext conftest.
$ac_ext
19807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
19808 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
19809 if test $gcc_cv_math_func_frexpl = yes; then
19811 cat >>confdefs.h
<<_ACEOF
19812 #define HAVE_FREXPL 1
19820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
19821 $as_echo_n "checking for hypotf... " >&6; }
19822 if test "${gcc_cv_math_func_hypotf+set}" = set; then :
19823 $as_echo_n "(cached) " >&6
19825 if test x
$gcc_no_link = xyes
; then
19826 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19829 /* end confdefs.h. */
19831 #ifdef HAVE_COMPLEX_H
19832 #include <complex.h>
19838 int (*ptr)() = (int (*)())hypotf;
19847 if ac_fn_c_try_link
"$LINENO"; then :
19848 gcc_cv_math_func_hypotf
=yes
19850 gcc_cv_math_func_hypotf
=no
19852 rm -f core conftest.err conftest.
$ac_objext \
19853 conftest
$ac_exeext conftest.
$ac_ext
19855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
19856 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
19857 if test $gcc_cv_math_func_hypotf = yes; then
19859 cat >>confdefs.h
<<_ACEOF
19860 #define HAVE_HYPOTF 1
19868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
19869 $as_echo_n "checking for hypot... " >&6; }
19870 if test "${gcc_cv_math_func_hypot+set}" = set; then :
19871 $as_echo_n "(cached) " >&6
19873 if test x
$gcc_no_link = xyes
; then
19874 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19877 /* end confdefs.h. */
19879 #ifdef HAVE_COMPLEX_H
19880 #include <complex.h>
19886 int (*ptr)() = (int (*)())hypot;
19895 if ac_fn_c_try_link
"$LINENO"; then :
19896 gcc_cv_math_func_hypot
=yes
19898 gcc_cv_math_func_hypot
=no
19900 rm -f core conftest.err conftest.
$ac_objext \
19901 conftest
$ac_exeext conftest.
$ac_ext
19903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
19904 $as_echo "$gcc_cv_math_func_hypot" >&6; }
19905 if test $gcc_cv_math_func_hypot = yes; then
19907 cat >>confdefs.h
<<_ACEOF
19908 #define HAVE_HYPOT 1
19916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
19917 $as_echo_n "checking for hypotl... " >&6; }
19918 if test "${gcc_cv_math_func_hypotl+set}" = set; then :
19919 $as_echo_n "(cached) " >&6
19921 if test x
$gcc_no_link = xyes
; then
19922 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19925 /* end confdefs.h. */
19927 #ifdef HAVE_COMPLEX_H
19928 #include <complex.h>
19934 int (*ptr)() = (int (*)())hypotl;
19943 if ac_fn_c_try_link
"$LINENO"; then :
19944 gcc_cv_math_func_hypotl
=yes
19946 gcc_cv_math_func_hypotl
=no
19948 rm -f core conftest.err conftest.
$ac_objext \
19949 conftest
$ac_exeext conftest.
$ac_ext
19951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
19952 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
19953 if test $gcc_cv_math_func_hypotl = yes; then
19955 cat >>confdefs.h
<<_ACEOF
19956 #define HAVE_HYPOTL 1
19964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
19965 $as_echo_n "checking for ldexpf... " >&6; }
19966 if test "${gcc_cv_math_func_ldexpf+set}" = set; then :
19967 $as_echo_n "(cached) " >&6
19969 if test x
$gcc_no_link = xyes
; then
19970 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19973 /* end confdefs.h. */
19975 #ifdef HAVE_COMPLEX_H
19976 #include <complex.h>
19982 int (*ptr)() = (int (*)())ldexpf;
19991 if ac_fn_c_try_link
"$LINENO"; then :
19992 gcc_cv_math_func_ldexpf
=yes
19994 gcc_cv_math_func_ldexpf
=no
19996 rm -f core conftest.err conftest.
$ac_objext \
19997 conftest
$ac_exeext conftest.
$ac_ext
19999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
20000 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
20001 if test $gcc_cv_math_func_ldexpf = yes; then
20003 cat >>confdefs.h
<<_ACEOF
20004 #define HAVE_LDEXPF 1
20012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
20013 $as_echo_n "checking for ldexp... " >&6; }
20014 if test "${gcc_cv_math_func_ldexp+set}" = set; then :
20015 $as_echo_n "(cached) " >&6
20017 if test x
$gcc_no_link = xyes
; then
20018 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20021 /* end confdefs.h. */
20023 #ifdef HAVE_COMPLEX_H
20024 #include <complex.h>
20030 int (*ptr)() = (int (*)())ldexp;
20039 if ac_fn_c_try_link
"$LINENO"; then :
20040 gcc_cv_math_func_ldexp
=yes
20042 gcc_cv_math_func_ldexp
=no
20044 rm -f core conftest.err conftest.
$ac_objext \
20045 conftest
$ac_exeext conftest.
$ac_ext
20047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20048 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
20049 if test $gcc_cv_math_func_ldexp = yes; then
20051 cat >>confdefs.h
<<_ACEOF
20052 #define HAVE_LDEXP 1
20060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20061 $as_echo_n "checking for ldexpl... " >&6; }
20062 if test "${gcc_cv_math_func_ldexpl+set}" = set; then :
20063 $as_echo_n "(cached) " >&6
20065 if test x
$gcc_no_link = xyes
; then
20066 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20069 /* end confdefs.h. */
20071 #ifdef HAVE_COMPLEX_H
20072 #include <complex.h>
20078 int (*ptr)() = (int (*)())ldexpl;
20087 if ac_fn_c_try_link
"$LINENO"; then :
20088 gcc_cv_math_func_ldexpl
=yes
20090 gcc_cv_math_func_ldexpl
=no
20092 rm -f core conftest.err conftest.
$ac_objext \
20093 conftest
$ac_exeext conftest.
$ac_ext
20095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20096 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20097 if test $gcc_cv_math_func_ldexpl = yes; then
20099 cat >>confdefs.h
<<_ACEOF
20100 #define HAVE_LDEXPL 1
20108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20109 $as_echo_n "checking for logf... " >&6; }
20110 if test "${gcc_cv_math_func_logf+set}" = set; then :
20111 $as_echo_n "(cached) " >&6
20113 if test x
$gcc_no_link = xyes
; then
20114 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20117 /* end confdefs.h. */
20119 #ifdef HAVE_COMPLEX_H
20120 #include <complex.h>
20126 int (*ptr)() = (int (*)())logf;
20135 if ac_fn_c_try_link
"$LINENO"; then :
20136 gcc_cv_math_func_logf
=yes
20138 gcc_cv_math_func_logf
=no
20140 rm -f core conftest.err conftest.
$ac_objext \
20141 conftest
$ac_exeext conftest.
$ac_ext
20143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20144 $as_echo "$gcc_cv_math_func_logf" >&6; }
20145 if test $gcc_cv_math_func_logf = yes; then
20147 cat >>confdefs.h
<<_ACEOF
20148 #define HAVE_LOGF 1
20156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20157 $as_echo_n "checking for log... " >&6; }
20158 if test "${gcc_cv_math_func_log+set}" = set; then :
20159 $as_echo_n "(cached) " >&6
20161 if test x
$gcc_no_link = xyes
; then
20162 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20165 /* end confdefs.h. */
20167 #ifdef HAVE_COMPLEX_H
20168 #include <complex.h>
20174 int (*ptr)() = (int (*)())log;
20183 if ac_fn_c_try_link
"$LINENO"; then :
20184 gcc_cv_math_func_log
=yes
20186 gcc_cv_math_func_log
=no
20188 rm -f core conftest.err conftest.
$ac_objext \
20189 conftest
$ac_exeext conftest.
$ac_ext
20191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20192 $as_echo "$gcc_cv_math_func_log" >&6; }
20193 if test $gcc_cv_math_func_log = yes; then
20195 cat >>confdefs.h
<<_ACEOF
20204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20205 $as_echo_n "checking for logl... " >&6; }
20206 if test "${gcc_cv_math_func_logl+set}" = set; then :
20207 $as_echo_n "(cached) " >&6
20209 if test x
$gcc_no_link = xyes
; then
20210 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20213 /* end confdefs.h. */
20215 #ifdef HAVE_COMPLEX_H
20216 #include <complex.h>
20222 int (*ptr)() = (int (*)())logl;
20231 if ac_fn_c_try_link
"$LINENO"; then :
20232 gcc_cv_math_func_logl
=yes
20234 gcc_cv_math_func_logl
=no
20236 rm -f core conftest.err conftest.
$ac_objext \
20237 conftest
$ac_exeext conftest.
$ac_ext
20239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20240 $as_echo "$gcc_cv_math_func_logl" >&6; }
20241 if test $gcc_cv_math_func_logl = yes; then
20243 cat >>confdefs.h
<<_ACEOF
20244 #define HAVE_LOGL 1
20252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20253 $as_echo_n "checking for clogf... " >&6; }
20254 if test "${gcc_cv_math_func_clogf+set}" = set; then :
20255 $as_echo_n "(cached) " >&6
20257 if test x
$gcc_no_link = xyes
; then
20258 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20261 /* end confdefs.h. */
20263 #ifdef HAVE_COMPLEX_H
20264 #include <complex.h>
20270 int (*ptr)() = (int (*)())clogf;
20279 if ac_fn_c_try_link
"$LINENO"; then :
20280 gcc_cv_math_func_clogf
=yes
20282 gcc_cv_math_func_clogf
=no
20284 rm -f core conftest.err conftest.
$ac_objext \
20285 conftest
$ac_exeext conftest.
$ac_ext
20287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20288 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20289 if test $gcc_cv_math_func_clogf = yes; then
20291 cat >>confdefs.h
<<_ACEOF
20292 #define HAVE_CLOGF 1
20300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20301 $as_echo_n "checking for clog... " >&6; }
20302 if test "${gcc_cv_math_func_clog+set}" = set; then :
20303 $as_echo_n "(cached) " >&6
20305 if test x
$gcc_no_link = xyes
; then
20306 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20309 /* end confdefs.h. */
20311 #ifdef HAVE_COMPLEX_H
20312 #include <complex.h>
20318 int (*ptr)() = (int (*)())clog;
20327 if ac_fn_c_try_link
"$LINENO"; then :
20328 gcc_cv_math_func_clog
=yes
20330 gcc_cv_math_func_clog
=no
20332 rm -f core conftest.err conftest.
$ac_objext \
20333 conftest
$ac_exeext conftest.
$ac_ext
20335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20336 $as_echo "$gcc_cv_math_func_clog" >&6; }
20337 if test $gcc_cv_math_func_clog = yes; then
20339 cat >>confdefs.h
<<_ACEOF
20340 #define HAVE_CLOG 1
20348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20349 $as_echo_n "checking for clogl... " >&6; }
20350 if test "${gcc_cv_math_func_clogl+set}" = set; then :
20351 $as_echo_n "(cached) " >&6
20353 if test x
$gcc_no_link = xyes
; then
20354 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20357 /* end confdefs.h. */
20359 #ifdef HAVE_COMPLEX_H
20360 #include <complex.h>
20366 int (*ptr)() = (int (*)())clogl;
20375 if ac_fn_c_try_link
"$LINENO"; then :
20376 gcc_cv_math_func_clogl
=yes
20378 gcc_cv_math_func_clogl
=no
20380 rm -f core conftest.err conftest.
$ac_objext \
20381 conftest
$ac_exeext conftest.
$ac_ext
20383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20384 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20385 if test $gcc_cv_math_func_clogl = yes; then
20387 cat >>confdefs.h
<<_ACEOF
20388 #define HAVE_CLOGL 1
20396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20397 $as_echo_n "checking for log10f... " >&6; }
20398 if test "${gcc_cv_math_func_log10f+set}" = set; then :
20399 $as_echo_n "(cached) " >&6
20401 if test x
$gcc_no_link = xyes
; then
20402 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20405 /* end confdefs.h. */
20407 #ifdef HAVE_COMPLEX_H
20408 #include <complex.h>
20414 int (*ptr)() = (int (*)())log10f;
20423 if ac_fn_c_try_link
"$LINENO"; then :
20424 gcc_cv_math_func_log10f
=yes
20426 gcc_cv_math_func_log10f
=no
20428 rm -f core conftest.err conftest.
$ac_objext \
20429 conftest
$ac_exeext conftest.
$ac_ext
20431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20432 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20433 if test $gcc_cv_math_func_log10f = yes; then
20435 cat >>confdefs.h
<<_ACEOF
20436 #define HAVE_LOG10F 1
20444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20445 $as_echo_n "checking for log10... " >&6; }
20446 if test "${gcc_cv_math_func_log10+set}" = set; then :
20447 $as_echo_n "(cached) " >&6
20449 if test x
$gcc_no_link = xyes
; then
20450 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20453 /* end confdefs.h. */
20455 #ifdef HAVE_COMPLEX_H
20456 #include <complex.h>
20462 int (*ptr)() = (int (*)())log10;
20471 if ac_fn_c_try_link
"$LINENO"; then :
20472 gcc_cv_math_func_log10
=yes
20474 gcc_cv_math_func_log10
=no
20476 rm -f core conftest.err conftest.
$ac_objext \
20477 conftest
$ac_exeext conftest.
$ac_ext
20479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20480 $as_echo "$gcc_cv_math_func_log10" >&6; }
20481 if test $gcc_cv_math_func_log10 = yes; then
20483 cat >>confdefs.h
<<_ACEOF
20484 #define HAVE_LOG10 1
20492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20493 $as_echo_n "checking for log10l... " >&6; }
20494 if test "${gcc_cv_math_func_log10l+set}" = set; then :
20495 $as_echo_n "(cached) " >&6
20497 if test x
$gcc_no_link = xyes
; then
20498 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20501 /* end confdefs.h. */
20503 #ifdef HAVE_COMPLEX_H
20504 #include <complex.h>
20510 int (*ptr)() = (int (*)())log10l;
20519 if ac_fn_c_try_link
"$LINENO"; then :
20520 gcc_cv_math_func_log10l
=yes
20522 gcc_cv_math_func_log10l
=no
20524 rm -f core conftest.err conftest.
$ac_objext \
20525 conftest
$ac_exeext conftest.
$ac_ext
20527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20528 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20529 if test $gcc_cv_math_func_log10l = yes; then
20531 cat >>confdefs.h
<<_ACEOF
20532 #define HAVE_LOG10L 1
20540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20541 $as_echo_n "checking for clog10f... " >&6; }
20542 if test "${gcc_cv_math_func_clog10f+set}" = set; then :
20543 $as_echo_n "(cached) " >&6
20545 if test x
$gcc_no_link = xyes
; then
20546 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20549 /* end confdefs.h. */
20551 #ifdef HAVE_COMPLEX_H
20552 #include <complex.h>
20558 int (*ptr)() = (int (*)())clog10f;
20567 if ac_fn_c_try_link
"$LINENO"; then :
20568 gcc_cv_math_func_clog10f
=yes
20570 gcc_cv_math_func_clog10f
=no
20572 rm -f core conftest.err conftest.
$ac_objext \
20573 conftest
$ac_exeext conftest.
$ac_ext
20575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20576 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
20577 if test $gcc_cv_math_func_clog10f = yes; then
20579 cat >>confdefs.h
<<_ACEOF
20580 #define HAVE_CLOG10F 1
20588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20589 $as_echo_n "checking for clog10... " >&6; }
20590 if test "${gcc_cv_math_func_clog10+set}" = set; then :
20591 $as_echo_n "(cached) " >&6
20593 if test x
$gcc_no_link = xyes
; then
20594 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20597 /* end confdefs.h. */
20599 #ifdef HAVE_COMPLEX_H
20600 #include <complex.h>
20606 int (*ptr)() = (int (*)())clog10;
20615 if ac_fn_c_try_link
"$LINENO"; then :
20616 gcc_cv_math_func_clog10
=yes
20618 gcc_cv_math_func_clog10
=no
20620 rm -f core conftest.err conftest.
$ac_objext \
20621 conftest
$ac_exeext conftest.
$ac_ext
20623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20624 $as_echo "$gcc_cv_math_func_clog10" >&6; }
20625 if test $gcc_cv_math_func_clog10 = yes; then
20627 cat >>confdefs.h
<<_ACEOF
20628 #define HAVE_CLOG10 1
20636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20637 $as_echo_n "checking for clog10l... " >&6; }
20638 if test "${gcc_cv_math_func_clog10l+set}" = set; then :
20639 $as_echo_n "(cached) " >&6
20641 if test x
$gcc_no_link = xyes
; then
20642 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20645 /* end confdefs.h. */
20647 #ifdef HAVE_COMPLEX_H
20648 #include <complex.h>
20654 int (*ptr)() = (int (*)())clog10l;
20663 if ac_fn_c_try_link
"$LINENO"; then :
20664 gcc_cv_math_func_clog10l
=yes
20666 gcc_cv_math_func_clog10l
=no
20668 rm -f core conftest.err conftest.
$ac_objext \
20669 conftest
$ac_exeext conftest.
$ac_ext
20671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20672 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
20673 if test $gcc_cv_math_func_clog10l = yes; then
20675 cat >>confdefs.h
<<_ACEOF
20676 #define HAVE_CLOG10L 1
20684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20685 $as_echo_n "checking for nextafterf... " >&6; }
20686 if test "${gcc_cv_math_func_nextafterf+set}" = set; then :
20687 $as_echo_n "(cached) " >&6
20689 if test x
$gcc_no_link = xyes
; then
20690 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20693 /* end confdefs.h. */
20695 #ifdef HAVE_COMPLEX_H
20696 #include <complex.h>
20702 int (*ptr)() = (int (*)())nextafterf;
20711 if ac_fn_c_try_link
"$LINENO"; then :
20712 gcc_cv_math_func_nextafterf
=yes
20714 gcc_cv_math_func_nextafterf
=no
20716 rm -f core conftest.err conftest.
$ac_objext \
20717 conftest
$ac_exeext conftest.
$ac_ext
20719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
20720 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
20721 if test $gcc_cv_math_func_nextafterf = yes; then
20723 cat >>confdefs.h
<<_ACEOF
20724 #define HAVE_NEXTAFTERF 1
20732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
20733 $as_echo_n "checking for nextafter... " >&6; }
20734 if test "${gcc_cv_math_func_nextafter+set}" = set; then :
20735 $as_echo_n "(cached) " >&6
20737 if test x
$gcc_no_link = xyes
; then
20738 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20741 /* end confdefs.h. */
20743 #ifdef HAVE_COMPLEX_H
20744 #include <complex.h>
20750 int (*ptr)() = (int (*)())nextafter;
20759 if ac_fn_c_try_link
"$LINENO"; then :
20760 gcc_cv_math_func_nextafter
=yes
20762 gcc_cv_math_func_nextafter
=no
20764 rm -f core conftest.err conftest.
$ac_objext \
20765 conftest
$ac_exeext conftest.
$ac_ext
20767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
20768 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
20769 if test $gcc_cv_math_func_nextafter = yes; then
20771 cat >>confdefs.h
<<_ACEOF
20772 #define HAVE_NEXTAFTER 1
20780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
20781 $as_echo_n "checking for nextafterl... " >&6; }
20782 if test "${gcc_cv_math_func_nextafterl+set}" = set; then :
20783 $as_echo_n "(cached) " >&6
20785 if test x
$gcc_no_link = xyes
; then
20786 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20789 /* end confdefs.h. */
20791 #ifdef HAVE_COMPLEX_H
20792 #include <complex.h>
20798 int (*ptr)() = (int (*)())nextafterl;
20807 if ac_fn_c_try_link
"$LINENO"; then :
20808 gcc_cv_math_func_nextafterl
=yes
20810 gcc_cv_math_func_nextafterl
=no
20812 rm -f core conftest.err conftest.
$ac_objext \
20813 conftest
$ac_exeext conftest.
$ac_ext
20815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
20816 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
20817 if test $gcc_cv_math_func_nextafterl = yes; then
20819 cat >>confdefs.h
<<_ACEOF
20820 #define HAVE_NEXTAFTERL 1
20828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
20829 $as_echo_n "checking for powf... " >&6; }
20830 if test "${gcc_cv_math_func_powf+set}" = set; then :
20831 $as_echo_n "(cached) " >&6
20833 if test x
$gcc_no_link = xyes
; then
20834 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20837 /* end confdefs.h. */
20839 #ifdef HAVE_COMPLEX_H
20840 #include <complex.h>
20846 int (*ptr)() = (int (*)())powf;
20855 if ac_fn_c_try_link
"$LINENO"; then :
20856 gcc_cv_math_func_powf
=yes
20858 gcc_cv_math_func_powf
=no
20860 rm -f core conftest.err conftest.
$ac_objext \
20861 conftest
$ac_exeext conftest.
$ac_ext
20863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
20864 $as_echo "$gcc_cv_math_func_powf" >&6; }
20865 if test $gcc_cv_math_func_powf = yes; then
20867 cat >>confdefs.h
<<_ACEOF
20868 #define HAVE_POWF 1
20876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
20877 $as_echo_n "checking for pow... " >&6; }
20878 if test "${gcc_cv_math_func_pow+set}" = set; then :
20879 $as_echo_n "(cached) " >&6
20881 if test x
$gcc_no_link = xyes
; then
20882 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20885 /* end confdefs.h. */
20887 #ifdef HAVE_COMPLEX_H
20888 #include <complex.h>
20894 int (*ptr)() = (int (*)())pow;
20903 if ac_fn_c_try_link
"$LINENO"; then :
20904 gcc_cv_math_func_pow
=yes
20906 gcc_cv_math_func_pow
=no
20908 rm -f core conftest.err conftest.
$ac_objext \
20909 conftest
$ac_exeext conftest.
$ac_ext
20911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
20912 $as_echo "$gcc_cv_math_func_pow" >&6; }
20913 if test $gcc_cv_math_func_pow = yes; then
20915 cat >>confdefs.h
<<_ACEOF
20924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
20925 $as_echo_n "checking for cpowf... " >&6; }
20926 if test "${gcc_cv_math_func_cpowf+set}" = set; then :
20927 $as_echo_n "(cached) " >&6
20929 if test x
$gcc_no_link = xyes
; then
20930 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20933 /* end confdefs.h. */
20935 #ifdef HAVE_COMPLEX_H
20936 #include <complex.h>
20942 int (*ptr)() = (int (*)())cpowf;
20951 if ac_fn_c_try_link
"$LINENO"; then :
20952 gcc_cv_math_func_cpowf
=yes
20954 gcc_cv_math_func_cpowf
=no
20956 rm -f core conftest.err conftest.
$ac_objext \
20957 conftest
$ac_exeext conftest.
$ac_ext
20959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
20960 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
20961 if test $gcc_cv_math_func_cpowf = yes; then
20963 cat >>confdefs.h
<<_ACEOF
20964 #define HAVE_CPOWF 1
20972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
20973 $as_echo_n "checking for cpow... " >&6; }
20974 if test "${gcc_cv_math_func_cpow+set}" = set; then :
20975 $as_echo_n "(cached) " >&6
20977 if test x
$gcc_no_link = xyes
; then
20978 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20981 /* end confdefs.h. */
20983 #ifdef HAVE_COMPLEX_H
20984 #include <complex.h>
20990 int (*ptr)() = (int (*)())cpow;
20999 if ac_fn_c_try_link
"$LINENO"; then :
21000 gcc_cv_math_func_cpow
=yes
21002 gcc_cv_math_func_cpow
=no
21004 rm -f core conftest.err conftest.
$ac_objext \
21005 conftest
$ac_exeext conftest.
$ac_ext
21007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21008 $as_echo "$gcc_cv_math_func_cpow" >&6; }
21009 if test $gcc_cv_math_func_cpow = yes; then
21011 cat >>confdefs.h
<<_ACEOF
21012 #define HAVE_CPOW 1
21020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21021 $as_echo_n "checking for cpowl... " >&6; }
21022 if test "${gcc_cv_math_func_cpowl+set}" = set; then :
21023 $as_echo_n "(cached) " >&6
21025 if test x
$gcc_no_link = xyes
; then
21026 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21029 /* end confdefs.h. */
21031 #ifdef HAVE_COMPLEX_H
21032 #include <complex.h>
21038 int (*ptr)() = (int (*)())cpowl;
21047 if ac_fn_c_try_link
"$LINENO"; then :
21048 gcc_cv_math_func_cpowl
=yes
21050 gcc_cv_math_func_cpowl
=no
21052 rm -f core conftest.err conftest.
$ac_objext \
21053 conftest
$ac_exeext conftest.
$ac_ext
21055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21056 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21057 if test $gcc_cv_math_func_cpowl = yes; then
21059 cat >>confdefs.h
<<_ACEOF
21060 #define HAVE_CPOWL 1
21068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21069 $as_echo_n "checking for roundf... " >&6; }
21070 if test "${gcc_cv_math_func_roundf+set}" = set; then :
21071 $as_echo_n "(cached) " >&6
21073 if test x
$gcc_no_link = xyes
; then
21074 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21077 /* end confdefs.h. */
21079 #ifdef HAVE_COMPLEX_H
21080 #include <complex.h>
21086 int (*ptr)() = (int (*)())roundf;
21095 if ac_fn_c_try_link
"$LINENO"; then :
21096 gcc_cv_math_func_roundf
=yes
21098 gcc_cv_math_func_roundf
=no
21100 rm -f core conftest.err conftest.
$ac_objext \
21101 conftest
$ac_exeext conftest.
$ac_ext
21103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21104 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21105 if test $gcc_cv_math_func_roundf = yes; then
21107 cat >>confdefs.h
<<_ACEOF
21108 #define HAVE_ROUNDF 1
21116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21117 $as_echo_n "checking for round... " >&6; }
21118 if test "${gcc_cv_math_func_round+set}" = set; then :
21119 $as_echo_n "(cached) " >&6
21121 if test x
$gcc_no_link = xyes
; then
21122 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21125 /* end confdefs.h. */
21127 #ifdef HAVE_COMPLEX_H
21128 #include <complex.h>
21134 int (*ptr)() = (int (*)())round;
21143 if ac_fn_c_try_link
"$LINENO"; then :
21144 gcc_cv_math_func_round
=yes
21146 gcc_cv_math_func_round
=no
21148 rm -f core conftest.err conftest.
$ac_objext \
21149 conftest
$ac_exeext conftest.
$ac_ext
21151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21152 $as_echo "$gcc_cv_math_func_round" >&6; }
21153 if test $gcc_cv_math_func_round = yes; then
21155 cat >>confdefs.h
<<_ACEOF
21156 #define HAVE_ROUND 1
21164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21165 $as_echo_n "checking for roundl... " >&6; }
21166 if test "${gcc_cv_math_func_roundl+set}" = set; then :
21167 $as_echo_n "(cached) " >&6
21169 if test x
$gcc_no_link = xyes
; then
21170 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21173 /* end confdefs.h. */
21175 #ifdef HAVE_COMPLEX_H
21176 #include <complex.h>
21182 int (*ptr)() = (int (*)())roundl;
21191 if ac_fn_c_try_link
"$LINENO"; then :
21192 gcc_cv_math_func_roundl
=yes
21194 gcc_cv_math_func_roundl
=no
21196 rm -f core conftest.err conftest.
$ac_objext \
21197 conftest
$ac_exeext conftest.
$ac_ext
21199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21200 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21201 if test $gcc_cv_math_func_roundl = yes; then
21203 cat >>confdefs.h
<<_ACEOF
21204 #define HAVE_ROUNDL 1
21212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21213 $as_echo_n "checking for lroundf... " >&6; }
21214 if test "${gcc_cv_math_func_lroundf+set}" = set; then :
21215 $as_echo_n "(cached) " >&6
21217 if test x
$gcc_no_link = xyes
; then
21218 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21221 /* end confdefs.h. */
21223 #ifdef HAVE_COMPLEX_H
21224 #include <complex.h>
21230 int (*ptr)() = (int (*)())lroundf;
21239 if ac_fn_c_try_link
"$LINENO"; then :
21240 gcc_cv_math_func_lroundf
=yes
21242 gcc_cv_math_func_lroundf
=no
21244 rm -f core conftest.err conftest.
$ac_objext \
21245 conftest
$ac_exeext conftest.
$ac_ext
21247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21248 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21249 if test $gcc_cv_math_func_lroundf = yes; then
21251 cat >>confdefs.h
<<_ACEOF
21252 #define HAVE_LROUNDF 1
21260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21261 $as_echo_n "checking for lround... " >&6; }
21262 if test "${gcc_cv_math_func_lround+set}" = set; then :
21263 $as_echo_n "(cached) " >&6
21265 if test x
$gcc_no_link = xyes
; then
21266 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21269 /* end confdefs.h. */
21271 #ifdef HAVE_COMPLEX_H
21272 #include <complex.h>
21278 int (*ptr)() = (int (*)())lround;
21287 if ac_fn_c_try_link
"$LINENO"; then :
21288 gcc_cv_math_func_lround
=yes
21290 gcc_cv_math_func_lround
=no
21292 rm -f core conftest.err conftest.
$ac_objext \
21293 conftest
$ac_exeext conftest.
$ac_ext
21295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21296 $as_echo "$gcc_cv_math_func_lround" >&6; }
21297 if test $gcc_cv_math_func_lround = yes; then
21299 cat >>confdefs.h
<<_ACEOF
21300 #define HAVE_LROUND 1
21308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21309 $as_echo_n "checking for lroundl... " >&6; }
21310 if test "${gcc_cv_math_func_lroundl+set}" = set; then :
21311 $as_echo_n "(cached) " >&6
21313 if test x
$gcc_no_link = xyes
; then
21314 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21317 /* end confdefs.h. */
21319 #ifdef HAVE_COMPLEX_H
21320 #include <complex.h>
21326 int (*ptr)() = (int (*)())lroundl;
21335 if ac_fn_c_try_link
"$LINENO"; then :
21336 gcc_cv_math_func_lroundl
=yes
21338 gcc_cv_math_func_lroundl
=no
21340 rm -f core conftest.err conftest.
$ac_objext \
21341 conftest
$ac_exeext conftest.
$ac_ext
21343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21344 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21345 if test $gcc_cv_math_func_lroundl = yes; then
21347 cat >>confdefs.h
<<_ACEOF
21348 #define HAVE_LROUNDL 1
21356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21357 $as_echo_n "checking for llroundf... " >&6; }
21358 if test "${gcc_cv_math_func_llroundf+set}" = set; then :
21359 $as_echo_n "(cached) " >&6
21361 if test x
$gcc_no_link = xyes
; then
21362 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21365 /* end confdefs.h. */
21367 #ifdef HAVE_COMPLEX_H
21368 #include <complex.h>
21374 int (*ptr)() = (int (*)())llroundf;
21383 if ac_fn_c_try_link
"$LINENO"; then :
21384 gcc_cv_math_func_llroundf
=yes
21386 gcc_cv_math_func_llroundf
=no
21388 rm -f core conftest.err conftest.
$ac_objext \
21389 conftest
$ac_exeext conftest.
$ac_ext
21391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21392 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21393 if test $gcc_cv_math_func_llroundf = yes; then
21395 cat >>confdefs.h
<<_ACEOF
21396 #define HAVE_LLROUNDF 1
21404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21405 $as_echo_n "checking for llround... " >&6; }
21406 if test "${gcc_cv_math_func_llround+set}" = set; then :
21407 $as_echo_n "(cached) " >&6
21409 if test x
$gcc_no_link = xyes
; then
21410 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21413 /* end confdefs.h. */
21415 #ifdef HAVE_COMPLEX_H
21416 #include <complex.h>
21422 int (*ptr)() = (int (*)())llround;
21431 if ac_fn_c_try_link
"$LINENO"; then :
21432 gcc_cv_math_func_llround
=yes
21434 gcc_cv_math_func_llround
=no
21436 rm -f core conftest.err conftest.
$ac_objext \
21437 conftest
$ac_exeext conftest.
$ac_ext
21439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21440 $as_echo "$gcc_cv_math_func_llround" >&6; }
21441 if test $gcc_cv_math_func_llround = yes; then
21443 cat >>confdefs.h
<<_ACEOF
21444 #define HAVE_LLROUND 1
21452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21453 $as_echo_n "checking for llroundl... " >&6; }
21454 if test "${gcc_cv_math_func_llroundl+set}" = set; then :
21455 $as_echo_n "(cached) " >&6
21457 if test x
$gcc_no_link = xyes
; then
21458 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21461 /* end confdefs.h. */
21463 #ifdef HAVE_COMPLEX_H
21464 #include <complex.h>
21470 int (*ptr)() = (int (*)())llroundl;
21479 if ac_fn_c_try_link
"$LINENO"; then :
21480 gcc_cv_math_func_llroundl
=yes
21482 gcc_cv_math_func_llroundl
=no
21484 rm -f core conftest.err conftest.
$ac_objext \
21485 conftest
$ac_exeext conftest.
$ac_ext
21487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21488 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21489 if test $gcc_cv_math_func_llroundl = yes; then
21491 cat >>confdefs.h
<<_ACEOF
21492 #define HAVE_LLROUNDL 1
21500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21501 $as_echo_n "checking for scalbnf... " >&6; }
21502 if test "${gcc_cv_math_func_scalbnf+set}" = set; then :
21503 $as_echo_n "(cached) " >&6
21505 if test x
$gcc_no_link = xyes
; then
21506 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21509 /* end confdefs.h. */
21511 #ifdef HAVE_COMPLEX_H
21512 #include <complex.h>
21518 int (*ptr)() = (int (*)())scalbnf;
21527 if ac_fn_c_try_link
"$LINENO"; then :
21528 gcc_cv_math_func_scalbnf
=yes
21530 gcc_cv_math_func_scalbnf
=no
21532 rm -f core conftest.err conftest.
$ac_objext \
21533 conftest
$ac_exeext conftest.
$ac_ext
21535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21536 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21537 if test $gcc_cv_math_func_scalbnf = yes; then
21539 cat >>confdefs.h
<<_ACEOF
21540 #define HAVE_SCALBNF 1
21548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21549 $as_echo_n "checking for scalbn... " >&6; }
21550 if test "${gcc_cv_math_func_scalbn+set}" = set; then :
21551 $as_echo_n "(cached) " >&6
21553 if test x
$gcc_no_link = xyes
; then
21554 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21557 /* end confdefs.h. */
21559 #ifdef HAVE_COMPLEX_H
21560 #include <complex.h>
21566 int (*ptr)() = (int (*)())scalbn;
21575 if ac_fn_c_try_link
"$LINENO"; then :
21576 gcc_cv_math_func_scalbn
=yes
21578 gcc_cv_math_func_scalbn
=no
21580 rm -f core conftest.err conftest.
$ac_objext \
21581 conftest
$ac_exeext conftest.
$ac_ext
21583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21584 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
21585 if test $gcc_cv_math_func_scalbn = yes; then
21587 cat >>confdefs.h
<<_ACEOF
21588 #define HAVE_SCALBN 1
21596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21597 $as_echo_n "checking for scalbnl... " >&6; }
21598 if test "${gcc_cv_math_func_scalbnl+set}" = set; then :
21599 $as_echo_n "(cached) " >&6
21601 if test x
$gcc_no_link = xyes
; then
21602 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21605 /* end confdefs.h. */
21607 #ifdef HAVE_COMPLEX_H
21608 #include <complex.h>
21614 int (*ptr)() = (int (*)())scalbnl;
21623 if ac_fn_c_try_link
"$LINENO"; then :
21624 gcc_cv_math_func_scalbnl
=yes
21626 gcc_cv_math_func_scalbnl
=no
21628 rm -f core conftest.err conftest.
$ac_objext \
21629 conftest
$ac_exeext conftest.
$ac_ext
21631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21632 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21633 if test $gcc_cv_math_func_scalbnl = yes; then
21635 cat >>confdefs.h
<<_ACEOF
21636 #define HAVE_SCALBNL 1
21644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21645 $as_echo_n "checking for sinf... " >&6; }
21646 if test "${gcc_cv_math_func_sinf+set}" = set; then :
21647 $as_echo_n "(cached) " >&6
21649 if test x
$gcc_no_link = xyes
; then
21650 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21653 /* end confdefs.h. */
21655 #ifdef HAVE_COMPLEX_H
21656 #include <complex.h>
21662 int (*ptr)() = (int (*)())sinf;
21671 if ac_fn_c_try_link
"$LINENO"; then :
21672 gcc_cv_math_func_sinf
=yes
21674 gcc_cv_math_func_sinf
=no
21676 rm -f core conftest.err conftest.
$ac_objext \
21677 conftest
$ac_exeext conftest.
$ac_ext
21679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21680 $as_echo "$gcc_cv_math_func_sinf" >&6; }
21681 if test $gcc_cv_math_func_sinf = yes; then
21683 cat >>confdefs.h
<<_ACEOF
21684 #define HAVE_SINF 1
21692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21693 $as_echo_n "checking for sin... " >&6; }
21694 if test "${gcc_cv_math_func_sin+set}" = set; then :
21695 $as_echo_n "(cached) " >&6
21697 if test x
$gcc_no_link = xyes
; then
21698 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21701 /* end confdefs.h. */
21703 #ifdef HAVE_COMPLEX_H
21704 #include <complex.h>
21710 int (*ptr)() = (int (*)())sin;
21719 if ac_fn_c_try_link
"$LINENO"; then :
21720 gcc_cv_math_func_sin
=yes
21722 gcc_cv_math_func_sin
=no
21724 rm -f core conftest.err conftest.
$ac_objext \
21725 conftest
$ac_exeext conftest.
$ac_ext
21727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
21728 $as_echo "$gcc_cv_math_func_sin" >&6; }
21729 if test $gcc_cv_math_func_sin = yes; then
21731 cat >>confdefs.h
<<_ACEOF
21740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
21741 $as_echo_n "checking for sinl... " >&6; }
21742 if test "${gcc_cv_math_func_sinl+set}" = set; then :
21743 $as_echo_n "(cached) " >&6
21745 if test x
$gcc_no_link = xyes
; then
21746 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21749 /* end confdefs.h. */
21751 #ifdef HAVE_COMPLEX_H
21752 #include <complex.h>
21758 int (*ptr)() = (int (*)())sinl;
21767 if ac_fn_c_try_link
"$LINENO"; then :
21768 gcc_cv_math_func_sinl
=yes
21770 gcc_cv_math_func_sinl
=no
21772 rm -f core conftest.err conftest.
$ac_objext \
21773 conftest
$ac_exeext conftest.
$ac_ext
21775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
21776 $as_echo "$gcc_cv_math_func_sinl" >&6; }
21777 if test $gcc_cv_math_func_sinl = yes; then
21779 cat >>confdefs.h
<<_ACEOF
21780 #define HAVE_SINL 1
21788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
21789 $as_echo_n "checking for csinf... " >&6; }
21790 if test "${gcc_cv_math_func_csinf+set}" = set; then :
21791 $as_echo_n "(cached) " >&6
21793 if test x
$gcc_no_link = xyes
; then
21794 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21797 /* end confdefs.h. */
21799 #ifdef HAVE_COMPLEX_H
21800 #include <complex.h>
21806 int (*ptr)() = (int (*)())csinf;
21815 if ac_fn_c_try_link
"$LINENO"; then :
21816 gcc_cv_math_func_csinf
=yes
21818 gcc_cv_math_func_csinf
=no
21820 rm -f core conftest.err conftest.
$ac_objext \
21821 conftest
$ac_exeext conftest.
$ac_ext
21823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
21824 $as_echo "$gcc_cv_math_func_csinf" >&6; }
21825 if test $gcc_cv_math_func_csinf = yes; then
21827 cat >>confdefs.h
<<_ACEOF
21828 #define HAVE_CSINF 1
21836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
21837 $as_echo_n "checking for csin... " >&6; }
21838 if test "${gcc_cv_math_func_csin+set}" = set; then :
21839 $as_echo_n "(cached) " >&6
21841 if test x
$gcc_no_link = xyes
; then
21842 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21845 /* end confdefs.h. */
21847 #ifdef HAVE_COMPLEX_H
21848 #include <complex.h>
21854 int (*ptr)() = (int (*)())csin;
21863 if ac_fn_c_try_link
"$LINENO"; then :
21864 gcc_cv_math_func_csin
=yes
21866 gcc_cv_math_func_csin
=no
21868 rm -f core conftest.err conftest.
$ac_objext \
21869 conftest
$ac_exeext conftest.
$ac_ext
21871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
21872 $as_echo "$gcc_cv_math_func_csin" >&6; }
21873 if test $gcc_cv_math_func_csin = yes; then
21875 cat >>confdefs.h
<<_ACEOF
21876 #define HAVE_CSIN 1
21884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
21885 $as_echo_n "checking for csinl... " >&6; }
21886 if test "${gcc_cv_math_func_csinl+set}" = set; then :
21887 $as_echo_n "(cached) " >&6
21889 if test x
$gcc_no_link = xyes
; then
21890 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21893 /* end confdefs.h. */
21895 #ifdef HAVE_COMPLEX_H
21896 #include <complex.h>
21902 int (*ptr)() = (int (*)())csinl;
21911 if ac_fn_c_try_link
"$LINENO"; then :
21912 gcc_cv_math_func_csinl
=yes
21914 gcc_cv_math_func_csinl
=no
21916 rm -f core conftest.err conftest.
$ac_objext \
21917 conftest
$ac_exeext conftest.
$ac_ext
21919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
21920 $as_echo "$gcc_cv_math_func_csinl" >&6; }
21921 if test $gcc_cv_math_func_csinl = yes; then
21923 cat >>confdefs.h
<<_ACEOF
21924 #define HAVE_CSINL 1
21932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
21933 $as_echo_n "checking for sinhf... " >&6; }
21934 if test "${gcc_cv_math_func_sinhf+set}" = set; then :
21935 $as_echo_n "(cached) " >&6
21937 if test x
$gcc_no_link = xyes
; then
21938 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21941 /* end confdefs.h. */
21943 #ifdef HAVE_COMPLEX_H
21944 #include <complex.h>
21950 int (*ptr)() = (int (*)())sinhf;
21959 if ac_fn_c_try_link
"$LINENO"; then :
21960 gcc_cv_math_func_sinhf
=yes
21962 gcc_cv_math_func_sinhf
=no
21964 rm -f core conftest.err conftest.
$ac_objext \
21965 conftest
$ac_exeext conftest.
$ac_ext
21967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
21968 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
21969 if test $gcc_cv_math_func_sinhf = yes; then
21971 cat >>confdefs.h
<<_ACEOF
21972 #define HAVE_SINHF 1
21980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
21981 $as_echo_n "checking for sinh... " >&6; }
21982 if test "${gcc_cv_math_func_sinh+set}" = set; then :
21983 $as_echo_n "(cached) " >&6
21985 if test x
$gcc_no_link = xyes
; then
21986 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21989 /* end confdefs.h. */
21991 #ifdef HAVE_COMPLEX_H
21992 #include <complex.h>
21998 int (*ptr)() = (int (*)())sinh;
22007 if ac_fn_c_try_link
"$LINENO"; then :
22008 gcc_cv_math_func_sinh
=yes
22010 gcc_cv_math_func_sinh
=no
22012 rm -f core conftest.err conftest.
$ac_objext \
22013 conftest
$ac_exeext conftest.
$ac_ext
22015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22016 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22017 if test $gcc_cv_math_func_sinh = yes; then
22019 cat >>confdefs.h
<<_ACEOF
22020 #define HAVE_SINH 1
22028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22029 $as_echo_n "checking for sinhl... " >&6; }
22030 if test "${gcc_cv_math_func_sinhl+set}" = set; then :
22031 $as_echo_n "(cached) " >&6
22033 if test x
$gcc_no_link = xyes
; then
22034 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22037 /* end confdefs.h. */
22039 #ifdef HAVE_COMPLEX_H
22040 #include <complex.h>
22046 int (*ptr)() = (int (*)())sinhl;
22055 if ac_fn_c_try_link
"$LINENO"; then :
22056 gcc_cv_math_func_sinhl
=yes
22058 gcc_cv_math_func_sinhl
=no
22060 rm -f core conftest.err conftest.
$ac_objext \
22061 conftest
$ac_exeext conftest.
$ac_ext
22063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22064 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22065 if test $gcc_cv_math_func_sinhl = yes; then
22067 cat >>confdefs.h
<<_ACEOF
22068 #define HAVE_SINHL 1
22076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22077 $as_echo_n "checking for csinhf... " >&6; }
22078 if test "${gcc_cv_math_func_csinhf+set}" = set; then :
22079 $as_echo_n "(cached) " >&6
22081 if test x
$gcc_no_link = xyes
; then
22082 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22085 /* end confdefs.h. */
22087 #ifdef HAVE_COMPLEX_H
22088 #include <complex.h>
22094 int (*ptr)() = (int (*)())csinhf;
22103 if ac_fn_c_try_link
"$LINENO"; then :
22104 gcc_cv_math_func_csinhf
=yes
22106 gcc_cv_math_func_csinhf
=no
22108 rm -f core conftest.err conftest.
$ac_objext \
22109 conftest
$ac_exeext conftest.
$ac_ext
22111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22112 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22113 if test $gcc_cv_math_func_csinhf = yes; then
22115 cat >>confdefs.h
<<_ACEOF
22116 #define HAVE_CSINHF 1
22124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22125 $as_echo_n "checking for csinh... " >&6; }
22126 if test "${gcc_cv_math_func_csinh+set}" = set; then :
22127 $as_echo_n "(cached) " >&6
22129 if test x
$gcc_no_link = xyes
; then
22130 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22133 /* end confdefs.h. */
22135 #ifdef HAVE_COMPLEX_H
22136 #include <complex.h>
22142 int (*ptr)() = (int (*)())csinh;
22151 if ac_fn_c_try_link
"$LINENO"; then :
22152 gcc_cv_math_func_csinh
=yes
22154 gcc_cv_math_func_csinh
=no
22156 rm -f core conftest.err conftest.
$ac_objext \
22157 conftest
$ac_exeext conftest.
$ac_ext
22159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22160 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22161 if test $gcc_cv_math_func_csinh = yes; then
22163 cat >>confdefs.h
<<_ACEOF
22164 #define HAVE_CSINH 1
22172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22173 $as_echo_n "checking for csinhl... " >&6; }
22174 if test "${gcc_cv_math_func_csinhl+set}" = set; then :
22175 $as_echo_n "(cached) " >&6
22177 if test x
$gcc_no_link = xyes
; then
22178 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22181 /* end confdefs.h. */
22183 #ifdef HAVE_COMPLEX_H
22184 #include <complex.h>
22190 int (*ptr)() = (int (*)())csinhl;
22199 if ac_fn_c_try_link
"$LINENO"; then :
22200 gcc_cv_math_func_csinhl
=yes
22202 gcc_cv_math_func_csinhl
=no
22204 rm -f core conftest.err conftest.
$ac_objext \
22205 conftest
$ac_exeext conftest.
$ac_ext
22207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22208 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22209 if test $gcc_cv_math_func_csinhl = yes; then
22211 cat >>confdefs.h
<<_ACEOF
22212 #define HAVE_CSINHL 1
22220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22221 $as_echo_n "checking for sqrtf... " >&6; }
22222 if test "${gcc_cv_math_func_sqrtf+set}" = set; then :
22223 $as_echo_n "(cached) " >&6
22225 if test x
$gcc_no_link = xyes
; then
22226 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22229 /* end confdefs.h. */
22231 #ifdef HAVE_COMPLEX_H
22232 #include <complex.h>
22238 int (*ptr)() = (int (*)())sqrtf;
22247 if ac_fn_c_try_link
"$LINENO"; then :
22248 gcc_cv_math_func_sqrtf
=yes
22250 gcc_cv_math_func_sqrtf
=no
22252 rm -f core conftest.err conftest.
$ac_objext \
22253 conftest
$ac_exeext conftest.
$ac_ext
22255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22256 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22257 if test $gcc_cv_math_func_sqrtf = yes; then
22259 cat >>confdefs.h
<<_ACEOF
22260 #define HAVE_SQRTF 1
22268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22269 $as_echo_n "checking for sqrt... " >&6; }
22270 if test "${gcc_cv_math_func_sqrt+set}" = set; then :
22271 $as_echo_n "(cached) " >&6
22273 if test x
$gcc_no_link = xyes
; then
22274 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22277 /* end confdefs.h. */
22279 #ifdef HAVE_COMPLEX_H
22280 #include <complex.h>
22286 int (*ptr)() = (int (*)())sqrt;
22295 if ac_fn_c_try_link
"$LINENO"; then :
22296 gcc_cv_math_func_sqrt
=yes
22298 gcc_cv_math_func_sqrt
=no
22300 rm -f core conftest.err conftest.
$ac_objext \
22301 conftest
$ac_exeext conftest.
$ac_ext
22303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22304 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22305 if test $gcc_cv_math_func_sqrt = yes; then
22307 cat >>confdefs.h
<<_ACEOF
22308 #define HAVE_SQRT 1
22316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22317 $as_echo_n "checking for sqrtl... " >&6; }
22318 if test "${gcc_cv_math_func_sqrtl+set}" = set; then :
22319 $as_echo_n "(cached) " >&6
22321 if test x
$gcc_no_link = xyes
; then
22322 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22325 /* end confdefs.h. */
22327 #ifdef HAVE_COMPLEX_H
22328 #include <complex.h>
22334 int (*ptr)() = (int (*)())sqrtl;
22343 if ac_fn_c_try_link
"$LINENO"; then :
22344 gcc_cv_math_func_sqrtl
=yes
22346 gcc_cv_math_func_sqrtl
=no
22348 rm -f core conftest.err conftest.
$ac_objext \
22349 conftest
$ac_exeext conftest.
$ac_ext
22351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22352 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22353 if test $gcc_cv_math_func_sqrtl = yes; then
22355 cat >>confdefs.h
<<_ACEOF
22356 #define HAVE_SQRTL 1
22364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22365 $as_echo_n "checking for csqrtf... " >&6; }
22366 if test "${gcc_cv_math_func_csqrtf+set}" = set; then :
22367 $as_echo_n "(cached) " >&6
22369 if test x
$gcc_no_link = xyes
; then
22370 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22373 /* end confdefs.h. */
22375 #ifdef HAVE_COMPLEX_H
22376 #include <complex.h>
22382 int (*ptr)() = (int (*)())csqrtf;
22391 if ac_fn_c_try_link
"$LINENO"; then :
22392 gcc_cv_math_func_csqrtf
=yes
22394 gcc_cv_math_func_csqrtf
=no
22396 rm -f core conftest.err conftest.
$ac_objext \
22397 conftest
$ac_exeext conftest.
$ac_ext
22399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22400 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22401 if test $gcc_cv_math_func_csqrtf = yes; then
22403 cat >>confdefs.h
<<_ACEOF
22404 #define HAVE_CSQRTF 1
22412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22413 $as_echo_n "checking for csqrt... " >&6; }
22414 if test "${gcc_cv_math_func_csqrt+set}" = set; then :
22415 $as_echo_n "(cached) " >&6
22417 if test x
$gcc_no_link = xyes
; then
22418 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22421 /* end confdefs.h. */
22423 #ifdef HAVE_COMPLEX_H
22424 #include <complex.h>
22430 int (*ptr)() = (int (*)())csqrt;
22439 if ac_fn_c_try_link
"$LINENO"; then :
22440 gcc_cv_math_func_csqrt
=yes
22442 gcc_cv_math_func_csqrt
=no
22444 rm -f core conftest.err conftest.
$ac_objext \
22445 conftest
$ac_exeext conftest.
$ac_ext
22447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22448 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22449 if test $gcc_cv_math_func_csqrt = yes; then
22451 cat >>confdefs.h
<<_ACEOF
22452 #define HAVE_CSQRT 1
22460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22461 $as_echo_n "checking for csqrtl... " >&6; }
22462 if test "${gcc_cv_math_func_csqrtl+set}" = set; then :
22463 $as_echo_n "(cached) " >&6
22465 if test x
$gcc_no_link = xyes
; then
22466 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22469 /* end confdefs.h. */
22471 #ifdef HAVE_COMPLEX_H
22472 #include <complex.h>
22478 int (*ptr)() = (int (*)())csqrtl;
22487 if ac_fn_c_try_link
"$LINENO"; then :
22488 gcc_cv_math_func_csqrtl
=yes
22490 gcc_cv_math_func_csqrtl
=no
22492 rm -f core conftest.err conftest.
$ac_objext \
22493 conftest
$ac_exeext conftest.
$ac_ext
22495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22496 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22497 if test $gcc_cv_math_func_csqrtl = yes; then
22499 cat >>confdefs.h
<<_ACEOF
22500 #define HAVE_CSQRTL 1
22508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22509 $as_echo_n "checking for tanf... " >&6; }
22510 if test "${gcc_cv_math_func_tanf+set}" = set; then :
22511 $as_echo_n "(cached) " >&6
22513 if test x
$gcc_no_link = xyes
; then
22514 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22517 /* end confdefs.h. */
22519 #ifdef HAVE_COMPLEX_H
22520 #include <complex.h>
22526 int (*ptr)() = (int (*)())tanf;
22535 if ac_fn_c_try_link
"$LINENO"; then :
22536 gcc_cv_math_func_tanf
=yes
22538 gcc_cv_math_func_tanf
=no
22540 rm -f core conftest.err conftest.
$ac_objext \
22541 conftest
$ac_exeext conftest.
$ac_ext
22543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22544 $as_echo "$gcc_cv_math_func_tanf" >&6; }
22545 if test $gcc_cv_math_func_tanf = yes; then
22547 cat >>confdefs.h
<<_ACEOF
22548 #define HAVE_TANF 1
22556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22557 $as_echo_n "checking for tan... " >&6; }
22558 if test "${gcc_cv_math_func_tan+set}" = set; then :
22559 $as_echo_n "(cached) " >&6
22561 if test x
$gcc_no_link = xyes
; then
22562 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22565 /* end confdefs.h. */
22567 #ifdef HAVE_COMPLEX_H
22568 #include <complex.h>
22574 int (*ptr)() = (int (*)())tan;
22583 if ac_fn_c_try_link
"$LINENO"; then :
22584 gcc_cv_math_func_tan
=yes
22586 gcc_cv_math_func_tan
=no
22588 rm -f core conftest.err conftest.
$ac_objext \
22589 conftest
$ac_exeext conftest.
$ac_ext
22591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22592 $as_echo "$gcc_cv_math_func_tan" >&6; }
22593 if test $gcc_cv_math_func_tan = yes; then
22595 cat >>confdefs.h
<<_ACEOF
22604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22605 $as_echo_n "checking for tanl... " >&6; }
22606 if test "${gcc_cv_math_func_tanl+set}" = set; then :
22607 $as_echo_n "(cached) " >&6
22609 if test x
$gcc_no_link = xyes
; then
22610 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22613 /* end confdefs.h. */
22615 #ifdef HAVE_COMPLEX_H
22616 #include <complex.h>
22622 int (*ptr)() = (int (*)())tanl;
22631 if ac_fn_c_try_link
"$LINENO"; then :
22632 gcc_cv_math_func_tanl
=yes
22634 gcc_cv_math_func_tanl
=no
22636 rm -f core conftest.err conftest.
$ac_objext \
22637 conftest
$ac_exeext conftest.
$ac_ext
22639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22640 $as_echo "$gcc_cv_math_func_tanl" >&6; }
22641 if test $gcc_cv_math_func_tanl = yes; then
22643 cat >>confdefs.h
<<_ACEOF
22644 #define HAVE_TANL 1
22652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22653 $as_echo_n "checking for ctanf... " >&6; }
22654 if test "${gcc_cv_math_func_ctanf+set}" = set; then :
22655 $as_echo_n "(cached) " >&6
22657 if test x
$gcc_no_link = xyes
; then
22658 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22661 /* end confdefs.h. */
22663 #ifdef HAVE_COMPLEX_H
22664 #include <complex.h>
22670 int (*ptr)() = (int (*)())ctanf;
22679 if ac_fn_c_try_link
"$LINENO"; then :
22680 gcc_cv_math_func_ctanf
=yes
22682 gcc_cv_math_func_ctanf
=no
22684 rm -f core conftest.err conftest.
$ac_objext \
22685 conftest
$ac_exeext conftest.
$ac_ext
22687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22688 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
22689 if test $gcc_cv_math_func_ctanf = yes; then
22691 cat >>confdefs.h
<<_ACEOF
22692 #define HAVE_CTANF 1
22700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22701 $as_echo_n "checking for ctan... " >&6; }
22702 if test "${gcc_cv_math_func_ctan+set}" = set; then :
22703 $as_echo_n "(cached) " >&6
22705 if test x
$gcc_no_link = xyes
; then
22706 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22709 /* end confdefs.h. */
22711 #ifdef HAVE_COMPLEX_H
22712 #include <complex.h>
22718 int (*ptr)() = (int (*)())ctan;
22727 if ac_fn_c_try_link
"$LINENO"; then :
22728 gcc_cv_math_func_ctan
=yes
22730 gcc_cv_math_func_ctan
=no
22732 rm -f core conftest.err conftest.
$ac_objext \
22733 conftest
$ac_exeext conftest.
$ac_ext
22735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
22736 $as_echo "$gcc_cv_math_func_ctan" >&6; }
22737 if test $gcc_cv_math_func_ctan = yes; then
22739 cat >>confdefs.h
<<_ACEOF
22740 #define HAVE_CTAN 1
22748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
22749 $as_echo_n "checking for ctanl... " >&6; }
22750 if test "${gcc_cv_math_func_ctanl+set}" = set; then :
22751 $as_echo_n "(cached) " >&6
22753 if test x
$gcc_no_link = xyes
; then
22754 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22757 /* end confdefs.h. */
22759 #ifdef HAVE_COMPLEX_H
22760 #include <complex.h>
22766 int (*ptr)() = (int (*)())ctanl;
22775 if ac_fn_c_try_link
"$LINENO"; then :
22776 gcc_cv_math_func_ctanl
=yes
22778 gcc_cv_math_func_ctanl
=no
22780 rm -f core conftest.err conftest.
$ac_objext \
22781 conftest
$ac_exeext conftest.
$ac_ext
22783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
22784 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
22785 if test $gcc_cv_math_func_ctanl = yes; then
22787 cat >>confdefs.h
<<_ACEOF
22788 #define HAVE_CTANL 1
22796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
22797 $as_echo_n "checking for tanhf... " >&6; }
22798 if test "${gcc_cv_math_func_tanhf+set}" = set; then :
22799 $as_echo_n "(cached) " >&6
22801 if test x
$gcc_no_link = xyes
; then
22802 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22805 /* end confdefs.h. */
22807 #ifdef HAVE_COMPLEX_H
22808 #include <complex.h>
22814 int (*ptr)() = (int (*)())tanhf;
22823 if ac_fn_c_try_link
"$LINENO"; then :
22824 gcc_cv_math_func_tanhf
=yes
22826 gcc_cv_math_func_tanhf
=no
22828 rm -f core conftest.err conftest.
$ac_objext \
22829 conftest
$ac_exeext conftest.
$ac_ext
22831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
22832 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
22833 if test $gcc_cv_math_func_tanhf = yes; then
22835 cat >>confdefs.h
<<_ACEOF
22836 #define HAVE_TANHF 1
22844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
22845 $as_echo_n "checking for tanh... " >&6; }
22846 if test "${gcc_cv_math_func_tanh+set}" = set; then :
22847 $as_echo_n "(cached) " >&6
22849 if test x
$gcc_no_link = xyes
; then
22850 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22853 /* end confdefs.h. */
22855 #ifdef HAVE_COMPLEX_H
22856 #include <complex.h>
22862 int (*ptr)() = (int (*)())tanh;
22871 if ac_fn_c_try_link
"$LINENO"; then :
22872 gcc_cv_math_func_tanh
=yes
22874 gcc_cv_math_func_tanh
=no
22876 rm -f core conftest.err conftest.
$ac_objext \
22877 conftest
$ac_exeext conftest.
$ac_ext
22879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
22880 $as_echo "$gcc_cv_math_func_tanh" >&6; }
22881 if test $gcc_cv_math_func_tanh = yes; then
22883 cat >>confdefs.h
<<_ACEOF
22884 #define HAVE_TANH 1
22892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
22893 $as_echo_n "checking for tanhl... " >&6; }
22894 if test "${gcc_cv_math_func_tanhl+set}" = set; then :
22895 $as_echo_n "(cached) " >&6
22897 if test x
$gcc_no_link = xyes
; then
22898 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22901 /* end confdefs.h. */
22903 #ifdef HAVE_COMPLEX_H
22904 #include <complex.h>
22910 int (*ptr)() = (int (*)())tanhl;
22919 if ac_fn_c_try_link
"$LINENO"; then :
22920 gcc_cv_math_func_tanhl
=yes
22922 gcc_cv_math_func_tanhl
=no
22924 rm -f core conftest.err conftest.
$ac_objext \
22925 conftest
$ac_exeext conftest.
$ac_ext
22927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
22928 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
22929 if test $gcc_cv_math_func_tanhl = yes; then
22931 cat >>confdefs.h
<<_ACEOF
22932 #define HAVE_TANHL 1
22940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
22941 $as_echo_n "checking for ctanhf... " >&6; }
22942 if test "${gcc_cv_math_func_ctanhf+set}" = set; then :
22943 $as_echo_n "(cached) " >&6
22945 if test x
$gcc_no_link = xyes
; then
22946 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22949 /* end confdefs.h. */
22951 #ifdef HAVE_COMPLEX_H
22952 #include <complex.h>
22958 int (*ptr)() = (int (*)())ctanhf;
22967 if ac_fn_c_try_link
"$LINENO"; then :
22968 gcc_cv_math_func_ctanhf
=yes
22970 gcc_cv_math_func_ctanhf
=no
22972 rm -f core conftest.err conftest.
$ac_objext \
22973 conftest
$ac_exeext conftest.
$ac_ext
22975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
22976 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
22977 if test $gcc_cv_math_func_ctanhf = yes; then
22979 cat >>confdefs.h
<<_ACEOF
22980 #define HAVE_CTANHF 1
22988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
22989 $as_echo_n "checking for ctanh... " >&6; }
22990 if test "${gcc_cv_math_func_ctanh+set}" = set; then :
22991 $as_echo_n "(cached) " >&6
22993 if test x
$gcc_no_link = xyes
; then
22994 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22997 /* end confdefs.h. */
22999 #ifdef HAVE_COMPLEX_H
23000 #include <complex.h>
23006 int (*ptr)() = (int (*)())ctanh;
23015 if ac_fn_c_try_link
"$LINENO"; then :
23016 gcc_cv_math_func_ctanh
=yes
23018 gcc_cv_math_func_ctanh
=no
23020 rm -f core conftest.err conftest.
$ac_objext \
23021 conftest
$ac_exeext conftest.
$ac_ext
23023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23024 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23025 if test $gcc_cv_math_func_ctanh = yes; then
23027 cat >>confdefs.h
<<_ACEOF
23028 #define HAVE_CTANH 1
23036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23037 $as_echo_n "checking for ctanhl... " >&6; }
23038 if test "${gcc_cv_math_func_ctanhl+set}" = set; then :
23039 $as_echo_n "(cached) " >&6
23041 if test x
$gcc_no_link = xyes
; then
23042 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23045 /* end confdefs.h. */
23047 #ifdef HAVE_COMPLEX_H
23048 #include <complex.h>
23054 int (*ptr)() = (int (*)())ctanhl;
23063 if ac_fn_c_try_link
"$LINENO"; then :
23064 gcc_cv_math_func_ctanhl
=yes
23066 gcc_cv_math_func_ctanhl
=no
23068 rm -f core conftest.err conftest.
$ac_objext \
23069 conftest
$ac_exeext conftest.
$ac_ext
23071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23072 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23073 if test $gcc_cv_math_func_ctanhl = yes; then
23075 cat >>confdefs.h
<<_ACEOF
23076 #define HAVE_CTANHL 1
23084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23085 $as_echo_n "checking for truncf... " >&6; }
23086 if test "${gcc_cv_math_func_truncf+set}" = set; then :
23087 $as_echo_n "(cached) " >&6
23089 if test x
$gcc_no_link = xyes
; then
23090 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23093 /* end confdefs.h. */
23095 #ifdef HAVE_COMPLEX_H
23096 #include <complex.h>
23102 int (*ptr)() = (int (*)())truncf;
23111 if ac_fn_c_try_link
"$LINENO"; then :
23112 gcc_cv_math_func_truncf
=yes
23114 gcc_cv_math_func_truncf
=no
23116 rm -f core conftest.err conftest.
$ac_objext \
23117 conftest
$ac_exeext conftest.
$ac_ext
23119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23120 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23121 if test $gcc_cv_math_func_truncf = yes; then
23123 cat >>confdefs.h
<<_ACEOF
23124 #define HAVE_TRUNCF 1
23132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23133 $as_echo_n "checking for trunc... " >&6; }
23134 if test "${gcc_cv_math_func_trunc+set}" = set; then :
23135 $as_echo_n "(cached) " >&6
23137 if test x
$gcc_no_link = xyes
; then
23138 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23141 /* end confdefs.h. */
23143 #ifdef HAVE_COMPLEX_H
23144 #include <complex.h>
23150 int (*ptr)() = (int (*)())trunc;
23159 if ac_fn_c_try_link
"$LINENO"; then :
23160 gcc_cv_math_func_trunc
=yes
23162 gcc_cv_math_func_trunc
=no
23164 rm -f core conftest.err conftest.
$ac_objext \
23165 conftest
$ac_exeext conftest.
$ac_ext
23167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23168 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23169 if test $gcc_cv_math_func_trunc = yes; then
23171 cat >>confdefs.h
<<_ACEOF
23172 #define HAVE_TRUNC 1
23180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23181 $as_echo_n "checking for truncl... " >&6; }
23182 if test "${gcc_cv_math_func_truncl+set}" = set; then :
23183 $as_echo_n "(cached) " >&6
23185 if test x
$gcc_no_link = xyes
; then
23186 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23189 /* end confdefs.h. */
23191 #ifdef HAVE_COMPLEX_H
23192 #include <complex.h>
23198 int (*ptr)() = (int (*)())truncl;
23207 if ac_fn_c_try_link
"$LINENO"; then :
23208 gcc_cv_math_func_truncl
=yes
23210 gcc_cv_math_func_truncl
=no
23212 rm -f core conftest.err conftest.
$ac_objext \
23213 conftest
$ac_exeext conftest.
$ac_ext
23215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23216 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23217 if test $gcc_cv_math_func_truncl = yes; then
23219 cat >>confdefs.h
<<_ACEOF
23220 #define HAVE_TRUNCL 1
23228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23229 $as_echo_n "checking for erff... " >&6; }
23230 if test "${gcc_cv_math_func_erff+set}" = set; then :
23231 $as_echo_n "(cached) " >&6
23233 if test x
$gcc_no_link = xyes
; then
23234 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23237 /* end confdefs.h. */
23239 #ifdef HAVE_COMPLEX_H
23240 #include <complex.h>
23246 int (*ptr)() = (int (*)())erff;
23255 if ac_fn_c_try_link
"$LINENO"; then :
23256 gcc_cv_math_func_erff
=yes
23258 gcc_cv_math_func_erff
=no
23260 rm -f core conftest.err conftest.
$ac_objext \
23261 conftest
$ac_exeext conftest.
$ac_ext
23263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23264 $as_echo "$gcc_cv_math_func_erff" >&6; }
23265 if test $gcc_cv_math_func_erff = yes; then
23267 cat >>confdefs.h
<<_ACEOF
23268 #define HAVE_ERFF 1
23276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23277 $as_echo_n "checking for erf... " >&6; }
23278 if test "${gcc_cv_math_func_erf+set}" = set; then :
23279 $as_echo_n "(cached) " >&6
23281 if test x
$gcc_no_link = xyes
; then
23282 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23285 /* end confdefs.h. */
23287 #ifdef HAVE_COMPLEX_H
23288 #include <complex.h>
23294 int (*ptr)() = (int (*)())erf;
23303 if ac_fn_c_try_link
"$LINENO"; then :
23304 gcc_cv_math_func_erf
=yes
23306 gcc_cv_math_func_erf
=no
23308 rm -f core conftest.err conftest.
$ac_objext \
23309 conftest
$ac_exeext conftest.
$ac_ext
23311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23312 $as_echo "$gcc_cv_math_func_erf" >&6; }
23313 if test $gcc_cv_math_func_erf = yes; then
23315 cat >>confdefs.h
<<_ACEOF
23324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23325 $as_echo_n "checking for erfcf... " >&6; }
23326 if test "${gcc_cv_math_func_erfcf+set}" = set; then :
23327 $as_echo_n "(cached) " >&6
23329 if test x
$gcc_no_link = xyes
; then
23330 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23333 /* end confdefs.h. */
23335 #ifdef HAVE_COMPLEX_H
23336 #include <complex.h>
23342 int (*ptr)() = (int (*)())erfcf;
23351 if ac_fn_c_try_link
"$LINENO"; then :
23352 gcc_cv_math_func_erfcf
=yes
23354 gcc_cv_math_func_erfcf
=no
23356 rm -f core conftest.err conftest.
$ac_objext \
23357 conftest
$ac_exeext conftest.
$ac_ext
23359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23360 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23361 if test $gcc_cv_math_func_erfcf = yes; then
23363 cat >>confdefs.h
<<_ACEOF
23364 #define HAVE_ERFCF 1
23372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23373 $as_echo_n "checking for erfc... " >&6; }
23374 if test "${gcc_cv_math_func_erfc+set}" = set; then :
23375 $as_echo_n "(cached) " >&6
23377 if test x
$gcc_no_link = xyes
; then
23378 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23381 /* end confdefs.h. */
23383 #ifdef HAVE_COMPLEX_H
23384 #include <complex.h>
23390 int (*ptr)() = (int (*)())erfc;
23399 if ac_fn_c_try_link
"$LINENO"; then :
23400 gcc_cv_math_func_erfc
=yes
23402 gcc_cv_math_func_erfc
=no
23404 rm -f core conftest.err conftest.
$ac_objext \
23405 conftest
$ac_exeext conftest.
$ac_ext
23407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23408 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23409 if test $gcc_cv_math_func_erfc = yes; then
23411 cat >>confdefs.h
<<_ACEOF
23412 #define HAVE_ERFC 1
23420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23421 $as_echo_n "checking for erfcl... " >&6; }
23422 if test "${gcc_cv_math_func_erfcl+set}" = set; then :
23423 $as_echo_n "(cached) " >&6
23425 if test x
$gcc_no_link = xyes
; then
23426 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23429 /* end confdefs.h. */
23431 #ifdef HAVE_COMPLEX_H
23432 #include <complex.h>
23438 int (*ptr)() = (int (*)())erfcl;
23447 if ac_fn_c_try_link
"$LINENO"; then :
23448 gcc_cv_math_func_erfcl
=yes
23450 gcc_cv_math_func_erfcl
=no
23452 rm -f core conftest.err conftest.
$ac_objext \
23453 conftest
$ac_exeext conftest.
$ac_ext
23455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23456 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23457 if test $gcc_cv_math_func_erfcl = yes; then
23459 cat >>confdefs.h
<<_ACEOF
23460 #define HAVE_ERFCL 1
23468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23469 $as_echo_n "checking for j0f... " >&6; }
23470 if test "${gcc_cv_math_func_j0f+set}" = set; then :
23471 $as_echo_n "(cached) " >&6
23473 if test x
$gcc_no_link = xyes
; then
23474 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23477 /* end confdefs.h. */
23479 #ifdef HAVE_COMPLEX_H
23480 #include <complex.h>
23486 int (*ptr)() = (int (*)())j0f;
23495 if ac_fn_c_try_link
"$LINENO"; then :
23496 gcc_cv_math_func_j0f
=yes
23498 gcc_cv_math_func_j0f
=no
23500 rm -f core conftest.err conftest.
$ac_objext \
23501 conftest
$ac_exeext conftest.
$ac_ext
23503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23504 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23505 if test $gcc_cv_math_func_j0f = yes; then
23507 cat >>confdefs.h
<<_ACEOF
23516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23517 $as_echo_n "checking for j0... " >&6; }
23518 if test "${gcc_cv_math_func_j0+set}" = set; then :
23519 $as_echo_n "(cached) " >&6
23521 if test x
$gcc_no_link = xyes
; then
23522 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23525 /* end confdefs.h. */
23527 #ifdef HAVE_COMPLEX_H
23528 #include <complex.h>
23534 int (*ptr)() = (int (*)())j0;
23543 if ac_fn_c_try_link
"$LINENO"; then :
23544 gcc_cv_math_func_j0
=yes
23546 gcc_cv_math_func_j0
=no
23548 rm -f core conftest.err conftest.
$ac_objext \
23549 conftest
$ac_exeext conftest.
$ac_ext
23551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23552 $as_echo "$gcc_cv_math_func_j0" >&6; }
23553 if test $gcc_cv_math_func_j0 = yes; then
23555 cat >>confdefs.h
<<_ACEOF
23564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23565 $as_echo_n "checking for j1f... " >&6; }
23566 if test "${gcc_cv_math_func_j1f+set}" = set; then :
23567 $as_echo_n "(cached) " >&6
23569 if test x
$gcc_no_link = xyes
; then
23570 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23573 /* end confdefs.h. */
23575 #ifdef HAVE_COMPLEX_H
23576 #include <complex.h>
23582 int (*ptr)() = (int (*)())j1f;
23591 if ac_fn_c_try_link
"$LINENO"; then :
23592 gcc_cv_math_func_j1f
=yes
23594 gcc_cv_math_func_j1f
=no
23596 rm -f core conftest.err conftest.
$ac_objext \
23597 conftest
$ac_exeext conftest.
$ac_ext
23599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23600 $as_echo "$gcc_cv_math_func_j1f" >&6; }
23601 if test $gcc_cv_math_func_j1f = yes; then
23603 cat >>confdefs.h
<<_ACEOF
23612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23613 $as_echo_n "checking for j1... " >&6; }
23614 if test "${gcc_cv_math_func_j1+set}" = set; then :
23615 $as_echo_n "(cached) " >&6
23617 if test x
$gcc_no_link = xyes
; then
23618 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23621 /* end confdefs.h. */
23623 #ifdef HAVE_COMPLEX_H
23624 #include <complex.h>
23630 int (*ptr)() = (int (*)())j1;
23639 if ac_fn_c_try_link
"$LINENO"; then :
23640 gcc_cv_math_func_j1
=yes
23642 gcc_cv_math_func_j1
=no
23644 rm -f core conftest.err conftest.
$ac_objext \
23645 conftest
$ac_exeext conftest.
$ac_ext
23647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23648 $as_echo "$gcc_cv_math_func_j1" >&6; }
23649 if test $gcc_cv_math_func_j1 = yes; then
23651 cat >>confdefs.h
<<_ACEOF
23660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23661 $as_echo_n "checking for jnf... " >&6; }
23662 if test "${gcc_cv_math_func_jnf+set}" = set; then :
23663 $as_echo_n "(cached) " >&6
23665 if test x
$gcc_no_link = xyes
; then
23666 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23669 /* end confdefs.h. */
23671 #ifdef HAVE_COMPLEX_H
23672 #include <complex.h>
23678 int (*ptr)() = (int (*)())jnf;
23687 if ac_fn_c_try_link
"$LINENO"; then :
23688 gcc_cv_math_func_jnf
=yes
23690 gcc_cv_math_func_jnf
=no
23692 rm -f core conftest.err conftest.
$ac_objext \
23693 conftest
$ac_exeext conftest.
$ac_ext
23695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23696 $as_echo "$gcc_cv_math_func_jnf" >&6; }
23697 if test $gcc_cv_math_func_jnf = yes; then
23699 cat >>confdefs.h
<<_ACEOF
23708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
23709 $as_echo_n "checking for jn... " >&6; }
23710 if test "${gcc_cv_math_func_jn+set}" = set; then :
23711 $as_echo_n "(cached) " >&6
23713 if test x
$gcc_no_link = xyes
; then
23714 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23717 /* end confdefs.h. */
23719 #ifdef HAVE_COMPLEX_H
23720 #include <complex.h>
23726 int (*ptr)() = (int (*)())jn;
23735 if ac_fn_c_try_link
"$LINENO"; then :
23736 gcc_cv_math_func_jn
=yes
23738 gcc_cv_math_func_jn
=no
23740 rm -f core conftest.err conftest.
$ac_objext \
23741 conftest
$ac_exeext conftest.
$ac_ext
23743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
23744 $as_echo "$gcc_cv_math_func_jn" >&6; }
23745 if test $gcc_cv_math_func_jn = yes; then
23747 cat >>confdefs.h
<<_ACEOF
23756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
23757 $as_echo_n "checking for jnl... " >&6; }
23758 if test "${gcc_cv_math_func_jnl+set}" = set; then :
23759 $as_echo_n "(cached) " >&6
23761 if test x
$gcc_no_link = xyes
; then
23762 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23765 /* end confdefs.h. */
23767 #ifdef HAVE_COMPLEX_H
23768 #include <complex.h>
23774 int (*ptr)() = (int (*)())jnl;
23783 if ac_fn_c_try_link
"$LINENO"; then :
23784 gcc_cv_math_func_jnl
=yes
23786 gcc_cv_math_func_jnl
=no
23788 rm -f core conftest.err conftest.
$ac_objext \
23789 conftest
$ac_exeext conftest.
$ac_ext
23791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
23792 $as_echo "$gcc_cv_math_func_jnl" >&6; }
23793 if test $gcc_cv_math_func_jnl = yes; then
23795 cat >>confdefs.h
<<_ACEOF
23804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
23805 $as_echo_n "checking for y0f... " >&6; }
23806 if test "${gcc_cv_math_func_y0f+set}" = set; then :
23807 $as_echo_n "(cached) " >&6
23809 if test x
$gcc_no_link = xyes
; then
23810 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23813 /* end confdefs.h. */
23815 #ifdef HAVE_COMPLEX_H
23816 #include <complex.h>
23822 int (*ptr)() = (int (*)())y0f;
23831 if ac_fn_c_try_link
"$LINENO"; then :
23832 gcc_cv_math_func_y0f
=yes
23834 gcc_cv_math_func_y0f
=no
23836 rm -f core conftest.err conftest.
$ac_objext \
23837 conftest
$ac_exeext conftest.
$ac_ext
23839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
23840 $as_echo "$gcc_cv_math_func_y0f" >&6; }
23841 if test $gcc_cv_math_func_y0f = yes; then
23843 cat >>confdefs.h
<<_ACEOF
23852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
23853 $as_echo_n "checking for y0... " >&6; }
23854 if test "${gcc_cv_math_func_y0+set}" = set; then :
23855 $as_echo_n "(cached) " >&6
23857 if test x
$gcc_no_link = xyes
; then
23858 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23861 /* end confdefs.h. */
23863 #ifdef HAVE_COMPLEX_H
23864 #include <complex.h>
23870 int (*ptr)() = (int (*)())y0;
23879 if ac_fn_c_try_link
"$LINENO"; then :
23880 gcc_cv_math_func_y0
=yes
23882 gcc_cv_math_func_y0
=no
23884 rm -f core conftest.err conftest.
$ac_objext \
23885 conftest
$ac_exeext conftest.
$ac_ext
23887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
23888 $as_echo "$gcc_cv_math_func_y0" >&6; }
23889 if test $gcc_cv_math_func_y0 = yes; then
23891 cat >>confdefs.h
<<_ACEOF
23900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
23901 $as_echo_n "checking for y1f... " >&6; }
23902 if test "${gcc_cv_math_func_y1f+set}" = set; then :
23903 $as_echo_n "(cached) " >&6
23905 if test x
$gcc_no_link = xyes
; then
23906 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23909 /* end confdefs.h. */
23911 #ifdef HAVE_COMPLEX_H
23912 #include <complex.h>
23918 int (*ptr)() = (int (*)())y1f;
23927 if ac_fn_c_try_link
"$LINENO"; then :
23928 gcc_cv_math_func_y1f
=yes
23930 gcc_cv_math_func_y1f
=no
23932 rm -f core conftest.err conftest.
$ac_objext \
23933 conftest
$ac_exeext conftest.
$ac_ext
23935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
23936 $as_echo "$gcc_cv_math_func_y1f" >&6; }
23937 if test $gcc_cv_math_func_y1f = yes; then
23939 cat >>confdefs.h
<<_ACEOF
23948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
23949 $as_echo_n "checking for y1... " >&6; }
23950 if test "${gcc_cv_math_func_y1+set}" = set; then :
23951 $as_echo_n "(cached) " >&6
23953 if test x
$gcc_no_link = xyes
; then
23954 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23957 /* end confdefs.h. */
23959 #ifdef HAVE_COMPLEX_H
23960 #include <complex.h>
23966 int (*ptr)() = (int (*)())y1;
23975 if ac_fn_c_try_link
"$LINENO"; then :
23976 gcc_cv_math_func_y1
=yes
23978 gcc_cv_math_func_y1
=no
23980 rm -f core conftest.err conftest.
$ac_objext \
23981 conftest
$ac_exeext conftest.
$ac_ext
23983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
23984 $as_echo "$gcc_cv_math_func_y1" >&6; }
23985 if test $gcc_cv_math_func_y1 = yes; then
23987 cat >>confdefs.h
<<_ACEOF
23996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
23997 $as_echo_n "checking for ynf... " >&6; }
23998 if test "${gcc_cv_math_func_ynf+set}" = set; then :
23999 $as_echo_n "(cached) " >&6
24001 if test x
$gcc_no_link = xyes
; then
24002 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24005 /* end confdefs.h. */
24007 #ifdef HAVE_COMPLEX_H
24008 #include <complex.h>
24014 int (*ptr)() = (int (*)())ynf;
24023 if ac_fn_c_try_link
"$LINENO"; then :
24024 gcc_cv_math_func_ynf
=yes
24026 gcc_cv_math_func_ynf
=no
24028 rm -f core conftest.err conftest.
$ac_objext \
24029 conftest
$ac_exeext conftest.
$ac_ext
24031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24032 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24033 if test $gcc_cv_math_func_ynf = yes; then
24035 cat >>confdefs.h
<<_ACEOF
24044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24045 $as_echo_n "checking for yn... " >&6; }
24046 if test "${gcc_cv_math_func_yn+set}" = set; then :
24047 $as_echo_n "(cached) " >&6
24049 if test x
$gcc_no_link = xyes
; then
24050 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24053 /* end confdefs.h. */
24055 #ifdef HAVE_COMPLEX_H
24056 #include <complex.h>
24062 int (*ptr)() = (int (*)())yn;
24071 if ac_fn_c_try_link
"$LINENO"; then :
24072 gcc_cv_math_func_yn
=yes
24074 gcc_cv_math_func_yn
=no
24076 rm -f core conftest.err conftest.
$ac_objext \
24077 conftest
$ac_exeext conftest.
$ac_ext
24079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24080 $as_echo "$gcc_cv_math_func_yn" >&6; }
24081 if test $gcc_cv_math_func_yn = yes; then
24083 cat >>confdefs.h
<<_ACEOF
24092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24093 $as_echo_n "checking for ynl... " >&6; }
24094 if test "${gcc_cv_math_func_ynl+set}" = set; then :
24095 $as_echo_n "(cached) " >&6
24097 if test x
$gcc_no_link = xyes
; then
24098 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24101 /* end confdefs.h. */
24103 #ifdef HAVE_COMPLEX_H
24104 #include <complex.h>
24110 int (*ptr)() = (int (*)())ynl;
24119 if ac_fn_c_try_link
"$LINENO"; then :
24120 gcc_cv_math_func_ynl
=yes
24122 gcc_cv_math_func_ynl
=no
24124 rm -f core conftest.err conftest.
$ac_objext \
24125 conftest
$ac_exeext conftest.
$ac_ext
24127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24128 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24129 if test $gcc_cv_math_func_ynl = yes; then
24131 cat >>confdefs.h
<<_ACEOF
24140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24141 $as_echo_n "checking for tgamma... " >&6; }
24142 if test "${gcc_cv_math_func_tgamma+set}" = set; then :
24143 $as_echo_n "(cached) " >&6
24145 if test x
$gcc_no_link = xyes
; then
24146 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24149 /* end confdefs.h. */
24151 #ifdef HAVE_COMPLEX_H
24152 #include <complex.h>
24158 int (*ptr)() = (int (*)())tgamma;
24167 if ac_fn_c_try_link
"$LINENO"; then :
24168 gcc_cv_math_func_tgamma
=yes
24170 gcc_cv_math_func_tgamma
=no
24172 rm -f core conftest.err conftest.
$ac_objext \
24173 conftest
$ac_exeext conftest.
$ac_ext
24175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24176 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24177 if test $gcc_cv_math_func_tgamma = yes; then
24179 cat >>confdefs.h
<<_ACEOF
24180 #define HAVE_TGAMMA 1
24188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24189 $as_echo_n "checking for tgammaf... " >&6; }
24190 if test "${gcc_cv_math_func_tgammaf+set}" = set; then :
24191 $as_echo_n "(cached) " >&6
24193 if test x
$gcc_no_link = xyes
; then
24194 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24197 /* end confdefs.h. */
24199 #ifdef HAVE_COMPLEX_H
24200 #include <complex.h>
24206 int (*ptr)() = (int (*)())tgammaf;
24215 if ac_fn_c_try_link
"$LINENO"; then :
24216 gcc_cv_math_func_tgammaf
=yes
24218 gcc_cv_math_func_tgammaf
=no
24220 rm -f core conftest.err conftest.
$ac_objext \
24221 conftest
$ac_exeext conftest.
$ac_ext
24223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24224 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24225 if test $gcc_cv_math_func_tgammaf = yes; then
24227 cat >>confdefs.h
<<_ACEOF
24228 #define HAVE_TGAMMAF 1
24236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24237 $as_echo_n "checking for lgamma... " >&6; }
24238 if test "${gcc_cv_math_func_lgamma+set}" = set; then :
24239 $as_echo_n "(cached) " >&6
24241 if test x
$gcc_no_link = xyes
; then
24242 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24245 /* end confdefs.h. */
24247 #ifdef HAVE_COMPLEX_H
24248 #include <complex.h>
24254 int (*ptr)() = (int (*)())lgamma;
24263 if ac_fn_c_try_link
"$LINENO"; then :
24264 gcc_cv_math_func_lgamma
=yes
24266 gcc_cv_math_func_lgamma
=no
24268 rm -f core conftest.err conftest.
$ac_objext \
24269 conftest
$ac_exeext conftest.
$ac_ext
24271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24272 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24273 if test $gcc_cv_math_func_lgamma = yes; then
24275 cat >>confdefs.h
<<_ACEOF
24276 #define HAVE_LGAMMA 1
24284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24285 $as_echo_n "checking for lgammaf... " >&6; }
24286 if test "${gcc_cv_math_func_lgammaf+set}" = set; then :
24287 $as_echo_n "(cached) " >&6
24289 if test x
$gcc_no_link = xyes
; then
24290 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24293 /* end confdefs.h. */
24295 #ifdef HAVE_COMPLEX_H
24296 #include <complex.h>
24302 int (*ptr)() = (int (*)())lgammaf;
24311 if ac_fn_c_try_link
"$LINENO"; then :
24312 gcc_cv_math_func_lgammaf
=yes
24314 gcc_cv_math_func_lgammaf
=no
24316 rm -f core conftest.err conftest.
$ac_objext \
24317 conftest
$ac_exeext conftest.
$ac_ext
24319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24320 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24321 if test $gcc_cv_math_func_lgammaf = yes; then
24323 cat >>confdefs.h
<<_ACEOF
24324 #define HAVE_LGAMMAF 1
24330 # Check for GFORTRAN_C99_1.1 funcs
24334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24335 $as_echo_n "checking for cacos... " >&6; }
24336 if test "${gcc_cv_math_func_cacos+set}" = set; then :
24337 $as_echo_n "(cached) " >&6
24339 if test x
$gcc_no_link = xyes
; then
24340 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24343 /* end confdefs.h. */
24345 #ifdef HAVE_COMPLEX_H
24346 #include <complex.h>
24352 int (*ptr)() = (int (*)())cacos;
24361 if ac_fn_c_try_link
"$LINENO"; then :
24362 gcc_cv_math_func_cacos
=yes
24364 gcc_cv_math_func_cacos
=no
24366 rm -f core conftest.err conftest.
$ac_objext \
24367 conftest
$ac_exeext conftest.
$ac_ext
24369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24370 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24371 if test $gcc_cv_math_func_cacos = yes; then
24373 cat >>confdefs.h
<<_ACEOF
24374 #define HAVE_CACOS 1
24382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24383 $as_echo_n "checking for cacosf... " >&6; }
24384 if test "${gcc_cv_math_func_cacosf+set}" = set; then :
24385 $as_echo_n "(cached) " >&6
24387 if test x
$gcc_no_link = xyes
; then
24388 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24391 /* end confdefs.h. */
24393 #ifdef HAVE_COMPLEX_H
24394 #include <complex.h>
24400 int (*ptr)() = (int (*)())cacosf;
24409 if ac_fn_c_try_link
"$LINENO"; then :
24410 gcc_cv_math_func_cacosf
=yes
24412 gcc_cv_math_func_cacosf
=no
24414 rm -f core conftest.err conftest.
$ac_objext \
24415 conftest
$ac_exeext conftest.
$ac_ext
24417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24418 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24419 if test $gcc_cv_math_func_cacosf = yes; then
24421 cat >>confdefs.h
<<_ACEOF
24422 #define HAVE_CACOSF 1
24430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24431 $as_echo_n "checking for cacosh... " >&6; }
24432 if test "${gcc_cv_math_func_cacosh+set}" = set; then :
24433 $as_echo_n "(cached) " >&6
24435 if test x
$gcc_no_link = xyes
; then
24436 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24439 /* end confdefs.h. */
24441 #ifdef HAVE_COMPLEX_H
24442 #include <complex.h>
24448 int (*ptr)() = (int (*)())cacosh;
24457 if ac_fn_c_try_link
"$LINENO"; then :
24458 gcc_cv_math_func_cacosh
=yes
24460 gcc_cv_math_func_cacosh
=no
24462 rm -f core conftest.err conftest.
$ac_objext \
24463 conftest
$ac_exeext conftest.
$ac_ext
24465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24466 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24467 if test $gcc_cv_math_func_cacosh = yes; then
24469 cat >>confdefs.h
<<_ACEOF
24470 #define HAVE_CACOSH 1
24478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24479 $as_echo_n "checking for cacoshf... " >&6; }
24480 if test "${gcc_cv_math_func_cacoshf+set}" = set; then :
24481 $as_echo_n "(cached) " >&6
24483 if test x
$gcc_no_link = xyes
; then
24484 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24487 /* end confdefs.h. */
24489 #ifdef HAVE_COMPLEX_H
24490 #include <complex.h>
24496 int (*ptr)() = (int (*)())cacoshf;
24505 if ac_fn_c_try_link
"$LINENO"; then :
24506 gcc_cv_math_func_cacoshf
=yes
24508 gcc_cv_math_func_cacoshf
=no
24510 rm -f core conftest.err conftest.
$ac_objext \
24511 conftest
$ac_exeext conftest.
$ac_ext
24513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24514 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24515 if test $gcc_cv_math_func_cacoshf = yes; then
24517 cat >>confdefs.h
<<_ACEOF
24518 #define HAVE_CACOSHF 1
24526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24527 $as_echo_n "checking for cacoshl... " >&6; }
24528 if test "${gcc_cv_math_func_cacoshl+set}" = set; then :
24529 $as_echo_n "(cached) " >&6
24531 if test x
$gcc_no_link = xyes
; then
24532 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24535 /* end confdefs.h. */
24537 #ifdef HAVE_COMPLEX_H
24538 #include <complex.h>
24544 int (*ptr)() = (int (*)())cacoshl;
24553 if ac_fn_c_try_link
"$LINENO"; then :
24554 gcc_cv_math_func_cacoshl
=yes
24556 gcc_cv_math_func_cacoshl
=no
24558 rm -f core conftest.err conftest.
$ac_objext \
24559 conftest
$ac_exeext conftest.
$ac_ext
24561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
24562 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24563 if test $gcc_cv_math_func_cacoshl = yes; then
24565 cat >>confdefs.h
<<_ACEOF
24566 #define HAVE_CACOSHL 1
24574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24575 $as_echo_n "checking for cacosl... " >&6; }
24576 if test "${gcc_cv_math_func_cacosl+set}" = set; then :
24577 $as_echo_n "(cached) " >&6
24579 if test x
$gcc_no_link = xyes
; then
24580 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24583 /* end confdefs.h. */
24585 #ifdef HAVE_COMPLEX_H
24586 #include <complex.h>
24592 int (*ptr)() = (int (*)())cacosl;
24601 if ac_fn_c_try_link
"$LINENO"; then :
24602 gcc_cv_math_func_cacosl
=yes
24604 gcc_cv_math_func_cacosl
=no
24606 rm -f core conftest.err conftest.
$ac_objext \
24607 conftest
$ac_exeext conftest.
$ac_ext
24609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
24610 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
24611 if test $gcc_cv_math_func_cacosl = yes; then
24613 cat >>confdefs.h
<<_ACEOF
24614 #define HAVE_CACOSL 1
24622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24623 $as_echo_n "checking for casin... " >&6; }
24624 if test "${gcc_cv_math_func_casin+set}" = set; then :
24625 $as_echo_n "(cached) " >&6
24627 if test x
$gcc_no_link = xyes
; then
24628 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24631 /* end confdefs.h. */
24633 #ifdef HAVE_COMPLEX_H
24634 #include <complex.h>
24640 int (*ptr)() = (int (*)())casin;
24649 if ac_fn_c_try_link
"$LINENO"; then :
24650 gcc_cv_math_func_casin
=yes
24652 gcc_cv_math_func_casin
=no
24654 rm -f core conftest.err conftest.
$ac_objext \
24655 conftest
$ac_exeext conftest.
$ac_ext
24657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
24658 $as_echo "$gcc_cv_math_func_casin" >&6; }
24659 if test $gcc_cv_math_func_casin = yes; then
24661 cat >>confdefs.h
<<_ACEOF
24662 #define HAVE_CASIN 1
24670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
24671 $as_echo_n "checking for casinf... " >&6; }
24672 if test "${gcc_cv_math_func_casinf+set}" = set; then :
24673 $as_echo_n "(cached) " >&6
24675 if test x
$gcc_no_link = xyes
; then
24676 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24679 /* end confdefs.h. */
24681 #ifdef HAVE_COMPLEX_H
24682 #include <complex.h>
24688 int (*ptr)() = (int (*)())casinf;
24697 if ac_fn_c_try_link
"$LINENO"; then :
24698 gcc_cv_math_func_casinf
=yes
24700 gcc_cv_math_func_casinf
=no
24702 rm -f core conftest.err conftest.
$ac_objext \
24703 conftest
$ac_exeext conftest.
$ac_ext
24705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
24706 $as_echo "$gcc_cv_math_func_casinf" >&6; }
24707 if test $gcc_cv_math_func_casinf = yes; then
24709 cat >>confdefs.h
<<_ACEOF
24710 #define HAVE_CASINF 1
24718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
24719 $as_echo_n "checking for casinh... " >&6; }
24720 if test "${gcc_cv_math_func_casinh+set}" = set; then :
24721 $as_echo_n "(cached) " >&6
24723 if test x
$gcc_no_link = xyes
; then
24724 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24727 /* end confdefs.h. */
24729 #ifdef HAVE_COMPLEX_H
24730 #include <complex.h>
24736 int (*ptr)() = (int (*)())casinh;
24745 if ac_fn_c_try_link
"$LINENO"; then :
24746 gcc_cv_math_func_casinh
=yes
24748 gcc_cv_math_func_casinh
=no
24750 rm -f core conftest.err conftest.
$ac_objext \
24751 conftest
$ac_exeext conftest.
$ac_ext
24753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
24754 $as_echo "$gcc_cv_math_func_casinh" >&6; }
24755 if test $gcc_cv_math_func_casinh = yes; then
24757 cat >>confdefs.h
<<_ACEOF
24758 #define HAVE_CASINH 1
24766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
24767 $as_echo_n "checking for casinhf... " >&6; }
24768 if test "${gcc_cv_math_func_casinhf+set}" = set; then :
24769 $as_echo_n "(cached) " >&6
24771 if test x
$gcc_no_link = xyes
; then
24772 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24775 /* end confdefs.h. */
24777 #ifdef HAVE_COMPLEX_H
24778 #include <complex.h>
24784 int (*ptr)() = (int (*)())casinhf;
24793 if ac_fn_c_try_link
"$LINENO"; then :
24794 gcc_cv_math_func_casinhf
=yes
24796 gcc_cv_math_func_casinhf
=no
24798 rm -f core conftest.err conftest.
$ac_objext \
24799 conftest
$ac_exeext conftest.
$ac_ext
24801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
24802 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
24803 if test $gcc_cv_math_func_casinhf = yes; then
24805 cat >>confdefs.h
<<_ACEOF
24806 #define HAVE_CASINHF 1
24814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
24815 $as_echo_n "checking for casinhl... " >&6; }
24816 if test "${gcc_cv_math_func_casinhl+set}" = set; then :
24817 $as_echo_n "(cached) " >&6
24819 if test x
$gcc_no_link = xyes
; then
24820 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24823 /* end confdefs.h. */
24825 #ifdef HAVE_COMPLEX_H
24826 #include <complex.h>
24832 int (*ptr)() = (int (*)())casinhl;
24841 if ac_fn_c_try_link
"$LINENO"; then :
24842 gcc_cv_math_func_casinhl
=yes
24844 gcc_cv_math_func_casinhl
=no
24846 rm -f core conftest.err conftest.
$ac_objext \
24847 conftest
$ac_exeext conftest.
$ac_ext
24849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
24850 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
24851 if test $gcc_cv_math_func_casinhl = yes; then
24853 cat >>confdefs.h
<<_ACEOF
24854 #define HAVE_CASINHL 1
24862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
24863 $as_echo_n "checking for casinl... " >&6; }
24864 if test "${gcc_cv_math_func_casinl+set}" = set; then :
24865 $as_echo_n "(cached) " >&6
24867 if test x
$gcc_no_link = xyes
; then
24868 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24871 /* end confdefs.h. */
24873 #ifdef HAVE_COMPLEX_H
24874 #include <complex.h>
24880 int (*ptr)() = (int (*)())casinl;
24889 if ac_fn_c_try_link
"$LINENO"; then :
24890 gcc_cv_math_func_casinl
=yes
24892 gcc_cv_math_func_casinl
=no
24894 rm -f core conftest.err conftest.
$ac_objext \
24895 conftest
$ac_exeext conftest.
$ac_ext
24897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
24898 $as_echo "$gcc_cv_math_func_casinl" >&6; }
24899 if test $gcc_cv_math_func_casinl = yes; then
24901 cat >>confdefs.h
<<_ACEOF
24902 #define HAVE_CASINL 1
24910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
24911 $as_echo_n "checking for catan... " >&6; }
24912 if test "${gcc_cv_math_func_catan+set}" = set; then :
24913 $as_echo_n "(cached) " >&6
24915 if test x
$gcc_no_link = xyes
; then
24916 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24919 /* end confdefs.h. */
24921 #ifdef HAVE_COMPLEX_H
24922 #include <complex.h>
24928 int (*ptr)() = (int (*)())catan;
24937 if ac_fn_c_try_link
"$LINENO"; then :
24938 gcc_cv_math_func_catan
=yes
24940 gcc_cv_math_func_catan
=no
24942 rm -f core conftest.err conftest.
$ac_objext \
24943 conftest
$ac_exeext conftest.
$ac_ext
24945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
24946 $as_echo "$gcc_cv_math_func_catan" >&6; }
24947 if test $gcc_cv_math_func_catan = yes; then
24949 cat >>confdefs.h
<<_ACEOF
24950 #define HAVE_CATAN 1
24958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
24959 $as_echo_n "checking for catanf... " >&6; }
24960 if test "${gcc_cv_math_func_catanf+set}" = set; then :
24961 $as_echo_n "(cached) " >&6
24963 if test x
$gcc_no_link = xyes
; then
24964 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24967 /* end confdefs.h. */
24969 #ifdef HAVE_COMPLEX_H
24970 #include <complex.h>
24976 int (*ptr)() = (int (*)())catanf;
24985 if ac_fn_c_try_link
"$LINENO"; then :
24986 gcc_cv_math_func_catanf
=yes
24988 gcc_cv_math_func_catanf
=no
24990 rm -f core conftest.err conftest.
$ac_objext \
24991 conftest
$ac_exeext conftest.
$ac_ext
24993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
24994 $as_echo "$gcc_cv_math_func_catanf" >&6; }
24995 if test $gcc_cv_math_func_catanf = yes; then
24997 cat >>confdefs.h
<<_ACEOF
24998 #define HAVE_CATANF 1
25006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25007 $as_echo_n "checking for catanh... " >&6; }
25008 if test "${gcc_cv_math_func_catanh+set}" = set; then :
25009 $as_echo_n "(cached) " >&6
25011 if test x
$gcc_no_link = xyes
; then
25012 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25015 /* end confdefs.h. */
25017 #ifdef HAVE_COMPLEX_H
25018 #include <complex.h>
25024 int (*ptr)() = (int (*)())catanh;
25033 if ac_fn_c_try_link
"$LINENO"; then :
25034 gcc_cv_math_func_catanh
=yes
25036 gcc_cv_math_func_catanh
=no
25038 rm -f core conftest.err conftest.
$ac_objext \
25039 conftest
$ac_exeext conftest.
$ac_ext
25041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25042 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25043 if test $gcc_cv_math_func_catanh = yes; then
25045 cat >>confdefs.h
<<_ACEOF
25046 #define HAVE_CATANH 1
25054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25055 $as_echo_n "checking for catanhf... " >&6; }
25056 if test "${gcc_cv_math_func_catanhf+set}" = set; then :
25057 $as_echo_n "(cached) " >&6
25059 if test x
$gcc_no_link = xyes
; then
25060 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25063 /* end confdefs.h. */
25065 #ifdef HAVE_COMPLEX_H
25066 #include <complex.h>
25072 int (*ptr)() = (int (*)())catanhf;
25081 if ac_fn_c_try_link
"$LINENO"; then :
25082 gcc_cv_math_func_catanhf
=yes
25084 gcc_cv_math_func_catanhf
=no
25086 rm -f core conftest.err conftest.
$ac_objext \
25087 conftest
$ac_exeext conftest.
$ac_ext
25089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25090 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25091 if test $gcc_cv_math_func_catanhf = yes; then
25093 cat >>confdefs.h
<<_ACEOF
25094 #define HAVE_CATANHF 1
25102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25103 $as_echo_n "checking for catanhl... " >&6; }
25104 if test "${gcc_cv_math_func_catanhl+set}" = set; then :
25105 $as_echo_n "(cached) " >&6
25107 if test x
$gcc_no_link = xyes
; then
25108 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25111 /* end confdefs.h. */
25113 #ifdef HAVE_COMPLEX_H
25114 #include <complex.h>
25120 int (*ptr)() = (int (*)())catanhl;
25129 if ac_fn_c_try_link
"$LINENO"; then :
25130 gcc_cv_math_func_catanhl
=yes
25132 gcc_cv_math_func_catanhl
=no
25134 rm -f core conftest.err conftest.
$ac_objext \
25135 conftest
$ac_exeext conftest.
$ac_ext
25137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25138 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25139 if test $gcc_cv_math_func_catanhl = yes; then
25141 cat >>confdefs.h
<<_ACEOF
25142 #define HAVE_CATANHL 1
25150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25151 $as_echo_n "checking for catanl... " >&6; }
25152 if test "${gcc_cv_math_func_catanl+set}" = set; then :
25153 $as_echo_n "(cached) " >&6
25155 if test x
$gcc_no_link = xyes
; then
25156 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25159 /* end confdefs.h. */
25161 #ifdef HAVE_COMPLEX_H
25162 #include <complex.h>
25168 int (*ptr)() = (int (*)())catanl;
25177 if ac_fn_c_try_link
"$LINENO"; then :
25178 gcc_cv_math_func_catanl
=yes
25180 gcc_cv_math_func_catanl
=no
25182 rm -f core conftest.err conftest.
$ac_objext \
25183 conftest
$ac_exeext conftest.
$ac_ext
25185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25186 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25187 if test $gcc_cv_math_func_catanl = yes; then
25189 cat >>confdefs.h
<<_ACEOF
25190 #define HAVE_CATANL 1
25196 # On AIX, clog is present in libm as __clog
25197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25198 $as_echo_n "checking for __clog in -lm... " >&6; }
25199 if test "${ac_cv_lib_m___clog+set}" = set; then :
25200 $as_echo_n "(cached) " >&6
25202 ac_check_lib_save_LIBS
=$LIBS
25204 if test x
$gcc_no_link = xyes
; then
25205 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25208 /* end confdefs.h. */
25210 /* Override any GCC internal prototype to avoid an error.
25211 Use char because int might match the return type of a GCC
25212 builtin and then its argument prototype would still apply. */
25225 if ac_fn_c_try_link
"$LINENO"; then :
25226 ac_cv_lib_m___clog
=yes
25228 ac_cv_lib_m___clog
=no
25230 rm -f core conftest.err conftest.
$ac_objext \
25231 conftest
$ac_exeext conftest.
$ac_ext
25232 LIBS
=$ac_check_lib_save_LIBS
25234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25235 $as_echo "$ac_cv_lib_m___clog" >&6; }
25236 if test "x$ac_cv_lib_m___clog" = x
""yes; then :
25238 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25243 # Check whether the system has a working stat()
25245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25246 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25247 if test "${libgfor_cv_have_working_stat+set}" = set; then :
25248 $as_echo_n "(cached) " >&6
25251 if test "$cross_compiling" = yes; then :
25253 case "${target}" in
25254 *mingw
*) libgfor_cv_have_working_stat
=no
;;
25255 *) libgfor_cv_have_working_stat
=yes;;
25258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25259 /* end confdefs.h. */
25262 #include <sys/types.h>
25263 #include <sys/stat.h>
25264 #include <unistd.h>
25269 struct stat st1, st2;
25271 f = fopen ("foo", "w");
25272 g = fopen ("bar", "w");
25273 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25275 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25282 if ac_fn_c_try_run
"$LINENO"; then :
25283 libgfor_cv_have_working_stat
=yes
25285 libgfor_cv_have_working_stat
=no
25287 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
25288 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
25292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25293 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25294 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
25296 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25300 # Check whether __mingw_snprintf() is present
25302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25303 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25304 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
25305 $as_echo_n "(cached) " >&6
25308 if test x
$gcc_no_link = xyes
; then
25309 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25312 /* end confdefs.h. */
25315 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25321 __mingw_snprintf (NULL, 0, "%d\n", 1);
25327 if ac_fn_c_try_link
"$LINENO"; then :
25328 eval "libgfor_cv_have_mingw_snprintf=yes"
25330 eval "libgfor_cv_have_mingw_snprintf=no"
25332 rm -f core conftest.err conftest.
$ac_objext \
25333 conftest
$ac_exeext conftest.
$ac_ext
25336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25337 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25338 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
25340 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25345 # Check whether libquadmath should be used
25346 # Check whether --enable-libquadmath-support was given.
25347 if test "${enable_libquadmath_support+set}" = set; then :
25348 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
25350 ENABLE_LIBQUADMATH_SUPPORT
=yes
25353 enable_libquadmath_support
=
25354 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25355 enable_libquadmath_support
=no
25358 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25362 if test "x$enable_libquadmath_support" != xno
; then
25364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25365 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25366 if test "${libgfor_cv_have_float128+set}" = set; then :
25367 $as_echo_n "(cached) " >&6
25370 if test x
$gcc_no_link = xyes
; then
25371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25372 /* end confdefs.h. */
25374 typedef _Complex float __attribute__((mode(TC))) __complex128;
25376 __float128 foo (__float128 x)
25379 __complex128 z1, z2;
25385 return (__float128) z2;
25388 __float128 bar (__float128 x)
25390 return x * __builtin_huge_valq ();
25404 if ac_fn_c_try_compile
"$LINENO"; then :
25406 libgfor_cv_have_float128
=yes
25410 libgfor_cv_have_float128
=no
25413 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25415 if test x
$gcc_no_link = xyes
; then
25416 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25419 /* end confdefs.h. */
25421 typedef _Complex float __attribute__((mode(TC))) __complex128;
25423 __float128 foo (__float128 x)
25426 __complex128 z1, z2;
25432 return (__float128) z2;
25435 __float128 bar (__float128 x)
25437 return x * __builtin_huge_valq ();
25451 if ac_fn_c_try_link
"$LINENO"; then :
25453 libgfor_cv_have_float128
=yes
25457 libgfor_cv_have_float128
=no
25460 rm -f core conftest.err conftest.
$ac_objext \
25461 conftest
$ac_exeext conftest.
$ac_ext
25464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25465 $as_echo "$libgfor_cv_have_float128" >&6; }
25467 if test "x$libgfor_cv_have_float128" = xyes
; then
25469 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25472 ac_xsave_c_werror_flag
=$ac_c_werror_flag
25473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
25474 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
25475 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25476 $as_echo_n "(cached) " >&6
25479 # Test for native Solaris options first.
25480 # No whitespace after -z to pass it through -Wl.
25481 libgfor_cv_as_needed_option
="-zignore"
25482 libgfor_cv_no_as_needed_option
="-zrecord"
25483 save_LDFLAGS
="$LDFLAGS"
25484 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25485 libgfor_cv_have_as_needed
=no
25487 ac_c_werror_flag
=yes
25488 if test x
$gcc_no_link = xyes
; then
25489 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25492 /* end confdefs.h. */
25502 if ac_fn_c_try_link
"$LINENO"; then :
25503 libgfor_cv_have_as_needed
=yes
25505 libgfor_cv_have_as_needed
=no
25507 rm -f core conftest.err conftest.
$ac_objext \
25508 conftest
$ac_exeext conftest.
$ac_ext
25509 LDFLAGS
="$save_LDFLAGS"
25510 if test "x$libgfor_cv_have_as_needed" = xno
; then
25511 libgfor_cv_as_needed_option
="--as-needed"
25512 libgfor_cv_no_as_needed_option
="--no-as-needed"
25513 save_LDFLAGS
="$LDFLAGS"
25514 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25515 libgfor_cv_have_as_needed
=no
25517 ac_c_werror_flag
=yes
25518 if test x
$gcc_no_link = xyes
; then
25519 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25522 /* end confdefs.h. */
25532 if ac_fn_c_try_link
"$LINENO"; then :
25533 libgfor_cv_have_as_needed
=yes
25535 libgfor_cv_have_as_needed
=no
25537 rm -f core conftest.err conftest.
$ac_objext \
25538 conftest
$ac_exeext conftest.
$ac_ext
25539 LDFLAGS
="$save_LDFLAGS"
25541 ac_c_werror_flag
=$ac_xsave_c_werror_flag
25544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25545 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25547 if test "x$libgfor_cv_have_as_needed" = xyes
; then
25548 LIBQUADSPEC
="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
25550 LIBQUADSPEC
="-lquadmath"
25552 if test -f ..
/libquadmath
/libquadmath.la
; then
25553 LIBQUADLIB
=..
/libquadmath
/libquadmath.la
25554 LIBQUADLIB_DEP
=..
/libquadmath
/libquadmath.la
25555 LIBQUADINCLUDE
='-I$(srcdir)/../libquadmath'
25557 LIBQUADLIB
="-lquadmath"
25563 # for --disable-quadmath
25574 if test "x$libgfor_cv_have_float128" = xyes
; then
25575 LIBGFOR_BUILD_QUAD_TRUE
=
25576 LIBGFOR_BUILD_QUAD_FALSE
='#'
25578 LIBGFOR_BUILD_QUAD_TRUE
='#'
25579 LIBGFOR_BUILD_QUAD_FALSE
=
25584 # Check for GNU libc feenableexcept
25585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25586 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25587 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25588 $as_echo_n "(cached) " >&6
25590 ac_check_lib_save_LIBS
=$LIBS
25592 if test x
$gcc_no_link = xyes
; then
25593 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25596 /* end confdefs.h. */
25598 /* Override any GCC internal prototype to avoid an error.
25599 Use char because int might match the return type of a GCC
25600 builtin and then its argument prototype would still apply. */
25604 char feenableexcept ();
25608 return feenableexcept ();
25613 if ac_fn_c_try_link
"$LINENO"; then :
25614 ac_cv_lib_m_feenableexcept
=yes
25616 ac_cv_lib_m_feenableexcept
=no
25618 rm -f core conftest.err conftest.
$ac_objext \
25619 conftest
$ac_exeext conftest.
$ac_ext
25620 LIBS
=$ac_check_lib_save_LIBS
25622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25623 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25624 if test "x$ac_cv_lib_m_feenableexcept" = x
""yes; then :
25625 have_feenableexcept
=yes
25626 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25631 # At least for glibc, clock_gettime is in librt. But don't
25632 # pull that in if it still doesn't give us the function we want. This
25633 # test is copied from libgomp, and modified to not link in -lrt as
25634 # libgfortran calls clock_gettime via a weak reference if it's found
25636 if test "$ac_cv_func_clock_gettime" = no
; then
25637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25638 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25639 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25640 $as_echo_n "(cached) " >&6
25642 ac_check_lib_save_LIBS
=$LIBS
25644 if test x
$gcc_no_link = xyes
; then
25645 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25648 /* end confdefs.h. */
25650 /* Override any GCC internal prototype to avoid an error.
25651 Use char because int might match the return type of a GCC
25652 builtin and then its argument prototype would still apply. */
25656 char clock_gettime ();
25660 return clock_gettime ();
25665 if ac_fn_c_try_link
"$LINENO"; then :
25666 ac_cv_lib_rt_clock_gettime
=yes
25668 ac_cv_lib_rt_clock_gettime
=no
25670 rm -f core conftest.err conftest.
$ac_objext \
25671 conftest
$ac_exeext conftest.
$ac_ext
25672 LIBS
=$ac_check_lib_save_LIBS
25674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25675 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25676 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
25678 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
25684 # Check for SysV fpsetmask
25686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
25687 $as_echo_n "checking whether fpsetmask is present... " >&6; }
25688 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
25689 $as_echo_n "(cached) " >&6
25692 if test x
$gcc_no_link = xyes
; then
25693 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25696 /* end confdefs.h. */
25698 #if HAVE_FLOATINGPOINT_H
25699 # include <floatingpoint.h>
25700 #endif /* HAVE_FLOATINGPOINT_H */
25702 # include <ieeefp.h>
25703 #endif /* HAVE_IEEEFP_H */
25712 if ac_fn_c_try_link
"$LINENO"; then :
25713 eval "libgfor_cv_have_fpsetmask=yes"
25715 eval "libgfor_cv_have_fpsetmask=no"
25717 rm -f core conftest.err conftest.
$ac_objext \
25718 conftest
$ac_exeext conftest.
$ac_ext
25721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
25722 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
25723 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
25726 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
25730 ac_fn_c_check_type
"$LINENO" "fp_except" "ac_cv_type_fp_except" "
25731 #ifdef HAVE_IEEEFP_H
25732 #include <ieeefp.h>
25737 if test "x$ac_cv_type_fp_except" = x
""yes; then :
25739 cat >>confdefs.h
<<_ACEOF
25740 #define HAVE_FP_EXCEPT 1
25745 ac_fn_c_check_type
"$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
25746 #ifdef HAVE_IEEEFP_H
25747 #include <ieeefp.h>
25752 if test "x$ac_cv_type_fp_except_t" = x
""yes; then :
25754 cat >>confdefs.h
<<_ACEOF
25755 #define HAVE_FP_EXCEPT_T 1
25761 ac_fn_c_check_type
"$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
25762 #ifdef HAVE_IEEEFP_H
25763 #include <ieeefp.h>
25768 if test "x$ac_cv_type_fp_rnd" = x
""yes; then :
25770 cat >>confdefs.h
<<_ACEOF
25771 #define HAVE_FP_RND 1
25776 ac_fn_c_check_type
"$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
25777 #ifdef HAVE_IEEEFP_H
25778 #include <ieeefp.h>
25783 if test "x$ac_cv_type_fp_rnd_t" = x
""yes; then :
25785 cat >>confdefs.h
<<_ACEOF
25786 #define HAVE_FP_RND_T 1
25793 # Check whether we have fpsetsticky or fpresetsticky
25794 ac_fn_c_check_func
"$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
25795 if test "x$ac_cv_func_fpsetsticky" = x
""yes; then :
25796 have_fpsetsticky
=yes
25797 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
25801 ac_fn_c_check_func
"$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
25802 if test "x$ac_cv_func_fpresetsticky" = x
""yes; then :
25803 have_fpresetsticky
=yes
25804 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
25809 # Check for AIX fp_trap and fp_enable
25810 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
25811 if test "x$ac_cv_func_fp_trap" = x
""yes; then :
25813 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
25817 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
25818 if test "x$ac_cv_func_fp_enable" = x
""yes; then :
25820 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
25825 # Check if _SOFT_FLOAT is defined
25827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5
25828 $as_echo_n "checking for _SOFT_FLOAT defined... " >&6; }
25829 if test "${ac_cv_defined__SOFT_FLOAT+set}" = set; then :
25830 $as_echo_n "(cached) " >&6
25832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25833 /* end confdefs.h. */
25849 if ac_fn_c_try_compile
"$LINENO"; then :
25850 ac_cv_defined__SOFT_FLOAT
=yes
25852 ac_cv_defined__SOFT_FLOAT
=no
25854 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5
25857 $as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; }
25858 if test $ac_cv_defined__SOFT_FLOAT != "no"; then :
25859 have_soft_float
=yes
25862 # Runs configure.host to set up necessary host-dependent shell variables.
25863 # We then display a message about it, and propagate them through the
25865 .
${srcdir}/configure.
host
25866 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
25867 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
25868 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
25869 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
25870 FPU_HOST_HEADER
=config
/${fpu_host}.h
25873 # Whether we will build the IEEE modules
25874 if test x
${ieee_support} = xyes
; then
25876 IEEE_SUPPORT_FALSE
='#'
25878 IEEE_SUPPORT_TRUE
='#'
25879 IEEE_SUPPORT_FALSE
=
25884 # Some targets require additional compiler options for IEEE compatibility.
25885 IEEE_FLAGS
="${ieee_flags}"
25889 # Check for POSIX getpwuid_r
25891 # There are two versions of getpwuid_r, the POSIX one with 5
25892 # arguments, and another one with 4 arguments used by at least HP-UX
25894 if test "$ac_cv_func_getpwuid_r" = "yes"; then
25895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
25896 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
25897 if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
25898 $as_echo_n "(cached) " >&6
25901 if test x
$gcc_no_link = xyes
; then
25902 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25905 /* end confdefs.h. */
25908 #include <sys/types.h>
25914 getpwuid_r(0, NULL, NULL, 0, NULL);
25920 if ac_fn_c_try_link
"$LINENO"; then :
25921 libgfor_cv_posix_getpwuid_r
="yes"
25923 libgfor_cv_posix_getpwuid_r
="no"
25925 rm -f core conftest.err conftest.
$ac_objext \
25926 conftest
$ac_exeext conftest.
$ac_ext
25928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
25929 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
25931 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
25933 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
25938 # Check out attribute support.
25940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
25941 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
25942 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
25943 $as_echo_n "(cached) " >&6
25946 save_CFLAGS
="$CFLAGS"
25947 CFLAGS
="$CFLAGS -Werror"
25948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25949 /* end confdefs.h. */
25950 void __attribute__((visibility("hidden"))) foo(void) { }
25959 if ac_fn_c_try_compile
"$LINENO"; then :
25960 libgfor_cv_have_attribute_visibility
=yes
25962 libgfor_cv_have_attribute_visibility
=no
25964 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25965 CFLAGS
="$save_CFLAGS"
25967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
25968 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
25969 if test $libgfor_cv_have_attribute_visibility = yes; then
25971 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
25975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
25976 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
25977 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
25978 $as_echo_n "(cached) " >&6
25981 if test x
$gcc_no_link = xyes
; then
25982 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25985 /* end confdefs.h. */
25988 extern void bar(void) __attribute__((alias("foo")));
25997 if ac_fn_c_try_link
"$LINENO"; then :
25998 libgfor_cv_have_attribute_alias
=yes
26000 libgfor_cv_have_attribute_alias
=no
26002 rm -f core conftest.err conftest.
$ac_objext \
26003 conftest
$ac_exeext conftest.
$ac_ext
26005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26006 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26007 if test $libgfor_cv_have_attribute_alias = yes; then
26009 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26013 # Check out sync builtins support.
26015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
26016 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
26017 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
26018 $as_echo_n "(cached) " >&6
26021 if test x
$gcc_no_link = xyes
; then
26022 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26025 /* end confdefs.h. */
26031 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
26032 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
26037 if ac_fn_c_try_link
"$LINENO"; then :
26038 libgfor_cv_have_sync_fetch_and_add
=yes
26040 libgfor_cv_have_sync_fetch_and_add
=no
26042 rm -f core conftest.err conftest.
$ac_objext \
26043 conftest
$ac_exeext conftest.
$ac_ext
26045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
26046 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
26047 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
26049 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
26053 # Check out #pragma weak.
26055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26056 $as_echo_n "checking whether pragma weak works... " >&6; }
26057 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
26058 $as_echo_n "(cached) " >&6
26061 gfor_save_CFLAGS
="$CFLAGS"
26062 CFLAGS
="$CFLAGS -Wunknown-pragmas"
26063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26064 /* end confdefs.h. */
26077 if ac_fn_c_try_compile
"$LINENO"; then :
26078 libgfor_cv_have_pragma_weak
=yes
26080 libgfor_cv_have_pragma_weak
=no
26082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26085 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26086 if test $libgfor_cv_have_pragma_weak = yes; then
26088 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26092 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* |
*-*-musl* )
26094 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26099 # Check out weakref support.
26101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
26102 $as_echo_n "checking whether the target supports weakref... " >&6; }
26103 if test "${libgfor_cv_have_weakref+set}" = set; then :
26104 $as_echo_n "(cached) " >&6
26107 save_CFLAGS
="$CFLAGS"
26108 CFLAGS
="$CFLAGS -Wunknown-pragmas -Werror"
26109 if test x
$gcc_no_link = xyes
; then
26110 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26113 /* end confdefs.h. */
26115 static int mytoto (int) __attribute__((__weakref__("toto")));
26120 return (mytoto != 0);
26125 if ac_fn_c_try_link
"$LINENO"; then :
26126 libgfor_cv_have_weakref
=yes
26128 libgfor_cv_have_weakref
=no
26130 rm -f core conftest.err conftest.
$ac_objext \
26131 conftest
$ac_exeext conftest.
$ac_ext
26132 CFLAGS
="$save_CFLAGS"
26134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
26135 $as_echo "$libgfor_cv_have_weakref" >&6; }
26136 if test $libgfor_cv_have_weakref = yes; then
26138 $as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
26142 # Various other checks on target
26144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26145 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26146 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
26147 $as_echo_n "(cached) " >&6
26150 if test "$cross_compiling" = yes; then :
26152 case "${target}" in
26153 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
26154 *) libgfor_cv_have_unlink_open_file
=yes;;
26157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26158 /* end confdefs.h. */
26162 #include <unistd.h>
26163 #include <sys/stat.h>
26169 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26172 if (unlink ("testfile") == -1)
26174 write (fd, "This is a test\n", 15);
26177 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26183 if ac_fn_c_try_run
"$LINENO"; then :
26184 libgfor_cv_have_unlink_open_file
=yes
26186 libgfor_cv_have_unlink_open_file
=no
26188 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26189 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26194 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26195 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
26197 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26201 # Check whether line terminator is LF or CRLF
26203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26204 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26205 if test "${libgfor_cv_have_crlf+set}" = set; then :
26206 $as_echo_n "(cached) " >&6
26209 if test "$cross_compiling" = yes; then :
26211 case "${target}" in
26212 *mingw
*) libgfor_cv_have_crlf
=yes ;;
26213 *) libgfor_cv_have_crlf
=no
;;
26216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26217 /* end confdefs.h. */
26219 /* This test program should exit with status 0 if system uses a CRLF as
26220 line terminator, and status 1 otherwise.
26221 Since it is used to check for mingw systems, and should return 0 in any
26222 other case, in case of a failure we will not use CRLF. */
26223 #include <sys/stat.h>
26224 #include <stdlib.h>
26236 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26239 if (write (fd, "\n", 1) < 0)
26244 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26246 bytes = read (fd, buff, 5);
26247 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26254 if ac_fn_c_try_run
"$LINENO"; then :
26255 libgfor_cv_have_crlf
=yes
26257 libgfor_cv_have_crlf
=no
26259 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26260 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26265 $as_echo "$libgfor_cv_have_crlf" >&6; }
26266 if test x
"$libgfor_cv_have_crlf" = xyes
; then
26268 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26272 # Check whether we support AVX extensions
26274 ac_save_CFLAGS
="$CFLAGS"
26276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26277 /* end confdefs.h. */
26279 void _mm256_zeroall (void)
26281 __builtin_ia32_vzeroall ();
26291 if ac_fn_c_try_compile
"$LINENO"; then :
26293 $as_echo "#define HAVE_AVX 1" >>confdefs.h
26296 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26297 CFLAGS
="$ac_save_CFLAGS"
26300 # Check wether we support AVX2 extensions
26302 ac_save_CFLAGS
="$CFLAGS"
26303 CFLAGS
="-O2 -mavx2"
26304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26305 /* end confdefs.h. */
26307 typedef long long __v4di __attribute__ ((__vector_size__ (32)));
26309 mm256_is32_andnotsi256 (__v4di __X, __v4di __Y)
26311 return __builtin_ia32_andnotsi256 (__X, __Y);
26321 if ac_fn_c_try_compile
"$LINENO"; then :
26323 $as_echo "#define HAVE_AVX2 1" >>confdefs.h
26326 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26327 CFLAGS
="$ac_save_CFLAGS"
26330 # Check wether we support AVX512f extensions
26332 ac_save_CFLAGS
="$CFLAGS"
26333 CFLAGS
="-O2 -mavx512f"
26334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26335 /* end confdefs.h. */
26337 typedef double __m512d __attribute__ ((__vector_size__ (64)));
26338 __m512d _mm512_add (__m512d a)
26340 __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
26341 /* For -m64/-mx32 also verify that code will work even if
26342 the target uses call saved zmm16+ and needs to emit
26343 unwind info for them (e.g. on mingw). See PR79127. */
26345 asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19");
26357 if ac_fn_c_try_compile
"$LINENO"; then :
26359 $as_echo "#define HAVE_AVX512F 1" >>confdefs.h
26362 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26363 CFLAGS
="$ac_save_CFLAGS"
26366 # Determine what GCC version number to use in filesystem paths.
26368 get_gcc_base_ver
="cat"
26370 # Check whether --with-gcc-major-version-only was given.
26371 if test "${with_gcc_major_version_only+set}" = set; then :
26372 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
26373 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*\$\$/\1/'"
26381 cat >confcache
<<\_ACEOF
26382 # This file is a shell script that caches the results of configure
26383 # tests run on this system so they can be shared between configure
26384 # scripts and configure runs, see configure's option --config-cache.
26385 # It is not useful on other systems. If it contains results you don't
26386 # want to keep, you may remove or edit it.
26388 # config.status only pays attention to the cache file if you give it
26389 # the --recheck option to rerun configure.
26391 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26392 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26393 # following values.
26397 # The following way of writing the cache mishandles newlines in values,
26398 # but we know of no workaround that is simple, portable, and efficient.
26399 # So, we kill variables containing newlines.
26400 # Ultrix sh set writes to stderr and can't be redirected directly,
26401 # and sets the high bit in the cache file unless we assign to the vars.
26403 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26404 eval ac_val
=\$
$ac_var
26408 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26409 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26412 _ | IFS | as_nl
) ;; #(
26413 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26414 *) { eval $ac_var=; unset $ac_var;} ;;
26420 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26421 *${as_nl}ac_space
=\
*)
26422 # `set' does not quote correctly, so add quotes: double-quote
26423 # substitution turns \\\\ into \\, and sed turns \\ into \.
26426 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26429 # `set' quotes correctly as required by POSIX, so do not add quotes.
26430 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26439 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26441 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26443 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26444 if test -w "$cache_file"; then
26445 test "x$cache_file" != "x/dev/null" &&
26446 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26447 $as_echo "$as_me: updating cache $cache_file" >&6;}
26448 cat confcache
>$cache_file
26450 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26451 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26456 if test ${multilib} = yes; then
26457 multilib_arg
="--enable-multilib"
26462 # Write our Makefile and spec file.
26463 ac_config_files
="$ac_config_files Makefile libgfortran.spec"
26465 cat >confcache
<<\_ACEOF
26466 # This file is a shell script that caches the results of configure
26467 # tests run on this system so they can be shared between configure
26468 # scripts and configure runs, see configure's option --config-cache.
26469 # It is not useful on other systems. If it contains results you don't
26470 # want to keep, you may remove or edit it.
26472 # config.status only pays attention to the cache file if you give it
26473 # the --recheck option to rerun configure.
26475 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26476 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26477 # following values.
26481 # The following way of writing the cache mishandles newlines in values,
26482 # but we know of no workaround that is simple, portable, and efficient.
26483 # So, we kill variables containing newlines.
26484 # Ultrix sh set writes to stderr and can't be redirected directly,
26485 # and sets the high bit in the cache file unless we assign to the vars.
26487 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26488 eval ac_val
=\$
$ac_var
26492 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26493 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26496 _ | IFS | as_nl
) ;; #(
26497 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26498 *) { eval $ac_var=; unset $ac_var;} ;;
26504 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26505 *${as_nl}ac_space
=\
*)
26506 # `set' does not quote correctly, so add quotes: double-quote
26507 # substitution turns \\\\ into \\, and sed turns \\ into \.
26510 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26513 # `set' quotes correctly as required by POSIX, so do not add quotes.
26514 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26523 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26525 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26527 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26528 if test -w "$cache_file"; then
26529 test "x$cache_file" != "x/dev/null" &&
26530 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26531 $as_echo "$as_me: updating cache $cache_file" >&6;}
26532 cat confcache
>$cache_file
26534 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26535 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26540 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
26541 # Let make expand exec_prefix.
26542 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
26544 DEFS
=-DHAVE_CONFIG_H
26548 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
26549 # 1. Remove the extension, and $U if already installed.
26550 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
26551 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
26552 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26553 # will be set to the directory where LIBOBJS objects are built.
26554 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26555 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
26557 LIBOBJS
=$ac_libobjs
26559 LTLIBOBJS
=$ac_ltlibobjs
26562 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26563 as_fn_error
"conditional \"onestep\" was never defined.
26564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26566 if test -n "$EXEEXT"; then
26568 am__EXEEXT_FALSE
='#'
26570 am__EXEEXT_TRUE
='#'
26574 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26575 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
26576 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26578 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26579 as_fn_error
"conditional \"AMDEP\" was never defined.
26580 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26582 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26583 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26584 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26586 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26587 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26588 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26590 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
26591 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
26592 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26594 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
26595 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
26596 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26598 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
26599 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
26600 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26602 if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
26603 as_fn_error
"conditional \"LIBGFOR_MINIMAL\" was never defined.
26604 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26606 if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
26607 as_fn_error
"conditional \"HAVE_HWCAP\" was never defined.
26608 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26610 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
26611 as_fn_error
"conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
26612 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26614 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
26615 as_fn_error
"conditional \"IEEE_SUPPORT\" was never defined.
26616 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26619 : ${CONFIG_STATUS=./config.status}
26621 ac_clean_files_save
=$ac_clean_files
26622 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
26623 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26624 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26626 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26628 # Generated by $as_me.
26629 # Run this file to recreate the current configuration.
26630 # Compiler output produced by configure, useful for debugging
26631 # configure, is in config.log if it exists.
26634 ac_cs_recheck=false
26637 SHELL=\${CONFIG_SHELL-$SHELL}
26640 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
26641 ## -------------------- ##
26642 ## M4sh Initialization. ##
26643 ## -------------------- ##
26645 # Be more Bourne compatible
26646 DUALCASE
=1; export DUALCASE
# for MKS sh
26647 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
26650 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26651 # is contrary to our usage. Disable this feature.
26652 alias -g '${1+"$@"}'='"$@"'
26653 setopt NO_GLOB_SUBST
26655 case `(set -o) 2>/dev/null` in #(
26667 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26668 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26669 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26670 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26671 # Prefer a ksh shell builtin over an external printf program on Solaris,
26672 # but without wasting forks for bash or zsh.
26673 if test -z "$BASH_VERSION$ZSH_VERSION" \
26674 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26675 as_echo='print
-r --'
26676 as_echo_n='print
-rn --'
26677 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26678 as_echo='printf %s
\n'
26679 as_echo_n='printf %s
'
26681 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26682 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
26683 as_echo_n='/usr
/ucb
/echo -n'
26685 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26686 as_echo_n_body='eval
26690 expr "X$arg" : "X\\(.*\\)$as_nl";
26691 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26693 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
26695 export as_echo_n_body
26696 as_echo_n='sh
-c $as_echo_n_body as_echo
'
26698 export as_echo_body
26699 as_echo='sh
-c $as_echo_body as_echo
'
26702 # The user is always right.
26703 if test "${PATH_SEPARATOR+set}" != set; then
26705 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26706 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26713 # We need space, tab and new line, in precisely that order. Quoting is
26714 # there to prevent editors from complaining about space-tab.
26715 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26716 # splitting by setting IFS to empty value.)
26719 # Find who we are. Look in the path if we contain no directory separator.
26721 *[\\/]* ) as_myself=$0 ;;
26722 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26723 for as_dir in $PATH
26726 test -z "$as_dir" && as_dir=.
26727 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26733 # We did not find ourselves, most probably we were run as `sh COMMAND'
26734 # in which case we are not to be found in the path.
26735 if test "x$as_myself" = x
; then
26738 if test ! -f "$as_myself"; then
26739 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26743 # Unset variables that we do not need and which cause bugs (e.g. in
26744 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26745 # suppresses any "Segmentation fault" message there. '((' could
26746 # trigger a bug in pdksh 5.2.14.
26747 for as_var
in BASH_ENV ENV MAIL MAILPATH
26748 do eval test x\
${$as_var+set} = xset \
26749 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
26762 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
26765 # as_fn_error ERROR [LINENO LOG_FD]
26766 # ---------------------------------
26767 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26768 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26769 # script with status $?, using 1 if that was 0.
26772 as_status
=$?
; test $as_status -eq 0 && as_status
=1
26774 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
26775 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26777 $as_echo "$as_me: error: $1" >&2
26778 as_fn_exit
$as_status
26782 # as_fn_set_status STATUS
26783 # -----------------------
26784 # Set $? to STATUS, without forking.
26785 as_fn_set_status
()
26788 } # as_fn_set_status
26790 # as_fn_exit STATUS
26791 # -----------------
26792 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26796 as_fn_set_status
$1
26802 # Portably unset VAR.
26805 { eval $1=; unset $1;}
26807 as_unset
=as_fn_unset
26808 # as_fn_append VAR VALUE
26809 # ----------------------
26810 # Append the text in VALUE to the end of the definition contained in VAR. Take
26811 # advantage of any shell optimizations that allow amortized linear growth over
26812 # repeated appends, instead of the typical quadratic growth present in naive
26814 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
26815 eval 'as_fn_append ()
26826 # as_fn_arith ARG...
26827 # ------------------
26828 # Perform arithmetic evaluation on the ARGs, and store the result in the
26829 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26830 # must be portable across $(()) and expr.
26831 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
26832 eval 'as_fn_arith ()
26839 as_val
=`expr "$@" || test $? -eq 1`
26844 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
26845 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
26851 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26852 as_basename
=basename
26857 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
26863 as_me
=`$as_basename -- "$0" ||
26864 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26865 X"$0" : 'X\(//\)$' \| \
26866 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26868 sed '/^.*\/\([^/][^/]*\)\/*$/{
26882 # Avoid depending upon Character Ranges.
26883 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
26884 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26885 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
26886 as_cr_digits
='0123456789'
26887 as_cr_alnum
=$as_cr_Letters$as_cr_digits
26889 ECHO_C
= ECHO_N
= ECHO_T
=
26890 case `echo -n x` in #(((((
26892 case `echo 'xy\c'` in
26893 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
26895 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
26902 rm -f conf$$ conf$$.exe conf$$.
file
26903 if test -d conf$$.dir
; then
26904 rm -f conf$$.dir
/conf$$.
file
26907 mkdir conf$$.dir
2>/dev
/null
26909 if (echo >conf$$.
file) 2>/dev
/null
; then
26910 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
26912 # ... but there are two gotchas:
26913 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26914 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26915 # In both cases, we have to default to `cp -p'.
26916 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
26918 elif ln conf$$.
file conf$$
2>/dev
/null
; then
26926 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
26927 rmdir conf$$.dir
2>/dev
/null
26932 # Create "$as_dir" as a directory, including parents if necessary.
26937 -*) as_dir
=.
/$as_dir;;
26939 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
26943 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26944 *) as_qdir
=$as_dir;;
26946 as_dirs
="'$as_qdir' $as_dirs"
26947 as_dir
=`$as_dirname -- "$as_dir" ||
26948 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26949 X"$as_dir" : 'X\(//\)[^/]' \| \
26950 X"$as_dir" : 'X\(//\)$' \| \
26951 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26952 $as_echo X"$as_dir" |
26953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26957 /^X\(\/\/\)[^/].*/{
26970 test -d "$as_dir" && break
26972 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
26973 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
26977 if mkdir
-p .
2>/dev
/null
; then
26978 as_mkdir_p
='mkdir -p "$as_dir"'
26980 test -d .
/-p && rmdir .
/-p
26984 if test -x / >/dev
/null
2>&1; then
26985 as_test_x
='test -x'
26987 if ls -dL / >/dev
/null
2>&1; then
26994 if test -d "$1"; then
27000 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
27001 ???[sx]*):;;*)false;;esac;fi
27005 as_executable_p
=$as_test_x
27007 # Sed expression to map a string onto a valid CPP name.
27008 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27010 # Sed expression to map a string onto a valid variable name.
27011 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27015 ## ----------------------------------- ##
27016 ## Main body of $CONFIG_STATUS script. ##
27017 ## ----------------------------------- ##
27019 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
27021 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27022 # Save the log message, to keep $0 and so on meaningful, and to
27023 # report actual input values of CONFIG_FILES etc. instead of their
27024 # values after options handling.
27026 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27027 generated by GNU Autoconf 2.64. Invocation command line was
27029 CONFIG_FILES = $CONFIG_FILES
27030 CONFIG_HEADERS = $CONFIG_HEADERS
27031 CONFIG_LINKS = $CONFIG_LINKS
27032 CONFIG_COMMANDS = $CONFIG_COMMANDS
27035 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27040 case $ac_config_files in *"
27041 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
27044 case $ac_config_headers in *"
27045 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
27049 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27050 # Files that config.status was made for.
27051 config_files="$ac_config_files"
27052 config_headers="$ac_config_headers"
27053 config_commands="$ac_config_commands"
27057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27059 \`$as_me' instantiates files and other configuration actions
27060 from templates according to the current configuration. Unless the files
27061 and actions are specified as TAGs, all are instantiated by default.
27063 Usage: $0 [OPTION]... [TAG]...
27065 -h, --help print this help, then exit
27066 -V, --version print version number and configuration settings, then exit
27067 -q, --quiet, --silent
27068 do not print progress messages
27069 -d, --debug don't remove temporary files
27070 --recheck update $as_me by reconfiguring in the same conditions
27071 --file=FILE[:TEMPLATE]
27072 instantiate the configuration file FILE
27073 --header=FILE[:TEMPLATE]
27074 instantiate the configuration header FILE
27076 Configuration files:
27079 Configuration headers:
27082 Configuration commands:
27085 Report bugs to the package provider.
27086 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27087 General help using GNU software: <http://www.gnu.org/gethelp/>."
27090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27092 GNU Fortran Runtime Library config.status 0.3
27093 configured by $0, generated by GNU Autoconf 2.64,
27094 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
27096 Copyright (C) 2009 Free Software Foundation, Inc.
27097 This config.status script is free software; the Free Software Foundation
27098 gives unlimited permission to copy, distribute and modify it."
27105 test -n "\$AWK" || AWK=awk
27108 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27109 # The default lists apply if the user does not specify any file.
27115 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
27116 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
27127 # Handling of the options.
27128 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
27130 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
27131 $as_echo "$ac_cs_version"; exit ;;
27132 --debug |
--debu |
--deb |
--de |
--d |
-d )
27134 --file |
--fil |
--fi |
--f )
27137 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27139 as_fn_append CONFIG_FILES
" '$ac_optarg'"
27140 ac_need_defaults
=false
;;
27141 --header |
--heade |
--head |
--hea )
27144 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27146 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
27147 ac_need_defaults
=false
;;
27149 # Conflict between --help and --header
27150 as_fn_error
"ambiguous option: \`$1'
27151 Try \`$0 --help' for more information.";;
27152 --help |
--hel |
-h )
27153 $as_echo "$ac_cs_usage"; exit ;;
27154 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
27155 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
27158 # This is an error.
27159 -*) as_fn_error
"unrecognized option: \`$1'
27160 Try \`$0 --help' for more information." ;;
27162 *) as_fn_append ac_config_targets
" $1"
27163 ac_need_defaults
=false
;;
27169 ac_configure_extra_args
=
27171 if $ac_cs_silent; then
27173 ac_configure_extra_args
="$ac_configure_extra_args --silent"
27177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27178 if \$ac_cs_recheck; then
27179 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27181 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27182 CONFIG_SHELL='$SHELL'
27183 export CONFIG_SHELL
27188 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27192 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27193 ## Running $as_me. ##
27199 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27207 with_multisubdir="$with_multisubdir"
27208 with_multisrctop="$with_multisrctop"
27209 with_target_subdir="$with_target_subdir"
27210 ac_configure_args="${multilib_arg} ${ac_configure_args}"
27211 multi_basedir="$multi_basedir"
27212 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27215 GFORTRAN="$GFORTRAN"
27216 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27219 # The HP-UX ksh and POSIX shell print the target directory to stdout
27220 # if CDPATH is set.
27221 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27223 sed_quote_subst='$sed_quote_subst'
27224 double_quote_subst='$double_quote_subst'
27225 delay_variable_subst='$delay_variable_subst'
27226 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27227 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27228 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27229 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27230 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27231 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27232 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27233 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27234 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27235 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27236 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27237 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27238 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27239 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27240 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27241 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27242 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27243 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27244 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27245 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27246 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27247 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27248 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27249 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27250 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27251 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27252 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27253 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27254 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27255 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27256 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27257 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27258 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27259 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27260 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27261 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27262 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27263 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27264 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27265 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27266 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27267 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27268 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27269 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27270 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27271 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27272 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27273 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27274 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"`'
27275 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27276 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27277 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27278 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27279 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27280 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27281 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27282 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27283 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27284 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27285 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27286 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27287 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27288 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27289 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27290 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27291 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27292 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27293 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27294 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27295 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27296 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27297 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27298 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27299 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27300 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27301 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27302 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27303 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27304 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27305 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27306 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27307 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27308 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27309 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27310 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27311 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27312 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27313 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27314 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27315 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27316 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27317 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27318 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27319 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27320 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27321 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27322 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27323 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27324 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27325 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27326 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27327 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27328 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27329 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27330 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27331 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27332 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27333 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27334 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27335 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27336 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27337 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27338 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27339 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27340 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27341 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27342 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27343 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27344 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27345 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27346 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27347 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27348 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27349 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27350 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27351 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27352 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27353 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27354 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27355 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27356 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27357 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27358 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27359 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27360 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27361 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27362 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27363 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27364 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27365 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27366 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27367 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27368 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27369 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27370 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27371 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27372 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27373 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27374 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27375 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27376 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27377 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27378 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27379 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27380 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27381 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27382 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27383 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27384 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27385 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27386 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27387 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27388 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27389 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27390 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27391 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27392 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27393 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27394 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27395 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27396 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27397 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27398 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27399 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27400 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27403 LTCFLAGS='$LTCFLAGS'
27404 compiler='$compiler_DEFAULT'
27406 # A function that is used when there is no print builtin or printf.
27407 func_fallback_echo ()
27409 eval 'cat <<_LTECHO_EOF
27414 # Quote evaled strings.
27428 deplibs_check_method \
27437 lt_cv_sys_global_symbol_pipe \
27438 lt_cv_sys_global_symbol_to_cdecl \
27439 lt_cv_sys_global_symbol_to_c_name_address \
27440 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27441 lt_prog_compiler_no_builtin_flag \
27442 lt_prog_compiler_wl \
27443 lt_prog_compiler_pic \
27444 lt_prog_compiler_static \
27445 lt_cv_prog_compiler_c_o \
27453 export_dynamic_flag_spec \
27454 whole_archive_flag_spec \
27455 compiler_needs_object \
27457 allow_undefined_flag \
27458 no_undefined_flag \
27459 hardcode_libdir_flag_spec \
27460 hardcode_libdir_flag_spec_ld \
27461 hardcode_libdir_separator \
27466 variables_saved_for_relink \
27468 library_names_spec \
27470 install_override_mode \
27474 compiler_lib_search_dirs \
27479 compiler_lib_search_path \
27483 lt_prog_compiler_no_builtin_flag_FC \
27484 lt_prog_compiler_wl_FC \
27485 lt_prog_compiler_pic_FC \
27486 lt_prog_compiler_static_FC \
27487 lt_cv_prog_compiler_c_o_FC \
27488 export_dynamic_flag_spec_FC \
27489 whole_archive_flag_spec_FC \
27490 compiler_needs_object_FC \
27492 allow_undefined_flag_FC \
27493 no_undefined_flag_FC \
27494 hardcode_libdir_flag_spec_FC \
27495 hardcode_libdir_flag_spec_ld_FC \
27496 hardcode_libdir_separator_FC \
27497 fix_srcfile_path_FC \
27498 exclude_expsyms_FC \
27499 include_expsyms_FC \
27500 file_list_spec_FC \
27501 compiler_lib_search_dirs_FC \
27502 predep_objects_FC \
27503 postdep_objects_FC \
27506 compiler_lib_search_path_FC; do
27507 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27508 *[\\\\\\\`\\"\\\$]*)
27509 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27512 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27517 # Double-quote double-evaled strings.
27518 for var in reload_cmds \
27519 old_postinstall_cmds \
27520 old_postuninstall_cmds \
27522 extract_expsyms_cmds \
27523 old_archive_from_new_cmds \
27524 old_archive_from_expsyms_cmds \
27526 archive_expsym_cmds \
27528 module_expsym_cmds \
27529 export_symbols_cmds \
27532 postuninstall_cmds \
27534 sys_lib_search_path_spec \
27535 sys_lib_dlsearch_path_spec \
27537 old_archive_cmds_FC \
27538 old_archive_from_new_cmds_FC \
27539 old_archive_from_expsyms_cmds_FC \
27541 archive_expsym_cmds_FC \
27543 module_expsym_cmds_FC \
27544 export_symbols_cmds_FC \
27545 prelink_cmds_FC; do
27546 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27547 *[\\\\\\\`\\"\\\$]*)
27548 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27551 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27556 ac_aux_dir='$ac_aux_dir'
27557 xsi_shell='$xsi_shell'
27558 lt_shell_append='$lt_shell_append'
27560 # See if we are running on zsh, and set the options which allow our
27561 # commands through without removal of \ escapes INIT.
27562 if test -n "\${ZSH_VERSION+set}" ; then
27563 setopt NO_GLOB_SUBST
27569 TIMESTAMP='$TIMESTAMP'
27580 acx_cv_header_stdint="$acx_cv_header_stdint"
27581 acx_cv_type_int8_t="$acx_cv_type_int8_t"
27582 acx_cv_type_int16_t="$acx_cv_type_int16_t"
27583 acx_cv_type_int32_t="$acx_cv_type_int32_t"
27584 acx_cv_type_int64_t="$acx_cv_type_int64_t"
27585 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
27586 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
27587 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
27588 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27589 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27590 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
27591 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27592 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27593 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
27598 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27600 # Handling of arguments.
27601 for ac_config_target
in $ac_config_targets
27603 case $ac_config_target in
27604 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
27605 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
27606 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
27607 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
27608 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
27609 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
27610 "libgfortran.spec") CONFIG_FILES
="$CONFIG_FILES libgfortran.spec" ;;
27612 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27617 # If the user did not use the arguments to specify the items to instantiate,
27618 # then the envvar interface is used. Set only those that are not.
27619 # We use the long form for the default assignment because of an extremely
27620 # bizarre bug on SunOS 4.1.3.
27621 if $ac_need_defaults; then
27622 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
27623 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
27624 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
27627 # Have a temporary directory for convenience. Make it in the build tree
27628 # simply because there is no reason against having it here, and in addition,
27629 # creating and moving files from /tmp can sometimes cause problems.
27630 # Hook for its removal unless debugging.
27631 # Note that there is a small window in which the directory will not be cleaned:
27632 # after its creation but before its name has been assigned to `$tmp'.
27636 trap 'exit_status=$?
27637 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27639 trap 'as_fn_exit 1' 1 2 13 15
27641 # Create a (secure) tmp directory for tmp files.
27644 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27645 test -n "$tmp" && test -d "$tmp"
27648 tmp
=.
/conf$$
-$RANDOM
27649 (umask 077 && mkdir
"$tmp")
27650 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
27652 # Set up the scripts for CONFIG_FILES section.
27653 # No need to generate them if there are no CONFIG_FILES.
27654 # This happens for instance with `./config.status config.h'.
27655 if test -n "$CONFIG_FILES"; then
27658 ac_cr
=`echo X | tr X '\015'`
27659 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27660 # But we know of no other shell where ac_cr would be empty at this
27661 # point, so we can use a bashism as a fallback.
27662 if test "x$ac_cr" = x
; then
27663 eval ac_cr
=\$
\'\\r
\'
27665 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27666 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27669 ac_cs_awk_cr
=$ac_cr
27672 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27677 echo "cat >conf$$subs.awk <<_ACEOF" &&
27678 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27680 } >conf$$subs.sh ||
27681 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27682 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27684 for ac_last_try in false false false false false :; do
27685 . ./conf$$subs.sh ||
27686 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27688 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
27689 if test $ac_delim_n = $ac_delim_num; then
27691 elif $ac_last_try; then
27692 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27694 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27697 rm -f conf$$subs.sh
27699 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27700 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
27704 s/^/S["/; s
/!.
*/"]=/
27714 s/\(.\{148\}\).*/\1/
27716 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
27721 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27728 s/\(.\{148\}\).*/\1/
27730 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
27734 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27739 ' <conf$$subs.awk | sed '
27744 ' >>$CONFIG_STATUS || ac_write_fail=1
27745 rm -f conf$$subs.awk
27746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27748 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
27749 for (key in S) S_is_set[key] = 1
27755 nfields = split(line, field, "@
")
27757 len = length(field[1])
27758 for (i = 2; i < nfields; i++) {
27760 keylen = length(key)
27761 if (S_is_set[key]) {
27763 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27764 len += length(value) + length(field[++i])
27775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27776 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27777 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
27780 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
27781 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
27784 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27785 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
27786 # trailing colons and then remove the whole line if VPATH becomes empty
27787 # (actually we leave an empty line to preserve line numbers).
27788 if test "x
$srcdir" = x.; then
27789 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27790 s/:*\$(srcdir):*/:/
27791 s/:*\${srcdir}:*/:/
27793 s/^\([^=]*=[ ]*\):*/\1/
27799 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27800 fi # test -n "$CONFIG_FILES"
27802 # Set up the scripts for CONFIG_HEADERS section.
27803 # No need to generate them if there are no CONFIG_HEADERS.
27804 # This happens for instance with `./config.status Makefile'.
27805 if test -n "$CONFIG_HEADERS"; then
27806 cat >"$tmp/defines.
awk" <<\_ACAWK ||
27810 # Transform confdefs.h into an awk script `defines.awk', embedded as
27811 # here-document in config.status, that substitutes the proper values into
27812 # config.h.in to produce config.h.
27814 # Create a delimiter string that does not exist in confdefs.h, to ease
27815 # handling of long lines.
27817 for ac_last_try in false false :; do
27818 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
27819 if test -z "$ac_t"; then
27821 elif $ac_last_try; then
27822 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
27824 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27828 # For the awk script, D is an array of macro values keyed by name,
27829 # likewise P contains macro parameters if any. Preserve backslash
27830 # newline sequences.
27832 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27834 s/.\{148\}/&'"$ac_delim"'/g
27837 s/^[ ]*#[ ]*define[ ][ ]*/ /
27844 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
27846 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
27850 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
27851 D["\
1"]=" \
3\\\\\\n
"\\/p
27853 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
27858 s/.\{148\}/&'"$ac_delim"'/g
27863 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
27866 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
27868 ' <confdefs.h | sed '
27869 s/'"$ac_delim"'/"\\\
27870 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27872 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27873 for (key in D) D_is_set[key] = 1
27876 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
27878 split(line, arg, " ")
27879 if (arg[1] == "#") {
27883 defundef
= substr
(arg
[1], 2)
27886 split(mac1
, mac2
, "(") #)
27888 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
27889 if (D_is_set
[macro
]) {
27890 # Preserve the white space surrounding the "#".
27891 print prefix
"define", macro P
[macro
] D
[macro
]
27894 # Replace #undef with comments. This is necessary, for example,
27895 # in the case of _POSIX_SOURCE, which is predefined and required
27896 # on some systems where configure will not decide to define it.
27897 if (defundef
== "undef") {
27898 print
"/*", prefix defundef
, macro
, "*/"
27906 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27907 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
27908 fi # test -n "$CONFIG_HEADERS"
27911 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
27916 :[FHLC
]) ac_mode
=$ac_tag; continue;;
27918 case $ac_mode$ac_tag in
27920 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
27921 :[FH
]-) ac_tag
=-:-;;
27922 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
27939 -) ac_f
="$tmp/stdin";;
27940 *) # Look for the file first in the build tree, then in the source tree
27941 # (if the path is not absolute). The absolute path cannot be DOS-style,
27942 # because $ac_f cannot contain `:'.
27946 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
27948 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
27950 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
27951 as_fn_append ac_file_inputs
" '$ac_f'"
27954 # Let's still pretend it is `configure' which instantiates (i.e., don't
27955 # use $as_me), people would be surprised to read:
27956 # /* config.h. Generated by config.status. */
27957 configure_input
='Generated from '`
27958 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
27960 if test x
"$ac_file" != x-
; then
27961 configure_input
="$ac_file. $configure_input"
27962 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
27963 $as_echo "$as_me: creating $ac_file" >&6;}
27965 # Neutralize special characters interpreted by sed in replacement strings.
27966 case $configure_input in #(
27967 *\
&* |
*\|
* |
*\\* )
27968 ac_sed_conf_input
=`$as_echo "$configure_input" |
27969 sed 's/[\\\\&|]/\\\\&/g'`;; #(
27970 *) ac_sed_conf_input
=$configure_input;;
27974 *:-:* |
*:-) cat >"$tmp/stdin" \
27975 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
27980 ac_dir
=`$as_dirname -- "$ac_file" ||
27981 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27982 X"$ac_file" : 'X\(//\)[^/]' \| \
27983 X"$ac_file" : 'X\(//\)$' \| \
27984 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27985 $as_echo X"$ac_file" |
27986 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27990 /^X\(\/\/\)[^/].*/{
28003 as_dir
="$ac_dir"; as_fn_mkdir_p
28007 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28009 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28010 # A ".." for each directory in $ac_dir_suffix.
28011 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28012 case $ac_top_builddir_sub in
28013 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28014 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
28017 ac_abs_top_builddir
=$ac_pwd
28018 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
28019 # for backward compatibility:
28020 ac_top_builddir
=$ac_top_build_prefix
28023 .
) # We are building in place.
28025 ac_top_srcdir
=$ac_top_builddir_sub
28026 ac_abs_top_srcdir
=$ac_pwd ;;
28027 [\\/]* | ?
:[\\/]* ) # Absolute name.
28028 ac_srcdir
=$srcdir$ac_dir_suffix;
28029 ac_top_srcdir
=$srcdir
28030 ac_abs_top_srcdir
=$srcdir ;;
28031 *) # Relative name.
28032 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
28033 ac_top_srcdir
=$ac_top_build_prefix$srcdir
28034 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
28036 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
28046 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
28047 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
28049 ac_MKDIR_P
=$MKDIR_P
28051 [\\/$
]* | ?
:[\\/]* ) ;;
28052 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
28056 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28057 # If the template does not know about datarootdir, expand it.
28058 # FIXME: This hack should be removed a few years after 2.60.
28059 ac_datarootdir_hack
=; ac_datarootdir_seen
=
28070 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28071 *datarootdir
*) ac_datarootdir_seen
=yes;;
28072 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
28073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28074 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28076 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28077 ac_datarootdir_hack='
28078 s&@datadir@&$datadir&g
28079 s&@docdir@&$docdir&g
28080 s&@infodir@&$infodir&g
28081 s&@localedir@&$localedir&g
28082 s&@mandir@&$mandir&g
28083 s&\\\${datarootdir}&$datarootdir&g' ;;
28087 # Neutralize VPATH when `$srcdir' = `.'.
28088 # Shell code in configure.ac might set extrasub.
28089 # FIXME: do we really want to maintain this feature?
28090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28091 ac_sed_extra="$ac_vpsub
28094 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28096 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
28097 s|@configure_input@|
$ac_sed_conf_input|
;t t
28098 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
28099 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
28100 s
&@srcdir@
&$ac_srcdir&;t t
28101 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
28102 s
&@top_srcdir@
&$ac_top_srcdir&;t t
28103 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
28104 s
&@builddir@
&$ac_builddir&;t t
28105 s
&@abs_builddir@
&$ac_abs_builddir&;t t
28106 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
28107 s
&@INSTALL@
&$ac_INSTALL&;t t
28108 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
28109 $ac_datarootdir_hack
28111 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
28112 || as_fn_error "could not create
$ac_file" "$LINENO" 5
28114 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28115 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
28116 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
28117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
28118 which seems to be undefined. Please make sure it is defined." >&5
28119 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
28120 which seems to be undefined. Please make sure it is defined." >&2;}
28124 -) cat "$tmp/out" && rm -f "$tmp/out";;
28125 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
28127 || as_fn_error "could not create $ac_file" "$LINENO" 5
28133 if test x"$ac_file" != x-; then
28135 $as_echo "/* $configure_input */" \
28136 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
28137 } >"$tmp/config.h" \
28138 || as_fn_error "could not create $ac_file" "$LINENO" 5
28139 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
28140 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28141 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28144 mv "$tmp/config.h" "$ac_file" \
28145 || as_fn_error "could not create $ac_file" "$LINENO" 5
28148 $as_echo "/* $configure_input */" \
28149 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
28150 || as_fn_error "could not create -" "$LINENO" 5
28152 # Compute "$ac_file"'s index
in $config_headers.
28155 for _am_header
in $config_headers :; do
28156 case $_am_header in
28157 $_am_arg |
$_am_arg:* )
28160 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
28163 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28164 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28165 X"$_am_arg" : 'X\(//\)[^/]' \| \
28166 X"$_am_arg" : 'X\(//\)$' \| \
28167 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28168 $as_echo X"$_am_arg" |
28169 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28173 /^X\(\/\/\)[^/].*/{
28185 s/.*/./; q'`/stamp-h
$_am_stamp_count
28188 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28189 $as_echo "$as_me: executing $ac_file commands" >&6;}
28194 case $ac_file$ac_mode in
28196 # Only add multilib support code if we just rebuilt the top-level
28198 case " $CONFIG_FILES " in
28200 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
28203 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
28204 # Autoconf 2.62 quotes --file arguments for eval, but not when files
28205 # are listed without --file. Let's play safe and only enable the eval
28206 # if we detect the quoting.
28207 case $CONFIG_FILES in
28208 *\'*) eval set x
"$CONFIG_FILES" ;;
28209 *) set x
$CONFIG_FILES ;;
28214 # Strip MF so we end up with the name of the file.
28215 mf
=`echo "$mf" | sed -e 's/:.*$//'`
28216 # Check whether this is an Automake generated Makefile or not.
28217 # We used to match only the files named `Makefile.in', but
28218 # some people rename them; so instead we look at the file content.
28219 # Grep'ing the first line is not enough: some people post-process
28220 # each Makefile.in and add a new line on top of each file to say so.
28221 # Grep'ing the whole file is not good either: AIX grep has a line
28222 # limit of 2048, but all sed's we know have understand at least 4000.
28223 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
28224 dirpart
=`$as_dirname -- "$mf" ||
28225 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28226 X"$mf" : 'X\(//\)[^/]' \| \
28227 X"$mf" : 'X\(//\)$' \| \
28228 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28230 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28234 /^X\(\/\/\)[^/].*/{
28250 # Extract the definition of DEPDIR, am__include, and am__quote
28251 # from the Makefile without running `make'.
28252 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
28253 test -z "$DEPDIR" && continue
28254 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
28255 test -z "am__include" && continue
28256 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
28257 # When using ansi2knr, U may be empty or an underscore; expand it
28258 U
=`sed -n 's/^U = //p' < "$mf"`
28259 # Find all dependency output files, they are included files with
28260 # $(DEPDIR) in their names. We invoke sed twice because it is the
28261 # simplest approach to changing $(DEPDIR) to its actual value in the
28263 for file in `sed -n "
28264 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28265 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28266 # Make sure the directory exists.
28267 test -f "$dirpart/$file" && continue
28268 fdir
=`$as_dirname -- "$file" ||
28269 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28270 X"$file" : 'X\(//\)[^/]' \| \
28271 X"$file" : 'X\(//\)$' \| \
28272 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28273 $as_echo X"$file" |
28274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28278 /^X\(\/\/\)[^/].*/{
28291 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
28292 # echo "creating $dirpart/$file"
28293 echo '# dummy' > "$dirpart/$file"
28300 # See if we are running on zsh, and set the options which allow our
28301 # commands through without removal of \ escapes.
28302 if test -n "${ZSH_VERSION+set}" ; then
28303 setopt NO_GLOB_SUBST
28306 cfgfile
="${ofile}T"
28307 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28310 cat <<_LT_EOF >> "$cfgfile"
28313 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28314 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28315 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28316 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28318 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28319 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28320 # Written by Gordon Matzigkeit, 1996
28322 # This file is part of GNU Libtool.
28324 # GNU Libtool is free software; you can redistribute it and/or
28325 # modify it under the terms of the GNU General Public License as
28326 # published by the Free Software Foundation; either version 2 of
28327 # the License, or (at your option) any later version.
28329 # As a special exception to the GNU General Public License,
28330 # if you distribute this file as part of a program or library that
28331 # is built using GNU Libtool, you may include this file under the
28332 # same distribution terms that you use for the rest of that program.
28334 # GNU Libtool is distributed in the hope that it will be useful,
28335 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28336 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28337 # GNU General Public License for more details.
28339 # You should have received a copy of the GNU General Public License
28340 # along with GNU Libtool; see the file COPYING. If not, a copy
28341 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28342 # obtained by writing to the Free Software Foundation, Inc.,
28343 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28346 # The names of the tagged configurations supported by this script.
28347 available_tags="FC "
28349 # ### BEGIN LIBTOOL CONFIG
28351 # A sed program that does not truncate output.
28354 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28355 Xsed="\$SED -e 1s/^X//"
28357 # A grep program that handles long lines.
28363 # A literal string matcher.
28366 # Shell to use when invoking shell scripts.
28369 # An echo program that protects backslashes.
28372 # Which release of libtool.m4 was used?
28373 macro_version=$macro_version
28374 macro_revision=$macro_revision
28376 # Whether or not to build shared libraries.
28377 build_libtool_libs=$enable_shared
28379 # Whether or not to build static libraries.
28380 build_old_libs=$enable_static
28382 # What type of objects to build.
28385 # Whether or not to optimize for fast installation.
28386 fast_install=$enable_fast_install
28389 host_alias=$host_alias
28393 # The build system.
28394 build_alias=$build_alias
28398 # A BSD- or MS-compatible name lister.
28401 # Whether we need soft or hard links.
28404 # What is the maximum length of a command?
28405 max_cmd_len=$max_cmd_len
28407 # Object file suffix (normally "o").
28410 # Executable file suffix (normally "").
28413 # whether the shell understands "unset".
28416 # turn spaces into newlines.
28419 # turn newlines into spaces.
28422 # An object symbol dumper.
28423 OBJDUMP=$lt_OBJDUMP
28425 # Method to check whether dependent libraries are shared objects.
28426 deplibs_check_method=$lt_deplibs_check_method
28428 # Command to use when deplibs_check_method == "file_magic".
28429 file_magic_cmd=$lt_file_magic_cmd
28433 AR_FLAGS=$lt_AR_FLAGS
28435 # A symbol stripping program.
28438 # Commands used to install an old-style archive.
28440 old_postinstall_cmds=$lt_old_postinstall_cmds
28441 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28443 # Whether to use a lock for old archive extraction.
28444 lock_old_archive_extraction=$lock_old_archive_extraction
28449 # LTCC compiler flags.
28450 LTCFLAGS=$lt_CFLAGS
28452 # Take the output of nm and produce a listing of raw symbols and C names.
28453 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28455 # Transform the output of nm in a proper C declaration.
28456 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28458 # Transform the output of nm in a C name address pair.
28459 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28461 # Transform the output of nm in a C name address pair when lib prefix is needed.
28462 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28464 # The name of the directory that contains temporary libtool files.
28467 # Used to examine libraries when file_magic_cmd begins with "file".
28468 MAGIC_CMD=$MAGIC_CMD
28470 # Must we lock files when doing compilation?
28471 need_locks=$lt_need_locks
28473 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28474 DSYMUTIL=$lt_DSYMUTIL
28476 # Tool to change global to local symbols on Mac OS X.
28479 # Tool to manipulate fat objects and archives on Mac OS X.
28482 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28485 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28486 OTOOL64=$lt_OTOOL64
28488 # Old archive suffix (normally "a").
28491 # Shared library suffix (normally ".so").
28492 shrext_cmds=$lt_shrext_cmds
28494 # The commands to extract the exported symbol list from a shared archive.
28495 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28497 # Variables whose values should be saved in libtool wrapper scripts and
28498 # restored at link time.
28499 variables_saved_for_relink=$lt_variables_saved_for_relink
28501 # Do we need the "lib" prefix for modules?
28502 need_lib_prefix=$need_lib_prefix
28504 # Do we need a version for libraries?
28505 need_version=$need_version
28507 # Library versioning type.
28508 version_type=$version_type
28510 # Shared library runtime path variable.
28511 runpath_var=$runpath_var
28513 # Shared library path variable.
28514 shlibpath_var=$shlibpath_var
28516 # Is shlibpath searched before the hard-coded library search path?
28517 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28519 # Format of library name prefix.
28520 libname_spec=$lt_libname_spec
28522 # List of archive names. First name is the real one, the rest are links.
28523 # The last name is the one that the linker finds with -lNAME
28524 library_names_spec=$lt_library_names_spec
28526 # The coded name of the library, if different from the real name.
28527 soname_spec=$lt_soname_spec
28529 # Permission mode override for installation of shared libraries.
28530 install_override_mode=$lt_install_override_mode
28532 # Command to use after installation of a shared archive.
28533 postinstall_cmds=$lt_postinstall_cmds
28535 # Command to use after uninstallation of a shared archive.
28536 postuninstall_cmds=$lt_postuninstall_cmds
28538 # Commands used to finish a libtool library installation in a directory.
28539 finish_cmds=$lt_finish_cmds
28541 # As "finish_cmds", except a single script fragment to be evaled but
28543 finish_eval=$lt_finish_eval
28545 # Whether we should hardcode library paths into libraries.
28546 hardcode_into_libs=$hardcode_into_libs
28548 # Compile-time system search path for libraries.
28549 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28551 # Run-time system search path for libraries.
28552 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28554 # Whether dlopen is supported.
28555 dlopen_support=$enable_dlopen
28557 # Whether dlopen of programs is supported.
28558 dlopen_self=$enable_dlopen_self
28560 # Whether dlopen of statically linked programs is supported.
28561 dlopen_self_static=$enable_dlopen_self_static
28563 # Commands to strip libraries.
28564 old_striplib=$lt_old_striplib
28565 striplib=$lt_striplib
28568 # The linker used to build libraries.
28571 # How to create reloadable object files.
28572 reload_flag=$lt_reload_flag
28573 reload_cmds=$lt_reload_cmds
28575 # Commands used to build an old-style archive.
28576 old_archive_cmds=$lt_old_archive_cmds
28578 # A language specific compiler.
28581 # Is the compiler the GNU compiler?
28584 # Compiler flag to turn off builtin functions.
28585 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28587 # How to pass a linker flag through the compiler.
28588 wl=$lt_lt_prog_compiler_wl
28590 # Additional compiler flags for building library objects.
28591 pic_flag=$lt_lt_prog_compiler_pic
28593 # Compiler flag to prevent dynamic linking.
28594 link_static_flag=$lt_lt_prog_compiler_static
28596 # Does compiler simultaneously support -c and -o options?
28597 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28599 # Whether or not to add -lc for building shared libraries.
28600 build_libtool_need_lc=$archive_cmds_need_lc
28602 # Whether or not to disallow shared libs when runtime libs are static.
28603 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28605 # Compiler flag to allow reflexive dlopens.
28606 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28608 # Compiler flag to generate shared objects directly from archives.
28609 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28611 # Whether the compiler copes with passing no objects directly.
28612 compiler_needs_object=$lt_compiler_needs_object
28614 # Create an old-style archive from a shared archive.
28615 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28617 # Create a temporary old-style archive to link instead of a shared archive.
28618 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28620 # Commands used to build a shared archive.
28621 archive_cmds=$lt_archive_cmds
28622 archive_expsym_cmds=$lt_archive_expsym_cmds
28624 # Commands used to build a loadable module if different from building
28625 # a shared archive.
28626 module_cmds=$lt_module_cmds
28627 module_expsym_cmds=$lt_module_expsym_cmds
28629 # Whether we are building with GNU ld or not.
28630 with_gnu_ld=$lt_with_gnu_ld
28632 # Flag that allows shared libraries with undefined symbols to be built.
28633 allow_undefined_flag=$lt_allow_undefined_flag
28635 # Flag that enforces no undefined symbols.
28636 no_undefined_flag=$lt_no_undefined_flag
28638 # Flag to hardcode \$libdir into a binary during linking.
28639 # This must work even if \$libdir does not exist
28640 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28642 # If ld is used when linking, flag to hardcode \$libdir into a binary
28643 # during linking. This must work even if \$libdir does not exist.
28644 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28646 # Whether we need a single "-rpath" flag with a separated argument.
28647 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28649 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28650 # DIR into the resulting binary.
28651 hardcode_direct=$hardcode_direct
28653 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28654 # DIR into the resulting binary and the resulting library dependency is
28655 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28656 # library is relocated.
28657 hardcode_direct_absolute=$hardcode_direct_absolute
28659 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28660 # into the resulting binary.
28661 hardcode_minus_L=$hardcode_minus_L
28663 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28664 # into the resulting binary.
28665 hardcode_shlibpath_var=$hardcode_shlibpath_var
28667 # Set to "yes" if building a shared library automatically hardcodes DIR
28668 # into the library and all subsequent libraries and executables linked
28670 hardcode_automatic=$hardcode_automatic
28672 # Set to yes if linker adds runtime paths of dependent libraries
28673 # to runtime path list.
28674 inherit_rpath=$inherit_rpath
28676 # Whether libtool must link a program against all its dependency libraries.
28677 link_all_deplibs=$link_all_deplibs
28679 # Fix the shell variable \$srcfile for the compiler.
28680 fix_srcfile_path=$lt_fix_srcfile_path
28682 # Set to "yes" if exported symbols are required.
28683 always_export_symbols=$always_export_symbols
28685 # The commands to list exported symbols.
28686 export_symbols_cmds=$lt_export_symbols_cmds
28688 # Symbols that should not be listed in the preloaded symbols.
28689 exclude_expsyms=$lt_exclude_expsyms
28691 # Symbols that must always be exported.
28692 include_expsyms=$lt_include_expsyms
28694 # Commands necessary for linking programs (against libraries) with templates.
28695 prelink_cmds=$lt_prelink_cmds
28697 # Specify filename containing input files.
28698 file_list_spec=$lt_file_list_spec
28700 # How to hardcode a shared library path into an executable.
28701 hardcode_action=$hardcode_action
28703 # The directories searched by this compiler when creating a shared library.
28704 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28706 # Dependencies to place before and after the objects being linked to
28707 # create a shared library.
28708 predep_objects=$lt_predep_objects
28709 postdep_objects=$lt_postdep_objects
28710 predeps=$lt_predeps
28711 postdeps=$lt_postdeps
28713 # The library search path used internally by the compiler when linking
28714 # a shared library.
28715 compiler_lib_search_path=$lt_compiler_lib_search_path
28717 # ### END LIBTOOL CONFIG
28723 cat <<\_LT_EOF
>> "$cfgfile"
28724 # AIX sometimes has problems with the GCC collect2 program. For some
28725 # reason, if we set the COLLECT_NAMES environment variable, the problems
28726 # vanish in a puff of smoke.
28727 if test "X${COLLECT_NAMES+set}" != Xset
; then
28729 export COLLECT_NAMES
28736 ltmain
="$ac_aux_dir/ltmain.sh"
28739 # We use sed instead of cat because bash on DJGPP gets confused if
28740 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28741 # text mode, it properly converts lines to CR/LF. This bash problem
28742 # is reportedly fixed, but why not run on old versions too?
28743 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28744 ||
(rm -f "$cfgfile"; exit 1)
28748 cat << \_LT_EOF
>> "$cfgfile"
28750 # func_dirname file append nondir_replacement
28751 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28752 # otherwise set result to NONDIR_REPLACEMENT.
28756 */*) func_dirname_result
="${1%/*}${2}" ;;
28757 * ) func_dirname_result
="${3}" ;;
28761 # func_basename file
28764 func_basename_result
="${1##*/}"
28767 # func_dirname_and_basename file append nondir_replacement
28768 # perform func_basename and func_dirname in a single function
28770 # dirname: Compute the dirname of FILE. If nonempty,
28771 # add APPEND to the result, otherwise set result
28772 # to NONDIR_REPLACEMENT.
28773 # value returned in "$func_dirname_result"
28774 # basename: Compute filename of FILE.
28775 # value retuned in "$func_basename_result"
28776 # Implementation must be kept synchronized with func_dirname
28777 # and func_basename. For efficiency, we do not delegate to
28778 # those functions but instead duplicate the functionality here.
28779 func_dirname_and_basename
()
28782 */*) func_dirname_result
="${1%/*}${2}" ;;
28783 * ) func_dirname_result
="${3}" ;;
28785 func_basename_result
="${1##*/}"
28788 # func_stripname prefix suffix name
28789 # strip PREFIX and SUFFIX off of NAME.
28790 # PREFIX and SUFFIX must not contain globbing or regex special
28791 # characters, hashes, percent signs, but SUFFIX may contain a leading
28792 # dot (in which case that matches only a dot).
28795 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28796 # positional parameters, so assign one to ordinary parameter first.
28797 func_stripname_result
=${3}
28798 func_stripname_result
=${func_stripname_result#"${1}"}
28799 func_stripname_result
=${func_stripname_result%"${2}"}
28805 func_opt_split_opt
=${1%%=*}
28806 func_opt_split_arg
=${1#*=}
28813 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
28814 *) func_lo2o_result
=${1} ;;
28818 # func_xform libobj-or-source
28821 func_xform_result
=${1%.*}.lo
28824 # func_arith arithmetic-term...
28827 func_arith_result
=$
(( $
* ))
28831 # STRING may not start with a hyphen.
28834 func_len_result
=${#1}
28839 *) # Bourne compatible functions.
28840 cat << \_LT_EOF
>> "$cfgfile"
28842 # func_dirname file append nondir_replacement
28843 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28844 # otherwise set result to NONDIR_REPLACEMENT.
28847 # Extract subdirectory from the argument.
28848 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
28849 if test "X$func_dirname_result" = "X${1}"; then
28850 func_dirname_result
="${3}"
28852 func_dirname_result
="$func_dirname_result${2}"
28856 # func_basename file
28859 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
28863 # func_stripname prefix suffix name
28864 # strip PREFIX and SUFFIX off of NAME.
28865 # PREFIX and SUFFIX must not contain globbing or regex special
28866 # characters, hashes, percent signs, but SUFFIX may contain a leading
28867 # dot (in which case that matches only a dot).
28868 # func_strip_suffix prefix name
28872 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
28873 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
28878 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
28879 my_sed_long_arg
='1s/^-[^=]*=//'
28884 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
28885 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
28891 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
28894 # func_xform libobj-or-source
28897 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
28900 # func_arith arithmetic-term...
28903 func_arith_result
=`expr "$@"`
28907 # STRING may not start with a hyphen.
28910 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
28916 case $lt_shell_append in
28918 cat << \_LT_EOF
>> "$cfgfile"
28920 # func_append var value
28921 # Append VALUE to the end of shell variable VAR.
28929 cat << \_LT_EOF
>> "$cfgfile"
28931 # func_append var value
28932 # Append VALUE to the end of shell variable VAR.
28943 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
28944 ||
(rm -f "$cfgfile"; exit 1)
28946 mv -f "$cfgfile" "$ofile" ||
28947 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
28951 cat <<_LT_EOF >> "$ofile"
28953 # ### BEGIN LIBTOOL TAG CONFIG: FC
28955 # The linker used to build libraries.
28958 # How to create reloadable object files.
28959 reload_flag=$lt_reload_flag_FC
28960 reload_cmds=$lt_reload_cmds_FC
28962 # Commands used to build an old-style archive.
28963 old_archive_cmds=$lt_old_archive_cmds_FC
28965 # A language specific compiler.
28968 # Is the compiler the GNU compiler?
28971 # Compiler flag to turn off builtin functions.
28972 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
28974 # How to pass a linker flag through the compiler.
28975 wl=$lt_lt_prog_compiler_wl_FC
28977 # Additional compiler flags for building library objects.
28978 pic_flag=$lt_lt_prog_compiler_pic_FC
28980 # Compiler flag to prevent dynamic linking.
28981 link_static_flag=$lt_lt_prog_compiler_static_FC
28983 # Does compiler simultaneously support -c and -o options?
28984 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
28986 # Whether or not to add -lc for building shared libraries.
28987 build_libtool_need_lc=$archive_cmds_need_lc_FC
28989 # Whether or not to disallow shared libs when runtime libs are static.
28990 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
28992 # Compiler flag to allow reflexive dlopens.
28993 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
28995 # Compiler flag to generate shared objects directly from archives.
28996 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
28998 # Whether the compiler copes with passing no objects directly.
28999 compiler_needs_object=$lt_compiler_needs_object_FC
29001 # Create an old-style archive from a shared archive.
29002 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29004 # Create a temporary old-style archive to link instead of a shared archive.
29005 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29007 # Commands used to build a shared archive.
29008 archive_cmds=$lt_archive_cmds_FC
29009 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29011 # Commands used to build a loadable module if different from building
29012 # a shared archive.
29013 module_cmds=$lt_module_cmds_FC
29014 module_expsym_cmds=$lt_module_expsym_cmds_FC
29016 # Whether we are building with GNU ld or not.
29017 with_gnu_ld=$lt_with_gnu_ld_FC
29019 # Flag that allows shared libraries with undefined symbols to be built.
29020 allow_undefined_flag=$lt_allow_undefined_flag_FC
29022 # Flag that enforces no undefined symbols.
29023 no_undefined_flag=$lt_no_undefined_flag_FC
29025 # Flag to hardcode \$libdir into a binary during linking.
29026 # This must work even if \$libdir does not exist
29027 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29029 # If ld is used when linking, flag to hardcode \$libdir into a binary
29030 # during linking. This must work even if \$libdir does not exist.
29031 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29033 # Whether we need a single "-rpath" flag with a separated argument.
29034 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29036 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29037 # DIR into the resulting binary.
29038 hardcode_direct=$hardcode_direct_FC
29040 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29041 # DIR into the resulting binary and the resulting library dependency is
29042 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29043 # library is relocated.
29044 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29046 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29047 # into the resulting binary.
29048 hardcode_minus_L=$hardcode_minus_L_FC
29050 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29051 # into the resulting binary.
29052 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29054 # Set to "yes" if building a shared library automatically hardcodes DIR
29055 # into the library and all subsequent libraries and executables linked
29057 hardcode_automatic=$hardcode_automatic_FC
29059 # Set to yes if linker adds runtime paths of dependent libraries
29060 # to runtime path list.
29061 inherit_rpath=$inherit_rpath_FC
29063 # Whether libtool must link a program against all its dependency libraries.
29064 link_all_deplibs=$link_all_deplibs_FC
29066 # Fix the shell variable \$srcfile for the compiler.
29067 fix_srcfile_path=$lt_fix_srcfile_path_FC
29069 # Set to "yes" if exported symbols are required.
29070 always_export_symbols=$always_export_symbols_FC
29072 # The commands to list exported symbols.
29073 export_symbols_cmds=$lt_export_symbols_cmds_FC
29075 # Symbols that should not be listed in the preloaded symbols.
29076 exclude_expsyms=$lt_exclude_expsyms_FC
29078 # Symbols that must always be exported.
29079 include_expsyms=$lt_include_expsyms_FC
29081 # Commands necessary for linking programs (against libraries) with templates.
29082 prelink_cmds=$lt_prelink_cmds_FC
29084 # Specify filename containing input files.
29085 file_list_spec=$lt_file_list_spec_FC
29087 # How to hardcode a shared library path into an executable.
29088 hardcode_action=$hardcode_action_FC
29090 # The directories searched by this compiler when creating a shared library.
29091 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29093 # Dependencies to place before and after the objects being linked to
29094 # create a shared library.
29095 predep_objects=$lt_predep_objects_FC
29096 postdep_objects=$lt_postdep_objects_FC
29097 predeps=$lt_predeps_FC
29098 postdeps=$lt_postdeps_FC
29100 # The library search path used internally by the compiler when linking
29101 # a shared library.
29102 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29104 # ### END LIBTOOL TAG CONFIG: FC
29109 if test "$GCC" = yes; then
29110 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29112 echo "/* generated for $CC */" > tmp-stdint.h
29115 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29117 #ifndef GCC_GENERATED_STDINT_H
29118 #define GCC_GENERATED_STDINT_H 1
29120 #include <sys/types.h>
29123 if test "$acx_cv_header_stdint" != stdint.h
; then
29124 echo "#include <stddef.h>" >> tmp-stdint.h
29126 if test "$acx_cv_header_stdint" != stddef.h
; then
29127 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29130 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29131 /* glibc uses these symbols as guards to prevent redefinitions. */
29132 #ifdef __int8_t_defined
29137 #ifdef __uint32_t_defined
29143 # ----------------- done header, emit basic int types -------------
29144 if test "$acx_cv_header_stdint" = stddef.h
; then
29145 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29149 #ifndef __uint8_t_defined
29150 #define __uint8_t_defined
29152 typedef unsigned $acx_cv_type_int8_t uint8_t;
29159 #ifndef __uint16_t_defined
29160 #define __uint16_t_defined
29162 typedef unsigned $acx_cv_type_int16_t uint16_t;
29169 #ifndef __uint32_t_defined
29170 #define __uint32_t_defined
29172 typedef unsigned $acx_cv_type_int32_t uint32_t;
29179 #ifndef __int8_t_defined
29180 #define __int8_t_defined
29182 typedef $acx_cv_type_int8_t int8_t;
29189 #ifndef __int16_t_defined
29190 #define __int16_t_defined
29192 typedef $acx_cv_type_int16_t int16_t;
29199 #ifndef __int32_t_defined
29200 #define __int32_t_defined
29202 typedef $acx_cv_type_int32_t int32_t;
29207 elif test "$ac_cv_type_u_int32_t" = yes; then
29208 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29210 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29223 #ifndef __uint8_t_defined
29224 #define __uint8_t_defined
29226 typedef u_int8_t uint8_t;
29233 #ifndef __uint16_t_defined
29234 #define __uint16_t_defined
29236 typedef u_int16_t uint16_t;
29243 #ifndef __uint32_t_defined
29244 #define __uint32_t_defined
29246 typedef u_int32_t uint32_t;
29252 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29254 /* Some systems have guard macros to prevent redefinitions, define them. */
29276 # ------------- done basic int types, emit int64_t types ------------
29277 if test "$ac_cv_type_uint64_t" = yes; then
29278 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29280 /* system headers have good uint64_t and int64_t */
29288 elif test "$ac_cv_type_u_int64_t" = yes; then
29289 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29291 /* system headers have an u_int64_t (and int64_t) */
29297 #ifndef __uint64_t_defined
29298 #define __uint64_t_defined
29300 typedef u_int64_t uint64_t;
29305 elif test -n "$acx_cv_type_int64_t"; then
29306 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29308 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29312 typedef $acx_cv_type_int64_t int64_t;
29317 #ifndef __uint64_t_defined
29318 #define __uint64_t_defined
29320 typedef unsigned $acx_cv_type_int64_t uint64_t;
29326 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29328 /* some common heuristics for int64_t, using compiler-specific tests */
29329 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29332 #ifndef __int64_t_defined
29334 typedef long long int64_t;
29341 typedef unsigned long long uint64_t;
29345 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29346 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29347 does not implement __extension__. But that compiler doesn't define
29349 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29350 # define __extension__
29356 __extension__ typedef long long int64_t;
29362 __extension__ typedef unsigned long long uint64_t;
29366 #elif !defined __STRICT_ANSI__
29367 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29372 typedef __int64 int64_t;
29378 typedef unsigned __int64 uint64_t;
29381 # endif /* compiler */
29383 #endif /* ANSI version */
29387 # ------------- done int64_t types, emit intptr types ------------
29388 if test "$ac_cv_type_uintptr_t" != yes; then
29389 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29391 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29392 #ifndef __uintptr_t_defined
29394 typedef u$acx_cv_type_intptr_t uintptr_t;
29397 #ifndef __intptr_t_defined
29399 typedef $acx_cv_type_intptr_t intptr_t;
29405 # ------------- done intptr types, emit int_least types ------------
29406 if test "$ac_cv_type_int_least32_t" != yes; then
29407 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29409 /* Define int_least types */
29410 typedef int8_t int_least8_t;
29411 typedef int16_t int_least16_t;
29412 typedef int32_t int_least32_t;
29414 typedef int64_t int_least64_t;
29417 typedef uint8_t uint_least8_t;
29418 typedef uint16_t uint_least16_t;
29419 typedef uint32_t uint_least32_t;
29421 typedef uint64_t uint_least64_t;
29426 # ------------- done intptr types, emit int_fast types ------------
29427 if test "$ac_cv_type_int_fast32_t" != yes; then
29428 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29430 /* Define int_fast types. short is often slow */
29431 typedef int8_t int_fast8_t;
29432 typedef int int_fast16_t;
29433 typedef int32_t int_fast32_t;
29435 typedef int64_t int_fast64_t;
29438 typedef uint8_t uint_fast8_t;
29439 typedef unsigned int uint_fast16_t;
29440 typedef uint32_t uint_fast32_t;
29442 typedef uint64_t uint_fast64_t;
29447 if test "$ac_cv_type_uintmax_t" != yes; then
29448 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29450 /* Define intmax based on what we found */
29453 typedef int64_t intmax_t;
29455 typedef long intmax_t;
29460 typedef uint64_t uintmax_t;
29462 typedef unsigned long uintmax_t;
29468 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29470 #endif /* GCC_GENERATED_STDINT_H */
29473 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
29476 mv -f tmp-stdint.h gstdint.h
29487 ac_clean_files
=$ac_clean_files_save
29489 test $ac_write_fail = 0 ||
29490 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
29493 # configure is writing to config.log, and then calls config.status.
29494 # config.status does its own redirection, appending to config.log.
29495 # Unfortunately, on DOS this fails, as config.log is still kept open
29496 # by configure, so config.status won't be able to write to it; its
29497 # output is simply discarded. So we exec the FD to /dev/null,
29498 # effectively closing config.log, so it can be properly (re)opened and
29499 # appended to by config.status. When coming back to configure, we
29500 # need to make the FD available again.
29501 if test "$no_create" != yes; then
29503 ac_config_status_args
=
29504 test "$silent" = yes &&
29505 ac_config_status_args
="$ac_config_status_args --quiet"
29507 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
29509 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29510 # would make configure fail if this is the last instruction.
29511 $ac_cs_success || as_fn_exit $?
29513 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
29514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29515 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}