2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GNU Fortran Runtime Library 0.3.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev
/null
; then :
186 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
191 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
194 test -z "$as_dir" && as_dir
=.
198 for as_base
in sh bash ksh sh5
; do
199 # Try only shells that exist, to save several forks.
200 as_shell
=$as_dir/$as_base
201 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
203 CONFIG_SHELL
=$as_shell as_have_required
=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
212 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
214 CONFIG_SHELL
=$SHELL as_have_required
=yes
219 if test "x$CONFIG_SHELL" != x
; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
225 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x
$as_have_required = xno
; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x
${ZSH_VERSION+set} = xset
; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
246 SHELL
=${CONFIG_SHELL-/bin/sh}
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE
= GREP_OPTIONS
=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
257 # Portably unset VAR.
260 { eval $1=; unset $1;}
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
284 # Create "$as_dir" as a directory, including parents if necessary.
289 -*) as_dir
=.
/$as_dir;;
291 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
295 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 as_dirs
="'$as_qdir' $as_dirs"
299 as_dir
=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
322 test -d "$as_dir" && break
324 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
325 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
336 eval 'as_fn_append ()
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
360 as_val
=`expr "$@" || test $? -eq 1`
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
372 as_status
=$?
; test $as_status -eq 0 && as_status
=1
374 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit
$as_status
381 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
388 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
394 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
400 as_me
=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 # Avoid depending upon Character Ranges.
420 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits
='0123456789'
424 as_cr_alnum
=$as_cr_Letters$as_cr_digits
427 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
428 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
447 chmod +x
"$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
454 # Exit status is that of the last command.
458 ECHO_C
= ECHO_N
= ECHO_T
=
459 case `echo -n x` in #(((((
461 case `echo 'xy\c'` in
462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
471 rm -f conf$$ conf$$.exe conf$$.
file
472 if test -d conf$$.dir
; then
473 rm -f conf$$.dir
/conf$$.
file
476 mkdir conf$$.dir
2>/dev
/null
478 if (echo >conf$$.
file) 2>/dev
/null
; then
479 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
496 rmdir conf$$.dir
2>/dev
/null
498 if mkdir
-p .
2>/dev
/null
; then
499 as_mkdir_p
='mkdir -p "$as_dir"'
501 test -d .
/-p && rmdir .
/-p
505 if test -x / >/dev
/null
2>&1; then
508 if ls -dL / >/dev
/null
2>&1; then
515 if test -d "$1"; then
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
526 as_executable_p
=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL
=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev
/null
6>&1
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
547 ac_default_prefix
=/usr
/local
549 ac_config_libobj_dir
=.
556 # Identity of this package.
557 PACKAGE_NAME
='GNU Fortran Runtime Library'
558 PACKAGE_TARNAME
='libgfortran'
559 PACKAGE_VERSION
='0.3'
560 PACKAGE_STRING
='GNU Fortran Runtime Library 0.3'
562 PACKAGE_URL
='http://www.gnu.org/software/libgfortran/'
564 # Factoring default headers for most tests.
565 ac_includes_default
="\
567 #ifdef HAVE_SYS_TYPES_H
568 # include <sys/types.h>
570 #ifdef HAVE_SYS_STAT_H
571 # include <sys/stat.h>
577 # ifdef HAVE_STDLIB_H
582 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
587 #ifdef HAVE_STRINGS_H
588 # include <strings.h>
590 #ifdef HAVE_INTTYPES_H
591 # include <inttypes.h>
604 ac_subst_vars
='am__EXEEXT_FALSE
613 LIBGFOR_BUILD_QUAD_FALSE
614 LIBGFOR_BUILD_QUAD_TRUE
619 extra_ldflags_libgfortran
644 LIBGFOR_USE_SYMVER_SUN_FALSE
645 LIBGFOR_USE_SYMVER_SUN_TRUE
646 LIBGFOR_USE_SYMVER_GNU_FALSE
647 LIBGFOR_USE_SYMVER_GNU_TRUE
648 LIBGFOR_USE_SYMVER_FALSE
649 LIBGFOR_USE_SYMVER_TRUE
676 MAINTAINER_MODE_FALSE
686 INSTALL_STRIP_PROGRAM
748 program_transform_name
761 enable_option_checking
763 enable_version_specific_runtime_libs
765 enable_maintainer_mode
767 enable_dependency_tracking
776 enable_libquadmath_support
777 with_system_libunwind
779 ac_precious_vars
='build_alias
792 # Initialize some variables set by options.
794 ac_init_version
=false
795 ac_unrecognized_opts
=
797 # The variables have the same names as the options, with
798 # dashes changed to underlines.
806 program_transform_name
=s
,x
,x
,
814 # Installation directory options.
815 # These are left unexpanded so users can "make install exec_prefix=/foo"
816 # and all the variables that are supposed to be based on exec_prefix
817 # by default will actually change.
818 # Use braces instead of parens because sh, perl, etc. also accept them.
819 # (The list follows the same order as the GNU Coding Standards.)
820 bindir
='${exec_prefix}/bin'
821 sbindir
='${exec_prefix}/sbin'
822 libexecdir
='${exec_prefix}/libexec'
823 datarootdir
='${prefix}/share'
824 datadir
='${datarootdir}'
825 sysconfdir
='${prefix}/etc'
826 sharedstatedir
='${prefix}/com'
827 localstatedir
='${prefix}/var'
828 includedir
='${prefix}/include'
829 oldincludedir
='/usr/include'
830 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
831 infodir
='${datarootdir}/info'
836 libdir
='${exec_prefix}/lib'
837 localedir
='${datarootdir}/locale'
838 mandir
='${datarootdir}/man'
844 # If the previous option needs an argument, assign it.
845 if test -n "$ac_prev"; then
846 eval $ac_prev=\
$ac_option
852 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
856 # Accept the important Cygnus configure options, so we can diagnose typos.
858 case $ac_dashdash$ac_option in
862 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
864 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
867 -build |
--build |
--buil |
--bui |
--bu)
868 ac_prev
=build_alias
;;
869 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
870 build_alias
=$ac_optarg ;;
872 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
873 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
874 ac_prev
=cache_file
;;
875 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
876 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
877 cache_file
=$ac_optarg ;;
880 cache_file
=config.cache
;;
882 -datadir |
--datadir |
--datadi |
--datad)
884 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
885 datadir
=$ac_optarg ;;
887 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
888 |
--dataroo |
--dataro |
--datar)
889 ac_prev
=datarootdir
;;
890 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
891 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
892 datarootdir
=$ac_optarg ;;
894 -disable-* |
--disable-*)
895 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
896 # Reject names that are not valid shell variable names.
897 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
898 as_fn_error
"invalid feature name: $ac_useropt"
899 ac_useropt_orig
=$ac_useropt
900 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
901 case $ac_user_opts in
905 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
906 ac_unrecognized_sep
=', ';;
908 eval enable_
$ac_useropt=no
;;
910 -docdir |
--docdir |
--docdi |
--doc |
--do)
912 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
915 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
917 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
920 -enable-* |
--enable-*)
921 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
922 # Reject names that are not valid shell variable names.
923 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
924 as_fn_error
"invalid feature name: $ac_useropt"
925 ac_useropt_orig
=$ac_useropt
926 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
927 case $ac_user_opts in
931 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
932 ac_unrecognized_sep
=', ';;
934 eval enable_
$ac_useropt=\
$ac_optarg ;;
936 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
937 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
938 |
--exec |
--exe |
--ex)
939 ac_prev
=exec_prefix
;;
940 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
941 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
942 |
--exec=* |
--exe=* |
--ex=*)
943 exec_prefix
=$ac_optarg ;;
945 -gas |
--gas |
--ga |
--g)
946 # Obsolete; use --with-gas.
949 -help |
--help |
--hel |
--he |
-h)
951 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
952 ac_init_help
=recursive
;;
953 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
954 ac_init_help
=short
;;
956 -host |
--host |
--hos |
--ho)
957 ac_prev
=host_alias
;;
958 -host=* |
--host=* |
--hos=* |
--ho=*)
959 host_alias
=$ac_optarg ;;
961 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
963 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
965 htmldir
=$ac_optarg ;;
967 -includedir |
--includedir |
--includedi |
--included |
--include \
968 |
--includ |
--inclu |
--incl |
--inc)
969 ac_prev
=includedir
;;
970 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
971 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
972 includedir
=$ac_optarg ;;
974 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
976 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
977 infodir
=$ac_optarg ;;
979 -libdir |
--libdir |
--libdi |
--libd)
981 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
984 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
985 |
--libexe |
--libex |
--libe)
986 ac_prev
=libexecdir
;;
987 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
988 |
--libexe=* |
--libex=* |
--libe=*)
989 libexecdir
=$ac_optarg ;;
991 -localedir |
--localedir |
--localedi |
--localed |
--locale)
993 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
994 localedir
=$ac_optarg ;;
996 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
997 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
998 ac_prev
=localstatedir
;;
999 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1000 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1001 localstatedir
=$ac_optarg ;;
1003 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1005 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1006 mandir
=$ac_optarg ;;
1008 -nfp |
--nfp |
--nf)
1009 # Obsolete; use --without-fp.
1012 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1013 |
--no-cr |
--no-c |
-n)
1016 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1017 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1020 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1021 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1022 |
--oldin |
--oldi |
--old |
--ol |
--o)
1023 ac_prev
=oldincludedir
;;
1024 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1025 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1026 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1027 oldincludedir
=$ac_optarg ;;
1029 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1031 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1032 prefix
=$ac_optarg ;;
1034 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1035 |
--program-pre |
--program-pr |
--program-p)
1036 ac_prev
=program_prefix
;;
1037 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1038 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1039 program_prefix
=$ac_optarg ;;
1041 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1042 |
--program-suf |
--program-su |
--program-s)
1043 ac_prev
=program_suffix
;;
1044 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1045 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1046 program_suffix
=$ac_optarg ;;
1048 -program-transform-name |
--program-transform-name \
1049 |
--program-transform-nam |
--program-transform-na \
1050 |
--program-transform-n |
--program-transform- \
1051 |
--program-transform |
--program-transfor \
1052 |
--program-transfo |
--program-transf \
1053 |
--program-trans |
--program-tran \
1054 |
--progr-tra |
--program-tr |
--program-t)
1055 ac_prev
=program_transform_name
;;
1056 -program-transform-name=* |
--program-transform-name=* \
1057 |
--program-transform-nam=* |
--program-transform-na=* \
1058 |
--program-transform-n=* |
--program-transform-=* \
1059 |
--program-transform=* |
--program-transfor=* \
1060 |
--program-transfo=* |
--program-transf=* \
1061 |
--program-trans=* |
--program-tran=* \
1062 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1063 program_transform_name
=$ac_optarg ;;
1065 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1067 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1068 pdfdir
=$ac_optarg ;;
1070 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1072 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1075 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1076 |
-silent |
--silent |
--silen |
--sile |
--sil)
1079 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1081 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1083 sbindir
=$ac_optarg ;;
1085 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1086 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1087 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1089 ac_prev
=sharedstatedir
;;
1090 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1091 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1092 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1094 sharedstatedir
=$ac_optarg ;;
1096 -site |
--site |
--sit)
1098 -site=* |
--site=* |
--sit=*)
1101 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1103 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1104 srcdir
=$ac_optarg ;;
1106 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1107 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1108 ac_prev
=sysconfdir
;;
1109 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1110 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1111 sysconfdir
=$ac_optarg ;;
1113 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1114 ac_prev
=target_alias
;;
1115 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1116 target_alias
=$ac_optarg ;;
1118 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1121 -version |
--version |
--versio |
--versi |
--vers |
-V)
1122 ac_init_version
=: ;;
1125 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1126 # Reject names that are not valid shell variable names.
1127 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1128 as_fn_error
"invalid package name: $ac_useropt"
1129 ac_useropt_orig
=$ac_useropt
1130 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1131 case $ac_user_opts in
1135 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1136 ac_unrecognized_sep
=', ';;
1138 eval with_
$ac_useropt=\
$ac_optarg ;;
1140 -without-* |
--without-*)
1141 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1142 # Reject names that are not valid shell variable names.
1143 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1144 as_fn_error
"invalid package name: $ac_useropt"
1145 ac_useropt_orig
=$ac_useropt
1146 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1147 case $ac_user_opts in
1151 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1152 ac_unrecognized_sep
=', ';;
1154 eval with_
$ac_useropt=no
;;
1157 # Obsolete; use --with-x.
1160 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1161 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1162 ac_prev
=x_includes
;;
1163 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1164 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1165 x_includes
=$ac_optarg ;;
1167 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1168 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1169 ac_prev
=x_libraries
;;
1170 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1171 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1172 x_libraries
=$ac_optarg ;;
1174 -*) as_fn_error
"unrecognized option: \`$ac_option'
1175 Try \`$0 --help' for more information."
1179 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1180 # Reject names that are not valid shell variable names.
1181 case $ac_envvar in #(
1182 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1183 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1185 eval $ac_envvar=\
$ac_optarg
1186 export $ac_envvar ;;
1189 # FIXME: should be removed in autoconf 3.0.
1190 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1191 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1192 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1193 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1199 if test -n "$ac_prev"; then
1200 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1201 as_fn_error
"missing argument to $ac_option"
1204 if test -n "$ac_unrecognized_opts"; then
1205 case $enable_option_checking in
1207 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1208 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1212 # Check all directory arguments for consistency.
1213 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1214 datadir sysconfdir sharedstatedir localstatedir includedir \
1215 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1216 libdir localedir mandir
1218 eval ac_val
=\$
$ac_var
1219 # Remove trailing slashes.
1222 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1223 eval $ac_var=\
$ac_val;;
1225 # Be sure to have absolute directory names.
1227 [\\/$
]* | ?
:[\\/]* ) continue;;
1228 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1230 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1233 # There might be people who depend on the old broken behavior: `$host'
1234 # used to hold the argument of --host etc.
1235 # FIXME: To remove some day.
1238 target
=$target_alias
1240 # FIXME: To remove some day.
1241 if test "x$host_alias" != x
; then
1242 if test "x$build_alias" = x
; then
1243 cross_compiling
=maybe
1244 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1245 If a cross compiler is detected then cross compile mode will be used." >&2
1246 elif test "x$build_alias" != "x$host_alias"; then
1252 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1254 test "$silent" = yes && exec 6>/dev
/null
1257 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1258 ac_ls_di
=`ls -di .` &&
1259 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1260 as_fn_error
"working directory cannot be determined"
1261 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1262 as_fn_error
"pwd does not report name of working directory"
1265 # Find the source files, if location was not specified.
1266 if test -z "$srcdir"; then
1267 ac_srcdir_defaulted
=yes
1268 # Try the directory containing this script, then the parent directory.
1269 ac_confdir
=`$as_dirname -- "$as_myself" ||
1270 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1271 X"$as_myself" : 'X\(//\)[^/]' \| \
1272 X"$as_myself" : 'X\(//\)$' \| \
1273 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1274 $as_echo X"$as_myself" |
1275 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1293 if test ! -r "$srcdir/$ac_unique_file"; then
1297 ac_srcdir_defaulted
=no
1299 if test ! -r "$srcdir/$ac_unique_file"; then
1300 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1301 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1303 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1305 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1307 # When building in place, set srcdir=.
1308 if test "$ac_abs_confdir" = "$ac_pwd"; then
1311 # Remove unnecessary trailing slashes from srcdir.
1312 # Double slashes in file names in object file debugging info
1313 # mess up M-x gdb in Emacs.
1315 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1317 for ac_var
in $ac_precious_vars; do
1318 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1319 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1320 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1321 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1325 # Report the --help message.
1327 if test "$ac_init_help" = "long"; then
1328 # Omit some internal or obsolete options to make the list less imposing.
1329 # This message is too long to be a string in the A/UX 3.1 sh.
1331 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1333 Usage: $0 [OPTION]... [VAR=VALUE]...
1335 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1336 VAR=VALUE. See below for descriptions of some of the useful variables.
1338 Defaults for the options are specified in brackets.
1341 -h, --help display this help and exit
1342 --help=short display options specific to this package
1343 --help=recursive display the short help of all the included packages
1344 -V, --version display version information and exit
1345 -q, --quiet, --silent do not print \`checking...' messages
1346 --cache-file=FILE cache test results in FILE [disabled]
1347 -C, --config-cache alias for \`--cache-file=config.cache'
1348 -n, --no-create do not create output files
1349 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1351 Installation directories:
1352 --prefix=PREFIX install architecture-independent files in PREFIX
1353 [$ac_default_prefix]
1354 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1357 By default, \`make install' will install all the files in
1358 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1359 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1360 for instance \`--prefix=\$HOME'.
1362 For better control, use the options below.
1364 Fine tuning of the installation directories:
1365 --bindir=DIR user executables [EPREFIX/bin]
1366 --sbindir=DIR system admin executables [EPREFIX/sbin]
1367 --libexecdir=DIR program executables [EPREFIX/libexec]
1368 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1369 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1370 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1371 --libdir=DIR object code libraries [EPREFIX/lib]
1372 --includedir=DIR C header files [PREFIX/include]
1373 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1374 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1375 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1376 --infodir=DIR info documentation [DATAROOTDIR/info]
1377 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1378 --mandir=DIR man documentation [DATAROOTDIR/man]
1379 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1380 --htmldir=DIR html documentation [DOCDIR]
1381 --dvidir=DIR dvi documentation [DOCDIR]
1382 --pdfdir=DIR pdf documentation [DOCDIR]
1383 --psdir=DIR ps documentation [DOCDIR]
1389 --program-prefix=PREFIX prepend PREFIX to installed program names
1390 --program-suffix=SUFFIX append SUFFIX to installed program names
1391 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1394 --build=BUILD configure
for building on BUILD
[guessed
]
1395 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1396 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1400 if test -n "$ac_init_help"; then
1401 case $ac_init_help in
1402 short | recursive
) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1407 --disable-option-checking ignore unrecognized
--enable/--with options
1408 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1409 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1410 --enable-version-specific-runtime-libs
1411 specify that runtime libraries should be installed
1412 in a compiler-specific directory
1413 --enable-intermodule build the library
in one step
1414 --enable-maintainer-mode enable make rules and dependencies not useful
1415 (and sometimes confusing
) to the casual installer
1416 --enable-multilib build many library versions
(default
)
1417 --disable-dependency-tracking speeds up one-time build
1418 --enable-dependency-tracking do not reject slow dependency extractors
1419 --disable-symvers disable symbol versioning
for libgfortran
1420 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1421 --enable-static[=PKGS
] build static libraries
[default
=yes]
1422 --enable-fast-install[=PKGS
]
1423 optimize
for fast installation
[default
=yes]
1424 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1425 --disable-largefile omit support
for large files
1426 --disable-libquadmath-support
1427 disable libquadmath support
for Fortran
1430 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1431 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1432 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1433 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1435 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1436 --with-system-libunwind use installed libunwind
1438 Some influential environment variables
:
1439 CC C compiler
command
1440 CFLAGS C compiler flags
1441 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1442 nonstandard directory
<lib dir
>
1443 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1444 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1445 you have headers
in a nonstandard directory
<include dir
>
1447 FC Fortran compiler
command
1448 FCFLAGS Fortran compiler flags
1450 Use these variables to override the choices made by
`configure' or to help
1451 it to find libraries and programs with nonstandard names/locations.
1453 Report bugs to the package provider.
1454 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1455 General help using GNU software: <http://www.gnu.org/gethelp/>.
1460 if test "$ac_init_help" = "recursive"; then
1461 # If there are subdirs, report their specific --help.
1462 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1463 test -d "$ac_dir" ||
1464 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1469 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1471 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1472 # A ".." for each directory in $ac_dir_suffix.
1473 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1474 case $ac_top_builddir_sub in
1475 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1476 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1479 ac_abs_top_builddir=$ac_pwd
1480 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1481 # for backward compatibility:
1482 ac_top_builddir=$ac_top_build_prefix
1485 .) # We are building in place.
1487 ac_top_srcdir=$ac_top_builddir_sub
1488 ac_abs_top_srcdir=$ac_pwd ;;
1489 [\\/]* | ?:[\\/]* ) # Absolute name.
1490 ac_srcdir=$srcdir$ac_dir_suffix;
1491 ac_top_srcdir=$srcdir
1492 ac_abs_top_srcdir=$srcdir ;;
1494 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1495 ac_top_srcdir=$ac_top_build_prefix$srcdir
1496 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1498 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1500 cd "$ac_dir" || { ac_status=$?; continue; }
1501 # Check for guested configure.
1502 if test -f "$ac_srcdir/configure.gnu"; then
1504 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1505 elif test -f "$ac_srcdir/configure"; then
1507 $SHELL "$ac_srcdir/configure" --help=recursive
1509 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1511 cd "$ac_pwd" || { ac_status=$?; break; }
1515 test -n "$ac_init_help" && exit $ac_status
1516 if $ac_init_version; then
1518 GNU Fortran Runtime Library configure 0.3
1519 generated by GNU Autoconf 2.64
1521 Copyright (C) 2009 Free Software Foundation, Inc.
1522 This configure script is free software; the Free Software Foundation
1523 gives unlimited permission to copy, distribute and modify it.
1528 ## ------------------------ ##
1529 ## Autoconf initialization. ##
1530 ## ------------------------ ##
1532 # ac_fn_c_try_compile LINENO
1533 # --------------------------
1534 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1535 ac_fn_c_try_compile ()
1537 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1538 rm -f conftest.$ac_objext
1539 if { { ac_try="$ac_compile"
1541 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1542 *) ac_try_echo
=$ac_try;;
1544 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1545 $as_echo "$ac_try_echo"; } >&5
1546 (eval "$ac_compile") 2>conftest.err
1548 if test -s conftest.err
; then
1549 grep -v '^ *+' conftest.err
>conftest.er1
1550 cat conftest.er1
>&5
1551 mv -f conftest.er1 conftest.err
1553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1554 test $ac_status = 0; } && {
1555 test -z "$ac_c_werror_flag" ||
1556 test ! -s conftest.err
1557 } && test -s conftest.
$ac_objext; then :
1560 $as_echo "$as_me: failed program was:" >&5
1561 sed 's/^/| /' conftest.
$ac_ext >&5
1565 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1568 } # ac_fn_c_try_compile
1570 # ac_fn_c_try_cpp LINENO
1571 # ----------------------
1572 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1575 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1576 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1578 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1579 *) ac_try_echo=$ac_try;;
1581 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1582 $as_echo "$ac_try_echo"; } >&5
1583 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1585 if test -s conftest.err; then
1586 grep -v '^ *+' conftest.err >conftest.er1
1587 cat conftest.er1 >&5
1588 mv -f conftest.er1 conftest.err
1590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1591 test $ac_status = 0; } >/dev/null && {
1592 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1593 test ! -s conftest.err
1597 $as_echo "$as_me: failed program was:" >&5
1598 sed 's/^/| /' conftest.$ac_ext >&5
1602 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1607 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1608 # -------------------------------------------------------
1609 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1610 # the include files in INCLUDES and setting the cache variable VAR
1612 ac_fn_c_check_header_mongrel ()
1614 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1615 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1617 $as_echo_n "checking for $2... " >&6; }
1618 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1619 $as_echo_n "(cached) " >&6
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1623 $as_echo "$ac_res" >&6; }
1625 # Is the header compilable?
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1627 $as_echo_n "checking $2 usability... " >&6; }
1628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1629 /* end confdefs.h. */
1633 if ac_fn_c_try_compile "$LINENO"; then :
1634 ac_header_compiler=yes
1636 ac_header_compiler=no
1638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1640 $as_echo "$ac_header_compiler" >&6; }
1642 # Is the header present?
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1644 $as_echo_n "checking $2 presence... " >&6; }
1645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1646 /* end confdefs.h. */
1649 if ac_fn_c_try_cpp "$LINENO"; then :
1650 ac_header_preproc=yes
1652 ac_header_preproc=no
1654 rm -f conftest.err conftest.$ac_ext
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1656 $as_echo "$ac_header_preproc" >&6; }
1658 # So? What about this header?
1659 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1662 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1664 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1668 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1670 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1672 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1674 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1676 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1680 $as_echo_n "checking for $2... " >&6; }
1681 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1682 $as_echo_n "(cached) " >&6
1684 eval "$3=\$ac_header_compiler"
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1688 $as_echo "$ac_res" >&6; }
1690 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1692 } # ac_fn_c_check_header_mongrel
1694 # ac_fn_c_try_run LINENO
1695 # ----------------------
1696 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1697 # that executables *can* be run.
1700 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701 if { { ac_try="$ac_link"
1703 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1704 *) ac_try_echo
=$ac_try;;
1706 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707 $as_echo "$ac_try_echo"; } >&5
1708 (eval "$ac_link") 2>&5
1710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1711 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1712 { { case "(($ac_try" in
1713 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1714 *) ac_try_echo=$ac_try;;
1716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1717 $as_echo "$ac_try_echo"; } >&5
1718 (eval "$ac_try") 2>&5
1720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721 test $ac_status = 0; }; }; then :
1724 $as_echo "$as_me: program exited with status $ac_status" >&5
1725 $as_echo "$as_me: failed program was:" >&5
1726 sed 's/^/| /' conftest.$ac_ext >&5
1728 ac_retval=$ac_status
1730 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1731 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1736 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1737 # -------------------------------------------------------
1738 # Tests whether HEADER exists and can be compiled using the include files in
1739 # INCLUDES, setting the cache variable VAR accordingly.
1740 ac_fn_c_check_header_compile ()
1742 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1744 $as_echo_n "checking for $2... " >&6; }
1745 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1746 $as_echo_n "(cached) " >&6
1748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1749 /* end confdefs.h. */
1753 if ac_fn_c_try_compile "$LINENO"; then :
1758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1762 $as_echo "$ac_res" >&6; }
1763 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1765 } # ac_fn_c_check_header_compile
1767 # ac_fn_c_try_link LINENO
1768 # -----------------------
1769 # Try to link conftest.$ac_ext, and return whether this succeeded.
1772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773 rm -f conftest.$ac_objext conftest$ac_exeext
1774 if { { ac_try="$ac_link"
1776 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1777 *) ac_try_echo
=$ac_try;;
1779 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1780 $as_echo "$ac_try_echo"; } >&5
1781 (eval "$ac_link") 2>conftest.err
1783 if test -s conftest.err
; then
1784 grep -v '^ *+' conftest.err
>conftest.er1
1785 cat conftest.er1
>&5
1786 mv -f conftest.er1 conftest.err
1788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1789 test $ac_status = 0; } && {
1790 test -z "$ac_c_werror_flag" ||
1791 test ! -s conftest.err
1792 } && test -s conftest
$ac_exeext && {
1793 test "$cross_compiling" = yes ||
1794 $as_test_x conftest
$ac_exeext
1798 $as_echo "$as_me: failed program was:" >&5
1799 sed 's/^/| /' conftest.
$ac_ext >&5
1803 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1804 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1805 # interfere with the next link command; also delete a directory that is
1806 # left behind by Apple's compiler. We do this before executing the actions.
1807 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1808 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1811 } # ac_fn_c_try_link
1813 # ac_fn_c_check_func LINENO FUNC VAR
1814 # ----------------------------------
1815 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1816 ac_fn_c_check_func
()
1818 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1820 $as_echo_n "checking for $2... " >&6; }
1821 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1822 $as_echo_n "(cached) " >&6
1824 if test x
$gcc_no_link = xyes
; then
1825 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1828 /* end confdefs.h. */
1829 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1831 #define $2 innocuous_$2
1833 /* System header to define __stub macros and hopefully few prototypes,
1834 which can conflict with char $2 (); below.
1835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1836 <limits.h> exists even on freestanding compilers. */
1839 # include <limits.h>
1841 # include <assert.h>
1846 /* Override any GCC internal prototype to avoid an error.
1847 Use char because int might match the return type of a GCC
1848 builtin and then its argument prototype would still apply. */
1853 /* The GNU C library defines this for functions which it implements
1854 to always fail with ENOSYS. Some functions are actually named
1855 something starting with __ and the normal name is an alias. */
1856 #if defined __stub_$2 || defined __stub___$2
1868 if ac_fn_c_try_link
"$LINENO"; then :
1873 rm -f core conftest.err conftest.
$ac_objext \
1874 conftest
$ac_exeext conftest.
$ac_ext
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1878 $as_echo "$ac_res" >&6; }
1879 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1881 } # ac_fn_c_check_func
1883 # ac_fn_fc_try_compile LINENO
1884 # ---------------------------
1885 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1886 ac_fn_fc_try_compile
()
1888 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1889 rm -f conftest.
$ac_objext
1890 if { { ac_try
="$ac_compile"
1892 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1893 *) ac_try_echo=$ac_try;;
1895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1896 $as_echo "$ac_try_echo"; } >&5
1897 (eval "$ac_compile") 2>conftest.err
1899 if test -s conftest.err; then
1900 grep -v '^ *+' conftest.err >conftest.er1
1901 cat conftest.er1 >&5
1902 mv -f conftest.er1 conftest.err
1904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1905 test $ac_status = 0; } && {
1906 test -z "$ac_fc_werror_flag" ||
1907 test ! -s conftest.err
1908 } && test -s conftest.$ac_objext; then :
1911 $as_echo "$as_me: failed program was:" >&5
1912 sed 's/^/| /' conftest.$ac_ext >&5
1916 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1919 } # ac_fn_fc_try_compile
1921 # ac_fn_fc_try_link LINENO
1922 # ------------------------
1923 # Try to link conftest.$ac_ext, and return whether this succeeded.
1924 ac_fn_fc_try_link ()
1926 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1927 rm -f conftest.$ac_objext conftest$ac_exeext
1928 if { { ac_try="$ac_link"
1930 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1931 *) ac_try_echo
=$ac_try;;
1933 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1934 $as_echo "$ac_try_echo"; } >&5
1935 (eval "$ac_link") 2>conftest.err
1937 if test -s conftest.err
; then
1938 grep -v '^ *+' conftest.err
>conftest.er1
1939 cat conftest.er1
>&5
1940 mv -f conftest.er1 conftest.err
1942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1943 test $ac_status = 0; } && {
1944 test -z "$ac_fc_werror_flag" ||
1945 test ! -s conftest.err
1946 } && test -s conftest
$ac_exeext && {
1947 test "$cross_compiling" = yes ||
1948 $as_test_x conftest
$ac_exeext
1952 $as_echo "$as_me: failed program was:" >&5
1953 sed 's/^/| /' conftest.
$ac_ext >&5
1957 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1958 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1959 # interfere with the next link command; also delete a directory that is
1960 # left behind by Apple's compiler. We do this before executing the actions.
1961 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1962 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1965 } # ac_fn_fc_try_link
1967 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1968 # -------------------------------------------
1969 # Tests whether TYPE exists after having included INCLUDES, setting cache
1970 # variable VAR accordingly.
1971 ac_fn_c_check_type
()
1973 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1975 $as_echo_n "checking for $2... " >&6; }
1976 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1977 $as_echo_n "(cached) " >&6
1980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1981 /* end confdefs.h. */
1992 if ac_fn_c_try_compile
"$LINENO"; then :
1993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1994 /* end confdefs.h. */
2005 if ac_fn_c_try_compile
"$LINENO"; then :
2010 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2016 $as_echo "$ac_res" >&6; }
2017 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2019 } # ac_fn_c_check_type
2021 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2022 # --------------------------------------------
2023 # Tries to find the compile-time value of EXPR in a program that includes
2024 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2026 ac_fn_c_compute_int
()
2028 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2029 if test "$cross_compiling" = yes; then
2030 # Depending upon the size, compute the lo and hi bounds.
2031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2032 /* end confdefs.h. */
2037 static int test_array [1 - 2 * !(($2) >= 0)];
2044 if ac_fn_c_try_compile
"$LINENO"; then :
2047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2048 /* end confdefs.h. */
2053 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2060 if ac_fn_c_try_compile
"$LINENO"; then :
2061 ac_hi
=$ac_mid; break
2063 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2064 if test $ac_lo -le $ac_mid; then
2068 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2074 /* end confdefs.h. */
2079 static int test_array [1 - 2 * !(($2) < 0)];
2086 if ac_fn_c_try_compile
"$LINENO"; then :
2089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2090 /* end confdefs.h. */
2095 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2102 if ac_fn_c_try_compile
"$LINENO"; then :
2103 ac_lo
=$ac_mid; break
2105 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2106 if test $ac_mid -le $ac_hi; then
2110 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2112 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2117 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2120 # Binary search between lo and hi bounds.
2121 while test "x$ac_lo" != "x$ac_hi"; do
2122 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2124 /* end confdefs.h. */
2129 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2136 if ac_fn_c_try_compile
"$LINENO"; then :
2139 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2141 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2144 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2149 /* end confdefs.h. */
2151 static long int longval () { return $2; }
2152 static unsigned long int ulongval () { return $2; }
2159 FILE *f = fopen ("conftest.val", "w");
2164 long int i = longval ();
2167 fprintf (f, "%ld", i);
2171 unsigned long int i = ulongval ();
2174 fprintf (f, "%lu", i);
2176 /* Do not output a trailing newline, as this causes \r\n confusion
2177 on some platforms. */
2178 return ferror (f) || fclose (f) != 0;
2184 if ac_fn_c_try_run
"$LINENO"; then :
2185 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2189 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2190 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2194 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2197 } # ac_fn_c_compute_int
2199 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2200 # ----------------------------------------------------
2201 # Tries to find if the field MEMBER exists in type AGGR, after including
2202 # INCLUDES, setting cache variable VAR accordingly.
2203 ac_fn_c_check_member
()
2205 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2207 $as_echo_n "checking for $2.$3... " >&6; }
2208 if { as_var
=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2209 $as_echo_n "(cached) " >&6
2211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2212 /* end confdefs.h. */
2224 if ac_fn_c_try_compile
"$LINENO"; then :
2227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2228 /* end confdefs.h. */
2234 if (sizeof ac_aggr.$3)
2240 if ac_fn_c_try_compile
"$LINENO"; then :
2245 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2247 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2251 $as_echo "$ac_res" >&6; }
2252 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2254 } # ac_fn_c_check_member
2255 cat >config.log
<<_ACEOF
2256 This file contains any messages produced by compilers while
2257 running configure, to aid debugging if configure makes a mistake.
2259 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2260 generated by GNU Autoconf 2.64. Invocation command line was
2272 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2273 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2274 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2275 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2276 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2278 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2279 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2281 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2282 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2283 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2284 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2285 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2286 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2287 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2295 test -z "$as_dir" && as_dir
=.
2296 $as_echo "PATH: $as_dir"
2312 # Keep a trace of the command line.
2313 # Strip out --no-create and --no-recursion so they do not pile up.
2314 # Strip out --silent because we don't want to record it for future runs.
2315 # Also quote any args containing shell meta-characters.
2316 # Make two passes to allow for proper duplicate-argument suppression.
2320 ac_must_keep_next
=false
2326 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2327 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2328 |
-silent |
--silent |
--silen |
--sile |
--sil)
2331 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2334 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2336 as_fn_append ac_configure_args1
" '$ac_arg'"
2337 if test $ac_must_keep_next = true
; then
2338 ac_must_keep_next
=false
# Got value, back to normal.
2341 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2342 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2343 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2344 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2345 case "$ac_configure_args0 " in
2346 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2349 -* ) ac_must_keep_next
=true
;;
2352 as_fn_append ac_configure_args
" '$ac_arg'"
2357 { ac_configure_args0
=; unset ac_configure_args0
;}
2358 { ac_configure_args1
=; unset ac_configure_args1
;}
2360 # When interrupted or exit'd, cleanup temporary files, and complete
2361 # config.log. We remove comments because anyway the quotes in there
2362 # would cause problems or look ugly.
2363 # WARNING: Use '\'' to represent an apostrophe within the trap.
2364 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2365 trap 'exit_status=$?
2366 # Save into config.log some information that might help in debugging.
2371 ## ---------------- ##
2372 ## Cache variables. ##
2373 ## ---------------- ##
2376 # The following way of writing the cache mishandles newlines in values,
2378 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2379 eval ac_val=\$$ac_var
2383 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2384 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2387 _ | IFS | as_nl) ;; #(
2388 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2389 *) { eval $ac_var=; unset $ac_var;} ;;
2394 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2395 *${as_nl}ac_space=\ *)
2397 "s/'\''/'\''\\\\'\'''\''/g;
2398 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2401 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2409 ## ----------------- ##
2410 ## Output variables. ##
2411 ## ----------------- ##
2414 for ac_var in $ac_subst_vars
2416 eval ac_val=\$$ac_var
2418 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2420 $as_echo "$ac_var='\''$ac_val'\''"
2424 if test -n "$ac_subst_files"; then
2426 ## ------------------- ##
2427 ## File substitutions. ##
2428 ## ------------------- ##
2431 for ac_var
in $ac_subst_files
2433 eval ac_val
=\$
$ac_var
2435 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2437 $as_echo "$ac_var='\''$ac_val'\''"
2442 if test -s confdefs.h; then
2452 test "$ac_signal" != 0 &&
2453 $as_echo "$as_me: caught signal $ac_signal"
2454 $as_echo "$as_me: exit $exit_status"
2456 rm -f core *.core core.conftest.* &&
2457 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2460 for ac_signal
in 1 2 13 15; do
2461 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2465 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2466 rm -f -r conftest
* confdefs.h
2468 $as_echo "/* confdefs.h */" > confdefs.h
2470 # Predefined preprocessor variables.
2472 cat >>confdefs.h
<<_ACEOF
2473 #define PACKAGE_NAME "$PACKAGE_NAME"
2476 cat >>confdefs.h
<<_ACEOF
2477 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2480 cat >>confdefs.h
<<_ACEOF
2481 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2484 cat >>confdefs.h
<<_ACEOF
2485 #define PACKAGE_STRING "$PACKAGE_STRING"
2488 cat >>confdefs.h
<<_ACEOF
2489 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2492 cat >>confdefs.h
<<_ACEOF
2493 #define PACKAGE_URL "$PACKAGE_URL"
2497 # Let the site file select an alternate cache file if it wants to.
2498 # Prefer an explicitly selected file to automatically selected ones.
2501 if test -n "$CONFIG_SITE"; then
2502 ac_site_file1
=$CONFIG_SITE
2503 elif test "x$prefix" != xNONE
; then
2504 ac_site_file1
=$prefix/share
/config.site
2505 ac_site_file2
=$prefix/etc
/config.site
2507 ac_site_file1
=$ac_default_prefix/share
/config.site
2508 ac_site_file2
=$ac_default_prefix/etc
/config.site
2510 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2512 test "x$ac_site_file" = xNONE
&& continue
2513 if test -r "$ac_site_file"; then
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2515 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2516 sed 's/^/| /' "$ac_site_file" >&5
2521 if test -r "$cache_file"; then
2522 # Some versions of bash will fail to source /dev/null (special
2523 # files actually), so we avoid doing that.
2524 if test -f "$cache_file"; then
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2526 $as_echo "$as_me: loading cache $cache_file" >&6;}
2528 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2529 *) .
"./$cache_file";;
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2534 $as_echo "$as_me: creating cache $cache_file" >&6;}
2538 as_fn_append ac_header_list
" unistd.h"
2539 as_fn_append ac_header_list
" sys/time.h"
2540 as_fn_append ac_header_list
" sys/times.h"
2541 as_fn_append ac_header_list
" sys/resource.h"
2542 as_fn_append ac_header_list
" sys/types.h"
2543 as_fn_append ac_header_list
" sys/stat.h"
2544 as_fn_append ac_header_list
" sys/wait.h"
2545 as_fn_append ac_header_list
" floatingpoint.h"
2546 as_fn_append ac_header_list
" ieeefp.h"
2547 as_fn_append ac_header_list
" fenv.h"
2548 as_fn_append ac_header_list
" fptrap.h"
2549 as_fn_append ac_header_list
" fpxcp.h"
2550 as_fn_append ac_header_list
" pwd.h"
2551 as_fn_append ac_header_list
" complex.h"
2552 as_fn_append ac_func_list
" getrusage"
2553 as_fn_append ac_func_list
" times"
2554 as_fn_append ac_func_list
" mkstemp"
2555 as_fn_append ac_func_list
" strtof"
2556 as_fn_append ac_func_list
" strtold"
2557 as_fn_append ac_func_list
" snprintf"
2558 as_fn_append ac_func_list
" ftruncate"
2559 as_fn_append ac_func_list
" chsize"
2560 as_fn_append ac_func_list
" chdir"
2561 as_fn_append ac_func_list
" getlogin"
2562 as_fn_append ac_func_list
" gethostname"
2563 as_fn_append ac_func_list
" kill"
2564 as_fn_append ac_func_list
" link"
2565 as_fn_append ac_func_list
" symlink"
2566 as_fn_append ac_func_list
" sleep"
2567 as_fn_append ac_func_list
" ttyname"
2568 as_fn_append ac_func_list
" alarm"
2569 as_fn_append ac_func_list
" access"
2570 as_fn_append ac_func_list
" fork"
2571 as_fn_append ac_func_list
" execl"
2572 as_fn_append ac_func_list
" wait"
2573 as_fn_append ac_func_list
" setmode"
2574 as_fn_append ac_func_list
" execve"
2575 as_fn_append ac_func_list
" pipe"
2576 as_fn_append ac_func_list
" dup2"
2577 as_fn_append ac_func_list
" close"
2578 as_fn_append ac_func_list
" fcntl"
2579 as_fn_append ac_func_list
" strcasestr"
2580 as_fn_append ac_func_list
" getrlimit"
2581 as_fn_append ac_func_list
" gettimeofday"
2582 as_fn_append ac_func_list
" stat"
2583 as_fn_append ac_func_list
" fstat"
2584 as_fn_append ac_func_list
" lstat"
2585 as_fn_append ac_func_list
" getpwuid"
2586 as_fn_append ac_func_list
" vsnprintf"
2587 as_fn_append ac_func_list
" dup"
2588 as_fn_append ac_func_list
" getcwd"
2589 as_fn_append ac_func_list
" localtime_r"
2590 as_fn_append ac_func_list
" gmtime_r"
2591 as_fn_append ac_func_list
" getpwuid_r"
2592 as_fn_append ac_func_list
" ttyname_r"
2593 as_fn_append ac_func_list
" clock_gettime"
2594 as_fn_append ac_func_list
" readlink"
2595 as_fn_append ac_func_list
" getgid"
2596 as_fn_append ac_func_list
" getpid"
2597 as_fn_append ac_func_list
" getppid"
2598 as_fn_append ac_func_list
" getuid"
2599 as_fn_append ac_func_list
" geteuid"
2600 as_fn_append ac_func_list
" umask"
2601 as_fn_append ac_func_list
" getegid"
2602 as_fn_append ac_func_list
" secure_getenv"
2603 as_fn_append ac_func_list
" __secure_getenv"
2604 as_fn_append ac_func_list
" mkostemp"
2605 as_fn_append ac_func_list
" strnlen"
2606 as_fn_append ac_func_list
" strndup"
2607 as_fn_append ac_header_list
" math.h"
2608 # Check that the precious variables saved in the cache have kept the same
2610 ac_cache_corrupted
=false
2611 for ac_var
in $ac_precious_vars; do
2612 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2613 eval ac_new_set
=\
$ac_env_${ac_var}_set
2614 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2615 eval ac_new_val
=\
$ac_env_${ac_var}_value
2616 case $ac_old_set,$ac_new_set in
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2619 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2620 ac_cache_corrupted
=: ;;
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2623 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2624 ac_cache_corrupted
=: ;;
2627 if test "x$ac_old_val" != "x$ac_new_val"; then
2628 # differences in whitespace do not lead to failure.
2629 ac_old_val_w
=`echo x $ac_old_val`
2630 ac_new_val_w
=`echo x $ac_new_val`
2631 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2633 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2634 ac_cache_corrupted
=:
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2637 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2638 eval $ac_var=\
$ac_old_val
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2641 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2643 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2646 # Pass precious variables to config.status.
2647 if test "$ac_new_set" = set; then
2649 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2650 *) ac_arg
=$ac_var=$ac_new_val ;;
2652 case " $ac_configure_args " in
2653 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2654 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2658 if $ac_cache_corrupted; then
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2660 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2662 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2663 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2665 ## -------------------- ##
2666 ## Main body of script. ##
2667 ## -------------------- ##
2670 ac_cpp
='$CPP $CPPFLAGS'
2671 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2672 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2673 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2679 ac_config_headers
="$ac_config_headers config.h"
2682 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2683 for ac_t
in install-sh
install.sh shtool
; do
2684 if test -f "$ac_dir/$ac_t"; then
2686 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2691 if test -z "$ac_aux_dir"; then
2692 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2695 # These three variables are undocumented and unsupported,
2696 # and are intended to be withdrawn in a future Autoconf release.
2697 # They can cause serious problems if a builder's source tree is in a directory
2698 # whose full name contains unusual characters.
2699 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2700 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2701 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2704 # Make sure we can run config.sub.
2705 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2706 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2709 $as_echo_n "checking build system type... " >&6; }
2710 if test "${ac_cv_build+set}" = set; then :
2711 $as_echo_n "(cached) " >&6
2713 ac_build_alias
=$build_alias
2714 test "x$ac_build_alias" = x
&&
2715 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2716 test "x$ac_build_alias" = x
&&
2717 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2718 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2719 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2723 $as_echo "$ac_cv_build" >&6; }
2724 case $ac_cv_build in
2726 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2729 ac_save_IFS
=$IFS; IFS
='-'
2735 # Remember, the first character of IFS is used to create $*,
2736 # except with old shells:
2739 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2742 case ${build_alias} in
2743 "") build_noncanonical
=${build} ;;
2744 *) build_noncanonical
=${build_alias} ;;
2747 case ${host_alias} in
2748 "") host_noncanonical
=${build_noncanonical} ;;
2749 *) host_noncanonical
=${host_alias} ;;
2752 case ${target_alias} in
2753 "") target_noncanonical
=${host_noncanonical} ;;
2754 *) target_noncanonical
=${target_alias} ;;
2758 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2759 # have matching libraries, they should use host libraries: Makefile.tpl
2760 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2761 # However, they still use the build modules, because the corresponding
2762 # host modules (e.g. bison) are only built for the host when bootstrap
2764 # - build_subdir is where we find build modules, and never changes.
2765 # - build_libsubdir is where we find build libraries, and can be overridden.
2767 # Prefix 'build-' so this never conflicts with target_subdir.
2768 build_subdir
="build-${build_noncanonical}"
2770 # Check whether --with-build-libsubdir was given.
2771 if test "${with_build_libsubdir+set}" = set; then :
2772 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2774 build_libsubdir
="$build_subdir"
2777 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2778 if ( test $srcdir = .
&& test -d gcc
) \
2779 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2780 host_subdir
="host-${host_noncanonical}"
2785 target_subdir
=${target_noncanonical}
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2793 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2794 # Check whether --enable-version-specific-runtime-libs was given.
2795 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2796 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2797 yes) version_specific_libs
=yes ;;
2798 no
) version_specific_libs
=no
;;
2799 *) as_fn_error
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2802 version_specific_libs
=no
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2806 $as_echo "$version_specific_libs" >&6; }
2808 # Build with intermodule optimisations
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2810 $as_echo_n "checking for --enable-intermodule... " >&6; }
2811 # Check whether --enable-intermodule was given.
2812 if test "${enable_intermodule+set}" = set; then :
2813 enableval
=$enable_intermodule; case "$enable_intermodule" in
2814 yes) onestep
="-onestep";;
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2822 $as_echo "$enable_intermodule" >&6; }
2823 if test x
$onestep = x-onestep
; then
2833 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2835 # You will slowly go insane if you do not grok the following fact: when
2836 # building this library, the top-level /target/ becomes the library's /host/.
2838 # configure then causes --target to default to --host, exactly like any
2839 # other package using autoconf. Therefore, 'target' and 'host' will
2840 # always be the same. This makes sense both for native and cross compilers
2841 # just think about it for a little while. :-)
2843 # Also, if this library is being configured as part of a cross compiler, the
2844 # top-level configure script will pass the "real" host as $with_cross_host.
2846 # Do not delete or change the following two lines. For why, see
2847 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2849 $as_echo_n "checking host system type... " >&6; }
2850 if test "${ac_cv_host+set}" = set; then :
2851 $as_echo_n "(cached) " >&6
2853 if test "x$host_alias" = x
; then
2854 ac_cv_host
=$ac_cv_build
2856 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2857 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2862 $as_echo "$ac_cv_host" >&6; }
2865 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2868 ac_save_IFS
=$IFS; IFS
='-'
2874 # Remember, the first character of IFS is used to create $*,
2875 # except with old shells:
2878 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2882 $as_echo_n "checking target system type... " >&6; }
2883 if test "${ac_cv_target+set}" = set; then :
2884 $as_echo_n "(cached) " >&6
2886 if test "x$target_alias" = x
; then
2887 ac_cv_target
=$ac_cv_host
2889 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2890 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2895 $as_echo "$ac_cv_target" >&6; }
2896 case $ac_cv_target in
2898 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2900 target
=$ac_cv_target
2901 ac_save_IFS
=$IFS; IFS
='-'
2907 # Remember, the first character of IFS is used to create $*,
2908 # except with old shells:
2911 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2914 # The aliases save the names the user supplied, while $host etc.
2915 # will get canonicalized.
2916 test -n "$target_alias" &&
2917 test "$program_prefix$program_suffix$program_transform_name" = \
2919 program_prefix
=${target_alias}-
2924 target_alias
=${target_alias-$host_alias}
2927 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2928 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2929 # 1.9.6: minimum required version
2930 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2931 # of other PACKAGE_* variables will, however, and there's nothing
2932 # we can do about that; they come from AC_INIT).
2933 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2934 # file in the top srcdir, etc, etc), so stop complaining.
2935 # no-dist: we don't want 'dist' and related rules.
2936 # -Wall: turns on all automake warnings...
2937 # -Wno-portability: ...except this one, since GNU make is required.
2938 am__api_version
='1.11'
2940 # Find a good install program. We prefer a C program (faster),
2941 # so one script is as good as another. But avoid the broken or
2942 # incompatible versions:
2943 # SysV /etc/install, /usr/sbin/install
2944 # SunOS /usr/etc/install
2945 # IRIX /sbin/install
2947 # AmigaOS /C/install, which installs bootblocks on floppy discs
2948 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2949 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2950 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2951 # OS/2's system install, which has a completely different semantic
2952 # ./install, which can be erroneously created by make from ./install.sh.
2953 # Reject install programs that cannot install multiple files.
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2955 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2956 if test -z "$INSTALL"; then
2957 if test "${ac_cv_path_install+set}" = set; then :
2958 $as_echo_n "(cached) " >&6
2960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2964 test -z "$as_dir" && as_dir
=.
2965 # Account for people who put trailing slashes in PATH elements.
2966 case $as_dir/ in #((
2967 .
/ | .
// |
/[cC
]/* | \
2968 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2969 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2972 # OSF1 and SCO ODT 3.0 have their own names for install.
2973 # Don't use installbsd from OSF since it installs stuff as root
2975 for ac_prog
in ginstall scoinst
install; do
2976 for ac_exec_ext
in '' $ac_executable_extensions; do
2977 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2978 if test $ac_prog = install &&
2979 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2980 # AIX install. It has an incompatible calling convention.
2982 elif test $ac_prog = install &&
2983 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2984 # program-specific install script used by HP pwplus--don't use.
2987 rm -rf conftest.one conftest.two conftest.dir
2988 echo one
> conftest.one
2989 echo two
> conftest.two
2991 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2992 test -s conftest.one
&& test -s conftest.two
&&
2993 test -s conftest.dir
/conftest.one
&&
2994 test -s conftest.dir
/conftest.two
2996 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3009 rm -rf conftest.one conftest.two conftest.dir
3012 if test "${ac_cv_path_install+set}" = set; then
3013 INSTALL
=$ac_cv_path_install
3015 # As a last resort, use the slow shell script. Don't cache a
3016 # value for INSTALL within a source directory, because that will
3017 # break other packages using the cache if that directory is
3018 # removed, or if the value is a relative name.
3019 INSTALL
=$ac_install_sh
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3023 $as_echo "$INSTALL" >&6; }
3025 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3026 # It thinks the first close brace ends the variable substitution.
3027 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3029 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3031 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3034 $as_echo_n "checking whether build environment is sane... " >&6; }
3037 echo timestamp
> conftest.
file
3038 # Reject unsafe characters in $srcdir or the absolute working directory
3039 # name. Accept space and tab only in the latter.
3043 *[\\\"\
#\$\&\'\`$am_lf]*)
3044 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
3047 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3048 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3051 # Do `set' in a subshell so we don't clobber the current shell's
3052 # arguments. Must try -L first in case configure is actually a
3053 # symlink; some systems play weird games with the mod time of symlinks
3054 # (eg FreeBSD returns the mod time of the symlink's containing
3057 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3058 if test "$*" = "X"; then
3060 set X
`ls -t "$srcdir/configure" conftest.file`
3063 if test "$*" != "X $srcdir/configure conftest.file" \
3064 && test "$*" != "X conftest.file $srcdir/configure"; then
3066 # If neither matched, then we have a broken ls. This can happen
3067 # if, for instance, CONFIG_SHELL is bash and it inherits a
3068 # broken ls alias from the environment. This has actually
3069 # happened. Such a system could not be considered "sane".
3070 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
3071 alias in your environment" "$LINENO" 5
3074 test "$2" = conftest.
file
3080 as_fn_error
"newly created file is older than distributed files!
3081 Check your system clock" "$LINENO" 5
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3084 $as_echo "yes" >&6; }
3085 test "$program_prefix" != NONE
&&
3086 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3087 # Use a double $ so make ignores it.
3088 test "$program_suffix" != NONE
&&
3089 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3090 # Double any \ or $.
3091 # By default was `s,x,x', remove it if useless.
3092 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3093 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3095 # expand $ac_aux_dir to an absolute path
3096 am_aux_dir
=`cd $ac_aux_dir && pwd`
3098 if test x
"${MISSING+set}" != xset
; then
3101 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3103 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3106 # Use eval to expand $SHELL
3107 if eval "$MISSING --run true"; then
3108 am_missing_run
="$MISSING --run "
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3112 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3115 if test x
"${install_sh}" != xset
; then
3118 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3120 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3124 # Installed binaries are usually stripped using `strip' when the user
3125 # run `make install-strip'. However `strip' might not be the right
3126 # tool to use in cross-compilation environments, therefore Automake
3127 # will honor the `STRIP' environment variable to overrule this program.
3128 if test "$cross_compiling" != no
; then
3129 if test -n "$ac_tool_prefix"; then
3130 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3131 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3133 $as_echo_n "checking for $ac_word... " >&6; }
3134 if test "${ac_cv_prog_STRIP+set}" = set; then :
3135 $as_echo_n "(cached) " >&6
3137 if test -n "$STRIP"; then
3138 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3144 test -z "$as_dir" && as_dir
=.
3145 for ac_exec_ext
in '' $ac_executable_extensions; do
3146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3147 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3157 STRIP
=$ac_cv_prog_STRIP
3158 if test -n "$STRIP"; then
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3160 $as_echo "$STRIP" >&6; }
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3163 $as_echo "no" >&6; }
3168 if test -z "$ac_cv_prog_STRIP"; then
3170 # Extract the first word of "strip", so it can be a program name with args.
3171 set dummy strip
; ac_word
=$2
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3173 $as_echo_n "checking for $ac_word... " >&6; }
3174 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3175 $as_echo_n "(cached) " >&6
3177 if test -n "$ac_ct_STRIP"; then
3178 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3184 test -z "$as_dir" && as_dir
=.
3185 for ac_exec_ext
in '' $ac_executable_extensions; do
3186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3187 ac_cv_prog_ac_ct_STRIP
="strip"
3188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3197 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3198 if test -n "$ac_ct_STRIP"; then
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3200 $as_echo "$ac_ct_STRIP" >&6; }
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3203 $as_echo "no" >&6; }
3206 if test "x$ac_ct_STRIP" = x
; then
3209 case $cross_compiling:$ac_tool_warned in
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3213 ac_tool_warned
=yes ;;
3218 STRIP
="$ac_cv_prog_STRIP"
3222 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3225 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3226 if test -z "$MKDIR_P"; then
3227 if test "${ac_cv_path_mkdir+set}" = set; then :
3228 $as_echo_n "(cached) " >&6
3230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3231 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3234 test -z "$as_dir" && as_dir
=.
3235 for ac_prog
in mkdir gmkdir
; do
3236 for ac_exec_ext
in '' $ac_executable_extensions; do
3237 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
3238 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3239 'mkdir (GNU coreutils) '* | \
3240 'mkdir (coreutils) '* | \
3241 'mkdir (fileutils) '4.1*)
3242 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3252 if test "${ac_cv_path_mkdir+set}" = set; then
3253 MKDIR_P
="$ac_cv_path_mkdir -p"
3255 # As a last resort, use the slow shell script. Don't cache a
3256 # value for MKDIR_P within a source directory, because that will
3257 # break other packages using the cache if that directory is
3258 # removed, or if the value is a relative name.
3259 test -d .
/--version && rmdir .
/--version
3260 MKDIR_P
="$ac_install_sh -d"
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3264 $as_echo "$MKDIR_P" >&6; }
3268 [\\/$
]* | ?
:[\\/]*) ;;
3269 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3272 for ac_prog
in gawk mawk nawk
awk
3274 # Extract the first word of "$ac_prog", so it can be a program name with args.
3275 set dummy
$ac_prog; ac_word
=$2
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3277 $as_echo_n "checking for $ac_word... " >&6; }
3278 if test "${ac_cv_prog_AWK+set}" = set; then :
3279 $as_echo_n "(cached) " >&6
3281 if test -n "$AWK"; then
3282 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3288 test -z "$as_dir" && as_dir
=.
3289 for ac_exec_ext
in '' $ac_executable_extensions; do
3290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3291 ac_cv_prog_AWK
="$ac_prog"
3292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3302 if test -n "$AWK"; then
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3304 $as_echo "$AWK" >&6; }
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3307 $as_echo "no" >&6; }
3311 test -n "$AWK" && break
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3315 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3317 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3318 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3319 $as_echo_n "(cached) " >&6
3321 cat >conftest.
make <<\_ACEOF
3324 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3326 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3327 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3329 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3331 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3335 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3337 $as_echo "yes" >&6; }
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3341 $as_echo "no" >&6; }
3342 SET_MAKE
="MAKE=${MAKE-make}"
3345 rm -rf .tst
2>/dev
/null
3346 mkdir .tst
2>/dev
/null
3347 if test -d .tst
; then
3352 rmdir .tst
2>/dev
/null
3354 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3355 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3356 # is not polluted with repeated "-I."
3357 am__isrc
=' -I$(srcdir)'
3358 # test to see if srcdir already configured
3359 if test -f $srcdir/config.status
; then
3360 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3364 # test whether we have cygpath
3365 if test -z "$CYGPATH_W"; then
3366 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3367 CYGPATH_W
='cygpath -w'
3374 # Define the identity of the package.
3375 PACKAGE
='libgfortran'
3379 # Some tools Automake needs.
3381 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3384 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3387 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3390 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3393 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3395 # We need awk for the "check" target. The system "awk" is bad on
3397 # Always define AMTAR for backward compatibility. Yes, it's still used
3398 # in the wild :-( We should find a proper way to deprecate it ...
3401 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3410 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3411 # Check whether --enable-maintainer-mode was given.
3412 if test "${enable_maintainer_mode+set}" = set; then :
3413 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3415 USE_MAINTAINER_MODE
=no
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3419 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3420 if test $USE_MAINTAINER_MODE = yes; then
3421 MAINTAINER_MODE_TRUE
=
3422 MAINTAINER_MODE_FALSE
='#'
3424 MAINTAINER_MODE_TRUE
='#'
3425 MAINTAINER_MODE_FALSE
=
3428 MAINT
=$MAINTAINER_MODE_TRUE
3431 # Default to --enable-multilib
3432 # Check whether --enable-multilib was given.
3433 if test "${enable_multilib+set}" = set; then :
3434 enableval
=$enable_multilib; case "$enableval" in
3435 yes) multilib
=yes ;;
3437 *) as_fn_error
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3444 # We may get other options which we leave undocumented:
3445 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3446 # See config-ml.in if you want the gory details.
3448 if test "$srcdir" = "."; then
3449 if test "$with_target_subdir" != "."; then
3450 multi_basedir
="$srcdir/$with_multisrctop../.."
3452 multi_basedir
="$srcdir/$with_multisrctop.."
3455 multi_basedir
="$srcdir/.."
3459 # Even if the default multilib is not a cross compilation,
3460 # it may be that some of the other multilibs are.
3461 if test $cross_compiling = no
&& test $multilib = yes \
3462 && test "x${with_multisubdir}" != x
; then
3463 cross_compiling
=maybe
3466 ac_config_commands
="$ac_config_commands default-1"
3469 # Handy for debugging:
3470 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3472 # Are we being configured with some form of cross compiler?
3473 # NB: We don't actually need to know this just now, but when, say, a test
3474 # suite is included, we'll have to know.
3475 if test "$build" != "$host"; then
3476 LIBGFOR_IS_NATIVE
=false
3479 LIBGFOR_IS_NATIVE
=true
3482 DEPDIR
="${am__leading_dot}deps"
3484 ac_config_commands
="$ac_config_commands depfiles"
3487 am_make
=${MAKE-make}
3488 cat > confinc
<< 'END'
3490 @
echo this is the am__doit target
3493 # If we don't find an include directive, just comment out the code.
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3495 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3499 # First try GNU make style include.
3500 echo "include confinc" > confmf
3501 # Ignore all kinds of additional output from `make'.
3502 case `$am_make -s -f confmf 2> /dev/null` in #(
3503 *the\ am__doit\ target
*)
3509 # Now try BSD make style include.
3510 if test "$am__include" = "#"; then
3511 echo '.include "confinc"' > confmf
3512 case `$am_make -s -f confmf 2> /dev/null` in #(
3513 *the\ am__doit\ target
*)
3514 am__include
=.include
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3523 $as_echo "$_am_result" >&6; }
3524 rm -f confinc confmf
3526 # Check whether --enable-dependency-tracking was given.
3527 if test "${enable_dependency_tracking+set}" = set; then :
3528 enableval
=$enable_dependency_tracking;
3531 if test "x$enable_dependency_tracking" != xno
; then
3532 am_depcomp
="$ac_aux_dir/depcomp"
3536 if test "x$enable_dependency_tracking" != xno; then
3546 ac_cpp
='$CPP $CPPFLAGS'
3547 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3548 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3549 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3550 if test -n "$ac_tool_prefix"; then
3551 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3552 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3554 $as_echo_n "checking for $ac_word... " >&6; }
3555 if test "${ac_cv_prog_CC+set}" = set; then :
3556 $as_echo_n "(cached) " >&6
3558 if test -n "$CC"; then
3559 ac_cv_prog_CC
="$CC" # Let the user override the test.
3561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3565 test -z "$as_dir" && as_dir
=.
3566 for ac_exec_ext
in '' $ac_executable_extensions; do
3567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3568 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3579 if test -n "$CC"; then
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3581 $as_echo "$CC" >&6; }
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3584 $as_echo "no" >&6; }
3589 if test -z "$ac_cv_prog_CC"; then
3591 # Extract the first word of "gcc", so it can be a program name with args.
3592 set dummy gcc
; ac_word
=$2
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3594 $as_echo_n "checking for $ac_word... " >&6; }
3595 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3596 $as_echo_n "(cached) " >&6
3598 if test -n "$ac_ct_CC"; then
3599 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3605 test -z "$as_dir" && as_dir
=.
3606 for ac_exec_ext
in '' $ac_executable_extensions; do
3607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3608 ac_cv_prog_ac_ct_CC
="gcc"
3609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3618 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3619 if test -n "$ac_ct_CC"; then
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3621 $as_echo "$ac_ct_CC" >&6; }
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3624 $as_echo "no" >&6; }
3627 if test "x$ac_ct_CC" = x
; then
3630 case $cross_compiling:$ac_tool_warned in
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3633 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3634 ac_tool_warned
=yes ;;
3642 if test -z "$CC"; then
3643 if test -n "$ac_tool_prefix"; then
3644 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3645 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3647 $as_echo_n "checking for $ac_word... " >&6; }
3648 if test "${ac_cv_prog_CC+set}" = set; then :
3649 $as_echo_n "(cached) " >&6
3651 if test -n "$CC"; then
3652 ac_cv_prog_CC
="$CC" # Let the user override the test.
3654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3658 test -z "$as_dir" && as_dir
=.
3659 for ac_exec_ext
in '' $ac_executable_extensions; do
3660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3661 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3672 if test -n "$CC"; then
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3674 $as_echo "$CC" >&6; }
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3677 $as_echo "no" >&6; }
3683 if test -z "$CC"; then
3684 # Extract the first word of "cc", so it can be a program name with args.
3685 set dummy cc
; ac_word
=$2
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3687 $as_echo_n "checking for $ac_word... " >&6; }
3688 if test "${ac_cv_prog_CC+set}" = set; then :
3689 $as_echo_n "(cached) " >&6
3691 if test -n "$CC"; then
3692 ac_cv_prog_CC
="$CC" # Let the user override the test.
3695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3699 test -z "$as_dir" && as_dir
=.
3700 for ac_exec_ext
in '' $ac_executable_extensions; do
3701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3702 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3703 ac_prog_rejected
=yes
3707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3714 if test $ac_prog_rejected = yes; then
3715 # We found a bogon in the path, so make sure we never use it.
3716 set dummy
$ac_cv_prog_CC
3718 if test $# != 0; then
3719 # We chose a different compiler from the bogus one.
3720 # However, it has the same basename, so the bogon will be chosen
3721 # first if we set CC to just the basename; use the full file name.
3723 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3729 if test -n "$CC"; then
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3731 $as_echo "$CC" >&6; }
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3734 $as_echo "no" >&6; }
3739 if test -z "$CC"; then
3740 if test -n "$ac_tool_prefix"; then
3741 for ac_prog
in cl.exe
3743 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3744 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3746 $as_echo_n "checking for $ac_word... " >&6; }
3747 if test "${ac_cv_prog_CC+set}" = set; then :
3748 $as_echo_n "(cached) " >&6
3750 if test -n "$CC"; then
3751 ac_cv_prog_CC
="$CC" # Let the user override the test.
3753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3757 test -z "$as_dir" && as_dir
=.
3758 for ac_exec_ext
in '' $ac_executable_extensions; do
3759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3760 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3771 if test -n "$CC"; then
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3773 $as_echo "$CC" >&6; }
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3776 $as_echo "no" >&6; }
3780 test -n "$CC" && break
3783 if test -z "$CC"; then
3785 for ac_prog
in cl.exe
3787 # Extract the first word of "$ac_prog", so it can be a program name with args.
3788 set dummy
$ac_prog; ac_word
=$2
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3790 $as_echo_n "checking for $ac_word... " >&6; }
3791 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3792 $as_echo_n "(cached) " >&6
3794 if test -n "$ac_ct_CC"; then
3795 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3801 test -z "$as_dir" && as_dir
=.
3802 for ac_exec_ext
in '' $ac_executable_extensions; do
3803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3804 ac_cv_prog_ac_ct_CC
="$ac_prog"
3805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3814 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3815 if test -n "$ac_ct_CC"; then
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3817 $as_echo "$ac_ct_CC" >&6; }
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3820 $as_echo "no" >&6; }
3824 test -n "$ac_ct_CC" && break
3827 if test "x$ac_ct_CC" = x
; then
3830 case $cross_compiling:$ac_tool_warned in
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3833 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3834 ac_tool_warned
=yes ;;
3843 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3844 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3845 as_fn_error
"no acceptable C compiler found in \$PATH
3846 See \`config.log' for more details." "$LINENO" 5; }
3848 # Provide some information about the compiler.
3849 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3852 for ac_option
in --version -v -V -qversion; do
3853 { { ac_try
="$ac_compiler $ac_option >&5"
3855 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3856 *) ac_try_echo=$ac_try;;
3858 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3859 $as_echo "$ac_try_echo"; } >&5
3860 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3862 if test -s conftest.err; then
3864 ... rest of stderr output deleted ...
3865 10q' conftest.err >conftest.er1
3866 cat conftest.er1 >&5
3867 rm -f conftest.er1 conftest.err
3869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3870 test $ac_status = 0; }
3873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3874 /* end confdefs.h. */
3885 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3886 (eval $ac_link) 2>&5
3888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3889 test $ac_status = 0; }; then :
3894 if test x$gcc_no_link = xyes; then
3895 # Setting cross_compile will disable run tests; it will
3896 # also disable AC_CHECK_FILE but that's generally
3897 # correct if we can't link.
3901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3902 /* end confdefs.h. */
3912 ac_clean_files_save=$ac_clean_files
3913 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3914 # Try to create an executable without -o first, disregard a.out.
3915 # It will help us diagnose broken compilers, and finding out an intuition
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3918 $as_echo_n "checking for C compiler default output file name... " >&6; }
3919 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3921 # The possible output files:
3922 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3925 for ac_file in $ac_files
3928 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3929 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3934 if { { ac_try="$ac_link_default"
3936 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3937 *) ac_try_echo
=$ac_try;;
3939 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3940 $as_echo "$ac_try_echo"; } >&5
3941 (eval "$ac_link_default") 2>&5
3943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3944 test $ac_status = 0; }; then :
3945 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3946 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3947 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3948 # so that the user can short-circuit this test for compilers unknown to
3950 for ac_file
in $ac_files ''
3952 test -f "$ac_file" ||
continue
3954 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3957 # We found the default executable, but exeext='' is most
3961 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3963 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3965 # We set ac_cv_exeext here because the later test for it is not
3966 # safe: cross compilers may not add the suffix if given an `-o'
3967 # argument, so we may need to know it at that point already.
3968 # Even if this section looks crufty: it has the advantage of
3975 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3981 $as_echo "$ac_file" >&6; }
3982 if test -z "$ac_file"; then :
3983 $as_echo "$as_me: failed program was:" >&5
3984 sed 's/^/| /' conftest.
$ac_ext >&5
3986 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3987 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3988 { as_fn_set_status
77
3989 as_fn_error
"C compiler cannot create executables
3990 See \`config.log' for more details." "$LINENO" 5; }; }
3992 ac_exeext
=$ac_cv_exeext
3994 # Check that the compiler produces executables we can run. If not, either
3995 # the compiler is broken, or we cross compile.
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3997 $as_echo_n "checking whether the C compiler works... " >&6; }
3998 # If not cross compiling, check that we can run a simple program.
3999 if test "$cross_compiling" != yes; then
4000 if { ac_try
='./$ac_file'
4001 { { case "(($ac_try" in
4002 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4003 *) ac_try_echo=$ac_try;;
4005 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4006 $as_echo "$ac_try_echo"; } >&5
4007 (eval "$ac_try") 2>&5
4009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4010 test $ac_status = 0; }; }; then
4013 if test "$cross_compiling" = maybe; then
4016 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4017 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4018 as_fn_error "cannot run C compiled programs.
4019 If you meant to cross compile
, use \
`--host'.
4020 See \`config.log
' for more details." "$LINENO" 5; }
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4025 $as_echo "yes" >&6; }
4027 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4028 ac_clean_files=$ac_clean_files_save
4029 # Check that the compiler produces executables we can run. If not, either
4030 # the compiler is broken, or we cross compile.
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4032 $as_echo_n "checking whether we are cross compiling... " >&6; }
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4034 $as_echo "$cross_compiling" >&6; }
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4037 $as_echo_n "checking for suffix of executables... " >&6; }
4038 if { { ac_try="$ac_link"
4040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4041 *) ac_try_echo=$ac_try;;
4043 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4044 $as_echo "$ac_try_echo"; } >&5
4045 (eval "$ac_link") 2>&5
4047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4048 test $ac_status = 0; }; then :
4049 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4050 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4051 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4053 for ac_file
in conftest.exe conftest conftest.
*; do
4054 test -f "$ac_file" ||
continue
4056 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4057 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4063 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4064 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4065 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4066 See \`config.log' for more details." "$LINENO" 5; }
4068 rm -f conftest
$ac_cv_exeext
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4070 $as_echo "$ac_cv_exeext" >&6; }
4072 rm -f conftest.
$ac_ext
4073 EXEEXT
=$ac_cv_exeext
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4077 $as_echo_n "checking for suffix of object files... " >&6; }
4078 if test "${ac_cv_objext+set}" = set; then :
4079 $as_echo_n "(cached) " >&6
4081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4082 /* end confdefs.h. */
4092 rm -f conftest.o conftest.obj
4093 if { { ac_try
="$ac_compile"
4095 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4096 *) ac_try_echo=$ac_try;;
4098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4099 $as_echo "$ac_try_echo"; } >&5
4100 (eval "$ac_compile") 2>&5
4102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4103 test $ac_status = 0; }; then :
4104 for ac_file in conftest.o conftest.obj conftest.*; do
4105 test -f "$ac_file" || continue;
4107 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4108 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4113 $as_echo "$as_me: failed program was:" >&5
4114 sed 's/^/| /' conftest.$ac_ext >&5
4116 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4118 as_fn_error "cannot compute suffix of object files
: cannot compile
4119 See \
`config.log' for more details." "$LINENO" 5; }
4121 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4124 $as_echo "$ac_cv_objext" >&6; }
4125 OBJEXT=$ac_cv_objext
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4128 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4129 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4130 $as_echo_n "(cached) " >&6
4132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4133 /* end confdefs.h. */
4146 if ac_fn_c_try_compile "$LINENO"; then :
4151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4152 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4156 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4157 if test $ac_compiler_gnu = yes; then
4162 ac_test_CFLAGS=${CFLAGS+set}
4163 ac_save_CFLAGS=$CFLAGS
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4165 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4166 if test "${ac_cv_prog_cc_g+set}" = set; then :
4167 $as_echo_n "(cached) " >&6
4169 ac_save_c_werror_flag=$ac_c_werror_flag
4170 ac_c_werror_flag=yes
4173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4174 /* end confdefs.h. */
4184 if ac_fn_c_try_compile "$LINENO"; then :
4188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4189 /* end confdefs.h. */
4199 if ac_fn_c_try_compile "$LINENO"; then :
4202 ac_c_werror_flag=$ac_save_c_werror_flag
4204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4205 /* end confdefs.h. */
4215 if ac_fn_c_try_compile "$LINENO"; then :
4218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4223 ac_c_werror_flag=$ac_save_c_werror_flag
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4226 $as_echo "$ac_cv_prog_cc_g" >&6; }
4227 if test "$ac_test_CFLAGS" = set; then
4228 CFLAGS=$ac_save_CFLAGS
4229 elif test $ac_cv_prog_cc_g = yes; then
4230 if test "$GCC" = yes; then
4236 if test "$GCC" = yes; then
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4243 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4244 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4245 $as_echo_n "(cached) " >&6
4247 ac_cv_prog_cc_c89=no
4249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4250 /* end confdefs.h. */
4253 #include <sys/types.h>
4254 #include <sys/stat.h>
4255 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4256 struct buf { int x; };
4257 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4258 static char *e (p, i)
4264 static char *f (char * (*g) (char **, int), char **p, ...)
4269 s = g (p, va_arg (v,int));
4274 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4275 function prototypes and stuff, but not '\xHH' hex character constants.
4276 These don't provoke an error unfortunately, instead are silently treated
4277 as 'x'. The following induces an error, until -std is added to get
4278 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4279 array size at least. It's necessary to write '\x00'==0 to get something
4280 that's true only with -std. */
4281 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4283 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4284 inside strings and character constants. */
4286 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4288 int test (int i, double x);
4289 struct s1 {int (*f) (int a);};
4290 struct s2 {int (*f) (double a);};
4291 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4297 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4302 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4303 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4305 CC="$ac_save_CC $ac_arg"
4306 if ac_fn_c_try_compile "$LINENO"; then :
4307 ac_cv_prog_cc_c89=$ac_arg
4309 rm -f core conftest.err conftest.$ac_objext
4310 test "x$ac_cv_prog_cc_c89" != "xno" && break
4312 rm -f conftest.$ac_ext
4317 case "x$ac_cv_prog_cc_c89" in
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4320 $as_echo "none needed" >&6; } ;;
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4323 $as_echo "unsupported" >&6; } ;;
4325 CC="$CC $ac_cv_prog_cc_c89"
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4327 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4329 if test "x$ac_cv_prog_cc_c89" != xno; then :
4334 ac_cpp='$CPP $CPPFLAGS'
4335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4339 depcc="$CC" am_compiler_list=
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4342 $as_echo_n "checking dependency style of $depcc... " >&6; }
4343 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4344 $as_echo_n "(cached) " >&6
4346 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4347 # We make a subdir and do the tests there. Otherwise we can end up
4348 # making bogus files that we don't know about and never remove. For
4349 # instance it was reported that on HP-UX the gcc test will end up
4350 # making a dummy file named `D
' -- because `-MD' means
`put the output
4354 # Copy depcomp to subdir because otherwise we won't find it if we're
4355 # using a relative directory.
4356 cp "$am_depcomp" conftest.dir
4358 # We will build objects and dependencies in a subdirectory because
4359 # it helps to detect inapplicable dependency modes. For instance
4360 # both Tru64's cc and ICC support -MD to output dependencies as a
4361 # side effect of compilation, but ICC will put the dependencies in
4362 # the current directory while Tru64 will put them in the object
4366 am_cv_CC_dependencies_compiler_type=none
4367 if test "$am_compiler_list" = ""; then
4368 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4371 case " $depcc " in #(
4372 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4375 for depmode in $am_compiler_list; do
4376 # Setup a source with many dependencies, because some compilers
4377 # like to wrap large dependency lists on column 80 (with \), and
4378 # we should not choose a depcomp mode which is confused by this.
4380 # We need to recreate these files for each test, as the compiler may
4381 # overwrite some of them when testing with obscure command lines.
4382 # This happens at least with the AIX C compiler.
4384 for i in 1 2 3 4 5 6; do
4385 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4386 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
4387 # Solaris 8's
{/usr
,}/bin
/sh.
4388 touch sub
/conftst
$i.h
4390 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4392 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4393 # mode. It turns out that the SunPro C++ compiler does not properly
4394 # handle `-M -o', and we need to detect this. Also, some Intel
4395 # versions had trouble with output in subdirs
4396 am__obj
=sub
/conftest.
${OBJEXT-o}
4397 am__minus_obj
="-o $am__obj"
4400 # This depmode causes a compiler race in universal mode.
4401 test "$am__universal" = false ||
continue
4404 # after this tag, mechanisms are not by side-effect, so they'll
4405 # only be used when explicitly requested
4406 if test "x$enable_dependency_tracking" = xyes
; then
4412 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4413 # This compiler won't grok `-c -o', but also, the minuso test has
4414 # not run yet. These depmodes are late enough in the game, and
4415 # so weak that their functioning should not be impacted.
4416 am__obj
=conftest.
${OBJEXT-o}
4421 if depmode
=$depmode \
4422 source=sub
/conftest.c object
=$am__obj \
4423 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4424 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4425 >/dev
/null
2>conftest.err
&&
4426 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4427 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4428 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4429 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4430 # icc doesn't choke on unknown options, it will just issue warnings
4431 # or remarks (even with -Werror). So we grep stderr for any message
4432 # that says an option was ignored or not supported.
4433 # When given -MP, icc 7.0 and 7.1 complain thusly:
4434 # icc: Command line warning: ignoring option '-M'; no argument required
4435 # The diagnosis changed in icc 8.0:
4436 # icc: Command line remark: option '-MP' not supported
4437 if (grep 'ignoring option' conftest.err ||
4438 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4439 am_cv_CC_dependencies_compiler_type
=$depmode
4448 am_cv_CC_dependencies_compiler_type
=none
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4453 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4454 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4457 test "x$enable_dependency_tracking" != xno \
4458 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4460 am__fastdepCC_FALSE
='#'
4462 am__fastdepCC_TRUE
='#'
4463 am__fastdepCC_FALSE
=
4469 ac_cpp
='$CPP $CPPFLAGS'
4470 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4471 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4472 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4474 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4475 # On Suns, sometimes $CPP names a directory.
4476 if test -n "$CPP" && test -d "$CPP"; then
4479 if test -z "$CPP"; then
4480 if test "${ac_cv_prog_CPP+set}" = set; then :
4481 $as_echo_n "(cached) " >&6
4483 # Double quotes because CPP needs to be expanded
4484 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4487 for ac_c_preproc_warn_flag
in '' yes
4489 # Use a header file that comes with gcc, so configuring glibc
4490 # with a fresh cross-compiler works.
4491 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4492 # <limits.h> exists even on freestanding compilers.
4493 # On the NeXT, cc -E runs the code through the compiler's parser,
4494 # not just through cpp. "Syntax error" is here to catch this case.
4495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4496 /* end confdefs.h. */
4498 # include <limits.h>
4500 # include <assert.h>
4504 if ac_fn_c_try_cpp
"$LINENO"; then :
4507 # Broken: fails on valid input.
4510 rm -f conftest.err conftest.
$ac_ext
4512 # OK, works on sane cases. Now check whether nonexistent headers
4513 # can be detected and how.
4514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4515 /* end confdefs.h. */
4516 #include <ac_nonexistent.h>
4518 if ac_fn_c_try_cpp
"$LINENO"; then :
4519 # Broken: success on invalid input.
4522 # Passes both tests.
4526 rm -f conftest.err conftest.
$ac_ext
4529 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4530 rm -f conftest.err conftest.
$ac_ext
4531 if $ac_preproc_ok; then :
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4544 $as_echo "$CPP" >&6; }
4546 for ac_c_preproc_warn_flag
in '' yes
4548 # Use a header file that comes with gcc, so configuring glibc
4549 # with a fresh cross-compiler works.
4550 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4551 # <limits.h> exists even on freestanding compilers.
4552 # On the NeXT, cc -E runs the code through the compiler's parser,
4553 # not just through cpp. "Syntax error" is here to catch this case.
4554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4555 /* end confdefs.h. */
4557 # include <limits.h>
4559 # include <assert.h>
4563 if ac_fn_c_try_cpp
"$LINENO"; then :
4566 # Broken: fails on valid input.
4569 rm -f conftest.err conftest.
$ac_ext
4571 # OK, works on sane cases. Now check whether nonexistent headers
4572 # can be detected and how.
4573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4574 /* end confdefs.h. */
4575 #include <ac_nonexistent.h>
4577 if ac_fn_c_try_cpp
"$LINENO"; then :
4578 # Broken: success on invalid input.
4581 # Passes both tests.
4585 rm -f conftest.err conftest.
$ac_ext
4588 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4589 rm -f conftest.err conftest.
$ac_ext
4590 if $ac_preproc_ok; then :
4593 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4595 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4596 See \`config.log' for more details." "$LINENO" 5; }
4600 ac_cpp
='$CPP $CPPFLAGS'
4601 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4602 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4603 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4607 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4608 if test "${ac_cv_path_GREP+set}" = set; then :
4609 $as_echo_n "(cached) " >&6
4611 if test -z "$GREP"; then
4612 ac_path_GREP_found
=false
4613 # Loop through the user's path and test for each of PROGNAME-LIST
4614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4615 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4618 test -z "$as_dir" && as_dir
=.
4619 for ac_prog
in grep ggrep
; do
4620 for ac_exec_ext
in '' $ac_executable_extensions; do
4621 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4622 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4623 # Check for GNU ac_path_GREP and select it if it is found.
4624 # Check for GNU $ac_path_GREP
4625 case `"$ac_path_GREP" --version 2>&1` in
4627 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4630 $as_echo_n 0123456789 >"conftest.in"
4633 cat "conftest.in" "conftest.in" >"conftest.tmp"
4634 mv "conftest.tmp" "conftest.in"
4635 cp "conftest.in" "conftest.nl"
4636 $as_echo 'GREP' >> "conftest.nl"
4637 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4638 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4639 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4640 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4641 # Best one so far, save it but keep looking for a better one
4642 ac_cv_path_GREP
="$ac_path_GREP"
4643 ac_path_GREP_max
=$ac_count
4645 # 10*(2^10) chars as input seems more than enough
4646 test $ac_count -gt 10 && break
4648 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4651 $ac_path_GREP_found && break 3
4656 if test -z "$ac_cv_path_GREP"; then
4657 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4660 ac_cv_path_GREP
=$GREP
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4665 $as_echo "$ac_cv_path_GREP" >&6; }
4666 GREP
="$ac_cv_path_GREP"
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4670 $as_echo_n "checking for egrep... " >&6; }
4671 if test "${ac_cv_path_EGREP+set}" = set; then :
4672 $as_echo_n "(cached) " >&6
4674 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4675 then ac_cv_path_EGREP
="$GREP -E"
4677 if test -z "$EGREP"; then
4678 ac_path_EGREP_found
=false
4679 # Loop through the user's path and test for each of PROGNAME-LIST
4680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4681 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4684 test -z "$as_dir" && as_dir
=.
4685 for ac_prog
in egrep; do
4686 for ac_exec_ext
in '' $ac_executable_extensions; do
4687 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4688 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4689 # Check for GNU ac_path_EGREP and select it if it is found.
4690 # Check for GNU $ac_path_EGREP
4691 case `"$ac_path_EGREP" --version 2>&1` in
4693 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4696 $as_echo_n 0123456789 >"conftest.in"
4699 cat "conftest.in" "conftest.in" >"conftest.tmp"
4700 mv "conftest.tmp" "conftest.in"
4701 cp "conftest.in" "conftest.nl"
4702 $as_echo 'EGREP' >> "conftest.nl"
4703 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4704 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4705 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4706 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4707 # Best one so far, save it but keep looking for a better one
4708 ac_cv_path_EGREP
="$ac_path_EGREP"
4709 ac_path_EGREP_max
=$ac_count
4711 # 10*(2^10) chars as input seems more than enough
4712 test $ac_count -gt 10 && break
4714 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4717 $ac_path_EGREP_found && break 3
4722 if test -z "$ac_cv_path_EGREP"; then
4723 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4726 ac_cv_path_EGREP
=$EGREP
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4732 $as_echo "$ac_cv_path_EGREP" >&6; }
4733 EGREP
="$ac_cv_path_EGREP"
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4737 $as_echo_n "checking for ANSI C header files... " >&6; }
4738 if test "${ac_cv_header_stdc+set}" = set; then :
4739 $as_echo_n "(cached) " >&6
4741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4742 /* end confdefs.h. */
4756 if ac_fn_c_try_compile
"$LINENO"; then :
4757 ac_cv_header_stdc
=yes
4759 ac_cv_header_stdc
=no
4761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4763 if test $ac_cv_header_stdc = yes; then
4764 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4766 /* end confdefs.h. */
4770 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4771 $EGREP "memchr" >/dev
/null
2>&1; then :
4774 ac_cv_header_stdc
=no
4780 if test $ac_cv_header_stdc = yes; then
4781 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4783 /* end confdefs.h. */
4787 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4788 $EGREP "free" >/dev
/null
2>&1; then :
4791 ac_cv_header_stdc
=no
4797 if test $ac_cv_header_stdc = yes; then
4798 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4799 if test "$cross_compiling" = yes; then :
4802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4803 /* end confdefs.h. */
4806 #if ((' ' & 0x0FF) == 0x020)
4807 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4808 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4810 # define ISLOWER(c) \
4811 (('a' <= (c) && (c) <= 'i') \
4812 || ('j' <= (c) && (c) <= 'r') \
4813 || ('s' <= (c) && (c) <= 'z'))
4814 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4817 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4822 for (i = 0; i < 256; i++)
4823 if (XOR (islower (i), ISLOWER (i))
4824 || toupper (i) != TOUPPER (i))
4829 if ac_fn_c_try_run
"$LINENO"; then :
4832 ac_cv_header_stdc
=no
4834 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4835 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4841 $as_echo "$ac_cv_header_stdc" >&6; }
4842 if test $ac_cv_header_stdc = yes; then
4844 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4848 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4849 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4850 inttypes.h stdint.h unistd.h
4852 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4853 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4855 eval as_val
=\$
$as_ac_Header
4856 if test "x$as_val" = x
""yes; then :
4857 cat >>confdefs.h
<<_ACEOF
4858 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4867 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4868 if test "x$ac_cv_header_minix_config_h" = x
""yes; then :
4875 if test "$MINIX" = yes; then
4877 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4880 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4883 $as_echo "#define _MINIX 1" >>confdefs.h
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4889 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4890 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4891 $as_echo_n "(cached) " >&6
4893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4894 /* end confdefs.h. */
4896 # define __EXTENSIONS__ 1
4897 $ac_includes_default
4906 if ac_fn_c_try_compile
"$LINENO"; then :
4907 ac_cv_safe_to_define___extensions__
=yes
4909 ac_cv_safe_to_define___extensions__
=no
4911 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4914 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4915 test $ac_cv_safe_to_define___extensions__ = yes &&
4916 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4918 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4920 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4922 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4924 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4928 # Calculate toolexeclibdir
4929 # Also toolexecdir, though it's only used in toolexeclibdir
4930 case ${version_specific_libs} in
4932 # Need the gcc compiler version to know where to install libraries
4933 # and header files if --enable-version-specific-runtime-libs option
4935 toolexecdir
='$(libdir)/gcc/$(target_alias)'
4936 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4939 if test -n "$with_cross_host" &&
4940 test x
"$with_cross_host" != x
"no"; then
4941 # Install a library built with a cross compiler in tooldir, not libdir.
4942 toolexecdir
='$(exec_prefix)/$(target_alias)'
4943 toolexeclibdir
='$(toolexecdir)/lib'
4945 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
4946 toolexeclibdir
='$(libdir)'
4948 multi_os_directory
=`$CC -print-multi-os-directory`
4949 case $multi_os_directory in
4950 .
) ;; # Avoid trailing /.
4951 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
4958 # Create a spec file, so that compile/link tests don't fail
4959 test -f libgfortran.spec ||
touch libgfortran.spec
4962 ac_cpp
='$CPP $CPPFLAGS'
4963 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4964 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4965 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4967 # Check the compiler.
4968 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
4969 # We must force CC to /not/ be precious variables; otherwise
4970 # the wrong, non-multilib-adjusted value will be used in multilibs.
4971 # As a side effect, we have to subst CFLAGS ourselves.
4976 ac_cpp
='$CPP $CPPFLAGS'
4977 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4978 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4979 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4980 if test -n "$ac_tool_prefix"; then
4981 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4982 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4984 $as_echo_n "checking for $ac_word... " >&6; }
4985 if test "${ac_cv_prog_CC+set}" = set; then :
4986 $as_echo_n "(cached) " >&6
4988 if test -n "$CC"; then
4989 ac_cv_prog_CC
="$CC" # Let the user override the test.
4991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4995 test -z "$as_dir" && as_dir
=.
4996 for ac_exec_ext
in '' $ac_executable_extensions; do
4997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4998 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5009 if test -n "$CC"; then
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5011 $as_echo "$CC" >&6; }
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5014 $as_echo "no" >&6; }
5019 if test -z "$ac_cv_prog_CC"; then
5021 # Extract the first word of "gcc", so it can be a program name with args.
5022 set dummy gcc
; ac_word
=$2
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5024 $as_echo_n "checking for $ac_word... " >&6; }
5025 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5026 $as_echo_n "(cached) " >&6
5028 if test -n "$ac_ct_CC"; then
5029 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5035 test -z "$as_dir" && as_dir
=.
5036 for ac_exec_ext
in '' $ac_executable_extensions; do
5037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5038 ac_cv_prog_ac_ct_CC
="gcc"
5039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5048 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5049 if test -n "$ac_ct_CC"; then
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5051 $as_echo "$ac_ct_CC" >&6; }
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5054 $as_echo "no" >&6; }
5057 if test "x$ac_ct_CC" = x
; then
5060 case $cross_compiling:$ac_tool_warned in
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5063 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5064 ac_tool_warned
=yes ;;
5072 if test -z "$CC"; then
5073 if test -n "$ac_tool_prefix"; then
5074 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5075 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5077 $as_echo_n "checking for $ac_word... " >&6; }
5078 if test "${ac_cv_prog_CC+set}" = set; then :
5079 $as_echo_n "(cached) " >&6
5081 if test -n "$CC"; then
5082 ac_cv_prog_CC
="$CC" # Let the user override the test.
5084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5088 test -z "$as_dir" && as_dir
=.
5089 for ac_exec_ext
in '' $ac_executable_extensions; do
5090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5091 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5102 if test -n "$CC"; then
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5104 $as_echo "$CC" >&6; }
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5107 $as_echo "no" >&6; }
5113 if test -z "$CC"; then
5114 # Extract the first word of "cc", so it can be a program name with args.
5115 set dummy cc
; ac_word
=$2
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5117 $as_echo_n "checking for $ac_word... " >&6; }
5118 if test "${ac_cv_prog_CC+set}" = set; then :
5119 $as_echo_n "(cached) " >&6
5121 if test -n "$CC"; then
5122 ac_cv_prog_CC
="$CC" # Let the user override the test.
5125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5129 test -z "$as_dir" && as_dir
=.
5130 for ac_exec_ext
in '' $ac_executable_extensions; do
5131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5132 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5133 ac_prog_rejected
=yes
5137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5144 if test $ac_prog_rejected = yes; then
5145 # We found a bogon in the path, so make sure we never use it.
5146 set dummy
$ac_cv_prog_CC
5148 if test $# != 0; then
5149 # We chose a different compiler from the bogus one.
5150 # However, it has the same basename, so the bogon will be chosen
5151 # first if we set CC to just the basename; use the full file name.
5153 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5159 if test -n "$CC"; then
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5161 $as_echo "$CC" >&6; }
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5164 $as_echo "no" >&6; }
5169 if test -z "$CC"; then
5170 if test -n "$ac_tool_prefix"; then
5171 for ac_prog
in cl.exe
5173 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5174 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5176 $as_echo_n "checking for $ac_word... " >&6; }
5177 if test "${ac_cv_prog_CC+set}" = set; then :
5178 $as_echo_n "(cached) " >&6
5180 if test -n "$CC"; then
5181 ac_cv_prog_CC
="$CC" # Let the user override the test.
5183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5187 test -z "$as_dir" && as_dir
=.
5188 for ac_exec_ext
in '' $ac_executable_extensions; do
5189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5190 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5201 if test -n "$CC"; then
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5203 $as_echo "$CC" >&6; }
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5206 $as_echo "no" >&6; }
5210 test -n "$CC" && break
5213 if test -z "$CC"; then
5215 for ac_prog
in cl.exe
5217 # Extract the first word of "$ac_prog", so it can be a program name with args.
5218 set dummy
$ac_prog; ac_word
=$2
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5220 $as_echo_n "checking for $ac_word... " >&6; }
5221 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5222 $as_echo_n "(cached) " >&6
5224 if test -n "$ac_ct_CC"; then
5225 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5231 test -z "$as_dir" && as_dir
=.
5232 for ac_exec_ext
in '' $ac_executable_extensions; do
5233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5234 ac_cv_prog_ac_ct_CC
="$ac_prog"
5235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5244 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5245 if test -n "$ac_ct_CC"; then
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5247 $as_echo "$ac_ct_CC" >&6; }
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5250 $as_echo "no" >&6; }
5254 test -n "$ac_ct_CC" && break
5257 if test "x$ac_ct_CC" = x
; then
5260 case $cross_compiling:$ac_tool_warned in
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5263 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5264 ac_tool_warned
=yes ;;
5273 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5274 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5275 as_fn_error
"no acceptable C compiler found in \$PATH
5276 See \`config.log' for more details." "$LINENO" 5; }
5278 # Provide some information about the compiler.
5279 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5282 for ac_option
in --version -v -V -qversion; do
5283 { { ac_try
="$ac_compiler $ac_option >&5"
5285 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5286 *) ac_try_echo=$ac_try;;
5288 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5289 $as_echo "$ac_try_echo"; } >&5
5290 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5292 if test -s conftest.err; then
5294 ... rest of stderr output deleted ...
5295 10q' conftest.err >conftest.er1
5296 cat conftest.er1 >&5
5297 rm -f conftest.er1 conftest.err
5299 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5300 test $ac_status = 0; }
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5304 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5305 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5306 $as_echo_n "(cached) " >&6
5308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5309 /* end confdefs.h. */
5322 if ac_fn_c_try_compile "$LINENO"; then :
5327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5328 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5332 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5333 if test $ac_compiler_gnu = yes; then
5338 ac_test_CFLAGS=${CFLAGS+set}
5339 ac_save_CFLAGS=$CFLAGS
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5341 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5342 if test "${ac_cv_prog_cc_g+set}" = set; then :
5343 $as_echo_n "(cached) " >&6
5345 ac_save_c_werror_flag=$ac_c_werror_flag
5346 ac_c_werror_flag=yes
5349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5350 /* end confdefs.h. */
5360 if ac_fn_c_try_compile "$LINENO"; then :
5364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5365 /* end confdefs.h. */
5375 if ac_fn_c_try_compile "$LINENO"; then :
5378 ac_c_werror_flag=$ac_save_c_werror_flag
5380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5381 /* end confdefs.h. */
5391 if ac_fn_c_try_compile "$LINENO"; then :
5394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5399 ac_c_werror_flag=$ac_save_c_werror_flag
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5402 $as_echo "$ac_cv_prog_cc_g" >&6; }
5403 if test "$ac_test_CFLAGS" = set; then
5404 CFLAGS=$ac_save_CFLAGS
5405 elif test $ac_cv_prog_cc_g = yes; then
5406 if test "$GCC" = yes; then
5412 if test "$GCC" = yes; then
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5419 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5420 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5421 $as_echo_n "(cached) " >&6
5423 ac_cv_prog_cc_c89=no
5425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5426 /* end confdefs.h. */
5429 #include <sys/types.h>
5430 #include <sys/stat.h>
5431 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5432 struct buf { int x; };
5433 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5434 static char *e (p, i)
5440 static char *f (char * (*g) (char **, int), char **p, ...)
5445 s = g (p, va_arg (v,int));
5450 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5451 function prototypes and stuff, but not '\xHH' hex character constants.
5452 These don't provoke an error unfortunately, instead are silently treated
5453 as 'x'. The following induces an error, until -std is added to get
5454 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5455 array size at least. It's necessary to write '\x00'==0 to get something
5456 that's true only with -std. */
5457 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5459 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5460 inside strings and character constants. */
5462 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5464 int test (int i, double x);
5465 struct s1 {int (*f) (int a);};
5466 struct s2 {int (*f) (double a);};
5467 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5473 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5478 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5479 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5481 CC="$ac_save_CC $ac_arg"
5482 if ac_fn_c_try_compile "$LINENO"; then :
5483 ac_cv_prog_cc_c89=$ac_arg
5485 rm -f core conftest.err conftest.$ac_objext
5486 test "x$ac_cv_prog_cc_c89" != "xno" && break
5488 rm -f conftest.$ac_ext
5493 case "x$ac_cv_prog_cc_c89" in
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5496 $as_echo "none needed" >&6; } ;;
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5499 $as_echo "unsupported" >&6; } ;;
5501 CC="$CC $ac_cv_prog_cc_c89"
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5503 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5505 if test "x$ac_cv_prog_cc_c89" != xno; then :
5510 ac_cpp='$CPP $CPPFLAGS'
5511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5515 depcc="$CC" am_compiler_list=
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5518 $as_echo_n "checking dependency style of $depcc... " >&6; }
5519 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5520 $as_echo_n "(cached) " >&6
5522 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5523 # We make a subdir and do the tests there. Otherwise we can end up
5524 # making bogus files that we don't know about and never remove. For
5525 # instance it was reported that on HP-UX the gcc test will end up
5526 # making a dummy file named `D
' -- because `-MD' means
`put the output
5530 # Copy depcomp to subdir because otherwise we won't find it if we're
5531 # using a relative directory.
5532 cp "$am_depcomp" conftest.dir
5534 # We will build objects and dependencies in a subdirectory because
5535 # it helps to detect inapplicable dependency modes. For instance
5536 # both Tru64's cc and ICC support -MD to output dependencies as a
5537 # side effect of compilation, but ICC will put the dependencies in
5538 # the current directory while Tru64 will put them in the object
5542 am_cv_CC_dependencies_compiler_type=none
5543 if test "$am_compiler_list" = ""; then
5544 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5547 case " $depcc " in #(
5548 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5551 for depmode in $am_compiler_list; do
5552 # Setup a source with many dependencies, because some compilers
5553 # like to wrap large dependency lists on column 80 (with \), and
5554 # we should not choose a depcomp mode which is confused by this.
5556 # We need to recreate these files for each test, as the compiler may
5557 # overwrite some of them when testing with obscure command lines.
5558 # This happens at least with the AIX C compiler.
5560 for i in 1 2 3 4 5 6; do
5561 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5562 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
5563 # Solaris 8's
{/usr
,}/bin
/sh.
5564 touch sub
/conftst
$i.h
5566 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5568 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5569 # mode. It turns out that the SunPro C++ compiler does not properly
5570 # handle `-M -o', and we need to detect this. Also, some Intel
5571 # versions had trouble with output in subdirs
5572 am__obj
=sub
/conftest.
${OBJEXT-o}
5573 am__minus_obj
="-o $am__obj"
5576 # This depmode causes a compiler race in universal mode.
5577 test "$am__universal" = false ||
continue
5580 # after this tag, mechanisms are not by side-effect, so they'll
5581 # only be used when explicitly requested
5582 if test "x$enable_dependency_tracking" = xyes
; then
5588 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
5589 # This compiler won't grok `-c -o', but also, the minuso test has
5590 # not run yet. These depmodes are late enough in the game, and
5591 # so weak that their functioning should not be impacted.
5592 am__obj
=conftest.
${OBJEXT-o}
5597 if depmode
=$depmode \
5598 source=sub
/conftest.c object
=$am__obj \
5599 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5600 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5601 >/dev
/null
2>conftest.err
&&
5602 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5603 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5604 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5605 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5606 # icc doesn't choke on unknown options, it will just issue warnings
5607 # or remarks (even with -Werror). So we grep stderr for any message
5608 # that says an option was ignored or not supported.
5609 # When given -MP, icc 7.0 and 7.1 complain thusly:
5610 # icc: Command line warning: ignoring option '-M'; no argument required
5611 # The diagnosis changed in icc 8.0:
5612 # icc: Command line remark: option '-MP' not supported
5613 if (grep 'ignoring option' conftest.err ||
5614 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5615 am_cv_CC_dependencies_compiler_type
=$depmode
5624 am_cv_CC_dependencies_compiler_type
=none
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5629 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5630 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
5633 test "x$enable_dependency_tracking" != xno \
5634 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
5636 am__fastdepCC_FALSE
='#'
5638 am__fastdepCC_TRUE
='#'
5639 am__fastdepCC_FALSE
=
5647 if test "x$CC" != xcc
; then
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5649 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5652 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5654 set dummy
$CC; ac_cc
=`$as_echo "$2" |
5655 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5656 if { as_var
=ac_cv_prog_cc_
${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5657 $as_echo_n "(cached) " >&6
5659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5660 /* end confdefs.h. */
5670 # Make sure it works both with $CC and with simple cc.
5671 # We do the test twice because some compilers refuse to overwrite an
5672 # existing .o file with -o, though they will create one.
5673 ac_try
='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5675 if { { case "(($ac_try" in
5676 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5677 *) ac_try_echo=$ac_try;;
5679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5680 $as_echo "$ac_try_echo"; } >&5
5681 (eval "$ac_try") 2>&5
5683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5684 test $ac_status = 0; } &&
5685 test -f conftest2.$ac_objext && { { case "(($ac_try" in
5686 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5687 *) ac_try_echo
=$ac_try;;
5689 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5690 $as_echo "$ac_try_echo"; } >&5
5691 (eval "$ac_try") 2>&5
5693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5694 test $ac_status = 0; };
5696 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
5697 if test "x$CC" != xcc
; then
5698 # Test first that cc exists at all.
5699 if { ac_try
='cc -c conftest.$ac_ext >&5'
5700 { { case "(($ac_try" in
5701 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5702 *) ac_try_echo=$ac_try;;
5704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5705 $as_echo "$ac_try_echo"; } >&5
5706 (eval "$ac_try") 2>&5
5708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5709 test $ac_status = 0; }; }; then
5710 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5712 if { { case "(($ac_try" in
5713 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5714 *) ac_try_echo
=$ac_try;;
5716 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5717 $as_echo "$ac_try_echo"; } >&5
5718 (eval "$ac_try") 2>&5
5720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5721 test $ac_status = 0; } &&
5722 test -f conftest2.
$ac_objext && { { case "(($ac_try" in
5723 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5724 *) ac_try_echo=$ac_try;;
5726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5727 $as_echo "$ac_try_echo"; } >&5
5728 (eval "$ac_try") 2>&5
5730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5731 test $ac_status = 0; };
5736 # cc exists but doesn't like -o.
5737 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5742 eval ac_cv_prog_cc_${ac_cc}_c_o=no
5744 rm -f core conftest*
5747 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5749 $as_echo "yes" >&6; }
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5752 $as_echo "no" >&6; }
5754 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5758 # FIXME: we rely on the cache variable name because
5759 # there is no other way.
5761 am_cc=`echo $2 |
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5762 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5763 if test "$am_t" != yes; then
5764 # Losing compiler, so override with the script.
5765 # FIXME: It is wrong to rewrite CC.
5766 # But if we don't then we get into trouble of one sort or another.
5767 # A longer-term fix would be to have automake use am__CC in this case,
5768 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5769 CC="$am_aux_dir/compile $CC"
5774 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5775 if test "x$GCC" = "xyes"; then
5776 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5777 ## We like to use C11 and C99 routines when available. This makes
5779 ## __STDC_VERSION__ is set such that libc includes make them available.
5780 AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration"
5781 ## Compile the following tests with the same system header contents
5782 ## that we'll encounter when compiling our own source files.
5783 CFLAGS="-std=gnu11 $CFLAGS"
5789 # Check for symbol versioning (copied from libssp).
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5791 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5792 # Check whether --enable-symvers was given.
5793 if test "${enable_symvers+set}" = set; then :
5794 enableval=$enable_symvers; gfortran_use_symver=$enableval
5796 gfortran_use_symver=yes
5799 if test "x$gfortran_use_symver" != xno; then
5800 save_LDFLAGS="$LDFLAGS"
5801 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5802 cat > conftest.map <<EOF
5804 global: *foo*; bar; local: *;
5807 if test x$gcc_no_link = xyes; then
5808 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5811 /* end confdefs.h. */
5821 if ac_fn_c_try_link "$LINENO"; then :
5822 gfortran_use_symver=gnu
5824 gfortran_use_symver=no
5826 rm -f core conftest.err conftest.$ac_objext \
5827 conftest$ac_exeext conftest.$ac_ext
5828 if test x$gfortran_use_symver = xno; then
5829 case "$target_os" in
5831 LDFLAGS="$save_LDFLAGS"
5832 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5833 # Sun ld cannot handle wildcards and treats all entries as undefined.
5834 cat > conftest.map <<EOF
5836 global: foo; local: *;
5839 if test x$gcc_no_link = xyes; then
5840 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5843 /* end confdefs.h. */
5853 if ac_fn_c_try_link "$LINENO"; then :
5854 gfortran_use_symver=sun
5856 gfortran_use_symver=no
5858 rm -f core conftest.err conftest.$ac_objext \
5859 conftest$ac_exeext conftest.$ac_ext
5863 LDFLAGS="$save_LDFLAGS"
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
5866 $as_echo "$gfortran_use_symver" >&6; }
5867 if test "x$gfortran_use_symver" != xno; then
5868 LIBGFOR_USE_SYMVER_TRUE=
5869 LIBGFOR_USE_SYMVER_FALSE='#'
5871 LIBGFOR_USE_SYMVER_TRUE='#'
5872 LIBGFOR_USE_SYMVER_FALSE=
5875 if test "x$gfortran_use_symver" = xgnu; then
5876 LIBGFOR_USE_SYMVER_GNU_TRUE=
5877 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
5879 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
5880 LIBGFOR_USE_SYMVER_GNU_FALSE=
5883 if test "x$gfortran_use_symver" = xsun; then
5884 LIBGFOR_USE_SYMVER_SUN_TRUE=
5885 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
5887 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
5888 LIBGFOR_USE_SYMVER_SUN_FALSE=
5892 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5893 # similarly to how libstdc++ does it
5894 ac_test_CFLAGS="${CFLAGS+set}"
5895 ac_save_CFLAGS="$CFLAGS"
5897 # Check for -ffunction-sections -fdata-sections
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5899 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
5900 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5902 /* end confdefs.h. */
5912 if ac_fn_c_try_compile "$LINENO"; then :
5917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5918 if test "$ac_test_CFLAGS" = set; then
5919 CFLAGS="$ac_save_CFLAGS"
5921 # this is the suspicious part
5924 if test x"$ac_fdsections" = x"yes"; then
5925 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
5928 $as_echo "$ac_fdsections" >&6; }
5931 # Find other programs we need.
5932 if test -n "$ac_tool_prefix"; then
5933 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5934 set dummy ${ac_tool_prefix}as; ac_word=$2
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5936 $as_echo_n "checking for $ac_word... " >&6; }
5937 if test "${ac_cv_prog_AS+set}" = set; then :
5938 $as_echo_n "(cached) " >&6
5940 if test -n "$AS"; then
5941 ac_cv_prog_AS="$AS" # Let the user override the test.
5943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5947 test -z "$as_dir" && as_dir=.
5948 for ac_exec_ext in '' $ac_executable_extensions; do
5949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5950 ac_cv_prog_AS="${ac_tool_prefix}as"
5951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5961 if test -n "$AS"; then
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5963 $as_echo "$AS" >&6; }
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5966 $as_echo "no" >&6; }
5971 if test -z "$ac_cv_prog_AS"; then
5973 # Extract the first word of "as", so it can be a program name with args.
5974 set dummy as; ac_word=$2
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5976 $as_echo_n "checking for $ac_word... " >&6; }
5977 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5978 $as_echo_n "(cached) " >&6
5980 if test -n "$ac_ct_AS"; then
5981 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5987 test -z "$as_dir" && as_dir=.
5988 for ac_exec_ext in '' $ac_executable_extensions; do
5989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5990 ac_cv_prog_ac_ct_AS="as"
5991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6000 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6001 if test -n "$ac_ct_AS"; then
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6003 $as_echo "$ac_ct_AS" >&6; }
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6006 $as_echo "no" >&6; }
6009 if test "x$ac_ct_AS" = x; then
6012 case $cross_compiling:$ac_tool_warned in
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6015 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6016 ac_tool_warned=yes ;;
6024 if test -n "$ac_tool_prefix"; then
6025 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6026 set dummy ${ac_tool_prefix}ar; ac_word=$2
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6028 $as_echo_n "checking for $ac_word... " >&6; }
6029 if test "${ac_cv_prog_AR+set}" = set; then :
6030 $as_echo_n "(cached) " >&6
6032 if test -n "$AR"; then
6033 ac_cv_prog_AR="$AR" # Let the user override the test.
6035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6039 test -z "$as_dir" && as_dir=.
6040 for ac_exec_ext in '' $ac_executable_extensions; do
6041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6042 ac_cv_prog_AR="${ac_tool_prefix}ar"
6043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6053 if test -n "$AR"; then
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6055 $as_echo "$AR" >&6; }
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6058 $as_echo "no" >&6; }
6063 if test -z "$ac_cv_prog_AR"; then
6065 # Extract the first word of "ar", so it can be a program name with args.
6066 set dummy ar; ac_word=$2
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6068 $as_echo_n "checking for $ac_word... " >&6; }
6069 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6070 $as_echo_n "(cached) " >&6
6072 if test -n "$ac_ct_AR"; then
6073 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6079 test -z "$as_dir" && as_dir=.
6080 for ac_exec_ext in '' $ac_executable_extensions; do
6081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6082 ac_cv_prog_ac_ct_AR="ar"
6083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6092 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6093 if test -n "$ac_ct_AR"; then
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6095 $as_echo "$ac_ct_AR" >&6; }
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6098 $as_echo "no" >&6; }
6101 if test "x$ac_ct_AR" = x; then
6104 case $cross_compiling:$ac_tool_warned in
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6108 ac_tool_warned=yes ;;
6116 if test -n "$ac_tool_prefix"; then
6117 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6118 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6120 $as_echo_n "checking for $ac_word... " >&6; }
6121 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6122 $as_echo_n "(cached) " >&6
6124 if test -n "$RANLIB"; then
6125 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6131 test -z "$as_dir" && as_dir=.
6132 for ac_exec_ext in '' $ac_executable_extensions; do
6133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6134 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6144 RANLIB=$ac_cv_prog_RANLIB
6145 if test -n "$RANLIB"; then
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6147 $as_echo "$RANLIB" >&6; }
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6150 $as_echo "no" >&6; }
6155 if test -z "$ac_cv_prog_RANLIB"; then
6156 ac_ct_RANLIB=$RANLIB
6157 # Extract the first word of "ranlib", so it can be a program name with args.
6158 set dummy ranlib; ac_word=$2
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6160 $as_echo_n "checking for $ac_word... " >&6; }
6161 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6162 $as_echo_n "(cached) " >&6
6164 if test -n "$ac_ct_RANLIB"; then
6165 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6171 test -z "$as_dir" && as_dir=.
6172 for ac_exec_ext in '' $ac_executable_extensions; do
6173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6174 ac_cv_prog_ac_ct_RANLIB="ranlib"
6175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6184 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6185 if test -n "$ac_ct_RANLIB"; then
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6187 $as_echo "$ac_ct_RANLIB" >&6; }
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6190 $as_echo "no" >&6; }
6193 if test "x$ac_ct_RANLIB" = x; then
6194 RANLIB="ranlib-not-found-in-path-error"
6196 case $cross_compiling:$ac_tool_warned in
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6200 ac_tool_warned=yes ;;
6202 RANLIB=$ac_ct_RANLIB
6205 RANLIB="$ac_cv_prog_RANLIB"
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6209 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6211 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6212 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6213 $as_echo_n "(cached) " >&6
6215 cat >conftest.make <<\_ACEOF
6218 @echo '@@@%%%=$(MAKE)=@@@%%%'
6220 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6221 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
6223 eval ac_cv_prog_make_${ac_make}_set=yes;;
6225 eval ac_cv_prog_make_${ac_make}_set=no;;
6229 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6231 $as_echo "yes" >&6; }
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6235 $as_echo "no" >&6; }
6236 SET_MAKE="MAKE=${MAKE-make}"
6242 #AC_MSG_NOTICE([====== Starting libtool configuration])
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
6250 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
6255 macro_version='2.2.7a'
6256 macro_revision='1.3134'
6270 ltmain="$ac_aux_dir/ltmain.sh"
6272 # Backslashify metacharacters that are still active within
6273 # double-quoted strings.
6274 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6276 # Same as above, but do not quote variable references.
6277 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6279 # Sed substitution to delay expansion of an escaped shell variable in a
6280 # double_quote_subst'ed string.
6281 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6283 # Sed substitution to delay expansion of an escaped single quote.
6284 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6286 # Sed substitution to avoid accidental globbing in evaled expressions
6287 no_glob_subst='s/\*/\\\*/g'
6289 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6290 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6291 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
6294 $as_echo_n "checking how to print
strings...
" >&6; }
6295 # Test print first, because it will be a builtin if present.
6296 if test "X
`print -r -- -n 2>/dev/null`" = X-n && \
6297 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
6299 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
6302 # Use this function as a fallback that always works.
6303 func_fallback_echo ()
6305 eval 'cat <<_LTECHO_EOF
6309 ECHO='func_fallback_echo'
6312 # func_echo_all arg...
6313 # Invoke $ECHO with all args, space-separated.
6320 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
6321 $as_echo "printf" >&6; } ;;
6322 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
6323 $as_echo "print
-r" >&6; } ;;
6324 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
6325 $as_echo "cat" >&6; } ;;
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
6342 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
6343 if test "${ac_cv_path_SED+set}" = set; then :
6344 $as_echo_n "(cached
) " >&6
6346 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6347 for ac_i in 1 2 3 4 5 6 7; do
6348 ac_script="$ac_script$as_nl$ac_script"
6350 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6351 { ac_script=; unset ac_script;}
6352 if test -z "$SED"; then
6353 ac_path_SED_found=false
6354 # Loop through the user's path and test for each of PROGNAME-LIST
6355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6359 test -z "$as_dir" && as_dir=.
6360 for ac_prog in sed gsed; do
6361 for ac_exec_ext in '' $ac_executable_extensions; do
6362 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6363 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6364 # Check for GNU ac_path_SED and select it if it is found.
6365 # Check for GNU $ac_path_SED
6366 case `"$ac_path_SED" --version 2>&1` in
6368 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6371 $as_echo_n 0123456789 >"conftest.
in"
6374 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6375 mv "conftest.tmp
" "conftest.
in"
6376 cp "conftest.
in" "conftest.
nl"
6377 $as_echo '' >> "conftest.
nl"
6378 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6379 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6380 as_fn_arith $ac_count + 1 && ac_count=$as_val
6381 if test $ac_count -gt ${ac_path_SED_max-0}; then
6382 # Best one so far, save it but keep looking for a better one
6383 ac_cv_path_SED="$ac_path_SED"
6384 ac_path_SED_max=$ac_count
6386 # 10*(2^10) chars as input seems more than enough
6387 test $ac_count -gt 10 && break
6389 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6392 $ac_path_SED_found && break 3
6397 if test -z "$ac_cv_path_SED"; then
6398 as_fn_error "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
6406 $as_echo "$ac_cv_path_SED" >&6; }
6407 SED="$ac_cv_path_SED"
6410 test -z "$SED" && SED=sed
6411 Xsed="$SED -e 1s
/^X
//"
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
6424 $as_echo_n "checking
for fgrep...
" >&6; }
6425 if test "${ac_cv_path_FGREP+set}" = set; then :
6426 $as_echo_n "(cached
) " >&6
6428 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6429 then ac_cv_path_FGREP="$GREP -F"
6431 if test -z "$FGREP"; then
6432 ac_path_FGREP_found=false
6433 # Loop through the user's path and test for each of PROGNAME-LIST
6434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6435 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6438 test -z "$as_dir" && as_dir=.
6439 for ac_prog in fgrep; do
6440 for ac_exec_ext in '' $ac_executable_extensions; do
6441 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6442 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6443 # Check for GNU ac_path_FGREP and select it if it is found.
6444 # Check for GNU $ac_path_FGREP
6445 case `"$ac_path_FGREP" --version 2>&1` in
6447 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6450 $as_echo_n 0123456789 >"conftest.
in"
6453 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
6454 mv "conftest.tmp
" "conftest.
in"
6455 cp "conftest.
in" "conftest.
nl"
6456 $as_echo 'FGREP' >> "conftest.
nl"
6457 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
6458 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
6459 as_fn_arith $ac_count + 1 && ac_count=$as_val
6460 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6461 # Best one so far, save it but keep looking for a better one
6462 ac_cv_path_FGREP="$ac_path_FGREP"
6463 ac_path_FGREP_max=$ac_count
6465 # 10*(2^10) chars as input seems more than enough
6466 test $ac_count -gt 10 && break
6468 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6471 $ac_path_FGREP_found && break 3
6476 if test -z "$ac_cv_path_FGREP"; then
6477 as_fn_error "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
6480 ac_cv_path_FGREP=$FGREP
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
6486 $as_echo "$ac_cv_path_FGREP" >&6; }
6487 FGREP="$ac_cv_path_FGREP"
6490 test -z "$GREP" && GREP=grep
6510 # Check whether --with-gnu-ld was given.
6511 if test "${with_gnu_ld+set}" = set; then :
6512 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6518 if test "$GCC" = yes; then
6519 # Check if gcc -print-prog-name=ld gives a path.
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
6521 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
6524 # gcc leaves a trailing carriage return which upsets mingw
6525 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6527 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6530 # Accept absolute paths.
6532 re_direlt='/[^/][^/]*/\.\./'
6533 # Canonicalize the pathname of ld
6534 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6535 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6536 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
6538 test -z "$LD" && LD="$ac_prog"
6541 # If it fails, then pretend we aren't using GCC.
6545 # If it is relative, then search for the first ld in PATH.
6549 elif test "$with_gnu_ld" = yes; then
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
6551 $as_echo_n "checking
for GNU ld...
" >&6; }
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
6554 $as_echo_n "checking
for non-GNU ld...
" >&6; }
6556 if test "${lt_cv_path_LD+set}" = set; then :
6557 $as_echo_n "(cached
) " >&6
6559 if test -z "$LD"; then
6560 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6561 for ac_dir in $PATH; do
6563 test -z "$ac_dir" && ac_dir=.
6564 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6565 lt_cv_path_LD="$ac_dir/$ac_prog"
6566 # Check to see if the program is GNU ld. I'd rather use --version,
6567 # but apparently some variants of GNU ld only accept -v.
6568 # Break only if it was the GNU/non-GNU ld that we prefer.
6569 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6570 *GNU* | *'with BFD'*)
6571 test "$with_gnu_ld" != no && break
6574 test "$with_gnu_ld" != yes && break
6581 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6586 if test -n "$LD"; then
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
6588 $as_echo "$LD" >&6; }
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6591 $as_echo "no
" >&6; }
6593 test -z "$LD" && as_fn_error "no acceptable ld found
in \
$PATH" "$LINENO" 5
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
6595 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
6596 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6597 $as_echo_n "(cached
) " >&6
6599 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6600 case `$LD -v 2>&1 </dev/null` in
6601 *GNU* | *'with BFD'*)
6602 lt_cv_prog_gnu_ld=yes
6605 lt_cv_prog_gnu_ld=no
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
6610 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6611 with_gnu_ld=$lt_cv_prog_gnu_ld
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
6622 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
6623 if test "${lt_cv_path_NM+set}" = set; then :
6624 $as_echo_n "(cached
) " >&6
6626 if test -n "$NM"; then
6627 # Let the user override the test.
6630 lt_nm_to_check="${ac_tool_prefix}nm
"
6631 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6632 lt_nm_to_check="$lt_nm_to_check nm
"
6634 for lt_tmp_nm in $lt_nm_to_check; do
6635 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6636 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6638 test -z "$ac_dir" && ac_dir=.
6639 tmp_nm="$ac_dir/$lt_tmp_nm"
6640 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6641 # Check to see if the nm accepts a BSD-compat flag.
6642 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6643 # nm: unknown option "B
" ignored
6644 # Tru64's nm complains that /dev/null is an invalid object file
6645 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6646 */dev/null* | *'Invalid file or object type'*)
6647 lt_cv_path_NM="$tmp_nm -B"
6651 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6653 lt_cv_path_NM="$tmp_nm -p"
6657 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6658 continue # so that we can try to find one that supports BSD flags
6667 : ${lt_cv_path_NM=no}
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
6671 $as_echo "$lt_cv_path_NM" >&6; }
6672 if test "$lt_cv_path_NM" != "no
"; then
6675 # Didn't find any BSD compatible name lister, look for dumpbin.
6676 if test -n "$DUMPBIN"; then :
6677 # Let the user override the test.
6679 if test -n "$ac_tool_prefix"; then
6680 for ac_prog in dumpbin "link
-dump"
6682 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6683 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6685 $as_echo_n "checking
for $ac_word...
" >&6; }
6686 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6687 $as_echo_n "(cached
) " >&6
6689 if test -n "$DUMPBIN"; then
6690 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6696 test -z "$as_dir" && as_dir=.
6697 for ac_exec_ext in '' $ac_executable_extensions; do
6698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6699 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6700 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6709 DUMPBIN=$ac_cv_prog_DUMPBIN
6710 if test -n "$DUMPBIN"; then
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
6712 $as_echo "$DUMPBIN" >&6; }
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6715 $as_echo "no
" >&6; }
6719 test -n "$DUMPBIN" && break
6722 if test -z "$DUMPBIN"; then
6723 ac_ct_DUMPBIN=$DUMPBIN
6724 for ac_prog in dumpbin "link
-dump"
6726 # Extract the first word of "$ac_prog", so it can be a program name with args.
6727 set dummy $ac_prog; ac_word=$2
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6729 $as_echo_n "checking
for $ac_word...
" >&6; }
6730 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6731 $as_echo_n "(cached
) " >&6
6733 if test -n "$ac_ct_DUMPBIN"; then
6734 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6740 test -z "$as_dir" && as_dir=.
6741 for ac_exec_ext in '' $ac_executable_extensions; do
6742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6743 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6744 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6753 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6754 if test -n "$ac_ct_DUMPBIN"; then
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
6756 $as_echo "$ac_ct_DUMPBIN" >&6; }
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6759 $as_echo "no
" >&6; }
6763 test -n "$ac_ct_DUMPBIN" && break
6766 if test "x
$ac_ct_DUMPBIN" = x; then
6769 case $cross_compiling:$ac_tool_warned in
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6772 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6773 ac_tool_warned=yes ;;
6775 DUMPBIN=$ac_ct_DUMPBIN
6779 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6781 DUMPBIN="$DUMPBIN -symbols"
6789 if test "$DUMPBIN" != ":"; then
6793 test -z "$NM" && NM=nm
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
6801 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
6802 if test "${lt_cv_nm_interface+set}" = set; then :
6803 $as_echo_n "(cached
) " >&6
6805 lt_cv_nm_interface="BSD nm
"
6806 echo "int some_variable
= 0;" > conftest.$ac_ext
6807 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
6808 (eval "$ac_compile" 2>conftest.err)
6809 cat conftest.err >&5
6810 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
6811 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
6812 cat conftest.err >&5
6813 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
6814 cat conftest.out >&5
6815 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6816 lt_cv_nm_interface="MS dumpbin
"
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
6821 $as_echo "$lt_cv_nm_interface" >&6; }
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
6824 $as_echo_n "checking whether
ln -s works...
" >&6; }
6826 if test "$LN_S" = "ln -s"; then
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
6828 $as_echo "yes" >&6; }
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
6831 $as_echo "no
, using
$LN_S" >&6; }
6834 # find the maximum length of command line arguments
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
6836 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
6837 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6838 $as_echo_n "(cached
) " >&6
6845 # On DJGPP, this test can blow up pretty badly due to problems in libc
6846 # (any single argument exceeding 2000 bytes causes a buffer overrun
6847 # during glob expansion). Even if it were fixed, the result of this
6848 # check would be larger than it should be.
6849 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6853 # Under GNU Hurd, this test is not required because there is
6854 # no limit to the length of command line arguments.
6855 # Libtool will interpret -1 as no limit whatsoever
6856 lt_cv_sys_max_cmd_len=-1;
6859 cygwin* | mingw* | cegcc*)
6860 # On Win9x/ME, this test blows up -- it succeeds, but takes
6861 # about 5 minutes as the teststring grows exponentially.
6862 # Worse, since 9x/ME are not pre-emptively multitasking,
6863 # you end up with a "frozen
" computer, even though with patience
6864 # the test eventually succeeds (with a max line length of 256k).
6865 # Instead, let's just punt: use the minimum linelength reported by
6866 # all of the supported platforms: 8192 (on NT/2K/XP).
6867 lt_cv_sys_max_cmd_len=8192;
6871 # On MiNT this can take a long time and run out of memory.
6872 lt_cv_sys_max_cmd_len=8192;
6876 # On AmigaOS with pdksh, this test takes hours, literally.
6877 # So we just punt and use a minimum line length of 8192.
6878 lt_cv_sys_max_cmd_len=8192;
6881 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6882 # This has been around since 386BSD, at least. Likely further.
6883 if test -x /sbin/sysctl; then
6884 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6885 elif test -x /usr/sbin/sysctl; then
6886 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6888 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6890 # And add a safety zone
6891 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6892 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6896 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6897 lt_cv_sys_max_cmd_len=196608
6901 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6902 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6903 # nice to cause kernel panics so lets avoid the loop below.
6904 # First set a reasonable default.
6905 lt_cv_sys_max_cmd_len=16384
6907 if test -x /sbin/sysconfig; then
6908 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6909 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6914 lt_cv_sys_max_cmd_len=102400
6916 sysv5* | sco5v6* | sysv4.2uw2*)
6917 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6918 if test -n "$kargmax"; then
6919 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6921 lt_cv_sys_max_cmd_len=32768
6925 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6926 if test -n "$lt_cv_sys_max_cmd_len"; then
6927 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6928 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6930 # Make teststring a little bigger before we do anything with it.
6931 # a 1K string should be a reasonable start.
6932 for i in 1 2 3 4 5 6 7 8 ; do
6933 teststring=$teststring$teststring
6935 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6936 # If test is not a shell built-in, we'll probably end up computing a
6937 # maximum length that is only half of the actual maximum length, but
6939 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6940 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
6941 test $i != 17 # 1/2 MB should be enough
6944 teststring=$teststring$teststring
6946 # Only check the string length outside the loop.
6947 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
6949 # Add a significant safety factor because C++ compilers can tack on
6950 # massive amounts of additional arguments before passing them to the
6951 # linker. It appears as though 1/2 is a usable value.
6952 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6959 if test -n $lt_cv_sys_max_cmd_len ; then
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
6961 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
6964 $as_echo "none
" >&6; }
6966 max_cmd_len=$lt_cv_sys_max_cmd_len
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
6978 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
6979 # Try some XSI features
6982 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6984 && eval 'test $(( 1 + 1 )) -eq 2 \
6985 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6988 $as_echo "$xsi_shell" >&6; }
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6992 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6994 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
6996 && lt_shell_append
=yes
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6998 $as_echo "$lt_shell_append" >&6; }
7001 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7011 # test EBCDIC or ASCII
7012 case `echo X|tr X '\101'` in
7013 A
) # ASCII based system
7014 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7015 lt_SP2NL
='tr \040 \012'
7016 lt_NL2SP
='tr \015\012 \040\040'
7018 *) # EBCDIC based system
7019 lt_SP2NL
='tr \100 \n'
7020 lt_NL2SP
='tr \r\n \100\100'
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7033 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7034 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7035 $as_echo_n "(cached) " >&6
7037 lt_cv_ld_reload_flag
='-r'
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7040 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7041 reload_flag
=$lt_cv_ld_reload_flag
7042 case $reload_flag in
7044 *) reload_flag
=" $reload_flag" ;;
7046 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7049 if test "$GCC" = yes; then
7050 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7052 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7065 if test -n "$ac_tool_prefix"; then
7066 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7067 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7069 $as_echo_n "checking for $ac_word... " >&6; }
7070 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7071 $as_echo_n "(cached) " >&6
7073 if test -n "$OBJDUMP"; then
7074 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7080 test -z "$as_dir" && as_dir
=.
7081 for ac_exec_ext
in '' $ac_executable_extensions; do
7082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7083 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7093 OBJDUMP
=$ac_cv_prog_OBJDUMP
7094 if test -n "$OBJDUMP"; then
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7096 $as_echo "$OBJDUMP" >&6; }
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7099 $as_echo "no" >&6; }
7104 if test -z "$ac_cv_prog_OBJDUMP"; then
7105 ac_ct_OBJDUMP
=$OBJDUMP
7106 # Extract the first word of "objdump", so it can be a program name with args.
7107 set dummy objdump
; ac_word
=$2
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7109 $as_echo_n "checking for $ac_word... " >&6; }
7110 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7111 $as_echo_n "(cached) " >&6
7113 if test -n "$ac_ct_OBJDUMP"; then
7114 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7120 test -z "$as_dir" && as_dir
=.
7121 for ac_exec_ext
in '' $ac_executable_extensions; do
7122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7123 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7133 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7134 if test -n "$ac_ct_OBJDUMP"; then
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7136 $as_echo "$ac_ct_OBJDUMP" >&6; }
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7139 $as_echo "no" >&6; }
7142 if test "x$ac_ct_OBJDUMP" = x
; then
7145 case $cross_compiling:$ac_tool_warned in
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7148 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7149 ac_tool_warned
=yes ;;
7151 OBJDUMP
=$ac_ct_OBJDUMP
7154 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7157 test -z "$OBJDUMP" && OBJDUMP
=objdump
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7168 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7169 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7170 $as_echo_n "(cached) " >&6
7172 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7173 lt_cv_file_magic_test_file
=
7174 lt_cv_deplibs_check_method
='unknown'
7175 # Need to set the preceding variable on all platforms that support
7176 # interlibrary dependencies.
7177 # 'none' -- dependencies not supported.
7178 # `unknown' -- same as none, but documents that we really don't know.
7179 # 'pass_all' -- all dependencies passed with no checks.
7180 # 'test_compile' -- check by making test program.
7181 # 'file_magic [[regex]]' -- check by looking for files in library path
7182 # which responds to the $file_magic_cmd with a given extended regex.
7183 # If you have `file' or equivalent on your system and you're not sure
7184 # whether `pass_all' will *always* work, you probably want this one.
7188 lt_cv_deplibs_check_method
=pass_all
7192 lt_cv_deplibs_check_method
=pass_all
7196 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7197 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7198 lt_cv_file_magic_test_file
=/shlib
/libc.so
7202 # func_win32_libid is a shell function defined in ltmain.sh
7203 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7204 lt_cv_file_magic_cmd
='func_win32_libid'
7208 # Base MSYS/MinGW do not provide the 'file' command needed by
7209 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7210 # unless we find 'file', for example because we are cross-compiling.
7211 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7212 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
7213 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7214 lt_cv_file_magic_cmd
='func_win32_libid'
7216 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
7217 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7222 # use the weaker test based on 'objdump'. See mingw*.
7223 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7224 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7227 darwin
* | rhapsody
*)
7228 lt_cv_deplibs_check_method
=pass_all
7231 freebsd
* | dragonfly
*)
7232 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7235 # Not sure whether the presence of OpenBSD here was a mistake.
7236 # Let's accept both of them until this is cleared up.
7237 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7238 lt_cv_file_magic_cmd
=/usr
/bin
/file
7239 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7243 lt_cv_deplibs_check_method
=pass_all
7248 lt_cv_deplibs_check_method
=pass_all
7252 lt_cv_deplibs_check_method
=pass_all
7255 hpux10.20
* | hpux11
*)
7256 lt_cv_file_magic_cmd
=/usr
/bin
/file
7259 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7260 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7263 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]'
7264 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7267 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7268 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7274 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7275 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7278 irix5
* | irix6
* | nonstopux
*)
7280 *-32|
*"-32 ") libmagic
=32-bit;;
7281 *-n32|
*"-n32 ") libmagic
=N32
;;
7282 *-64|
*"-64 ") libmagic
=64-bit;;
7283 *) libmagic
=never-match
;;
7285 lt_cv_deplibs_check_method
=pass_all
7288 # This must be Linux ELF.
7289 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
7290 lt_cv_deplibs_check_method
=pass_all
7294 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7295 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7297 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7302 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7303 lt_cv_file_magic_cmd
=/usr
/bin
/file
7304 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7308 lt_cv_deplibs_check_method
=pass_all
7312 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7313 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7315 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7319 osf3
* | osf4
* | osf5
*)
7320 lt_cv_deplibs_check_method
=pass_all
7324 lt_cv_deplibs_check_method
=pass_all
7328 lt_cv_deplibs_check_method
=pass_all
7331 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7332 lt_cv_deplibs_check_method
=pass_all
7336 case $host_vendor in
7338 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]'
7339 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7342 lt_cv_deplibs_check_method
=pass_all
7345 lt_cv_file_magic_cmd
='/bin/file'
7346 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7349 lt_cv_file_magic_cmd
='/bin/file'
7350 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7351 lt_cv_file_magic_test_file
=/lib
/libc.so
7354 lt_cv_deplibs_check_method
=pass_all
7357 lt_cv_deplibs_check_method
=pass_all
7363 lt_cv_deplibs_check_method
=pass_all
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7369 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7370 file_magic_cmd
=$lt_cv_file_magic_cmd
7371 deplibs_check_method
=$lt_cv_deplibs_check_method
7372 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7385 if test -n "$ac_tool_prefix"; then
7386 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7387 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7389 $as_echo_n "checking for $ac_word... " >&6; }
7390 if test "${ac_cv_prog_AR+set}" = set; then :
7391 $as_echo_n "(cached) " >&6
7393 if test -n "$AR"; then
7394 ac_cv_prog_AR
="$AR" # Let the user override the test.
7396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7400 test -z "$as_dir" && as_dir
=.
7401 for ac_exec_ext
in '' $ac_executable_extensions; do
7402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7403 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7414 if test -n "$AR"; then
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7416 $as_echo "$AR" >&6; }
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7419 $as_echo "no" >&6; }
7424 if test -z "$ac_cv_prog_AR"; then
7426 # Extract the first word of "ar", so it can be a program name with args.
7427 set dummy
ar; ac_word
=$2
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7429 $as_echo_n "checking for $ac_word... " >&6; }
7430 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7431 $as_echo_n "(cached) " >&6
7433 if test -n "$ac_ct_AR"; then
7434 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7440 test -z "$as_dir" && as_dir
=.
7441 for ac_exec_ext
in '' $ac_executable_extensions; do
7442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7443 ac_cv_prog_ac_ct_AR
="ar"
7444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7453 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7454 if test -n "$ac_ct_AR"; then
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7456 $as_echo "$ac_ct_AR" >&6; }
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7459 $as_echo "no" >&6; }
7462 if test "x$ac_ct_AR" = x
; then
7465 case $cross_compiling:$ac_tool_warned in
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7468 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7469 ac_tool_warned
=yes ;;
7477 test -z "$AR" && AR
=ar
7478 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7490 if test -n "$ac_tool_prefix"; then
7491 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7492 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7494 $as_echo_n "checking for $ac_word... " >&6; }
7495 if test "${ac_cv_prog_STRIP+set}" = set; then :
7496 $as_echo_n "(cached) " >&6
7498 if test -n "$STRIP"; then
7499 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7505 test -z "$as_dir" && as_dir
=.
7506 for ac_exec_ext
in '' $ac_executable_extensions; do
7507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7508 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7518 STRIP
=$ac_cv_prog_STRIP
7519 if test -n "$STRIP"; then
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7521 $as_echo "$STRIP" >&6; }
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7524 $as_echo "no" >&6; }
7529 if test -z "$ac_cv_prog_STRIP"; then
7531 # Extract the first word of "strip", so it can be a program name with args.
7532 set dummy strip
; ac_word
=$2
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7534 $as_echo_n "checking for $ac_word... " >&6; }
7535 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7536 $as_echo_n "(cached) " >&6
7538 if test -n "$ac_ct_STRIP"; then
7539 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7545 test -z "$as_dir" && as_dir
=.
7546 for ac_exec_ext
in '' $ac_executable_extensions; do
7547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7548 ac_cv_prog_ac_ct_STRIP
="strip"
7549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7558 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7559 if test -n "$ac_ct_STRIP"; then
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7561 $as_echo "$ac_ct_STRIP" >&6; }
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7564 $as_echo "no" >&6; }
7567 if test "x$ac_ct_STRIP" = x
; then
7570 case $cross_compiling:$ac_tool_warned in
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7574 ac_tool_warned
=yes ;;
7579 STRIP
="$ac_cv_prog_STRIP"
7582 test -z "$STRIP" && STRIP
=:
7589 if test -n "$ac_tool_prefix"; then
7590 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7591 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7593 $as_echo_n "checking for $ac_word... " >&6; }
7594 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7595 $as_echo_n "(cached) " >&6
7597 if test -n "$RANLIB"; then
7598 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7604 test -z "$as_dir" && as_dir
=.
7605 for ac_exec_ext
in '' $ac_executable_extensions; do
7606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7607 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7617 RANLIB
=$ac_cv_prog_RANLIB
7618 if test -n "$RANLIB"; then
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7620 $as_echo "$RANLIB" >&6; }
7622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7623 $as_echo "no" >&6; }
7628 if test -z "$ac_cv_prog_RANLIB"; then
7629 ac_ct_RANLIB
=$RANLIB
7630 # Extract the first word of "ranlib", so it can be a program name with args.
7631 set dummy ranlib
; ac_word
=$2
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7633 $as_echo_n "checking for $ac_word... " >&6; }
7634 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7635 $as_echo_n "(cached) " >&6
7637 if test -n "$ac_ct_RANLIB"; then
7638 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7644 test -z "$as_dir" && as_dir
=.
7645 for ac_exec_ext
in '' $ac_executable_extensions; do
7646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7647 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7657 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7658 if test -n "$ac_ct_RANLIB"; then
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7660 $as_echo "$ac_ct_RANLIB" >&6; }
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7663 $as_echo "no" >&6; }
7666 if test "x$ac_ct_RANLIB" = x
; then
7669 case $cross_compiling:$ac_tool_warned in
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7672 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7673 ac_tool_warned
=yes ;;
7675 RANLIB
=$ac_ct_RANLIB
7678 RANLIB
="$ac_cv_prog_RANLIB"
7681 test -z "$RANLIB" && RANLIB
=:
7688 # Determine commands to create old-style static archives.
7689 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7690 old_postinstall_cmds
='chmod 644 $oldlib'
7691 old_postuninstall_cmds
=
7693 if test -n "$RANLIB"; then
7696 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7699 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7702 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7707 lock_old_archive_extraction
=yes ;;
7709 lock_old_archive_extraction
=no
;;
7750 # If no C compiler was specified, use CC.
7753 # If no C compiler flags were specified, use CFLAGS.
7754 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7756 # Allow CC to be a program name with arguments.
7760 # Check for command to grab the raw symbol name followed by C symbol from nm.
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7762 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7763 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7764 $as_echo_n "(cached) " >&6
7767 # These are sane defaults that work on at least a few old systems.
7768 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7770 # Character class describing NM global symbol codes.
7771 symcode
='[BCDEGRST]'
7773 # Regexp to match symbols that can be accessed directly from C.
7774 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
7776 # Define system-specific variables.
7781 cygwin
* | mingw
* | pw32
* | cegcc
*)
7782 symcode
='[ABCDGISTW]'
7785 if test "$host_cpu" = ia64
; then
7786 symcode
='[ABCDEGRST]'
7790 symcode
='[BCDEGRST]'
7793 symcode
='[BCDEGQRST]'
7804 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
7812 # If we're using GNU nm, then use its standard symbol codes.
7813 case `$NM -V 2>&1` in
7814 *GNU
* |
*'with BFD'*)
7815 symcode
='[ABCDGIRSTW]' ;;
7818 # Transform an extracted symbol line into a proper C declaration.
7819 # Some systems (esp. on ia64) link data and code symbols differently,
7820 # so use this general approach.
7821 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7823 # Transform an extracted symbol line into symbol name and symbol address
7824 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7825 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'"
7827 # Handle CRLF in mingw tool chain
7831 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7835 # Try without a prefix underscore, then with it.
7836 for ac_symprfx
in "" "_"; do
7838 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7839 symxfrm
="\\1 $ac_symprfx\\2 \\2"
7841 # Write the raw and C identifiers.
7842 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7843 # Fake it for dumpbin and say T for any non-static function
7844 # and D for any global variable.
7845 # Also find C++ and __fastcall symbols from MSVC++,
7846 # which start with @ or ?.
7847 lt_cv_sys_global_symbol_pipe
="$AWK '"\
7848 " {last_section=section; section=\$ 3};"\
7849 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7850 " \$ 0!~/External *\|/{next};"\
7851 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7852 " {if(hide[section]) next};"\
7853 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7854 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7855 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7856 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7857 " ' prfx=^$ac_symprfx"
7859 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7862 # Check to see that the pipe works correctly.
7866 cat > conftest.
$ac_ext <<_LT_EOF
7871 void nm_test_func(void);
7872 void nm_test_func(void){}
7876 int main(){nm_test_var='a';nm_test_func();return(0);}
7879 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7880 (eval $ac_compile) 2>&5
7882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7883 test $ac_status = 0; }; then
7884 # Now try to grab the symbols.
7886 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7887 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
7889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7890 test $ac_status = 0; } && test -s "$nlist"; then
7891 # Try sorting and uniquifying the output.
7892 if sort "$nlist" |
uniq > "$nlist"T
; then
7893 mv -f "$nlist"T
"$nlist"
7898 # Make sure that we snagged all the symbols we need.
7899 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
7900 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
7901 cat <<_LT_EOF > conftest.$ac_ext
7907 # Now generate the symbol file.
7908 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7910 cat <<_LT_EOF >> conftest.$ac_ext
7912 /* The mapping between symbol names and symbols. */
7917 lt__PROGRAM__LTX_preloaded_symbols[] =
7919 { "@PROGRAM@", (void *) 0 },
7921 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
7922 cat <<\_LT_EOF
>> conftest.
$ac_ext
7926 /* This works around a problem
in FreeBSD linker
*/
7927 #ifdef FREEBSD_WORKAROUND
7928 static const void
*lt_preloaded_setup
() {
7929 return lt__PROGRAM__LTX_preloaded_symbols
;
7937 # Now try linking the two files.
7938 mv conftest.
$ac_objext conftstm.
$ac_objext
7939 lt_save_LIBS
="$LIBS"
7940 lt_save_CFLAGS
="$CFLAGS"
7941 LIBS
="conftstm.$ac_objext"
7942 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7943 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7944 (eval $ac_link) 2>&5
7946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7947 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
7950 LIBS
="$lt_save_LIBS"
7951 CFLAGS
="$lt_save_CFLAGS"
7953 echo "cannot find nm_test_func in $nlist" >&5
7956 echo "cannot find nm_test_var in $nlist" >&5
7959 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7962 echo "$progname: failed program was:" >&5
7963 cat conftest.
$ac_ext >&5
7965 rm -rf conftest
* conftst
*
7967 # Do not use the global_symbol_pipe unless it works.
7968 if test "$pipe_works" = yes; then
7971 lt_cv_sys_global_symbol_pipe
=
7977 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7978 lt_cv_sys_global_symbol_to_cdecl
=
7980 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7982 $as_echo "failed" >&6; }
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7985 $as_echo "ok" >&6; }
8009 # Check whether --enable-libtool-lock was given.
8010 if test "${enable_libtool_lock+set}" = set; then :
8011 enableval
=$enable_libtool_lock;
8014 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8016 # Some flags need to be propagated to the compiler or linker for good
8020 # Find out which ABI we are using.
8021 echo 'int i;' > conftest.
$ac_ext
8022 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8023 (eval $ac_compile) 2>&5
8025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8026 test $ac_status = 0; }; then
8027 case `/usr/bin/file conftest.$ac_objext` in
8039 # Find out which ABI we are using.
8040 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8041 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8042 (eval $ac_compile) 2>&5
8044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8045 test $ac_status = 0; }; then
8046 if test "$lt_cv_prog_gnu_ld" = yes; then
8047 case `/usr/bin/file conftest.$ac_objext` in
8049 LD
="${LD-ld} -melf32bsmip"
8052 LD
="${LD-ld} -melf32bmipn32"
8055 LD
="${LD-ld} -melf64bmip"
8059 case `/usr/bin/file conftest.$ac_objext` in
8075 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
8076 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8077 # Find out which ABI we are using.
8078 echo 'int i;' > conftest.
$ac_ext
8079 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8080 (eval $ac_compile) 2>&5
8082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8083 test $ac_status = 0; }; then
8084 case `/usr/bin/file conftest.o` in
8087 x86_64-
*kfreebsd
*-gnu)
8088 LD
="${LD-ld} -m elf_i386_fbsd"
8091 case `/usr/bin/file conftest.o` in
8093 LD
="${LD-ld} -m elf32_x86_64"
8096 LD
="${LD-ld} -m elf_i386"
8100 powerpc64le-
*linux
*)
8101 LD
="${LD-ld} -m elf32lppclinux"
8104 LD
="${LD-ld} -m elf32ppclinux"
8107 LD
="${LD-ld} -m elf_s390"
8110 LD
="${LD-ld} -m elf32_sparc"
8116 x86_64-
*kfreebsd
*-gnu)
8117 LD
="${LD-ld} -m elf_x86_64_fbsd"
8120 LD
="${LD-ld} -m elf_x86_64"
8123 LD
="${LD-ld} -m elf64lppc"
8126 LD
="${LD-ld} -m elf64ppc"
8128 s390
*-*linux
*|s390
*-*tpf
*)
8129 LD
="${LD-ld} -m elf64_s390"
8132 LD
="${LD-ld} -m elf64_sparc"
8142 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8143 SAVE_CFLAGS
="$CFLAGS"
8144 CFLAGS
="$CFLAGS -belf"
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8146 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8147 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8148 $as_echo_n "(cached) " >&6
8151 ac_cpp
='$CPP $CPPFLAGS'
8152 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8153 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8154 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8156 if test x
$gcc_no_link = xyes
; then
8157 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8160 /* end confdefs.h. */
8170 if ac_fn_c_try_link
"$LINENO"; then :
8171 lt_cv_cc_needs_belf
=yes
8173 lt_cv_cc_needs_belf
=no
8175 rm -f core conftest.err conftest.
$ac_objext \
8176 conftest
$ac_exeext conftest.
$ac_ext
8178 ac_cpp
='$CPP $CPPFLAGS'
8179 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8180 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8181 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8185 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8186 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
8187 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8188 CFLAGS
="$SAVE_CFLAGS"
8192 # Find out which ABI we are using.
8193 echo 'int i;' > conftest.
$ac_ext
8194 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8195 (eval $ac_compile) 2>&5
8197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8198 test $ac_status = 0; }; then
8199 case `/usr/bin/file conftest.o` in
8201 case $lt_cv_prog_gnu_ld in
8202 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8204 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8216 need_locks
="$enable_libtool_lock"
8220 rhapsody
* | darwin
*)
8221 if test -n "$ac_tool_prefix"; then
8222 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8223 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8225 $as_echo_n "checking for $ac_word... " >&6; }
8226 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8227 $as_echo_n "(cached) " >&6
8229 if test -n "$DSYMUTIL"; then
8230 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8236 test -z "$as_dir" && as_dir
=.
8237 for ac_exec_ext
in '' $ac_executable_extensions; do
8238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8239 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8249 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8250 if test -n "$DSYMUTIL"; then
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8252 $as_echo "$DSYMUTIL" >&6; }
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8255 $as_echo "no" >&6; }
8260 if test -z "$ac_cv_prog_DSYMUTIL"; then
8261 ac_ct_DSYMUTIL
=$DSYMUTIL
8262 # Extract the first word of "dsymutil", so it can be a program name with args.
8263 set dummy dsymutil
; ac_word
=$2
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8265 $as_echo_n "checking for $ac_word... " >&6; }
8266 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8267 $as_echo_n "(cached) " >&6
8269 if test -n "$ac_ct_DSYMUTIL"; then
8270 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8276 test -z "$as_dir" && as_dir
=.
8277 for ac_exec_ext
in '' $ac_executable_extensions; do
8278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8279 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8289 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8290 if test -n "$ac_ct_DSYMUTIL"; then
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8292 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8295 $as_echo "no" >&6; }
8298 if test "x$ac_ct_DSYMUTIL" = x
; then
8301 case $cross_compiling:$ac_tool_warned in
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8304 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8305 ac_tool_warned
=yes ;;
8307 DSYMUTIL
=$ac_ct_DSYMUTIL
8310 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8313 if test -n "$ac_tool_prefix"; then
8314 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8315 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8317 $as_echo_n "checking for $ac_word... " >&6; }
8318 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8319 $as_echo_n "(cached) " >&6
8321 if test -n "$NMEDIT"; then
8322 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8328 test -z "$as_dir" && as_dir
=.
8329 for ac_exec_ext
in '' $ac_executable_extensions; do
8330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8331 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8341 NMEDIT
=$ac_cv_prog_NMEDIT
8342 if test -n "$NMEDIT"; then
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8344 $as_echo "$NMEDIT" >&6; }
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8347 $as_echo "no" >&6; }
8352 if test -z "$ac_cv_prog_NMEDIT"; then
8353 ac_ct_NMEDIT
=$NMEDIT
8354 # Extract the first word of "nmedit", so it can be a program name with args.
8355 set dummy nmedit
; ac_word
=$2
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8357 $as_echo_n "checking for $ac_word... " >&6; }
8358 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8359 $as_echo_n "(cached) " >&6
8361 if test -n "$ac_ct_NMEDIT"; then
8362 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8368 test -z "$as_dir" && as_dir
=.
8369 for ac_exec_ext
in '' $ac_executable_extensions; do
8370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8371 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8381 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8382 if test -n "$ac_ct_NMEDIT"; then
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8384 $as_echo "$ac_ct_NMEDIT" >&6; }
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8387 $as_echo "no" >&6; }
8390 if test "x$ac_ct_NMEDIT" = x
; then
8393 case $cross_compiling:$ac_tool_warned in
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8396 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8397 ac_tool_warned
=yes ;;
8399 NMEDIT
=$ac_ct_NMEDIT
8402 NMEDIT
="$ac_cv_prog_NMEDIT"
8405 if test -n "$ac_tool_prefix"; then
8406 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8407 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8409 $as_echo_n "checking for $ac_word... " >&6; }
8410 if test "${ac_cv_prog_LIPO+set}" = set; then :
8411 $as_echo_n "(cached) " >&6
8413 if test -n "$LIPO"; then
8414 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8420 test -z "$as_dir" && as_dir
=.
8421 for ac_exec_ext
in '' $ac_executable_extensions; do
8422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8423 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8433 LIPO
=$ac_cv_prog_LIPO
8434 if test -n "$LIPO"; then
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8436 $as_echo "$LIPO" >&6; }
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8439 $as_echo "no" >&6; }
8444 if test -z "$ac_cv_prog_LIPO"; then
8446 # Extract the first word of "lipo", so it can be a program name with args.
8447 set dummy lipo
; ac_word
=$2
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8449 $as_echo_n "checking for $ac_word... " >&6; }
8450 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8451 $as_echo_n "(cached) " >&6
8453 if test -n "$ac_ct_LIPO"; then
8454 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8460 test -z "$as_dir" && as_dir
=.
8461 for ac_exec_ext
in '' $ac_executable_extensions; do
8462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8463 ac_cv_prog_ac_ct_LIPO
="lipo"
8464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8473 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8474 if test -n "$ac_ct_LIPO"; then
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8476 $as_echo "$ac_ct_LIPO" >&6; }
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8479 $as_echo "no" >&6; }
8482 if test "x$ac_ct_LIPO" = x
; then
8485 case $cross_compiling:$ac_tool_warned in
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8488 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8489 ac_tool_warned
=yes ;;
8494 LIPO
="$ac_cv_prog_LIPO"
8497 if test -n "$ac_tool_prefix"; then
8498 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8499 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8501 $as_echo_n "checking for $ac_word... " >&6; }
8502 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8503 $as_echo_n "(cached) " >&6
8505 if test -n "$OTOOL"; then
8506 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8512 test -z "$as_dir" && as_dir
=.
8513 for ac_exec_ext
in '' $ac_executable_extensions; do
8514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8515 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8525 OTOOL
=$ac_cv_prog_OTOOL
8526 if test -n "$OTOOL"; then
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8528 $as_echo "$OTOOL" >&6; }
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8531 $as_echo "no" >&6; }
8536 if test -z "$ac_cv_prog_OTOOL"; then
8538 # Extract the first word of "otool", so it can be a program name with args.
8539 set dummy otool
; ac_word
=$2
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8541 $as_echo_n "checking for $ac_word... " >&6; }
8542 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8543 $as_echo_n "(cached) " >&6
8545 if test -n "$ac_ct_OTOOL"; then
8546 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8552 test -z "$as_dir" && as_dir
=.
8553 for ac_exec_ext
in '' $ac_executable_extensions; do
8554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8555 ac_cv_prog_ac_ct_OTOOL
="otool"
8556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8565 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
8566 if test -n "$ac_ct_OTOOL"; then
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8568 $as_echo "$ac_ct_OTOOL" >&6; }
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8571 $as_echo "no" >&6; }
8574 if test "x$ac_ct_OTOOL" = x
; then
8577 case $cross_compiling:$ac_tool_warned in
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8580 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8581 ac_tool_warned
=yes ;;
8586 OTOOL
="$ac_cv_prog_OTOOL"
8589 if test -n "$ac_tool_prefix"; then
8590 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8591 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8593 $as_echo_n "checking for $ac_word... " >&6; }
8594 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8595 $as_echo_n "(cached) " >&6
8597 if test -n "$OTOOL64"; then
8598 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
8600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8604 test -z "$as_dir" && as_dir
=.
8605 for ac_exec_ext
in '' $ac_executable_extensions; do
8606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8607 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
8608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8617 OTOOL64
=$ac_cv_prog_OTOOL64
8618 if test -n "$OTOOL64"; then
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8620 $as_echo "$OTOOL64" >&6; }
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8623 $as_echo "no" >&6; }
8628 if test -z "$ac_cv_prog_OTOOL64"; then
8629 ac_ct_OTOOL64
=$OTOOL64
8630 # Extract the first word of "otool64", so it can be a program name with args.
8631 set dummy otool64
; ac_word
=$2
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8633 $as_echo_n "checking for $ac_word... " >&6; }
8634 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8635 $as_echo_n "(cached) " >&6
8637 if test -n "$ac_ct_OTOOL64"; then
8638 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
8640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8644 test -z "$as_dir" && as_dir
=.
8645 for ac_exec_ext
in '' $ac_executable_extensions; do
8646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8647 ac_cv_prog_ac_ct_OTOOL64
="otool64"
8648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8657 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
8658 if test -n "$ac_ct_OTOOL64"; then
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8660 $as_echo "$ac_ct_OTOOL64" >&6; }
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8663 $as_echo "no" >&6; }
8666 if test "x$ac_ct_OTOOL64" = x
; then
8669 case $cross_compiling:$ac_tool_warned in
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8672 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8673 ac_tool_warned
=yes ;;
8675 OTOOL64
=$ac_ct_OTOOL64
8678 OTOOL64
="$ac_cv_prog_OTOOL64"
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8708 $as_echo_n "checking for -single_module linker flag... " >&6; }
8709 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8710 $as_echo_n "(cached) " >&6
8712 lt_cv_apple_cc_single_mod
=no
8713 if test -z "${LT_MULTI_MODULE}"; then
8714 # By default we will add the -single_module flag. You can override
8715 # by either setting the environment variable LT_MULTI_MODULE
8716 # non-empty at configure time, or by adding -multi_module to the
8718 rm -rf libconftest.dylib
*
8719 echo "int foo(void){return 1;}" > conftest.c
8720 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8721 -dynamiclib -Wl,-single_module conftest.c" >&5
8722 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8723 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
8725 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
8726 lt_cv_apple_cc_single_mod
=yes
8728 cat conftest.err
>&5
8730 rm -rf libconftest.dylib
*
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8735 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8737 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8738 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8739 $as_echo_n "(cached) " >&6
8741 lt_cv_ld_exported_symbols_list
=no
8742 save_LDFLAGS
=$LDFLAGS
8743 echo "_main" > conftest.sym
8744 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8745 if test x
$gcc_no_link = xyes
; then
8746 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8749 /* end confdefs.h. */
8759 if ac_fn_c_try_link
"$LINENO"; then :
8760 lt_cv_ld_exported_symbols_list
=yes
8762 lt_cv_ld_exported_symbols_list
=no
8764 rm -f core conftest.err conftest.
$ac_objext \
8765 conftest
$ac_exeext conftest.
$ac_ext
8766 LDFLAGS
="$save_LDFLAGS"
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8770 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8772 $as_echo_n "checking for -force_load linker flag... " >&6; }
8773 if test "${lt_cv_ld_force_load+set}" = set; then :
8774 $as_echo_n "(cached) " >&6
8776 lt_cv_ld_force_load
=no
8777 cat > conftest.c
<< _LT_EOF
8778 int forced_loaded() { return 2;}
8780 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8781 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
8782 echo "$AR cru libconftest.a conftest.o" >&5
8783 $AR cru libconftest.a conftest.o
2>&5
8784 cat > conftest.c
<< _LT_EOF
8785 int main() { return 0;}
8787 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8788 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8790 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
8791 lt_cv_ld_force_load
=yes
8793 cat conftest.err
>&5
8795 rm -f conftest.err libconftest.a conftest conftest.c
8796 rm -rf conftest.dSYM
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8800 $as_echo "$lt_cv_ld_force_load" >&6; }
8802 rhapsody
* | darwin1.
[012])
8803 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8805 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8806 darwin
*) # darwin 5.x on
8807 # if running on 10.5 or later, the deployment target defaults
8808 # to the OS version, if on x86, and 10.4, the deployment
8809 # target defaults to 10.4. Don't you love it?
8810 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8811 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8812 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8814 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8816 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8820 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8821 _lt_dar_single_mod
='$single_module'
8823 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8824 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8826 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8828 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8829 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8836 for ac_header
in dlfcn.h
8838 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8840 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
8841 cat >>confdefs.h
<<_ACEOF
8842 #define HAVE_DLFCN_H 1
8861 # Check whether --enable-shared was given.
8862 if test "${enable_shared+set}" = set; then :
8863 enableval
=$enable_shared; p
=${PACKAGE-default}
8865 yes) enable_shared
=yes ;;
8866 no
) enable_shared
=no
;;
8869 # Look at the argument we got. We use all the common list separators.
8870 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8871 for pkg
in $enableval; do
8873 if test "X$pkg" = "X$p"; then
8892 # Check whether --enable-static was given.
8893 if test "${enable_static+set}" = set; then :
8894 enableval
=$enable_static; p
=${PACKAGE-default}
8896 yes) enable_static
=yes ;;
8897 no
) enable_static
=no
;;
8900 # Look at the argument we got. We use all the common list separators.
8901 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8902 for pkg
in $enableval; do
8904 if test "X$pkg" = "X$p"; then
8924 # Check whether --with-pic was given.
8925 if test "${with_pic+set}" = set; then :
8926 withval
=$with_pic; p
=${PACKAGE-default}
8928 yes|no
) pic_mode
="$withval" ;;
8931 # Look at the argument we got. We use all the common list separators.
8932 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8933 for pkg
in $withval; do
8935 if test "X$pkg" = "X$p"; then
8947 test -z "$pic_mode" && pic_mode
=default
8955 # Check whether --enable-fast-install was given.
8956 if test "${enable_fast_install+set}" = set; then :
8957 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8959 yes) enable_fast_install
=yes ;;
8960 no
) enable_fast_install
=no
;;
8962 enable_fast_install
=no
8963 # Look at the argument we got. We use all the common list separators.
8964 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8965 for pkg
in $enableval; do
8967 if test "X$pkg" = "X$p"; then
8968 enable_fast_install
=yes
8975 enable_fast_install
=yes
8988 # This can be used to rebuild libtool when needed
8989 LIBTOOL_DEPS
="$ltmain"
8991 # Always use our own libtool.
8992 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9019 test -z "$LN_S" && LN_S
="ln -s"
9034 if test -n "${ZSH_VERSION+set}" ; then
9035 setopt NO_GLOB_SUBST
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9039 $as_echo_n "checking for objdir... " >&6; }
9040 if test "${lt_cv_objdir+set}" = set; then :
9041 $as_echo_n "(cached) " >&6
9043 rm -f .libs
2>/dev
/null
9044 mkdir .libs
2>/dev
/null
9045 if test -d .libs
; then
9048 # MS-DOS does not allow filenames that begin with a dot.
9051 rmdir .libs
2>/dev
/null
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9054 $as_echo "$lt_cv_objdir" >&6; }
9055 objdir
=$lt_cv_objdir
9061 cat >>confdefs.h
<<_ACEOF
9062 #define LT_OBJDIR "$lt_cv_objdir/"
9070 # AIX sometimes has problems with the GCC collect2 program. For some
9071 # reason, if we set the COLLECT_NAMES environment variable, the problems
9072 # vanish in a puff of smoke.
9073 if test "X${COLLECT_NAMES+set}" != Xset
; then
9075 export COLLECT_NAMES
9082 can_build_shared
=yes
9084 # All known linkers require a `.a' archive for static linking (except MSVC,
9085 # which needs '.lib').
9088 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9091 old_CFLAGS
="$CFLAGS"
9093 # Set sane defaults for various variables
9094 test -z "$CC" && CC
=cc
9095 test -z "$LTCC" && LTCC
=$CC
9096 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9097 test -z "$LD" && LD
=ld
9098 test -z "$ac_objext" && ac_objext
=o
9100 for cc_temp
in $compiler""; do
9102 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9103 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9108 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9111 # Only perform the check for file, if the check method requires it
9112 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9113 case $deplibs_check_method in
9115 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9117 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9118 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9119 $as_echo_n "(cached) " >&6
9123 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9126 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9127 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9128 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9129 for ac_dir
in $ac_dummy; do
9131 test -z "$ac_dir" && ac_dir
=.
9132 if test -f $ac_dir/${ac_tool_prefix}file; then
9133 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9134 if test -n "$file_magic_test_file"; then
9135 case $deplibs_check_method in
9137 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9138 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9139 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9140 $EGREP "$file_magic_regex" > /dev
/null
; then
9145 *** Warning: the command libtool uses to detect shared libraries,
9146 *** $file_magic_cmd, produces output that libtool cannot recognize.
9147 *** The result is that libtool may fail to recognize shared libraries
9148 *** as such. This will affect the creation of libtool libraries that
9149 *** depend on shared libraries, but programs linked with such libtool
9150 *** libraries will work regardless of this problem. Nevertheless, you
9151 *** may want to report the problem to your system manager and/or to
9152 *** bug-libtool@gnu.org
9162 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9167 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9168 if test -n "$MAGIC_CMD"; then
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9170 $as_echo "$MAGIC_CMD" >&6; }
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9173 $as_echo "no" >&6; }
9180 if test -z "$lt_cv_path_MAGIC_CMD"; then
9181 if test -n "$ac_tool_prefix"; then
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9183 $as_echo_n "checking for file... " >&6; }
9184 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9185 $as_echo_n "(cached) " >&6
9189 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9192 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9193 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9194 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9195 for ac_dir
in $ac_dummy; do
9197 test -z "$ac_dir" && ac_dir
=.
9198 if test -f $ac_dir/file; then
9199 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9200 if test -n "$file_magic_test_file"; then
9201 case $deplibs_check_method in
9203 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9204 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9205 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9206 $EGREP "$file_magic_regex" > /dev
/null
; then
9211 *** Warning: the command libtool uses to detect shared libraries,
9212 *** $file_magic_cmd, produces output that libtool cannot recognize.
9213 *** The result is that libtool may fail to recognize shared libraries
9214 *** as such. This will affect the creation of libtool libraries that
9215 *** depend on shared libraries, but programs linked with such libtool
9216 *** libraries will work regardless of this problem. Nevertheless, you
9217 *** may want to report the problem to your system manager and/or to
9218 *** bug-libtool@gnu.org
9228 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9233 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9234 if test -n "$MAGIC_CMD"; then
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9236 $as_echo "$MAGIC_CMD" >&6; }
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9239 $as_echo "no" >&6; }
9252 # Use C for the default configuration in the libtool script
9256 ac_cpp
='$CPP $CPPFLAGS'
9257 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9258 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9259 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9262 # Source file extension for C test sources.
9265 # Object file extension for compiled C test sources.
9269 # Code to be used in simple compile tests
9270 lt_simple_compile_test_code
="int some_variable = 0;"
9272 # Code to be used in simple link tests
9273 lt_simple_link_test_code
='int main(){return(0);}'
9281 # If no C compiler was specified, use CC.
9284 # If no C compiler flags were specified, use CFLAGS.
9285 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9287 # Allow CC to be a program name with arguments.
9290 # Save the default compiler, since it gets overwritten when the other
9291 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9292 compiler_DEFAULT
=$CC
9294 # save warnings/boilerplate of simple test code
9295 ac_outfile
=conftest.
$ac_objext
9296 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9297 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9298 _lt_compiler_boilerplate
=`cat conftest.err`
9301 ac_outfile
=conftest.
$ac_objext
9302 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9303 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9304 _lt_linker_boilerplate
=`cat conftest.err`
9309 ## There is no encapsulation within the following macros, do not change
9310 ## the running order or otherwise move them around unless you know exactly
9311 ## what you are doing...
9312 if test -n "$compiler"; then
9314 lt_prog_compiler_no_builtin_flag
=
9316 if test "$GCC" = yes; then
9317 case $cc_basename in
9319 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9321 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9325 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9326 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9327 $as_echo_n "(cached) " >&6
9329 lt_cv_prog_compiler_rtti_exceptions
=no
9330 ac_outfile
=conftest.
$ac_objext
9331 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9332 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9333 # Insert the option either (1) after the last *FLAGS variable, or
9334 # (2) before a word containing "conftest.", or (3) at the end.
9335 # Note that $ac_compile itself does not contain backslashes and begins
9336 # with a dollar sign (not a hyphen), so the echo should work correctly.
9337 # The option is referenced via a variable to avoid confusing sed.
9338 lt_compile
=`echo "$ac_compile" | $SED \
9339 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9340 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9341 -e 's:$: $lt_compiler_flag:'`
9342 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9343 (eval "$lt_compile" 2>conftest.err
)
9345 cat conftest.err
>&5
9346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9347 if (exit $ac_status) && test -s "$ac_outfile"; then
9348 # The compiler can only warn and ignore the option if not recognized
9349 # So say no if there are warnings other than the usual output.
9350 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9351 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9352 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9353 lt_cv_prog_compiler_rtti_exceptions
=yes
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9360 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9362 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9363 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9375 lt_prog_compiler_wl
=
9376 lt_prog_compiler_pic
=
9377 lt_prog_compiler_static
=
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9380 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9382 if test "$GCC" = yes; then
9383 lt_prog_compiler_wl
='-Wl,'
9384 lt_prog_compiler_static
='-static'
9388 # All AIX code is PIC.
9389 if test "$host_cpu" = ia64
; then
9390 # AIX 5 now supports IA64 processor
9391 lt_prog_compiler_static
='-Bstatic'
9393 lt_prog_compiler_pic
='-fPIC'
9399 # see comment about AmigaOS4 .so support
9400 lt_prog_compiler_pic
='-fPIC'
9403 # FIXME: we need at least 68020 code to build shared libraries, but
9404 # adding the `-m68020' flag to GCC prevents building anything better,
9406 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9411 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9412 # PIC is the default for these OSes.
9415 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9416 # This hack is so that the source file can tell whether it is being
9417 # built for inclusion in a dll (and should export symbols for example).
9418 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9419 # (--disable-auto-import) libraries
9420 lt_prog_compiler_pic
='-DDLL_EXPORT'
9423 darwin
* | rhapsody
*)
9424 # PIC is the default on this platform
9425 # Common symbols not allowed in MH_DYLIB files
9426 lt_prog_compiler_pic
='-fno-common'
9430 # PIC is the default for Haiku.
9431 # The "-static" flag exists, but is broken.
9432 lt_prog_compiler_static
=
9436 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9437 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9438 # sets the default TLS model and affects inlining.
9444 lt_prog_compiler_pic
='-fPIC'
9450 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9451 # Instead, we relocate shared libraries at runtime.
9455 # Just because we use GCC doesn't mean we suddenly get shared libraries
9456 # on systems that don't support them.
9457 lt_prog_compiler_can_build_shared
=no
9462 # QNX uses GNU C++, but need to define -shared option too, otherwise
9464 lt_prog_compiler_pic
='-fPIC -shared'
9468 if test -d /usr
/nec
; then
9469 lt_prog_compiler_pic
=-Kconform_pic
9474 lt_prog_compiler_pic
='-fPIC'
9478 case $cc_basename in
9479 nvcc
*) # Cuda Compiler Driver 2.2
9480 lt_prog_compiler_wl
='-Xlinker '
9481 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9485 # PORTME Check for flag to pass linker flags through the system compiler.
9488 lt_prog_compiler_wl
='-Wl,'
9489 if test "$host_cpu" = ia64
; then
9490 # AIX 5 now supports IA64 processor
9491 lt_prog_compiler_static
='-Bstatic'
9493 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9497 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9498 # This hack is so that the source file can tell whether it is being
9499 # built for inclusion in a dll (and should export symbols for example).
9500 lt_prog_compiler_pic
='-DDLL_EXPORT'
9503 hpux9
* | hpux10
* | hpux11
*)
9504 lt_prog_compiler_wl
='-Wl,'
9505 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9512 lt_prog_compiler_pic
='+Z'
9515 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9516 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9519 irix5
* | irix6
* | nonstopux
*)
9520 lt_prog_compiler_wl
='-Wl,'
9521 # PIC (with -KPIC) is the default.
9522 lt_prog_compiler_static
='-non_shared'
9525 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9526 case $cc_basename in
9527 # old Intel for x86_64 which still supported -KPIC.
9529 lt_prog_compiler_wl
='-Wl,'
9530 lt_prog_compiler_pic
='-KPIC'
9531 lt_prog_compiler_static
='-static'
9533 # icc used to be incompatible with GCC.
9534 # ICC 10 doesn't accept -KPIC any more.
9536 lt_prog_compiler_wl
='-Wl,'
9537 lt_prog_compiler_pic
='-fPIC'
9538 lt_prog_compiler_static
='-static'
9540 # Lahey Fortran 8.1.
9542 lt_prog_compiler_wl
='-Wl,'
9543 lt_prog_compiler_pic
='--shared'
9544 lt_prog_compiler_static
='--static'
9546 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9547 # Portland Group compilers (*not* the Pentium gcc compiler,
9548 # which looks to be a dead project)
9549 lt_prog_compiler_wl
='-Wl,'
9550 lt_prog_compiler_pic
='-fpic'
9551 lt_prog_compiler_static
='-Bstatic'
9554 lt_prog_compiler_wl
='-Wl,'
9555 # All Alpha code is PIC.
9556 lt_prog_compiler_static
='-non_shared'
9558 xl
* | bgxl
* | bgf
* | mpixl
*)
9559 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9560 lt_prog_compiler_wl
='-Wl,'
9561 lt_prog_compiler_pic
='-qpic'
9562 lt_prog_compiler_static
='-qstaticlink'
9565 case `$CC -V 2>&1 | sed 5q` in
9566 *Sun\ F
* |
*Sun
*Fortran
*)
9567 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9568 lt_prog_compiler_pic
='-KPIC'
9569 lt_prog_compiler_static
='-Bstatic'
9570 lt_prog_compiler_wl
=''
9574 lt_prog_compiler_pic
='-KPIC'
9575 lt_prog_compiler_static
='-Bstatic'
9576 lt_prog_compiler_wl
='-Wl,'
9584 lt_prog_compiler_pic
='-KPIC'
9585 lt_prog_compiler_static
='-Bstatic'
9589 # QNX uses GNU C++, but need to define -shared option too, otherwise
9591 lt_prog_compiler_pic
='-fPIC -shared'
9594 osf3
* | osf4
* | osf5
*)
9595 lt_prog_compiler_wl
='-Wl,'
9596 # All OSF/1 code is PIC.
9597 lt_prog_compiler_static
='-non_shared'
9601 lt_prog_compiler_static
='-non_shared'
9605 lt_prog_compiler_pic
='-KPIC'
9606 lt_prog_compiler_static
='-Bstatic'
9607 case $cc_basename in
9609 lt_prog_compiler_wl
='-Qoption ld ';;
9611 lt_prog_compiler_wl
='-Wl,';;
9616 lt_prog_compiler_wl
='-Qoption ld '
9617 lt_prog_compiler_pic
='-PIC'
9618 lt_prog_compiler_static
='-Bstatic'
9621 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9622 lt_prog_compiler_wl
='-Wl,'
9623 lt_prog_compiler_pic
='-KPIC'
9624 lt_prog_compiler_static
='-Bstatic'
9628 if test -d /usr
/nec
;then
9629 lt_prog_compiler_pic
='-Kconform_pic'
9630 lt_prog_compiler_static
='-Bstatic'
9634 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9635 lt_prog_compiler_wl
='-Wl,'
9636 lt_prog_compiler_pic
='-KPIC'
9637 lt_prog_compiler_static
='-Bstatic'
9641 lt_prog_compiler_wl
='-Wl,'
9642 lt_prog_compiler_can_build_shared
=no
9646 lt_prog_compiler_pic
='-pic'
9647 lt_prog_compiler_static
='-Bstatic'
9651 lt_prog_compiler_can_build_shared
=no
9657 # For platforms which do not support PIC, -DPIC is meaningless:
9659 lt_prog_compiler_pic
=
9662 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9666 $as_echo "$lt_prog_compiler_pic" >&6; }
9674 # Check to make sure the PIC flag actually works.
9676 if test -n "$lt_prog_compiler_pic"; then
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9678 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9679 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9680 $as_echo_n "(cached) " >&6
9682 lt_cv_prog_compiler_pic_works
=no
9683 ac_outfile
=conftest.
$ac_objext
9684 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9685 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9686 # Insert the option either (1) after the last *FLAGS variable, or
9687 # (2) before a word containing "conftest.", or (3) at the end.
9688 # Note that $ac_compile itself does not contain backslashes and begins
9689 # with a dollar sign (not a hyphen), so the echo should work correctly.
9690 # The option is referenced via a variable to avoid confusing sed.
9691 lt_compile
=`echo "$ac_compile" | $SED \
9692 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9693 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9694 -e 's:$: $lt_compiler_flag:'`
9695 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9696 (eval "$lt_compile" 2>conftest.err
)
9698 cat conftest.err
>&5
9699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9700 if (exit $ac_status) && test -s "$ac_outfile"; then
9701 # The compiler can only warn and ignore the option if not recognized
9702 # So say no if there are warnings other than the usual output.
9703 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9704 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9705 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9706 lt_cv_prog_compiler_pic_works
=yes
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9713 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9715 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9716 case $lt_prog_compiler_pic in
9718 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9721 lt_prog_compiler_pic
=
9722 lt_prog_compiler_can_build_shared
=no
9733 # Check to make sure the static flag actually works.
9735 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9737 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9738 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9739 $as_echo_n "(cached) " >&6
9741 lt_cv_prog_compiler_static_works
=no
9742 save_LDFLAGS
="$LDFLAGS"
9743 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9744 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9745 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9746 # The linker can only warn and ignore the option if not recognized
9747 # So say no if there are warnings
9748 if test -s conftest.err
; then
9749 # Append any errors to the config.log.
9750 cat conftest.err
1>&5
9751 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9752 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9753 if diff conftest.exp conftest.er2
>/dev
/null
; then
9754 lt_cv_prog_compiler_static_works
=yes
9757 lt_cv_prog_compiler_static_works
=yes
9761 LDFLAGS
="$save_LDFLAGS"
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9765 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9767 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9770 lt_prog_compiler_static
=
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9780 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9781 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9782 $as_echo_n "(cached) " >&6
9784 lt_cv_prog_compiler_c_o
=no
9785 $RM -r conftest
2>/dev
/null
9789 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9791 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9792 # Insert the option either (1) after the last *FLAGS variable, or
9793 # (2) before a word containing "conftest.", or (3) at the end.
9794 # Note that $ac_compile itself does not contain backslashes and begins
9795 # with a dollar sign (not a hyphen), so the echo should work correctly.
9796 lt_compile
=`echo "$ac_compile" | $SED \
9797 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9798 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9799 -e 's:$: $lt_compiler_flag:'`
9800 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9801 (eval "$lt_compile" 2>out
/conftest.err
)
9803 cat out
/conftest.err
>&5
9804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9805 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9807 # The compiler can only warn and ignore the option if not recognized
9808 # So say no if there are warnings
9809 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9810 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9811 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9812 lt_cv_prog_compiler_c_o
=yes
9817 # SGI C++ compiler will create directory out/ii_files/ for
9818 # template instantiation
9819 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9820 $RM out
/* && rmdir out
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9827 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9835 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9836 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9837 $as_echo_n "(cached) " >&6
9839 lt_cv_prog_compiler_c_o
=no
9840 $RM -r conftest
2>/dev
/null
9844 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9846 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9847 # Insert the option either (1) after the last *FLAGS variable, or
9848 # (2) before a word containing "conftest.", or (3) at the end.
9849 # Note that $ac_compile itself does not contain backslashes and begins
9850 # with a dollar sign (not a hyphen), so the echo should work correctly.
9851 lt_compile
=`echo "$ac_compile" | $SED \
9852 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9853 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9854 -e 's:$: $lt_compiler_flag:'`
9855 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9856 (eval "$lt_compile" 2>out
/conftest.err
)
9858 cat out
/conftest.err
>&5
9859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9860 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9862 # The compiler can only warn and ignore the option if not recognized
9863 # So say no if there are warnings
9864 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9865 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9866 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9867 lt_cv_prog_compiler_c_o
=yes
9872 # SGI C++ compiler will create directory out/ii_files/ for
9873 # template instantiation
9874 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9875 $RM out
/* && rmdir out
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9882 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9887 hard_links
="nottested"
9888 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9889 # do not overwrite the value of need_locks provided by the user
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9891 $as_echo_n "checking if we can lock with hard links... " >&6; }
9894 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9896 ln conftest.a conftest.b
2>&5 || hard_links
=no
9897 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9899 $as_echo "$hard_links" >&6; }
9900 if test "$hard_links" = no
; then
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9902 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9915 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9918 allow_undefined_flag
=
9919 always_export_symbols
=no
9921 archive_expsym_cmds
=
9922 compiler_needs_object
=no
9923 enable_shared_with_static_runtimes
=no
9924 export_dynamic_flag_spec
=
9925 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9926 hardcode_automatic
=no
9928 hardcode_direct_absolute
=no
9929 hardcode_libdir_flag_spec
=
9930 hardcode_libdir_flag_spec_ld
=
9931 hardcode_libdir_separator
=
9933 hardcode_shlibpath_var
=unsupported
9935 link_all_deplibs
=unknown
9938 old_archive_from_new_cmds
=
9939 old_archive_from_expsyms_cmds
=
9940 thread_safe_flag_spec
=
9941 whole_archive_flag_spec
=
9942 # include_expsyms should be a list of space-separated symbols to be *always*
9943 # included in the symbol list
9945 # exclude_expsyms can be an extended regexp of symbols to exclude
9946 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9947 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9948 # as well as any symbol that contains `d'.
9949 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9950 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9951 # platforms (ab)use it in PIC code, but their linkers get confused if
9952 # the symbol is explicitly referenced. Since portable code cannot
9953 # rely on this symbol name, it's probably fine to never include it in
9954 # preloaded symbol tables.
9955 # Exclude shared library initialization/finalization symbols.
9956 extract_expsyms_cmds
=
9959 cygwin
* | mingw
* | pw32
* | cegcc
*)
9960 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9961 # When not using gcc, we currently assume that we are using
9962 # Microsoft Visual C++.
9963 if test "$GCC" != yes; then
9968 # we just hope/assume this is gcc and not c89 (= MSVC++)
9978 # On some targets, GNU ld is compatible enough with the native linker
9979 # that we're better off using the native interface for both.
9980 lt_use_gnu_ld_interface
=no
9981 if test "$with_gnu_ld" = yes; then
9984 # The AIX port of GNU ld has always aspired to compatibility
9985 # with the native linker. However, as the warning in the GNU ld
9986 # block says, versions before 2.19.5* couldn't really create working
9987 # shared libraries, regardless of the interface used.
9988 case `$LD -v 2>&1` in
9989 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9990 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9991 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9993 lt_use_gnu_ld_interface
=yes
9998 lt_use_gnu_ld_interface
=yes
10003 if test "$lt_use_gnu_ld_interface" = yes; then
10004 # If archive_cmds runs LD, not CC, wlarc should be empty
10007 # Set some defaults for GNU ld with shared library support. These
10008 # are reset later if shared libraries are not supported. Putting them
10009 # here allows them to be overridden if necessary.
10010 runpath_var
=LD_RUN_PATH
10011 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10012 export_dynamic_flag_spec
='${wl}--export-dynamic'
10013 # ancient GNU ld didn't support --whole-archive et. al.
10014 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10015 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10017 whole_archive_flag_spec
=
10019 supports_anon_versioning
=no
10020 case `$LD -v 2>&1` in
10021 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10022 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10023 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10024 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10025 *\
2.11.
*) ;; # other 2.11 versions
10026 *) supports_anon_versioning
=yes ;;
10029 # See if GNU ld supports shared libraries.
10032 # On AIX/PPC, the GNU linker is very broken
10033 if test "$host_cpu" != ia64
; then
10037 *** Warning: the GNU linker, at least up to release 2.19, is reported
10038 *** to be unable to reliably create shared libraries on AIX.
10039 *** Therefore, libtool is disabling shared libraries support. If you
10040 *** really care for shared libraries, you may want to install binutils
10041 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10042 *** You will then need to restart the configuration process.
10051 # see comment about AmigaOS4 .so support
10052 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10053 archive_expsym_cmds
=''
10056 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)'
10057 hardcode_libdir_flag_spec
='-L$libdir'
10058 hardcode_minus_L
=yes
10064 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10065 allow_undefined_flag
=unsupported
10066 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10067 # support --undefined. This deserves some investigation. FIXME
10068 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10074 cygwin
* | mingw
* | pw32
* | cegcc
*)
10075 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10076 # as there is no search path for DLLs.
10077 hardcode_libdir_flag_spec
='-L$libdir'
10078 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10079 allow_undefined_flag
=unsupported
10080 always_export_symbols
=no
10081 enable_shared_with_static_runtimes
=yes
10082 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10084 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10085 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10086 # If the export-symbols file already is a .def file (1st line
10087 # is EXPORTS), use it as is; otherwise, prepend...
10088 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10089 cp $export_symbols $output_objdir/$soname.def;
10091 echo EXPORTS > $output_objdir/$soname.def;
10092 cat $export_symbols >> $output_objdir/$soname.def;
10094 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10101 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10102 link_all_deplibs
=yes
10107 hardcode_shlibpath_var
=no
10108 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10109 export_dynamic_flag_spec
='${wl}-E'
10110 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10111 # Instead, shared libraries are loaded at an image base (0x10000000 by
10112 # default) and relocated if they conflict, which is a slow very memory
10113 # consuming and fragmenting process. To avoid this, we pick a random,
10114 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10115 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10116 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10117 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'
10120 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10122 if test "$host_os" = linux-dietlibc
; then
10123 case $cc_basename in
10124 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10127 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10128 && test "$tmp_diet" = no
10131 tmp_sharedflag
='-shared'
10132 case $cc_basename,$host_cpu in
10133 pgcc
*) # Portland Group C compiler
10134 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'
10135 tmp_addflag
=' $pic_flag'
10137 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10138 # Portland Group f77 and f90 compilers
10139 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10140 tmp_addflag
=' $pic_flag -Mnomain' ;;
10141 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10142 tmp_addflag
=' -i_dynamic' ;;
10143 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10144 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10145 ifc
* | ifort
*) # Intel Fortran compiler
10146 tmp_addflag
=' -nofor_main' ;;
10147 lf95
*) # Lahey Fortran 8.1
10148 whole_archive_flag_spec
=
10149 tmp_sharedflag
='--shared' ;;
10150 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10151 tmp_sharedflag
='-qmkshrobj'
10153 nvcc
*) # Cuda Compiler Driver 2.2
10154 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'
10155 compiler_needs_object
=yes
10158 case `$CC -V 2>&1 | sed 5q` in
10159 *Sun\ C
*) # Sun C 5.9
10160 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'
10161 compiler_needs_object
=yes
10162 tmp_sharedflag
='-G' ;;
10163 *Sun\ F
*) # Sun Fortran 8.3
10164 tmp_sharedflag
='-G' ;;
10166 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10168 if test "x$supports_anon_versioning" = xyes
; then
10169 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10170 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10171 echo "local: *; };" >> $output_objdir/$libname.ver~
10172 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10175 case $cc_basename in
10176 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10177 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10178 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10179 hardcode_libdir_flag_spec
=
10180 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10181 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10182 if test "x$supports_anon_versioning" = xyes
; then
10183 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10184 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10185 echo "local: *; };" >> $output_objdir/$libname.ver~
10186 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10196 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10197 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10200 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10201 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10206 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10210 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10211 *** create shared libraries on Solaris systems. Therefore, libtool
10212 *** is disabling shared libraries support. We urge you to upgrade GNU
10213 *** binutils to release 2.9.1 or newer. Another option is to modify
10214 *** your PATH or compiler configuration so that the native linker is
10215 *** used, and then restart.
10218 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10219 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10220 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10226 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10227 case `$LD -v 2>&1` in
10228 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10232 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10233 *** reliably create shared libraries on SCO systems. Therefore, libtool
10234 *** is disabling shared libraries support. We urge you to upgrade GNU
10235 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10236 *** your PATH or compiler configuration so that the native linker is
10237 *** used, and then restart.
10242 # For security reasons, it is highly recommended that you always
10243 # use absolute paths for naming shared libraries, and exclude the
10244 # DT_RUNPATH tag from executables and libraries. But doing so
10245 # requires that you compile everything twice, which is a pain.
10246 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10247 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10248 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10249 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10258 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10260 hardcode_direct
=yes
10261 hardcode_shlibpath_var
=no
10265 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10266 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10267 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10274 if test "$ld_shlibs" = no
; then
10276 hardcode_libdir_flag_spec
=
10277 export_dynamic_flag_spec
=
10278 whole_archive_flag_spec
=
10281 # PORTME fill in a description of your system's linker (not GNU ld)
10284 allow_undefined_flag
=unsupported
10285 always_export_symbols
=yes
10286 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'
10287 # Note: this linker hardcodes the directories in LIBPATH if there
10288 # are no directories specified by -L.
10289 hardcode_minus_L
=yes
10290 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10291 # Neither direct hardcoding nor static linking is supported with a
10293 hardcode_direct
=unsupported
10298 if test "$host_cpu" = ia64
; then
10299 # On IA64, the linker does run time linking by default, so we don't
10300 # have to do anything special.
10301 aix_use_runtimelinking
=no
10302 exp_sym_flag
='-Bexport'
10305 # If we're using GNU nm, then we don't want the "-C" option.
10306 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10307 # Also, AIX nm treats weak defined symbols like other global
10308 # defined symbols, whereas GNU nm marks them as "W".
10309 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10310 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'
10312 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10314 aix_use_runtimelinking
=no
10316 # Test if we are trying to use run time linking or normal
10317 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10318 # need to do runtime linking.
10319 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10320 for ld_flag
in $LDFLAGS; do
10321 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10322 aix_use_runtimelinking
=yes
10329 exp_sym_flag
='-bexport'
10330 no_entry_flag
='-bnoentry'
10333 # When large executables or shared objects are built, AIX ld can
10334 # have problems creating the table of contents. If linking a library
10335 # or program results in "error TOC overflow" add -mminimal-toc to
10336 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10337 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10340 hardcode_direct
=yes
10341 hardcode_direct_absolute
=yes
10342 hardcode_libdir_separator
=':'
10343 link_all_deplibs
=yes
10344 file_list_spec
='${wl}-f,'
10346 if test "$GCC" = yes; then
10347 case $host_os in aix4.
[012]|aix4.
[012].
*)
10348 # We only want to do this on AIX 4.2 and lower, the check
10349 # below for broken collect2 doesn't work under 4.3+
10350 collect2name
=`${CC} -print-prog-name=collect2`
10351 if test -f "$collect2name" &&
10352 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10354 # We have reworked collect2
10357 # We have old collect2
10358 hardcode_direct
=unsupported
10359 # It fails to find uninstalled libraries when the uninstalled
10360 # path is not listed in the libpath. Setting hardcode_minus_L
10361 # to unsupported forces relinking
10362 hardcode_minus_L
=yes
10363 hardcode_libdir_flag_spec
='-L$libdir'
10364 hardcode_libdir_separator
=
10368 shared_flag
='-shared'
10369 if test "$aix_use_runtimelinking" = yes; then
10370 shared_flag
="$shared_flag "'${wl}-G'
10374 if test "$host_cpu" = ia64
; then
10375 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10376 # chokes on -Wl,-G. The following line is correct:
10379 if test "$aix_use_runtimelinking" = yes; then
10380 shared_flag
='${wl}-G'
10382 shared_flag
='${wl}-bM:SRE'
10387 export_dynamic_flag_spec
='${wl}-bexpall'
10388 # It seems that -bexpall does not export symbols beginning with
10389 # underscore (_), so it is better to generate a list of symbols to export.
10390 always_export_symbols
=yes
10391 if test "$aix_use_runtimelinking" = yes; then
10392 # Warning - without using the other runtime loading flags (-brtl),
10393 # -berok will link without error, but may produce a broken library.
10394 allow_undefined_flag
='-berok'
10395 # Determine the default libpath from the value encoded in an
10396 # empty executable.
10397 if test x
$gcc_no_link = xyes
; then
10398 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10401 /* end confdefs.h. */
10411 if ac_fn_c_try_link
"$LINENO"; then :
10413 lt_aix_libpath_sed
='
10414 /Import File Strings/,/^$/ {
10420 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10421 # Check for a 64-bit object if we didn't find anything.
10422 if test -z "$aix_libpath"; then
10423 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10426 rm -f core conftest.err conftest.
$ac_objext \
10427 conftest
$ac_exeext conftest.
$ac_ext
10428 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10430 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10431 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"
10433 if test "$host_cpu" = ia64
; then
10434 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10435 allow_undefined_flag
="-z nodefs"
10436 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"
10438 # Determine the default libpath from the value encoded in an
10439 # empty executable.
10440 if test x
$gcc_no_link = xyes
; then
10441 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10444 /* end confdefs.h. */
10454 if ac_fn_c_try_link
"$LINENO"; then :
10456 lt_aix_libpath_sed
='
10457 /Import File Strings/,/^$/ {
10463 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10464 # Check for a 64-bit object if we didn't find anything.
10465 if test -z "$aix_libpath"; then
10466 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10469 rm -f core conftest.err conftest.
$ac_objext \
10470 conftest
$ac_exeext conftest.
$ac_ext
10471 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10473 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10474 # Warning - without using the other run time loading flags,
10475 # -berok will link without error, but may produce a broken library.
10476 no_undefined_flag
=' ${wl}-bernotok'
10477 allow_undefined_flag
=' ${wl}-berok'
10478 if test "$with_gnu_ld" = yes; then
10479 # We only use this code for GNU lds that support --whole-archive.
10480 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10482 # Exported symbols can be pulled into shared objects from archives
10483 whole_archive_flag_spec
='$convenience'
10485 archive_cmds_need_lc
=yes
10486 # This is similar to how AIX traditionally builds its shared libraries.
10487 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'
10495 # see comment about AmigaOS4 .so support
10496 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10497 archive_expsym_cmds
=''
10500 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)'
10501 hardcode_libdir_flag_spec
='-L$libdir'
10502 hardcode_minus_L
=yes
10508 export_dynamic_flag_spec
=-rdynamic
10511 cygwin
* | mingw
* | pw32
* | cegcc
*)
10512 # When not using gcc, we currently assume that we are using
10513 # Microsoft Visual C++.
10514 # hardcode_libdir_flag_spec is actually meaningless, as there is
10515 # no search path for DLLs.
10516 hardcode_libdir_flag_spec
=' '
10517 allow_undefined_flag
=unsupported
10518 # Tell ltmain to make .lib files, not .a files.
10520 # Tell ltmain to make .dll files, not .so files.
10522 # FIXME: Setting linknames here is a bad hack.
10523 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10524 # The linker will automatically build a .lib file if we build a DLL.
10525 old_archive_from_new_cmds
='true'
10526 # FIXME: Should let the user specify the lib program.
10527 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10528 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10529 enable_shared_with_static_runtimes
=yes
10532 darwin
* | rhapsody
*)
10535 archive_cmds_need_lc
=no
10537 hardcode_automatic
=yes
10538 hardcode_shlibpath_var
=unsupported
10539 if test "$lt_cv_ld_force_load" = "yes"; then
10540 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\"`'
10542 whole_archive_flag_spec
=''
10544 link_all_deplibs
=yes
10545 allow_undefined_flag
="$_lt_dar_allow_undefined"
10546 case $cc_basename in
10547 ifort
*) _lt_dar_can_shared
=yes ;;
10548 *) _lt_dar_can_shared
=$GCC ;;
10550 if test "$_lt_dar_can_shared" = "yes"; then
10551 output_verbose_link_cmd
=func_echo_all
10552 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10553 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10554 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}"
10555 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}"
10564 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10565 hardcode_libdir_flag_spec
='-L$libdir'
10566 hardcode_shlibpath_var
=no
10569 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10570 # support. Future versions do this automatically, but an explicit c++rt0.o
10571 # does not break anything, and helps significantly (at the cost of a little
10574 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10575 hardcode_libdir_flag_spec
='-R$libdir'
10576 hardcode_direct
=yes
10577 hardcode_shlibpath_var
=no
10580 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10582 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10583 hardcode_direct
=yes
10584 hardcode_minus_L
=yes
10585 hardcode_shlibpath_var
=no
10588 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10589 freebsd
* | dragonfly
*)
10590 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10591 hardcode_libdir_flag_spec
='-R$libdir'
10592 hardcode_direct
=yes
10593 hardcode_shlibpath_var
=no
10597 if test "$GCC" = yes; then
10598 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'
10600 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'
10602 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10603 hardcode_libdir_separator
=:
10604 hardcode_direct
=yes
10606 # hardcode_minus_L: Not really in the search PATH,
10607 # but as the default location of the library.
10608 hardcode_minus_L
=yes
10609 export_dynamic_flag_spec
='${wl}-E'
10613 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10614 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10616 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10618 if test "$with_gnu_ld" = no
; then
10619 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10620 hardcode_libdir_flag_spec_ld
='+b $libdir'
10621 hardcode_libdir_separator
=:
10622 hardcode_direct
=yes
10623 hardcode_direct_absolute
=yes
10624 export_dynamic_flag_spec
='${wl}-E'
10625 # hardcode_minus_L: Not really in the search PATH,
10626 # but as the default location of the library.
10627 hardcode_minus_L
=yes
10632 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10635 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10638 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10641 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10647 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10650 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10654 # Older versions of the 11.00 compiler do not understand -b yet
10655 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10657 $as_echo_n "checking if $CC understands -b... " >&6; }
10658 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10659 $as_echo_n "(cached) " >&6
10661 lt_cv_prog_compiler__b
=no
10662 save_LDFLAGS
="$LDFLAGS"
10663 LDFLAGS
="$LDFLAGS -b"
10664 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10665 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10666 # The linker can only warn and ignore the option if not recognized
10667 # So say no if there are warnings
10668 if test -s conftest.err
; then
10669 # Append any errors to the config.log.
10670 cat conftest.err
1>&5
10671 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10672 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10673 if diff conftest.exp conftest.er2
>/dev
/null
; then
10674 lt_cv_prog_compiler__b
=yes
10677 lt_cv_prog_compiler__b
=yes
10681 LDFLAGS
="$save_LDFLAGS"
10684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10685 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10687 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10688 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10690 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10696 if test "$with_gnu_ld" = no
; then
10697 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10698 hardcode_libdir_separator
=:
10703 hardcode_shlibpath_var
=no
10706 hardcode_direct
=yes
10707 hardcode_direct_absolute
=yes
10708 export_dynamic_flag_spec
='${wl}-E'
10710 # hardcode_minus_L: Not really in the search PATH,
10711 # but as the default location of the library.
10712 hardcode_minus_L
=yes
10718 irix5
* | irix6
* | nonstopux
*)
10719 if test "$GCC" = yes; then
10720 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'
10721 # Try to use the -exported_symbol ld option, if it does not
10722 # work, assume that -exports_file does not work either and
10723 # implicitly export all symbols.
10724 save_LDFLAGS
="$LDFLAGS"
10725 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10726 if test x
$gcc_no_link = xyes
; then
10727 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10730 /* end confdefs.h. */
10733 if ac_fn_c_try_link
"$LINENO"; then :
10734 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'
10737 rm -f core conftest.err conftest.
$ac_objext \
10738 conftest
$ac_exeext conftest.
$ac_ext
10739 LDFLAGS
="$save_LDFLAGS"
10741 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'
10742 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'
10744 archive_cmds_need_lc
='no'
10745 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10746 hardcode_libdir_separator
=:
10748 link_all_deplibs
=yes
10752 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10753 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10755 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10757 hardcode_libdir_flag_spec
='-R$libdir'
10758 hardcode_direct
=yes
10759 hardcode_shlibpath_var
=no
10763 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10764 hardcode_direct
=yes
10765 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10766 hardcode_libdir_separator
=:
10767 hardcode_shlibpath_var
=no
10774 if test -f /usr
/libexec
/ld.so
; then
10775 hardcode_direct
=yes
10776 hardcode_shlibpath_var
=no
10777 hardcode_direct_absolute
=yes
10778 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10779 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10780 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10781 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10782 export_dynamic_flag_spec
='${wl}-E'
10785 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10786 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10787 hardcode_libdir_flag_spec
='-R$libdir'
10790 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10791 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10801 hardcode_libdir_flag_spec
='-L$libdir'
10802 hardcode_minus_L
=yes
10803 allow_undefined_flag
=unsupported
10804 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'
10805 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10809 if test "$GCC" = yes; then
10810 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10811 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'
10813 allow_undefined_flag
=' -expect_unresolved \*'
10814 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'
10816 archive_cmds_need_lc
='no'
10817 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10818 hardcode_libdir_separator
=:
10821 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10822 if test "$GCC" = yes; then
10823 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10824 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'
10825 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10827 allow_undefined_flag
=' -expect_unresolved \*'
10828 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'
10829 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~
10830 $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'
10832 # Both c and cxx compiler support -rpath directly
10833 hardcode_libdir_flag_spec
='-rpath $libdir'
10835 archive_cmds_need_lc
='no'
10836 hardcode_libdir_separator
=:
10840 no_undefined_flag
=' -z defs'
10841 if test "$GCC" = yes; then
10843 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10844 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10845 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10847 case `$CC -V 2>&1` in
10850 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10851 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10852 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10856 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10857 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10858 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10862 hardcode_libdir_flag_spec
='-R$libdir'
10863 hardcode_shlibpath_var
=no
10865 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10867 # The compiler driver will combine and reorder linker options,
10868 # but understands `-z linker_flag'. GCC discards it without `$wl',
10869 # but is careful enough not to reorder.
10870 # Supported since Solaris 2.6 (maybe 2.5.1?)
10871 if test "$GCC" = yes; then
10872 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10874 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10878 link_all_deplibs
=yes
10882 if test "x$host_vendor" = xsequent
; then
10883 # Use $CC to link under sequent, because it throws in some extra .o
10884 # files that make .init and .fini sections work.
10885 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10887 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10889 hardcode_libdir_flag_spec
='-L$libdir'
10890 hardcode_direct
=yes
10891 hardcode_minus_L
=yes
10892 hardcode_shlibpath_var
=no
10896 case $host_vendor in
10898 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10899 hardcode_direct
=yes # is this really true???
10902 ## LD is ld it makes a PLAMLIB
10903 ## CC just makes a GrossModule.
10904 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10905 reload_cmds
='$CC -r -o $output$reload_objs'
10909 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10910 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10913 runpath_var
='LD_RUN_PATH'
10914 hardcode_shlibpath_var
=no
10918 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10919 hardcode_shlibpath_var
=no
10920 export_dynamic_flag_spec
='-Bexport'
10924 if test -d /usr
/nec
; then
10925 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10926 hardcode_shlibpath_var
=no
10927 runpath_var
=LD_RUN_PATH
10928 hardcode_runpath_var
=yes
10933 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10934 no_undefined_flag
='${wl}-z,text'
10935 archive_cmds_need_lc
=no
10936 hardcode_shlibpath_var
=no
10937 runpath_var
='LD_RUN_PATH'
10939 if test "$GCC" = yes; then
10940 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10941 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10943 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10944 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10948 sysv5
* | sco3.2v5
* | sco5v6
*)
10949 # Note: We can NOT use -z defs as we might desire, because we do not
10950 # link with -lc, and that would cause any symbols used from libc to
10951 # always be unresolved, which means just about no library would
10952 # ever link correctly. If we're not using GNU ld we use -z text
10953 # though, which does catch some bad symbols but isn't as heavy-handed
10955 no_undefined_flag
='${wl}-z,text'
10956 allow_undefined_flag
='${wl}-z,nodefs'
10957 archive_cmds_need_lc
=no
10958 hardcode_shlibpath_var
=no
10959 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10960 hardcode_libdir_separator
=':'
10961 link_all_deplibs
=yes
10962 export_dynamic_flag_spec
='${wl}-Bexport'
10963 runpath_var
='LD_RUN_PATH'
10965 if test "$GCC" = yes; then
10966 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10967 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10969 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10970 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10975 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10976 hardcode_libdir_flag_spec
='-L$libdir'
10977 hardcode_shlibpath_var
=no
10985 if test x
$host_vendor = xsni
; then
10987 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10988 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10995 $as_echo "$ld_shlibs" >&6; }
10996 test "$ld_shlibs" = no
&& can_build_shared
=no
10998 with_gnu_ld
=$with_gnu_ld
11015 # Do we need to explicitly link libc?
11017 case "x$archive_cmds_need_lc" in
11019 # Assume -lc should be added
11020 archive_cmds_need_lc
=yes
11022 if test "$enable_shared" = yes && test "$GCC" = yes; then
11023 case $archive_cmds in
11025 # FIXME: we may have to deal with multi-command sequences.
11028 # Test whether the compiler implicitly links with -lc since on some
11029 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11030 # to ld, don't add -lc before -lgcc.
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11032 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11033 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
11034 $as_echo_n "(cached) " >&6
11037 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11039 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11040 (eval $ac_compile) 2>&5
11042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11043 test $ac_status = 0; } 2>conftest.err
; then
11046 libobjs
=conftest.
$ac_objext
11048 wl
=$lt_prog_compiler_wl
11049 pic_flag
=$lt_prog_compiler_pic
11055 lt_save_allow_undefined_flag
=$allow_undefined_flag
11056 allow_undefined_flag
=
11057 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11058 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11061 test $ac_status = 0; }
11063 lt_cv_archive_cmds_need_lc
=no
11065 lt_cv_archive_cmds_need_lc
=yes
11067 allow_undefined_flag
=$lt_save_allow_undefined_flag
11069 cat conftest.err
1>&5
11074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11075 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11076 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11240 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11242 if test "$GCC" = yes; then
11244 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11245 *) lt_awk_arg
="/^libraries:/" ;;
11248 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11249 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11251 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11252 case $lt_search_path_spec in
11254 # if the path contains ";" then we assume it to be the separator
11255 # otherwise default to the standard path separator (i.e. ":") - it is
11256 # assumed that no part of a normal pathname contains ";" but that should
11257 # okay in the real world where ";" in dirpaths is itself problematic.
11258 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11261 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11264 # Ok, now we have the path, separated by spaces, we can step through it
11265 # and add multilib dir if necessary.
11266 lt_tmp_lt_search_path_spec
=
11267 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11268 for lt_sys_path
in $lt_search_path_spec; do
11269 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11270 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11272 test -d "$lt_sys_path" && \
11273 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11276 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11277 BEGIN {RS=" "; FS="/|\n";} {
11280 for (lt_i = NF; lt_i > 0; lt_i--) {
11281 if ($lt_i != "" && $lt_i != ".") {
11282 if ($lt_i == "..") {
11285 if (lt_count == 0) {
11286 lt_foo="/" $lt_i lt_foo;
11293 if (lt_foo != "") { lt_freq[lt_foo]++; }
11294 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11296 # AWK program above erroneously prepends '/' to C:/dos/paths
11299 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11300 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11302 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11304 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11306 library_names_spec
=
11307 libname_spec
='lib$name'
11311 postuninstall_cmds
=
11315 shlibpath_overrides_runpath
=unknown
11317 dynamic_linker
="$host_os ld.so"
11318 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11319 need_lib_prefix
=unknown
11320 hardcode_into_libs
=no
11322 # when you set need_version to no, make sure it does not cause -set_version
11323 # flags to be left without arguments
11324 need_version
=unknown
11329 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11330 shlibpath_var
=LIBPATH
11332 # AIX 3 has no versioning support, so we append a major version to the name.
11333 soname_spec
='${libname}${release}${shared_ext}$major'
11340 hardcode_into_libs
=yes
11341 if test "$host_cpu" = ia64
; then
11342 # AIX 5 supports IA64
11343 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11344 shlibpath_var
=LD_LIBRARY_PATH
11346 # With GCC up to 2.95.x, collect2 would create an import file
11347 # for dependence libraries. The import file would start with
11348 # the line `#! .'. This would cause the generated library to
11349 # depend on `.', always an invalid library. This was fixed in
11350 # development snapshots of GCC prior to 3.0.
11352 aix4 | aix4.
[01] | aix4.
[01].
*)
11353 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11355 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11358 can_build_shared
=no
11362 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11363 # soname into executable. Probably we can add versioning support to
11364 # collect2, so additional links can be useful in future.
11365 if test "$aix_use_runtimelinking" = yes; then
11366 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11367 # instead of lib<name>.a to let people know that these are not
11368 # typical AIX shared libraries.
11369 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11371 # We preserve .a as extension for shared libraries through AIX4.2
11372 # and later when we are not doing run time linking.
11373 library_names_spec
='${libname}${release}.a $libname.a'
11374 soname_spec
='${libname}${release}${shared_ext}$major'
11376 shlibpath_var
=LIBPATH
11383 # Since July 2007 AmigaOS4 officially supports .so libraries.
11384 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11388 library_names_spec
='$libname.ixlibrary $libname.a'
11389 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11390 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'
11396 library_names_spec
='${libname}${shared_ext}'
11397 dynamic_linker
="$host_os ld.so"
11398 shlibpath_var
=LIBRARY_PATH
11404 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11405 soname_spec
='${libname}${release}${shared_ext}$major'
11406 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11407 shlibpath_var
=LD_LIBRARY_PATH
11408 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11409 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11410 # the default ld.so.conf also contains /usr/contrib/lib and
11411 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11412 # libtool to hard-code these into programs
11415 cygwin
* | mingw
* | pw32
* | cegcc
*)
11416 version_type
=windows
11421 case $GCC,$host_os in
11422 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11423 library_names_spec
='$libname.dll.a'
11424 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11425 postinstall_cmds
='base_file=`basename \${file}`~
11426 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11427 dldir=$destdir/`dirname \$dlpath`~
11428 test -d \$dldir || mkdir -p \$dldir~
11429 $install_prog $dir/$dlname \$dldir/$dlname~
11430 chmod a+x \$dldir/$dlname~
11431 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11432 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11434 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11435 dlpath=$dir/\$dldll~
11437 shlibpath_overrides_runpath
=yes
11441 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11442 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11444 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11447 # MinGW DLLs use traditional 'lib' prefix
11448 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11451 # pw32 DLLs use 'pw' prefix rather than 'lib'
11452 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11458 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11461 dynamic_linker
='Win32 ld.exe'
11462 # FIXME: first we should search . and the directory the executable is in
11466 darwin
* | rhapsody
*)
11467 dynamic_linker
="$host_os dyld"
11468 version_type
=darwin
11471 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11472 soname_spec
='${libname}${release}${major}$shared_ext'
11473 shlibpath_overrides_runpath
=yes
11474 shlibpath_var
=DYLD_LIBRARY_PATH
11475 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11477 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11478 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11485 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11486 soname_spec
='${libname}${release}${shared_ext}$major'
11487 shlibpath_var
=LD_LIBRARY_PATH
11490 freebsd
* | dragonfly
*)
11491 # DragonFly does not have aout. When/if they implement a new
11492 # versioning mechanism, adjust this.
11493 if test -x /usr
/bin
/objformat
; then
11494 objformat
=`/usr/bin/objformat`
11497 freebsd
[23].
*) objformat
=aout
;;
11498 *) objformat
=elf
;;
11501 version_type
=freebsd-
$objformat
11502 case $version_type in
11504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11509 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11513 shlibpath_var
=LD_LIBRARY_PATH
11516 shlibpath_overrides_runpath
=yes
11518 freebsd3.
[01]* | freebsdelf3.
[01]*)
11519 shlibpath_overrides_runpath
=yes
11520 hardcode_into_libs
=yes
11522 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11523 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11524 shlibpath_overrides_runpath
=no
11525 hardcode_into_libs
=yes
11527 *) # from 4.6 on, and DragonFly
11528 shlibpath_overrides_runpath
=yes
11529 hardcode_into_libs
=yes
11538 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11539 soname_spec
='${libname}${release}${shared_ext}$major'
11540 shlibpath_var
=LD_LIBRARY_PATH
11541 hardcode_into_libs
=yes
11548 dynamic_linker
="$host_os runtime_loader"
11549 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11550 soname_spec
='${libname}${release}${shared_ext}$major'
11551 shlibpath_var
=LIBRARY_PATH
11552 shlibpath_overrides_runpath
=yes
11553 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11554 hardcode_into_libs
=yes
11557 hpux9
* | hpux10
* | hpux11
*)
11558 # Give a soname corresponding to the major version so that dld.sl refuses to
11559 # link against other versions.
11566 hardcode_into_libs
=yes
11567 dynamic_linker
="$host_os dld.so"
11568 shlibpath_var
=LD_LIBRARY_PATH
11569 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11570 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11571 soname_spec
='${libname}${release}${shared_ext}$major'
11572 if test "X$HPUX_IA64_MODE" = X32
; then
11573 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11575 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11577 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11581 hardcode_into_libs
=yes
11582 dynamic_linker
="$host_os dld.sl"
11583 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11584 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11585 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11586 soname_spec
='${libname}${release}${shared_ext}$major'
11587 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11588 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11592 dynamic_linker
="$host_os dld.sl"
11593 shlibpath_var
=SHLIB_PATH
11594 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
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'
11599 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11600 postinstall_cmds
='chmod 555 $lib'
11601 # or fails outright, so override atomically:
11602 install_override_mode
=555
11609 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11610 soname_spec
='${libname}${release}${shared_ext}$major'
11611 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11612 shlibpath_var
=LD_LIBRARY_PATH
11613 shlibpath_overrides_runpath
=no
11614 hardcode_into_libs
=yes
11617 irix5
* | irix6
* | nonstopux
*)
11619 nonstopux
*) version_type
=nonstopux
;;
11621 if test "$lt_cv_prog_gnu_ld" = yes; then
11629 soname_spec
='${libname}${release}${shared_ext}$major'
11630 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11632 irix5
* | nonstopux
*)
11633 libsuff
= shlibsuff
=
11636 case $LD in # libtool.m4 will add one of these switches to LD
11637 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11638 libsuff
= shlibsuff
= libmagic
=32-bit;;
11639 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11640 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11641 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11642 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11643 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11647 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11648 shlibpath_overrides_runpath
=no
11649 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11650 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11651 hardcode_into_libs
=yes
11654 # No shared lib support for Linux oldld, aout, or coff.
11655 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11659 # This must be Linux ELF.
11660 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11664 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11665 soname_spec
='${libname}${release}${shared_ext}$major'
11666 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11667 shlibpath_var
=LD_LIBRARY_PATH
11668 shlibpath_overrides_runpath
=no
11670 # Some binutils ld are patched to set DT_RUNPATH
11671 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11672 $as_echo_n "(cached) " >&6
11674 lt_cv_shlibpath_overrides_runpath
=no
11675 save_LDFLAGS
=$LDFLAGS
11676 save_libdir
=$libdir
11677 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11678 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11679 if test x
$gcc_no_link = xyes
; then
11680 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11683 /* end confdefs.h. */
11693 if ac_fn_c_try_link
"$LINENO"; then :
11694 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11695 lt_cv_shlibpath_overrides_runpath
=yes
11698 rm -f core conftest.err conftest.
$ac_objext \
11699 conftest
$ac_exeext conftest.
$ac_ext
11700 LDFLAGS
=$save_LDFLAGS
11701 libdir
=$save_libdir
11705 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11707 # This implies no fast_install, which is unacceptable.
11708 # Some rework will be needed to allow for fast_install
11709 # before this can be enabled.
11710 hardcode_into_libs
=yes
11712 # Append ld.so.conf contents to the search path
11713 if test -f /etc
/ld.so.conf
; then
11714 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' ' '`
11715 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11718 # We used to test for /lib/ld.so.1 and disable shared libraries on
11719 # powerpc, because MkLinux only supported shared libraries with the
11720 # GNU dynamic linker. Since this was broken with cross compilers,
11721 # most powerpc-linux boxes support dynamic linking these days and
11722 # people can always --disable-shared, the test was removed, and we
11723 # assume the GNU/Linux dynamic linker is in use.
11724 dynamic_linker
='GNU/Linux ld.so'
11731 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11732 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11733 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11734 dynamic_linker
='NetBSD (a.out) ld.so'
11736 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11737 soname_spec
='${libname}${release}${shared_ext}$major'
11738 dynamic_linker
='NetBSD ld.elf_so'
11740 shlibpath_var
=LD_LIBRARY_PATH
11741 shlibpath_overrides_runpath
=yes
11742 hardcode_into_libs
=yes
11747 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11748 shlibpath_var
=LD_LIBRARY_PATH
11749 shlibpath_overrides_runpath
=yes
11756 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11757 soname_spec
='${libname}${release}${shared_ext}$major'
11758 shlibpath_var
=LD_LIBRARY_PATH
11759 shlibpath_overrides_runpath
=no
11760 hardcode_into_libs
=yes
11761 dynamic_linker
='ldqnx.so'
11766 sys_lib_dlsearch_path_spec
="/usr/lib"
11768 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11770 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11771 *) need_version
=no
;;
11773 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11774 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11775 shlibpath_var
=LD_LIBRARY_PATH
11776 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11778 openbsd2.
[89] | openbsd2.
[89].
*)
11779 shlibpath_overrides_runpath
=no
11782 shlibpath_overrides_runpath
=yes
11786 shlibpath_overrides_runpath
=yes
11791 libname_spec
='$name'
11794 library_names_spec
='$libname${shared_ext} $libname.a'
11795 dynamic_linker
='OS/2 ld.exe'
11796 shlibpath_var
=LIBPATH
11799 osf3
* | osf4
* | osf5
*)
11803 soname_spec
='${libname}${release}${shared_ext}$major'
11804 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11805 shlibpath_var
=LD_LIBRARY_PATH
11806 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11807 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11818 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11819 soname_spec
='${libname}${release}${shared_ext}$major'
11820 shlibpath_var
=LD_LIBRARY_PATH
11821 shlibpath_overrides_runpath
=yes
11822 hardcode_into_libs
=yes
11823 # ldd complains unless libraries are executable
11824 postinstall_cmds
='chmod +x $lib'
11829 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11830 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11831 shlibpath_var
=LD_LIBRARY_PATH
11832 shlibpath_overrides_runpath
=yes
11833 if test "$with_gnu_ld" = yes; then
11841 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11842 soname_spec
='${libname}${release}${shared_ext}$major'
11843 shlibpath_var
=LD_LIBRARY_PATH
11844 case $host_vendor in
11846 shlibpath_overrides_runpath
=no
11848 runpath_var
=LD_RUN_PATH
11856 shlibpath_overrides_runpath
=no
11857 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11863 if test -d /usr
/nec
;then
11865 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11866 soname_spec
='$libname${shared_ext}.$major'
11867 shlibpath_var
=LD_LIBRARY_PATH
11871 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11872 version_type
=freebsd-elf
11875 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $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 if test "$with_gnu_ld" = yes; then
11881 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11883 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11886 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11890 sys_lib_dlsearch_path_spec
='/usr/lib'
11894 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11898 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11899 shlibpath_var
=LD_LIBRARY_PATH
11900 shlibpath_overrides_runpath
=no
11901 hardcode_into_libs
=yes
11906 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11907 soname_spec
='${libname}${release}${shared_ext}$major'
11908 shlibpath_var
=LD_LIBRARY_PATH
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11916 $as_echo "$dynamic_linker" >&6; }
11917 test "$dynamic_linker" = no
&& can_build_shared
=no
11919 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11920 if test "$GCC" = yes; then
11921 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11924 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11925 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11927 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11928 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12023 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12025 if test -n "$hardcode_libdir_flag_spec" ||
12026 test -n "$runpath_var" ||
12027 test "X$hardcode_automatic" = "Xyes" ; then
12029 # We can hardcode non-existent directories.
12030 if test "$hardcode_direct" != no
&&
12031 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12032 # have to relink, otherwise we might link with an installed library
12033 # when we should be linking with a yet-to-be-installed one
12034 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12035 test "$hardcode_minus_L" != no
; then
12036 # Linking always hardcodes the temporary library directory.
12037 hardcode_action
=relink
12039 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12040 hardcode_action
=immediate
12043 # We cannot hardcode anything, or else we can only hardcode existing
12045 hardcode_action
=unsupported
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12048 $as_echo "$hardcode_action" >&6; }
12050 if test "$hardcode_action" = relink ||
12051 test "$inherit_rpath" = yes; then
12052 # Fast installation is not supported
12053 enable_fast_install
=no
12054 elif test "$shlibpath_overrides_runpath" = yes ||
12055 test "$enable_shared" = no
; then
12056 # Fast installation is not necessary
12057 enable_fast_install
=needless
12065 if test "x$enable_dlopen" != xyes
; then
12066 enable_dlopen
=unknown
12067 enable_dlopen_self
=unknown
12068 enable_dlopen_self_static
=unknown
12075 lt_cv_dlopen
="load_add_on"
12077 lt_cv_dlopen_self
=yes
12080 mingw
* | pw32
* | cegcc
*)
12081 lt_cv_dlopen
="LoadLibrary"
12086 lt_cv_dlopen
="dlopen"
12091 # if libdl is installed we need to link against it
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12093 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12094 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12095 $as_echo_n "(cached) " >&6
12097 ac_check_lib_save_LIBS
=$LIBS
12099 if test x
$gcc_no_link = xyes
; then
12100 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12103 /* end confdefs.h. */
12105 /* Override any GCC internal prototype to avoid an error.
12106 Use char because int might match the return type of a GCC
12107 builtin and then its argument prototype would still apply. */
12120 if ac_fn_c_try_link
"$LINENO"; then :
12121 ac_cv_lib_dl_dlopen
=yes
12123 ac_cv_lib_dl_dlopen
=no
12125 rm -f core conftest.err conftest.
$ac_objext \
12126 conftest
$ac_exeext conftest.
$ac_ext
12127 LIBS
=$ac_check_lib_save_LIBS
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12130 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12131 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12132 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12135 lt_cv_dlopen
="dyld"
12137 lt_cv_dlopen_self
=yes
12144 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12145 if test "x$ac_cv_func_shl_load" = x
""yes; then :
12146 lt_cv_dlopen
="shl_load"
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12149 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12150 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12151 $as_echo_n "(cached) " >&6
12153 ac_check_lib_save_LIBS
=$LIBS
12155 if test x
$gcc_no_link = xyes
; then
12156 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12159 /* end confdefs.h. */
12161 /* Override any GCC internal prototype to avoid an error.
12162 Use char because int might match the return type of a GCC
12163 builtin and then its argument prototype would still apply. */
12171 return shl_load ();
12176 if ac_fn_c_try_link
"$LINENO"; then :
12177 ac_cv_lib_dld_shl_load
=yes
12179 ac_cv_lib_dld_shl_load
=no
12181 rm -f core conftest.err conftest.
$ac_objext \
12182 conftest
$ac_exeext conftest.
$ac_ext
12183 LIBS
=$ac_check_lib_save_LIBS
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12186 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12187 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
12188 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12190 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12191 if test "x$ac_cv_func_dlopen" = x
""yes; then :
12192 lt_cv_dlopen
="dlopen"
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12195 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12196 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12197 $as_echo_n "(cached) " >&6
12199 ac_check_lib_save_LIBS
=$LIBS
12201 if test x
$gcc_no_link = xyes
; then
12202 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12205 /* end confdefs.h. */
12207 /* Override any GCC internal prototype to avoid an error.
12208 Use char because int might match the return type of a GCC
12209 builtin and then its argument prototype would still apply. */
12222 if ac_fn_c_try_link
"$LINENO"; then :
12223 ac_cv_lib_dl_dlopen
=yes
12225 ac_cv_lib_dl_dlopen
=no
12227 rm -f core conftest.err conftest.
$ac_objext \
12228 conftest
$ac_exeext conftest.
$ac_ext
12229 LIBS
=$ac_check_lib_save_LIBS
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12232 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12233 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12234 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12237 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12238 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12239 $as_echo_n "(cached) " >&6
12241 ac_check_lib_save_LIBS
=$LIBS
12242 LIBS
="-lsvld $LIBS"
12243 if test x
$gcc_no_link = xyes
; then
12244 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12247 /* end confdefs.h. */
12249 /* Override any GCC internal prototype to avoid an error.
12250 Use char because int might match the return type of a GCC
12251 builtin and then its argument prototype would still apply. */
12264 if ac_fn_c_try_link
"$LINENO"; then :
12265 ac_cv_lib_svld_dlopen
=yes
12267 ac_cv_lib_svld_dlopen
=no
12269 rm -f core conftest.err conftest.
$ac_objext \
12270 conftest
$ac_exeext conftest.
$ac_ext
12271 LIBS
=$ac_check_lib_save_LIBS
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12274 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12275 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
12276 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12279 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12280 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12281 $as_echo_n "(cached) " >&6
12283 ac_check_lib_save_LIBS
=$LIBS
12285 if test x
$gcc_no_link = xyes
; then
12286 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12289 /* end confdefs.h. */
12291 /* Override any GCC internal prototype to avoid an error.
12292 Use char because int might match the return type of a GCC
12293 builtin and then its argument prototype would still apply. */
12301 return dld_link ();
12306 if ac_fn_c_try_link
"$LINENO"; then :
12307 ac_cv_lib_dld_dld_link
=yes
12309 ac_cv_lib_dld_dld_link
=no
12311 rm -f core conftest.err conftest.
$ac_objext \
12312 conftest
$ac_exeext conftest.
$ac_ext
12313 LIBS
=$ac_check_lib_save_LIBS
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12316 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12317 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
12318 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12339 if test "x$lt_cv_dlopen" != xno
; then
12345 case $lt_cv_dlopen in
12347 save_CPPFLAGS
="$CPPFLAGS"
12348 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12350 save_LDFLAGS
="$LDFLAGS"
12351 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12354 LIBS
="$lt_cv_dlopen_libs $LIBS"
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12357 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12358 if test "${lt_cv_dlopen_self+set}" = set; then :
12359 $as_echo_n "(cached) " >&6
12361 if test "$cross_compiling" = yes; then :
12362 lt_cv_dlopen_self
=cross
12364 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12365 lt_status
=$lt_dlunknown
12366 cat > conftest.
$ac_ext <<_LT_EOF
12367 #line 12352 "configure"
12368 #include "confdefs.h"
12377 # define LT_DLGLOBAL RTLD_GLOBAL
12380 # define LT_DLGLOBAL DL_GLOBAL
12382 # define LT_DLGLOBAL 0
12386 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12387 find out it does not work in some platform. */
12388 #ifndef LT_DLLAZY_OR_NOW
12390 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12393 # define LT_DLLAZY_OR_NOW DL_LAZY
12396 # define LT_DLLAZY_OR_NOW RTLD_NOW
12399 # define LT_DLLAZY_OR_NOW DL_NOW
12401 # define LT_DLLAZY_OR_NOW 0
12408 /* When -fvisbility=hidden is used, assume the code has been annotated
12409 correspondingly for the symbols needed. */
12410 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12411 void fnord () __attribute__((visibility("default")));
12414 void fnord () { int i=42; }
12417 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12418 int status = $lt_dlunknown;
12422 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12425 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12426 else puts (dlerror ());
12428 /* dlclose (self); */
12436 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12437 (eval $ac_link) 2>&5
12439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12440 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12441 (.
/conftest
; exit; ) >&5 2>/dev
/null
12443 case x
$lt_status in
12444 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12445 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12446 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12449 # compilation failed
12450 lt_cv_dlopen_self
=no
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12458 $as_echo "$lt_cv_dlopen_self" >&6; }
12460 if test "x$lt_cv_dlopen_self" = xyes
; then
12461 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12463 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12464 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12465 $as_echo_n "(cached) " >&6
12467 if test "$cross_compiling" = yes; then :
12468 lt_cv_dlopen_self_static
=cross
12470 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12471 lt_status
=$lt_dlunknown
12472 cat > conftest.
$ac_ext <<_LT_EOF
12473 #line 12458 "configure"
12474 #include "confdefs.h"
12483 # define LT_DLGLOBAL RTLD_GLOBAL
12486 # define LT_DLGLOBAL DL_GLOBAL
12488 # define LT_DLGLOBAL 0
12492 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12493 find out it does not work in some platform. */
12494 #ifndef LT_DLLAZY_OR_NOW
12496 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12499 # define LT_DLLAZY_OR_NOW DL_LAZY
12502 # define LT_DLLAZY_OR_NOW RTLD_NOW
12505 # define LT_DLLAZY_OR_NOW DL_NOW
12507 # define LT_DLLAZY_OR_NOW 0
12514 /* When -fvisbility=hidden is used, assume the code has been annotated
12515 correspondingly for the symbols needed. */
12516 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12517 void fnord () __attribute__((visibility("default")));
12520 void fnord () { int i=42; }
12523 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12524 int status = $lt_dlunknown;
12528 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12531 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12532 else puts (dlerror ());
12534 /* dlclose (self); */
12542 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12543 (eval $ac_link) 2>&5
12545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12546 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12547 (.
/conftest
; exit; ) >&5 2>/dev
/null
12549 case x
$lt_status in
12550 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12551 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12552 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12555 # compilation failed
12556 lt_cv_dlopen_self_static
=no
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12564 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12567 CPPFLAGS
="$save_CPPFLAGS"
12568 LDFLAGS
="$save_LDFLAGS"
12573 case $lt_cv_dlopen_self in
12574 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12575 *) enable_dlopen_self
=unknown
;;
12578 case $lt_cv_dlopen_self_static in
12579 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12580 *) enable_dlopen_self_static
=unknown
;;
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12603 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12604 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12605 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12606 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12608 $as_echo "yes" >&6; }
12610 # FIXME - insert some real tests, host_os isn't really good enough
12613 if test -n "$STRIP" ; then
12614 striplib
="$STRIP -x"
12615 old_striplib
="$STRIP -S"
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12617 $as_echo "yes" >&6; }
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12620 $as_echo "no" >&6; }
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12625 $as_echo "no" >&6; }
12641 # Report which library types will actually be built
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12643 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12645 $as_echo "$can_build_shared" >&6; }
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12648 $as_echo_n "checking whether to build shared libraries... " >&6; }
12649 test "$can_build_shared" = "no" && enable_shared
=no
12651 # On AIX, shared libraries and static libraries use the same namespace, and
12652 # are all built from PIC.
12655 test "$enable_shared" = yes && enable_static
=no
12656 if test -n "$RANLIB"; then
12657 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12658 postinstall_cmds
='$RANLIB $lib'
12663 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12664 test "$enable_shared" = yes && enable_static
=no
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12669 $as_echo "$enable_shared" >&6; }
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12672 $as_echo_n "checking whether to build static libraries... " >&6; }
12673 # Make sure either enable_shared or enable_static is yes.
12674 test "$enable_shared" = yes || enable_static
=yes
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12676 $as_echo "$enable_static" >&6; }
12683 ac_cpp
='$CPP $CPPFLAGS'
12684 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12685 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12686 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12702 ac_config_commands
="$ac_config_commands libtool"
12707 # Only expand once:
12714 *-cygwin* |
*-mingw*)
12715 # 'host' will be top-level target in the case of a target lib,
12716 # we must compare to with_cross_host to decide if this is a native
12717 # or cross-compiler and select where to install dlls appropriately.
12718 if test -n "$with_cross_host" &&
12719 test x
"$with_cross_host" != x
"no"; then
12720 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
12722 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
12734 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12736 # We need gfortran to compile parts of the library
12737 #AC_PROG_FC(gfortran)
12739 ac_ext
=${ac_fc_srcext-f}
12740 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12741 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12742 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
12743 if test -n "$ac_tool_prefix"; then
12744 for ac_prog
in gfortran
12746 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12747 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12749 $as_echo_n "checking for $ac_word... " >&6; }
12750 if test "${ac_cv_prog_FC+set}" = set; then :
12751 $as_echo_n "(cached) " >&6
12753 if test -n "$FC"; then
12754 ac_cv_prog_FC
="$FC" # Let the user override the test.
12756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12757 for as_dir
in $PATH
12760 test -z "$as_dir" && as_dir
=.
12761 for ac_exec_ext
in '' $ac_executable_extensions; do
12762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12763 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
12764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12774 if test -n "$FC"; then
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12776 $as_echo "$FC" >&6; }
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12779 $as_echo "no" >&6; }
12783 test -n "$FC" && break
12786 if test -z "$FC"; then
12788 for ac_prog
in gfortran
12790 # Extract the first word of "$ac_prog", so it can be a program name with args.
12791 set dummy
$ac_prog; ac_word
=$2
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12793 $as_echo_n "checking for $ac_word... " >&6; }
12794 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12795 $as_echo_n "(cached) " >&6
12797 if test -n "$ac_ct_FC"; then
12798 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
12800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12801 for as_dir
in $PATH
12804 test -z "$as_dir" && as_dir
=.
12805 for ac_exec_ext
in '' $ac_executable_extensions; do
12806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12807 ac_cv_prog_ac_ct_FC
="$ac_prog"
12808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12817 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
12818 if test -n "$ac_ct_FC"; then
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12820 $as_echo "$ac_ct_FC" >&6; }
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12823 $as_echo "no" >&6; }
12827 test -n "$ac_ct_FC" && break
12830 if test "x$ac_ct_FC" = x
; then
12833 case $cross_compiling:$ac_tool_warned in
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12836 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12837 ac_tool_warned
=yes ;;
12844 # Provide some information about the compiler.
12845 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12848 for ac_option
in --version -v -V -qversion; do
12849 { { ac_try
="$ac_compiler $ac_option >&5"
12850 case "(($ac_try" in
12851 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12852 *) ac_try_echo=$ac_try;;
12854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12855 $as_echo "$ac_try_echo"; } >&5
12856 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12858 if test -s conftest.err; then
12860 ... rest of stderr output deleted ...
12861 10q' conftest.err >conftest.er1
12862 cat conftest.er1 >&5
12863 rm -f conftest.er1 conftest.err
12865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12866 test $ac_status = 0; }
12870 # If we don't use `.F
' as extension, the preprocessor is not run on the
12871 # input file. (Note that this only needs to work for GNU compilers.)
12872 ac_save_ext=$ac_ext
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
12875 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
12876 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
12877 $as_echo_n "(cached) " >&6
12879 cat > conftest.$ac_ext <<_ACEOF
12887 if ac_fn_fc_try_compile "$LINENO"; then :
12888 ac_compiler_gnu=yes
12892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12893 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
12897 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
12898 ac_ext=$ac_save_ext
12899 ac_test_FCFLAGS=${FCFLAGS+set}
12900 ac_save_FCFLAGS=$FCFLAGS
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
12903 $as_echo_n "checking whether $FC accepts -g... " >&6; }
12904 if test "${ac_cv_prog_fc_g+set}" = set; then :
12905 $as_echo_n "(cached) " >&6
12908 cat > conftest.$ac_ext <<_ACEOF
12913 if ac_fn_fc_try_compile "$LINENO"; then :
12914 ac_cv_prog_fc_g=yes
12918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
12922 $as_echo "$ac_cv_prog_fc_g" >&6; }
12923 if test "$ac_test_FCFLAGS" = set; then
12924 FCFLAGS=$ac_save_FCFLAGS
12925 elif test $ac_cv_prog_fc_g = yes; then
12926 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12932 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12940 ac_cpp='$CPP $CPPFLAGS'
12941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
12942 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
12943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12945 ac_ext=${ac_fc_srcext-f}
12946 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
12947 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
12948 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12951 if test -z "$FC" || test "X$FC" = "Xno"; then
12955 archive_cmds_need_lc_FC=no
12956 allow_undefined_flag_FC=
12957 always_export_symbols_FC=no
12958 archive_expsym_cmds_FC=
12959 export_dynamic_flag_spec_FC=
12960 hardcode_direct_FC=no
12961 hardcode_direct_absolute_FC=no
12962 hardcode_libdir_flag_spec_FC=
12963 hardcode_libdir_flag_spec_ld_FC=
12964 hardcode_libdir_separator_FC=
12965 hardcode_minus_L_FC=no
12966 hardcode_automatic_FC=no
12967 inherit_rpath_FC=no
12969 module_expsym_cmds_FC=
12970 link_all_deplibs_FC=unknown
12971 old_archive_cmds_FC=$old_archive_cmds
12972 reload_flag_FC=$reload_flag
12973 reload_cmds_FC=$reload_cmds
12974 no_undefined_flag_FC=
12975 whole_archive_flag_spec_FC=
12976 enable_shared_with_static_runtimes_FC=no
12978 # Source file extension for fc test sources.
12979 ac_ext=${ac_fc_srcext-f}
12981 # Object file extension for compiled fc test sources.
12985 # No sense in running all these tests if we already determined that
12986 # the FC compiler isn't working. Some variables
(like enable_shared
)
12987 # are currently assumed to apply to all compilers on this platform,
12988 # and will be corrupted by setting them based on a non-working compiler.
12989 if test "$_lt_disable_FC" != yes; then
12990 # Code to be used in simple compile tests
12991 lt_simple_compile_test_code
="\
12997 # Code to be used in simple link tests
12998 lt_simple_link_test_code
="\
13003 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13010 # If no C compiler was specified, use CC.
13013 # If no C compiler flags were specified, use CFLAGS.
13014 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13016 # Allow CC to be a program name with arguments.
13020 # save warnings/boilerplate of simple test code
13021 ac_outfile
=conftest.
$ac_objext
13022 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13023 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13024 _lt_compiler_boilerplate
=`cat conftest.err`
13027 ac_outfile
=conftest.
$ac_objext
13028 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13029 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13030 _lt_linker_boilerplate
=`cat conftest.err`
13034 # Allow CC to be a program name with arguments.
13039 GCC
=$ac_cv_fc_compiler_gnu
13042 for cc_temp
in $compiler""; do
13044 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13045 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13050 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13053 if test -n "$compiler"; then
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13055 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13057 $as_echo "$can_build_shared" >&6; }
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13060 $as_echo_n "checking whether to build shared libraries... " >&6; }
13061 test "$can_build_shared" = "no" && enable_shared
=no
13063 # On AIX, shared libraries and static libraries use the same namespace, and
13064 # are all built from PIC.
13067 test "$enable_shared" = yes && enable_static
=no
13068 if test -n "$RANLIB"; then
13069 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13070 postinstall_cmds
='$RANLIB $lib'
13074 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13075 test "$enable_shared" = yes && enable_static
=no
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13080 $as_echo "$enable_shared" >&6; }
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13083 $as_echo_n "checking whether to build static libraries... " >&6; }
13084 # Make sure either enable_shared or enable_static is yes.
13085 test "$enable_shared" = yes || enable_static
=yes
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13087 $as_echo "$enable_static" >&6; }
13089 GCC_FC
="$ac_cv_fc_compiler_gnu"
13093 ## There is no encapsulation within the following macros, do not change
13094 ## the running order or otherwise move them around unless you know exactly
13095 ## what you are doing...
13096 # Dependencies to place before and after the object being linked:
13098 postdep_objects_FC
=
13101 compiler_lib_search_path_FC
=
13103 cat > conftest.
$ac_ext <<_LT_EOF
13112 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13113 (eval $ac_compile) 2>&5
13115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13116 test $ac_status = 0; }; then
13117 # Parse the compiler output and extract the necessary
13118 # objects, libraries and library flags.
13120 # Sentinel used to keep track of whether or not we are before
13121 # the conftest object file.
13122 pre_test_object_deps_done
=no
13124 for p
in `eval "$output_verbose_link_cmd"`; do
13128 # Some compilers place space between "-{L,R}" and the path.
13129 # Remove the space.
13130 if test $p = "-L" ||
13131 test $p = "-R"; then
13138 if test "$pre_test_object_deps_done" = no
; then
13141 # Internal compiler library paths should come after those
13142 # provided the user. The postdeps already come after the
13143 # user supplied libs so there is no need to process them.
13144 if test -z "$compiler_lib_search_path_FC"; then
13145 compiler_lib_search_path_FC
="${prev}${p}"
13147 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
13150 # The "-l" case would never come before the object being
13151 # linked, so don't bother handling this case.
13154 if test -z "$postdeps_FC"; then
13155 postdeps_FC
="${prev}${p}"
13157 postdeps_FC
="${postdeps_FC} ${prev}${p}"
13163 # This assumes that the test object file only shows up
13164 # once in the compiler output.
13165 if test "$p" = "conftest.$objext"; then
13166 pre_test_object_deps_done
=yes
13170 if test "$pre_test_object_deps_done" = no
; then
13171 if test -z "$predep_objects_FC"; then
13172 predep_objects_FC
="$p"
13174 predep_objects_FC
="$predep_objects_FC $p"
13177 if test -z "$postdep_objects_FC"; then
13178 postdep_objects_FC
="$p"
13180 postdep_objects_FC
="$postdep_objects_FC $p"
13185 *) ;; # Ignore the rest.
13193 echo "libtool.m4: error: problem compiling FC test program"
13196 $RM -f confest.
$objext
13198 # PORTME: override above test on systems where it is broken
13201 case " $postdeps_FC " in
13202 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
13204 compiler_lib_search_dirs_FC
=
13205 if test -n "${compiler_lib_search_path_FC}"; then
13206 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13239 lt_prog_compiler_wl_FC
=
13240 lt_prog_compiler_pic_FC
=
13241 lt_prog_compiler_static_FC
=
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13244 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13246 if test "$GCC" = yes; then
13247 lt_prog_compiler_wl_FC
='-Wl,'
13248 lt_prog_compiler_static_FC
='-static'
13252 # All AIX code is PIC.
13253 if test "$host_cpu" = ia64
; then
13254 # AIX 5 now supports IA64 processor
13255 lt_prog_compiler_static_FC
='-Bstatic'
13257 lt_prog_compiler_pic_FC
='-fPIC'
13263 # see comment about AmigaOS4 .so support
13264 lt_prog_compiler_pic_FC
='-fPIC'
13267 # FIXME: we need at least 68020 code to build shared libraries, but
13268 # adding the `-m68020' flag to GCC prevents building anything better,
13270 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
13275 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13276 # PIC is the default for these OSes.
13279 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13280 # This hack is so that the source file can tell whether it is being
13281 # built for inclusion in a dll (and should export symbols for example).
13282 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13283 # (--disable-auto-import) libraries
13284 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13287 darwin
* | rhapsody
*)
13288 # PIC is the default on this platform
13289 # Common symbols not allowed in MH_DYLIB files
13290 lt_prog_compiler_pic_FC
='-fno-common'
13294 # PIC is the default for Haiku.
13295 # The "-static" flag exists, but is broken.
13296 lt_prog_compiler_static_FC
=
13300 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13301 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13302 # sets the default TLS model and affects inlining.
13308 lt_prog_compiler_pic_FC
='-fPIC'
13314 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13315 # Instead, we relocate shared libraries at runtime.
13319 # Just because we use GCC doesn't mean we suddenly get shared libraries
13320 # on systems that don't support them.
13321 lt_prog_compiler_can_build_shared_FC
=no
13326 # QNX uses GNU C++, but need to define -shared option too, otherwise
13327 # it will coredump.
13328 lt_prog_compiler_pic_FC
='-fPIC -shared'
13332 if test -d /usr
/nec
; then
13333 lt_prog_compiler_pic_FC
=-Kconform_pic
13338 lt_prog_compiler_pic_FC
='-fPIC'
13342 case $cc_basename in
13343 nvcc
*) # Cuda Compiler Driver 2.2
13344 lt_prog_compiler_wl_FC
='-Xlinker '
13345 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
13349 # PORTME Check for flag to pass linker flags through the system compiler.
13352 lt_prog_compiler_wl_FC
='-Wl,'
13353 if test "$host_cpu" = ia64
; then
13354 # AIX 5 now supports IA64 processor
13355 lt_prog_compiler_static_FC
='-Bstatic'
13357 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
13361 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13362 # This hack is so that the source file can tell whether it is being
13363 # built for inclusion in a dll (and should export symbols for example).
13364 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13367 hpux9
* | hpux10
* | hpux11
*)
13368 lt_prog_compiler_wl_FC
='-Wl,'
13369 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13370 # not for PA HP-UX.
13376 lt_prog_compiler_pic_FC
='+Z'
13379 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13380 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
13383 irix5
* | irix6
* | nonstopux
*)
13384 lt_prog_compiler_wl_FC
='-Wl,'
13385 # PIC (with -KPIC) is the default.
13386 lt_prog_compiler_static_FC
='-non_shared'
13389 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13390 case $cc_basename in
13391 # old Intel for x86_64 which still supported -KPIC.
13393 lt_prog_compiler_wl_FC
='-Wl,'
13394 lt_prog_compiler_pic_FC
='-KPIC'
13395 lt_prog_compiler_static_FC
='-static'
13397 # icc used to be incompatible with GCC.
13398 # ICC 10 doesn't accept -KPIC any more.
13400 lt_prog_compiler_wl_FC
='-Wl,'
13401 lt_prog_compiler_pic_FC
='-fPIC'
13402 lt_prog_compiler_static_FC
='-static'
13404 # Lahey Fortran 8.1.
13406 lt_prog_compiler_wl_FC
='-Wl,'
13407 lt_prog_compiler_pic_FC
='--shared'
13408 lt_prog_compiler_static_FC
='--static'
13410 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13411 # Portland Group compilers (*not* the Pentium gcc compiler,
13412 # which looks to be a dead project)
13413 lt_prog_compiler_wl_FC
='-Wl,'
13414 lt_prog_compiler_pic_FC
='-fpic'
13415 lt_prog_compiler_static_FC
='-Bstatic'
13418 lt_prog_compiler_wl_FC
='-Wl,'
13419 # All Alpha code is PIC.
13420 lt_prog_compiler_static_FC
='-non_shared'
13422 xl
* | bgxl
* | bgf
* | mpixl
*)
13423 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13424 lt_prog_compiler_wl_FC
='-Wl,'
13425 lt_prog_compiler_pic_FC
='-qpic'
13426 lt_prog_compiler_static_FC
='-qstaticlink'
13429 case `$CC -V 2>&1 | sed 5q` in
13430 *Sun\ F
* |
*Sun
*Fortran
*)
13431 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13432 lt_prog_compiler_pic_FC
='-KPIC'
13433 lt_prog_compiler_static_FC
='-Bstatic'
13434 lt_prog_compiler_wl_FC
=''
13438 lt_prog_compiler_pic_FC
='-KPIC'
13439 lt_prog_compiler_static_FC
='-Bstatic'
13440 lt_prog_compiler_wl_FC
='-Wl,'
13448 lt_prog_compiler_pic_FC
='-KPIC'
13449 lt_prog_compiler_static_FC
='-Bstatic'
13453 # QNX uses GNU C++, but need to define -shared option too, otherwise
13454 # it will coredump.
13455 lt_prog_compiler_pic_FC
='-fPIC -shared'
13458 osf3
* | osf4
* | osf5
*)
13459 lt_prog_compiler_wl_FC
='-Wl,'
13460 # All OSF/1 code is PIC.
13461 lt_prog_compiler_static_FC
='-non_shared'
13465 lt_prog_compiler_static_FC
='-non_shared'
13469 lt_prog_compiler_pic_FC
='-KPIC'
13470 lt_prog_compiler_static_FC
='-Bstatic'
13471 case $cc_basename in
13472 f77
* | f90
* | f95
*)
13473 lt_prog_compiler_wl_FC
='-Qoption ld ';;
13475 lt_prog_compiler_wl_FC
='-Wl,';;
13480 lt_prog_compiler_wl_FC
='-Qoption ld '
13481 lt_prog_compiler_pic_FC
='-PIC'
13482 lt_prog_compiler_static_FC
='-Bstatic'
13485 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13486 lt_prog_compiler_wl_FC
='-Wl,'
13487 lt_prog_compiler_pic_FC
='-KPIC'
13488 lt_prog_compiler_static_FC
='-Bstatic'
13492 if test -d /usr
/nec
;then
13493 lt_prog_compiler_pic_FC
='-Kconform_pic'
13494 lt_prog_compiler_static_FC
='-Bstatic'
13498 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13499 lt_prog_compiler_wl_FC
='-Wl,'
13500 lt_prog_compiler_pic_FC
='-KPIC'
13501 lt_prog_compiler_static_FC
='-Bstatic'
13505 lt_prog_compiler_wl_FC
='-Wl,'
13506 lt_prog_compiler_can_build_shared_FC
=no
13510 lt_prog_compiler_pic_FC
='-pic'
13511 lt_prog_compiler_static_FC
='-Bstatic'
13515 lt_prog_compiler_can_build_shared_FC
=no
13521 # For platforms which do not support PIC, -DPIC is meaningless:
13523 lt_prog_compiler_pic_FC
=
13526 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13530 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13535 # Check to make sure the PIC flag actually works.
13537 if test -n "$lt_prog_compiler_pic_FC"; then
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13539 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13540 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13541 $as_echo_n "(cached) " >&6
13543 lt_cv_prog_compiler_pic_works_FC
=no
13544 ac_outfile
=conftest.
$ac_objext
13545 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13546 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
13547 # Insert the option either (1) after the last *FLAGS variable, or
13548 # (2) before a word containing "conftest.", or (3) at the end.
13549 # Note that $ac_compile itself does not contain backslashes and begins
13550 # with a dollar sign (not a hyphen), so the echo should work correctly.
13551 # The option is referenced via a variable to avoid confusing sed.
13552 lt_compile
=`echo "$ac_compile" | $SED \
13553 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13554 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13555 -e 's:$: $lt_compiler_flag:'`
13556 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13557 (eval "$lt_compile" 2>conftest.err
)
13559 cat conftest.err
>&5
13560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13561 if (exit $ac_status) && test -s "$ac_outfile"; then
13562 # The compiler can only warn and ignore the option if not recognized
13563 # So say no if there are warnings other than the usual output.
13564 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13565 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13566 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13567 lt_cv_prog_compiler_pic_works_FC
=yes
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13574 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13576 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
13577 case $lt_prog_compiler_pic_FC in
13579 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
13582 lt_prog_compiler_pic_FC
=
13583 lt_prog_compiler_can_build_shared_FC
=no
13591 # Check to make sure the static flag actually works.
13593 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13595 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13596 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13597 $as_echo_n "(cached) " >&6
13599 lt_cv_prog_compiler_static_works_FC
=no
13600 save_LDFLAGS
="$LDFLAGS"
13601 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13602 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13603 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13604 # The linker can only warn and ignore the option if not recognized
13605 # So say no if there are warnings
13606 if test -s conftest.err
; then
13607 # Append any errors to the config.log.
13608 cat conftest.err
1>&5
13609 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13610 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13611 if diff conftest.exp conftest.er2
>/dev
/null
; then
13612 lt_cv_prog_compiler_static_works_FC
=yes
13615 lt_cv_prog_compiler_static_works_FC
=yes
13619 LDFLAGS
="$save_LDFLAGS"
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13623 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13625 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
13628 lt_prog_compiler_static_FC
=
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13635 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13636 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13637 $as_echo_n "(cached) " >&6
13639 lt_cv_prog_compiler_c_o_FC
=no
13640 $RM -r conftest
2>/dev
/null
13644 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13646 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13647 # Insert the option either (1) after the last *FLAGS variable, or
13648 # (2) before a word containing "conftest.", or (3) at the end.
13649 # Note that $ac_compile itself does not contain backslashes and begins
13650 # with a dollar sign (not a hyphen), so the echo should work correctly.
13651 lt_compile
=`echo "$ac_compile" | $SED \
13652 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13653 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13654 -e 's:$: $lt_compiler_flag:'`
13655 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13656 (eval "$lt_compile" 2>out
/conftest.err
)
13658 cat out
/conftest.err
>&5
13659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13660 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13662 # The compiler can only warn and ignore the option if not recognized
13663 # So say no if there are warnings
13664 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13665 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13666 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13667 lt_cv_prog_compiler_c_o_FC
=yes
13672 # SGI C++ compiler will create directory out/ii_files/ for
13673 # template instantiation
13674 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13675 $RM out
/* && rmdir out
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13682 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13687 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13688 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13689 $as_echo_n "(cached) " >&6
13691 lt_cv_prog_compiler_c_o_FC
=no
13692 $RM -r conftest
2>/dev
/null
13696 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13698 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13699 # Insert the option either (1) after the last *FLAGS variable, or
13700 # (2) before a word containing "conftest.", or (3) at the end.
13701 # Note that $ac_compile itself does not contain backslashes and begins
13702 # with a dollar sign (not a hyphen), so the echo should work correctly.
13703 lt_compile
=`echo "$ac_compile" | $SED \
13704 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13705 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13706 -e 's:$: $lt_compiler_flag:'`
13707 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13708 (eval "$lt_compile" 2>out
/conftest.err
)
13710 cat out
/conftest.err
>&5
13711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13712 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13714 # The compiler can only warn and ignore the option if not recognized
13715 # So say no if there are warnings
13716 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13717 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13718 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13719 lt_cv_prog_compiler_c_o_FC
=yes
13724 # SGI C++ compiler will create directory out/ii_files/ for
13725 # template instantiation
13726 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13727 $RM out
/* && rmdir out
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13734 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13739 hard_links
="nottested"
13740 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
13741 # do not overwrite the value of need_locks provided by the user
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13743 $as_echo_n "checking if we can lock with hard links... " >&6; }
13746 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13748 ln conftest.a conftest.b
2>&5 || hard_links
=no
13749 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13751 $as_echo "$hard_links" >&6; }
13752 if test "$hard_links" = no
; then
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13754 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13764 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13767 allow_undefined_flag_FC
=
13768 always_export_symbols_FC
=no
13770 archive_expsym_cmds_FC
=
13771 compiler_needs_object_FC
=no
13772 enable_shared_with_static_runtimes_FC
=no
13773 export_dynamic_flag_spec_FC
=
13774 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13775 hardcode_automatic_FC
=no
13776 hardcode_direct_FC
=no
13777 hardcode_direct_absolute_FC
=no
13778 hardcode_libdir_flag_spec_FC
=
13779 hardcode_libdir_flag_spec_ld_FC
=
13780 hardcode_libdir_separator_FC
=
13781 hardcode_minus_L_FC
=no
13782 hardcode_shlibpath_var_FC
=unsupported
13783 inherit_rpath_FC
=no
13784 link_all_deplibs_FC
=unknown
13786 module_expsym_cmds_FC
=
13787 old_archive_from_new_cmds_FC
=
13788 old_archive_from_expsyms_cmds_FC
=
13789 thread_safe_flag_spec_FC
=
13790 whole_archive_flag_spec_FC
=
13791 # include_expsyms should be a list of space-separated symbols to be *always*
13792 # included in the symbol list
13793 include_expsyms_FC
=
13794 # exclude_expsyms can be an extended regexp of symbols to exclude
13795 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13796 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13797 # as well as any symbol that contains `d'.
13798 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13799 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13800 # platforms (ab)use it in PIC code, but their linkers get confused if
13801 # the symbol is explicitly referenced. Since portable code cannot
13802 # rely on this symbol name, it's probably fine to never include it in
13803 # preloaded symbol tables.
13804 # Exclude shared library initialization/finalization symbols.
13805 extract_expsyms_cmds
=
13808 cygwin
* | mingw
* | pw32
* | cegcc
*)
13809 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13810 # When not using gcc, we currently assume that we are using
13811 # Microsoft Visual C++.
13812 if test "$GCC" != yes; then
13817 # we just hope/assume this is gcc and not c89 (= MSVC++)
13827 # On some targets, GNU ld is compatible enough with the native linker
13828 # that we're better off using the native interface for both.
13829 lt_use_gnu_ld_interface
=no
13830 if test "$with_gnu_ld" = yes; then
13833 # The AIX port of GNU ld has always aspired to compatibility
13834 # with the native linker. However, as the warning in the GNU ld
13835 # block says, versions before 2.19.5* couldn't really create working
13836 # shared libraries, regardless of the interface used.
13837 case `$LD -v 2>&1` in
13838 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
13839 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
13840 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
13842 lt_use_gnu_ld_interface
=yes
13847 lt_use_gnu_ld_interface
=yes
13852 if test "$lt_use_gnu_ld_interface" = yes; then
13853 # If archive_cmds runs LD, not CC, wlarc should be empty
13856 # Set some defaults for GNU ld with shared library support. These
13857 # are reset later if shared libraries are not supported. Putting them
13858 # here allows them to be overridden if necessary.
13859 runpath_var
=LD_RUN_PATH
13860 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13861 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
13862 # ancient GNU ld didn't support --whole-archive et. al.
13863 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
13864 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13866 whole_archive_flag_spec_FC
=
13868 supports_anon_versioning
=no
13869 case `$LD -v 2>&1` in
13870 *GNU\ gold
*) supports_anon_versioning
=yes ;;
13871 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13872 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13873 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13874 *\
2.11.
*) ;; # other 2.11 versions
13875 *) supports_anon_versioning
=yes ;;
13878 # See if GNU ld supports shared libraries.
13881 # On AIX/PPC, the GNU linker is very broken
13882 if test "$host_cpu" != ia64
; then
13886 *** Warning: the GNU linker, at least up to release 2.19, is reported
13887 *** to be unable to reliably create shared libraries on AIX.
13888 *** Therefore, libtool is disabling shared libraries support. If you
13889 *** really care for shared libraries, you may want to install binutils
13890 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13891 *** You will then need to restart the configuration process.
13900 # see comment about AmigaOS4 .so support
13901 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13902 archive_expsym_cmds_FC
=''
13905 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)'
13906 hardcode_libdir_flag_spec_FC
='-L$libdir'
13907 hardcode_minus_L_FC
=yes
13913 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13914 allow_undefined_flag_FC
=unsupported
13915 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13916 # support --undefined. This deserves some investigation. FIXME
13917 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13923 cygwin
* | mingw
* | pw32
* | cegcc
*)
13924 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
13925 # as there is no search path for DLLs.
13926 hardcode_libdir_flag_spec_FC
='-L$libdir'
13927 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
13928 allow_undefined_flag_FC
=unsupported
13929 always_export_symbols_FC
=no
13930 enable_shared_with_static_runtimes_FC
=yes
13931 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13933 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13934 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13935 # If the export-symbols file already is a .def file (1st line
13936 # is EXPORTS), use it as is; otherwise, prepend...
13937 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13938 cp $export_symbols $output_objdir/$soname.def;
13940 echo EXPORTS > $output_objdir/$soname.def;
13941 cat $export_symbols >> $output_objdir/$soname.def;
13943 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13950 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13951 link_all_deplibs_FC
=yes
13955 hardcode_direct_FC
=no
13956 hardcode_shlibpath_var_FC
=no
13957 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13958 export_dynamic_flag_spec_FC
='${wl}-E'
13959 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13960 # Instead, shared libraries are loaded at an image base (0x10000000 by
13961 # default) and relocated if they conflict, which is a slow very memory
13962 # consuming and fragmenting process. To avoid this, we pick a random,
13963 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13964 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13965 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'
13966 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'
13969 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13971 if test "$host_os" = linux-dietlibc
; then
13972 case $cc_basename in
13973 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
13976 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
13977 && test "$tmp_diet" = no
13980 tmp_sharedflag
='-shared'
13981 case $cc_basename,$host_cpu in
13982 pgcc
*) # Portland Group C compiler
13983 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'
13984 tmp_addflag
=' $pic_flag'
13986 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13987 # Portland Group f77 and f90 compilers
13988 whole_archive_flag_spec_FC
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13989 tmp_addflag
=' $pic_flag -Mnomain' ;;
13990 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
13991 tmp_addflag
=' -i_dynamic' ;;
13992 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
13993 tmp_addflag
=' -i_dynamic -nofor_main' ;;
13994 ifc
* | ifort
*) # Intel Fortran compiler
13995 tmp_addflag
=' -nofor_main' ;;
13996 lf95
*) # Lahey Fortran 8.1
13997 whole_archive_flag_spec_FC
=
13998 tmp_sharedflag
='--shared' ;;
13999 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14000 tmp_sharedflag
='-qmkshrobj'
14002 nvcc
*) # Cuda Compiler Driver 2.2
14003 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'
14004 compiler_needs_object_FC
=yes
14007 case `$CC -V 2>&1 | sed 5q` in
14008 *Sun\ C
*) # Sun C 5.9
14009 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'
14010 compiler_needs_object_FC
=yes
14011 tmp_sharedflag
='-G' ;;
14012 *Sun\ F
*) # Sun Fortran 8.3
14013 tmp_sharedflag
='-G' ;;
14015 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14017 if test "x$supports_anon_versioning" = xyes
; then
14018 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14019 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14020 echo "local: *; };" >> $output_objdir/$libname.ver~
14021 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14024 case $cc_basename in
14025 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
14026 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14027 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
14028 hardcode_libdir_flag_spec_FC
=
14029 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
14030 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14031 if test "x$supports_anon_versioning" = xyes
; then
14032 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14033 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14034 echo "local: *; };" >> $output_objdir/$libname.ver~
14035 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14045 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14046 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14049 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14050 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14055 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
14059 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14060 *** create shared libraries on Solaris systems. Therefore, libtool
14061 *** is disabling shared libraries support. We urge you to upgrade GNU
14062 *** binutils to release 2.9.1 or newer. Another option is to modify
14063 *** your PATH or compiler configuration so that the native linker is
14064 *** used, and then restart.
14067 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14068 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14069 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14075 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14076 case `$LD -v 2>&1` in
14077 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14081 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14082 *** reliably create shared libraries on SCO systems. Therefore, libtool
14083 *** is disabling shared libraries support. We urge you to upgrade GNU
14084 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14085 *** your PATH or compiler configuration so that the native linker is
14086 *** used, and then restart.
14091 # For security reasons, it is highly recommended that you always
14092 # use absolute paths for naming shared libraries, and exclude the
14093 # DT_RUNPATH tag from executables and libraries. But doing so
14094 # requires that you compile everything twice, which is a pain.
14095 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14096 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14097 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14098 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14107 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14109 hardcode_direct_FC
=yes
14110 hardcode_shlibpath_var_FC
=no
14114 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14115 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14116 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14123 if test "$ld_shlibs_FC" = no
; then
14125 hardcode_libdir_flag_spec_FC
=
14126 export_dynamic_flag_spec_FC
=
14127 whole_archive_flag_spec_FC
=
14130 # PORTME fill in a description of your system's linker (not GNU ld)
14133 allow_undefined_flag_FC
=unsupported
14134 always_export_symbols_FC
=yes
14135 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'
14136 # Note: this linker hardcodes the directories in LIBPATH if there
14137 # are no directories specified by -L.
14138 hardcode_minus_L_FC
=yes
14139 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14140 # Neither direct hardcoding nor static linking is supported with a
14142 hardcode_direct_FC
=unsupported
14147 if test "$host_cpu" = ia64
; then
14148 # On IA64, the linker does run time linking by default, so we don't
14149 # have to do anything special.
14150 aix_use_runtimelinking
=no
14151 exp_sym_flag
='-Bexport'
14154 # If we're using GNU nm, then we don't want the "-C" option.
14155 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14156 # Also, AIX nm treats weak defined symbols like other global
14157 # defined symbols, whereas GNU nm marks them as "W".
14158 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14159 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'
14161 export_symbols_cmds_FC
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14163 aix_use_runtimelinking
=no
14165 # Test if we are trying to use run time linking or normal
14166 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14167 # need to do runtime linking.
14168 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14169 for ld_flag
in $LDFLAGS; do
14170 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14171 aix_use_runtimelinking
=yes
14178 exp_sym_flag
='-bexport'
14179 no_entry_flag
='-bnoentry'
14182 # When large executables or shared objects are built, AIX ld can
14183 # have problems creating the table of contents. If linking a library
14184 # or program results in "error TOC overflow" add -mminimal-toc to
14185 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14186 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14189 hardcode_direct_FC
=yes
14190 hardcode_direct_absolute_FC
=yes
14191 hardcode_libdir_separator_FC
=':'
14192 link_all_deplibs_FC
=yes
14193 file_list_spec_FC
='${wl}-f,'
14195 if test "$GCC" = yes; then
14196 case $host_os in aix4.
[012]|aix4.
[012].
*)
14197 # We only want to do this on AIX 4.2 and lower, the check
14198 # below for broken collect2 doesn't work under 4.3+
14199 collect2name
=`${CC} -print-prog-name=collect2`
14200 if test -f "$collect2name" &&
14201 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14203 # We have reworked collect2
14206 # We have old collect2
14207 hardcode_direct_FC
=unsupported
14208 # It fails to find uninstalled libraries when the uninstalled
14209 # path is not listed in the libpath. Setting hardcode_minus_L
14210 # to unsupported forces relinking
14211 hardcode_minus_L_FC
=yes
14212 hardcode_libdir_flag_spec_FC
='-L$libdir'
14213 hardcode_libdir_separator_FC
=
14217 shared_flag
='-shared'
14218 if test "$aix_use_runtimelinking" = yes; then
14219 shared_flag
="$shared_flag "'${wl}-G'
14223 if test "$host_cpu" = ia64
; then
14224 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14225 # chokes on -Wl,-G. The following line is correct:
14228 if test "$aix_use_runtimelinking" = yes; then
14229 shared_flag
='${wl}-G'
14231 shared_flag
='${wl}-bM:SRE'
14236 export_dynamic_flag_spec_FC
='${wl}-bexpall'
14237 # It seems that -bexpall does not export symbols beginning with
14238 # underscore (_), so it is better to generate a list of symbols to export.
14239 always_export_symbols_FC
=yes
14240 if test "$aix_use_runtimelinking" = yes; then
14241 # Warning - without using the other runtime loading flags (-brtl),
14242 # -berok will link without error, but may produce a broken library.
14243 allow_undefined_flag_FC
='-berok'
14244 # Determine the default libpath from the value encoded in an
14245 # empty executable.
14246 if test x
$gcc_no_link = xyes
; then
14247 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14249 cat > conftest.
$ac_ext <<_ACEOF
14254 if ac_fn_fc_try_link
"$LINENO"; then :
14256 lt_aix_libpath_sed
='
14257 /Import File Strings/,/^$/ {
14263 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14264 # Check for a 64-bit object if we didn't find anything.
14265 if test -z "$aix_libpath"; then
14266 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14269 rm -f core conftest.err conftest.
$ac_objext \
14270 conftest
$ac_exeext conftest.
$ac_ext
14271 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14273 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14274 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"
14276 if test "$host_cpu" = ia64
; then
14277 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
14278 allow_undefined_flag_FC
="-z nodefs"
14279 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"
14281 # Determine the default libpath from the value encoded in an
14282 # empty executable.
14283 if test x
$gcc_no_link = xyes
; then
14284 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14286 cat > conftest.
$ac_ext <<_ACEOF
14291 if ac_fn_fc_try_link
"$LINENO"; then :
14293 lt_aix_libpath_sed
='
14294 /Import File Strings/,/^$/ {
14300 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14301 # Check for a 64-bit object if we didn't find anything.
14302 if test -z "$aix_libpath"; then
14303 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14306 rm -f core conftest.err conftest.
$ac_objext \
14307 conftest
$ac_exeext conftest.
$ac_ext
14308 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14310 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14311 # Warning - without using the other run time loading flags,
14312 # -berok will link without error, but may produce a broken library.
14313 no_undefined_flag_FC
=' ${wl}-bernotok'
14314 allow_undefined_flag_FC
=' ${wl}-berok'
14315 if test "$with_gnu_ld" = yes; then
14316 # We only use this code for GNU lds that support --whole-archive.
14317 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14319 # Exported symbols can be pulled into shared objects from archives
14320 whole_archive_flag_spec_FC
='$convenience'
14322 archive_cmds_need_lc_FC
=yes
14323 # This is similar to how AIX traditionally builds its shared libraries.
14324 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'
14332 # see comment about AmigaOS4 .so support
14333 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14334 archive_expsym_cmds_FC
=''
14337 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)'
14338 hardcode_libdir_flag_spec_FC
='-L$libdir'
14339 hardcode_minus_L_FC
=yes
14345 export_dynamic_flag_spec_FC
=-rdynamic
14348 cygwin
* | mingw
* | pw32
* | cegcc
*)
14349 # When not using gcc, we currently assume that we are using
14350 # Microsoft Visual C++.
14351 # hardcode_libdir_flag_spec is actually meaningless, as there is
14352 # no search path for DLLs.
14353 hardcode_libdir_flag_spec_FC
=' '
14354 allow_undefined_flag_FC
=unsupported
14355 # Tell ltmain to make .lib files, not .a files.
14357 # Tell ltmain to make .dll files, not .so files.
14359 # FIXME: Setting linknames here is a bad hack.
14360 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14361 # The linker will automatically build a .lib file if we build a DLL.
14362 old_archive_from_new_cmds_FC
='true'
14363 # FIXME: Should let the user specify the lib program.
14364 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14365 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
14366 enable_shared_with_static_runtimes_FC
=yes
14369 darwin
* | rhapsody
*)
14372 archive_cmds_need_lc_FC
=no
14373 hardcode_direct_FC
=no
14374 hardcode_automatic_FC
=yes
14375 hardcode_shlibpath_var_FC
=unsupported
14376 if test "$lt_cv_ld_force_load" = "yes"; then
14377 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\"`'
14379 whole_archive_flag_spec_FC
=''
14381 link_all_deplibs_FC
=yes
14382 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
14383 case $cc_basename in
14384 ifort
*) _lt_dar_can_shared
=yes ;;
14385 *) _lt_dar_can_shared
=$GCC ;;
14387 if test "$_lt_dar_can_shared" = "yes"; then
14388 output_verbose_link_cmd
=func_echo_all
14389 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}"
14390 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14391 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}"
14392 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}"
14401 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14402 hardcode_libdir_flag_spec_FC
='-L$libdir'
14403 hardcode_shlibpath_var_FC
=no
14406 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14407 # support. Future versions do this automatically, but an explicit c++rt0.o
14408 # does not break anything, and helps significantly (at the cost of a little
14411 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14412 hardcode_libdir_flag_spec_FC
='-R$libdir'
14413 hardcode_direct_FC
=yes
14414 hardcode_shlibpath_var_FC
=no
14417 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14419 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14420 hardcode_direct_FC
=yes
14421 hardcode_minus_L_FC
=yes
14422 hardcode_shlibpath_var_FC
=no
14425 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14426 freebsd
* | dragonfly
*)
14427 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14428 hardcode_libdir_flag_spec_FC
='-R$libdir'
14429 hardcode_direct_FC
=yes
14430 hardcode_shlibpath_var_FC
=no
14434 if test "$GCC" = yes; then
14435 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'
14437 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'
14439 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14440 hardcode_libdir_separator_FC
=:
14441 hardcode_direct_FC
=yes
14443 # hardcode_minus_L: Not really in the search PATH,
14444 # but as the default location of the library.
14445 hardcode_minus_L_FC
=yes
14446 export_dynamic_flag_spec_FC
='${wl}-E'
14450 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14451 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14453 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14455 if test "$with_gnu_ld" = no
; then
14456 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14457 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
14458 hardcode_libdir_separator_FC
=:
14459 hardcode_direct_FC
=yes
14460 hardcode_direct_absolute_FC
=yes
14461 export_dynamic_flag_spec_FC
='${wl}-E'
14462 # hardcode_minus_L: Not really in the search PATH,
14463 # but as the default location of the library.
14464 hardcode_minus_L_FC
=yes
14469 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14472 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14475 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14478 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14484 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14487 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14490 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14494 if test "$with_gnu_ld" = no
; then
14495 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14496 hardcode_libdir_separator_FC
=:
14500 hardcode_direct_FC
=no
14501 hardcode_shlibpath_var_FC
=no
14504 hardcode_direct_FC
=yes
14505 hardcode_direct_absolute_FC
=yes
14506 export_dynamic_flag_spec_FC
='${wl}-E'
14508 # hardcode_minus_L: Not really in the search PATH,
14509 # but as the default location of the library.
14510 hardcode_minus_L_FC
=yes
14516 irix5
* | irix6
* | nonstopux
*)
14517 if test "$GCC" = yes; then
14518 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'
14519 # Try to use the -exported_symbol ld option, if it does not
14520 # work, assume that -exports_file does not work either and
14521 # implicitly export all symbols.
14522 save_LDFLAGS
="$LDFLAGS"
14523 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14524 if test x
$gcc_no_link = xyes
; then
14525 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14527 cat > conftest.
$ac_ext <<_ACEOF
14530 if ac_fn_fc_try_link
"$LINENO"; then :
14531 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'
14534 rm -f core conftest.err conftest.
$ac_objext \
14535 conftest
$ac_exeext conftest.
$ac_ext
14536 LDFLAGS
="$save_LDFLAGS"
14538 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'
14539 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'
14541 archive_cmds_need_lc_FC
='no'
14542 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14543 hardcode_libdir_separator_FC
=:
14544 inherit_rpath_FC
=yes
14545 link_all_deplibs_FC
=yes
14549 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14550 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14552 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14554 hardcode_libdir_flag_spec_FC
='-R$libdir'
14555 hardcode_direct_FC
=yes
14556 hardcode_shlibpath_var_FC
=no
14560 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14561 hardcode_direct_FC
=yes
14562 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14563 hardcode_libdir_separator_FC
=:
14564 hardcode_shlibpath_var_FC
=no
14571 if test -f /usr
/libexec
/ld.so
; then
14572 hardcode_direct_FC
=yes
14573 hardcode_shlibpath_var_FC
=no
14574 hardcode_direct_absolute_FC
=yes
14575 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14576 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14577 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14578 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14579 export_dynamic_flag_spec_FC
='${wl}-E'
14582 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14583 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14584 hardcode_libdir_flag_spec_FC
='-R$libdir'
14587 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14588 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14598 hardcode_libdir_flag_spec_FC
='-L$libdir'
14599 hardcode_minus_L_FC
=yes
14600 allow_undefined_flag_FC
=unsupported
14601 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'
14602 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14606 if test "$GCC" = yes; then
14607 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14608 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'
14610 allow_undefined_flag_FC
=' -expect_unresolved \*'
14611 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'
14613 archive_cmds_need_lc_FC
='no'
14614 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14615 hardcode_libdir_separator_FC
=:
14618 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14619 if test "$GCC" = yes; then
14620 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14621 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'
14622 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14624 allow_undefined_flag_FC
=' -expect_unresolved \*'
14625 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'
14626 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~
14627 $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'
14629 # Both c and cxx compiler support -rpath directly
14630 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
14632 archive_cmds_need_lc_FC
='no'
14633 hardcode_libdir_separator_FC
=:
14637 no_undefined_flag_FC
=' -z defs'
14638 if test "$GCC" = yes; then
14640 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14641 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14642 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14644 case `$CC -V 2>&1` in
14647 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14648 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14649 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14653 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14654 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14655 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14659 hardcode_libdir_flag_spec_FC
='-R$libdir'
14660 hardcode_shlibpath_var_FC
=no
14662 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14664 # The compiler driver will combine and reorder linker options,
14665 # but understands `-z linker_flag'. GCC discards it without `$wl',
14666 # but is careful enough not to reorder.
14667 # Supported since Solaris 2.6 (maybe 2.5.1?)
14668 if test "$GCC" = yes; then
14669 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14671 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
14675 link_all_deplibs_FC
=yes
14679 if test "x$host_vendor" = xsequent
; then
14680 # Use $CC to link under sequent, because it throws in some extra .o
14681 # files that make .init and .fini sections work.
14682 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14684 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14686 hardcode_libdir_flag_spec_FC
='-L$libdir'
14687 hardcode_direct_FC
=yes
14688 hardcode_minus_L_FC
=yes
14689 hardcode_shlibpath_var_FC
=no
14693 case $host_vendor in
14695 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14696 hardcode_direct_FC
=yes # is this really true???
14699 ## LD is ld it makes a PLAMLIB
14700 ## CC just makes a GrossModule.
14701 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14702 reload_cmds_FC
='$CC -r -o $output$reload_objs'
14703 hardcode_direct_FC
=no
14706 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14707 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
14710 runpath_var
='LD_RUN_PATH'
14711 hardcode_shlibpath_var_FC
=no
14715 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14716 hardcode_shlibpath_var_FC
=no
14717 export_dynamic_flag_spec_FC
='-Bexport'
14721 if test -d /usr
/nec
; then
14722 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14723 hardcode_shlibpath_var_FC
=no
14724 runpath_var
=LD_RUN_PATH
14725 hardcode_runpath_var
=yes
14730 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14731 no_undefined_flag_FC
='${wl}-z,text'
14732 archive_cmds_need_lc_FC
=no
14733 hardcode_shlibpath_var_FC
=no
14734 runpath_var
='LD_RUN_PATH'
14736 if test "$GCC" = yes; then
14737 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14738 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14740 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14741 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14745 sysv5
* | sco3.2v5
* | sco5v6
*)
14746 # Note: We can NOT use -z defs as we might desire, because we do not
14747 # link with -lc, and that would cause any symbols used from libc to
14748 # always be unresolved, which means just about no library would
14749 # ever link correctly. If we're not using GNU ld we use -z text
14750 # though, which does catch some bad symbols but isn't as heavy-handed
14752 no_undefined_flag_FC
='${wl}-z,text'
14753 allow_undefined_flag_FC
='${wl}-z,nodefs'
14754 archive_cmds_need_lc_FC
=no
14755 hardcode_shlibpath_var_FC
=no
14756 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
14757 hardcode_libdir_separator_FC
=':'
14758 link_all_deplibs_FC
=yes
14759 export_dynamic_flag_spec_FC
='${wl}-Bexport'
14760 runpath_var
='LD_RUN_PATH'
14762 if test "$GCC" = yes; then
14763 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14764 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14766 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14767 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14772 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14773 hardcode_libdir_flag_spec_FC
='-L$libdir'
14774 hardcode_shlibpath_var_FC
=no
14782 if test x
$host_vendor = xsni
; then
14784 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
14785 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14792 $as_echo "$ld_shlibs_FC" >&6; }
14793 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
14795 with_gnu_ld_FC
=$with_gnu_ld
14803 # Do we need to explicitly link libc?
14805 case "x$archive_cmds_need_lc_FC" in
14807 # Assume -lc should be added
14808 archive_cmds_need_lc_FC
=yes
14810 if test "$enable_shared" = yes && test "$GCC" = yes; then
14811 case $archive_cmds_FC in
14813 # FIXME: we may have to deal with multi-command sequences.
14816 # Test whether the compiler implicitly links with -lc since on some
14817 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14818 # to ld, don't add -lc before -lgcc.
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14820 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14821 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14822 $as_echo_n "(cached) " >&6
14825 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14827 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14828 (eval $ac_compile) 2>&5
14830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14831 test $ac_status = 0; } 2>conftest.err
; then
14834 libobjs
=conftest.
$ac_objext
14836 wl
=$lt_prog_compiler_wl_FC
14837 pic_flag
=$lt_prog_compiler_pic_FC
14843 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
14844 allow_undefined_flag_FC
=
14845 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14846 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14849 test $ac_status = 0; }
14851 lt_cv_archive_cmds_need_lc_FC
=no
14853 lt_cv_archive_cmds_need_lc_FC
=yes
14855 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
14857 cat conftest.err
1>&5
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14863 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14864 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14935 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14937 library_names_spec
=
14938 libname_spec
='lib$name'
14942 postuninstall_cmds
=
14946 shlibpath_overrides_runpath
=unknown
14948 dynamic_linker
="$host_os ld.so"
14949 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14950 need_lib_prefix
=unknown
14951 hardcode_into_libs
=no
14953 # when you set need_version to no, make sure it does not cause -set_version
14954 # flags to be left without arguments
14955 need_version
=unknown
14960 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14961 shlibpath_var
=LIBPATH
14963 # AIX 3 has no versioning support, so we append a major version to the name.
14964 soname_spec
='${libname}${release}${shared_ext}$major'
14971 hardcode_into_libs
=yes
14972 if test "$host_cpu" = ia64
; then
14973 # AIX 5 supports IA64
14974 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14975 shlibpath_var
=LD_LIBRARY_PATH
14977 # With GCC up to 2.95.x, collect2 would create an import file
14978 # for dependence libraries. The import file would start with
14979 # the line `#! .'. This would cause the generated library to
14980 # depend on `.', always an invalid library. This was fixed in
14981 # development snapshots of GCC prior to 3.0.
14983 aix4 | aix4.
[01] | aix4.
[01].
*)
14984 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14986 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14989 can_build_shared
=no
14993 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14994 # soname into executable. Probably we can add versioning support to
14995 # collect2, so additional links can be useful in future.
14996 if test "$aix_use_runtimelinking" = yes; then
14997 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14998 # instead of lib<name>.a to let people know that these are not
14999 # typical AIX shared libraries.
15000 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15002 # We preserve .a as extension for shared libraries through AIX4.2
15003 # and later when we are not doing run time linking.
15004 library_names_spec
='${libname}${release}.a $libname.a'
15005 soname_spec
='${libname}${release}${shared_ext}$major'
15007 shlibpath_var
=LIBPATH
15014 # Since July 2007 AmigaOS4 officially supports .so libraries.
15015 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15016 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15019 library_names_spec
='$libname.ixlibrary $libname.a'
15020 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15021 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'
15027 library_names_spec
='${libname}${shared_ext}'
15028 dynamic_linker
="$host_os ld.so"
15029 shlibpath_var
=LIBRARY_PATH
15035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15036 soname_spec
='${libname}${release}${shared_ext}$major'
15037 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15038 shlibpath_var
=LD_LIBRARY_PATH
15039 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15040 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15041 # the default ld.so.conf also contains /usr/contrib/lib and
15042 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15043 # libtool to hard-code these into programs
15046 cygwin
* | mingw
* | pw32
* | cegcc
*)
15047 version_type
=windows
15052 case $GCC,$host_os in
15053 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15054 library_names_spec
='$libname.dll.a'
15055 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15056 postinstall_cmds
='base_file=`basename \${file}`~
15057 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15058 dldir=$destdir/`dirname \$dlpath`~
15059 test -d \$dldir || mkdir -p \$dldir~
15060 $install_prog $dir/$dlname \$dldir/$dlname~
15061 chmod a+x \$dldir/$dlname~
15062 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15063 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15065 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15066 dlpath=$dir/\$dldll~
15068 shlibpath_overrides_runpath
=yes
15072 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15073 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15077 # MinGW DLLs use traditional 'lib' prefix
15078 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15081 # pw32 DLLs use 'pw' prefix rather than 'lib'
15082 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15088 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15091 dynamic_linker
='Win32 ld.exe'
15092 # FIXME: first we should search . and the directory the executable is in
15096 darwin
* | rhapsody
*)
15097 dynamic_linker
="$host_os dyld"
15098 version_type
=darwin
15101 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15102 soname_spec
='${libname}${release}${major}$shared_ext'
15103 shlibpath_overrides_runpath
=yes
15104 shlibpath_var
=DYLD_LIBRARY_PATH
15105 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15107 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15114 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15115 soname_spec
='${libname}${release}${shared_ext}$major'
15116 shlibpath_var
=LD_LIBRARY_PATH
15119 freebsd
* | dragonfly
*)
15120 # DragonFly does not have aout. When/if they implement a new
15121 # versioning mechanism, adjust this.
15122 if test -x /usr
/bin
/objformat
; then
15123 objformat
=`/usr/bin/objformat`
15126 freebsd
[23].
*) objformat
=aout
;;
15127 *) objformat
=elf
;;
15130 version_type
=freebsd-
$objformat
15131 case $version_type in
15133 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15138 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15142 shlibpath_var
=LD_LIBRARY_PATH
15145 shlibpath_overrides_runpath
=yes
15147 freebsd3.
[01]* | freebsdelf3.
[01]*)
15148 shlibpath_overrides_runpath
=yes
15149 hardcode_into_libs
=yes
15151 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15152 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15153 shlibpath_overrides_runpath
=no
15154 hardcode_into_libs
=yes
15156 *) # from 4.6 on, and DragonFly
15157 shlibpath_overrides_runpath
=yes
15158 hardcode_into_libs
=yes
15167 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15168 soname_spec
='${libname}${release}${shared_ext}$major'
15169 shlibpath_var
=LD_LIBRARY_PATH
15170 hardcode_into_libs
=yes
15177 dynamic_linker
="$host_os runtime_loader"
15178 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15179 soname_spec
='${libname}${release}${shared_ext}$major'
15180 shlibpath_var
=LIBRARY_PATH
15181 shlibpath_overrides_runpath
=yes
15182 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15183 hardcode_into_libs
=yes
15186 hpux9
* | hpux10
* | hpux11
*)
15187 # Give a soname corresponding to the major version so that dld.sl refuses to
15188 # link against other versions.
15195 hardcode_into_libs
=yes
15196 dynamic_linker
="$host_os dld.so"
15197 shlibpath_var
=LD_LIBRARY_PATH
15198 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15199 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15200 soname_spec
='${libname}${release}${shared_ext}$major'
15201 if test "X$HPUX_IA64_MODE" = X32
; then
15202 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15204 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15206 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15210 hardcode_into_libs
=yes
15211 dynamic_linker
="$host_os dld.sl"
15212 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15213 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15214 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15215 soname_spec
='${libname}${release}${shared_ext}$major'
15216 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15217 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15221 dynamic_linker
="$host_os dld.sl"
15222 shlibpath_var
=SHLIB_PATH
15223 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
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'
15228 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15229 postinstall_cmds
='chmod 555 $lib'
15230 # or fails outright, so override atomically:
15231 install_override_mode
=555
15238 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15239 soname_spec
='${libname}${release}${shared_ext}$major'
15240 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15241 shlibpath_var
=LD_LIBRARY_PATH
15242 shlibpath_overrides_runpath
=no
15243 hardcode_into_libs
=yes
15246 irix5
* | irix6
* | nonstopux
*)
15248 nonstopux
*) version_type
=nonstopux
;;
15250 if test "$lt_cv_prog_gnu_ld" = yes; then
15258 soname_spec
='${libname}${release}${shared_ext}$major'
15259 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15261 irix5
* | nonstopux
*)
15262 libsuff
= shlibsuff
=
15265 case $LD in # libtool.m4 will add one of these switches to LD
15266 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15267 libsuff
= shlibsuff
= libmagic
=32-bit;;
15268 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15269 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15270 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15271 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15272 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15276 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15277 shlibpath_overrides_runpath
=no
15278 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15279 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15280 hardcode_into_libs
=yes
15283 # No shared lib support for Linux oldld, aout, or coff.
15284 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15288 # This must be Linux ELF.
15289 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15293 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15294 soname_spec
='${libname}${release}${shared_ext}$major'
15295 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15296 shlibpath_var
=LD_LIBRARY_PATH
15297 shlibpath_overrides_runpath
=no
15299 # Some binutils ld are patched to set DT_RUNPATH
15300 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15301 $as_echo_n "(cached) " >&6
15303 lt_cv_shlibpath_overrides_runpath
=no
15304 save_LDFLAGS
=$LDFLAGS
15305 save_libdir
=$libdir
15306 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15307 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15308 if test x
$gcc_no_link = xyes
; then
15309 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15311 cat > conftest.
$ac_ext <<_ACEOF
15316 if ac_fn_fc_try_link
"$LINENO"; then :
15317 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15318 lt_cv_shlibpath_overrides_runpath
=yes
15321 rm -f core conftest.err conftest.
$ac_objext \
15322 conftest
$ac_exeext conftest.
$ac_ext
15323 LDFLAGS
=$save_LDFLAGS
15324 libdir
=$save_libdir
15328 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15330 # This implies no fast_install, which is unacceptable.
15331 # Some rework will be needed to allow for fast_install
15332 # before this can be enabled.
15333 hardcode_into_libs
=yes
15335 # Append ld.so.conf contents to the search path
15336 if test -f /etc
/ld.so.conf
; then
15337 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' ' '`
15338 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15341 # We used to test for /lib/ld.so.1 and disable shared libraries on
15342 # powerpc, because MkLinux only supported shared libraries with the
15343 # GNU dynamic linker. Since this was broken with cross compilers,
15344 # most powerpc-linux boxes support dynamic linking these days and
15345 # people can always --disable-shared, the test was removed, and we
15346 # assume the GNU/Linux dynamic linker is in use.
15347 dynamic_linker
='GNU/Linux ld.so'
15354 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15355 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15356 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15357 dynamic_linker
='NetBSD (a.out) ld.so'
15359 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15360 soname_spec
='${libname}${release}${shared_ext}$major'
15361 dynamic_linker
='NetBSD ld.elf_so'
15363 shlibpath_var
=LD_LIBRARY_PATH
15364 shlibpath_overrides_runpath
=yes
15365 hardcode_into_libs
=yes
15370 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15371 shlibpath_var
=LD_LIBRARY_PATH
15372 shlibpath_overrides_runpath
=yes
15379 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15380 soname_spec
='${libname}${release}${shared_ext}$major'
15381 shlibpath_var
=LD_LIBRARY_PATH
15382 shlibpath_overrides_runpath
=no
15383 hardcode_into_libs
=yes
15384 dynamic_linker
='ldqnx.so'
15389 sys_lib_dlsearch_path_spec
="/usr/lib"
15391 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15393 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15394 *) need_version
=no
;;
15396 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15397 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15398 shlibpath_var
=LD_LIBRARY_PATH
15399 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15401 openbsd2.
[89] | openbsd2.
[89].
*)
15402 shlibpath_overrides_runpath
=no
15405 shlibpath_overrides_runpath
=yes
15409 shlibpath_overrides_runpath
=yes
15414 libname_spec
='$name'
15417 library_names_spec
='$libname${shared_ext} $libname.a'
15418 dynamic_linker
='OS/2 ld.exe'
15419 shlibpath_var
=LIBPATH
15422 osf3
* | osf4
* | osf5
*)
15426 soname_spec
='${libname}${release}${shared_ext}$major'
15427 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15428 shlibpath_var
=LD_LIBRARY_PATH
15429 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15430 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15441 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15442 soname_spec
='${libname}${release}${shared_ext}$major'
15443 shlibpath_var
=LD_LIBRARY_PATH
15444 shlibpath_overrides_runpath
=yes
15445 hardcode_into_libs
=yes
15446 # ldd complains unless libraries are executable
15447 postinstall_cmds
='chmod +x $lib'
15452 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15453 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15454 shlibpath_var
=LD_LIBRARY_PATH
15455 shlibpath_overrides_runpath
=yes
15456 if test "$with_gnu_ld" = yes; then
15464 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15465 soname_spec
='${libname}${release}${shared_ext}$major'
15466 shlibpath_var
=LD_LIBRARY_PATH
15467 case $host_vendor in
15469 shlibpath_overrides_runpath
=no
15471 runpath_var
=LD_RUN_PATH
15479 shlibpath_overrides_runpath
=no
15480 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15486 if test -d /usr
/nec
;then
15488 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15489 soname_spec
='$libname${shared_ext}.$major'
15490 shlibpath_var
=LD_LIBRARY_PATH
15494 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15495 version_type
=freebsd-elf
15498 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $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 if test "$with_gnu_ld" = yes; then
15504 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15506 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15509 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15513 sys_lib_dlsearch_path_spec
='/usr/lib'
15517 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15521 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15522 shlibpath_var
=LD_LIBRARY_PATH
15523 shlibpath_overrides_runpath
=no
15524 hardcode_into_libs
=yes
15529 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15530 soname_spec
='${libname}${release}${shared_ext}$major'
15531 shlibpath_var
=LD_LIBRARY_PATH
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15539 $as_echo "$dynamic_linker" >&6; }
15540 test "$dynamic_linker" = no
&& can_build_shared
=no
15542 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15543 if test "$GCC" = yes; then
15544 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15547 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15548 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15550 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15551 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15592 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15593 hardcode_action_FC
=
15594 if test -n "$hardcode_libdir_flag_spec_FC" ||
15595 test -n "$runpath_var_FC" ||
15596 test "X$hardcode_automatic_FC" = "Xyes" ; then
15598 # We can hardcode non-existent directories.
15599 if test "$hardcode_direct_FC" != no
&&
15600 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15601 # have to relink, otherwise we might link with an installed library
15602 # when we should be linking with a yet-to-be-installed one
15603 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15604 test "$hardcode_minus_L_FC" != no
; then
15605 # Linking always hardcodes the temporary library directory.
15606 hardcode_action_FC
=relink
15608 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15609 hardcode_action_FC
=immediate
15612 # We cannot hardcode anything, or else we can only hardcode existing
15614 hardcode_action_FC
=unsupported
15616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15617 $as_echo "$hardcode_action_FC" >&6; }
15619 if test "$hardcode_action_FC" = relink ||
15620 test "$inherit_rpath_FC" = yes; then
15621 # Fast installation is not supported
15622 enable_fast_install
=no
15623 elif test "$shlibpath_overrides_runpath" = yes ||
15624 test "$enable_shared" = no
; then
15625 # Fast installation is not necessary
15626 enable_fast_install
=needless
15635 fi # test -n "$compiler"
15639 fi # test "$_lt_disable_FC" != yes
15642 ac_cpp
='$CPP $CPPFLAGS'
15643 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15644 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15645 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15649 # extra LD Flags which are required for targets
15652 # Darwin needs -single_module when linking libgfortran
15653 extra_ldflags_libgfortran
=-Wl,-single_module
15658 # We need a working compiler at that point, otherwise give a clear
15659 # error message and bail out.
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15662 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15663 ac_ext
=${ac_fc_srcext-f}
15664 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15665 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15666 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
15668 cat > conftest.
$ac_ext <<_ACEOF
15671 real, parameter :: bar = sin (12.34 / 2.5)
15674 if ac_fn_fc_try_compile
"$LINENO"; then :
15675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15676 $as_echo "yes" >&6; }
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15679 $as_echo "no" >&6; }
15680 as_fn_error
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15683 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15685 ac_cpp
='$CPP $CPPFLAGS'
15686 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15687 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15688 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15692 # Check whether --enable-largefile was given.
15693 if test "${enable_largefile+set}" = set; then :
15694 enableval
=$enable_largefile;
15697 if test "$enable_largefile" != no
; then
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15700 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15701 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15702 $as_echo_n "(cached) " >&6
15704 ac_cv_sys_largefile_CC
=no
15705 if test "$GCC" != yes; then
15708 # IRIX 6.2 and later do not support large files by default,
15709 # so use the C compiler's -n32 option if that helps.
15710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15711 /* end confdefs.h. */
15712 #include <sys/types.h>
15713 /* Check that off_t can represent 2**63 - 1 correctly.
15714 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15715 since some C++ compilers masquerading as C compilers
15716 incorrectly reject 9223372036854775807. */
15717 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15718 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15719 && LARGE_OFF_T % 2147483647 == 1)
15729 if ac_fn_c_try_compile
"$LINENO"; then :
15732 rm -f core conftest.err conftest.
$ac_objext
15734 if ac_fn_c_try_compile
"$LINENO"; then :
15735 ac_cv_sys_largefile_CC
=' -n32'; break
15737 rm -f core conftest.err conftest.
$ac_objext
15741 rm -f conftest.
$ac_ext
15744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15745 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15746 if test "$ac_cv_sys_largefile_CC" != no
; then
15747 CC
=$CC$ac_cv_sys_largefile_CC
15750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15751 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15752 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15753 $as_echo_n "(cached) " >&6
15756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15757 /* end confdefs.h. */
15758 #include <sys/types.h>
15759 /* Check that off_t can represent 2**63 - 1 correctly.
15760 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15761 since some C++ compilers masquerading as C compilers
15762 incorrectly reject 9223372036854775807. */
15763 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15764 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15765 && LARGE_OFF_T % 2147483647 == 1)
15775 if ac_fn_c_try_compile
"$LINENO"; then :
15776 ac_cv_sys_file_offset_bits
=no
; break
15778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15779 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15780 /* end confdefs.h. */
15781 #define _FILE_OFFSET_BITS 64
15782 #include <sys/types.h>
15783 /* Check that off_t can represent 2**63 - 1 correctly.
15784 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15785 since some C++ compilers masquerading as C compilers
15786 incorrectly reject 9223372036854775807. */
15787 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15788 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15789 && LARGE_OFF_T % 2147483647 == 1)
15799 if ac_fn_c_try_compile
"$LINENO"; then :
15800 ac_cv_sys_file_offset_bits
=64; break
15802 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15803 ac_cv_sys_file_offset_bits
=unknown
15807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15808 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15809 case $ac_cv_sys_file_offset_bits in #(
15812 cat >>confdefs.h
<<_ACEOF
15813 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15818 if test $ac_cv_sys_file_offset_bits = unknown
; then
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15820 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15821 if test "${ac_cv_sys_large_files+set}" = set; then :
15822 $as_echo_n "(cached) " >&6
15825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15826 /* end confdefs.h. */
15827 #include <sys/types.h>
15828 /* Check that off_t can represent 2**63 - 1 correctly.
15829 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15830 since some C++ compilers masquerading as C compilers
15831 incorrectly reject 9223372036854775807. */
15832 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15833 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15834 && LARGE_OFF_T % 2147483647 == 1)
15844 if ac_fn_c_try_compile
"$LINENO"; then :
15845 ac_cv_sys_large_files
=no
; break
15847 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15849 /* end confdefs.h. */
15850 #define _LARGE_FILES 1
15851 #include <sys/types.h>
15852 /* Check that off_t can represent 2**63 - 1 correctly.
15853 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15854 since some C++ compilers masquerading as C compilers
15855 incorrectly reject 9223372036854775807. */
15856 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15857 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15858 && LARGE_OFF_T % 2147483647 == 1)
15868 if ac_fn_c_try_compile
"$LINENO"; then :
15869 ac_cv_sys_large_files
=1; break
15871 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15872 ac_cv_sys_large_files
=unknown
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15877 $as_echo "$ac_cv_sys_large_files" >&6; }
15878 case $ac_cv_sys_large_files in #(
15881 cat >>confdefs.h
<<_ACEOF
15882 #define _LARGE_FILES $ac_cv_sys_large_files
15892 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15893 if test "x$ac_cv_type_off_t" = x
""yes; then :
15897 cat >>confdefs.h
<<_ACEOF
15898 #define off_t long int
15904 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15905 if test "x$ac_cv_type_intptr_t" = x
""yes; then :
15907 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
15910 for ac_type
in 'int' 'long int' 'long long int'; do
15911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15912 /* end confdefs.h. */
15913 $ac_includes_default
15917 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15924 if ac_fn_c_try_compile
"$LINENO"; then :
15926 cat >>confdefs.h
<<_ACEOF
15927 #define intptr_t $ac_type
15932 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15933 test -z "$ac_type" && break
15939 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15940 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15942 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
15945 for ac_type
in 'unsigned int' 'unsigned long int' \
15946 'unsigned long long int'; do
15947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15948 /* end confdefs.h. */
15949 $ac_includes_default
15953 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15960 if ac_fn_c_try_compile
"$LINENO"; then :
15962 cat >>confdefs.h
<<_ACEOF
15963 #define uintptr_t $ac_type
15968 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15969 test -z "$ac_type" && break
15974 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
15975 if test "x$ac_cv_type_ptrdiff_t" = x
""yes; then :
15977 cat >>confdefs.h
<<_ACEOF
15978 #define HAVE_PTRDIFF_T 1
15985 # check header files (we assume C89 is available, so don't check for that)
15989 for ac_header
in $ac_header_list
15991 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15992 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
15994 eval as_val
=\$
$as_ac_Header
15995 if test "x$as_val" = x
""yes; then :
15996 cat >>confdefs.h
<<_ACEOF
15997 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16036 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16038 acx_cv_header_stdint
=stddef.h
16039 acx_cv_header_stdint_kind
="(already complete)"
16040 for i
in stdint.h
$inttype_headers; do
16041 unset ac_cv_type_uintptr_t
16042 unset ac_cv_type_uintmax_t
16043 unset ac_cv_type_int_least32_t
16044 unset ac_cv_type_int_fast32_t
16045 unset ac_cv_type_uint64_t
16046 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16047 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16050 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
16051 acx_cv_header_stdint
=$i
16056 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16059 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16062 acx_cv_header_stdint_kind
="(mostly complete)"
16065 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16068 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
16071 acx_cv_header_stdint_kind
="(mostly complete)"
16074 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16077 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
16080 acx_cv_header_stdint_kind
="(mostly complete)"
16083 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16086 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16089 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16094 if test "$acx_cv_header_stdint" = stddef.h
; then
16095 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16096 for i
in stdint.h
$inttype_headers; do
16097 unset ac_cv_type_uintptr_t
16098 unset ac_cv_type_uint32_t
16099 unset ac_cv_type_uint64_t
16100 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16101 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16104 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
16105 acx_cv_header_stdint
=$i
16110 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16113 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16117 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16120 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16127 if test "$acx_cv_header_stdint" = stddef.h
; then
16128 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16129 for i
in sys
/types.h
$inttype_headers; do
16130 unset ac_cv_type_u_int32_t
16131 unset ac_cv_type_u_int64_t
16132 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16133 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16136 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
16137 acx_cv_header_stdint
=$i
16142 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16145 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
16152 if test "$acx_cv_header_stdint" = stddef.h
; then
16153 acx_cv_header_stdint_kind
="(using manual detection)"
16156 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16157 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16158 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16159 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16160 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16162 # ----------------- Summarize what we found so far
16164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16165 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16167 case `$as_basename -- gstdint.h ||
16168 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16169 Xgstdint.h : 'X\(//\)$' \| \
16170 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16171 $as_echo X/gstdint.h |
16172 sed '/^.*\/\([^/][^/]*\)\/*$/{
16185 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16186 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16187 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16188 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16193 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16195 # ----------------- done included file, check C basic types --------
16197 # Lacking an uintptr_t? Test size of void *
16198 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16199 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16200 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16201 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16202 # This bug is HP SR number 8606223364.
16203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16204 $as_echo_n "checking size of void *... " >&6; }
16205 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16206 $as_echo_n "(cached) " >&6
16208 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16211 if test "$ac_cv_type_void_p" = yes; then
16212 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16214 { as_fn_set_status
77
16215 as_fn_error
"cannot compute sizeof (void *)
16216 See \`config.log' for more details." "$LINENO" 5; }; }
16218 ac_cv_sizeof_void_p
=0
16223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16224 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16228 cat >>confdefs.h
<<_ACEOF
16229 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16235 # Lacking an uint64_t? Test size of long
16236 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16237 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16238 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16239 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16240 # This bug is HP SR number 8606223364.
16241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16242 $as_echo_n "checking size of long... " >&6; }
16243 if test "${ac_cv_sizeof_long+set}" = set; then :
16244 $as_echo_n "(cached) " >&6
16246 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16249 if test "$ac_cv_type_long" = yes; then
16250 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16251 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16252 { as_fn_set_status
77
16253 as_fn_error
"cannot compute sizeof (long)
16254 See \`config.log' for more details." "$LINENO" 5; }; }
16256 ac_cv_sizeof_long
=0
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16262 $as_echo "$ac_cv_sizeof_long" >&6; }
16266 cat >>confdefs.h
<<_ACEOF
16267 #define SIZEOF_LONG $ac_cv_sizeof_long
16273 if test $acx_cv_header_stdint = stddef.h
; then
16274 # Lacking a good header? Test size of everything and deduce all types.
16275 # The cast to long int works around a bug in the HP C Compiler
16276 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16277 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16278 # This bug is HP SR number 8606223364.
16279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16280 $as_echo_n "checking size of int... " >&6; }
16281 if test "${ac_cv_sizeof_int+set}" = set; then :
16282 $as_echo_n "(cached) " >&6
16284 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16287 if test "$ac_cv_type_int" = yes; then
16288 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16289 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16290 { as_fn_set_status
77
16291 as_fn_error
"cannot compute sizeof (int)
16292 See \`config.log' for more details." "$LINENO" 5; }; }
16299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16300 $as_echo "$ac_cv_sizeof_int" >&6; }
16304 cat >>confdefs.h
<<_ACEOF
16305 #define SIZEOF_INT $ac_cv_sizeof_int
16309 # The cast to long int works around a bug in the HP C Compiler
16310 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16311 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16312 # This bug is HP SR number 8606223364.
16313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16314 $as_echo_n "checking size of short... " >&6; }
16315 if test "${ac_cv_sizeof_short+set}" = set; then :
16316 $as_echo_n "(cached) " >&6
16318 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16321 if test "$ac_cv_type_short" = yes; then
16322 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16324 { as_fn_set_status
77
16325 as_fn_error
"cannot compute sizeof (short)
16326 See \`config.log' for more details." "$LINENO" 5; }; }
16328 ac_cv_sizeof_short
=0
16333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16334 $as_echo "$ac_cv_sizeof_short" >&6; }
16338 cat >>confdefs.h
<<_ACEOF
16339 #define SIZEOF_SHORT $ac_cv_sizeof_short
16343 # The cast to long int works around a bug in the HP C Compiler
16344 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16345 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16346 # This bug is HP SR number 8606223364.
16347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16348 $as_echo_n "checking size of char... " >&6; }
16349 if test "${ac_cv_sizeof_char+set}" = set; then :
16350 $as_echo_n "(cached) " >&6
16352 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16355 if test "$ac_cv_type_char" = yes; then
16356 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16357 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16358 { as_fn_set_status
77
16359 as_fn_error
"cannot compute sizeof (char)
16360 See \`config.log' for more details." "$LINENO" 5; }; }
16362 ac_cv_sizeof_char
=0
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16368 $as_echo "$ac_cv_sizeof_char" >&6; }
16372 cat >>confdefs.h
<<_ACEOF
16373 #define SIZEOF_CHAR $ac_cv_sizeof_char
16378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16379 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16380 case "$ac_cv_sizeof_char" in
16381 1) acx_cv_type_int8_t
=char
;;
16382 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16385 $as_echo "$acx_cv_type_int8_t" >&6; }
16387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16388 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16389 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16390 2:*) acx_cv_type_int16_t
=int
;;
16391 *:2) acx_cv_type_int16_t
=short
;;
16392 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
16394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16395 $as_echo "$acx_cv_type_int16_t" >&6; }
16397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16398 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16399 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16400 4:*) acx_cv_type_int32_t
=int
;;
16401 *:4) acx_cv_type_int32_t
=long
;;
16402 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16405 $as_echo "$acx_cv_type_int32_t" >&6; }
16408 # These tests are here to make the output prettier
16410 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16411 case "$ac_cv_sizeof_long" in
16412 8) acx_cv_type_int64_t
=long
;;
16414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16415 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16417 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16420 # Now we can use the above types
16422 if test "$ac_cv_type_uintptr_t" != yes; then
16423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16424 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16425 case $ac_cv_sizeof_void_p in
16426 2) acx_cv_type_intptr_t
=int16_t
;;
16427 4) acx_cv_type_intptr_t
=int32_t
;;
16428 8) acx_cv_type_intptr_t
=int64_t
;;
16429 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16432 $as_echo "$acx_cv_type_intptr_t" >&6; }
16435 # ----------------- done all checks, emit header -------------
16436 ac_config_commands
="$ac_config_commands gstdint.h"
16441 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16442 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
16444 cat >>confdefs.h
<<_ACEOF
16445 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16450 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16451 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
16453 cat >>confdefs.h
<<_ACEOF
16454 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16459 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16460 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
16462 cat >>confdefs.h
<<_ACEOF
16463 #define HAVE_STRUCT_STAT_ST_RDEV 1
16470 # Check for library functions.
16471 if test "x${with_newlib}" = "xyes"; then
16472 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
16473 # may not work correctly, because the compiler may not be able to
16474 # link executables.
16476 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
16479 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
16482 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
16485 $as_echo "#define HAVE_STRCASESTR 1" >>confdefs.h
16488 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
16491 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
16494 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
16497 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
16500 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
16503 # At some point, we should differentiate between architectures
16504 # like x86, which have long double versions, and alpha/powerpc/etc.,
16505 # which don't. For the time being, punt.
16506 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
16508 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
16515 for ac_func
in $ac_func_list
16517 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16518 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16519 eval as_val
=\$
$as_ac_var
16520 if test "x$as_val" = x
""yes; then :
16521 cat >>confdefs.h
<<_ACEOF
16522 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16641 # Check strerror_r, cannot be above as versions with two and three arguments exist
16643 ac_save_CFLAGS
="$CFLAGS"
16644 CFLAGS
="-Wimplicit-function-declaration -Werror"
16645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16646 /* end confdefs.h. */
16647 #define _GNU_SOURCE 1
16648 #include <string.h>
16649 #include <locale.h>
16653 char s[128]; strerror_r(5, s, 128);
16658 if ac_fn_c_try_compile
"$LINENO"; then :
16660 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16663 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16664 CFLAGS
="$ac_save_CFLAGS"
16666 ac_save_CFLAGS
="$CFLAGS"
16667 CFLAGS
="-Wimplicit-function-declaration -Werror"
16668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16669 /* end confdefs.h. */
16670 #define _GNU_SOURCE 1
16671 #include <string.h>
16672 #include <locale.h>
16676 char s[128]; strerror_r(5, s);
16681 if ac_fn_c_try_compile
"$LINENO"; then :
16683 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
16686 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16687 CFLAGS
="$ac_save_CFLAGS"
16690 # Check for C99 (and other IEEE) math functions
16691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16692 $as_echo_n "checking for sin in -lm... " >&6; }
16693 if test "${ac_cv_lib_m_sin+set}" = set; then :
16694 $as_echo_n "(cached) " >&6
16696 ac_check_lib_save_LIBS
=$LIBS
16698 if test x
$gcc_no_link = xyes
; then
16699 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16702 /* end confdefs.h. */
16704 /* Override any GCC internal prototype to avoid an error.
16705 Use char because int might match the return type of a GCC
16706 builtin and then its argument prototype would still apply. */
16719 if ac_fn_c_try_link
"$LINENO"; then :
16720 ac_cv_lib_m_sin
=yes
16724 rm -f core conftest.err conftest.
$ac_objext \
16725 conftest
$ac_exeext conftest.
$ac_ext
16726 LIBS
=$ac_check_lib_save_LIBS
16728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16729 $as_echo "$ac_cv_lib_m_sin" >&6; }
16730 if test "x$ac_cv_lib_m_sin" = x
""yes; then :
16731 cat >>confdefs.h
<<_ACEOF
16732 #define HAVE_LIBM 1
16745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
16746 $as_echo_n "checking for acosf... " >&6; }
16747 if test "${gcc_cv_math_func_acosf+set}" = set; then :
16748 $as_echo_n "(cached) " >&6
16750 if test x
$gcc_no_link = xyes
; then
16751 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16754 /* end confdefs.h. */
16756 #ifdef HAVE_COMPLEX_H
16757 #include <complex.h>
16763 int (*ptr)() = (int (*)())acosf;
16772 if ac_fn_c_try_link
"$LINENO"; then :
16773 gcc_cv_math_func_acosf
=yes
16775 gcc_cv_math_func_acosf
=no
16777 rm -f core conftest.err conftest.
$ac_objext \
16778 conftest
$ac_exeext conftest.
$ac_ext
16780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
16781 $as_echo "$gcc_cv_math_func_acosf" >&6; }
16782 if test $gcc_cv_math_func_acosf = yes; then
16784 cat >>confdefs.h
<<_ACEOF
16785 #define HAVE_ACOSF 1
16793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
16794 $as_echo_n "checking for acos... " >&6; }
16795 if test "${gcc_cv_math_func_acos+set}" = set; then :
16796 $as_echo_n "(cached) " >&6
16798 if test x
$gcc_no_link = xyes
; then
16799 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16802 /* end confdefs.h. */
16804 #ifdef HAVE_COMPLEX_H
16805 #include <complex.h>
16811 int (*ptr)() = (int (*)())acos;
16820 if ac_fn_c_try_link
"$LINENO"; then :
16821 gcc_cv_math_func_acos
=yes
16823 gcc_cv_math_func_acos
=no
16825 rm -f core conftest.err conftest.
$ac_objext \
16826 conftest
$ac_exeext conftest.
$ac_ext
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
16829 $as_echo "$gcc_cv_math_func_acos" >&6; }
16830 if test $gcc_cv_math_func_acos = yes; then
16832 cat >>confdefs.h
<<_ACEOF
16833 #define HAVE_ACOS 1
16841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
16842 $as_echo_n "checking for acosl... " >&6; }
16843 if test "${gcc_cv_math_func_acosl+set}" = set; then :
16844 $as_echo_n "(cached) " >&6
16846 if test x
$gcc_no_link = xyes
; then
16847 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16850 /* end confdefs.h. */
16852 #ifdef HAVE_COMPLEX_H
16853 #include <complex.h>
16859 int (*ptr)() = (int (*)())acosl;
16868 if ac_fn_c_try_link
"$LINENO"; then :
16869 gcc_cv_math_func_acosl
=yes
16871 gcc_cv_math_func_acosl
=no
16873 rm -f core conftest.err conftest.
$ac_objext \
16874 conftest
$ac_exeext conftest.
$ac_ext
16876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
16877 $as_echo "$gcc_cv_math_func_acosl" >&6; }
16878 if test $gcc_cv_math_func_acosl = yes; then
16880 cat >>confdefs.h
<<_ACEOF
16881 #define HAVE_ACOSL 1
16889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
16890 $as_echo_n "checking for acoshf... " >&6; }
16891 if test "${gcc_cv_math_func_acoshf+set}" = set; then :
16892 $as_echo_n "(cached) " >&6
16894 if test x
$gcc_no_link = xyes
; then
16895 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16898 /* end confdefs.h. */
16900 #ifdef HAVE_COMPLEX_H
16901 #include <complex.h>
16907 int (*ptr)() = (int (*)())acoshf;
16916 if ac_fn_c_try_link
"$LINENO"; then :
16917 gcc_cv_math_func_acoshf
=yes
16919 gcc_cv_math_func_acoshf
=no
16921 rm -f core conftest.err conftest.
$ac_objext \
16922 conftest
$ac_exeext conftest.
$ac_ext
16924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
16925 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
16926 if test $gcc_cv_math_func_acoshf = yes; then
16928 cat >>confdefs.h
<<_ACEOF
16929 #define HAVE_ACOSHF 1
16937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
16938 $as_echo_n "checking for acosh... " >&6; }
16939 if test "${gcc_cv_math_func_acosh+set}" = set; then :
16940 $as_echo_n "(cached) " >&6
16942 if test x
$gcc_no_link = xyes
; then
16943 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16946 /* end confdefs.h. */
16948 #ifdef HAVE_COMPLEX_H
16949 #include <complex.h>
16955 int (*ptr)() = (int (*)())acosh;
16964 if ac_fn_c_try_link
"$LINENO"; then :
16965 gcc_cv_math_func_acosh
=yes
16967 gcc_cv_math_func_acosh
=no
16969 rm -f core conftest.err conftest.
$ac_objext \
16970 conftest
$ac_exeext conftest.
$ac_ext
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
16973 $as_echo "$gcc_cv_math_func_acosh" >&6; }
16974 if test $gcc_cv_math_func_acosh = yes; then
16976 cat >>confdefs.h
<<_ACEOF
16977 #define HAVE_ACOSH 1
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
16986 $as_echo_n "checking for acoshl... " >&6; }
16987 if test "${gcc_cv_math_func_acoshl+set}" = set; then :
16988 $as_echo_n "(cached) " >&6
16990 if test x
$gcc_no_link = xyes
; then
16991 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16994 /* end confdefs.h. */
16996 #ifdef HAVE_COMPLEX_H
16997 #include <complex.h>
17003 int (*ptr)() = (int (*)())acoshl;
17012 if ac_fn_c_try_link
"$LINENO"; then :
17013 gcc_cv_math_func_acoshl
=yes
17015 gcc_cv_math_func_acoshl
=no
17017 rm -f core conftest.err conftest.
$ac_objext \
17018 conftest
$ac_exeext conftest.
$ac_ext
17020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17021 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17022 if test $gcc_cv_math_func_acoshl = yes; then
17024 cat >>confdefs.h
<<_ACEOF
17025 #define HAVE_ACOSHL 1
17033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17034 $as_echo_n "checking for asinf... " >&6; }
17035 if test "${gcc_cv_math_func_asinf+set}" = set; then :
17036 $as_echo_n "(cached) " >&6
17038 if test x
$gcc_no_link = xyes
; then
17039 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17042 /* end confdefs.h. */
17044 #ifdef HAVE_COMPLEX_H
17045 #include <complex.h>
17051 int (*ptr)() = (int (*)())asinf;
17060 if ac_fn_c_try_link
"$LINENO"; then :
17061 gcc_cv_math_func_asinf
=yes
17063 gcc_cv_math_func_asinf
=no
17065 rm -f core conftest.err conftest.
$ac_objext \
17066 conftest
$ac_exeext conftest.
$ac_ext
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17069 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17070 if test $gcc_cv_math_func_asinf = yes; then
17072 cat >>confdefs.h
<<_ACEOF
17073 #define HAVE_ASINF 1
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17082 $as_echo_n "checking for asin... " >&6; }
17083 if test "${gcc_cv_math_func_asin+set}" = set; then :
17084 $as_echo_n "(cached) " >&6
17086 if test x
$gcc_no_link = xyes
; then
17087 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17090 /* end confdefs.h. */
17092 #ifdef HAVE_COMPLEX_H
17093 #include <complex.h>
17099 int (*ptr)() = (int (*)())asin;
17108 if ac_fn_c_try_link
"$LINENO"; then :
17109 gcc_cv_math_func_asin
=yes
17111 gcc_cv_math_func_asin
=no
17113 rm -f core conftest.err conftest.
$ac_objext \
17114 conftest
$ac_exeext conftest.
$ac_ext
17116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17117 $as_echo "$gcc_cv_math_func_asin" >&6; }
17118 if test $gcc_cv_math_func_asin = yes; then
17120 cat >>confdefs.h
<<_ACEOF
17121 #define HAVE_ASIN 1
17129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17130 $as_echo_n "checking for asinl... " >&6; }
17131 if test "${gcc_cv_math_func_asinl+set}" = set; then :
17132 $as_echo_n "(cached) " >&6
17134 if test x
$gcc_no_link = xyes
; then
17135 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17138 /* end confdefs.h. */
17140 #ifdef HAVE_COMPLEX_H
17141 #include <complex.h>
17147 int (*ptr)() = (int (*)())asinl;
17156 if ac_fn_c_try_link
"$LINENO"; then :
17157 gcc_cv_math_func_asinl
=yes
17159 gcc_cv_math_func_asinl
=no
17161 rm -f core conftest.err conftest.
$ac_objext \
17162 conftest
$ac_exeext conftest.
$ac_ext
17164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17165 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17166 if test $gcc_cv_math_func_asinl = yes; then
17168 cat >>confdefs.h
<<_ACEOF
17169 #define HAVE_ASINL 1
17177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17178 $as_echo_n "checking for asinhf... " >&6; }
17179 if test "${gcc_cv_math_func_asinhf+set}" = set; then :
17180 $as_echo_n "(cached) " >&6
17182 if test x
$gcc_no_link = xyes
; then
17183 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17186 /* end confdefs.h. */
17188 #ifdef HAVE_COMPLEX_H
17189 #include <complex.h>
17195 int (*ptr)() = (int (*)())asinhf;
17204 if ac_fn_c_try_link
"$LINENO"; then :
17205 gcc_cv_math_func_asinhf
=yes
17207 gcc_cv_math_func_asinhf
=no
17209 rm -f core conftest.err conftest.
$ac_objext \
17210 conftest
$ac_exeext conftest.
$ac_ext
17212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17213 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17214 if test $gcc_cv_math_func_asinhf = yes; then
17216 cat >>confdefs.h
<<_ACEOF
17217 #define HAVE_ASINHF 1
17225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17226 $as_echo_n "checking for asinh... " >&6; }
17227 if test "${gcc_cv_math_func_asinh+set}" = set; then :
17228 $as_echo_n "(cached) " >&6
17230 if test x
$gcc_no_link = xyes
; then
17231 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17234 /* end confdefs.h. */
17236 #ifdef HAVE_COMPLEX_H
17237 #include <complex.h>
17243 int (*ptr)() = (int (*)())asinh;
17252 if ac_fn_c_try_link
"$LINENO"; then :
17253 gcc_cv_math_func_asinh
=yes
17255 gcc_cv_math_func_asinh
=no
17257 rm -f core conftest.err conftest.
$ac_objext \
17258 conftest
$ac_exeext conftest.
$ac_ext
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17261 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17262 if test $gcc_cv_math_func_asinh = yes; then
17264 cat >>confdefs.h
<<_ACEOF
17265 #define HAVE_ASINH 1
17273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17274 $as_echo_n "checking for asinhl... " >&6; }
17275 if test "${gcc_cv_math_func_asinhl+set}" = set; then :
17276 $as_echo_n "(cached) " >&6
17278 if test x
$gcc_no_link = xyes
; then
17279 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17282 /* end confdefs.h. */
17284 #ifdef HAVE_COMPLEX_H
17285 #include <complex.h>
17291 int (*ptr)() = (int (*)())asinhl;
17300 if ac_fn_c_try_link
"$LINENO"; then :
17301 gcc_cv_math_func_asinhl
=yes
17303 gcc_cv_math_func_asinhl
=no
17305 rm -f core conftest.err conftest.
$ac_objext \
17306 conftest
$ac_exeext conftest.
$ac_ext
17308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17309 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17310 if test $gcc_cv_math_func_asinhl = yes; then
17312 cat >>confdefs.h
<<_ACEOF
17313 #define HAVE_ASINHL 1
17321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17322 $as_echo_n "checking for atan2f... " >&6; }
17323 if test "${gcc_cv_math_func_atan2f+set}" = set; then :
17324 $as_echo_n "(cached) " >&6
17326 if test x
$gcc_no_link = xyes
; then
17327 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17330 /* end confdefs.h. */
17332 #ifdef HAVE_COMPLEX_H
17333 #include <complex.h>
17339 int (*ptr)() = (int (*)())atan2f;
17348 if ac_fn_c_try_link
"$LINENO"; then :
17349 gcc_cv_math_func_atan2f
=yes
17351 gcc_cv_math_func_atan2f
=no
17353 rm -f core conftest.err conftest.
$ac_objext \
17354 conftest
$ac_exeext conftest.
$ac_ext
17356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17357 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17358 if test $gcc_cv_math_func_atan2f = yes; then
17360 cat >>confdefs.h
<<_ACEOF
17361 #define HAVE_ATAN2F 1
17369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17370 $as_echo_n "checking for atan2... " >&6; }
17371 if test "${gcc_cv_math_func_atan2+set}" = set; then :
17372 $as_echo_n "(cached) " >&6
17374 if test x
$gcc_no_link = xyes
; then
17375 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17378 /* end confdefs.h. */
17380 #ifdef HAVE_COMPLEX_H
17381 #include <complex.h>
17387 int (*ptr)() = (int (*)())atan2;
17396 if ac_fn_c_try_link
"$LINENO"; then :
17397 gcc_cv_math_func_atan2
=yes
17399 gcc_cv_math_func_atan2
=no
17401 rm -f core conftest.err conftest.
$ac_objext \
17402 conftest
$ac_exeext conftest.
$ac_ext
17404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17405 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17406 if test $gcc_cv_math_func_atan2 = yes; then
17408 cat >>confdefs.h
<<_ACEOF
17409 #define HAVE_ATAN2 1
17417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17418 $as_echo_n "checking for atan2l... " >&6; }
17419 if test "${gcc_cv_math_func_atan2l+set}" = set; then :
17420 $as_echo_n "(cached) " >&6
17422 if test x
$gcc_no_link = xyes
; then
17423 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17426 /* end confdefs.h. */
17428 #ifdef HAVE_COMPLEX_H
17429 #include <complex.h>
17435 int (*ptr)() = (int (*)())atan2l;
17444 if ac_fn_c_try_link
"$LINENO"; then :
17445 gcc_cv_math_func_atan2l
=yes
17447 gcc_cv_math_func_atan2l
=no
17449 rm -f core conftest.err conftest.
$ac_objext \
17450 conftest
$ac_exeext conftest.
$ac_ext
17452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17453 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17454 if test $gcc_cv_math_func_atan2l = yes; then
17456 cat >>confdefs.h
<<_ACEOF
17457 #define HAVE_ATAN2L 1
17465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17466 $as_echo_n "checking for atanf... " >&6; }
17467 if test "${gcc_cv_math_func_atanf+set}" = set; then :
17468 $as_echo_n "(cached) " >&6
17470 if test x
$gcc_no_link = xyes
; then
17471 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17474 /* end confdefs.h. */
17476 #ifdef HAVE_COMPLEX_H
17477 #include <complex.h>
17483 int (*ptr)() = (int (*)())atanf;
17492 if ac_fn_c_try_link
"$LINENO"; then :
17493 gcc_cv_math_func_atanf
=yes
17495 gcc_cv_math_func_atanf
=no
17497 rm -f core conftest.err conftest.
$ac_objext \
17498 conftest
$ac_exeext conftest.
$ac_ext
17500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17501 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17502 if test $gcc_cv_math_func_atanf = yes; then
17504 cat >>confdefs.h
<<_ACEOF
17505 #define HAVE_ATANF 1
17513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17514 $as_echo_n "checking for atan... " >&6; }
17515 if test "${gcc_cv_math_func_atan+set}" = set; then :
17516 $as_echo_n "(cached) " >&6
17518 if test x
$gcc_no_link = xyes
; then
17519 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17522 /* end confdefs.h. */
17524 #ifdef HAVE_COMPLEX_H
17525 #include <complex.h>
17531 int (*ptr)() = (int (*)())atan;
17540 if ac_fn_c_try_link
"$LINENO"; then :
17541 gcc_cv_math_func_atan
=yes
17543 gcc_cv_math_func_atan
=no
17545 rm -f core conftest.err conftest.
$ac_objext \
17546 conftest
$ac_exeext conftest.
$ac_ext
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17549 $as_echo "$gcc_cv_math_func_atan" >&6; }
17550 if test $gcc_cv_math_func_atan = yes; then
17552 cat >>confdefs.h
<<_ACEOF
17553 #define HAVE_ATAN 1
17561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17562 $as_echo_n "checking for atanl... " >&6; }
17563 if test "${gcc_cv_math_func_atanl+set}" = set; then :
17564 $as_echo_n "(cached) " >&6
17566 if test x
$gcc_no_link = xyes
; then
17567 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17570 /* end confdefs.h. */
17572 #ifdef HAVE_COMPLEX_H
17573 #include <complex.h>
17579 int (*ptr)() = (int (*)())atanl;
17588 if ac_fn_c_try_link
"$LINENO"; then :
17589 gcc_cv_math_func_atanl
=yes
17591 gcc_cv_math_func_atanl
=no
17593 rm -f core conftest.err conftest.
$ac_objext \
17594 conftest
$ac_exeext conftest.
$ac_ext
17596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17597 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17598 if test $gcc_cv_math_func_atanl = yes; then
17600 cat >>confdefs.h
<<_ACEOF
17601 #define HAVE_ATANL 1
17609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17610 $as_echo_n "checking for atanhf... " >&6; }
17611 if test "${gcc_cv_math_func_atanhf+set}" = set; then :
17612 $as_echo_n "(cached) " >&6
17614 if test x
$gcc_no_link = xyes
; then
17615 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17618 /* end confdefs.h. */
17620 #ifdef HAVE_COMPLEX_H
17621 #include <complex.h>
17627 int (*ptr)() = (int (*)())atanhf;
17636 if ac_fn_c_try_link
"$LINENO"; then :
17637 gcc_cv_math_func_atanhf
=yes
17639 gcc_cv_math_func_atanhf
=no
17641 rm -f core conftest.err conftest.
$ac_objext \
17642 conftest
$ac_exeext conftest.
$ac_ext
17644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17645 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
17646 if test $gcc_cv_math_func_atanhf = yes; then
17648 cat >>confdefs.h
<<_ACEOF
17649 #define HAVE_ATANHF 1
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
17658 $as_echo_n "checking for atanh... " >&6; }
17659 if test "${gcc_cv_math_func_atanh+set}" = set; then :
17660 $as_echo_n "(cached) " >&6
17662 if test x
$gcc_no_link = xyes
; then
17663 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17666 /* end confdefs.h. */
17668 #ifdef HAVE_COMPLEX_H
17669 #include <complex.h>
17675 int (*ptr)() = (int (*)())atanh;
17684 if ac_fn_c_try_link
"$LINENO"; then :
17685 gcc_cv_math_func_atanh
=yes
17687 gcc_cv_math_func_atanh
=no
17689 rm -f core conftest.err conftest.
$ac_objext \
17690 conftest
$ac_exeext conftest.
$ac_ext
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
17693 $as_echo "$gcc_cv_math_func_atanh" >&6; }
17694 if test $gcc_cv_math_func_atanh = yes; then
17696 cat >>confdefs.h
<<_ACEOF
17697 #define HAVE_ATANH 1
17705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
17706 $as_echo_n "checking for atanhl... " >&6; }
17707 if test "${gcc_cv_math_func_atanhl+set}" = set; then :
17708 $as_echo_n "(cached) " >&6
17710 if test x
$gcc_no_link = xyes
; then
17711 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17714 /* end confdefs.h. */
17716 #ifdef HAVE_COMPLEX_H
17717 #include <complex.h>
17723 int (*ptr)() = (int (*)())atanhl;
17732 if ac_fn_c_try_link
"$LINENO"; then :
17733 gcc_cv_math_func_atanhl
=yes
17735 gcc_cv_math_func_atanhl
=no
17737 rm -f core conftest.err conftest.
$ac_objext \
17738 conftest
$ac_exeext conftest.
$ac_ext
17740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
17741 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
17742 if test $gcc_cv_math_func_atanhl = yes; then
17744 cat >>confdefs.h
<<_ACEOF
17745 #define HAVE_ATANHL 1
17753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
17754 $as_echo_n "checking for cargf... " >&6; }
17755 if test "${gcc_cv_math_func_cargf+set}" = set; then :
17756 $as_echo_n "(cached) " >&6
17758 if test x
$gcc_no_link = xyes
; then
17759 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17762 /* end confdefs.h. */
17764 #ifdef HAVE_COMPLEX_H
17765 #include <complex.h>
17771 int (*ptr)() = (int (*)())cargf;
17780 if ac_fn_c_try_link
"$LINENO"; then :
17781 gcc_cv_math_func_cargf
=yes
17783 gcc_cv_math_func_cargf
=no
17785 rm -f core conftest.err conftest.
$ac_objext \
17786 conftest
$ac_exeext conftest.
$ac_ext
17788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
17789 $as_echo "$gcc_cv_math_func_cargf" >&6; }
17790 if test $gcc_cv_math_func_cargf = yes; then
17792 cat >>confdefs.h
<<_ACEOF
17793 #define HAVE_CARGF 1
17801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
17802 $as_echo_n "checking for carg... " >&6; }
17803 if test "${gcc_cv_math_func_carg+set}" = set; then :
17804 $as_echo_n "(cached) " >&6
17806 if test x
$gcc_no_link = xyes
; then
17807 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17810 /* end confdefs.h. */
17812 #ifdef HAVE_COMPLEX_H
17813 #include <complex.h>
17819 int (*ptr)() = (int (*)())carg;
17828 if ac_fn_c_try_link
"$LINENO"; then :
17829 gcc_cv_math_func_carg
=yes
17831 gcc_cv_math_func_carg
=no
17833 rm -f core conftest.err conftest.
$ac_objext \
17834 conftest
$ac_exeext conftest.
$ac_ext
17836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
17837 $as_echo "$gcc_cv_math_func_carg" >&6; }
17838 if test $gcc_cv_math_func_carg = yes; then
17840 cat >>confdefs.h
<<_ACEOF
17841 #define HAVE_CARG 1
17849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
17850 $as_echo_n "checking for cargl... " >&6; }
17851 if test "${gcc_cv_math_func_cargl+set}" = set; then :
17852 $as_echo_n "(cached) " >&6
17854 if test x
$gcc_no_link = xyes
; then
17855 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17858 /* end confdefs.h. */
17860 #ifdef HAVE_COMPLEX_H
17861 #include <complex.h>
17867 int (*ptr)() = (int (*)())cargl;
17876 if ac_fn_c_try_link
"$LINENO"; then :
17877 gcc_cv_math_func_cargl
=yes
17879 gcc_cv_math_func_cargl
=no
17881 rm -f core conftest.err conftest.
$ac_objext \
17882 conftest
$ac_exeext conftest.
$ac_ext
17884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
17885 $as_echo "$gcc_cv_math_func_cargl" >&6; }
17886 if test $gcc_cv_math_func_cargl = yes; then
17888 cat >>confdefs.h
<<_ACEOF
17889 #define HAVE_CARGL 1
17897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
17898 $as_echo_n "checking for ceilf... " >&6; }
17899 if test "${gcc_cv_math_func_ceilf+set}" = set; then :
17900 $as_echo_n "(cached) " >&6
17902 if test x
$gcc_no_link = xyes
; then
17903 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17906 /* end confdefs.h. */
17908 #ifdef HAVE_COMPLEX_H
17909 #include <complex.h>
17915 int (*ptr)() = (int (*)())ceilf;
17924 if ac_fn_c_try_link
"$LINENO"; then :
17925 gcc_cv_math_func_ceilf
=yes
17927 gcc_cv_math_func_ceilf
=no
17929 rm -f core conftest.err conftest.
$ac_objext \
17930 conftest
$ac_exeext conftest.
$ac_ext
17932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
17933 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
17934 if test $gcc_cv_math_func_ceilf = yes; then
17936 cat >>confdefs.h
<<_ACEOF
17937 #define HAVE_CEILF 1
17945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
17946 $as_echo_n "checking for ceil... " >&6; }
17947 if test "${gcc_cv_math_func_ceil+set}" = set; then :
17948 $as_echo_n "(cached) " >&6
17950 if test x
$gcc_no_link = xyes
; then
17951 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17954 /* end confdefs.h. */
17956 #ifdef HAVE_COMPLEX_H
17957 #include <complex.h>
17963 int (*ptr)() = (int (*)())ceil;
17972 if ac_fn_c_try_link
"$LINENO"; then :
17973 gcc_cv_math_func_ceil
=yes
17975 gcc_cv_math_func_ceil
=no
17977 rm -f core conftest.err conftest.
$ac_objext \
17978 conftest
$ac_exeext conftest.
$ac_ext
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
17981 $as_echo "$gcc_cv_math_func_ceil" >&6; }
17982 if test $gcc_cv_math_func_ceil = yes; then
17984 cat >>confdefs.h
<<_ACEOF
17985 #define HAVE_CEIL 1
17993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
17994 $as_echo_n "checking for ceill... " >&6; }
17995 if test "${gcc_cv_math_func_ceill+set}" = set; then :
17996 $as_echo_n "(cached) " >&6
17998 if test x
$gcc_no_link = xyes
; then
17999 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18002 /* end confdefs.h. */
18004 #ifdef HAVE_COMPLEX_H
18005 #include <complex.h>
18011 int (*ptr)() = (int (*)())ceill;
18020 if ac_fn_c_try_link
"$LINENO"; then :
18021 gcc_cv_math_func_ceill
=yes
18023 gcc_cv_math_func_ceill
=no
18025 rm -f core conftest.err conftest.
$ac_objext \
18026 conftest
$ac_exeext conftest.
$ac_ext
18028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18029 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18030 if test $gcc_cv_math_func_ceill = yes; then
18032 cat >>confdefs.h
<<_ACEOF
18033 #define HAVE_CEILL 1
18041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18042 $as_echo_n "checking for copysignf... " >&6; }
18043 if test "${gcc_cv_math_func_copysignf+set}" = set; then :
18044 $as_echo_n "(cached) " >&6
18046 if test x
$gcc_no_link = xyes
; then
18047 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18050 /* end confdefs.h. */
18052 #ifdef HAVE_COMPLEX_H
18053 #include <complex.h>
18059 int (*ptr)() = (int (*)())copysignf;
18068 if ac_fn_c_try_link
"$LINENO"; then :
18069 gcc_cv_math_func_copysignf
=yes
18071 gcc_cv_math_func_copysignf
=no
18073 rm -f core conftest.err conftest.
$ac_objext \
18074 conftest
$ac_exeext conftest.
$ac_ext
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18077 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18078 if test $gcc_cv_math_func_copysignf = yes; then
18080 cat >>confdefs.h
<<_ACEOF
18081 #define HAVE_COPYSIGNF 1
18089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18090 $as_echo_n "checking for copysign... " >&6; }
18091 if test "${gcc_cv_math_func_copysign+set}" = set; then :
18092 $as_echo_n "(cached) " >&6
18094 if test x
$gcc_no_link = xyes
; then
18095 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18098 /* end confdefs.h. */
18100 #ifdef HAVE_COMPLEX_H
18101 #include <complex.h>
18107 int (*ptr)() = (int (*)())copysign;
18116 if ac_fn_c_try_link
"$LINENO"; then :
18117 gcc_cv_math_func_copysign
=yes
18119 gcc_cv_math_func_copysign
=no
18121 rm -f core conftest.err conftest.
$ac_objext \
18122 conftest
$ac_exeext conftest.
$ac_ext
18124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18125 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18126 if test $gcc_cv_math_func_copysign = yes; then
18128 cat >>confdefs.h
<<_ACEOF
18129 #define HAVE_COPYSIGN 1
18137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18138 $as_echo_n "checking for copysignl... " >&6; }
18139 if test "${gcc_cv_math_func_copysignl+set}" = set; then :
18140 $as_echo_n "(cached) " >&6
18142 if test x
$gcc_no_link = xyes
; then
18143 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18146 /* end confdefs.h. */
18148 #ifdef HAVE_COMPLEX_H
18149 #include <complex.h>
18155 int (*ptr)() = (int (*)())copysignl;
18164 if ac_fn_c_try_link
"$LINENO"; then :
18165 gcc_cv_math_func_copysignl
=yes
18167 gcc_cv_math_func_copysignl
=no
18169 rm -f core conftest.err conftest.
$ac_objext \
18170 conftest
$ac_exeext conftest.
$ac_ext
18172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18173 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18174 if test $gcc_cv_math_func_copysignl = yes; then
18176 cat >>confdefs.h
<<_ACEOF
18177 #define HAVE_COPYSIGNL 1
18185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18186 $as_echo_n "checking for cosf... " >&6; }
18187 if test "${gcc_cv_math_func_cosf+set}" = set; then :
18188 $as_echo_n "(cached) " >&6
18190 if test x
$gcc_no_link = xyes
; then
18191 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18194 /* end confdefs.h. */
18196 #ifdef HAVE_COMPLEX_H
18197 #include <complex.h>
18203 int (*ptr)() = (int (*)())cosf;
18212 if ac_fn_c_try_link
"$LINENO"; then :
18213 gcc_cv_math_func_cosf
=yes
18215 gcc_cv_math_func_cosf
=no
18217 rm -f core conftest.err conftest.
$ac_objext \
18218 conftest
$ac_exeext conftest.
$ac_ext
18220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18221 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18222 if test $gcc_cv_math_func_cosf = yes; then
18224 cat >>confdefs.h
<<_ACEOF
18225 #define HAVE_COSF 1
18233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18234 $as_echo_n "checking for cos... " >&6; }
18235 if test "${gcc_cv_math_func_cos+set}" = set; then :
18236 $as_echo_n "(cached) " >&6
18238 if test x
$gcc_no_link = xyes
; then
18239 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18242 /* end confdefs.h. */
18244 #ifdef HAVE_COMPLEX_H
18245 #include <complex.h>
18251 int (*ptr)() = (int (*)())cos;
18260 if ac_fn_c_try_link
"$LINENO"; then :
18261 gcc_cv_math_func_cos
=yes
18263 gcc_cv_math_func_cos
=no
18265 rm -f core conftest.err conftest.
$ac_objext \
18266 conftest
$ac_exeext conftest.
$ac_ext
18268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18269 $as_echo "$gcc_cv_math_func_cos" >&6; }
18270 if test $gcc_cv_math_func_cos = yes; then
18272 cat >>confdefs.h
<<_ACEOF
18281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18282 $as_echo_n "checking for cosl... " >&6; }
18283 if test "${gcc_cv_math_func_cosl+set}" = set; then :
18284 $as_echo_n "(cached) " >&6
18286 if test x
$gcc_no_link = xyes
; then
18287 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18290 /* end confdefs.h. */
18292 #ifdef HAVE_COMPLEX_H
18293 #include <complex.h>
18299 int (*ptr)() = (int (*)())cosl;
18308 if ac_fn_c_try_link
"$LINENO"; then :
18309 gcc_cv_math_func_cosl
=yes
18311 gcc_cv_math_func_cosl
=no
18313 rm -f core conftest.err conftest.
$ac_objext \
18314 conftest
$ac_exeext conftest.
$ac_ext
18316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18317 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18318 if test $gcc_cv_math_func_cosl = yes; then
18320 cat >>confdefs.h
<<_ACEOF
18321 #define HAVE_COSL 1
18329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18330 $as_echo_n "checking for ccosf... " >&6; }
18331 if test "${gcc_cv_math_func_ccosf+set}" = set; then :
18332 $as_echo_n "(cached) " >&6
18334 if test x
$gcc_no_link = xyes
; then
18335 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18338 /* end confdefs.h. */
18340 #ifdef HAVE_COMPLEX_H
18341 #include <complex.h>
18347 int (*ptr)() = (int (*)())ccosf;
18356 if ac_fn_c_try_link
"$LINENO"; then :
18357 gcc_cv_math_func_ccosf
=yes
18359 gcc_cv_math_func_ccosf
=no
18361 rm -f core conftest.err conftest.
$ac_objext \
18362 conftest
$ac_exeext conftest.
$ac_ext
18364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18365 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18366 if test $gcc_cv_math_func_ccosf = yes; then
18368 cat >>confdefs.h
<<_ACEOF
18369 #define HAVE_CCOSF 1
18377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18378 $as_echo_n "checking for ccos... " >&6; }
18379 if test "${gcc_cv_math_func_ccos+set}" = set; then :
18380 $as_echo_n "(cached) " >&6
18382 if test x
$gcc_no_link = xyes
; then
18383 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18386 /* end confdefs.h. */
18388 #ifdef HAVE_COMPLEX_H
18389 #include <complex.h>
18395 int (*ptr)() = (int (*)())ccos;
18404 if ac_fn_c_try_link
"$LINENO"; then :
18405 gcc_cv_math_func_ccos
=yes
18407 gcc_cv_math_func_ccos
=no
18409 rm -f core conftest.err conftest.
$ac_objext \
18410 conftest
$ac_exeext conftest.
$ac_ext
18412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18413 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18414 if test $gcc_cv_math_func_ccos = yes; then
18416 cat >>confdefs.h
<<_ACEOF
18417 #define HAVE_CCOS 1
18425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18426 $as_echo_n "checking for ccosl... " >&6; }
18427 if test "${gcc_cv_math_func_ccosl+set}" = set; then :
18428 $as_echo_n "(cached) " >&6
18430 if test x
$gcc_no_link = xyes
; then
18431 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18434 /* end confdefs.h. */
18436 #ifdef HAVE_COMPLEX_H
18437 #include <complex.h>
18443 int (*ptr)() = (int (*)())ccosl;
18452 if ac_fn_c_try_link
"$LINENO"; then :
18453 gcc_cv_math_func_ccosl
=yes
18455 gcc_cv_math_func_ccosl
=no
18457 rm -f core conftest.err conftest.
$ac_objext \
18458 conftest
$ac_exeext conftest.
$ac_ext
18460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18461 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18462 if test $gcc_cv_math_func_ccosl = yes; then
18464 cat >>confdefs.h
<<_ACEOF
18465 #define HAVE_CCOSL 1
18473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18474 $as_echo_n "checking for coshf... " >&6; }
18475 if test "${gcc_cv_math_func_coshf+set}" = set; then :
18476 $as_echo_n "(cached) " >&6
18478 if test x
$gcc_no_link = xyes
; then
18479 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18482 /* end confdefs.h. */
18484 #ifdef HAVE_COMPLEX_H
18485 #include <complex.h>
18491 int (*ptr)() = (int (*)())coshf;
18500 if ac_fn_c_try_link
"$LINENO"; then :
18501 gcc_cv_math_func_coshf
=yes
18503 gcc_cv_math_func_coshf
=no
18505 rm -f core conftest.err conftest.
$ac_objext \
18506 conftest
$ac_exeext conftest.
$ac_ext
18508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18509 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18510 if test $gcc_cv_math_func_coshf = yes; then
18512 cat >>confdefs.h
<<_ACEOF
18513 #define HAVE_COSHF 1
18521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18522 $as_echo_n "checking for cosh... " >&6; }
18523 if test "${gcc_cv_math_func_cosh+set}" = set; then :
18524 $as_echo_n "(cached) " >&6
18526 if test x
$gcc_no_link = xyes
; then
18527 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18530 /* end confdefs.h. */
18532 #ifdef HAVE_COMPLEX_H
18533 #include <complex.h>
18539 int (*ptr)() = (int (*)())cosh;
18548 if ac_fn_c_try_link
"$LINENO"; then :
18549 gcc_cv_math_func_cosh
=yes
18551 gcc_cv_math_func_cosh
=no
18553 rm -f core conftest.err conftest.
$ac_objext \
18554 conftest
$ac_exeext conftest.
$ac_ext
18556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18557 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18558 if test $gcc_cv_math_func_cosh = yes; then
18560 cat >>confdefs.h
<<_ACEOF
18561 #define HAVE_COSH 1
18569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18570 $as_echo_n "checking for coshl... " >&6; }
18571 if test "${gcc_cv_math_func_coshl+set}" = set; then :
18572 $as_echo_n "(cached) " >&6
18574 if test x
$gcc_no_link = xyes
; then
18575 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18578 /* end confdefs.h. */
18580 #ifdef HAVE_COMPLEX_H
18581 #include <complex.h>
18587 int (*ptr)() = (int (*)())coshl;
18596 if ac_fn_c_try_link
"$LINENO"; then :
18597 gcc_cv_math_func_coshl
=yes
18599 gcc_cv_math_func_coshl
=no
18601 rm -f core conftest.err conftest.
$ac_objext \
18602 conftest
$ac_exeext conftest.
$ac_ext
18604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18605 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18606 if test $gcc_cv_math_func_coshl = yes; then
18608 cat >>confdefs.h
<<_ACEOF
18609 #define HAVE_COSHL 1
18617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18618 $as_echo_n "checking for ccoshf... " >&6; }
18619 if test "${gcc_cv_math_func_ccoshf+set}" = set; then :
18620 $as_echo_n "(cached) " >&6
18622 if test x
$gcc_no_link = xyes
; then
18623 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18626 /* end confdefs.h. */
18628 #ifdef HAVE_COMPLEX_H
18629 #include <complex.h>
18635 int (*ptr)() = (int (*)())ccoshf;
18644 if ac_fn_c_try_link
"$LINENO"; then :
18645 gcc_cv_math_func_ccoshf
=yes
18647 gcc_cv_math_func_ccoshf
=no
18649 rm -f core conftest.err conftest.
$ac_objext \
18650 conftest
$ac_exeext conftest.
$ac_ext
18652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18653 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
18654 if test $gcc_cv_math_func_ccoshf = yes; then
18656 cat >>confdefs.h
<<_ACEOF
18657 #define HAVE_CCOSHF 1
18665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
18666 $as_echo_n "checking for ccosh... " >&6; }
18667 if test "${gcc_cv_math_func_ccosh+set}" = set; then :
18668 $as_echo_n "(cached) " >&6
18670 if test x
$gcc_no_link = xyes
; then
18671 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18674 /* end confdefs.h. */
18676 #ifdef HAVE_COMPLEX_H
18677 #include <complex.h>
18683 int (*ptr)() = (int (*)())ccosh;
18692 if ac_fn_c_try_link
"$LINENO"; then :
18693 gcc_cv_math_func_ccosh
=yes
18695 gcc_cv_math_func_ccosh
=no
18697 rm -f core conftest.err conftest.
$ac_objext \
18698 conftest
$ac_exeext conftest.
$ac_ext
18700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
18701 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
18702 if test $gcc_cv_math_func_ccosh = yes; then
18704 cat >>confdefs.h
<<_ACEOF
18705 #define HAVE_CCOSH 1
18713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
18714 $as_echo_n "checking for ccoshl... " >&6; }
18715 if test "${gcc_cv_math_func_ccoshl+set}" = set; then :
18716 $as_echo_n "(cached) " >&6
18718 if test x
$gcc_no_link = xyes
; then
18719 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18722 /* end confdefs.h. */
18724 #ifdef HAVE_COMPLEX_H
18725 #include <complex.h>
18731 int (*ptr)() = (int (*)())ccoshl;
18740 if ac_fn_c_try_link
"$LINENO"; then :
18741 gcc_cv_math_func_ccoshl
=yes
18743 gcc_cv_math_func_ccoshl
=no
18745 rm -f core conftest.err conftest.
$ac_objext \
18746 conftest
$ac_exeext conftest.
$ac_ext
18748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
18749 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
18750 if test $gcc_cv_math_func_ccoshl = yes; then
18752 cat >>confdefs.h
<<_ACEOF
18753 #define HAVE_CCOSHL 1
18761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
18762 $as_echo_n "checking for expf... " >&6; }
18763 if test "${gcc_cv_math_func_expf+set}" = set; then :
18764 $as_echo_n "(cached) " >&6
18766 if test x
$gcc_no_link = xyes
; then
18767 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18770 /* end confdefs.h. */
18772 #ifdef HAVE_COMPLEX_H
18773 #include <complex.h>
18779 int (*ptr)() = (int (*)())expf;
18788 if ac_fn_c_try_link
"$LINENO"; then :
18789 gcc_cv_math_func_expf
=yes
18791 gcc_cv_math_func_expf
=no
18793 rm -f core conftest.err conftest.
$ac_objext \
18794 conftest
$ac_exeext conftest.
$ac_ext
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
18797 $as_echo "$gcc_cv_math_func_expf" >&6; }
18798 if test $gcc_cv_math_func_expf = yes; then
18800 cat >>confdefs.h
<<_ACEOF
18801 #define HAVE_EXPF 1
18809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
18810 $as_echo_n "checking for exp... " >&6; }
18811 if test "${gcc_cv_math_func_exp+set}" = set; then :
18812 $as_echo_n "(cached) " >&6
18814 if test x
$gcc_no_link = xyes
; then
18815 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18818 /* end confdefs.h. */
18820 #ifdef HAVE_COMPLEX_H
18821 #include <complex.h>
18827 int (*ptr)() = (int (*)())exp;
18836 if ac_fn_c_try_link
"$LINENO"; then :
18837 gcc_cv_math_func_exp
=yes
18839 gcc_cv_math_func_exp
=no
18841 rm -f core conftest.err conftest.
$ac_objext \
18842 conftest
$ac_exeext conftest.
$ac_ext
18844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
18845 $as_echo "$gcc_cv_math_func_exp" >&6; }
18846 if test $gcc_cv_math_func_exp = yes; then
18848 cat >>confdefs.h
<<_ACEOF
18857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
18858 $as_echo_n "checking for expl... " >&6; }
18859 if test "${gcc_cv_math_func_expl+set}" = set; then :
18860 $as_echo_n "(cached) " >&6
18862 if test x
$gcc_no_link = xyes
; then
18863 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18866 /* end confdefs.h. */
18868 #ifdef HAVE_COMPLEX_H
18869 #include <complex.h>
18875 int (*ptr)() = (int (*)())expl;
18884 if ac_fn_c_try_link
"$LINENO"; then :
18885 gcc_cv_math_func_expl
=yes
18887 gcc_cv_math_func_expl
=no
18889 rm -f core conftest.err conftest.
$ac_objext \
18890 conftest
$ac_exeext conftest.
$ac_ext
18892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
18893 $as_echo "$gcc_cv_math_func_expl" >&6; }
18894 if test $gcc_cv_math_func_expl = yes; then
18896 cat >>confdefs.h
<<_ACEOF
18897 #define HAVE_EXPL 1
18905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
18906 $as_echo_n "checking for cexpf... " >&6; }
18907 if test "${gcc_cv_math_func_cexpf+set}" = set; then :
18908 $as_echo_n "(cached) " >&6
18910 if test x
$gcc_no_link = xyes
; then
18911 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18914 /* end confdefs.h. */
18916 #ifdef HAVE_COMPLEX_H
18917 #include <complex.h>
18923 int (*ptr)() = (int (*)())cexpf;
18932 if ac_fn_c_try_link
"$LINENO"; then :
18933 gcc_cv_math_func_cexpf
=yes
18935 gcc_cv_math_func_cexpf
=no
18937 rm -f core conftest.err conftest.
$ac_objext \
18938 conftest
$ac_exeext conftest.
$ac_ext
18940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
18941 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
18942 if test $gcc_cv_math_func_cexpf = yes; then
18944 cat >>confdefs.h
<<_ACEOF
18945 #define HAVE_CEXPF 1
18953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
18954 $as_echo_n "checking for cexp... " >&6; }
18955 if test "${gcc_cv_math_func_cexp+set}" = set; then :
18956 $as_echo_n "(cached) " >&6
18958 if test x
$gcc_no_link = xyes
; then
18959 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18962 /* end confdefs.h. */
18964 #ifdef HAVE_COMPLEX_H
18965 #include <complex.h>
18971 int (*ptr)() = (int (*)())cexp;
18980 if ac_fn_c_try_link
"$LINENO"; then :
18981 gcc_cv_math_func_cexp
=yes
18983 gcc_cv_math_func_cexp
=no
18985 rm -f core conftest.err conftest.
$ac_objext \
18986 conftest
$ac_exeext conftest.
$ac_ext
18988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
18989 $as_echo "$gcc_cv_math_func_cexp" >&6; }
18990 if test $gcc_cv_math_func_cexp = yes; then
18992 cat >>confdefs.h
<<_ACEOF
18993 #define HAVE_CEXP 1
19001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19002 $as_echo_n "checking for cexpl... " >&6; }
19003 if test "${gcc_cv_math_func_cexpl+set}" = set; then :
19004 $as_echo_n "(cached) " >&6
19006 if test x
$gcc_no_link = xyes
; then
19007 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19010 /* end confdefs.h. */
19012 #ifdef HAVE_COMPLEX_H
19013 #include <complex.h>
19019 int (*ptr)() = (int (*)())cexpl;
19028 if ac_fn_c_try_link
"$LINENO"; then :
19029 gcc_cv_math_func_cexpl
=yes
19031 gcc_cv_math_func_cexpl
=no
19033 rm -f core conftest.err conftest.
$ac_objext \
19034 conftest
$ac_exeext conftest.
$ac_ext
19036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19037 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19038 if test $gcc_cv_math_func_cexpl = yes; then
19040 cat >>confdefs.h
<<_ACEOF
19041 #define HAVE_CEXPL 1
19049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19050 $as_echo_n "checking for fabsf... " >&6; }
19051 if test "${gcc_cv_math_func_fabsf+set}" = set; then :
19052 $as_echo_n "(cached) " >&6
19054 if test x
$gcc_no_link = xyes
; then
19055 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19058 /* end confdefs.h. */
19060 #ifdef HAVE_COMPLEX_H
19061 #include <complex.h>
19067 int (*ptr)() = (int (*)())fabsf;
19076 if ac_fn_c_try_link
"$LINENO"; then :
19077 gcc_cv_math_func_fabsf
=yes
19079 gcc_cv_math_func_fabsf
=no
19081 rm -f core conftest.err conftest.
$ac_objext \
19082 conftest
$ac_exeext conftest.
$ac_ext
19084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19085 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19086 if test $gcc_cv_math_func_fabsf = yes; then
19088 cat >>confdefs.h
<<_ACEOF
19089 #define HAVE_FABSF 1
19097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19098 $as_echo_n "checking for fabs... " >&6; }
19099 if test "${gcc_cv_math_func_fabs+set}" = set; then :
19100 $as_echo_n "(cached) " >&6
19102 if test x
$gcc_no_link = xyes
; then
19103 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19106 /* end confdefs.h. */
19108 #ifdef HAVE_COMPLEX_H
19109 #include <complex.h>
19115 int (*ptr)() = (int (*)())fabs;
19124 if ac_fn_c_try_link
"$LINENO"; then :
19125 gcc_cv_math_func_fabs
=yes
19127 gcc_cv_math_func_fabs
=no
19129 rm -f core conftest.err conftest.
$ac_objext \
19130 conftest
$ac_exeext conftest.
$ac_ext
19132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19133 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19134 if test $gcc_cv_math_func_fabs = yes; then
19136 cat >>confdefs.h
<<_ACEOF
19137 #define HAVE_FABS 1
19145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19146 $as_echo_n "checking for fabsl... " >&6; }
19147 if test "${gcc_cv_math_func_fabsl+set}" = set; then :
19148 $as_echo_n "(cached) " >&6
19150 if test x
$gcc_no_link = xyes
; then
19151 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19154 /* end confdefs.h. */
19156 #ifdef HAVE_COMPLEX_H
19157 #include <complex.h>
19163 int (*ptr)() = (int (*)())fabsl;
19172 if ac_fn_c_try_link
"$LINENO"; then :
19173 gcc_cv_math_func_fabsl
=yes
19175 gcc_cv_math_func_fabsl
=no
19177 rm -f core conftest.err conftest.
$ac_objext \
19178 conftest
$ac_exeext conftest.
$ac_ext
19180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19181 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19182 if test $gcc_cv_math_func_fabsl = yes; then
19184 cat >>confdefs.h
<<_ACEOF
19185 #define HAVE_FABSL 1
19193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19194 $as_echo_n "checking for cabsf... " >&6; }
19195 if test "${gcc_cv_math_func_cabsf+set}" = set; then :
19196 $as_echo_n "(cached) " >&6
19198 if test x
$gcc_no_link = xyes
; then
19199 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19202 /* end confdefs.h. */
19204 #ifdef HAVE_COMPLEX_H
19205 #include <complex.h>
19211 int (*ptr)() = (int (*)())cabsf;
19220 if ac_fn_c_try_link
"$LINENO"; then :
19221 gcc_cv_math_func_cabsf
=yes
19223 gcc_cv_math_func_cabsf
=no
19225 rm -f core conftest.err conftest.
$ac_objext \
19226 conftest
$ac_exeext conftest.
$ac_ext
19228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19229 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19230 if test $gcc_cv_math_func_cabsf = yes; then
19232 cat >>confdefs.h
<<_ACEOF
19233 #define HAVE_CABSF 1
19241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19242 $as_echo_n "checking for cabs... " >&6; }
19243 if test "${gcc_cv_math_func_cabs+set}" = set; then :
19244 $as_echo_n "(cached) " >&6
19246 if test x
$gcc_no_link = xyes
; then
19247 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19250 /* end confdefs.h. */
19252 #ifdef HAVE_COMPLEX_H
19253 #include <complex.h>
19259 int (*ptr)() = (int (*)())cabs;
19268 if ac_fn_c_try_link
"$LINENO"; then :
19269 gcc_cv_math_func_cabs
=yes
19271 gcc_cv_math_func_cabs
=no
19273 rm -f core conftest.err conftest.
$ac_objext \
19274 conftest
$ac_exeext conftest.
$ac_ext
19276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19277 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19278 if test $gcc_cv_math_func_cabs = yes; then
19280 cat >>confdefs.h
<<_ACEOF
19281 #define HAVE_CABS 1
19289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19290 $as_echo_n "checking for cabsl... " >&6; }
19291 if test "${gcc_cv_math_func_cabsl+set}" = set; then :
19292 $as_echo_n "(cached) " >&6
19294 if test x
$gcc_no_link = xyes
; then
19295 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19298 /* end confdefs.h. */
19300 #ifdef HAVE_COMPLEX_H
19301 #include <complex.h>
19307 int (*ptr)() = (int (*)())cabsl;
19316 if ac_fn_c_try_link
"$LINENO"; then :
19317 gcc_cv_math_func_cabsl
=yes
19319 gcc_cv_math_func_cabsl
=no
19321 rm -f core conftest.err conftest.
$ac_objext \
19322 conftest
$ac_exeext conftest.
$ac_ext
19324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19325 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19326 if test $gcc_cv_math_func_cabsl = yes; then
19328 cat >>confdefs.h
<<_ACEOF
19329 #define HAVE_CABSL 1
19337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19338 $as_echo_n "checking for floorf... " >&6; }
19339 if test "${gcc_cv_math_func_floorf+set}" = set; then :
19340 $as_echo_n "(cached) " >&6
19342 if test x
$gcc_no_link = xyes
; then
19343 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19346 /* end confdefs.h. */
19348 #ifdef HAVE_COMPLEX_H
19349 #include <complex.h>
19355 int (*ptr)() = (int (*)())floorf;
19364 if ac_fn_c_try_link
"$LINENO"; then :
19365 gcc_cv_math_func_floorf
=yes
19367 gcc_cv_math_func_floorf
=no
19369 rm -f core conftest.err conftest.
$ac_objext \
19370 conftest
$ac_exeext conftest.
$ac_ext
19372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19373 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19374 if test $gcc_cv_math_func_floorf = yes; then
19376 cat >>confdefs.h
<<_ACEOF
19377 #define HAVE_FLOORF 1
19385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19386 $as_echo_n "checking for floor... " >&6; }
19387 if test "${gcc_cv_math_func_floor+set}" = set; then :
19388 $as_echo_n "(cached) " >&6
19390 if test x
$gcc_no_link = xyes
; then
19391 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19394 /* end confdefs.h. */
19396 #ifdef HAVE_COMPLEX_H
19397 #include <complex.h>
19403 int (*ptr)() = (int (*)())floor;
19412 if ac_fn_c_try_link
"$LINENO"; then :
19413 gcc_cv_math_func_floor
=yes
19415 gcc_cv_math_func_floor
=no
19417 rm -f core conftest.err conftest.
$ac_objext \
19418 conftest
$ac_exeext conftest.
$ac_ext
19420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19421 $as_echo "$gcc_cv_math_func_floor" >&6; }
19422 if test $gcc_cv_math_func_floor = yes; then
19424 cat >>confdefs.h
<<_ACEOF
19425 #define HAVE_FLOOR 1
19433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19434 $as_echo_n "checking for floorl... " >&6; }
19435 if test "${gcc_cv_math_func_floorl+set}" = set; then :
19436 $as_echo_n "(cached) " >&6
19438 if test x
$gcc_no_link = xyes
; then
19439 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19442 /* end confdefs.h. */
19444 #ifdef HAVE_COMPLEX_H
19445 #include <complex.h>
19451 int (*ptr)() = (int (*)())floorl;
19460 if ac_fn_c_try_link
"$LINENO"; then :
19461 gcc_cv_math_func_floorl
=yes
19463 gcc_cv_math_func_floorl
=no
19465 rm -f core conftest.err conftest.
$ac_objext \
19466 conftest
$ac_exeext conftest.
$ac_ext
19468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19469 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19470 if test $gcc_cv_math_func_floorl = yes; then
19472 cat >>confdefs.h
<<_ACEOF
19473 #define HAVE_FLOORL 1
19481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19482 $as_echo_n "checking for fmodf... " >&6; }
19483 if test "${gcc_cv_math_func_fmodf+set}" = set; then :
19484 $as_echo_n "(cached) " >&6
19486 if test x
$gcc_no_link = xyes
; then
19487 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19490 /* end confdefs.h. */
19492 #ifdef HAVE_COMPLEX_H
19493 #include <complex.h>
19499 int (*ptr)() = (int (*)())fmodf;
19508 if ac_fn_c_try_link
"$LINENO"; then :
19509 gcc_cv_math_func_fmodf
=yes
19511 gcc_cv_math_func_fmodf
=no
19513 rm -f core conftest.err conftest.
$ac_objext \
19514 conftest
$ac_exeext conftest.
$ac_ext
19516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19517 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
19518 if test $gcc_cv_math_func_fmodf = yes; then
19520 cat >>confdefs.h
<<_ACEOF
19521 #define HAVE_FMODF 1
19529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19530 $as_echo_n "checking for fmod... " >&6; }
19531 if test "${gcc_cv_math_func_fmod+set}" = set; then :
19532 $as_echo_n "(cached) " >&6
19534 if test x
$gcc_no_link = xyes
; then
19535 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19538 /* end confdefs.h. */
19540 #ifdef HAVE_COMPLEX_H
19541 #include <complex.h>
19547 int (*ptr)() = (int (*)())fmod;
19556 if ac_fn_c_try_link
"$LINENO"; then :
19557 gcc_cv_math_func_fmod
=yes
19559 gcc_cv_math_func_fmod
=no
19561 rm -f core conftest.err conftest.
$ac_objext \
19562 conftest
$ac_exeext conftest.
$ac_ext
19564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19565 $as_echo "$gcc_cv_math_func_fmod" >&6; }
19566 if test $gcc_cv_math_func_fmod = yes; then
19568 cat >>confdefs.h
<<_ACEOF
19569 #define HAVE_FMOD 1
19577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19578 $as_echo_n "checking for fmodl... " >&6; }
19579 if test "${gcc_cv_math_func_fmodl+set}" = set; then :
19580 $as_echo_n "(cached) " >&6
19582 if test x
$gcc_no_link = xyes
; then
19583 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19586 /* end confdefs.h. */
19588 #ifdef HAVE_COMPLEX_H
19589 #include <complex.h>
19595 int (*ptr)() = (int (*)())fmodl;
19604 if ac_fn_c_try_link
"$LINENO"; then :
19605 gcc_cv_math_func_fmodl
=yes
19607 gcc_cv_math_func_fmodl
=no
19609 rm -f core conftest.err conftest.
$ac_objext \
19610 conftest
$ac_exeext conftest.
$ac_ext
19612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19613 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
19614 if test $gcc_cv_math_func_fmodl = yes; then
19616 cat >>confdefs.h
<<_ACEOF
19617 #define HAVE_FMODL 1
19625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19626 $as_echo_n "checking for frexpf... " >&6; }
19627 if test "${gcc_cv_math_func_frexpf+set}" = set; then :
19628 $as_echo_n "(cached) " >&6
19630 if test x
$gcc_no_link = xyes
; then
19631 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19634 /* end confdefs.h. */
19636 #ifdef HAVE_COMPLEX_H
19637 #include <complex.h>
19643 int (*ptr)() = (int (*)())frexpf;
19652 if ac_fn_c_try_link
"$LINENO"; then :
19653 gcc_cv_math_func_frexpf
=yes
19655 gcc_cv_math_func_frexpf
=no
19657 rm -f core conftest.err conftest.
$ac_objext \
19658 conftest
$ac_exeext conftest.
$ac_ext
19660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
19661 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
19662 if test $gcc_cv_math_func_frexpf = yes; then
19664 cat >>confdefs.h
<<_ACEOF
19665 #define HAVE_FREXPF 1
19673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
19674 $as_echo_n "checking for frexp... " >&6; }
19675 if test "${gcc_cv_math_func_frexp+set}" = set; then :
19676 $as_echo_n "(cached) " >&6
19678 if test x
$gcc_no_link = xyes
; then
19679 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19682 /* end confdefs.h. */
19684 #ifdef HAVE_COMPLEX_H
19685 #include <complex.h>
19691 int (*ptr)() = (int (*)())frexp;
19700 if ac_fn_c_try_link
"$LINENO"; then :
19701 gcc_cv_math_func_frexp
=yes
19703 gcc_cv_math_func_frexp
=no
19705 rm -f core conftest.err conftest.
$ac_objext \
19706 conftest
$ac_exeext conftest.
$ac_ext
19708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
19709 $as_echo "$gcc_cv_math_func_frexp" >&6; }
19710 if test $gcc_cv_math_func_frexp = yes; then
19712 cat >>confdefs.h
<<_ACEOF
19713 #define HAVE_FREXP 1
19721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
19722 $as_echo_n "checking for frexpl... " >&6; }
19723 if test "${gcc_cv_math_func_frexpl+set}" = set; then :
19724 $as_echo_n "(cached) " >&6
19726 if test x
$gcc_no_link = xyes
; then
19727 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19730 /* end confdefs.h. */
19732 #ifdef HAVE_COMPLEX_H
19733 #include <complex.h>
19739 int (*ptr)() = (int (*)())frexpl;
19748 if ac_fn_c_try_link
"$LINENO"; then :
19749 gcc_cv_math_func_frexpl
=yes
19751 gcc_cv_math_func_frexpl
=no
19753 rm -f core conftest.err conftest.
$ac_objext \
19754 conftest
$ac_exeext conftest.
$ac_ext
19756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
19757 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
19758 if test $gcc_cv_math_func_frexpl = yes; then
19760 cat >>confdefs.h
<<_ACEOF
19761 #define HAVE_FREXPL 1
19769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
19770 $as_echo_n "checking for hypotf... " >&6; }
19771 if test "${gcc_cv_math_func_hypotf+set}" = set; then :
19772 $as_echo_n "(cached) " >&6
19774 if test x
$gcc_no_link = xyes
; then
19775 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19778 /* end confdefs.h. */
19780 #ifdef HAVE_COMPLEX_H
19781 #include <complex.h>
19787 int (*ptr)() = (int (*)())hypotf;
19796 if ac_fn_c_try_link
"$LINENO"; then :
19797 gcc_cv_math_func_hypotf
=yes
19799 gcc_cv_math_func_hypotf
=no
19801 rm -f core conftest.err conftest.
$ac_objext \
19802 conftest
$ac_exeext conftest.
$ac_ext
19804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
19805 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
19806 if test $gcc_cv_math_func_hypotf = yes; then
19808 cat >>confdefs.h
<<_ACEOF
19809 #define HAVE_HYPOTF 1
19817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
19818 $as_echo_n "checking for hypot... " >&6; }
19819 if test "${gcc_cv_math_func_hypot+set}" = set; then :
19820 $as_echo_n "(cached) " >&6
19822 if test x
$gcc_no_link = xyes
; then
19823 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19826 /* end confdefs.h. */
19828 #ifdef HAVE_COMPLEX_H
19829 #include <complex.h>
19835 int (*ptr)() = (int (*)())hypot;
19844 if ac_fn_c_try_link
"$LINENO"; then :
19845 gcc_cv_math_func_hypot
=yes
19847 gcc_cv_math_func_hypot
=no
19849 rm -f core conftest.err conftest.
$ac_objext \
19850 conftest
$ac_exeext conftest.
$ac_ext
19852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
19853 $as_echo "$gcc_cv_math_func_hypot" >&6; }
19854 if test $gcc_cv_math_func_hypot = yes; then
19856 cat >>confdefs.h
<<_ACEOF
19857 #define HAVE_HYPOT 1
19865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
19866 $as_echo_n "checking for hypotl... " >&6; }
19867 if test "${gcc_cv_math_func_hypotl+set}" = set; then :
19868 $as_echo_n "(cached) " >&6
19870 if test x
$gcc_no_link = xyes
; then
19871 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19874 /* end confdefs.h. */
19876 #ifdef HAVE_COMPLEX_H
19877 #include <complex.h>
19883 int (*ptr)() = (int (*)())hypotl;
19892 if ac_fn_c_try_link
"$LINENO"; then :
19893 gcc_cv_math_func_hypotl
=yes
19895 gcc_cv_math_func_hypotl
=no
19897 rm -f core conftest.err conftest.
$ac_objext \
19898 conftest
$ac_exeext conftest.
$ac_ext
19900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
19901 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
19902 if test $gcc_cv_math_func_hypotl = yes; then
19904 cat >>confdefs.h
<<_ACEOF
19905 #define HAVE_HYPOTL 1
19913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
19914 $as_echo_n "checking for ldexpf... " >&6; }
19915 if test "${gcc_cv_math_func_ldexpf+set}" = set; then :
19916 $as_echo_n "(cached) " >&6
19918 if test x
$gcc_no_link = xyes
; then
19919 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19922 /* end confdefs.h. */
19924 #ifdef HAVE_COMPLEX_H
19925 #include <complex.h>
19931 int (*ptr)() = (int (*)())ldexpf;
19940 if ac_fn_c_try_link
"$LINENO"; then :
19941 gcc_cv_math_func_ldexpf
=yes
19943 gcc_cv_math_func_ldexpf
=no
19945 rm -f core conftest.err conftest.
$ac_objext \
19946 conftest
$ac_exeext conftest.
$ac_ext
19948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
19949 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
19950 if test $gcc_cv_math_func_ldexpf = yes; then
19952 cat >>confdefs.h
<<_ACEOF
19953 #define HAVE_LDEXPF 1
19961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
19962 $as_echo_n "checking for ldexp... " >&6; }
19963 if test "${gcc_cv_math_func_ldexp+set}" = set; then :
19964 $as_echo_n "(cached) " >&6
19966 if test x
$gcc_no_link = xyes
; then
19967 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19970 /* end confdefs.h. */
19972 #ifdef HAVE_COMPLEX_H
19973 #include <complex.h>
19979 int (*ptr)() = (int (*)())ldexp;
19988 if ac_fn_c_try_link
"$LINENO"; then :
19989 gcc_cv_math_func_ldexp
=yes
19991 gcc_cv_math_func_ldexp
=no
19993 rm -f core conftest.err conftest.
$ac_objext \
19994 conftest
$ac_exeext conftest.
$ac_ext
19996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
19997 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
19998 if test $gcc_cv_math_func_ldexp = yes; then
20000 cat >>confdefs.h
<<_ACEOF
20001 #define HAVE_LDEXP 1
20009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20010 $as_echo_n "checking for ldexpl... " >&6; }
20011 if test "${gcc_cv_math_func_ldexpl+set}" = set; then :
20012 $as_echo_n "(cached) " >&6
20014 if test x
$gcc_no_link = xyes
; then
20015 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20018 /* end confdefs.h. */
20020 #ifdef HAVE_COMPLEX_H
20021 #include <complex.h>
20027 int (*ptr)() = (int (*)())ldexpl;
20036 if ac_fn_c_try_link
"$LINENO"; then :
20037 gcc_cv_math_func_ldexpl
=yes
20039 gcc_cv_math_func_ldexpl
=no
20041 rm -f core conftest.err conftest.
$ac_objext \
20042 conftest
$ac_exeext conftest.
$ac_ext
20044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20045 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20046 if test $gcc_cv_math_func_ldexpl = yes; then
20048 cat >>confdefs.h
<<_ACEOF
20049 #define HAVE_LDEXPL 1
20057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20058 $as_echo_n "checking for logf... " >&6; }
20059 if test "${gcc_cv_math_func_logf+set}" = set; then :
20060 $as_echo_n "(cached) " >&6
20062 if test x
$gcc_no_link = xyes
; then
20063 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20066 /* end confdefs.h. */
20068 #ifdef HAVE_COMPLEX_H
20069 #include <complex.h>
20075 int (*ptr)() = (int (*)())logf;
20084 if ac_fn_c_try_link
"$LINENO"; then :
20085 gcc_cv_math_func_logf
=yes
20087 gcc_cv_math_func_logf
=no
20089 rm -f core conftest.err conftest.
$ac_objext \
20090 conftest
$ac_exeext conftest.
$ac_ext
20092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20093 $as_echo "$gcc_cv_math_func_logf" >&6; }
20094 if test $gcc_cv_math_func_logf = yes; then
20096 cat >>confdefs.h
<<_ACEOF
20097 #define HAVE_LOGF 1
20105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20106 $as_echo_n "checking for log... " >&6; }
20107 if test "${gcc_cv_math_func_log+set}" = set; then :
20108 $as_echo_n "(cached) " >&6
20110 if test x
$gcc_no_link = xyes
; then
20111 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20114 /* end confdefs.h. */
20116 #ifdef HAVE_COMPLEX_H
20117 #include <complex.h>
20123 int (*ptr)() = (int (*)())log;
20132 if ac_fn_c_try_link
"$LINENO"; then :
20133 gcc_cv_math_func_log
=yes
20135 gcc_cv_math_func_log
=no
20137 rm -f core conftest.err conftest.
$ac_objext \
20138 conftest
$ac_exeext conftest.
$ac_ext
20140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20141 $as_echo "$gcc_cv_math_func_log" >&6; }
20142 if test $gcc_cv_math_func_log = yes; then
20144 cat >>confdefs.h
<<_ACEOF
20153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20154 $as_echo_n "checking for logl... " >&6; }
20155 if test "${gcc_cv_math_func_logl+set}" = set; then :
20156 $as_echo_n "(cached) " >&6
20158 if test x
$gcc_no_link = xyes
; then
20159 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20162 /* end confdefs.h. */
20164 #ifdef HAVE_COMPLEX_H
20165 #include <complex.h>
20171 int (*ptr)() = (int (*)())logl;
20180 if ac_fn_c_try_link
"$LINENO"; then :
20181 gcc_cv_math_func_logl
=yes
20183 gcc_cv_math_func_logl
=no
20185 rm -f core conftest.err conftest.
$ac_objext \
20186 conftest
$ac_exeext conftest.
$ac_ext
20188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20189 $as_echo "$gcc_cv_math_func_logl" >&6; }
20190 if test $gcc_cv_math_func_logl = yes; then
20192 cat >>confdefs.h
<<_ACEOF
20193 #define HAVE_LOGL 1
20201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20202 $as_echo_n "checking for clogf... " >&6; }
20203 if test "${gcc_cv_math_func_clogf+set}" = set; then :
20204 $as_echo_n "(cached) " >&6
20206 if test x
$gcc_no_link = xyes
; then
20207 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20210 /* end confdefs.h. */
20212 #ifdef HAVE_COMPLEX_H
20213 #include <complex.h>
20219 int (*ptr)() = (int (*)())clogf;
20228 if ac_fn_c_try_link
"$LINENO"; then :
20229 gcc_cv_math_func_clogf
=yes
20231 gcc_cv_math_func_clogf
=no
20233 rm -f core conftest.err conftest.
$ac_objext \
20234 conftest
$ac_exeext conftest.
$ac_ext
20236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20237 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20238 if test $gcc_cv_math_func_clogf = yes; then
20240 cat >>confdefs.h
<<_ACEOF
20241 #define HAVE_CLOGF 1
20249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20250 $as_echo_n "checking for clog... " >&6; }
20251 if test "${gcc_cv_math_func_clog+set}" = set; then :
20252 $as_echo_n "(cached) " >&6
20254 if test x
$gcc_no_link = xyes
; then
20255 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20258 /* end confdefs.h. */
20260 #ifdef HAVE_COMPLEX_H
20261 #include <complex.h>
20267 int (*ptr)() = (int (*)())clog;
20276 if ac_fn_c_try_link
"$LINENO"; then :
20277 gcc_cv_math_func_clog
=yes
20279 gcc_cv_math_func_clog
=no
20281 rm -f core conftest.err conftest.
$ac_objext \
20282 conftest
$ac_exeext conftest.
$ac_ext
20284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20285 $as_echo "$gcc_cv_math_func_clog" >&6; }
20286 if test $gcc_cv_math_func_clog = yes; then
20288 cat >>confdefs.h
<<_ACEOF
20289 #define HAVE_CLOG 1
20297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20298 $as_echo_n "checking for clogl... " >&6; }
20299 if test "${gcc_cv_math_func_clogl+set}" = set; then :
20300 $as_echo_n "(cached) " >&6
20302 if test x
$gcc_no_link = xyes
; then
20303 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20306 /* end confdefs.h. */
20308 #ifdef HAVE_COMPLEX_H
20309 #include <complex.h>
20315 int (*ptr)() = (int (*)())clogl;
20324 if ac_fn_c_try_link
"$LINENO"; then :
20325 gcc_cv_math_func_clogl
=yes
20327 gcc_cv_math_func_clogl
=no
20329 rm -f core conftest.err conftest.
$ac_objext \
20330 conftest
$ac_exeext conftest.
$ac_ext
20332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20333 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20334 if test $gcc_cv_math_func_clogl = yes; then
20336 cat >>confdefs.h
<<_ACEOF
20337 #define HAVE_CLOGL 1
20345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20346 $as_echo_n "checking for log10f... " >&6; }
20347 if test "${gcc_cv_math_func_log10f+set}" = set; then :
20348 $as_echo_n "(cached) " >&6
20350 if test x
$gcc_no_link = xyes
; then
20351 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20354 /* end confdefs.h. */
20356 #ifdef HAVE_COMPLEX_H
20357 #include <complex.h>
20363 int (*ptr)() = (int (*)())log10f;
20372 if ac_fn_c_try_link
"$LINENO"; then :
20373 gcc_cv_math_func_log10f
=yes
20375 gcc_cv_math_func_log10f
=no
20377 rm -f core conftest.err conftest.
$ac_objext \
20378 conftest
$ac_exeext conftest.
$ac_ext
20380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20381 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20382 if test $gcc_cv_math_func_log10f = yes; then
20384 cat >>confdefs.h
<<_ACEOF
20385 #define HAVE_LOG10F 1
20393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20394 $as_echo_n "checking for log10... " >&6; }
20395 if test "${gcc_cv_math_func_log10+set}" = set; then :
20396 $as_echo_n "(cached) " >&6
20398 if test x
$gcc_no_link = xyes
; then
20399 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20402 /* end confdefs.h. */
20404 #ifdef HAVE_COMPLEX_H
20405 #include <complex.h>
20411 int (*ptr)() = (int (*)())log10;
20420 if ac_fn_c_try_link
"$LINENO"; then :
20421 gcc_cv_math_func_log10
=yes
20423 gcc_cv_math_func_log10
=no
20425 rm -f core conftest.err conftest.
$ac_objext \
20426 conftest
$ac_exeext conftest.
$ac_ext
20428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20429 $as_echo "$gcc_cv_math_func_log10" >&6; }
20430 if test $gcc_cv_math_func_log10 = yes; then
20432 cat >>confdefs.h
<<_ACEOF
20433 #define HAVE_LOG10 1
20441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20442 $as_echo_n "checking for log10l... " >&6; }
20443 if test "${gcc_cv_math_func_log10l+set}" = set; then :
20444 $as_echo_n "(cached) " >&6
20446 if test x
$gcc_no_link = xyes
; then
20447 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20450 /* end confdefs.h. */
20452 #ifdef HAVE_COMPLEX_H
20453 #include <complex.h>
20459 int (*ptr)() = (int (*)())log10l;
20468 if ac_fn_c_try_link
"$LINENO"; then :
20469 gcc_cv_math_func_log10l
=yes
20471 gcc_cv_math_func_log10l
=no
20473 rm -f core conftest.err conftest.
$ac_objext \
20474 conftest
$ac_exeext conftest.
$ac_ext
20476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20477 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20478 if test $gcc_cv_math_func_log10l = yes; then
20480 cat >>confdefs.h
<<_ACEOF
20481 #define HAVE_LOG10L 1
20489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20490 $as_echo_n "checking for clog10f... " >&6; }
20491 if test "${gcc_cv_math_func_clog10f+set}" = set; then :
20492 $as_echo_n "(cached) " >&6
20494 if test x
$gcc_no_link = xyes
; then
20495 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20498 /* end confdefs.h. */
20500 #ifdef HAVE_COMPLEX_H
20501 #include <complex.h>
20507 int (*ptr)() = (int (*)())clog10f;
20516 if ac_fn_c_try_link
"$LINENO"; then :
20517 gcc_cv_math_func_clog10f
=yes
20519 gcc_cv_math_func_clog10f
=no
20521 rm -f core conftest.err conftest.
$ac_objext \
20522 conftest
$ac_exeext conftest.
$ac_ext
20524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20525 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
20526 if test $gcc_cv_math_func_clog10f = yes; then
20528 cat >>confdefs.h
<<_ACEOF
20529 #define HAVE_CLOG10F 1
20537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20538 $as_echo_n "checking for clog10... " >&6; }
20539 if test "${gcc_cv_math_func_clog10+set}" = set; then :
20540 $as_echo_n "(cached) " >&6
20542 if test x
$gcc_no_link = xyes
; then
20543 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20546 /* end confdefs.h. */
20548 #ifdef HAVE_COMPLEX_H
20549 #include <complex.h>
20555 int (*ptr)() = (int (*)())clog10;
20564 if ac_fn_c_try_link
"$LINENO"; then :
20565 gcc_cv_math_func_clog10
=yes
20567 gcc_cv_math_func_clog10
=no
20569 rm -f core conftest.err conftest.
$ac_objext \
20570 conftest
$ac_exeext conftest.
$ac_ext
20572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20573 $as_echo "$gcc_cv_math_func_clog10" >&6; }
20574 if test $gcc_cv_math_func_clog10 = yes; then
20576 cat >>confdefs.h
<<_ACEOF
20577 #define HAVE_CLOG10 1
20585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20586 $as_echo_n "checking for clog10l... " >&6; }
20587 if test "${gcc_cv_math_func_clog10l+set}" = set; then :
20588 $as_echo_n "(cached) " >&6
20590 if test x
$gcc_no_link = xyes
; then
20591 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20594 /* end confdefs.h. */
20596 #ifdef HAVE_COMPLEX_H
20597 #include <complex.h>
20603 int (*ptr)() = (int (*)())clog10l;
20612 if ac_fn_c_try_link
"$LINENO"; then :
20613 gcc_cv_math_func_clog10l
=yes
20615 gcc_cv_math_func_clog10l
=no
20617 rm -f core conftest.err conftest.
$ac_objext \
20618 conftest
$ac_exeext conftest.
$ac_ext
20620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20621 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
20622 if test $gcc_cv_math_func_clog10l = yes; then
20624 cat >>confdefs.h
<<_ACEOF
20625 #define HAVE_CLOG10L 1
20633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20634 $as_echo_n "checking for nextafterf... " >&6; }
20635 if test "${gcc_cv_math_func_nextafterf+set}" = set; then :
20636 $as_echo_n "(cached) " >&6
20638 if test x
$gcc_no_link = xyes
; then
20639 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20642 /* end confdefs.h. */
20644 #ifdef HAVE_COMPLEX_H
20645 #include <complex.h>
20651 int (*ptr)() = (int (*)())nextafterf;
20660 if ac_fn_c_try_link
"$LINENO"; then :
20661 gcc_cv_math_func_nextafterf
=yes
20663 gcc_cv_math_func_nextafterf
=no
20665 rm -f core conftest.err conftest.
$ac_objext \
20666 conftest
$ac_exeext conftest.
$ac_ext
20668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
20669 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
20670 if test $gcc_cv_math_func_nextafterf = yes; then
20672 cat >>confdefs.h
<<_ACEOF
20673 #define HAVE_NEXTAFTERF 1
20681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
20682 $as_echo_n "checking for nextafter... " >&6; }
20683 if test "${gcc_cv_math_func_nextafter+set}" = set; then :
20684 $as_echo_n "(cached) " >&6
20686 if test x
$gcc_no_link = xyes
; then
20687 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20690 /* end confdefs.h. */
20692 #ifdef HAVE_COMPLEX_H
20693 #include <complex.h>
20699 int (*ptr)() = (int (*)())nextafter;
20708 if ac_fn_c_try_link
"$LINENO"; then :
20709 gcc_cv_math_func_nextafter
=yes
20711 gcc_cv_math_func_nextafter
=no
20713 rm -f core conftest.err conftest.
$ac_objext \
20714 conftest
$ac_exeext conftest.
$ac_ext
20716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
20717 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
20718 if test $gcc_cv_math_func_nextafter = yes; then
20720 cat >>confdefs.h
<<_ACEOF
20721 #define HAVE_NEXTAFTER 1
20729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
20730 $as_echo_n "checking for nextafterl... " >&6; }
20731 if test "${gcc_cv_math_func_nextafterl+set}" = set; then :
20732 $as_echo_n "(cached) " >&6
20734 if test x
$gcc_no_link = xyes
; then
20735 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20738 /* end confdefs.h. */
20740 #ifdef HAVE_COMPLEX_H
20741 #include <complex.h>
20747 int (*ptr)() = (int (*)())nextafterl;
20756 if ac_fn_c_try_link
"$LINENO"; then :
20757 gcc_cv_math_func_nextafterl
=yes
20759 gcc_cv_math_func_nextafterl
=no
20761 rm -f core conftest.err conftest.
$ac_objext \
20762 conftest
$ac_exeext conftest.
$ac_ext
20764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
20765 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
20766 if test $gcc_cv_math_func_nextafterl = yes; then
20768 cat >>confdefs.h
<<_ACEOF
20769 #define HAVE_NEXTAFTERL 1
20777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
20778 $as_echo_n "checking for powf... " >&6; }
20779 if test "${gcc_cv_math_func_powf+set}" = set; then :
20780 $as_echo_n "(cached) " >&6
20782 if test x
$gcc_no_link = xyes
; then
20783 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20786 /* end confdefs.h. */
20788 #ifdef HAVE_COMPLEX_H
20789 #include <complex.h>
20795 int (*ptr)() = (int (*)())powf;
20804 if ac_fn_c_try_link
"$LINENO"; then :
20805 gcc_cv_math_func_powf
=yes
20807 gcc_cv_math_func_powf
=no
20809 rm -f core conftest.err conftest.
$ac_objext \
20810 conftest
$ac_exeext conftest.
$ac_ext
20812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
20813 $as_echo "$gcc_cv_math_func_powf" >&6; }
20814 if test $gcc_cv_math_func_powf = yes; then
20816 cat >>confdefs.h
<<_ACEOF
20817 #define HAVE_POWF 1
20825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
20826 $as_echo_n "checking for pow... " >&6; }
20827 if test "${gcc_cv_math_func_pow+set}" = set; then :
20828 $as_echo_n "(cached) " >&6
20830 if test x
$gcc_no_link = xyes
; then
20831 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20834 /* end confdefs.h. */
20836 #ifdef HAVE_COMPLEX_H
20837 #include <complex.h>
20843 int (*ptr)() = (int (*)())pow;
20852 if ac_fn_c_try_link
"$LINENO"; then :
20853 gcc_cv_math_func_pow
=yes
20855 gcc_cv_math_func_pow
=no
20857 rm -f core conftest.err conftest.
$ac_objext \
20858 conftest
$ac_exeext conftest.
$ac_ext
20860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
20861 $as_echo "$gcc_cv_math_func_pow" >&6; }
20862 if test $gcc_cv_math_func_pow = yes; then
20864 cat >>confdefs.h
<<_ACEOF
20873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl" >&5
20874 $as_echo_n "checking for powl... " >&6; }
20875 if test "${gcc_cv_math_func_powl+set}" = set; then :
20876 $as_echo_n "(cached) " >&6
20878 if test x
$gcc_no_link = xyes
; then
20879 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20882 /* end confdefs.h. */
20884 #ifdef HAVE_COMPLEX_H
20885 #include <complex.h>
20891 int (*ptr)() = (int (*)())powl;
20900 if ac_fn_c_try_link
"$LINENO"; then :
20901 gcc_cv_math_func_powl
=yes
20903 gcc_cv_math_func_powl
=no
20905 rm -f core conftest.err conftest.
$ac_objext \
20906 conftest
$ac_exeext conftest.
$ac_ext
20908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powl" >&5
20909 $as_echo "$gcc_cv_math_func_powl" >&6; }
20910 if test $gcc_cv_math_func_powl = yes; then
20912 cat >>confdefs.h
<<_ACEOF
20913 #define HAVE_POWL 1
20921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
20922 $as_echo_n "checking for cpowf... " >&6; }
20923 if test "${gcc_cv_math_func_cpowf+set}" = set; then :
20924 $as_echo_n "(cached) " >&6
20926 if test x
$gcc_no_link = xyes
; then
20927 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20930 /* end confdefs.h. */
20932 #ifdef HAVE_COMPLEX_H
20933 #include <complex.h>
20939 int (*ptr)() = (int (*)())cpowf;
20948 if ac_fn_c_try_link
"$LINENO"; then :
20949 gcc_cv_math_func_cpowf
=yes
20951 gcc_cv_math_func_cpowf
=no
20953 rm -f core conftest.err conftest.
$ac_objext \
20954 conftest
$ac_exeext conftest.
$ac_ext
20956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
20957 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
20958 if test $gcc_cv_math_func_cpowf = yes; then
20960 cat >>confdefs.h
<<_ACEOF
20961 #define HAVE_CPOWF 1
20969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
20970 $as_echo_n "checking for cpow... " >&6; }
20971 if test "${gcc_cv_math_func_cpow+set}" = set; then :
20972 $as_echo_n "(cached) " >&6
20974 if test x
$gcc_no_link = xyes
; then
20975 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20978 /* end confdefs.h. */
20980 #ifdef HAVE_COMPLEX_H
20981 #include <complex.h>
20987 int (*ptr)() = (int (*)())cpow;
20996 if ac_fn_c_try_link
"$LINENO"; then :
20997 gcc_cv_math_func_cpow
=yes
20999 gcc_cv_math_func_cpow
=no
21001 rm -f core conftest.err conftest.
$ac_objext \
21002 conftest
$ac_exeext conftest.
$ac_ext
21004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21005 $as_echo "$gcc_cv_math_func_cpow" >&6; }
21006 if test $gcc_cv_math_func_cpow = yes; then
21008 cat >>confdefs.h
<<_ACEOF
21009 #define HAVE_CPOW 1
21017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21018 $as_echo_n "checking for cpowl... " >&6; }
21019 if test "${gcc_cv_math_func_cpowl+set}" = set; then :
21020 $as_echo_n "(cached) " >&6
21022 if test x
$gcc_no_link = xyes
; then
21023 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21026 /* end confdefs.h. */
21028 #ifdef HAVE_COMPLEX_H
21029 #include <complex.h>
21035 int (*ptr)() = (int (*)())cpowl;
21044 if ac_fn_c_try_link
"$LINENO"; then :
21045 gcc_cv_math_func_cpowl
=yes
21047 gcc_cv_math_func_cpowl
=no
21049 rm -f core conftest.err conftest.
$ac_objext \
21050 conftest
$ac_exeext conftest.
$ac_ext
21052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21053 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21054 if test $gcc_cv_math_func_cpowl = yes; then
21056 cat >>confdefs.h
<<_ACEOF
21057 #define HAVE_CPOWL 1
21065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21066 $as_echo_n "checking for roundf... " >&6; }
21067 if test "${gcc_cv_math_func_roundf+set}" = set; then :
21068 $as_echo_n "(cached) " >&6
21070 if test x
$gcc_no_link = xyes
; then
21071 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21074 /* end confdefs.h. */
21076 #ifdef HAVE_COMPLEX_H
21077 #include <complex.h>
21083 int (*ptr)() = (int (*)())roundf;
21092 if ac_fn_c_try_link
"$LINENO"; then :
21093 gcc_cv_math_func_roundf
=yes
21095 gcc_cv_math_func_roundf
=no
21097 rm -f core conftest.err conftest.
$ac_objext \
21098 conftest
$ac_exeext conftest.
$ac_ext
21100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21101 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21102 if test $gcc_cv_math_func_roundf = yes; then
21104 cat >>confdefs.h
<<_ACEOF
21105 #define HAVE_ROUNDF 1
21113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21114 $as_echo_n "checking for round... " >&6; }
21115 if test "${gcc_cv_math_func_round+set}" = set; then :
21116 $as_echo_n "(cached) " >&6
21118 if test x
$gcc_no_link = xyes
; then
21119 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21122 /* end confdefs.h. */
21124 #ifdef HAVE_COMPLEX_H
21125 #include <complex.h>
21131 int (*ptr)() = (int (*)())round;
21140 if ac_fn_c_try_link
"$LINENO"; then :
21141 gcc_cv_math_func_round
=yes
21143 gcc_cv_math_func_round
=no
21145 rm -f core conftest.err conftest.
$ac_objext \
21146 conftest
$ac_exeext conftest.
$ac_ext
21148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21149 $as_echo "$gcc_cv_math_func_round" >&6; }
21150 if test $gcc_cv_math_func_round = yes; then
21152 cat >>confdefs.h
<<_ACEOF
21153 #define HAVE_ROUND 1
21161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21162 $as_echo_n "checking for roundl... " >&6; }
21163 if test "${gcc_cv_math_func_roundl+set}" = set; then :
21164 $as_echo_n "(cached) " >&6
21166 if test x
$gcc_no_link = xyes
; then
21167 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21170 /* end confdefs.h. */
21172 #ifdef HAVE_COMPLEX_H
21173 #include <complex.h>
21179 int (*ptr)() = (int (*)())roundl;
21188 if ac_fn_c_try_link
"$LINENO"; then :
21189 gcc_cv_math_func_roundl
=yes
21191 gcc_cv_math_func_roundl
=no
21193 rm -f core conftest.err conftest.
$ac_objext \
21194 conftest
$ac_exeext conftest.
$ac_ext
21196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21197 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21198 if test $gcc_cv_math_func_roundl = yes; then
21200 cat >>confdefs.h
<<_ACEOF
21201 #define HAVE_ROUNDL 1
21209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21210 $as_echo_n "checking for lroundf... " >&6; }
21211 if test "${gcc_cv_math_func_lroundf+set}" = set; then :
21212 $as_echo_n "(cached) " >&6
21214 if test x
$gcc_no_link = xyes
; then
21215 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21218 /* end confdefs.h. */
21220 #ifdef HAVE_COMPLEX_H
21221 #include <complex.h>
21227 int (*ptr)() = (int (*)())lroundf;
21236 if ac_fn_c_try_link
"$LINENO"; then :
21237 gcc_cv_math_func_lroundf
=yes
21239 gcc_cv_math_func_lroundf
=no
21241 rm -f core conftest.err conftest.
$ac_objext \
21242 conftest
$ac_exeext conftest.
$ac_ext
21244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21245 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21246 if test $gcc_cv_math_func_lroundf = yes; then
21248 cat >>confdefs.h
<<_ACEOF
21249 #define HAVE_LROUNDF 1
21257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21258 $as_echo_n "checking for lround... " >&6; }
21259 if test "${gcc_cv_math_func_lround+set}" = set; then :
21260 $as_echo_n "(cached) " >&6
21262 if test x
$gcc_no_link = xyes
; then
21263 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21266 /* end confdefs.h. */
21268 #ifdef HAVE_COMPLEX_H
21269 #include <complex.h>
21275 int (*ptr)() = (int (*)())lround;
21284 if ac_fn_c_try_link
"$LINENO"; then :
21285 gcc_cv_math_func_lround
=yes
21287 gcc_cv_math_func_lround
=no
21289 rm -f core conftest.err conftest.
$ac_objext \
21290 conftest
$ac_exeext conftest.
$ac_ext
21292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21293 $as_echo "$gcc_cv_math_func_lround" >&6; }
21294 if test $gcc_cv_math_func_lround = yes; then
21296 cat >>confdefs.h
<<_ACEOF
21297 #define HAVE_LROUND 1
21305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21306 $as_echo_n "checking for lroundl... " >&6; }
21307 if test "${gcc_cv_math_func_lroundl+set}" = set; then :
21308 $as_echo_n "(cached) " >&6
21310 if test x
$gcc_no_link = xyes
; then
21311 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21314 /* end confdefs.h. */
21316 #ifdef HAVE_COMPLEX_H
21317 #include <complex.h>
21323 int (*ptr)() = (int (*)())lroundl;
21332 if ac_fn_c_try_link
"$LINENO"; then :
21333 gcc_cv_math_func_lroundl
=yes
21335 gcc_cv_math_func_lroundl
=no
21337 rm -f core conftest.err conftest.
$ac_objext \
21338 conftest
$ac_exeext conftest.
$ac_ext
21340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21341 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21342 if test $gcc_cv_math_func_lroundl = yes; then
21344 cat >>confdefs.h
<<_ACEOF
21345 #define HAVE_LROUNDL 1
21353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21354 $as_echo_n "checking for llroundf... " >&6; }
21355 if test "${gcc_cv_math_func_llroundf+set}" = set; then :
21356 $as_echo_n "(cached) " >&6
21358 if test x
$gcc_no_link = xyes
; then
21359 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21362 /* end confdefs.h. */
21364 #ifdef HAVE_COMPLEX_H
21365 #include <complex.h>
21371 int (*ptr)() = (int (*)())llroundf;
21380 if ac_fn_c_try_link
"$LINENO"; then :
21381 gcc_cv_math_func_llroundf
=yes
21383 gcc_cv_math_func_llroundf
=no
21385 rm -f core conftest.err conftest.
$ac_objext \
21386 conftest
$ac_exeext conftest.
$ac_ext
21388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21389 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21390 if test $gcc_cv_math_func_llroundf = yes; then
21392 cat >>confdefs.h
<<_ACEOF
21393 #define HAVE_LLROUNDF 1
21401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21402 $as_echo_n "checking for llround... " >&6; }
21403 if test "${gcc_cv_math_func_llround+set}" = set; then :
21404 $as_echo_n "(cached) " >&6
21406 if test x
$gcc_no_link = xyes
; then
21407 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21410 /* end confdefs.h. */
21412 #ifdef HAVE_COMPLEX_H
21413 #include <complex.h>
21419 int (*ptr)() = (int (*)())llround;
21428 if ac_fn_c_try_link
"$LINENO"; then :
21429 gcc_cv_math_func_llround
=yes
21431 gcc_cv_math_func_llround
=no
21433 rm -f core conftest.err conftest.
$ac_objext \
21434 conftest
$ac_exeext conftest.
$ac_ext
21436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21437 $as_echo "$gcc_cv_math_func_llround" >&6; }
21438 if test $gcc_cv_math_func_llround = yes; then
21440 cat >>confdefs.h
<<_ACEOF
21441 #define HAVE_LLROUND 1
21449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21450 $as_echo_n "checking for llroundl... " >&6; }
21451 if test "${gcc_cv_math_func_llroundl+set}" = set; then :
21452 $as_echo_n "(cached) " >&6
21454 if test x
$gcc_no_link = xyes
; then
21455 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21458 /* end confdefs.h. */
21460 #ifdef HAVE_COMPLEX_H
21461 #include <complex.h>
21467 int (*ptr)() = (int (*)())llroundl;
21476 if ac_fn_c_try_link
"$LINENO"; then :
21477 gcc_cv_math_func_llroundl
=yes
21479 gcc_cv_math_func_llroundl
=no
21481 rm -f core conftest.err conftest.
$ac_objext \
21482 conftest
$ac_exeext conftest.
$ac_ext
21484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21485 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21486 if test $gcc_cv_math_func_llroundl = yes; then
21488 cat >>confdefs.h
<<_ACEOF
21489 #define HAVE_LLROUNDL 1
21497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21498 $as_echo_n "checking for scalbnf... " >&6; }
21499 if test "${gcc_cv_math_func_scalbnf+set}" = set; then :
21500 $as_echo_n "(cached) " >&6
21502 if test x
$gcc_no_link = xyes
; then
21503 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21506 /* end confdefs.h. */
21508 #ifdef HAVE_COMPLEX_H
21509 #include <complex.h>
21515 int (*ptr)() = (int (*)())scalbnf;
21524 if ac_fn_c_try_link
"$LINENO"; then :
21525 gcc_cv_math_func_scalbnf
=yes
21527 gcc_cv_math_func_scalbnf
=no
21529 rm -f core conftest.err conftest.
$ac_objext \
21530 conftest
$ac_exeext conftest.
$ac_ext
21532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21533 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21534 if test $gcc_cv_math_func_scalbnf = yes; then
21536 cat >>confdefs.h
<<_ACEOF
21537 #define HAVE_SCALBNF 1
21545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21546 $as_echo_n "checking for scalbn... " >&6; }
21547 if test "${gcc_cv_math_func_scalbn+set}" = set; then :
21548 $as_echo_n "(cached) " >&6
21550 if test x
$gcc_no_link = xyes
; then
21551 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21554 /* end confdefs.h. */
21556 #ifdef HAVE_COMPLEX_H
21557 #include <complex.h>
21563 int (*ptr)() = (int (*)())scalbn;
21572 if ac_fn_c_try_link
"$LINENO"; then :
21573 gcc_cv_math_func_scalbn
=yes
21575 gcc_cv_math_func_scalbn
=no
21577 rm -f core conftest.err conftest.
$ac_objext \
21578 conftest
$ac_exeext conftest.
$ac_ext
21580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21581 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
21582 if test $gcc_cv_math_func_scalbn = yes; then
21584 cat >>confdefs.h
<<_ACEOF
21585 #define HAVE_SCALBN 1
21593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21594 $as_echo_n "checking for scalbnl... " >&6; }
21595 if test "${gcc_cv_math_func_scalbnl+set}" = set; then :
21596 $as_echo_n "(cached) " >&6
21598 if test x
$gcc_no_link = xyes
; then
21599 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21602 /* end confdefs.h. */
21604 #ifdef HAVE_COMPLEX_H
21605 #include <complex.h>
21611 int (*ptr)() = (int (*)())scalbnl;
21620 if ac_fn_c_try_link
"$LINENO"; then :
21621 gcc_cv_math_func_scalbnl
=yes
21623 gcc_cv_math_func_scalbnl
=no
21625 rm -f core conftest.err conftest.
$ac_objext \
21626 conftest
$ac_exeext conftest.
$ac_ext
21628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21629 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21630 if test $gcc_cv_math_func_scalbnl = yes; then
21632 cat >>confdefs.h
<<_ACEOF
21633 #define HAVE_SCALBNL 1
21641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21642 $as_echo_n "checking for sinf... " >&6; }
21643 if test "${gcc_cv_math_func_sinf+set}" = set; then :
21644 $as_echo_n "(cached) " >&6
21646 if test x
$gcc_no_link = xyes
; then
21647 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21650 /* end confdefs.h. */
21652 #ifdef HAVE_COMPLEX_H
21653 #include <complex.h>
21659 int (*ptr)() = (int (*)())sinf;
21668 if ac_fn_c_try_link
"$LINENO"; then :
21669 gcc_cv_math_func_sinf
=yes
21671 gcc_cv_math_func_sinf
=no
21673 rm -f core conftest.err conftest.
$ac_objext \
21674 conftest
$ac_exeext conftest.
$ac_ext
21676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21677 $as_echo "$gcc_cv_math_func_sinf" >&6; }
21678 if test $gcc_cv_math_func_sinf = yes; then
21680 cat >>confdefs.h
<<_ACEOF
21681 #define HAVE_SINF 1
21689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21690 $as_echo_n "checking for sin... " >&6; }
21691 if test "${gcc_cv_math_func_sin+set}" = set; then :
21692 $as_echo_n "(cached) " >&6
21694 if test x
$gcc_no_link = xyes
; then
21695 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21698 /* end confdefs.h. */
21700 #ifdef HAVE_COMPLEX_H
21701 #include <complex.h>
21707 int (*ptr)() = (int (*)())sin;
21716 if ac_fn_c_try_link
"$LINENO"; then :
21717 gcc_cv_math_func_sin
=yes
21719 gcc_cv_math_func_sin
=no
21721 rm -f core conftest.err conftest.
$ac_objext \
21722 conftest
$ac_exeext conftest.
$ac_ext
21724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
21725 $as_echo "$gcc_cv_math_func_sin" >&6; }
21726 if test $gcc_cv_math_func_sin = yes; then
21728 cat >>confdefs.h
<<_ACEOF
21737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
21738 $as_echo_n "checking for sinl... " >&6; }
21739 if test "${gcc_cv_math_func_sinl+set}" = set; then :
21740 $as_echo_n "(cached) " >&6
21742 if test x
$gcc_no_link = xyes
; then
21743 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21746 /* end confdefs.h. */
21748 #ifdef HAVE_COMPLEX_H
21749 #include <complex.h>
21755 int (*ptr)() = (int (*)())sinl;
21764 if ac_fn_c_try_link
"$LINENO"; then :
21765 gcc_cv_math_func_sinl
=yes
21767 gcc_cv_math_func_sinl
=no
21769 rm -f core conftest.err conftest.
$ac_objext \
21770 conftest
$ac_exeext conftest.
$ac_ext
21772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
21773 $as_echo "$gcc_cv_math_func_sinl" >&6; }
21774 if test $gcc_cv_math_func_sinl = yes; then
21776 cat >>confdefs.h
<<_ACEOF
21777 #define HAVE_SINL 1
21785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
21786 $as_echo_n "checking for csinf... " >&6; }
21787 if test "${gcc_cv_math_func_csinf+set}" = set; then :
21788 $as_echo_n "(cached) " >&6
21790 if test x
$gcc_no_link = xyes
; then
21791 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21794 /* end confdefs.h. */
21796 #ifdef HAVE_COMPLEX_H
21797 #include <complex.h>
21803 int (*ptr)() = (int (*)())csinf;
21812 if ac_fn_c_try_link
"$LINENO"; then :
21813 gcc_cv_math_func_csinf
=yes
21815 gcc_cv_math_func_csinf
=no
21817 rm -f core conftest.err conftest.
$ac_objext \
21818 conftest
$ac_exeext conftest.
$ac_ext
21820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
21821 $as_echo "$gcc_cv_math_func_csinf" >&6; }
21822 if test $gcc_cv_math_func_csinf = yes; then
21824 cat >>confdefs.h
<<_ACEOF
21825 #define HAVE_CSINF 1
21833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
21834 $as_echo_n "checking for csin... " >&6; }
21835 if test "${gcc_cv_math_func_csin+set}" = set; then :
21836 $as_echo_n "(cached) " >&6
21838 if test x
$gcc_no_link = xyes
; then
21839 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21842 /* end confdefs.h. */
21844 #ifdef HAVE_COMPLEX_H
21845 #include <complex.h>
21851 int (*ptr)() = (int (*)())csin;
21860 if ac_fn_c_try_link
"$LINENO"; then :
21861 gcc_cv_math_func_csin
=yes
21863 gcc_cv_math_func_csin
=no
21865 rm -f core conftest.err conftest.
$ac_objext \
21866 conftest
$ac_exeext conftest.
$ac_ext
21868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
21869 $as_echo "$gcc_cv_math_func_csin" >&6; }
21870 if test $gcc_cv_math_func_csin = yes; then
21872 cat >>confdefs.h
<<_ACEOF
21873 #define HAVE_CSIN 1
21881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
21882 $as_echo_n "checking for csinl... " >&6; }
21883 if test "${gcc_cv_math_func_csinl+set}" = set; then :
21884 $as_echo_n "(cached) " >&6
21886 if test x
$gcc_no_link = xyes
; then
21887 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21890 /* end confdefs.h. */
21892 #ifdef HAVE_COMPLEX_H
21893 #include <complex.h>
21899 int (*ptr)() = (int (*)())csinl;
21908 if ac_fn_c_try_link
"$LINENO"; then :
21909 gcc_cv_math_func_csinl
=yes
21911 gcc_cv_math_func_csinl
=no
21913 rm -f core conftest.err conftest.
$ac_objext \
21914 conftest
$ac_exeext conftest.
$ac_ext
21916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
21917 $as_echo "$gcc_cv_math_func_csinl" >&6; }
21918 if test $gcc_cv_math_func_csinl = yes; then
21920 cat >>confdefs.h
<<_ACEOF
21921 #define HAVE_CSINL 1
21929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
21930 $as_echo_n "checking for sinhf... " >&6; }
21931 if test "${gcc_cv_math_func_sinhf+set}" = set; then :
21932 $as_echo_n "(cached) " >&6
21934 if test x
$gcc_no_link = xyes
; then
21935 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21938 /* end confdefs.h. */
21940 #ifdef HAVE_COMPLEX_H
21941 #include <complex.h>
21947 int (*ptr)() = (int (*)())sinhf;
21956 if ac_fn_c_try_link
"$LINENO"; then :
21957 gcc_cv_math_func_sinhf
=yes
21959 gcc_cv_math_func_sinhf
=no
21961 rm -f core conftest.err conftest.
$ac_objext \
21962 conftest
$ac_exeext conftest.
$ac_ext
21964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
21965 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
21966 if test $gcc_cv_math_func_sinhf = yes; then
21968 cat >>confdefs.h
<<_ACEOF
21969 #define HAVE_SINHF 1
21977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
21978 $as_echo_n "checking for sinh... " >&6; }
21979 if test "${gcc_cv_math_func_sinh+set}" = set; then :
21980 $as_echo_n "(cached) " >&6
21982 if test x
$gcc_no_link = xyes
; then
21983 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21986 /* end confdefs.h. */
21988 #ifdef HAVE_COMPLEX_H
21989 #include <complex.h>
21995 int (*ptr)() = (int (*)())sinh;
22004 if ac_fn_c_try_link
"$LINENO"; then :
22005 gcc_cv_math_func_sinh
=yes
22007 gcc_cv_math_func_sinh
=no
22009 rm -f core conftest.err conftest.
$ac_objext \
22010 conftest
$ac_exeext conftest.
$ac_ext
22012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22013 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22014 if test $gcc_cv_math_func_sinh = yes; then
22016 cat >>confdefs.h
<<_ACEOF
22017 #define HAVE_SINH 1
22025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22026 $as_echo_n "checking for sinhl... " >&6; }
22027 if test "${gcc_cv_math_func_sinhl+set}" = set; then :
22028 $as_echo_n "(cached) " >&6
22030 if test x
$gcc_no_link = xyes
; then
22031 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22034 /* end confdefs.h. */
22036 #ifdef HAVE_COMPLEX_H
22037 #include <complex.h>
22043 int (*ptr)() = (int (*)())sinhl;
22052 if ac_fn_c_try_link
"$LINENO"; then :
22053 gcc_cv_math_func_sinhl
=yes
22055 gcc_cv_math_func_sinhl
=no
22057 rm -f core conftest.err conftest.
$ac_objext \
22058 conftest
$ac_exeext conftest.
$ac_ext
22060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22061 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22062 if test $gcc_cv_math_func_sinhl = yes; then
22064 cat >>confdefs.h
<<_ACEOF
22065 #define HAVE_SINHL 1
22073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22074 $as_echo_n "checking for csinhf... " >&6; }
22075 if test "${gcc_cv_math_func_csinhf+set}" = set; then :
22076 $as_echo_n "(cached) " >&6
22078 if test x
$gcc_no_link = xyes
; then
22079 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22082 /* end confdefs.h. */
22084 #ifdef HAVE_COMPLEX_H
22085 #include <complex.h>
22091 int (*ptr)() = (int (*)())csinhf;
22100 if ac_fn_c_try_link
"$LINENO"; then :
22101 gcc_cv_math_func_csinhf
=yes
22103 gcc_cv_math_func_csinhf
=no
22105 rm -f core conftest.err conftest.
$ac_objext \
22106 conftest
$ac_exeext conftest.
$ac_ext
22108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22109 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22110 if test $gcc_cv_math_func_csinhf = yes; then
22112 cat >>confdefs.h
<<_ACEOF
22113 #define HAVE_CSINHF 1
22121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22122 $as_echo_n "checking for csinh... " >&6; }
22123 if test "${gcc_cv_math_func_csinh+set}" = set; then :
22124 $as_echo_n "(cached) " >&6
22126 if test x
$gcc_no_link = xyes
; then
22127 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22130 /* end confdefs.h. */
22132 #ifdef HAVE_COMPLEX_H
22133 #include <complex.h>
22139 int (*ptr)() = (int (*)())csinh;
22148 if ac_fn_c_try_link
"$LINENO"; then :
22149 gcc_cv_math_func_csinh
=yes
22151 gcc_cv_math_func_csinh
=no
22153 rm -f core conftest.err conftest.
$ac_objext \
22154 conftest
$ac_exeext conftest.
$ac_ext
22156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22157 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22158 if test $gcc_cv_math_func_csinh = yes; then
22160 cat >>confdefs.h
<<_ACEOF
22161 #define HAVE_CSINH 1
22169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22170 $as_echo_n "checking for csinhl... " >&6; }
22171 if test "${gcc_cv_math_func_csinhl+set}" = set; then :
22172 $as_echo_n "(cached) " >&6
22174 if test x
$gcc_no_link = xyes
; then
22175 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22178 /* end confdefs.h. */
22180 #ifdef HAVE_COMPLEX_H
22181 #include <complex.h>
22187 int (*ptr)() = (int (*)())csinhl;
22196 if ac_fn_c_try_link
"$LINENO"; then :
22197 gcc_cv_math_func_csinhl
=yes
22199 gcc_cv_math_func_csinhl
=no
22201 rm -f core conftest.err conftest.
$ac_objext \
22202 conftest
$ac_exeext conftest.
$ac_ext
22204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22205 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22206 if test $gcc_cv_math_func_csinhl = yes; then
22208 cat >>confdefs.h
<<_ACEOF
22209 #define HAVE_CSINHL 1
22217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22218 $as_echo_n "checking for sqrtf... " >&6; }
22219 if test "${gcc_cv_math_func_sqrtf+set}" = set; then :
22220 $as_echo_n "(cached) " >&6
22222 if test x
$gcc_no_link = xyes
; then
22223 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22226 /* end confdefs.h. */
22228 #ifdef HAVE_COMPLEX_H
22229 #include <complex.h>
22235 int (*ptr)() = (int (*)())sqrtf;
22244 if ac_fn_c_try_link
"$LINENO"; then :
22245 gcc_cv_math_func_sqrtf
=yes
22247 gcc_cv_math_func_sqrtf
=no
22249 rm -f core conftest.err conftest.
$ac_objext \
22250 conftest
$ac_exeext conftest.
$ac_ext
22252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22253 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22254 if test $gcc_cv_math_func_sqrtf = yes; then
22256 cat >>confdefs.h
<<_ACEOF
22257 #define HAVE_SQRTF 1
22265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22266 $as_echo_n "checking for sqrt... " >&6; }
22267 if test "${gcc_cv_math_func_sqrt+set}" = set; then :
22268 $as_echo_n "(cached) " >&6
22270 if test x
$gcc_no_link = xyes
; then
22271 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22274 /* end confdefs.h. */
22276 #ifdef HAVE_COMPLEX_H
22277 #include <complex.h>
22283 int (*ptr)() = (int (*)())sqrt;
22292 if ac_fn_c_try_link
"$LINENO"; then :
22293 gcc_cv_math_func_sqrt
=yes
22295 gcc_cv_math_func_sqrt
=no
22297 rm -f core conftest.err conftest.
$ac_objext \
22298 conftest
$ac_exeext conftest.
$ac_ext
22300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22301 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22302 if test $gcc_cv_math_func_sqrt = yes; then
22304 cat >>confdefs.h
<<_ACEOF
22305 #define HAVE_SQRT 1
22313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22314 $as_echo_n "checking for sqrtl... " >&6; }
22315 if test "${gcc_cv_math_func_sqrtl+set}" = set; then :
22316 $as_echo_n "(cached) " >&6
22318 if test x
$gcc_no_link = xyes
; then
22319 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22322 /* end confdefs.h. */
22324 #ifdef HAVE_COMPLEX_H
22325 #include <complex.h>
22331 int (*ptr)() = (int (*)())sqrtl;
22340 if ac_fn_c_try_link
"$LINENO"; then :
22341 gcc_cv_math_func_sqrtl
=yes
22343 gcc_cv_math_func_sqrtl
=no
22345 rm -f core conftest.err conftest.
$ac_objext \
22346 conftest
$ac_exeext conftest.
$ac_ext
22348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22349 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22350 if test $gcc_cv_math_func_sqrtl = yes; then
22352 cat >>confdefs.h
<<_ACEOF
22353 #define HAVE_SQRTL 1
22361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22362 $as_echo_n "checking for csqrtf... " >&6; }
22363 if test "${gcc_cv_math_func_csqrtf+set}" = set; then :
22364 $as_echo_n "(cached) " >&6
22366 if test x
$gcc_no_link = xyes
; then
22367 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22370 /* end confdefs.h. */
22372 #ifdef HAVE_COMPLEX_H
22373 #include <complex.h>
22379 int (*ptr)() = (int (*)())csqrtf;
22388 if ac_fn_c_try_link
"$LINENO"; then :
22389 gcc_cv_math_func_csqrtf
=yes
22391 gcc_cv_math_func_csqrtf
=no
22393 rm -f core conftest.err conftest.
$ac_objext \
22394 conftest
$ac_exeext conftest.
$ac_ext
22396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22397 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22398 if test $gcc_cv_math_func_csqrtf = yes; then
22400 cat >>confdefs.h
<<_ACEOF
22401 #define HAVE_CSQRTF 1
22409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22410 $as_echo_n "checking for csqrt... " >&6; }
22411 if test "${gcc_cv_math_func_csqrt+set}" = set; then :
22412 $as_echo_n "(cached) " >&6
22414 if test x
$gcc_no_link = xyes
; then
22415 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22418 /* end confdefs.h. */
22420 #ifdef HAVE_COMPLEX_H
22421 #include <complex.h>
22427 int (*ptr)() = (int (*)())csqrt;
22436 if ac_fn_c_try_link
"$LINENO"; then :
22437 gcc_cv_math_func_csqrt
=yes
22439 gcc_cv_math_func_csqrt
=no
22441 rm -f core conftest.err conftest.
$ac_objext \
22442 conftest
$ac_exeext conftest.
$ac_ext
22444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22445 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22446 if test $gcc_cv_math_func_csqrt = yes; then
22448 cat >>confdefs.h
<<_ACEOF
22449 #define HAVE_CSQRT 1
22457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22458 $as_echo_n "checking for csqrtl... " >&6; }
22459 if test "${gcc_cv_math_func_csqrtl+set}" = set; then :
22460 $as_echo_n "(cached) " >&6
22462 if test x
$gcc_no_link = xyes
; then
22463 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22466 /* end confdefs.h. */
22468 #ifdef HAVE_COMPLEX_H
22469 #include <complex.h>
22475 int (*ptr)() = (int (*)())csqrtl;
22484 if ac_fn_c_try_link
"$LINENO"; then :
22485 gcc_cv_math_func_csqrtl
=yes
22487 gcc_cv_math_func_csqrtl
=no
22489 rm -f core conftest.err conftest.
$ac_objext \
22490 conftest
$ac_exeext conftest.
$ac_ext
22492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22493 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22494 if test $gcc_cv_math_func_csqrtl = yes; then
22496 cat >>confdefs.h
<<_ACEOF
22497 #define HAVE_CSQRTL 1
22505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22506 $as_echo_n "checking for tanf... " >&6; }
22507 if test "${gcc_cv_math_func_tanf+set}" = set; then :
22508 $as_echo_n "(cached) " >&6
22510 if test x
$gcc_no_link = xyes
; then
22511 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22514 /* end confdefs.h. */
22516 #ifdef HAVE_COMPLEX_H
22517 #include <complex.h>
22523 int (*ptr)() = (int (*)())tanf;
22532 if ac_fn_c_try_link
"$LINENO"; then :
22533 gcc_cv_math_func_tanf
=yes
22535 gcc_cv_math_func_tanf
=no
22537 rm -f core conftest.err conftest.
$ac_objext \
22538 conftest
$ac_exeext conftest.
$ac_ext
22540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22541 $as_echo "$gcc_cv_math_func_tanf" >&6; }
22542 if test $gcc_cv_math_func_tanf = yes; then
22544 cat >>confdefs.h
<<_ACEOF
22545 #define HAVE_TANF 1
22553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22554 $as_echo_n "checking for tan... " >&6; }
22555 if test "${gcc_cv_math_func_tan+set}" = set; then :
22556 $as_echo_n "(cached) " >&6
22558 if test x
$gcc_no_link = xyes
; then
22559 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22562 /* end confdefs.h. */
22564 #ifdef HAVE_COMPLEX_H
22565 #include <complex.h>
22571 int (*ptr)() = (int (*)())tan;
22580 if ac_fn_c_try_link
"$LINENO"; then :
22581 gcc_cv_math_func_tan
=yes
22583 gcc_cv_math_func_tan
=no
22585 rm -f core conftest.err conftest.
$ac_objext \
22586 conftest
$ac_exeext conftest.
$ac_ext
22588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22589 $as_echo "$gcc_cv_math_func_tan" >&6; }
22590 if test $gcc_cv_math_func_tan = yes; then
22592 cat >>confdefs.h
<<_ACEOF
22601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22602 $as_echo_n "checking for tanl... " >&6; }
22603 if test "${gcc_cv_math_func_tanl+set}" = set; then :
22604 $as_echo_n "(cached) " >&6
22606 if test x
$gcc_no_link = xyes
; then
22607 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22610 /* end confdefs.h. */
22612 #ifdef HAVE_COMPLEX_H
22613 #include <complex.h>
22619 int (*ptr)() = (int (*)())tanl;
22628 if ac_fn_c_try_link
"$LINENO"; then :
22629 gcc_cv_math_func_tanl
=yes
22631 gcc_cv_math_func_tanl
=no
22633 rm -f core conftest.err conftest.
$ac_objext \
22634 conftest
$ac_exeext conftest.
$ac_ext
22636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22637 $as_echo "$gcc_cv_math_func_tanl" >&6; }
22638 if test $gcc_cv_math_func_tanl = yes; then
22640 cat >>confdefs.h
<<_ACEOF
22641 #define HAVE_TANL 1
22649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22650 $as_echo_n "checking for ctanf... " >&6; }
22651 if test "${gcc_cv_math_func_ctanf+set}" = set; then :
22652 $as_echo_n "(cached) " >&6
22654 if test x
$gcc_no_link = xyes
; then
22655 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22658 /* end confdefs.h. */
22660 #ifdef HAVE_COMPLEX_H
22661 #include <complex.h>
22667 int (*ptr)() = (int (*)())ctanf;
22676 if ac_fn_c_try_link
"$LINENO"; then :
22677 gcc_cv_math_func_ctanf
=yes
22679 gcc_cv_math_func_ctanf
=no
22681 rm -f core conftest.err conftest.
$ac_objext \
22682 conftest
$ac_exeext conftest.
$ac_ext
22684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22685 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
22686 if test $gcc_cv_math_func_ctanf = yes; then
22688 cat >>confdefs.h
<<_ACEOF
22689 #define HAVE_CTANF 1
22697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22698 $as_echo_n "checking for ctan... " >&6; }
22699 if test "${gcc_cv_math_func_ctan+set}" = set; then :
22700 $as_echo_n "(cached) " >&6
22702 if test x
$gcc_no_link = xyes
; then
22703 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22706 /* end confdefs.h. */
22708 #ifdef HAVE_COMPLEX_H
22709 #include <complex.h>
22715 int (*ptr)() = (int (*)())ctan;
22724 if ac_fn_c_try_link
"$LINENO"; then :
22725 gcc_cv_math_func_ctan
=yes
22727 gcc_cv_math_func_ctan
=no
22729 rm -f core conftest.err conftest.
$ac_objext \
22730 conftest
$ac_exeext conftest.
$ac_ext
22732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
22733 $as_echo "$gcc_cv_math_func_ctan" >&6; }
22734 if test $gcc_cv_math_func_ctan = yes; then
22736 cat >>confdefs.h
<<_ACEOF
22737 #define HAVE_CTAN 1
22745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
22746 $as_echo_n "checking for ctanl... " >&6; }
22747 if test "${gcc_cv_math_func_ctanl+set}" = set; then :
22748 $as_echo_n "(cached) " >&6
22750 if test x
$gcc_no_link = xyes
; then
22751 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22754 /* end confdefs.h. */
22756 #ifdef HAVE_COMPLEX_H
22757 #include <complex.h>
22763 int (*ptr)() = (int (*)())ctanl;
22772 if ac_fn_c_try_link
"$LINENO"; then :
22773 gcc_cv_math_func_ctanl
=yes
22775 gcc_cv_math_func_ctanl
=no
22777 rm -f core conftest.err conftest.
$ac_objext \
22778 conftest
$ac_exeext conftest.
$ac_ext
22780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
22781 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
22782 if test $gcc_cv_math_func_ctanl = yes; then
22784 cat >>confdefs.h
<<_ACEOF
22785 #define HAVE_CTANL 1
22793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
22794 $as_echo_n "checking for tanhf... " >&6; }
22795 if test "${gcc_cv_math_func_tanhf+set}" = set; then :
22796 $as_echo_n "(cached) " >&6
22798 if test x
$gcc_no_link = xyes
; then
22799 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22802 /* end confdefs.h. */
22804 #ifdef HAVE_COMPLEX_H
22805 #include <complex.h>
22811 int (*ptr)() = (int (*)())tanhf;
22820 if ac_fn_c_try_link
"$LINENO"; then :
22821 gcc_cv_math_func_tanhf
=yes
22823 gcc_cv_math_func_tanhf
=no
22825 rm -f core conftest.err conftest.
$ac_objext \
22826 conftest
$ac_exeext conftest.
$ac_ext
22828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
22829 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
22830 if test $gcc_cv_math_func_tanhf = yes; then
22832 cat >>confdefs.h
<<_ACEOF
22833 #define HAVE_TANHF 1
22841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
22842 $as_echo_n "checking for tanh... " >&6; }
22843 if test "${gcc_cv_math_func_tanh+set}" = set; then :
22844 $as_echo_n "(cached) " >&6
22846 if test x
$gcc_no_link = xyes
; then
22847 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22850 /* end confdefs.h. */
22852 #ifdef HAVE_COMPLEX_H
22853 #include <complex.h>
22859 int (*ptr)() = (int (*)())tanh;
22868 if ac_fn_c_try_link
"$LINENO"; then :
22869 gcc_cv_math_func_tanh
=yes
22871 gcc_cv_math_func_tanh
=no
22873 rm -f core conftest.err conftest.
$ac_objext \
22874 conftest
$ac_exeext conftest.
$ac_ext
22876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
22877 $as_echo "$gcc_cv_math_func_tanh" >&6; }
22878 if test $gcc_cv_math_func_tanh = yes; then
22880 cat >>confdefs.h
<<_ACEOF
22881 #define HAVE_TANH 1
22889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
22890 $as_echo_n "checking for tanhl... " >&6; }
22891 if test "${gcc_cv_math_func_tanhl+set}" = set; then :
22892 $as_echo_n "(cached) " >&6
22894 if test x
$gcc_no_link = xyes
; then
22895 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22897 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22898 /* end confdefs.h. */
22900 #ifdef HAVE_COMPLEX_H
22901 #include <complex.h>
22907 int (*ptr)() = (int (*)())tanhl;
22916 if ac_fn_c_try_link
"$LINENO"; then :
22917 gcc_cv_math_func_tanhl
=yes
22919 gcc_cv_math_func_tanhl
=no
22921 rm -f core conftest.err conftest.
$ac_objext \
22922 conftest
$ac_exeext conftest.
$ac_ext
22924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
22925 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
22926 if test $gcc_cv_math_func_tanhl = yes; then
22928 cat >>confdefs.h
<<_ACEOF
22929 #define HAVE_TANHL 1
22937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
22938 $as_echo_n "checking for ctanhf... " >&6; }
22939 if test "${gcc_cv_math_func_ctanhf+set}" = set; then :
22940 $as_echo_n "(cached) " >&6
22942 if test x
$gcc_no_link = xyes
; then
22943 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22946 /* end confdefs.h. */
22948 #ifdef HAVE_COMPLEX_H
22949 #include <complex.h>
22955 int (*ptr)() = (int (*)())ctanhf;
22964 if ac_fn_c_try_link
"$LINENO"; then :
22965 gcc_cv_math_func_ctanhf
=yes
22967 gcc_cv_math_func_ctanhf
=no
22969 rm -f core conftest.err conftest.
$ac_objext \
22970 conftest
$ac_exeext conftest.
$ac_ext
22972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
22973 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
22974 if test $gcc_cv_math_func_ctanhf = yes; then
22976 cat >>confdefs.h
<<_ACEOF
22977 #define HAVE_CTANHF 1
22985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
22986 $as_echo_n "checking for ctanh... " >&6; }
22987 if test "${gcc_cv_math_func_ctanh+set}" = set; then :
22988 $as_echo_n "(cached) " >&6
22990 if test x
$gcc_no_link = xyes
; then
22991 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22994 /* end confdefs.h. */
22996 #ifdef HAVE_COMPLEX_H
22997 #include <complex.h>
23003 int (*ptr)() = (int (*)())ctanh;
23012 if ac_fn_c_try_link
"$LINENO"; then :
23013 gcc_cv_math_func_ctanh
=yes
23015 gcc_cv_math_func_ctanh
=no
23017 rm -f core conftest.err conftest.
$ac_objext \
23018 conftest
$ac_exeext conftest.
$ac_ext
23020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23021 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23022 if test $gcc_cv_math_func_ctanh = yes; then
23024 cat >>confdefs.h
<<_ACEOF
23025 #define HAVE_CTANH 1
23033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23034 $as_echo_n "checking for ctanhl... " >&6; }
23035 if test "${gcc_cv_math_func_ctanhl+set}" = set; then :
23036 $as_echo_n "(cached) " >&6
23038 if test x
$gcc_no_link = xyes
; then
23039 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23042 /* end confdefs.h. */
23044 #ifdef HAVE_COMPLEX_H
23045 #include <complex.h>
23051 int (*ptr)() = (int (*)())ctanhl;
23060 if ac_fn_c_try_link
"$LINENO"; then :
23061 gcc_cv_math_func_ctanhl
=yes
23063 gcc_cv_math_func_ctanhl
=no
23065 rm -f core conftest.err conftest.
$ac_objext \
23066 conftest
$ac_exeext conftest.
$ac_ext
23068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23069 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23070 if test $gcc_cv_math_func_ctanhl = yes; then
23072 cat >>confdefs.h
<<_ACEOF
23073 #define HAVE_CTANHL 1
23081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23082 $as_echo_n "checking for truncf... " >&6; }
23083 if test "${gcc_cv_math_func_truncf+set}" = set; then :
23084 $as_echo_n "(cached) " >&6
23086 if test x
$gcc_no_link = xyes
; then
23087 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23090 /* end confdefs.h. */
23092 #ifdef HAVE_COMPLEX_H
23093 #include <complex.h>
23099 int (*ptr)() = (int (*)())truncf;
23108 if ac_fn_c_try_link
"$LINENO"; then :
23109 gcc_cv_math_func_truncf
=yes
23111 gcc_cv_math_func_truncf
=no
23113 rm -f core conftest.err conftest.
$ac_objext \
23114 conftest
$ac_exeext conftest.
$ac_ext
23116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23117 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23118 if test $gcc_cv_math_func_truncf = yes; then
23120 cat >>confdefs.h
<<_ACEOF
23121 #define HAVE_TRUNCF 1
23129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23130 $as_echo_n "checking for trunc... " >&6; }
23131 if test "${gcc_cv_math_func_trunc+set}" = set; then :
23132 $as_echo_n "(cached) " >&6
23134 if test x
$gcc_no_link = xyes
; then
23135 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23138 /* end confdefs.h. */
23140 #ifdef HAVE_COMPLEX_H
23141 #include <complex.h>
23147 int (*ptr)() = (int (*)())trunc;
23156 if ac_fn_c_try_link
"$LINENO"; then :
23157 gcc_cv_math_func_trunc
=yes
23159 gcc_cv_math_func_trunc
=no
23161 rm -f core conftest.err conftest.
$ac_objext \
23162 conftest
$ac_exeext conftest.
$ac_ext
23164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23165 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23166 if test $gcc_cv_math_func_trunc = yes; then
23168 cat >>confdefs.h
<<_ACEOF
23169 #define HAVE_TRUNC 1
23177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23178 $as_echo_n "checking for truncl... " >&6; }
23179 if test "${gcc_cv_math_func_truncl+set}" = set; then :
23180 $as_echo_n "(cached) " >&6
23182 if test x
$gcc_no_link = xyes
; then
23183 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23186 /* end confdefs.h. */
23188 #ifdef HAVE_COMPLEX_H
23189 #include <complex.h>
23195 int (*ptr)() = (int (*)())truncl;
23204 if ac_fn_c_try_link
"$LINENO"; then :
23205 gcc_cv_math_func_truncl
=yes
23207 gcc_cv_math_func_truncl
=no
23209 rm -f core conftest.err conftest.
$ac_objext \
23210 conftest
$ac_exeext conftest.
$ac_ext
23212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23213 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23214 if test $gcc_cv_math_func_truncl = yes; then
23216 cat >>confdefs.h
<<_ACEOF
23217 #define HAVE_TRUNCL 1
23225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23226 $as_echo_n "checking for erff... " >&6; }
23227 if test "${gcc_cv_math_func_erff+set}" = set; then :
23228 $as_echo_n "(cached) " >&6
23230 if test x
$gcc_no_link = xyes
; then
23231 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23234 /* end confdefs.h. */
23236 #ifdef HAVE_COMPLEX_H
23237 #include <complex.h>
23243 int (*ptr)() = (int (*)())erff;
23252 if ac_fn_c_try_link
"$LINENO"; then :
23253 gcc_cv_math_func_erff
=yes
23255 gcc_cv_math_func_erff
=no
23257 rm -f core conftest.err conftest.
$ac_objext \
23258 conftest
$ac_exeext conftest.
$ac_ext
23260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23261 $as_echo "$gcc_cv_math_func_erff" >&6; }
23262 if test $gcc_cv_math_func_erff = yes; then
23264 cat >>confdefs.h
<<_ACEOF
23265 #define HAVE_ERFF 1
23273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23274 $as_echo_n "checking for erf... " >&6; }
23275 if test "${gcc_cv_math_func_erf+set}" = set; then :
23276 $as_echo_n "(cached) " >&6
23278 if test x
$gcc_no_link = xyes
; then
23279 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23282 /* end confdefs.h. */
23284 #ifdef HAVE_COMPLEX_H
23285 #include <complex.h>
23291 int (*ptr)() = (int (*)())erf;
23300 if ac_fn_c_try_link
"$LINENO"; then :
23301 gcc_cv_math_func_erf
=yes
23303 gcc_cv_math_func_erf
=no
23305 rm -f core conftest.err conftest.
$ac_objext \
23306 conftest
$ac_exeext conftest.
$ac_ext
23308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23309 $as_echo "$gcc_cv_math_func_erf" >&6; }
23310 if test $gcc_cv_math_func_erf = yes; then
23312 cat >>confdefs.h
<<_ACEOF
23321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl" >&5
23322 $as_echo_n "checking for erfl... " >&6; }
23323 if test "${gcc_cv_math_func_erfl+set}" = set; then :
23324 $as_echo_n "(cached) " >&6
23326 if test x
$gcc_no_link = xyes
; then
23327 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23330 /* end confdefs.h. */
23332 #ifdef HAVE_COMPLEX_H
23333 #include <complex.h>
23339 int (*ptr)() = (int (*)())erfl;
23348 if ac_fn_c_try_link
"$LINENO"; then :
23349 gcc_cv_math_func_erfl
=yes
23351 gcc_cv_math_func_erfl
=no
23353 rm -f core conftest.err conftest.
$ac_objext \
23354 conftest
$ac_exeext conftest.
$ac_ext
23356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfl" >&5
23357 $as_echo "$gcc_cv_math_func_erfl" >&6; }
23358 if test $gcc_cv_math_func_erfl = yes; then
23360 cat >>confdefs.h
<<_ACEOF
23361 #define HAVE_ERFL 1
23369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23370 $as_echo_n "checking for erfcf... " >&6; }
23371 if test "${gcc_cv_math_func_erfcf+set}" = set; then :
23372 $as_echo_n "(cached) " >&6
23374 if test x
$gcc_no_link = xyes
; then
23375 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23378 /* end confdefs.h. */
23380 #ifdef HAVE_COMPLEX_H
23381 #include <complex.h>
23387 int (*ptr)() = (int (*)())erfcf;
23396 if ac_fn_c_try_link
"$LINENO"; then :
23397 gcc_cv_math_func_erfcf
=yes
23399 gcc_cv_math_func_erfcf
=no
23401 rm -f core conftest.err conftest.
$ac_objext \
23402 conftest
$ac_exeext conftest.
$ac_ext
23404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23405 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23406 if test $gcc_cv_math_func_erfcf = yes; then
23408 cat >>confdefs.h
<<_ACEOF
23409 #define HAVE_ERFCF 1
23417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23418 $as_echo_n "checking for erfc... " >&6; }
23419 if test "${gcc_cv_math_func_erfc+set}" = set; then :
23420 $as_echo_n "(cached) " >&6
23422 if test x
$gcc_no_link = xyes
; then
23423 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23426 /* end confdefs.h. */
23428 #ifdef HAVE_COMPLEX_H
23429 #include <complex.h>
23435 int (*ptr)() = (int (*)())erfc;
23444 if ac_fn_c_try_link
"$LINENO"; then :
23445 gcc_cv_math_func_erfc
=yes
23447 gcc_cv_math_func_erfc
=no
23449 rm -f core conftest.err conftest.
$ac_objext \
23450 conftest
$ac_exeext conftest.
$ac_ext
23452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23453 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23454 if test $gcc_cv_math_func_erfc = yes; then
23456 cat >>confdefs.h
<<_ACEOF
23457 #define HAVE_ERFC 1
23465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23466 $as_echo_n "checking for erfcl... " >&6; }
23467 if test "${gcc_cv_math_func_erfcl+set}" = set; then :
23468 $as_echo_n "(cached) " >&6
23470 if test x
$gcc_no_link = xyes
; then
23471 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23474 /* end confdefs.h. */
23476 #ifdef HAVE_COMPLEX_H
23477 #include <complex.h>
23483 int (*ptr)() = (int (*)())erfcl;
23492 if ac_fn_c_try_link
"$LINENO"; then :
23493 gcc_cv_math_func_erfcl
=yes
23495 gcc_cv_math_func_erfcl
=no
23497 rm -f core conftest.err conftest.
$ac_objext \
23498 conftest
$ac_exeext conftest.
$ac_ext
23500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23501 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23502 if test $gcc_cv_math_func_erfcl = yes; then
23504 cat >>confdefs.h
<<_ACEOF
23505 #define HAVE_ERFCL 1
23513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23514 $as_echo_n "checking for j0f... " >&6; }
23515 if test "${gcc_cv_math_func_j0f+set}" = set; then :
23516 $as_echo_n "(cached) " >&6
23518 if test x
$gcc_no_link = xyes
; then
23519 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23522 /* end confdefs.h. */
23524 #ifdef HAVE_COMPLEX_H
23525 #include <complex.h>
23531 int (*ptr)() = (int (*)())j0f;
23540 if ac_fn_c_try_link
"$LINENO"; then :
23541 gcc_cv_math_func_j0f
=yes
23543 gcc_cv_math_func_j0f
=no
23545 rm -f core conftest.err conftest.
$ac_objext \
23546 conftest
$ac_exeext conftest.
$ac_ext
23548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23549 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23550 if test $gcc_cv_math_func_j0f = yes; then
23552 cat >>confdefs.h
<<_ACEOF
23561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23562 $as_echo_n "checking for j0... " >&6; }
23563 if test "${gcc_cv_math_func_j0+set}" = set; then :
23564 $as_echo_n "(cached) " >&6
23566 if test x
$gcc_no_link = xyes
; then
23567 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23570 /* end confdefs.h. */
23572 #ifdef HAVE_COMPLEX_H
23573 #include <complex.h>
23579 int (*ptr)() = (int (*)())j0;
23588 if ac_fn_c_try_link
"$LINENO"; then :
23589 gcc_cv_math_func_j0
=yes
23591 gcc_cv_math_func_j0
=no
23593 rm -f core conftest.err conftest.
$ac_objext \
23594 conftest
$ac_exeext conftest.
$ac_ext
23596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23597 $as_echo "$gcc_cv_math_func_j0" >&6; }
23598 if test $gcc_cv_math_func_j0 = yes; then
23600 cat >>confdefs.h
<<_ACEOF
23609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l" >&5
23610 $as_echo_n "checking for j0l... " >&6; }
23611 if test "${gcc_cv_math_func_j0l+set}" = set; then :
23612 $as_echo_n "(cached) " >&6
23614 if test x
$gcc_no_link = xyes
; then
23615 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23618 /* end confdefs.h. */
23620 #ifdef HAVE_COMPLEX_H
23621 #include <complex.h>
23627 int (*ptr)() = (int (*)())j0l;
23636 if ac_fn_c_try_link
"$LINENO"; then :
23637 gcc_cv_math_func_j0l
=yes
23639 gcc_cv_math_func_j0l
=no
23641 rm -f core conftest.err conftest.
$ac_objext \
23642 conftest
$ac_exeext conftest.
$ac_ext
23644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0l" >&5
23645 $as_echo "$gcc_cv_math_func_j0l" >&6; }
23646 if test $gcc_cv_math_func_j0l = yes; then
23648 cat >>confdefs.h
<<_ACEOF
23657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23658 $as_echo_n "checking for j1f... " >&6; }
23659 if test "${gcc_cv_math_func_j1f+set}" = set; then :
23660 $as_echo_n "(cached) " >&6
23662 if test x
$gcc_no_link = xyes
; then
23663 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23666 /* end confdefs.h. */
23668 #ifdef HAVE_COMPLEX_H
23669 #include <complex.h>
23675 int (*ptr)() = (int (*)())j1f;
23684 if ac_fn_c_try_link
"$LINENO"; then :
23685 gcc_cv_math_func_j1f
=yes
23687 gcc_cv_math_func_j1f
=no
23689 rm -f core conftest.err conftest.
$ac_objext \
23690 conftest
$ac_exeext conftest.
$ac_ext
23692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23693 $as_echo "$gcc_cv_math_func_j1f" >&6; }
23694 if test $gcc_cv_math_func_j1f = yes; then
23696 cat >>confdefs.h
<<_ACEOF
23705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23706 $as_echo_n "checking for j1... " >&6; }
23707 if test "${gcc_cv_math_func_j1+set}" = set; then :
23708 $as_echo_n "(cached) " >&6
23710 if test x
$gcc_no_link = xyes
; then
23711 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23714 /* end confdefs.h. */
23716 #ifdef HAVE_COMPLEX_H
23717 #include <complex.h>
23723 int (*ptr)() = (int (*)())j1;
23732 if ac_fn_c_try_link
"$LINENO"; then :
23733 gcc_cv_math_func_j1
=yes
23735 gcc_cv_math_func_j1
=no
23737 rm -f core conftest.err conftest.
$ac_objext \
23738 conftest
$ac_exeext conftest.
$ac_ext
23740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23741 $as_echo "$gcc_cv_math_func_j1" >&6; }
23742 if test $gcc_cv_math_func_j1 = yes; then
23744 cat >>confdefs.h
<<_ACEOF
23753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l" >&5
23754 $as_echo_n "checking for j1l... " >&6; }
23755 if test "${gcc_cv_math_func_j1l+set}" = set; then :
23756 $as_echo_n "(cached) " >&6
23758 if test x
$gcc_no_link = xyes
; then
23759 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23762 /* end confdefs.h. */
23764 #ifdef HAVE_COMPLEX_H
23765 #include <complex.h>
23771 int (*ptr)() = (int (*)())j1l;
23780 if ac_fn_c_try_link
"$LINENO"; then :
23781 gcc_cv_math_func_j1l
=yes
23783 gcc_cv_math_func_j1l
=no
23785 rm -f core conftest.err conftest.
$ac_objext \
23786 conftest
$ac_exeext conftest.
$ac_ext
23788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1l" >&5
23789 $as_echo "$gcc_cv_math_func_j1l" >&6; }
23790 if test $gcc_cv_math_func_j1l = yes; then
23792 cat >>confdefs.h
<<_ACEOF
23801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23802 $as_echo_n "checking for jnf... " >&6; }
23803 if test "${gcc_cv_math_func_jnf+set}" = set; then :
23804 $as_echo_n "(cached) " >&6
23806 if test x
$gcc_no_link = xyes
; then
23807 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23810 /* end confdefs.h. */
23812 #ifdef HAVE_COMPLEX_H
23813 #include <complex.h>
23819 int (*ptr)() = (int (*)())jnf;
23828 if ac_fn_c_try_link
"$LINENO"; then :
23829 gcc_cv_math_func_jnf
=yes
23831 gcc_cv_math_func_jnf
=no
23833 rm -f core conftest.err conftest.
$ac_objext \
23834 conftest
$ac_exeext conftest.
$ac_ext
23836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23837 $as_echo "$gcc_cv_math_func_jnf" >&6; }
23838 if test $gcc_cv_math_func_jnf = yes; then
23840 cat >>confdefs.h
<<_ACEOF
23849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
23850 $as_echo_n "checking for jn... " >&6; }
23851 if test "${gcc_cv_math_func_jn+set}" = set; then :
23852 $as_echo_n "(cached) " >&6
23854 if test x
$gcc_no_link = xyes
; then
23855 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23858 /* end confdefs.h. */
23860 #ifdef HAVE_COMPLEX_H
23861 #include <complex.h>
23867 int (*ptr)() = (int (*)())jn;
23876 if ac_fn_c_try_link
"$LINENO"; then :
23877 gcc_cv_math_func_jn
=yes
23879 gcc_cv_math_func_jn
=no
23881 rm -f core conftest.err conftest.
$ac_objext \
23882 conftest
$ac_exeext conftest.
$ac_ext
23884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
23885 $as_echo "$gcc_cv_math_func_jn" >&6; }
23886 if test $gcc_cv_math_func_jn = yes; then
23888 cat >>confdefs.h
<<_ACEOF
23897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
23898 $as_echo_n "checking for jnl... " >&6; }
23899 if test "${gcc_cv_math_func_jnl+set}" = set; then :
23900 $as_echo_n "(cached) " >&6
23902 if test x
$gcc_no_link = xyes
; then
23903 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23906 /* end confdefs.h. */
23908 #ifdef HAVE_COMPLEX_H
23909 #include <complex.h>
23915 int (*ptr)() = (int (*)())jnl;
23924 if ac_fn_c_try_link
"$LINENO"; then :
23925 gcc_cv_math_func_jnl
=yes
23927 gcc_cv_math_func_jnl
=no
23929 rm -f core conftest.err conftest.
$ac_objext \
23930 conftest
$ac_exeext conftest.
$ac_ext
23932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
23933 $as_echo "$gcc_cv_math_func_jnl" >&6; }
23934 if test $gcc_cv_math_func_jnl = yes; then
23936 cat >>confdefs.h
<<_ACEOF
23945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
23946 $as_echo_n "checking for y0f... " >&6; }
23947 if test "${gcc_cv_math_func_y0f+set}" = set; then :
23948 $as_echo_n "(cached) " >&6
23950 if test x
$gcc_no_link = xyes
; then
23951 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23954 /* end confdefs.h. */
23956 #ifdef HAVE_COMPLEX_H
23957 #include <complex.h>
23963 int (*ptr)() = (int (*)())y0f;
23972 if ac_fn_c_try_link
"$LINENO"; then :
23973 gcc_cv_math_func_y0f
=yes
23975 gcc_cv_math_func_y0f
=no
23977 rm -f core conftest.err conftest.
$ac_objext \
23978 conftest
$ac_exeext conftest.
$ac_ext
23980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
23981 $as_echo "$gcc_cv_math_func_y0f" >&6; }
23982 if test $gcc_cv_math_func_y0f = yes; then
23984 cat >>confdefs.h
<<_ACEOF
23993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
23994 $as_echo_n "checking for y0... " >&6; }
23995 if test "${gcc_cv_math_func_y0+set}" = set; then :
23996 $as_echo_n "(cached) " >&6
23998 if test x
$gcc_no_link = xyes
; then
23999 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24002 /* end confdefs.h. */
24004 #ifdef HAVE_COMPLEX_H
24005 #include <complex.h>
24011 int (*ptr)() = (int (*)())y0;
24020 if ac_fn_c_try_link
"$LINENO"; then :
24021 gcc_cv_math_func_y0
=yes
24023 gcc_cv_math_func_y0
=no
24025 rm -f core conftest.err conftest.
$ac_objext \
24026 conftest
$ac_exeext conftest.
$ac_ext
24028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24029 $as_echo "$gcc_cv_math_func_y0" >&6; }
24030 if test $gcc_cv_math_func_y0 = yes; then
24032 cat >>confdefs.h
<<_ACEOF
24041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l" >&5
24042 $as_echo_n "checking for y0l... " >&6; }
24043 if test "${gcc_cv_math_func_y0l+set}" = set; then :
24044 $as_echo_n "(cached) " >&6
24046 if test x
$gcc_no_link = xyes
; then
24047 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24050 /* end confdefs.h. */
24052 #ifdef HAVE_COMPLEX_H
24053 #include <complex.h>
24059 int (*ptr)() = (int (*)())y0l;
24068 if ac_fn_c_try_link
"$LINENO"; then :
24069 gcc_cv_math_func_y0l
=yes
24071 gcc_cv_math_func_y0l
=no
24073 rm -f core conftest.err conftest.
$ac_objext \
24074 conftest
$ac_exeext conftest.
$ac_ext
24076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0l" >&5
24077 $as_echo "$gcc_cv_math_func_y0l" >&6; }
24078 if test $gcc_cv_math_func_y0l = yes; then
24080 cat >>confdefs.h
<<_ACEOF
24089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24090 $as_echo_n "checking for y1f... " >&6; }
24091 if test "${gcc_cv_math_func_y1f+set}" = set; then :
24092 $as_echo_n "(cached) " >&6
24094 if test x
$gcc_no_link = xyes
; then
24095 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24098 /* end confdefs.h. */
24100 #ifdef HAVE_COMPLEX_H
24101 #include <complex.h>
24107 int (*ptr)() = (int (*)())y1f;
24116 if ac_fn_c_try_link
"$LINENO"; then :
24117 gcc_cv_math_func_y1f
=yes
24119 gcc_cv_math_func_y1f
=no
24121 rm -f core conftest.err conftest.
$ac_objext \
24122 conftest
$ac_exeext conftest.
$ac_ext
24124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24125 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24126 if test $gcc_cv_math_func_y1f = yes; then
24128 cat >>confdefs.h
<<_ACEOF
24137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24138 $as_echo_n "checking for y1... " >&6; }
24139 if test "${gcc_cv_math_func_y1+set}" = set; then :
24140 $as_echo_n "(cached) " >&6
24142 if test x
$gcc_no_link = xyes
; then
24143 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24146 /* end confdefs.h. */
24148 #ifdef HAVE_COMPLEX_H
24149 #include <complex.h>
24155 int (*ptr)() = (int (*)())y1;
24164 if ac_fn_c_try_link
"$LINENO"; then :
24165 gcc_cv_math_func_y1
=yes
24167 gcc_cv_math_func_y1
=no
24169 rm -f core conftest.err conftest.
$ac_objext \
24170 conftest
$ac_exeext conftest.
$ac_ext
24172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24173 $as_echo "$gcc_cv_math_func_y1" >&6; }
24174 if test $gcc_cv_math_func_y1 = yes; then
24176 cat >>confdefs.h
<<_ACEOF
24185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l" >&5
24186 $as_echo_n "checking for y1l... " >&6; }
24187 if test "${gcc_cv_math_func_y1l+set}" = set; then :
24188 $as_echo_n "(cached) " >&6
24190 if test x
$gcc_no_link = xyes
; then
24191 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24194 /* end confdefs.h. */
24196 #ifdef HAVE_COMPLEX_H
24197 #include <complex.h>
24203 int (*ptr)() = (int (*)())y1l;
24212 if ac_fn_c_try_link
"$LINENO"; then :
24213 gcc_cv_math_func_y1l
=yes
24215 gcc_cv_math_func_y1l
=no
24217 rm -f core conftest.err conftest.
$ac_objext \
24218 conftest
$ac_exeext conftest.
$ac_ext
24220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1l" >&5
24221 $as_echo "$gcc_cv_math_func_y1l" >&6; }
24222 if test $gcc_cv_math_func_y1l = yes; then
24224 cat >>confdefs.h
<<_ACEOF
24233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24234 $as_echo_n "checking for ynf... " >&6; }
24235 if test "${gcc_cv_math_func_ynf+set}" = set; then :
24236 $as_echo_n "(cached) " >&6
24238 if test x
$gcc_no_link = xyes
; then
24239 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24242 /* end confdefs.h. */
24244 #ifdef HAVE_COMPLEX_H
24245 #include <complex.h>
24251 int (*ptr)() = (int (*)())ynf;
24260 if ac_fn_c_try_link
"$LINENO"; then :
24261 gcc_cv_math_func_ynf
=yes
24263 gcc_cv_math_func_ynf
=no
24265 rm -f core conftest.err conftest.
$ac_objext \
24266 conftest
$ac_exeext conftest.
$ac_ext
24268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24269 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24270 if test $gcc_cv_math_func_ynf = yes; then
24272 cat >>confdefs.h
<<_ACEOF
24281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24282 $as_echo_n "checking for yn... " >&6; }
24283 if test "${gcc_cv_math_func_yn+set}" = set; then :
24284 $as_echo_n "(cached) " >&6
24286 if test x
$gcc_no_link = xyes
; then
24287 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24290 /* end confdefs.h. */
24292 #ifdef HAVE_COMPLEX_H
24293 #include <complex.h>
24299 int (*ptr)() = (int (*)())yn;
24308 if ac_fn_c_try_link
"$LINENO"; then :
24309 gcc_cv_math_func_yn
=yes
24311 gcc_cv_math_func_yn
=no
24313 rm -f core conftest.err conftest.
$ac_objext \
24314 conftest
$ac_exeext conftest.
$ac_ext
24316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24317 $as_echo "$gcc_cv_math_func_yn" >&6; }
24318 if test $gcc_cv_math_func_yn = yes; then
24320 cat >>confdefs.h
<<_ACEOF
24329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24330 $as_echo_n "checking for ynl... " >&6; }
24331 if test "${gcc_cv_math_func_ynl+set}" = set; then :
24332 $as_echo_n "(cached) " >&6
24334 if test x
$gcc_no_link = xyes
; then
24335 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24338 /* end confdefs.h. */
24340 #ifdef HAVE_COMPLEX_H
24341 #include <complex.h>
24347 int (*ptr)() = (int (*)())ynl;
24356 if ac_fn_c_try_link
"$LINENO"; then :
24357 gcc_cv_math_func_ynl
=yes
24359 gcc_cv_math_func_ynl
=no
24361 rm -f core conftest.err conftest.
$ac_objext \
24362 conftest
$ac_exeext conftest.
$ac_ext
24364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24365 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24366 if test $gcc_cv_math_func_ynl = yes; then
24368 cat >>confdefs.h
<<_ACEOF
24377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24378 $as_echo_n "checking for tgamma... " >&6; }
24379 if test "${gcc_cv_math_func_tgamma+set}" = set; then :
24380 $as_echo_n "(cached) " >&6
24382 if test x
$gcc_no_link = xyes
; then
24383 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24386 /* end confdefs.h. */
24388 #ifdef HAVE_COMPLEX_H
24389 #include <complex.h>
24395 int (*ptr)() = (int (*)())tgamma;
24404 if ac_fn_c_try_link
"$LINENO"; then :
24405 gcc_cv_math_func_tgamma
=yes
24407 gcc_cv_math_func_tgamma
=no
24409 rm -f core conftest.err conftest.
$ac_objext \
24410 conftest
$ac_exeext conftest.
$ac_ext
24412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24413 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24414 if test $gcc_cv_math_func_tgamma = yes; then
24416 cat >>confdefs.h
<<_ACEOF
24417 #define HAVE_TGAMMA 1
24425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24426 $as_echo_n "checking for tgammaf... " >&6; }
24427 if test "${gcc_cv_math_func_tgammaf+set}" = set; then :
24428 $as_echo_n "(cached) " >&6
24430 if test x
$gcc_no_link = xyes
; then
24431 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24434 /* end confdefs.h. */
24436 #ifdef HAVE_COMPLEX_H
24437 #include <complex.h>
24443 int (*ptr)() = (int (*)())tgammaf;
24452 if ac_fn_c_try_link
"$LINENO"; then :
24453 gcc_cv_math_func_tgammaf
=yes
24455 gcc_cv_math_func_tgammaf
=no
24457 rm -f core conftest.err conftest.
$ac_objext \
24458 conftest
$ac_exeext conftest.
$ac_ext
24460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24461 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24462 if test $gcc_cv_math_func_tgammaf = yes; then
24464 cat >>confdefs.h
<<_ACEOF
24465 #define HAVE_TGAMMAF 1
24473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal" >&5
24474 $as_echo_n "checking for tgammal... " >&6; }
24475 if test "${gcc_cv_math_func_tgammal+set}" = set; then :
24476 $as_echo_n "(cached) " >&6
24478 if test x
$gcc_no_link = xyes
; then
24479 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24482 /* end confdefs.h. */
24484 #ifdef HAVE_COMPLEX_H
24485 #include <complex.h>
24491 int (*ptr)() = (int (*)())tgammal;
24500 if ac_fn_c_try_link
"$LINENO"; then :
24501 gcc_cv_math_func_tgammal
=yes
24503 gcc_cv_math_func_tgammal
=no
24505 rm -f core conftest.err conftest.
$ac_objext \
24506 conftest
$ac_exeext conftest.
$ac_ext
24508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammal" >&5
24509 $as_echo "$gcc_cv_math_func_tgammal" >&6; }
24510 if test $gcc_cv_math_func_tgammal = yes; then
24512 cat >>confdefs.h
<<_ACEOF
24513 #define HAVE_TGAMMAL 1
24521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24522 $as_echo_n "checking for lgamma... " >&6; }
24523 if test "${gcc_cv_math_func_lgamma+set}" = set; then :
24524 $as_echo_n "(cached) " >&6
24526 if test x
$gcc_no_link = xyes
; then
24527 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24530 /* end confdefs.h. */
24532 #ifdef HAVE_COMPLEX_H
24533 #include <complex.h>
24539 int (*ptr)() = (int (*)())lgamma;
24548 if ac_fn_c_try_link
"$LINENO"; then :
24549 gcc_cv_math_func_lgamma
=yes
24551 gcc_cv_math_func_lgamma
=no
24553 rm -f core conftest.err conftest.
$ac_objext \
24554 conftest
$ac_exeext conftest.
$ac_ext
24556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24557 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24558 if test $gcc_cv_math_func_lgamma = yes; then
24560 cat >>confdefs.h
<<_ACEOF
24561 #define HAVE_LGAMMA 1
24569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24570 $as_echo_n "checking for lgammaf... " >&6; }
24571 if test "${gcc_cv_math_func_lgammaf+set}" = set; then :
24572 $as_echo_n "(cached) " >&6
24574 if test x
$gcc_no_link = xyes
; then
24575 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24578 /* end confdefs.h. */
24580 #ifdef HAVE_COMPLEX_H
24581 #include <complex.h>
24587 int (*ptr)() = (int (*)())lgammaf;
24596 if ac_fn_c_try_link
"$LINENO"; then :
24597 gcc_cv_math_func_lgammaf
=yes
24599 gcc_cv_math_func_lgammaf
=no
24601 rm -f core conftest.err conftest.
$ac_objext \
24602 conftest
$ac_exeext conftest.
$ac_ext
24604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24605 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24606 if test $gcc_cv_math_func_lgammaf = yes; then
24608 cat >>confdefs.h
<<_ACEOF
24609 #define HAVE_LGAMMAF 1
24617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal" >&5
24618 $as_echo_n "checking for lgammal... " >&6; }
24619 if test "${gcc_cv_math_func_lgammal+set}" = set; then :
24620 $as_echo_n "(cached) " >&6
24622 if test x
$gcc_no_link = xyes
; then
24623 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24626 /* end confdefs.h. */
24628 #ifdef HAVE_COMPLEX_H
24629 #include <complex.h>
24635 int (*ptr)() = (int (*)())lgammal;
24644 if ac_fn_c_try_link
"$LINENO"; then :
24645 gcc_cv_math_func_lgammal
=yes
24647 gcc_cv_math_func_lgammal
=no
24649 rm -f core conftest.err conftest.
$ac_objext \
24650 conftest
$ac_exeext conftest.
$ac_ext
24652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammal" >&5
24653 $as_echo "$gcc_cv_math_func_lgammal" >&6; }
24654 if test $gcc_cv_math_func_lgammal = yes; then
24656 cat >>confdefs.h
<<_ACEOF
24657 #define HAVE_LGAMMAL 1
24663 # Check for GFORTRAN_C99_1.1 funcs
24667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24668 $as_echo_n "checking for cacos... " >&6; }
24669 if test "${gcc_cv_math_func_cacos+set}" = set; then :
24670 $as_echo_n "(cached) " >&6
24672 if test x
$gcc_no_link = xyes
; then
24673 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24676 /* end confdefs.h. */
24678 #ifdef HAVE_COMPLEX_H
24679 #include <complex.h>
24685 int (*ptr)() = (int (*)())cacos;
24694 if ac_fn_c_try_link
"$LINENO"; then :
24695 gcc_cv_math_func_cacos
=yes
24697 gcc_cv_math_func_cacos
=no
24699 rm -f core conftest.err conftest.
$ac_objext \
24700 conftest
$ac_exeext conftest.
$ac_ext
24702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24703 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24704 if test $gcc_cv_math_func_cacos = yes; then
24706 cat >>confdefs.h
<<_ACEOF
24707 #define HAVE_CACOS 1
24715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24716 $as_echo_n "checking for cacosf... " >&6; }
24717 if test "${gcc_cv_math_func_cacosf+set}" = set; then :
24718 $as_echo_n "(cached) " >&6
24720 if test x
$gcc_no_link = xyes
; then
24721 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24724 /* end confdefs.h. */
24726 #ifdef HAVE_COMPLEX_H
24727 #include <complex.h>
24733 int (*ptr)() = (int (*)())cacosf;
24742 if ac_fn_c_try_link
"$LINENO"; then :
24743 gcc_cv_math_func_cacosf
=yes
24745 gcc_cv_math_func_cacosf
=no
24747 rm -f core conftest.err conftest.
$ac_objext \
24748 conftest
$ac_exeext conftest.
$ac_ext
24750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24751 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24752 if test $gcc_cv_math_func_cacosf = yes; then
24754 cat >>confdefs.h
<<_ACEOF
24755 #define HAVE_CACOSF 1
24763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24764 $as_echo_n "checking for cacosh... " >&6; }
24765 if test "${gcc_cv_math_func_cacosh+set}" = set; then :
24766 $as_echo_n "(cached) " >&6
24768 if test x
$gcc_no_link = xyes
; then
24769 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24772 /* end confdefs.h. */
24774 #ifdef HAVE_COMPLEX_H
24775 #include <complex.h>
24781 int (*ptr)() = (int (*)())cacosh;
24790 if ac_fn_c_try_link
"$LINENO"; then :
24791 gcc_cv_math_func_cacosh
=yes
24793 gcc_cv_math_func_cacosh
=no
24795 rm -f core conftest.err conftest.
$ac_objext \
24796 conftest
$ac_exeext conftest.
$ac_ext
24798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24799 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24800 if test $gcc_cv_math_func_cacosh = yes; then
24802 cat >>confdefs.h
<<_ACEOF
24803 #define HAVE_CACOSH 1
24811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24812 $as_echo_n "checking for cacoshf... " >&6; }
24813 if test "${gcc_cv_math_func_cacoshf+set}" = set; then :
24814 $as_echo_n "(cached) " >&6
24816 if test x
$gcc_no_link = xyes
; then
24817 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24820 /* end confdefs.h. */
24822 #ifdef HAVE_COMPLEX_H
24823 #include <complex.h>
24829 int (*ptr)() = (int (*)())cacoshf;
24838 if ac_fn_c_try_link
"$LINENO"; then :
24839 gcc_cv_math_func_cacoshf
=yes
24841 gcc_cv_math_func_cacoshf
=no
24843 rm -f core conftest.err conftest.
$ac_objext \
24844 conftest
$ac_exeext conftest.
$ac_ext
24846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24847 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24848 if test $gcc_cv_math_func_cacoshf = yes; then
24850 cat >>confdefs.h
<<_ACEOF
24851 #define HAVE_CACOSHF 1
24859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24860 $as_echo_n "checking for cacoshl... " >&6; }
24861 if test "${gcc_cv_math_func_cacoshl+set}" = set; then :
24862 $as_echo_n "(cached) " >&6
24864 if test x
$gcc_no_link = xyes
; then
24865 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24868 /* end confdefs.h. */
24870 #ifdef HAVE_COMPLEX_H
24871 #include <complex.h>
24877 int (*ptr)() = (int (*)())cacoshl;
24886 if ac_fn_c_try_link
"$LINENO"; then :
24887 gcc_cv_math_func_cacoshl
=yes
24889 gcc_cv_math_func_cacoshl
=no
24891 rm -f core conftest.err conftest.
$ac_objext \
24892 conftest
$ac_exeext conftest.
$ac_ext
24894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
24895 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24896 if test $gcc_cv_math_func_cacoshl = yes; then
24898 cat >>confdefs.h
<<_ACEOF
24899 #define HAVE_CACOSHL 1
24907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24908 $as_echo_n "checking for cacosl... " >&6; }
24909 if test "${gcc_cv_math_func_cacosl+set}" = set; then :
24910 $as_echo_n "(cached) " >&6
24912 if test x
$gcc_no_link = xyes
; then
24913 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24916 /* end confdefs.h. */
24918 #ifdef HAVE_COMPLEX_H
24919 #include <complex.h>
24925 int (*ptr)() = (int (*)())cacosl;
24934 if ac_fn_c_try_link
"$LINENO"; then :
24935 gcc_cv_math_func_cacosl
=yes
24937 gcc_cv_math_func_cacosl
=no
24939 rm -f core conftest.err conftest.
$ac_objext \
24940 conftest
$ac_exeext conftest.
$ac_ext
24942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
24943 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
24944 if test $gcc_cv_math_func_cacosl = yes; then
24946 cat >>confdefs.h
<<_ACEOF
24947 #define HAVE_CACOSL 1
24955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24956 $as_echo_n "checking for casin... " >&6; }
24957 if test "${gcc_cv_math_func_casin+set}" = set; then :
24958 $as_echo_n "(cached) " >&6
24960 if test x
$gcc_no_link = xyes
; then
24961 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24964 /* end confdefs.h. */
24966 #ifdef HAVE_COMPLEX_H
24967 #include <complex.h>
24973 int (*ptr)() = (int (*)())casin;
24982 if ac_fn_c_try_link
"$LINENO"; then :
24983 gcc_cv_math_func_casin
=yes
24985 gcc_cv_math_func_casin
=no
24987 rm -f core conftest.err conftest.
$ac_objext \
24988 conftest
$ac_exeext conftest.
$ac_ext
24990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
24991 $as_echo "$gcc_cv_math_func_casin" >&6; }
24992 if test $gcc_cv_math_func_casin = yes; then
24994 cat >>confdefs.h
<<_ACEOF
24995 #define HAVE_CASIN 1
25003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
25004 $as_echo_n "checking for casinf... " >&6; }
25005 if test "${gcc_cv_math_func_casinf+set}" = set; then :
25006 $as_echo_n "(cached) " >&6
25008 if test x
$gcc_no_link = xyes
; then
25009 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25012 /* end confdefs.h. */
25014 #ifdef HAVE_COMPLEX_H
25015 #include <complex.h>
25021 int (*ptr)() = (int (*)())casinf;
25030 if ac_fn_c_try_link
"$LINENO"; then :
25031 gcc_cv_math_func_casinf
=yes
25033 gcc_cv_math_func_casinf
=no
25035 rm -f core conftest.err conftest.
$ac_objext \
25036 conftest
$ac_exeext conftest.
$ac_ext
25038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25039 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25040 if test $gcc_cv_math_func_casinf = yes; then
25042 cat >>confdefs.h
<<_ACEOF
25043 #define HAVE_CASINF 1
25051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25052 $as_echo_n "checking for casinh... " >&6; }
25053 if test "${gcc_cv_math_func_casinh+set}" = set; then :
25054 $as_echo_n "(cached) " >&6
25056 if test x
$gcc_no_link = xyes
; then
25057 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25060 /* end confdefs.h. */
25062 #ifdef HAVE_COMPLEX_H
25063 #include <complex.h>
25069 int (*ptr)() = (int (*)())casinh;
25078 if ac_fn_c_try_link
"$LINENO"; then :
25079 gcc_cv_math_func_casinh
=yes
25081 gcc_cv_math_func_casinh
=no
25083 rm -f core conftest.err conftest.
$ac_objext \
25084 conftest
$ac_exeext conftest.
$ac_ext
25086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25087 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25088 if test $gcc_cv_math_func_casinh = yes; then
25090 cat >>confdefs.h
<<_ACEOF
25091 #define HAVE_CASINH 1
25099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25100 $as_echo_n "checking for casinhf... " >&6; }
25101 if test "${gcc_cv_math_func_casinhf+set}" = set; then :
25102 $as_echo_n "(cached) " >&6
25104 if test x
$gcc_no_link = xyes
; then
25105 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25108 /* end confdefs.h. */
25110 #ifdef HAVE_COMPLEX_H
25111 #include <complex.h>
25117 int (*ptr)() = (int (*)())casinhf;
25126 if ac_fn_c_try_link
"$LINENO"; then :
25127 gcc_cv_math_func_casinhf
=yes
25129 gcc_cv_math_func_casinhf
=no
25131 rm -f core conftest.err conftest.
$ac_objext \
25132 conftest
$ac_exeext conftest.
$ac_ext
25134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25135 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25136 if test $gcc_cv_math_func_casinhf = yes; then
25138 cat >>confdefs.h
<<_ACEOF
25139 #define HAVE_CASINHF 1
25147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25148 $as_echo_n "checking for casinhl... " >&6; }
25149 if test "${gcc_cv_math_func_casinhl+set}" = set; then :
25150 $as_echo_n "(cached) " >&6
25152 if test x
$gcc_no_link = xyes
; then
25153 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25156 /* end confdefs.h. */
25158 #ifdef HAVE_COMPLEX_H
25159 #include <complex.h>
25165 int (*ptr)() = (int (*)())casinhl;
25174 if ac_fn_c_try_link
"$LINENO"; then :
25175 gcc_cv_math_func_casinhl
=yes
25177 gcc_cv_math_func_casinhl
=no
25179 rm -f core conftest.err conftest.
$ac_objext \
25180 conftest
$ac_exeext conftest.
$ac_ext
25182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25183 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25184 if test $gcc_cv_math_func_casinhl = yes; then
25186 cat >>confdefs.h
<<_ACEOF
25187 #define HAVE_CASINHL 1
25195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25196 $as_echo_n "checking for casinl... " >&6; }
25197 if test "${gcc_cv_math_func_casinl+set}" = set; then :
25198 $as_echo_n "(cached) " >&6
25200 if test x
$gcc_no_link = xyes
; then
25201 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25204 /* end confdefs.h. */
25206 #ifdef HAVE_COMPLEX_H
25207 #include <complex.h>
25213 int (*ptr)() = (int (*)())casinl;
25222 if ac_fn_c_try_link
"$LINENO"; then :
25223 gcc_cv_math_func_casinl
=yes
25225 gcc_cv_math_func_casinl
=no
25227 rm -f core conftest.err conftest.
$ac_objext \
25228 conftest
$ac_exeext conftest.
$ac_ext
25230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25231 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25232 if test $gcc_cv_math_func_casinl = yes; then
25234 cat >>confdefs.h
<<_ACEOF
25235 #define HAVE_CASINL 1
25243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25244 $as_echo_n "checking for catan... " >&6; }
25245 if test "${gcc_cv_math_func_catan+set}" = set; then :
25246 $as_echo_n "(cached) " >&6
25248 if test x
$gcc_no_link = xyes
; then
25249 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25252 /* end confdefs.h. */
25254 #ifdef HAVE_COMPLEX_H
25255 #include <complex.h>
25261 int (*ptr)() = (int (*)())catan;
25270 if ac_fn_c_try_link
"$LINENO"; then :
25271 gcc_cv_math_func_catan
=yes
25273 gcc_cv_math_func_catan
=no
25275 rm -f core conftest.err conftest.
$ac_objext \
25276 conftest
$ac_exeext conftest.
$ac_ext
25278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25279 $as_echo "$gcc_cv_math_func_catan" >&6; }
25280 if test $gcc_cv_math_func_catan = yes; then
25282 cat >>confdefs.h
<<_ACEOF
25283 #define HAVE_CATAN 1
25291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25292 $as_echo_n "checking for catanf... " >&6; }
25293 if test "${gcc_cv_math_func_catanf+set}" = set; then :
25294 $as_echo_n "(cached) " >&6
25296 if test x
$gcc_no_link = xyes
; then
25297 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25299 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25300 /* end confdefs.h. */
25302 #ifdef HAVE_COMPLEX_H
25303 #include <complex.h>
25309 int (*ptr)() = (int (*)())catanf;
25318 if ac_fn_c_try_link
"$LINENO"; then :
25319 gcc_cv_math_func_catanf
=yes
25321 gcc_cv_math_func_catanf
=no
25323 rm -f core conftest.err conftest.
$ac_objext \
25324 conftest
$ac_exeext conftest.
$ac_ext
25326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25327 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25328 if test $gcc_cv_math_func_catanf = yes; then
25330 cat >>confdefs.h
<<_ACEOF
25331 #define HAVE_CATANF 1
25339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25340 $as_echo_n "checking for catanh... " >&6; }
25341 if test "${gcc_cv_math_func_catanh+set}" = set; then :
25342 $as_echo_n "(cached) " >&6
25344 if test x
$gcc_no_link = xyes
; then
25345 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25348 /* end confdefs.h. */
25350 #ifdef HAVE_COMPLEX_H
25351 #include <complex.h>
25357 int (*ptr)() = (int (*)())catanh;
25366 if ac_fn_c_try_link
"$LINENO"; then :
25367 gcc_cv_math_func_catanh
=yes
25369 gcc_cv_math_func_catanh
=no
25371 rm -f core conftest.err conftest.
$ac_objext \
25372 conftest
$ac_exeext conftest.
$ac_ext
25374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25375 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25376 if test $gcc_cv_math_func_catanh = yes; then
25378 cat >>confdefs.h
<<_ACEOF
25379 #define HAVE_CATANH 1
25387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25388 $as_echo_n "checking for catanhf... " >&6; }
25389 if test "${gcc_cv_math_func_catanhf+set}" = set; then :
25390 $as_echo_n "(cached) " >&6
25392 if test x
$gcc_no_link = xyes
; then
25393 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25396 /* end confdefs.h. */
25398 #ifdef HAVE_COMPLEX_H
25399 #include <complex.h>
25405 int (*ptr)() = (int (*)())catanhf;
25414 if ac_fn_c_try_link
"$LINENO"; then :
25415 gcc_cv_math_func_catanhf
=yes
25417 gcc_cv_math_func_catanhf
=no
25419 rm -f core conftest.err conftest.
$ac_objext \
25420 conftest
$ac_exeext conftest.
$ac_ext
25422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25423 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25424 if test $gcc_cv_math_func_catanhf = yes; then
25426 cat >>confdefs.h
<<_ACEOF
25427 #define HAVE_CATANHF 1
25435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25436 $as_echo_n "checking for catanhl... " >&6; }
25437 if test "${gcc_cv_math_func_catanhl+set}" = set; then :
25438 $as_echo_n "(cached) " >&6
25440 if test x
$gcc_no_link = xyes
; then
25441 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25444 /* end confdefs.h. */
25446 #ifdef HAVE_COMPLEX_H
25447 #include <complex.h>
25453 int (*ptr)() = (int (*)())catanhl;
25462 if ac_fn_c_try_link
"$LINENO"; then :
25463 gcc_cv_math_func_catanhl
=yes
25465 gcc_cv_math_func_catanhl
=no
25467 rm -f core conftest.err conftest.
$ac_objext \
25468 conftest
$ac_exeext conftest.
$ac_ext
25470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25471 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25472 if test $gcc_cv_math_func_catanhl = yes; then
25474 cat >>confdefs.h
<<_ACEOF
25475 #define HAVE_CATANHL 1
25483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25484 $as_echo_n "checking for catanl... " >&6; }
25485 if test "${gcc_cv_math_func_catanl+set}" = set; then :
25486 $as_echo_n "(cached) " >&6
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. */
25494 #ifdef HAVE_COMPLEX_H
25495 #include <complex.h>
25501 int (*ptr)() = (int (*)())catanl;
25510 if ac_fn_c_try_link
"$LINENO"; then :
25511 gcc_cv_math_func_catanl
=yes
25513 gcc_cv_math_func_catanl
=no
25515 rm -f core conftest.err conftest.
$ac_objext \
25516 conftest
$ac_exeext conftest.
$ac_ext
25518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25519 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25520 if test $gcc_cv_math_func_catanl = yes; then
25522 cat >>confdefs.h
<<_ACEOF
25523 #define HAVE_CATANL 1
25529 # On AIX, clog is present in libm as __clog
25530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25531 $as_echo_n "checking for __clog in -lm... " >&6; }
25532 if test "${ac_cv_lib_m___clog+set}" = set; then :
25533 $as_echo_n "(cached) " >&6
25535 ac_check_lib_save_LIBS
=$LIBS
25537 if test x
$gcc_no_link = xyes
; then
25538 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25541 /* end confdefs.h. */
25543 /* Override any GCC internal prototype to avoid an error.
25544 Use char because int might match the return type of a GCC
25545 builtin and then its argument prototype would still apply. */
25558 if ac_fn_c_try_link
"$LINENO"; then :
25559 ac_cv_lib_m___clog
=yes
25561 ac_cv_lib_m___clog
=no
25563 rm -f core conftest.err conftest.
$ac_objext \
25564 conftest
$ac_exeext conftest.
$ac_ext
25565 LIBS
=$ac_check_lib_save_LIBS
25567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25568 $as_echo "$ac_cv_lib_m___clog" >&6; }
25569 if test "x$ac_cv_lib_m___clog" = x
""yes; then :
25571 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25576 # Check whether the system has a working stat()
25578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25579 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25580 if test "${libgfor_cv_have_working_stat+set}" = set; then :
25581 $as_echo_n "(cached) " >&6
25584 if test "$cross_compiling" = yes; then :
25586 case "${target}" in
25587 *mingw
*) libgfor_cv_have_working_stat
=no
;;
25588 *) libgfor_cv_have_working_stat
=yes;;
25591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25592 /* end confdefs.h. */
25595 #include <sys/types.h>
25596 #include <sys/stat.h>
25597 #include <unistd.h>
25602 struct stat st1, st2;
25604 f = fopen ("foo", "w");
25605 g = fopen ("bar", "w");
25606 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25608 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25615 if ac_fn_c_try_run
"$LINENO"; then :
25616 libgfor_cv_have_working_stat
=yes
25618 libgfor_cv_have_working_stat
=no
25620 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
25621 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
25625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25626 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25627 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
25629 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25633 # Check whether __mingw_snprintf() is present
25635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25636 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25637 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
25638 $as_echo_n "(cached) " >&6
25641 if test x
$gcc_no_link = xyes
; then
25642 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25645 /* end confdefs.h. */
25648 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25654 __mingw_snprintf (NULL, 0, "%d\n", 1);
25660 if ac_fn_c_try_link
"$LINENO"; then :
25661 eval "libgfor_cv_have_mingw_snprintf=yes"
25663 eval "libgfor_cv_have_mingw_snprintf=no"
25665 rm -f core conftest.err conftest.
$ac_objext \
25666 conftest
$ac_exeext conftest.
$ac_ext
25669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25670 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25671 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
25673 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25678 # Check whether libquadmath should be used
25679 # Check whether --enable-libquadmath-support was given.
25680 if test "${enable_libquadmath_support+set}" = set; then :
25681 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
25683 ENABLE_LIBQUADMATH_SUPPORT
=yes
25686 enable_libquadmath_support
=
25687 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25688 enable_libquadmath_support
=no
25691 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25695 if test "x$enable_libquadmath_support" != xno
; then
25697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25698 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25699 if test "${libgfor_cv_have_float128+set}" = set; then :
25700 $as_echo_n "(cached) " >&6
25703 if test x
$gcc_no_link = xyes
; then
25704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25705 /* end confdefs.h. */
25707 typedef _Complex float __attribute__((mode(TC))) __complex128;
25709 __float128 foo (__float128 x)
25712 __complex128 z1, z2;
25718 return (__float128) z2;
25721 __float128 bar (__float128 x)
25723 return x * __builtin_huge_valq ();
25737 if ac_fn_c_try_compile
"$LINENO"; then :
25739 libgfor_cv_have_float128
=yes
25743 libgfor_cv_have_float128
=no
25746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25748 if test x
$gcc_no_link = xyes
; then
25749 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25752 /* end confdefs.h. */
25754 typedef _Complex float __attribute__((mode(TC))) __complex128;
25756 __float128 foo (__float128 x)
25759 __complex128 z1, z2;
25765 return (__float128) z2;
25768 __float128 bar (__float128 x)
25770 return x * __builtin_huge_valq ();
25784 if ac_fn_c_try_link
"$LINENO"; then :
25786 libgfor_cv_have_float128
=yes
25790 libgfor_cv_have_float128
=no
25793 rm -f core conftest.err conftest.
$ac_objext \
25794 conftest
$ac_exeext conftest.
$ac_ext
25797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25798 $as_echo "$libgfor_cv_have_float128" >&6; }
25800 if test "x$libgfor_cv_have_float128" = xyes
; then
25802 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25805 ac_xsave_c_werror_flag
=$ac_c_werror_flag
25806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
25807 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
25808 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25809 $as_echo_n "(cached) " >&6
25812 # Test for native Solaris options first.
25813 # No whitespace after -z to pass it through -Wl.
25814 libgfor_cv_as_needed_option
="-zignore"
25815 libgfor_cv_no_as_needed_option
="-zrecord"
25816 save_LDFLAGS
="$LDFLAGS"
25817 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25818 libgfor_cv_have_as_needed
=no
25820 ac_c_werror_flag
=yes
25821 if test x
$gcc_no_link = xyes
; then
25822 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25825 /* end confdefs.h. */
25835 if ac_fn_c_try_link
"$LINENO"; then :
25836 libgfor_cv_have_as_needed
=yes
25838 libgfor_cv_have_as_needed
=no
25840 rm -f core conftest.err conftest.
$ac_objext \
25841 conftest
$ac_exeext conftest.
$ac_ext
25842 LDFLAGS
="$save_LDFLAGS"
25843 if test "x$libgfor_cv_have_as_needed" = xno
; then
25844 libgfor_cv_as_needed_option
="--as-needed"
25845 libgfor_cv_no_as_needed_option
="--no-as-needed"
25846 save_LDFLAGS
="$LDFLAGS"
25847 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25848 libgfor_cv_have_as_needed
=no
25850 ac_c_werror_flag
=yes
25851 if test x
$gcc_no_link = xyes
; then
25852 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25855 /* end confdefs.h. */
25865 if ac_fn_c_try_link
"$LINENO"; then :
25866 libgfor_cv_have_as_needed
=yes
25868 libgfor_cv_have_as_needed
=no
25870 rm -f core conftest.err conftest.
$ac_objext \
25871 conftest
$ac_exeext conftest.
$ac_ext
25872 LDFLAGS
="$save_LDFLAGS"
25874 ac_c_werror_flag
=$ac_xsave_c_werror_flag
25877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25878 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25880 if test "x$libgfor_cv_have_as_needed" = xyes
; then
25881 LIBQUADSPEC
="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
25883 LIBQUADSPEC
="-lquadmath"
25885 if test -f ..
/libquadmath
/libquadmath.la
; then
25886 LIBQUADLIB
=..
/libquadmath
/libquadmath.la
25887 LIBQUADLIB_DEP
=..
/libquadmath
/libquadmath.la
25888 LIBQUADINCLUDE
='-I$(srcdir)/../libquadmath'
25890 LIBQUADLIB
="-lquadmath"
25896 # for --disable-quadmath
25907 if test "x$libgfor_cv_have_float128" = xyes
; then
25908 LIBGFOR_BUILD_QUAD_TRUE
=
25909 LIBGFOR_BUILD_QUAD_FALSE
='#'
25911 LIBGFOR_BUILD_QUAD_TRUE
='#'
25912 LIBGFOR_BUILD_QUAD_FALSE
=
25917 # Check for GNU libc feenableexcept
25918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25919 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25920 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25921 $as_echo_n "(cached) " >&6
25923 ac_check_lib_save_LIBS
=$LIBS
25925 if test x
$gcc_no_link = xyes
; then
25926 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25929 /* end confdefs.h. */
25931 /* Override any GCC internal prototype to avoid an error.
25932 Use char because int might match the return type of a GCC
25933 builtin and then its argument prototype would still apply. */
25937 char feenableexcept ();
25941 return feenableexcept ();
25946 if ac_fn_c_try_link
"$LINENO"; then :
25947 ac_cv_lib_m_feenableexcept
=yes
25949 ac_cv_lib_m_feenableexcept
=no
25951 rm -f core conftest.err conftest.
$ac_objext \
25952 conftest
$ac_exeext conftest.
$ac_ext
25953 LIBS
=$ac_check_lib_save_LIBS
25955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25956 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25957 if test "x$ac_cv_lib_m_feenableexcept" = x
""yes; then :
25958 have_feenableexcept
=yes
25959 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25964 # At least for glibc, clock_gettime is in librt. But don't
25965 # pull that in if it still doesn't give us the function we want. This
25966 # test is copied from libgomp, and modified to not link in -lrt as
25967 # libgfortran calls clock_gettime via a weak reference if it's found
25969 if test "$ac_cv_func_clock_gettime" = no
; then
25970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25971 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25972 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25973 $as_echo_n "(cached) " >&6
25975 ac_check_lib_save_LIBS
=$LIBS
25977 if test x
$gcc_no_link = xyes
; then
25978 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25981 /* end confdefs.h. */
25983 /* Override any GCC internal prototype to avoid an error.
25984 Use char because int might match the return type of a GCC
25985 builtin and then its argument prototype would still apply. */
25989 char clock_gettime ();
25993 return clock_gettime ();
25998 if ac_fn_c_try_link
"$LINENO"; then :
25999 ac_cv_lib_rt_clock_gettime
=yes
26001 ac_cv_lib_rt_clock_gettime
=no
26003 rm -f core conftest.err conftest.
$ac_objext \
26004 conftest
$ac_exeext conftest.
$ac_ext
26005 LIBS
=$ac_check_lib_save_LIBS
26007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
26008 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
26009 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
26011 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
26017 # Check for SysV fpsetmask
26019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
26020 $as_echo_n "checking whether fpsetmask is present... " >&6; }
26021 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
26022 $as_echo_n "(cached) " >&6
26025 if test x
$gcc_no_link = xyes
; then
26026 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26029 /* end confdefs.h. */
26031 #if HAVE_FLOATINGPOINT_H
26032 # include <floatingpoint.h>
26033 #endif /* HAVE_FLOATINGPOINT_H */
26035 # include <ieeefp.h>
26036 #endif /* HAVE_IEEEFP_H */
26045 if ac_fn_c_try_link
"$LINENO"; then :
26046 eval "libgfor_cv_have_fpsetmask=yes"
26048 eval "libgfor_cv_have_fpsetmask=no"
26050 rm -f core conftest.err conftest.
$ac_objext \
26051 conftest
$ac_exeext conftest.
$ac_ext
26054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
26055 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
26056 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
26059 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
26063 ac_fn_c_check_type
"$LINENO" "fp_except" "ac_cv_type_fp_except" "
26064 #include <ieeefp.h>
26068 if test "x$ac_cv_type_fp_except" = x
""yes; then :
26070 cat >>confdefs.h
<<_ACEOF
26071 #define HAVE_FP_EXCEPT 1
26076 ac_fn_c_check_type
"$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
26077 #include <ieeefp.h>
26081 if test "x$ac_cv_type_fp_except_t" = x
""yes; then :
26083 cat >>confdefs.h
<<_ACEOF
26084 #define HAVE_FP_EXCEPT_T 1
26090 ac_fn_c_check_type
"$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
26091 #include <ieeefp.h>
26095 if test "x$ac_cv_type_fp_rnd" = x
""yes; then :
26097 cat >>confdefs.h
<<_ACEOF
26098 #define HAVE_FP_RND 1
26103 ac_fn_c_check_type
"$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
26104 #include <ieeefp.h>
26108 if test "x$ac_cv_type_fp_rnd_t" = x
""yes; then :
26110 cat >>confdefs.h
<<_ACEOF
26111 #define HAVE_FP_RND_T 1
26118 # Check whether we have fpsetsticky or fpresetsticky
26119 ac_fn_c_check_func
"$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
26120 if test "x$ac_cv_func_fpsetsticky" = x
""yes; then :
26121 have_fpsetsticky
=yes
26122 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
26126 ac_fn_c_check_func
"$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
26127 if test "x$ac_cv_func_fpresetsticky" = x
""yes; then :
26128 have_fpresetsticky
=yes
26129 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
26134 # Check for AIX fp_trap and fp_enable
26135 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
26136 if test "x$ac_cv_func_fp_trap" = x
""yes; then :
26138 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
26142 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
26143 if test "x$ac_cv_func_fp_enable" = x
""yes; then :
26145 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
26150 # Runs configure.host to set up necessary host-dependent shell variables.
26151 # We then display a message about it, and propagate them through the
26153 .
${srcdir}/configure.
host
26154 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
26155 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
26156 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
26157 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
26158 FPU_HOST_HEADER
=config
/${fpu_host}.h
26161 # Whether we will build the IEEE modules
26162 if test x
${ieee_support} = xyes
; then
26164 IEEE_SUPPORT_FALSE
='#'
26166 IEEE_SUPPORT_TRUE
='#'
26167 IEEE_SUPPORT_FALSE
=
26172 # Some targets require additional compiler options for IEEE compatibility.
26173 IEEE_FLAGS
="${ieee_flags}"
26177 # Check for POSIX getpwuid_r
26179 # There are two versions of getpwuid_r, the POSIX one with 5
26180 # arguments, and another one with 4 arguments used by at least HP-UX
26182 if test "$ac_cv_func_getpwuid_r" = "yes"; then
26183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
26184 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
26185 if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
26186 $as_echo_n "(cached) " >&6
26189 if test x
$gcc_no_link = xyes
; then
26190 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26193 /* end confdefs.h. */
26196 #include <sys/types.h>
26202 getpwuid_r(0, NULL, NULL, 0, NULL);
26208 if ac_fn_c_try_link
"$LINENO"; then :
26209 libgfor_cv_posix_getpwuid_r
="yes"
26211 libgfor_cv_posix_getpwuid_r
="no"
26213 rm -f core conftest.err conftest.
$ac_objext \
26214 conftest
$ac_exeext conftest.
$ac_ext
26216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
26217 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
26219 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
26221 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
26226 # Check out attribute support.
26228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
26229 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
26230 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
26231 $as_echo_n "(cached) " >&6
26234 save_CFLAGS
="$CFLAGS"
26235 CFLAGS
="$CFLAGS -Werror"
26236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26237 /* end confdefs.h. */
26238 void __attribute__((visibility("hidden"))) foo(void) { }
26247 if ac_fn_c_try_compile
"$LINENO"; then :
26248 libgfor_cv_have_attribute_visibility
=yes
26250 libgfor_cv_have_attribute_visibility
=no
26252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26253 CFLAGS
="$save_CFLAGS"
26255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26256 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26257 if test $libgfor_cv_have_attribute_visibility = yes; then
26259 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
26264 $as_echo_n "checking whether the target supports dllexport... " >&6; }
26265 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
26266 $as_echo_n "(cached) " >&6
26269 save_CFLAGS
="$CFLAGS"
26270 CFLAGS
="$CFLAGS -Werror"
26271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26272 /* end confdefs.h. */
26273 void __attribute__((dllexport)) foo(void) { }
26282 if ac_fn_c_try_compile
"$LINENO"; then :
26283 libgfor_cv_have_attribute_dllexport
=yes
26285 libgfor_cv_have_attribute_dllexport
=no
26287 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26288 CFLAGS
="$save_CFLAGS"
26290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
26291 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
26292 if test $libgfor_cv_have_attribute_dllexport = yes; then
26294 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
26298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26299 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26300 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
26301 $as_echo_n "(cached) " >&6
26304 if test x
$gcc_no_link = xyes
; then
26305 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26308 /* end confdefs.h. */
26311 extern void bar(void) __attribute__((alias("foo")));
26320 if ac_fn_c_try_link
"$LINENO"; then :
26321 libgfor_cv_have_attribute_alias
=yes
26323 libgfor_cv_have_attribute_alias
=no
26325 rm -f core conftest.err conftest.
$ac_objext \
26326 conftest
$ac_exeext conftest.
$ac_ext
26328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26329 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26330 if test $libgfor_cv_have_attribute_alias = yes; then
26332 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26336 # Check out sync builtins support.
26338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
26339 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
26340 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
26341 $as_echo_n "(cached) " >&6
26344 if test x
$gcc_no_link = xyes
; then
26345 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26348 /* end confdefs.h. */
26354 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
26355 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
26360 if ac_fn_c_try_link
"$LINENO"; then :
26361 libgfor_cv_have_sync_fetch_and_add
=yes
26363 libgfor_cv_have_sync_fetch_and_add
=no
26365 rm -f core conftest.err conftest.
$ac_objext \
26366 conftest
$ac_exeext conftest.
$ac_ext
26368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
26369 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
26370 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
26372 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
26376 # Check out #pragma weak.
26378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26379 $as_echo_n "checking whether pragma weak works... " >&6; }
26380 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
26381 $as_echo_n "(cached) " >&6
26384 gfor_save_CFLAGS
="$CFLAGS"
26385 CFLAGS
="$CFLAGS -Wunknown-pragmas"
26386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26387 /* end confdefs.h. */
26400 if ac_fn_c_try_compile
"$LINENO"; then :
26401 libgfor_cv_have_pragma_weak
=yes
26403 libgfor_cv_have_pragma_weak
=no
26405 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26408 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26409 if test $libgfor_cv_have_pragma_weak = yes; then
26411 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26415 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* )
26417 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26422 # Various other checks on target
26424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26425 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26426 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
26427 $as_echo_n "(cached) " >&6
26430 if test "$cross_compiling" = yes; then :
26432 case "${target}" in
26433 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
26434 *) libgfor_cv_have_unlink_open_file
=yes;;
26437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26438 /* end confdefs.h. */
26442 #include <unistd.h>
26443 #include <sys/stat.h>
26449 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26452 if (unlink ("testfile") == -1)
26454 write (fd, "This is a test\n", 15);
26457 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26463 if ac_fn_c_try_run
"$LINENO"; then :
26464 libgfor_cv_have_unlink_open_file
=yes
26466 libgfor_cv_have_unlink_open_file
=no
26468 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26469 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26474 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26475 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
26477 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26481 # Check whether line terminator is LF or CRLF
26483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26484 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26485 if test "${libgfor_cv_have_crlf+set}" = set; then :
26486 $as_echo_n "(cached) " >&6
26489 if test "$cross_compiling" = yes; then :
26491 case "${target}" in
26492 *mingw
*) libgfor_cv_have_crlf
=yes ;;
26493 *) libgfor_cv_have_crlf
=no
;;
26496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26497 /* end confdefs.h. */
26499 /* This test program should exit with status 0 if system uses a CRLF as
26500 line terminator, and status 1 otherwise.
26501 Since it is used to check for mingw systems, and should return 0 in any
26502 other case, in case of a failure we will not use CRLF. */
26503 #include <sys/stat.h>
26504 #include <stdlib.h>
26516 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26519 if (write (fd, "\n", 1) < 0)
26524 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26526 bytes = read (fd, buff, 5);
26527 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26534 if ac_fn_c_try_run
"$LINENO"; then :
26535 libgfor_cv_have_crlf
=yes
26537 libgfor_cv_have_crlf
=no
26539 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26540 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26545 $as_echo "$libgfor_cv_have_crlf" >&6; }
26546 if test x
"$libgfor_cv_have_crlf" = xyes
; then
26548 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26552 # Check whether we have _Unwind_GetIPInfo for backtrace
26555 # Check whether --with-system-libunwind was given.
26556 if test "${with_system_libunwind+set}" = set; then :
26557 withval
=$with_system_libunwind;
26560 # If system-libunwind was not specifically set, pick a default setting.
26561 if test x
$with_system_libunwind = x
; then
26563 ia64-
*-hpux*) with_system_libunwind
=yes ;;
26564 *) with_system_libunwind
=no
;;
26567 # Based on system-libunwind and target, do we have ipinfo?
26568 if test x
$with_system_libunwind = xyes
; then
26570 ia64-
*-*) have_unwind_getipinfo
=no
;;
26571 *) have_unwind_getipinfo
=yes ;;
26574 # Darwin before version 9 does not have _Unwind_GetIPInfo.
26577 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
26578 *) have_unwind_getipinfo
=yes ;;
26583 if test x
$have_unwind_getipinfo = xyes
; then
26585 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
26590 cat >confcache
<<\_ACEOF
26591 # This file is a shell script that caches the results of configure
26592 # tests run on this system so they can be shared between configure
26593 # scripts and configure runs, see configure's option --config-cache.
26594 # It is not useful on other systems. If it contains results you don't
26595 # want to keep, you may remove or edit it.
26597 # config.status only pays attention to the cache file if you give it
26598 # the --recheck option to rerun configure.
26600 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26601 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26602 # following values.
26606 # The following way of writing the cache mishandles newlines in values,
26607 # but we know of no workaround that is simple, portable, and efficient.
26608 # So, we kill variables containing newlines.
26609 # Ultrix sh set writes to stderr and can't be redirected directly,
26610 # and sets the high bit in the cache file unless we assign to the vars.
26612 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26613 eval ac_val
=\$
$ac_var
26617 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26618 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26621 _ | IFS | as_nl
) ;; #(
26622 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26623 *) { eval $ac_var=; unset $ac_var;} ;;
26629 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26630 *${as_nl}ac_space
=\
*)
26631 # `set' does not quote correctly, so add quotes: double-quote
26632 # substitution turns \\\\ into \\, and sed turns \\ into \.
26635 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26638 # `set' quotes correctly as required by POSIX, so do not add quotes.
26639 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26648 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26650 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26652 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26653 if test -w "$cache_file"; then
26654 test "x$cache_file" != "x/dev/null" &&
26655 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26656 $as_echo "$as_me: updating cache $cache_file" >&6;}
26657 cat confcache
>$cache_file
26659 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26660 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26665 if test ${multilib} = yes; then
26666 multilib_arg
="--enable-multilib"
26671 # Write our Makefile and spec file.
26672 ac_config_files
="$ac_config_files Makefile libgfortran.spec"
26674 cat >confcache
<<\_ACEOF
26675 # This file is a shell script that caches the results of configure
26676 # tests run on this system so they can be shared between configure
26677 # scripts and configure runs, see configure's option --config-cache.
26678 # It is not useful on other systems. If it contains results you don't
26679 # want to keep, you may remove or edit it.
26681 # config.status only pays attention to the cache file if you give it
26682 # the --recheck option to rerun configure.
26684 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26685 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26686 # following values.
26690 # The following way of writing the cache mishandles newlines in values,
26691 # but we know of no workaround that is simple, portable, and efficient.
26692 # So, we kill variables containing newlines.
26693 # Ultrix sh set writes to stderr and can't be redirected directly,
26694 # and sets the high bit in the cache file unless we assign to the vars.
26696 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26697 eval ac_val
=\$
$ac_var
26701 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26702 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26705 _ | IFS | as_nl
) ;; #(
26706 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26707 *) { eval $ac_var=; unset $ac_var;} ;;
26713 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26714 *${as_nl}ac_space
=\
*)
26715 # `set' does not quote correctly, so add quotes: double-quote
26716 # substitution turns \\\\ into \\, and sed turns \\ into \.
26719 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26722 # `set' quotes correctly as required by POSIX, so do not add quotes.
26723 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26732 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26734 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26736 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26737 if test -w "$cache_file"; then
26738 test "x$cache_file" != "x/dev/null" &&
26739 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26740 $as_echo "$as_me: updating cache $cache_file" >&6;}
26741 cat confcache
>$cache_file
26743 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26744 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26749 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
26750 # Let make expand exec_prefix.
26751 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
26753 DEFS
=-DHAVE_CONFIG_H
26757 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
26758 # 1. Remove the extension, and $U if already installed.
26759 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
26760 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
26761 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26762 # will be set to the directory where LIBOBJS objects are built.
26763 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26764 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
26766 LIBOBJS
=$ac_libobjs
26768 LTLIBOBJS
=$ac_ltlibobjs
26771 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26772 as_fn_error
"conditional \"onestep\" was never defined.
26773 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26775 if test -n "$EXEEXT"; then
26777 am__EXEEXT_FALSE
='#'
26779 am__EXEEXT_TRUE
='#'
26783 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26784 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
26785 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26787 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26788 as_fn_error
"conditional \"AMDEP\" was never defined.
26789 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26791 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26792 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26795 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26796 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26799 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
26800 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
26801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26803 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
26804 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
26805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26807 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
26808 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
26809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26811 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
26812 as_fn_error
"conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
26813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26815 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
26816 as_fn_error
"conditional \"IEEE_SUPPORT\" was never defined.
26817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26820 : ${CONFIG_STATUS=./config.status}
26822 ac_clean_files_save
=$ac_clean_files
26823 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
26824 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26825 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26827 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26829 # Generated by $as_me.
26830 # Run this file to recreate the current configuration.
26831 # Compiler output produced by configure, useful for debugging
26832 # configure, is in config.log if it exists.
26835 ac_cs_recheck=false
26838 SHELL=\${CONFIG_SHELL-$SHELL}
26841 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
26842 ## -------------------- ##
26843 ## M4sh Initialization. ##
26844 ## -------------------- ##
26846 # Be more Bourne compatible
26847 DUALCASE
=1; export DUALCASE
# for MKS sh
26848 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
26851 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26852 # is contrary to our usage. Disable this feature.
26853 alias -g '${1+"$@"}'='"$@"'
26854 setopt NO_GLOB_SUBST
26856 case `(set -o) 2>/dev/null` in #(
26868 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26869 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26870 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26871 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26872 # Prefer a ksh shell builtin over an external printf program on Solaris,
26873 # but without wasting forks for bash or zsh.
26874 if test -z "$BASH_VERSION$ZSH_VERSION" \
26875 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26876 as_echo='print
-r --'
26877 as_echo_n='print
-rn --'
26878 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26879 as_echo='printf %s
\n'
26880 as_echo_n='printf %s
'
26882 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26883 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
26884 as_echo_n='/usr
/ucb
/echo -n'
26886 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26887 as_echo_n_body='eval
26891 expr "X$arg" : "X\\(.*\\)$as_nl";
26892 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26894 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
26896 export as_echo_n_body
26897 as_echo_n='sh
-c $as_echo_n_body as_echo
'
26899 export as_echo_body
26900 as_echo='sh
-c $as_echo_body as_echo
'
26903 # The user is always right.
26904 if test "${PATH_SEPARATOR+set}" != set; then
26906 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26907 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26914 # We need space, tab and new line, in precisely that order. Quoting is
26915 # there to prevent editors from complaining about space-tab.
26916 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26917 # splitting by setting IFS to empty value.)
26920 # Find who we are. Look in the path if we contain no directory separator.
26922 *[\\/]* ) as_myself=$0 ;;
26923 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26924 for as_dir in $PATH
26927 test -z "$as_dir" && as_dir=.
26928 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26934 # We did not find ourselves, most probably we were run as `sh COMMAND'
26935 # in which case we are not to be found in the path.
26936 if test "x$as_myself" = x
; then
26939 if test ! -f "$as_myself"; then
26940 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26944 # Unset variables that we do not need and which cause bugs (e.g. in
26945 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26946 # suppresses any "Segmentation fault" message there. '((' could
26947 # trigger a bug in pdksh 5.2.14.
26948 for as_var
in BASH_ENV ENV MAIL MAILPATH
26949 do eval test x\
${$as_var+set} = xset \
26950 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
26963 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
26966 # as_fn_error ERROR [LINENO LOG_FD]
26967 # ---------------------------------
26968 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26969 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26970 # script with status $?, using 1 if that was 0.
26973 as_status
=$?
; test $as_status -eq 0 && as_status
=1
26975 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
26976 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26978 $as_echo "$as_me: error: $1" >&2
26979 as_fn_exit
$as_status
26983 # as_fn_set_status STATUS
26984 # -----------------------
26985 # Set $? to STATUS, without forking.
26986 as_fn_set_status
()
26989 } # as_fn_set_status
26991 # as_fn_exit STATUS
26992 # -----------------
26993 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26997 as_fn_set_status
$1
27003 # Portably unset VAR.
27006 { eval $1=; unset $1;}
27008 as_unset
=as_fn_unset
27009 # as_fn_append VAR VALUE
27010 # ----------------------
27011 # Append the text in VALUE to the end of the definition contained in VAR. Take
27012 # advantage of any shell optimizations that allow amortized linear growth over
27013 # repeated appends, instead of the typical quadratic growth present in naive
27015 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
27016 eval 'as_fn_append ()
27027 # as_fn_arith ARG...
27028 # ------------------
27029 # Perform arithmetic evaluation on the ARGs, and store the result in the
27030 # global $as_val. Take advantage of shells that can avoid forks. The arguments
27031 # must be portable across $(()) and expr.
27032 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
27033 eval 'as_fn_arith ()
27040 as_val
=`expr "$@" || test $? -eq 1`
27045 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
27046 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
27052 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
27053 as_basename
=basename
27058 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
27064 as_me
=`$as_basename -- "$0" ||
27065 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27066 X"$0" : 'X\(//\)$' \| \
27067 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27069 sed '/^.*\/\([^/][^/]*\)\/*$/{
27083 # Avoid depending upon Character Ranges.
27084 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
27085 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27086 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
27087 as_cr_digits
='0123456789'
27088 as_cr_alnum
=$as_cr_Letters$as_cr_digits
27090 ECHO_C
= ECHO_N
= ECHO_T
=
27091 case `echo -n x` in #(((((
27093 case `echo 'xy\c'` in
27094 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
27096 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
27103 rm -f conf$$ conf$$.exe conf$$.
file
27104 if test -d conf$$.dir
; then
27105 rm -f conf$$.dir
/conf$$.
file
27108 mkdir conf$$.dir
2>/dev
/null
27110 if (echo >conf$$.
file) 2>/dev
/null
; then
27111 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
27113 # ... but there are two gotchas:
27114 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27115 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27116 # In both cases, we have to default to `cp -p'.
27117 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
27119 elif ln conf$$.
file conf$$
2>/dev
/null
; then
27127 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
27128 rmdir conf$$.dir
2>/dev
/null
27133 # Create "$as_dir" as a directory, including parents if necessary.
27138 -*) as_dir
=.
/$as_dir;;
27140 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
27144 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27145 *) as_qdir
=$as_dir;;
27147 as_dirs
="'$as_qdir' $as_dirs"
27148 as_dir
=`$as_dirname -- "$as_dir" ||
27149 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27150 X"$as_dir" : 'X\(//\)[^/]' \| \
27151 X"$as_dir" : 'X\(//\)$' \| \
27152 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27153 $as_echo X"$as_dir" |
27154 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27158 /^X\(\/\/\)[^/].*/{
27171 test -d "$as_dir" && break
27173 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
27174 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
27178 if mkdir
-p .
2>/dev
/null
; then
27179 as_mkdir_p
='mkdir -p "$as_dir"'
27181 test -d .
/-p && rmdir .
/-p
27185 if test -x / >/dev
/null
2>&1; then
27186 as_test_x
='test -x'
27188 if ls -dL / >/dev
/null
2>&1; then
27195 if test -d "$1"; then
27201 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
27202 ???[sx]*):;;*)false;;esac;fi
27206 as_executable_p
=$as_test_x
27208 # Sed expression to map a string onto a valid CPP name.
27209 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27211 # Sed expression to map a string onto a valid variable name.
27212 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27216 ## ----------------------------------- ##
27217 ## Main body of $CONFIG_STATUS script. ##
27218 ## ----------------------------------- ##
27220 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
27222 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27223 # Save the log message, to keep $0 and so on meaningful, and to
27224 # report actual input values of CONFIG_FILES etc. instead of their
27225 # values after options handling.
27227 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27228 generated by GNU Autoconf 2.64. Invocation command line was
27230 CONFIG_FILES = $CONFIG_FILES
27231 CONFIG_HEADERS = $CONFIG_HEADERS
27232 CONFIG_LINKS = $CONFIG_LINKS
27233 CONFIG_COMMANDS = $CONFIG_COMMANDS
27236 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27241 case $ac_config_files in *"
27242 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
27245 case $ac_config_headers in *"
27246 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
27250 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27251 # Files that config.status was made for.
27252 config_files="$ac_config_files"
27253 config_headers="$ac_config_headers"
27254 config_commands="$ac_config_commands"
27258 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27260 \`$as_me' instantiates files and other configuration actions
27261 from templates according to the current configuration. Unless the files
27262 and actions are specified as TAGs, all are instantiated by default.
27264 Usage: $0 [OPTION]... [TAG]...
27266 -h, --help print this help, then exit
27267 -V, --version print version number and configuration settings, then exit
27268 -q, --quiet, --silent
27269 do not print progress messages
27270 -d, --debug don't remove temporary files
27271 --recheck update $as_me by reconfiguring in the same conditions
27272 --file=FILE[:TEMPLATE]
27273 instantiate the configuration file FILE
27274 --header=FILE[:TEMPLATE]
27275 instantiate the configuration header FILE
27277 Configuration files:
27280 Configuration headers:
27283 Configuration commands:
27286 Report bugs to the package provider.
27287 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27288 General help using GNU software: <http://www.gnu.org/gethelp/>."
27291 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27293 GNU Fortran Runtime Library config.status 0.3
27294 configured by $0, generated by GNU Autoconf 2.64,
27295 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
27297 Copyright (C) 2009 Free Software Foundation, Inc.
27298 This config.status script is free software; the Free Software Foundation
27299 gives unlimited permission to copy, distribute and modify it."
27306 test -n "\$AWK" || AWK=awk
27309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27310 # The default lists apply if the user does not specify any file.
27316 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
27317 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
27328 # Handling of the options.
27329 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
27331 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
27332 $as_echo "$ac_cs_version"; exit ;;
27333 --debug |
--debu |
--deb |
--de |
--d |
-d )
27335 --file |
--fil |
--fi |
--f )
27338 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27340 as_fn_append CONFIG_FILES
" '$ac_optarg'"
27341 ac_need_defaults
=false
;;
27342 --header |
--heade |
--head |
--hea )
27345 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27347 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
27348 ac_need_defaults
=false
;;
27350 # Conflict between --help and --header
27351 as_fn_error
"ambiguous option: \`$1'
27352 Try \`$0 --help' for more information.";;
27353 --help |
--hel |
-h )
27354 $as_echo "$ac_cs_usage"; exit ;;
27355 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
27356 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
27359 # This is an error.
27360 -*) as_fn_error
"unrecognized option: \`$1'
27361 Try \`$0 --help' for more information." ;;
27363 *) as_fn_append ac_config_targets
" $1"
27364 ac_need_defaults
=false
;;
27370 ac_configure_extra_args
=
27372 if $ac_cs_silent; then
27374 ac_configure_extra_args
="$ac_configure_extra_args --silent"
27378 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27379 if \$ac_cs_recheck; then
27380 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27382 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27383 CONFIG_SHELL='$SHELL'
27384 export CONFIG_SHELL
27389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27393 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27394 ## Running $as_me. ##
27400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27408 with_multisubdir="$with_multisubdir"
27409 with_multisrctop="$with_multisrctop"
27410 with_target_subdir="$with_target_subdir"
27411 ac_configure_args="${multilib_arg} ${ac_configure_args}"
27412 multi_basedir="$multi_basedir"
27413 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27416 GFORTRAN="$GFORTRAN"
27418 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27421 # The HP-UX ksh and POSIX shell print the target directory to stdout
27422 # if CDPATH is set.
27423 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27425 sed_quote_subst='$sed_quote_subst'
27426 double_quote_subst='$double_quote_subst'
27427 delay_variable_subst='$delay_variable_subst'
27428 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27429 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27430 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27431 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27432 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27433 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27434 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27435 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27436 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27437 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27438 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27439 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27440 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27441 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27442 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27443 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27444 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27445 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27446 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27447 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27448 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27449 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27450 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27451 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27452 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27453 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27454 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27455 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27456 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27457 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27458 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27459 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27460 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27461 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27462 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27463 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27464 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27465 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27466 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27467 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27468 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27469 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27470 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27471 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27472 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27473 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27474 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27475 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27476 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"`'
27477 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27478 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27479 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27480 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27481 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27482 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27483 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27484 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27485 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27486 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27487 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27488 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27489 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27490 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27491 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27492 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27493 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27494 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27495 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27496 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27497 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27498 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27499 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27500 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27501 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27502 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27503 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27504 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27505 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27506 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27507 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27508 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27509 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27510 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27511 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27512 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27513 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27514 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27515 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27516 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27517 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27518 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27519 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27520 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27521 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27522 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27523 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27524 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27525 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27526 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27527 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27528 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27529 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27530 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27531 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27532 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27533 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27534 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27535 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27536 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27537 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27538 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27539 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27540 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27541 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27542 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27543 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27544 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27545 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27546 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27547 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27548 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27549 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27550 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27551 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27552 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27553 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27554 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27555 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27556 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27557 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27558 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27559 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27560 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27561 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27562 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27563 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27564 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27565 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27566 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27567 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27568 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27569 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27570 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27571 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27572 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27573 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27574 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27575 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27576 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27577 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27578 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27579 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27580 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27581 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27582 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27583 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27584 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27585 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27586 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27587 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27588 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27589 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27590 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27591 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27592 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27593 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27594 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27595 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27596 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27597 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27598 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27599 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27600 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27601 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27602 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27605 LTCFLAGS='$LTCFLAGS'
27606 compiler='$compiler_DEFAULT'
27608 # A function that is used when there is no print builtin or printf.
27609 func_fallback_echo ()
27611 eval 'cat <<_LTECHO_EOF
27616 # Quote evaled strings.
27630 deplibs_check_method \
27639 lt_cv_sys_global_symbol_pipe \
27640 lt_cv_sys_global_symbol_to_cdecl \
27641 lt_cv_sys_global_symbol_to_c_name_address \
27642 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27643 lt_prog_compiler_no_builtin_flag \
27644 lt_prog_compiler_wl \
27645 lt_prog_compiler_pic \
27646 lt_prog_compiler_static \
27647 lt_cv_prog_compiler_c_o \
27655 export_dynamic_flag_spec \
27656 whole_archive_flag_spec \
27657 compiler_needs_object \
27659 allow_undefined_flag \
27660 no_undefined_flag \
27661 hardcode_libdir_flag_spec \
27662 hardcode_libdir_flag_spec_ld \
27663 hardcode_libdir_separator \
27668 variables_saved_for_relink \
27670 library_names_spec \
27672 install_override_mode \
27676 compiler_lib_search_dirs \
27681 compiler_lib_search_path \
27685 lt_prog_compiler_no_builtin_flag_FC \
27686 lt_prog_compiler_wl_FC \
27687 lt_prog_compiler_pic_FC \
27688 lt_prog_compiler_static_FC \
27689 lt_cv_prog_compiler_c_o_FC \
27690 export_dynamic_flag_spec_FC \
27691 whole_archive_flag_spec_FC \
27692 compiler_needs_object_FC \
27694 allow_undefined_flag_FC \
27695 no_undefined_flag_FC \
27696 hardcode_libdir_flag_spec_FC \
27697 hardcode_libdir_flag_spec_ld_FC \
27698 hardcode_libdir_separator_FC \
27699 fix_srcfile_path_FC \
27700 exclude_expsyms_FC \
27701 include_expsyms_FC \
27702 file_list_spec_FC \
27703 compiler_lib_search_dirs_FC \
27704 predep_objects_FC \
27705 postdep_objects_FC \
27708 compiler_lib_search_path_FC; do
27709 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27710 *[\\\\\\\`\\"\\\$]*)
27711 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27714 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27719 # Double-quote double-evaled strings.
27720 for var in reload_cmds \
27721 old_postinstall_cmds \
27722 old_postuninstall_cmds \
27724 extract_expsyms_cmds \
27725 old_archive_from_new_cmds \
27726 old_archive_from_expsyms_cmds \
27728 archive_expsym_cmds \
27730 module_expsym_cmds \
27731 export_symbols_cmds \
27734 postuninstall_cmds \
27736 sys_lib_search_path_spec \
27737 sys_lib_dlsearch_path_spec \
27739 old_archive_cmds_FC \
27740 old_archive_from_new_cmds_FC \
27741 old_archive_from_expsyms_cmds_FC \
27743 archive_expsym_cmds_FC \
27745 module_expsym_cmds_FC \
27746 export_symbols_cmds_FC \
27747 prelink_cmds_FC; do
27748 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27749 *[\\\\\\\`\\"\\\$]*)
27750 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27753 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27758 ac_aux_dir='$ac_aux_dir'
27759 xsi_shell='$xsi_shell'
27760 lt_shell_append='$lt_shell_append'
27762 # See if we are running on zsh, and set the options which allow our
27763 # commands through without removal of \ escapes INIT.
27764 if test -n "\${ZSH_VERSION+set}" ; then
27765 setopt NO_GLOB_SUBST
27771 TIMESTAMP='$TIMESTAMP'
27782 acx_cv_header_stdint="$acx_cv_header_stdint"
27783 acx_cv_type_int8_t="$acx_cv_type_int8_t"
27784 acx_cv_type_int16_t="$acx_cv_type_int16_t"
27785 acx_cv_type_int32_t="$acx_cv_type_int32_t"
27786 acx_cv_type_int64_t="$acx_cv_type_int64_t"
27787 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
27788 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
27789 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
27790 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27791 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27792 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
27793 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27794 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27795 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
27800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27802 # Handling of arguments.
27803 for ac_config_target
in $ac_config_targets
27805 case $ac_config_target in
27806 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
27807 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
27808 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
27809 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
27810 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
27811 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
27812 "libgfortran.spec") CONFIG_FILES
="$CONFIG_FILES libgfortran.spec" ;;
27814 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27819 # If the user did not use the arguments to specify the items to instantiate,
27820 # then the envvar interface is used. Set only those that are not.
27821 # We use the long form for the default assignment because of an extremely
27822 # bizarre bug on SunOS 4.1.3.
27823 if $ac_need_defaults; then
27824 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
27825 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
27826 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
27829 # Have a temporary directory for convenience. Make it in the build tree
27830 # simply because there is no reason against having it here, and in addition,
27831 # creating and moving files from /tmp can sometimes cause problems.
27832 # Hook for its removal unless debugging.
27833 # Note that there is a small window in which the directory will not be cleaned:
27834 # after its creation but before its name has been assigned to `$tmp'.
27838 trap 'exit_status=$?
27839 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27841 trap 'as_fn_exit 1' 1 2 13 15
27843 # Create a (secure) tmp directory for tmp files.
27846 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27847 test -n "$tmp" && test -d "$tmp"
27850 tmp
=.
/conf$$
-$RANDOM
27851 (umask 077 && mkdir
"$tmp")
27852 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
27854 # Set up the scripts for CONFIG_FILES section.
27855 # No need to generate them if there are no CONFIG_FILES.
27856 # This happens for instance with `./config.status config.h'.
27857 if test -n "$CONFIG_FILES"; then
27860 ac_cr
=`echo X | tr X '\015'`
27861 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27862 # But we know of no other shell where ac_cr would be empty at this
27863 # point, so we can use a bashism as a fallback.
27864 if test "x$ac_cr" = x
; then
27865 eval ac_cr
=\$
\'\\r
\'
27867 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27868 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27871 ac_cs_awk_cr
=$ac_cr
27874 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27879 echo "cat >conf$$subs.awk <<_ACEOF" &&
27880 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27882 } >conf$$subs.sh ||
27883 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27884 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27886 for ac_last_try in false false false false false :; do
27887 . ./conf$$subs.sh ||
27888 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27890 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
27891 if test $ac_delim_n = $ac_delim_num; then
27893 elif $ac_last_try; then
27894 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27896 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27899 rm -f conf$$subs.sh
27901 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27902 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
27906 s/^/S["/; s
/!.
*/"]=/
27916 s/\(.\{148\}\).*/\1/
27918 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
27923 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27930 s/\(.\{148\}\).*/\1/
27932 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
27936 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27941 ' <conf$$subs.awk | sed '
27946 ' >>$CONFIG_STATUS || ac_write_fail=1
27947 rm -f conf$$subs.awk
27948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27950 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
27951 for (key in S) S_is_set[key] = 1
27957 nfields = split(line, field, "@
")
27959 len = length(field[1])
27960 for (i = 2; i < nfields; i++) {
27962 keylen = length(key)
27963 if (S_is_set[key]) {
27965 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27966 len += length(value) + length(field[++i])
27977 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27978 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27979 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
27982 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
27983 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
27986 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27987 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
27988 # trailing colons and then remove the whole line if VPATH becomes empty
27989 # (actually we leave an empty line to preserve line numbers).
27990 if test "x
$srcdir" = x.; then
27991 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27992 s/:*\$(srcdir):*/:/
27993 s/:*\${srcdir}:*/:/
27995 s/^\([^=]*=[ ]*\):*/\1/
28001 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28002 fi # test -n "$CONFIG_FILES"
28004 # Set up the scripts for CONFIG_HEADERS section.
28005 # No need to generate them if there are no CONFIG_HEADERS.
28006 # This happens for instance with `./config.status Makefile'.
28007 if test -n "$CONFIG_HEADERS"; then
28008 cat >"$tmp/defines.
awk" <<\_ACAWK ||
28012 # Transform confdefs.h into an awk script `defines.awk', embedded as
28013 # here-document in config.status, that substitutes the proper values into
28014 # config.h.in to produce config.h.
28016 # Create a delimiter string that does not exist in confdefs.h, to ease
28017 # handling of long lines.
28019 for ac_last_try in false false :; do
28020 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
28021 if test -z "$ac_t"; then
28023 elif $ac_last_try; then
28024 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
28026 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
28030 # For the awk script, D is an array of macro values keyed by name,
28031 # likewise P contains macro parameters if any. Preserve backslash
28032 # newline sequences.
28034 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
28036 s/.\{148\}/&'"$ac_delim"'/g
28039 s/^[ ]*#[ ]*define[ ][ ]*/ /
28046 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
28048 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
28052 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
28053 D["\
1"]=" \
3\\\\\\n
"\\/p
28055 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
28060 s/.\{148\}/&'"$ac_delim"'/g
28065 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
28068 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
28070 ' <confdefs.h | sed '
28071 s/'"$ac_delim"'/"\\\
28072 "/g' >>$CONFIG_STATUS || ac_write_fail=1
28074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28075 for (key in D) D_is_set[key] = 1
28078 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
28080 split(line, arg, " ")
28081 if (arg[1] == "#") {
28085 defundef
= substr
(arg
[1], 2)
28088 split(mac1
, mac2
, "(") #)
28090 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
28091 if (D_is_set
[macro
]) {
28092 # Preserve the white space surrounding the "#".
28093 print prefix
"define", macro P
[macro
] D
[macro
]
28096 # Replace #undef with comments. This is necessary, for example,
28097 # in the case of _POSIX_SOURCE, which is predefined and required
28098 # on some systems where configure will not decide to define it.
28099 if (defundef
== "undef") {
28100 print
"/*", prefix defundef
, macro
, "*/"
28108 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28109 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
28110 fi # test -n "$CONFIG_HEADERS"
28113 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
28118 :[FHLC
]) ac_mode
=$ac_tag; continue;;
28120 case $ac_mode$ac_tag in
28122 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
28123 :[FH
]-) ac_tag
=-:-;;
28124 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
28141 -) ac_f
="$tmp/stdin";;
28142 *) # Look for the file first in the build tree, then in the source tree
28143 # (if the path is not absolute). The absolute path cannot be DOS-style,
28144 # because $ac_f cannot contain `:'.
28148 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
28150 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
28152 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28153 as_fn_append ac_file_inputs
" '$ac_f'"
28156 # Let's still pretend it is `configure' which instantiates (i.e., don't
28157 # use $as_me), people would be surprised to read:
28158 # /* config.h. Generated by config.status. */
28159 configure_input
='Generated from '`
28160 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28162 if test x
"$ac_file" != x-
; then
28163 configure_input
="$ac_file. $configure_input"
28164 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
28165 $as_echo "$as_me: creating $ac_file" >&6;}
28167 # Neutralize special characters interpreted by sed in replacement strings.
28168 case $configure_input in #(
28169 *\
&* |
*\|
* |
*\\* )
28170 ac_sed_conf_input
=`$as_echo "$configure_input" |
28171 sed 's/[\\\\&|]/\\\\&/g'`;; #(
28172 *) ac_sed_conf_input
=$configure_input;;
28176 *:-:* |
*:-) cat >"$tmp/stdin" \
28177 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
28182 ac_dir
=`$as_dirname -- "$ac_file" ||
28183 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28184 X"$ac_file" : 'X\(//\)[^/]' \| \
28185 X"$ac_file" : 'X\(//\)$' \| \
28186 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28187 $as_echo X"$ac_file" |
28188 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28192 /^X\(\/\/\)[^/].*/{
28205 as_dir
="$ac_dir"; as_fn_mkdir_p
28209 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28211 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28212 # A ".." for each directory in $ac_dir_suffix.
28213 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28214 case $ac_top_builddir_sub in
28215 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28216 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
28219 ac_abs_top_builddir
=$ac_pwd
28220 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
28221 # for backward compatibility:
28222 ac_top_builddir
=$ac_top_build_prefix
28225 .
) # We are building in place.
28227 ac_top_srcdir
=$ac_top_builddir_sub
28228 ac_abs_top_srcdir
=$ac_pwd ;;
28229 [\\/]* | ?
:[\\/]* ) # Absolute name.
28230 ac_srcdir
=$srcdir$ac_dir_suffix;
28231 ac_top_srcdir
=$srcdir
28232 ac_abs_top_srcdir
=$srcdir ;;
28233 *) # Relative name.
28234 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
28235 ac_top_srcdir
=$ac_top_build_prefix$srcdir
28236 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
28238 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
28248 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
28249 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
28251 ac_MKDIR_P
=$MKDIR_P
28253 [\\/$
]* | ?
:[\\/]* ) ;;
28254 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
28258 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28259 # If the template does not know about datarootdir, expand it.
28260 # FIXME: This hack should be removed a few years after 2.60.
28261 ac_datarootdir_hack
=; ac_datarootdir_seen
=
28272 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28273 *datarootdir
*) ac_datarootdir_seen
=yes;;
28274 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
28275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28276 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28278 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28279 ac_datarootdir_hack='
28280 s&@datadir@&$datadir&g
28281 s&@docdir@&$docdir&g
28282 s&@infodir@&$infodir&g
28283 s&@localedir@&$localedir&g
28284 s&@mandir@&$mandir&g
28285 s&\\\${datarootdir}&$datarootdir&g' ;;
28289 # Neutralize VPATH when `$srcdir' = `.'.
28290 # Shell code in configure.ac might set extrasub.
28291 # FIXME: do we really want to maintain this feature?
28292 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28293 ac_sed_extra="$ac_vpsub
28296 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28298 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
28299 s|@configure_input@|
$ac_sed_conf_input|
;t t
28300 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
28301 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
28302 s
&@srcdir@
&$ac_srcdir&;t t
28303 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
28304 s
&@top_srcdir@
&$ac_top_srcdir&;t t
28305 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
28306 s
&@builddir@
&$ac_builddir&;t t
28307 s
&@abs_builddir@
&$ac_abs_builddir&;t t
28308 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
28309 s
&@INSTALL@
&$ac_INSTALL&;t t
28310 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
28311 $ac_datarootdir_hack
28313 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
28314 || as_fn_error "could not create
$ac_file" "$LINENO" 5
28316 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28317 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
28318 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
28319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
28320 which seems to be undefined. Please make sure it is defined." >&5
28321 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
28322 which seems to be undefined. Please make sure it is defined." >&2;}
28326 -) cat "$tmp/out" && rm -f "$tmp/out";;
28327 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
28329 || as_fn_error "could not create $ac_file" "$LINENO" 5
28335 if test x"$ac_file" != x-; then
28337 $as_echo "/* $configure_input */" \
28338 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
28339 } >"$tmp/config.h" \
28340 || as_fn_error "could not create $ac_file" "$LINENO" 5
28341 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
28342 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28343 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28346 mv "$tmp/config.h" "$ac_file" \
28347 || as_fn_error "could not create $ac_file" "$LINENO" 5
28350 $as_echo "/* $configure_input */" \
28351 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
28352 || as_fn_error "could not create -" "$LINENO" 5
28354 # Compute "$ac_file"'s index
in $config_headers.
28357 for _am_header
in $config_headers :; do
28358 case $_am_header in
28359 $_am_arg |
$_am_arg:* )
28362 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
28365 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28366 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28367 X"$_am_arg" : 'X\(//\)[^/]' \| \
28368 X"$_am_arg" : 'X\(//\)$' \| \
28369 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28370 $as_echo X"$_am_arg" |
28371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28375 /^X\(\/\/\)[^/].*/{
28387 s/.*/./; q'`/stamp-h
$_am_stamp_count
28390 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28391 $as_echo "$as_me: executing $ac_file commands" >&6;}
28396 case $ac_file$ac_mode in
28398 # Only add multilib support code if we just rebuilt the top-level
28400 case " $CONFIG_FILES " in
28402 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
28405 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
28406 # Autoconf 2.62 quotes --file arguments for eval, but not when files
28407 # are listed without --file. Let's play safe and only enable the eval
28408 # if we detect the quoting.
28409 case $CONFIG_FILES in
28410 *\'*) eval set x
"$CONFIG_FILES" ;;
28411 *) set x
$CONFIG_FILES ;;
28416 # Strip MF so we end up with the name of the file.
28417 mf
=`echo "$mf" | sed -e 's/:.*$//'`
28418 # Check whether this is an Automake generated Makefile or not.
28419 # We used to match only the files named `Makefile.in', but
28420 # some people rename them; so instead we look at the file content.
28421 # Grep'ing the first line is not enough: some people post-process
28422 # each Makefile.in and add a new line on top of each file to say so.
28423 # Grep'ing the whole file is not good either: AIX grep has a line
28424 # limit of 2048, but all sed's we know have understand at least 4000.
28425 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
28426 dirpart
=`$as_dirname -- "$mf" ||
28427 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28428 X"$mf" : 'X\(//\)[^/]' \| \
28429 X"$mf" : 'X\(//\)$' \| \
28430 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28432 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28436 /^X\(\/\/\)[^/].*/{
28452 # Extract the definition of DEPDIR, am__include, and am__quote
28453 # from the Makefile without running `make'.
28454 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
28455 test -z "$DEPDIR" && continue
28456 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
28457 test -z "am__include" && continue
28458 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
28459 # When using ansi2knr, U may be empty or an underscore; expand it
28460 U
=`sed -n 's/^U = //p' < "$mf"`
28461 # Find all dependency output files, they are included files with
28462 # $(DEPDIR) in their names. We invoke sed twice because it is the
28463 # simplest approach to changing $(DEPDIR) to its actual value in the
28465 for file in `sed -n "
28466 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28467 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28468 # Make sure the directory exists.
28469 test -f "$dirpart/$file" && continue
28470 fdir
=`$as_dirname -- "$file" ||
28471 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28472 X"$file" : 'X\(//\)[^/]' \| \
28473 X"$file" : 'X\(//\)$' \| \
28474 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28475 $as_echo X"$file" |
28476 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28480 /^X\(\/\/\)[^/].*/{
28493 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
28494 # echo "creating $dirpart/$file"
28495 echo '# dummy' > "$dirpart/$file"
28502 # See if we are running on zsh, and set the options which allow our
28503 # commands through without removal of \ escapes.
28504 if test -n "${ZSH_VERSION+set}" ; then
28505 setopt NO_GLOB_SUBST
28508 cfgfile
="${ofile}T"
28509 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28512 cat <<_LT_EOF >> "$cfgfile"
28515 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28516 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28517 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28518 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28520 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28521 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28522 # Written by Gordon Matzigkeit, 1996
28524 # This file is part of GNU Libtool.
28526 # GNU Libtool is free software; you can redistribute it and/or
28527 # modify it under the terms of the GNU General Public License as
28528 # published by the Free Software Foundation; either version 2 of
28529 # the License, or (at your option) any later version.
28531 # As a special exception to the GNU General Public License,
28532 # if you distribute this file as part of a program or library that
28533 # is built using GNU Libtool, you may include this file under the
28534 # same distribution terms that you use for the rest of that program.
28536 # GNU Libtool is distributed in the hope that it will be useful,
28537 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28538 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28539 # GNU General Public License for more details.
28541 # You should have received a copy of the GNU General Public License
28542 # along with GNU Libtool; see the file COPYING. If not, a copy
28543 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28544 # obtained by writing to the Free Software Foundation, Inc.,
28545 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28548 # The names of the tagged configurations supported by this script.
28549 available_tags="FC "
28551 # ### BEGIN LIBTOOL CONFIG
28553 # Which release of libtool.m4 was used?
28554 macro_version=$macro_version
28555 macro_revision=$macro_revision
28557 # Whether or not to build shared libraries.
28558 build_libtool_libs=$enable_shared
28560 # Whether or not to build static libraries.
28561 build_old_libs=$enable_static
28563 # What type of objects to build.
28566 # Whether or not to optimize for fast installation.
28567 fast_install=$enable_fast_install
28569 # Shell to use when invoking shell scripts.
28572 # An echo program that protects backslashes.
28576 host_alias=$host_alias
28580 # The build system.
28581 build_alias=$build_alias
28585 # A sed program that does not truncate output.
28588 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28589 Xsed="\$SED -e 1s/^X//"
28591 # A grep program that handles long lines.
28597 # A literal string matcher.
28600 # A BSD- or MS-compatible name lister.
28603 # Whether we need soft or hard links.
28606 # What is the maximum length of a command?
28607 max_cmd_len=$max_cmd_len
28609 # Object file suffix (normally "o").
28612 # Executable file suffix (normally "").
28615 # whether the shell understands "unset".
28618 # turn spaces into newlines.
28621 # turn newlines into spaces.
28624 # An object symbol dumper.
28625 OBJDUMP=$lt_OBJDUMP
28627 # Method to check whether dependent libraries are shared objects.
28628 deplibs_check_method=$lt_deplibs_check_method
28630 # Command to use when deplibs_check_method == "file_magic".
28631 file_magic_cmd=$lt_file_magic_cmd
28635 AR_FLAGS=$lt_AR_FLAGS
28637 # A symbol stripping program.
28640 # Commands used to install an old-style archive.
28642 old_postinstall_cmds=$lt_old_postinstall_cmds
28643 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28645 # Whether to use a lock for old archive extraction.
28646 lock_old_archive_extraction=$lock_old_archive_extraction
28651 # LTCC compiler flags.
28652 LTCFLAGS=$lt_CFLAGS
28654 # Take the output of nm and produce a listing of raw symbols and C names.
28655 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28657 # Transform the output of nm in a proper C declaration.
28658 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28660 # Transform the output of nm in a C name address pair.
28661 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28663 # Transform the output of nm in a C name address pair when lib prefix is needed.
28664 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28666 # The name of the directory that contains temporary libtool files.
28669 # Used to examine libraries when file_magic_cmd begins with "file".
28670 MAGIC_CMD=$MAGIC_CMD
28672 # Must we lock files when doing compilation?
28673 need_locks=$lt_need_locks
28675 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28676 DSYMUTIL=$lt_DSYMUTIL
28678 # Tool to change global to local symbols on Mac OS X.
28681 # Tool to manipulate fat objects and archives on Mac OS X.
28684 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28687 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28688 OTOOL64=$lt_OTOOL64
28690 # Old archive suffix (normally "a").
28693 # Shared library suffix (normally ".so").
28694 shrext_cmds=$lt_shrext_cmds
28696 # The commands to extract the exported symbol list from a shared archive.
28697 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28699 # Variables whose values should be saved in libtool wrapper scripts and
28700 # restored at link time.
28701 variables_saved_for_relink=$lt_variables_saved_for_relink
28703 # Do we need the "lib" prefix for modules?
28704 need_lib_prefix=$need_lib_prefix
28706 # Do we need a version for libraries?
28707 need_version=$need_version
28709 # Library versioning type.
28710 version_type=$version_type
28712 # Shared library runtime path variable.
28713 runpath_var=$runpath_var
28715 # Shared library path variable.
28716 shlibpath_var=$shlibpath_var
28718 # Is shlibpath searched before the hard-coded library search path?
28719 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28721 # Format of library name prefix.
28722 libname_spec=$lt_libname_spec
28724 # List of archive names. First name is the real one, the rest are links.
28725 # The last name is the one that the linker finds with -lNAME
28726 library_names_spec=$lt_library_names_spec
28728 # The coded name of the library, if different from the real name.
28729 soname_spec=$lt_soname_spec
28731 # Permission mode override for installation of shared libraries.
28732 install_override_mode=$lt_install_override_mode
28734 # Command to use after installation of a shared archive.
28735 postinstall_cmds=$lt_postinstall_cmds
28737 # Command to use after uninstallation of a shared archive.
28738 postuninstall_cmds=$lt_postuninstall_cmds
28740 # Commands used to finish a libtool library installation in a directory.
28741 finish_cmds=$lt_finish_cmds
28743 # As "finish_cmds", except a single script fragment to be evaled but
28745 finish_eval=$lt_finish_eval
28747 # Whether we should hardcode library paths into libraries.
28748 hardcode_into_libs=$hardcode_into_libs
28750 # Compile-time system search path for libraries.
28751 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28753 # Run-time system search path for libraries.
28754 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28756 # Whether dlopen is supported.
28757 dlopen_support=$enable_dlopen
28759 # Whether dlopen of programs is supported.
28760 dlopen_self=$enable_dlopen_self
28762 # Whether dlopen of statically linked programs is supported.
28763 dlopen_self_static=$enable_dlopen_self_static
28765 # Commands to strip libraries.
28766 old_striplib=$lt_old_striplib
28767 striplib=$lt_striplib
28770 # The linker used to build libraries.
28773 # How to create reloadable object files.
28774 reload_flag=$lt_reload_flag
28775 reload_cmds=$lt_reload_cmds
28777 # Commands used to build an old-style archive.
28778 old_archive_cmds=$lt_old_archive_cmds
28780 # A language specific compiler.
28783 # Is the compiler the GNU compiler?
28786 # Compiler flag to turn off builtin functions.
28787 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28789 # How to pass a linker flag through the compiler.
28790 wl=$lt_lt_prog_compiler_wl
28792 # Additional compiler flags for building library objects.
28793 pic_flag=$lt_lt_prog_compiler_pic
28795 # Compiler flag to prevent dynamic linking.
28796 link_static_flag=$lt_lt_prog_compiler_static
28798 # Does compiler simultaneously support -c and -o options?
28799 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28801 # Whether or not to add -lc for building shared libraries.
28802 build_libtool_need_lc=$archive_cmds_need_lc
28804 # Whether or not to disallow shared libs when runtime libs are static.
28805 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28807 # Compiler flag to allow reflexive dlopens.
28808 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28810 # Compiler flag to generate shared objects directly from archives.
28811 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28813 # Whether the compiler copes with passing no objects directly.
28814 compiler_needs_object=$lt_compiler_needs_object
28816 # Create an old-style archive from a shared archive.
28817 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28819 # Create a temporary old-style archive to link instead of a shared archive.
28820 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28822 # Commands used to build a shared archive.
28823 archive_cmds=$lt_archive_cmds
28824 archive_expsym_cmds=$lt_archive_expsym_cmds
28826 # Commands used to build a loadable module if different from building
28827 # a shared archive.
28828 module_cmds=$lt_module_cmds
28829 module_expsym_cmds=$lt_module_expsym_cmds
28831 # Whether we are building with GNU ld or not.
28832 with_gnu_ld=$lt_with_gnu_ld
28834 # Flag that allows shared libraries with undefined symbols to be built.
28835 allow_undefined_flag=$lt_allow_undefined_flag
28837 # Flag that enforces no undefined symbols.
28838 no_undefined_flag=$lt_no_undefined_flag
28840 # Flag to hardcode \$libdir into a binary during linking.
28841 # This must work even if \$libdir does not exist
28842 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28844 # If ld is used when linking, flag to hardcode \$libdir into a binary
28845 # during linking. This must work even if \$libdir does not exist.
28846 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28848 # Whether we need a single "-rpath" flag with a separated argument.
28849 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28851 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28852 # DIR into the resulting binary.
28853 hardcode_direct=$hardcode_direct
28855 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28856 # DIR into the resulting binary and the resulting library dependency is
28857 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28858 # library is relocated.
28859 hardcode_direct_absolute=$hardcode_direct_absolute
28861 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28862 # into the resulting binary.
28863 hardcode_minus_L=$hardcode_minus_L
28865 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28866 # into the resulting binary.
28867 hardcode_shlibpath_var=$hardcode_shlibpath_var
28869 # Set to "yes" if building a shared library automatically hardcodes DIR
28870 # into the library and all subsequent libraries and executables linked
28872 hardcode_automatic=$hardcode_automatic
28874 # Set to yes if linker adds runtime paths of dependent libraries
28875 # to runtime path list.
28876 inherit_rpath=$inherit_rpath
28878 # Whether libtool must link a program against all its dependency libraries.
28879 link_all_deplibs=$link_all_deplibs
28881 # Fix the shell variable \$srcfile for the compiler.
28882 fix_srcfile_path=$lt_fix_srcfile_path
28884 # Set to "yes" if exported symbols are required.
28885 always_export_symbols=$always_export_symbols
28887 # The commands to list exported symbols.
28888 export_symbols_cmds=$lt_export_symbols_cmds
28890 # Symbols that should not be listed in the preloaded symbols.
28891 exclude_expsyms=$lt_exclude_expsyms
28893 # Symbols that must always be exported.
28894 include_expsyms=$lt_include_expsyms
28896 # Commands necessary for linking programs (against libraries) with templates.
28897 prelink_cmds=$lt_prelink_cmds
28899 # Specify filename containing input files.
28900 file_list_spec=$lt_file_list_spec
28902 # How to hardcode a shared library path into an executable.
28903 hardcode_action=$hardcode_action
28905 # The directories searched by this compiler when creating a shared library.
28906 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28908 # Dependencies to place before and after the objects being linked to
28909 # create a shared library.
28910 predep_objects=$lt_predep_objects
28911 postdep_objects=$lt_postdep_objects
28912 predeps=$lt_predeps
28913 postdeps=$lt_postdeps
28915 # The library search path used internally by the compiler when linking
28916 # a shared library.
28917 compiler_lib_search_path=$lt_compiler_lib_search_path
28919 # ### END LIBTOOL CONFIG
28925 cat <<\_LT_EOF
>> "$cfgfile"
28926 # AIX sometimes has problems with the GCC collect2 program. For some
28927 # reason, if we set the COLLECT_NAMES environment variable, the problems
28928 # vanish in a puff of smoke.
28929 if test "X${COLLECT_NAMES+set}" != Xset
; then
28931 export COLLECT_NAMES
28938 ltmain
="$ac_aux_dir/ltmain.sh"
28941 # We use sed instead of cat because bash on DJGPP gets confused if
28942 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28943 # text mode, it properly converts lines to CR/LF. This bash problem
28944 # is reportedly fixed, but why not run on old versions too?
28945 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28946 ||
(rm -f "$cfgfile"; exit 1)
28950 cat << \_LT_EOF
>> "$cfgfile"
28952 # func_dirname file append nondir_replacement
28953 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28954 # otherwise set result to NONDIR_REPLACEMENT.
28958 */*) func_dirname_result
="${1%/*}${2}" ;;
28959 * ) func_dirname_result
="${3}" ;;
28963 # func_basename file
28966 func_basename_result
="${1##*/}"
28969 # func_dirname_and_basename file append nondir_replacement
28970 # perform func_basename and func_dirname in a single function
28972 # dirname: Compute the dirname of FILE. If nonempty,
28973 # add APPEND to the result, otherwise set result
28974 # to NONDIR_REPLACEMENT.
28975 # value returned in "$func_dirname_result"
28976 # basename: Compute filename of FILE.
28977 # value retuned in "$func_basename_result"
28978 # Implementation must be kept synchronized with func_dirname
28979 # and func_basename. For efficiency, we do not delegate to
28980 # those functions but instead duplicate the functionality here.
28981 func_dirname_and_basename
()
28984 */*) func_dirname_result
="${1%/*}${2}" ;;
28985 * ) func_dirname_result
="${3}" ;;
28987 func_basename_result
="${1##*/}"
28990 # func_stripname prefix suffix name
28991 # strip PREFIX and SUFFIX off of NAME.
28992 # PREFIX and SUFFIX must not contain globbing or regex special
28993 # characters, hashes, percent signs, but SUFFIX may contain a leading
28994 # dot (in which case that matches only a dot).
28997 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28998 # positional parameters, so assign one to ordinary parameter first.
28999 func_stripname_result
=${3}
29000 func_stripname_result
=${func_stripname_result#"${1}"}
29001 func_stripname_result
=${func_stripname_result%"${2}"}
29007 func_opt_split_opt
=${1%%=*}
29008 func_opt_split_arg
=${1#*=}
29015 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
29016 *) func_lo2o_result
=${1} ;;
29020 # func_xform libobj-or-source
29023 func_xform_result
=${1%.*}.lo
29026 # func_arith arithmetic-term...
29029 func_arith_result
=$
(( $
* ))
29033 # STRING may not start with a hyphen.
29036 func_len_result
=${#1}
29041 *) # Bourne compatible functions.
29042 cat << \_LT_EOF
>> "$cfgfile"
29044 # func_dirname file append nondir_replacement
29045 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
29046 # otherwise set result to NONDIR_REPLACEMENT.
29049 # Extract subdirectory from the argument.
29050 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
29051 if test "X$func_dirname_result" = "X${1}"; then
29052 func_dirname_result
="${3}"
29054 func_dirname_result
="$func_dirname_result${2}"
29058 # func_basename file
29061 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
29065 # func_stripname prefix suffix name
29066 # strip PREFIX and SUFFIX off of NAME.
29067 # PREFIX and SUFFIX must not contain globbing or regex special
29068 # characters, hashes, percent signs, but SUFFIX may contain a leading
29069 # dot (in which case that matches only a dot).
29070 # func_strip_suffix prefix name
29074 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
29075 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
29080 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
29081 my_sed_long_arg
='1s/^-[^=]*=//'
29086 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
29087 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
29093 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
29096 # func_xform libobj-or-source
29099 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
29102 # func_arith arithmetic-term...
29105 func_arith_result
=`expr "$@"`
29109 # STRING may not start with a hyphen.
29112 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
29118 case $lt_shell_append in
29120 cat << \_LT_EOF
>> "$cfgfile"
29122 # func_append var value
29123 # Append VALUE to the end of shell variable VAR.
29131 cat << \_LT_EOF
>> "$cfgfile"
29133 # func_append var value
29134 # Append VALUE to the end of shell variable VAR.
29145 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
29146 ||
(rm -f "$cfgfile"; exit 1)
29148 mv -f "$cfgfile" "$ofile" ||
29149 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29153 cat <<_LT_EOF >> "$ofile"
29155 # ### BEGIN LIBTOOL TAG CONFIG: FC
29157 # The linker used to build libraries.
29160 # How to create reloadable object files.
29161 reload_flag=$lt_reload_flag_FC
29162 reload_cmds=$lt_reload_cmds_FC
29164 # Commands used to build an old-style archive.
29165 old_archive_cmds=$lt_old_archive_cmds_FC
29167 # A language specific compiler.
29170 # Is the compiler the GNU compiler?
29173 # Compiler flag to turn off builtin functions.
29174 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
29176 # How to pass a linker flag through the compiler.
29177 wl=$lt_lt_prog_compiler_wl_FC
29179 # Additional compiler flags for building library objects.
29180 pic_flag=$lt_lt_prog_compiler_pic_FC
29182 # Compiler flag to prevent dynamic linking.
29183 link_static_flag=$lt_lt_prog_compiler_static_FC
29185 # Does compiler simultaneously support -c and -o options?
29186 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
29188 # Whether or not to add -lc for building shared libraries.
29189 build_libtool_need_lc=$archive_cmds_need_lc_FC
29191 # Whether or not to disallow shared libs when runtime libs are static.
29192 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
29194 # Compiler flag to allow reflexive dlopens.
29195 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
29197 # Compiler flag to generate shared objects directly from archives.
29198 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29200 # Whether the compiler copes with passing no objects directly.
29201 compiler_needs_object=$lt_compiler_needs_object_FC
29203 # Create an old-style archive from a shared archive.
29204 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29206 # Create a temporary old-style archive to link instead of a shared archive.
29207 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29209 # Commands used to build a shared archive.
29210 archive_cmds=$lt_archive_cmds_FC
29211 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29213 # Commands used to build a loadable module if different from building
29214 # a shared archive.
29215 module_cmds=$lt_module_cmds_FC
29216 module_expsym_cmds=$lt_module_expsym_cmds_FC
29218 # Whether we are building with GNU ld or not.
29219 with_gnu_ld=$lt_with_gnu_ld_FC
29221 # Flag that allows shared libraries with undefined symbols to be built.
29222 allow_undefined_flag=$lt_allow_undefined_flag_FC
29224 # Flag that enforces no undefined symbols.
29225 no_undefined_flag=$lt_no_undefined_flag_FC
29227 # Flag to hardcode \$libdir into a binary during linking.
29228 # This must work even if \$libdir does not exist
29229 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29231 # If ld is used when linking, flag to hardcode \$libdir into a binary
29232 # during linking. This must work even if \$libdir does not exist.
29233 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29235 # Whether we need a single "-rpath" flag with a separated argument.
29236 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29238 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29239 # DIR into the resulting binary.
29240 hardcode_direct=$hardcode_direct_FC
29242 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29243 # DIR into the resulting binary and the resulting library dependency is
29244 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29245 # library is relocated.
29246 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29248 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29249 # into the resulting binary.
29250 hardcode_minus_L=$hardcode_minus_L_FC
29252 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29253 # into the resulting binary.
29254 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29256 # Set to "yes" if building a shared library automatically hardcodes DIR
29257 # into the library and all subsequent libraries and executables linked
29259 hardcode_automatic=$hardcode_automatic_FC
29261 # Set to yes if linker adds runtime paths of dependent libraries
29262 # to runtime path list.
29263 inherit_rpath=$inherit_rpath_FC
29265 # Whether libtool must link a program against all its dependency libraries.
29266 link_all_deplibs=$link_all_deplibs_FC
29268 # Fix the shell variable \$srcfile for the compiler.
29269 fix_srcfile_path=$lt_fix_srcfile_path_FC
29271 # Set to "yes" if exported symbols are required.
29272 always_export_symbols=$always_export_symbols_FC
29274 # The commands to list exported symbols.
29275 export_symbols_cmds=$lt_export_symbols_cmds_FC
29277 # Symbols that should not be listed in the preloaded symbols.
29278 exclude_expsyms=$lt_exclude_expsyms_FC
29280 # Symbols that must always be exported.
29281 include_expsyms=$lt_include_expsyms_FC
29283 # Commands necessary for linking programs (against libraries) with templates.
29284 prelink_cmds=$lt_prelink_cmds_FC
29286 # Specify filename containing input files.
29287 file_list_spec=$lt_file_list_spec_FC
29289 # How to hardcode a shared library path into an executable.
29290 hardcode_action=$hardcode_action_FC
29292 # The directories searched by this compiler when creating a shared library.
29293 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29295 # Dependencies to place before and after the objects being linked to
29296 # create a shared library.
29297 predep_objects=$lt_predep_objects_FC
29298 postdep_objects=$lt_postdep_objects_FC
29299 predeps=$lt_predeps_FC
29300 postdeps=$lt_postdeps_FC
29302 # The library search path used internally by the compiler when linking
29303 # a shared library.
29304 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29306 # ### END LIBTOOL TAG CONFIG: FC
29311 if test "$GCC" = yes; then
29312 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29314 echo "/* generated for $CC */" > tmp-stdint.h
29317 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29319 #ifndef GCC_GENERATED_STDINT_H
29320 #define GCC_GENERATED_STDINT_H 1
29322 #include <sys/types.h>
29325 if test "$acx_cv_header_stdint" != stdint.h
; then
29326 echo "#include <stddef.h>" >> tmp-stdint.h
29328 if test "$acx_cv_header_stdint" != stddef.h
; then
29329 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29332 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29333 /* glibc uses these symbols as guards to prevent redefinitions. */
29334 #ifdef __int8_t_defined
29339 #ifdef __uint32_t_defined
29345 # ----------------- done header, emit basic int types -------------
29346 if test "$acx_cv_header_stdint" = stddef.h
; then
29347 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29351 #ifndef __uint8_t_defined
29352 #define __uint8_t_defined
29354 typedef unsigned $acx_cv_type_int8_t uint8_t;
29361 #ifndef __uint16_t_defined
29362 #define __uint16_t_defined
29364 typedef unsigned $acx_cv_type_int16_t uint16_t;
29371 #ifndef __uint32_t_defined
29372 #define __uint32_t_defined
29374 typedef unsigned $acx_cv_type_int32_t uint32_t;
29381 #ifndef __int8_t_defined
29382 #define __int8_t_defined
29384 typedef $acx_cv_type_int8_t int8_t;
29391 #ifndef __int16_t_defined
29392 #define __int16_t_defined
29394 typedef $acx_cv_type_int16_t int16_t;
29401 #ifndef __int32_t_defined
29402 #define __int32_t_defined
29404 typedef $acx_cv_type_int32_t int32_t;
29409 elif test "$ac_cv_type_u_int32_t" = yes; then
29410 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29412 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29425 #ifndef __uint8_t_defined
29426 #define __uint8_t_defined
29428 typedef u_int8_t uint8_t;
29435 #ifndef __uint16_t_defined
29436 #define __uint16_t_defined
29438 typedef u_int16_t uint16_t;
29445 #ifndef __uint32_t_defined
29446 #define __uint32_t_defined
29448 typedef u_int32_t uint32_t;
29454 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29456 /* Some systems have guard macros to prevent redefinitions, define them. */
29478 # ------------- done basic int types, emit int64_t types ------------
29479 if test "$ac_cv_type_uint64_t" = yes; then
29480 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29482 /* system headers have good uint64_t and int64_t */
29490 elif test "$ac_cv_type_u_int64_t" = yes; then
29491 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29493 /* system headers have an u_int64_t (and int64_t) */
29499 #ifndef __uint64_t_defined
29500 #define __uint64_t_defined
29502 typedef u_int64_t uint64_t;
29507 elif test -n "$acx_cv_type_int64_t"; then
29508 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29510 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29514 typedef $acx_cv_type_int64_t int64_t;
29519 #ifndef __uint64_t_defined
29520 #define __uint64_t_defined
29522 typedef unsigned $acx_cv_type_int64_t uint64_t;
29528 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29530 /* some common heuristics for int64_t, using compiler-specific tests */
29531 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29534 #ifndef __int64_t_defined
29536 typedef long long int64_t;
29543 typedef unsigned long long uint64_t;
29547 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29548 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29549 does not implement __extension__. But that compiler doesn't define
29551 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29552 # define __extension__
29558 __extension__ typedef long long int64_t;
29564 __extension__ typedef unsigned long long uint64_t;
29568 #elif !defined __STRICT_ANSI__
29569 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29574 typedef __int64 int64_t;
29580 typedef unsigned __int64 uint64_t;
29583 # endif /* compiler */
29585 #endif /* ANSI version */
29589 # ------------- done int64_t types, emit intptr types ------------
29590 if test "$ac_cv_type_uintptr_t" != yes; then
29591 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29593 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29594 #ifndef __uintptr_t_defined
29596 typedef u$acx_cv_type_intptr_t uintptr_t;
29599 #ifndef __intptr_t_defined
29601 typedef $acx_cv_type_intptr_t intptr_t;
29607 # ------------- done intptr types, emit int_least types ------------
29608 if test "$ac_cv_type_int_least32_t" != yes; then
29609 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29611 /* Define int_least types */
29612 typedef int8_t int_least8_t;
29613 typedef int16_t int_least16_t;
29614 typedef int32_t int_least32_t;
29616 typedef int64_t int_least64_t;
29619 typedef uint8_t uint_least8_t;
29620 typedef uint16_t uint_least16_t;
29621 typedef uint32_t uint_least32_t;
29623 typedef uint64_t uint_least64_t;
29628 # ------------- done intptr types, emit int_fast types ------------
29629 if test "$ac_cv_type_int_fast32_t" != yes; then
29630 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29632 /* Define int_fast types. short is often slow */
29633 typedef int8_t int_fast8_t;
29634 typedef int int_fast16_t;
29635 typedef int32_t int_fast32_t;
29637 typedef int64_t int_fast64_t;
29640 typedef uint8_t uint_fast8_t;
29641 typedef unsigned int uint_fast16_t;
29642 typedef uint32_t uint_fast32_t;
29644 typedef uint64_t uint_fast64_t;
29649 if test "$ac_cv_type_uintmax_t" != yes; then
29650 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29652 /* Define intmax based on what we found */
29655 typedef int64_t intmax_t;
29657 typedef long intmax_t;
29662 typedef uint64_t uintmax_t;
29664 typedef unsigned long uintmax_t;
29670 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29672 #endif /* GCC_GENERATED_STDINT_H */
29675 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
29678 mv -f tmp-stdint.h gstdint.h
29689 ac_clean_files
=$ac_clean_files_save
29691 test $ac_write_fail = 0 ||
29692 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
29695 # configure is writing to config.log, and then calls config.status.
29696 # config.status does its own redirection, appending to config.log.
29697 # Unfortunately, on DOS this fails, as config.log is still kept open
29698 # by configure, so config.status won't be able to write to it; its
29699 # output is simply discarded. So we exec the FD to /dev/null,
29700 # effectively closing config.log, so it can be properly (re)opened and
29701 # appended to by config.status. When coming back to configure, we
29702 # need to make the FD available again.
29703 if test "$no_create" != yes; then
29705 ac_config_status_args
=
29706 test "$silent" = yes &&
29707 ac_config_status_args
="$ac_config_status_args --quiet"
29709 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
29711 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29712 # would make configure fail if this is the last instruction.
29713 $ac_cs_success || as_fn_exit $?
29715 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
29716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29717 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}