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"
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; pic_mode
="$withval"
8932 test -z "$pic_mode" && pic_mode
=default
8940 # Check whether --enable-fast-install was given.
8941 if test "${enable_fast_install+set}" = set; then :
8942 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8944 yes) enable_fast_install
=yes ;;
8945 no
) enable_fast_install
=no
;;
8947 enable_fast_install
=no
8948 # Look at the argument we got. We use all the common list separators.
8949 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8950 for pkg
in $enableval; do
8952 if test "X$pkg" = "X$p"; then
8953 enable_fast_install
=yes
8960 enable_fast_install
=yes
8973 # This can be used to rebuild libtool when needed
8974 LIBTOOL_DEPS
="$ltmain"
8976 # Always use our own libtool.
8977 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9004 test -z "$LN_S" && LN_S
="ln -s"
9019 if test -n "${ZSH_VERSION+set}" ; then
9020 setopt NO_GLOB_SUBST
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9024 $as_echo_n "checking for objdir... " >&6; }
9025 if test "${lt_cv_objdir+set}" = set; then :
9026 $as_echo_n "(cached) " >&6
9028 rm -f .libs
2>/dev
/null
9029 mkdir .libs
2>/dev
/null
9030 if test -d .libs
; then
9033 # MS-DOS does not allow filenames that begin with a dot.
9036 rmdir .libs
2>/dev
/null
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9039 $as_echo "$lt_cv_objdir" >&6; }
9040 objdir
=$lt_cv_objdir
9046 cat >>confdefs.h
<<_ACEOF
9047 #define LT_OBJDIR "$lt_cv_objdir/"
9055 # AIX sometimes has problems with the GCC collect2 program. For some
9056 # reason, if we set the COLLECT_NAMES environment variable, the problems
9057 # vanish in a puff of smoke.
9058 if test "X${COLLECT_NAMES+set}" != Xset
; then
9060 export COLLECT_NAMES
9067 can_build_shared
=yes
9069 # All known linkers require a `.a' archive for static linking (except MSVC,
9070 # which needs '.lib').
9073 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9076 old_CFLAGS
="$CFLAGS"
9078 # Set sane defaults for various variables
9079 test -z "$CC" && CC
=cc
9080 test -z "$LTCC" && LTCC
=$CC
9081 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9082 test -z "$LD" && LD
=ld
9083 test -z "$ac_objext" && ac_objext
=o
9085 for cc_temp
in $compiler""; do
9087 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9088 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9093 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9096 # Only perform the check for file, if the check method requires it
9097 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9098 case $deplibs_check_method in
9100 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9102 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9103 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9104 $as_echo_n "(cached) " >&6
9108 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9111 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9112 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9113 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9114 for ac_dir
in $ac_dummy; do
9116 test -z "$ac_dir" && ac_dir
=.
9117 if test -f $ac_dir/${ac_tool_prefix}file; then
9118 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9119 if test -n "$file_magic_test_file"; then
9120 case $deplibs_check_method in
9122 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9123 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9124 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9125 $EGREP "$file_magic_regex" > /dev
/null
; then
9130 *** Warning: the command libtool uses to detect shared libraries,
9131 *** $file_magic_cmd, produces output that libtool cannot recognize.
9132 *** The result is that libtool may fail to recognize shared libraries
9133 *** as such. This will affect the creation of libtool libraries that
9134 *** depend on shared libraries, but programs linked with such libtool
9135 *** libraries will work regardless of this problem. Nevertheless, you
9136 *** may want to report the problem to your system manager and/or to
9137 *** bug-libtool@gnu.org
9147 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9152 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9153 if test -n "$MAGIC_CMD"; then
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9155 $as_echo "$MAGIC_CMD" >&6; }
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9158 $as_echo "no" >&6; }
9165 if test -z "$lt_cv_path_MAGIC_CMD"; then
9166 if test -n "$ac_tool_prefix"; then
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9168 $as_echo_n "checking for file... " >&6; }
9169 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9170 $as_echo_n "(cached) " >&6
9174 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9177 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9178 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9179 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9180 for ac_dir
in $ac_dummy; do
9182 test -z "$ac_dir" && ac_dir
=.
9183 if test -f $ac_dir/file; then
9184 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9185 if test -n "$file_magic_test_file"; then
9186 case $deplibs_check_method in
9188 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9189 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9190 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9191 $EGREP "$file_magic_regex" > /dev
/null
; then
9196 *** Warning: the command libtool uses to detect shared libraries,
9197 *** $file_magic_cmd, produces output that libtool cannot recognize.
9198 *** The result is that libtool may fail to recognize shared libraries
9199 *** as such. This will affect the creation of libtool libraries that
9200 *** depend on shared libraries, but programs linked with such libtool
9201 *** libraries will work regardless of this problem. Nevertheless, you
9202 *** may want to report the problem to your system manager and/or to
9203 *** bug-libtool@gnu.org
9213 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9218 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9219 if test -n "$MAGIC_CMD"; then
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9221 $as_echo "$MAGIC_CMD" >&6; }
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9224 $as_echo "no" >&6; }
9237 # Use C for the default configuration in the libtool script
9241 ac_cpp
='$CPP $CPPFLAGS'
9242 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9243 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9244 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9247 # Source file extension for C test sources.
9250 # Object file extension for compiled C test sources.
9254 # Code to be used in simple compile tests
9255 lt_simple_compile_test_code
="int some_variable = 0;"
9257 # Code to be used in simple link tests
9258 lt_simple_link_test_code
='int main(){return(0);}'
9266 # If no C compiler was specified, use CC.
9269 # If no C compiler flags were specified, use CFLAGS.
9270 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9272 # Allow CC to be a program name with arguments.
9275 # Save the default compiler, since it gets overwritten when the other
9276 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9277 compiler_DEFAULT
=$CC
9279 # save warnings/boilerplate of simple test code
9280 ac_outfile
=conftest.
$ac_objext
9281 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9282 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9283 _lt_compiler_boilerplate
=`cat conftest.err`
9286 ac_outfile
=conftest.
$ac_objext
9287 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9288 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9289 _lt_linker_boilerplate
=`cat conftest.err`
9294 ## There is no encapsulation within the following macros, do not change
9295 ## the running order or otherwise move them around unless you know exactly
9296 ## what you are doing...
9297 if test -n "$compiler"; then
9299 lt_prog_compiler_no_builtin_flag
=
9301 if test "$GCC" = yes; then
9302 case $cc_basename in
9304 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9306 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9310 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9311 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9312 $as_echo_n "(cached) " >&6
9314 lt_cv_prog_compiler_rtti_exceptions
=no
9315 ac_outfile
=conftest.
$ac_objext
9316 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9317 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9318 # Insert the option either (1) after the last *FLAGS variable, or
9319 # (2) before a word containing "conftest.", or (3) at the end.
9320 # Note that $ac_compile itself does not contain backslashes and begins
9321 # with a dollar sign (not a hyphen), so the echo should work correctly.
9322 # The option is referenced via a variable to avoid confusing sed.
9323 lt_compile
=`echo "$ac_compile" | $SED \
9324 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9325 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9326 -e 's:$: $lt_compiler_flag:'`
9327 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9328 (eval "$lt_compile" 2>conftest.err
)
9330 cat conftest.err
>&5
9331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9332 if (exit $ac_status) && test -s "$ac_outfile"; then
9333 # The compiler can only warn and ignore the option if not recognized
9334 # So say no if there are warnings other than the usual output.
9335 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9336 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9337 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9338 lt_cv_prog_compiler_rtti_exceptions
=yes
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9345 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9347 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9348 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9360 lt_prog_compiler_wl
=
9361 lt_prog_compiler_pic
=
9362 lt_prog_compiler_static
=
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9365 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9367 if test "$GCC" = yes; then
9368 lt_prog_compiler_wl
='-Wl,'
9369 lt_prog_compiler_static
='-static'
9373 # All AIX code is PIC.
9374 if test "$host_cpu" = ia64
; then
9375 # AIX 5 now supports IA64 processor
9376 lt_prog_compiler_static
='-Bstatic'
9378 lt_prog_compiler_pic
='-fPIC'
9384 # see comment about AmigaOS4 .so support
9385 lt_prog_compiler_pic
='-fPIC'
9388 # FIXME: we need at least 68020 code to build shared libraries, but
9389 # adding the `-m68020' flag to GCC prevents building anything better,
9391 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9396 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9397 # PIC is the default for these OSes.
9400 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9401 # This hack is so that the source file can tell whether it is being
9402 # built for inclusion in a dll (and should export symbols for example).
9403 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9404 # (--disable-auto-import) libraries
9405 lt_prog_compiler_pic
='-DDLL_EXPORT'
9408 darwin
* | rhapsody
*)
9409 # PIC is the default on this platform
9410 # Common symbols not allowed in MH_DYLIB files
9411 lt_prog_compiler_pic
='-fno-common'
9415 # PIC is the default for Haiku.
9416 # The "-static" flag exists, but is broken.
9417 lt_prog_compiler_static
=
9421 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9422 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9423 # sets the default TLS model and affects inlining.
9429 lt_prog_compiler_pic
='-fPIC'
9435 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9436 # Instead, we relocate shared libraries at runtime.
9440 # Just because we use GCC doesn't mean we suddenly get shared libraries
9441 # on systems that don't support them.
9442 lt_prog_compiler_can_build_shared
=no
9447 # QNX uses GNU C++, but need to define -shared option too, otherwise
9449 lt_prog_compiler_pic
='-fPIC -shared'
9453 if test -d /usr
/nec
; then
9454 lt_prog_compiler_pic
=-Kconform_pic
9459 lt_prog_compiler_pic
='-fPIC'
9463 case $cc_basename in
9464 nvcc
*) # Cuda Compiler Driver 2.2
9465 lt_prog_compiler_wl
='-Xlinker '
9466 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9470 # PORTME Check for flag to pass linker flags through the system compiler.
9473 lt_prog_compiler_wl
='-Wl,'
9474 if test "$host_cpu" = ia64
; then
9475 # AIX 5 now supports IA64 processor
9476 lt_prog_compiler_static
='-Bstatic'
9478 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9482 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9483 # This hack is so that the source file can tell whether it is being
9484 # built for inclusion in a dll (and should export symbols for example).
9485 lt_prog_compiler_pic
='-DDLL_EXPORT'
9488 hpux9
* | hpux10
* | hpux11
*)
9489 lt_prog_compiler_wl
='-Wl,'
9490 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9497 lt_prog_compiler_pic
='+Z'
9500 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9501 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9504 irix5
* | irix6
* | nonstopux
*)
9505 lt_prog_compiler_wl
='-Wl,'
9506 # PIC (with -KPIC) is the default.
9507 lt_prog_compiler_static
='-non_shared'
9510 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9511 case $cc_basename in
9512 # old Intel for x86_64 which still supported -KPIC.
9514 lt_prog_compiler_wl
='-Wl,'
9515 lt_prog_compiler_pic
='-KPIC'
9516 lt_prog_compiler_static
='-static'
9518 # icc used to be incompatible with GCC.
9519 # ICC 10 doesn't accept -KPIC any more.
9521 lt_prog_compiler_wl
='-Wl,'
9522 lt_prog_compiler_pic
='-fPIC'
9523 lt_prog_compiler_static
='-static'
9525 # Lahey Fortran 8.1.
9527 lt_prog_compiler_wl
='-Wl,'
9528 lt_prog_compiler_pic
='--shared'
9529 lt_prog_compiler_static
='--static'
9531 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9532 # Portland Group compilers (*not* the Pentium gcc compiler,
9533 # which looks to be a dead project)
9534 lt_prog_compiler_wl
='-Wl,'
9535 lt_prog_compiler_pic
='-fpic'
9536 lt_prog_compiler_static
='-Bstatic'
9539 lt_prog_compiler_wl
='-Wl,'
9540 # All Alpha code is PIC.
9541 lt_prog_compiler_static
='-non_shared'
9543 xl
* | bgxl
* | bgf
* | mpixl
*)
9544 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9545 lt_prog_compiler_wl
='-Wl,'
9546 lt_prog_compiler_pic
='-qpic'
9547 lt_prog_compiler_static
='-qstaticlink'
9550 case `$CC -V 2>&1 | sed 5q` in
9551 *Sun\ F
* |
*Sun
*Fortran
*)
9552 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9553 lt_prog_compiler_pic
='-KPIC'
9554 lt_prog_compiler_static
='-Bstatic'
9555 lt_prog_compiler_wl
=''
9559 lt_prog_compiler_pic
='-KPIC'
9560 lt_prog_compiler_static
='-Bstatic'
9561 lt_prog_compiler_wl
='-Wl,'
9569 lt_prog_compiler_pic
='-KPIC'
9570 lt_prog_compiler_static
='-Bstatic'
9574 # QNX uses GNU C++, but need to define -shared option too, otherwise
9576 lt_prog_compiler_pic
='-fPIC -shared'
9579 osf3
* | osf4
* | osf5
*)
9580 lt_prog_compiler_wl
='-Wl,'
9581 # All OSF/1 code is PIC.
9582 lt_prog_compiler_static
='-non_shared'
9586 lt_prog_compiler_static
='-non_shared'
9590 lt_prog_compiler_pic
='-KPIC'
9591 lt_prog_compiler_static
='-Bstatic'
9592 case $cc_basename in
9594 lt_prog_compiler_wl
='-Qoption ld ';;
9596 lt_prog_compiler_wl
='-Wl,';;
9601 lt_prog_compiler_wl
='-Qoption ld '
9602 lt_prog_compiler_pic
='-PIC'
9603 lt_prog_compiler_static
='-Bstatic'
9606 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9607 lt_prog_compiler_wl
='-Wl,'
9608 lt_prog_compiler_pic
='-KPIC'
9609 lt_prog_compiler_static
='-Bstatic'
9613 if test -d /usr
/nec
;then
9614 lt_prog_compiler_pic
='-Kconform_pic'
9615 lt_prog_compiler_static
='-Bstatic'
9619 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9620 lt_prog_compiler_wl
='-Wl,'
9621 lt_prog_compiler_pic
='-KPIC'
9622 lt_prog_compiler_static
='-Bstatic'
9626 lt_prog_compiler_wl
='-Wl,'
9627 lt_prog_compiler_can_build_shared
=no
9631 lt_prog_compiler_pic
='-pic'
9632 lt_prog_compiler_static
='-Bstatic'
9636 lt_prog_compiler_can_build_shared
=no
9642 # For platforms which do not support PIC, -DPIC is meaningless:
9644 lt_prog_compiler_pic
=
9647 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9651 $as_echo "$lt_prog_compiler_pic" >&6; }
9659 # Check to make sure the PIC flag actually works.
9661 if test -n "$lt_prog_compiler_pic"; then
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9663 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9664 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9665 $as_echo_n "(cached) " >&6
9667 lt_cv_prog_compiler_pic_works
=no
9668 ac_outfile
=conftest.
$ac_objext
9669 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9670 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9671 # Insert the option either (1) after the last *FLAGS variable, or
9672 # (2) before a word containing "conftest.", or (3) at the end.
9673 # Note that $ac_compile itself does not contain backslashes and begins
9674 # with a dollar sign (not a hyphen), so the echo should work correctly.
9675 # The option is referenced via a variable to avoid confusing sed.
9676 lt_compile
=`echo "$ac_compile" | $SED \
9677 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9678 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9679 -e 's:$: $lt_compiler_flag:'`
9680 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9681 (eval "$lt_compile" 2>conftest.err
)
9683 cat conftest.err
>&5
9684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9685 if (exit $ac_status) && test -s "$ac_outfile"; then
9686 # The compiler can only warn and ignore the option if not recognized
9687 # So say no if there are warnings other than the usual output.
9688 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9689 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9690 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9691 lt_cv_prog_compiler_pic_works
=yes
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9698 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9700 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9701 case $lt_prog_compiler_pic in
9703 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9706 lt_prog_compiler_pic
=
9707 lt_prog_compiler_can_build_shared
=no
9718 # Check to make sure the static flag actually works.
9720 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9722 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9723 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9724 $as_echo_n "(cached) " >&6
9726 lt_cv_prog_compiler_static_works
=no
9727 save_LDFLAGS
="$LDFLAGS"
9728 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9729 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9730 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9731 # The linker can only warn and ignore the option if not recognized
9732 # So say no if there are warnings
9733 if test -s conftest.err
; then
9734 # Append any errors to the config.log.
9735 cat conftest.err
1>&5
9736 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9737 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9738 if diff conftest.exp conftest.er2
>/dev
/null
; then
9739 lt_cv_prog_compiler_static_works
=yes
9742 lt_cv_prog_compiler_static_works
=yes
9746 LDFLAGS
="$save_LDFLAGS"
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9750 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9752 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9755 lt_prog_compiler_static
=
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9765 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9766 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9767 $as_echo_n "(cached) " >&6
9769 lt_cv_prog_compiler_c_o
=no
9770 $RM -r conftest
2>/dev
/null
9774 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9776 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9777 # Insert the option either (1) after the last *FLAGS variable, or
9778 # (2) before a word containing "conftest.", or (3) at the end.
9779 # Note that $ac_compile itself does not contain backslashes and begins
9780 # with a dollar sign (not a hyphen), so the echo should work correctly.
9781 lt_compile
=`echo "$ac_compile" | $SED \
9782 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9783 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9784 -e 's:$: $lt_compiler_flag:'`
9785 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9786 (eval "$lt_compile" 2>out
/conftest.err
)
9788 cat out
/conftest.err
>&5
9789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9790 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9792 # The compiler can only warn and ignore the option if not recognized
9793 # So say no if there are warnings
9794 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9795 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9796 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9797 lt_cv_prog_compiler_c_o
=yes
9802 # SGI C++ compiler will create directory out/ii_files/ for
9803 # template instantiation
9804 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9805 $RM out
/* && rmdir out
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9812 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9820 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9821 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9822 $as_echo_n "(cached) " >&6
9824 lt_cv_prog_compiler_c_o
=no
9825 $RM -r conftest
2>/dev
/null
9829 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9831 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9832 # Insert the option either (1) after the last *FLAGS variable, or
9833 # (2) before a word containing "conftest.", or (3) at the end.
9834 # Note that $ac_compile itself does not contain backslashes and begins
9835 # with a dollar sign (not a hyphen), so the echo should work correctly.
9836 lt_compile
=`echo "$ac_compile" | $SED \
9837 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9838 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9839 -e 's:$: $lt_compiler_flag:'`
9840 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9841 (eval "$lt_compile" 2>out
/conftest.err
)
9843 cat out
/conftest.err
>&5
9844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9845 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9847 # The compiler can only warn and ignore the option if not recognized
9848 # So say no if there are warnings
9849 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9850 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9851 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9852 lt_cv_prog_compiler_c_o
=yes
9857 # SGI C++ compiler will create directory out/ii_files/ for
9858 # template instantiation
9859 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9860 $RM out
/* && rmdir out
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9867 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9872 hard_links
="nottested"
9873 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9874 # do not overwrite the value of need_locks provided by the user
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9876 $as_echo_n "checking if we can lock with hard links... " >&6; }
9879 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9881 ln conftest.a conftest.b
2>&5 || hard_links
=no
9882 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9884 $as_echo "$hard_links" >&6; }
9885 if test "$hard_links" = no
; then
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9887 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9900 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9903 allow_undefined_flag
=
9904 always_export_symbols
=no
9906 archive_expsym_cmds
=
9907 compiler_needs_object
=no
9908 enable_shared_with_static_runtimes
=no
9909 export_dynamic_flag_spec
=
9910 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9911 hardcode_automatic
=no
9913 hardcode_direct_absolute
=no
9914 hardcode_libdir_flag_spec
=
9915 hardcode_libdir_flag_spec_ld
=
9916 hardcode_libdir_separator
=
9918 hardcode_shlibpath_var
=unsupported
9920 link_all_deplibs
=unknown
9923 old_archive_from_new_cmds
=
9924 old_archive_from_expsyms_cmds
=
9925 thread_safe_flag_spec
=
9926 whole_archive_flag_spec
=
9927 # include_expsyms should be a list of space-separated symbols to be *always*
9928 # included in the symbol list
9930 # exclude_expsyms can be an extended regexp of symbols to exclude
9931 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9932 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9933 # as well as any symbol that contains `d'.
9934 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9935 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9936 # platforms (ab)use it in PIC code, but their linkers get confused if
9937 # the symbol is explicitly referenced. Since portable code cannot
9938 # rely on this symbol name, it's probably fine to never include it in
9939 # preloaded symbol tables.
9940 # Exclude shared library initialization/finalization symbols.
9941 extract_expsyms_cmds
=
9944 cygwin
* | mingw
* | pw32
* | cegcc
*)
9945 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9946 # When not using gcc, we currently assume that we are using
9947 # Microsoft Visual C++.
9948 if test "$GCC" != yes; then
9953 # we just hope/assume this is gcc and not c89 (= MSVC++)
9963 # On some targets, GNU ld is compatible enough with the native linker
9964 # that we're better off using the native interface for both.
9965 lt_use_gnu_ld_interface
=no
9966 if test "$with_gnu_ld" = yes; then
9969 # The AIX port of GNU ld has always aspired to compatibility
9970 # with the native linker. However, as the warning in the GNU ld
9971 # block says, versions before 2.19.5* couldn't really create working
9972 # shared libraries, regardless of the interface used.
9973 case `$LD -v 2>&1` in
9974 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9975 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9976 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9978 lt_use_gnu_ld_interface
=yes
9983 lt_use_gnu_ld_interface
=yes
9988 if test "$lt_use_gnu_ld_interface" = yes; then
9989 # If archive_cmds runs LD, not CC, wlarc should be empty
9992 # Set some defaults for GNU ld with shared library support. These
9993 # are reset later if shared libraries are not supported. Putting them
9994 # here allows them to be overridden if necessary.
9995 runpath_var
=LD_RUN_PATH
9996 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9997 export_dynamic_flag_spec
='${wl}--export-dynamic'
9998 # ancient GNU ld didn't support --whole-archive et. al.
9999 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10000 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10002 whole_archive_flag_spec
=
10004 supports_anon_versioning
=no
10005 case `$LD -v 2>&1` in
10006 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10007 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10008 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10009 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10010 *\
2.11.
*) ;; # other 2.11 versions
10011 *) supports_anon_versioning
=yes ;;
10014 # See if GNU ld supports shared libraries.
10017 # On AIX/PPC, the GNU linker is very broken
10018 if test "$host_cpu" != ia64
; then
10022 *** Warning: the GNU linker, at least up to release 2.19, is reported
10023 *** to be unable to reliably create shared libraries on AIX.
10024 *** Therefore, libtool is disabling shared libraries support. If you
10025 *** really care for shared libraries, you may want to install binutils
10026 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10027 *** You will then need to restart the configuration process.
10036 # see comment about AmigaOS4 .so support
10037 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10038 archive_expsym_cmds
=''
10041 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)'
10042 hardcode_libdir_flag_spec
='-L$libdir'
10043 hardcode_minus_L
=yes
10049 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10050 allow_undefined_flag
=unsupported
10051 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10052 # support --undefined. This deserves some investigation. FIXME
10053 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10059 cygwin
* | mingw
* | pw32
* | cegcc
*)
10060 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10061 # as there is no search path for DLLs.
10062 hardcode_libdir_flag_spec
='-L$libdir'
10063 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10064 allow_undefined_flag
=unsupported
10065 always_export_symbols
=no
10066 enable_shared_with_static_runtimes
=yes
10067 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10069 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10070 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10071 # If the export-symbols file already is a .def file (1st line
10072 # is EXPORTS), use it as is; otherwise, prepend...
10073 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10074 cp $export_symbols $output_objdir/$soname.def;
10076 echo EXPORTS > $output_objdir/$soname.def;
10077 cat $export_symbols >> $output_objdir/$soname.def;
10079 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10086 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10087 link_all_deplibs
=yes
10092 hardcode_shlibpath_var
=no
10093 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10094 export_dynamic_flag_spec
='${wl}-E'
10095 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10096 # Instead, shared libraries are loaded at an image base (0x10000000 by
10097 # default) and relocated if they conflict, which is a slow very memory
10098 # consuming and fragmenting process. To avoid this, we pick a random,
10099 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10100 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10101 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10102 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'
10105 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10107 if test "$host_os" = linux-dietlibc
; then
10108 case $cc_basename in
10109 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10112 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10113 && test "$tmp_diet" = no
10116 tmp_sharedflag
='-shared'
10117 case $cc_basename,$host_cpu in
10118 pgcc
*) # Portland Group C compiler
10119 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'
10120 tmp_addflag
=' $pic_flag'
10122 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10123 # Portland Group f77 and f90 compilers
10124 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'
10125 tmp_addflag
=' $pic_flag -Mnomain' ;;
10126 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10127 tmp_addflag
=' -i_dynamic' ;;
10128 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10129 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10130 ifc
* | ifort
*) # Intel Fortran compiler
10131 tmp_addflag
=' -nofor_main' ;;
10132 lf95
*) # Lahey Fortran 8.1
10133 whole_archive_flag_spec
=
10134 tmp_sharedflag
='--shared' ;;
10135 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10136 tmp_sharedflag
='-qmkshrobj'
10138 nvcc
*) # Cuda Compiler Driver 2.2
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 compiler_needs_object
=yes
10143 case `$CC -V 2>&1 | sed 5q` in
10144 *Sun\ C
*) # Sun C 5.9
10145 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'
10146 compiler_needs_object
=yes
10147 tmp_sharedflag
='-G' ;;
10148 *Sun\ F
*) # Sun Fortran 8.3
10149 tmp_sharedflag
='-G' ;;
10151 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10153 if test "x$supports_anon_versioning" = xyes
; then
10154 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10155 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10156 echo "local: *; };" >> $output_objdir/$libname.ver~
10157 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10160 case $cc_basename in
10161 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10162 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10163 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10164 hardcode_libdir_flag_spec
=
10165 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10166 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10167 if test "x$supports_anon_versioning" = xyes
; then
10168 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10169 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10170 echo "local: *; };" >> $output_objdir/$libname.ver~
10171 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10181 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10182 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10185 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10186 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10191 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10195 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10196 *** create shared libraries on Solaris systems. Therefore, libtool
10197 *** is disabling shared libraries support. We urge you to upgrade GNU
10198 *** binutils to release 2.9.1 or newer. Another option is to modify
10199 *** your PATH or compiler configuration so that the native linker is
10200 *** used, and then restart.
10203 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10204 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10205 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10211 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10212 case `$LD -v 2>&1` in
10213 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10217 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10218 *** reliably create shared libraries on SCO systems. Therefore, libtool
10219 *** is disabling shared libraries support. We urge you to upgrade GNU
10220 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10221 *** your PATH or compiler configuration so that the native linker is
10222 *** used, and then restart.
10227 # For security reasons, it is highly recommended that you always
10228 # use absolute paths for naming shared libraries, and exclude the
10229 # DT_RUNPATH tag from executables and libraries. But doing so
10230 # requires that you compile everything twice, which is a pain.
10231 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10232 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10233 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10234 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10243 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10245 hardcode_direct
=yes
10246 hardcode_shlibpath_var
=no
10250 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10251 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10252 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10259 if test "$ld_shlibs" = no
; then
10261 hardcode_libdir_flag_spec
=
10262 export_dynamic_flag_spec
=
10263 whole_archive_flag_spec
=
10266 # PORTME fill in a description of your system's linker (not GNU ld)
10269 allow_undefined_flag
=unsupported
10270 always_export_symbols
=yes
10271 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'
10272 # Note: this linker hardcodes the directories in LIBPATH if there
10273 # are no directories specified by -L.
10274 hardcode_minus_L
=yes
10275 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10276 # Neither direct hardcoding nor static linking is supported with a
10278 hardcode_direct
=unsupported
10283 if test "$host_cpu" = ia64
; then
10284 # On IA64, the linker does run time linking by default, so we don't
10285 # have to do anything special.
10286 aix_use_runtimelinking
=no
10287 exp_sym_flag
='-Bexport'
10290 # If we're using GNU nm, then we don't want the "-C" option.
10291 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10292 # Also, AIX nm treats weak defined symbols like other global
10293 # defined symbols, whereas GNU nm marks them as "W".
10294 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10295 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'
10297 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'
10299 aix_use_runtimelinking
=no
10301 # Test if we are trying to use run time linking or normal
10302 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10303 # need to do runtime linking.
10304 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10305 for ld_flag
in $LDFLAGS; do
10306 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10307 aix_use_runtimelinking
=yes
10314 exp_sym_flag
='-bexport'
10315 no_entry_flag
='-bnoentry'
10318 # When large executables or shared objects are built, AIX ld can
10319 # have problems creating the table of contents. If linking a library
10320 # or program results in "error TOC overflow" add -mminimal-toc to
10321 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10322 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10325 hardcode_direct
=yes
10326 hardcode_direct_absolute
=yes
10327 hardcode_libdir_separator
=':'
10328 link_all_deplibs
=yes
10329 file_list_spec
='${wl}-f,'
10331 if test "$GCC" = yes; then
10332 case $host_os in aix4.
[012]|aix4.
[012].
*)
10333 # We only want to do this on AIX 4.2 and lower, the check
10334 # below for broken collect2 doesn't work under 4.3+
10335 collect2name
=`${CC} -print-prog-name=collect2`
10336 if test -f "$collect2name" &&
10337 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10339 # We have reworked collect2
10342 # We have old collect2
10343 hardcode_direct
=unsupported
10344 # It fails to find uninstalled libraries when the uninstalled
10345 # path is not listed in the libpath. Setting hardcode_minus_L
10346 # to unsupported forces relinking
10347 hardcode_minus_L
=yes
10348 hardcode_libdir_flag_spec
='-L$libdir'
10349 hardcode_libdir_separator
=
10353 shared_flag
='-shared'
10354 if test "$aix_use_runtimelinking" = yes; then
10355 shared_flag
="$shared_flag "'${wl}-G'
10359 if test "$host_cpu" = ia64
; then
10360 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10361 # chokes on -Wl,-G. The following line is correct:
10364 if test "$aix_use_runtimelinking" = yes; then
10365 shared_flag
='${wl}-G'
10367 shared_flag
='${wl}-bM:SRE'
10372 export_dynamic_flag_spec
='${wl}-bexpall'
10373 # It seems that -bexpall does not export symbols beginning with
10374 # underscore (_), so it is better to generate a list of symbols to export.
10375 always_export_symbols
=yes
10376 if test "$aix_use_runtimelinking" = yes; then
10377 # Warning - without using the other runtime loading flags (-brtl),
10378 # -berok will link without error, but may produce a broken library.
10379 allow_undefined_flag
='-berok'
10380 # Determine the default libpath from the value encoded in an
10381 # empty executable.
10382 if test x
$gcc_no_link = xyes
; then
10383 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10386 /* end confdefs.h. */
10396 if ac_fn_c_try_link
"$LINENO"; then :
10398 lt_aix_libpath_sed
='
10399 /Import File Strings/,/^$/ {
10405 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10406 # Check for a 64-bit object if we didn't find anything.
10407 if test -z "$aix_libpath"; then
10408 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10411 rm -f core conftest.err conftest.
$ac_objext \
10412 conftest
$ac_exeext conftest.
$ac_ext
10413 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10415 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10416 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"
10418 if test "$host_cpu" = ia64
; then
10419 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10420 allow_undefined_flag
="-z nodefs"
10421 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"
10423 # Determine the default libpath from the value encoded in an
10424 # empty executable.
10425 if test x
$gcc_no_link = xyes
; then
10426 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10429 /* end confdefs.h. */
10439 if ac_fn_c_try_link
"$LINENO"; then :
10441 lt_aix_libpath_sed
='
10442 /Import File Strings/,/^$/ {
10448 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10449 # Check for a 64-bit object if we didn't find anything.
10450 if test -z "$aix_libpath"; then
10451 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10454 rm -f core conftest.err conftest.
$ac_objext \
10455 conftest
$ac_exeext conftest.
$ac_ext
10456 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10458 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10459 # Warning - without using the other run time loading flags,
10460 # -berok will link without error, but may produce a broken library.
10461 no_undefined_flag
=' ${wl}-bernotok'
10462 allow_undefined_flag
=' ${wl}-berok'
10463 if test "$with_gnu_ld" = yes; then
10464 # We only use this code for GNU lds that support --whole-archive.
10465 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10467 # Exported symbols can be pulled into shared objects from archives
10468 whole_archive_flag_spec
='$convenience'
10470 archive_cmds_need_lc
=yes
10471 # This is similar to how AIX traditionally builds its shared libraries.
10472 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'
10480 # see comment about AmigaOS4 .so support
10481 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10482 archive_expsym_cmds
=''
10485 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)'
10486 hardcode_libdir_flag_spec
='-L$libdir'
10487 hardcode_minus_L
=yes
10493 export_dynamic_flag_spec
=-rdynamic
10496 cygwin
* | mingw
* | pw32
* | cegcc
*)
10497 # When not using gcc, we currently assume that we are using
10498 # Microsoft Visual C++.
10499 # hardcode_libdir_flag_spec is actually meaningless, as there is
10500 # no search path for DLLs.
10501 hardcode_libdir_flag_spec
=' '
10502 allow_undefined_flag
=unsupported
10503 # Tell ltmain to make .lib files, not .a files.
10505 # Tell ltmain to make .dll files, not .so files.
10507 # FIXME: Setting linknames here is a bad hack.
10508 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10509 # The linker will automatically build a .lib file if we build a DLL.
10510 old_archive_from_new_cmds
='true'
10511 # FIXME: Should let the user specify the lib program.
10512 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10513 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10514 enable_shared_with_static_runtimes
=yes
10517 darwin
* | rhapsody
*)
10520 archive_cmds_need_lc
=no
10522 hardcode_automatic
=yes
10523 hardcode_shlibpath_var
=unsupported
10524 if test "$lt_cv_ld_force_load" = "yes"; then
10525 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\"`'
10527 whole_archive_flag_spec
=''
10529 link_all_deplibs
=yes
10530 allow_undefined_flag
="$_lt_dar_allow_undefined"
10531 case $cc_basename in
10532 ifort
*) _lt_dar_can_shared
=yes ;;
10533 *) _lt_dar_can_shared
=$GCC ;;
10535 if test "$_lt_dar_can_shared" = "yes"; then
10536 output_verbose_link_cmd
=func_echo_all
10537 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10538 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10539 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}"
10540 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}"
10549 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10550 hardcode_libdir_flag_spec
='-L$libdir'
10551 hardcode_shlibpath_var
=no
10554 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10555 # support. Future versions do this automatically, but an explicit c++rt0.o
10556 # does not break anything, and helps significantly (at the cost of a little
10559 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10560 hardcode_libdir_flag_spec
='-R$libdir'
10561 hardcode_direct
=yes
10562 hardcode_shlibpath_var
=no
10565 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10567 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10568 hardcode_direct
=yes
10569 hardcode_minus_L
=yes
10570 hardcode_shlibpath_var
=no
10573 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10574 freebsd
* | dragonfly
*)
10575 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10576 hardcode_libdir_flag_spec
='-R$libdir'
10577 hardcode_direct
=yes
10578 hardcode_shlibpath_var
=no
10582 if test "$GCC" = yes; then
10583 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'
10585 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'
10587 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10588 hardcode_libdir_separator
=:
10589 hardcode_direct
=yes
10591 # hardcode_minus_L: Not really in the search PATH,
10592 # but as the default location of the library.
10593 hardcode_minus_L
=yes
10594 export_dynamic_flag_spec
='${wl}-E'
10598 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10599 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10601 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10603 if test "$with_gnu_ld" = no
; then
10604 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10605 hardcode_libdir_flag_spec_ld
='+b $libdir'
10606 hardcode_libdir_separator
=:
10607 hardcode_direct
=yes
10608 hardcode_direct_absolute
=yes
10609 export_dynamic_flag_spec
='${wl}-E'
10610 # hardcode_minus_L: Not really in the search PATH,
10611 # but as the default location of the library.
10612 hardcode_minus_L
=yes
10617 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10620 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10623 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10626 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10632 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10635 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10639 # Older versions of the 11.00 compiler do not understand -b yet
10640 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10642 $as_echo_n "checking if $CC understands -b... " >&6; }
10643 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10644 $as_echo_n "(cached) " >&6
10646 lt_cv_prog_compiler__b
=no
10647 save_LDFLAGS
="$LDFLAGS"
10648 LDFLAGS
="$LDFLAGS -b"
10649 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10650 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10651 # The linker can only warn and ignore the option if not recognized
10652 # So say no if there are warnings
10653 if test -s conftest.err
; then
10654 # Append any errors to the config.log.
10655 cat conftest.err
1>&5
10656 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10657 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10658 if diff conftest.exp conftest.er2
>/dev
/null
; then
10659 lt_cv_prog_compiler__b
=yes
10662 lt_cv_prog_compiler__b
=yes
10666 LDFLAGS
="$save_LDFLAGS"
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10670 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10672 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10673 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10675 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10681 if test "$with_gnu_ld" = no
; then
10682 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10683 hardcode_libdir_separator
=:
10688 hardcode_shlibpath_var
=no
10691 hardcode_direct
=yes
10692 hardcode_direct_absolute
=yes
10693 export_dynamic_flag_spec
='${wl}-E'
10695 # hardcode_minus_L: Not really in the search PATH,
10696 # but as the default location of the library.
10697 hardcode_minus_L
=yes
10703 irix5
* | irix6
* | nonstopux
*)
10704 if test "$GCC" = yes; then
10705 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'
10706 # Try to use the -exported_symbol ld option, if it does not
10707 # work, assume that -exports_file does not work either and
10708 # implicitly export all symbols.
10709 save_LDFLAGS
="$LDFLAGS"
10710 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10711 if test x
$gcc_no_link = xyes
; then
10712 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10715 /* end confdefs.h. */
10718 if ac_fn_c_try_link
"$LINENO"; then :
10719 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'
10722 rm -f core conftest.err conftest.
$ac_objext \
10723 conftest
$ac_exeext conftest.
$ac_ext
10724 LDFLAGS
="$save_LDFLAGS"
10726 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'
10727 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'
10729 archive_cmds_need_lc
='no'
10730 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10731 hardcode_libdir_separator
=:
10733 link_all_deplibs
=yes
10737 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10738 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10740 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10742 hardcode_libdir_flag_spec
='-R$libdir'
10743 hardcode_direct
=yes
10744 hardcode_shlibpath_var
=no
10748 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10749 hardcode_direct
=yes
10750 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10751 hardcode_libdir_separator
=:
10752 hardcode_shlibpath_var
=no
10759 if test -f /usr
/libexec
/ld.so
; then
10760 hardcode_direct
=yes
10761 hardcode_shlibpath_var
=no
10762 hardcode_direct_absolute
=yes
10763 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10764 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10765 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10766 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10767 export_dynamic_flag_spec
='${wl}-E'
10770 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10771 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10772 hardcode_libdir_flag_spec
='-R$libdir'
10775 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10776 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10786 hardcode_libdir_flag_spec
='-L$libdir'
10787 hardcode_minus_L
=yes
10788 allow_undefined_flag
=unsupported
10789 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'
10790 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10794 if test "$GCC" = yes; then
10795 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10796 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'
10798 allow_undefined_flag
=' -expect_unresolved \*'
10799 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'
10801 archive_cmds_need_lc
='no'
10802 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10803 hardcode_libdir_separator
=:
10806 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10807 if test "$GCC" = yes; then
10808 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10809 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'
10810 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10812 allow_undefined_flag
=' -expect_unresolved \*'
10813 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'
10814 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~
10815 $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'
10817 # Both c and cxx compiler support -rpath directly
10818 hardcode_libdir_flag_spec
='-rpath $libdir'
10820 archive_cmds_need_lc
='no'
10821 hardcode_libdir_separator
=:
10825 no_undefined_flag
=' -z defs'
10826 if test "$GCC" = yes; then
10828 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10829 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10830 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10832 case `$CC -V 2>&1` in
10835 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10836 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10837 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10841 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10842 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10843 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10847 hardcode_libdir_flag_spec
='-R$libdir'
10848 hardcode_shlibpath_var
=no
10850 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10852 # The compiler driver will combine and reorder linker options,
10853 # but understands `-z linker_flag'. GCC discards it without `$wl',
10854 # but is careful enough not to reorder.
10855 # Supported since Solaris 2.6 (maybe 2.5.1?)
10856 if test "$GCC" = yes; then
10857 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10859 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10863 link_all_deplibs
=yes
10867 if test "x$host_vendor" = xsequent
; then
10868 # Use $CC to link under sequent, because it throws in some extra .o
10869 # files that make .init and .fini sections work.
10870 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10872 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10874 hardcode_libdir_flag_spec
='-L$libdir'
10875 hardcode_direct
=yes
10876 hardcode_minus_L
=yes
10877 hardcode_shlibpath_var
=no
10881 case $host_vendor in
10883 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10884 hardcode_direct
=yes # is this really true???
10887 ## LD is ld it makes a PLAMLIB
10888 ## CC just makes a GrossModule.
10889 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10890 reload_cmds
='$CC -r -o $output$reload_objs'
10894 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10895 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10898 runpath_var
='LD_RUN_PATH'
10899 hardcode_shlibpath_var
=no
10903 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10904 hardcode_shlibpath_var
=no
10905 export_dynamic_flag_spec
='-Bexport'
10909 if test -d /usr
/nec
; then
10910 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10911 hardcode_shlibpath_var
=no
10912 runpath_var
=LD_RUN_PATH
10913 hardcode_runpath_var
=yes
10918 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10919 no_undefined_flag
='${wl}-z,text'
10920 archive_cmds_need_lc
=no
10921 hardcode_shlibpath_var
=no
10922 runpath_var
='LD_RUN_PATH'
10924 if test "$GCC" = yes; then
10925 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10926 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10928 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10929 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10933 sysv5
* | sco3.2v5
* | sco5v6
*)
10934 # Note: We can NOT use -z defs as we might desire, because we do not
10935 # link with -lc, and that would cause any symbols used from libc to
10936 # always be unresolved, which means just about no library would
10937 # ever link correctly. If we're not using GNU ld we use -z text
10938 # though, which does catch some bad symbols but isn't as heavy-handed
10940 no_undefined_flag
='${wl}-z,text'
10941 allow_undefined_flag
='${wl}-z,nodefs'
10942 archive_cmds_need_lc
=no
10943 hardcode_shlibpath_var
=no
10944 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10945 hardcode_libdir_separator
=':'
10946 link_all_deplibs
=yes
10947 export_dynamic_flag_spec
='${wl}-Bexport'
10948 runpath_var
='LD_RUN_PATH'
10950 if test "$GCC" = yes; then
10951 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10952 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10954 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10955 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10960 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10961 hardcode_libdir_flag_spec
='-L$libdir'
10962 hardcode_shlibpath_var
=no
10970 if test x
$host_vendor = xsni
; then
10972 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10973 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10980 $as_echo "$ld_shlibs" >&6; }
10981 test "$ld_shlibs" = no
&& can_build_shared
=no
10983 with_gnu_ld
=$with_gnu_ld
11000 # Do we need to explicitly link libc?
11002 case "x$archive_cmds_need_lc" in
11004 # Assume -lc should be added
11005 archive_cmds_need_lc
=yes
11007 if test "$enable_shared" = yes && test "$GCC" = yes; then
11008 case $archive_cmds in
11010 # FIXME: we may have to deal with multi-command sequences.
11013 # Test whether the compiler implicitly links with -lc since on some
11014 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11015 # to ld, don't add -lc before -lgcc.
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11017 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11018 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
11019 $as_echo_n "(cached) " >&6
11022 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11024 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11025 (eval $ac_compile) 2>&5
11027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11028 test $ac_status = 0; } 2>conftest.err
; then
11031 libobjs
=conftest.
$ac_objext
11033 wl
=$lt_prog_compiler_wl
11034 pic_flag
=$lt_prog_compiler_pic
11040 lt_save_allow_undefined_flag
=$allow_undefined_flag
11041 allow_undefined_flag
=
11042 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11043 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11046 test $ac_status = 0; }
11048 lt_cv_archive_cmds_need_lc
=no
11050 lt_cv_archive_cmds_need_lc
=yes
11052 allow_undefined_flag
=$lt_save_allow_undefined_flag
11054 cat conftest.err
1>&5
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11060 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11061 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11225 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11227 if test "$GCC" = yes; then
11229 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11230 *) lt_awk_arg
="/^libraries:/" ;;
11233 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11234 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11236 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11237 case $lt_search_path_spec in
11239 # if the path contains ";" then we assume it to be the separator
11240 # otherwise default to the standard path separator (i.e. ":") - it is
11241 # assumed that no part of a normal pathname contains ";" but that should
11242 # okay in the real world where ";" in dirpaths is itself problematic.
11243 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11246 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11249 # Ok, now we have the path, separated by spaces, we can step through it
11250 # and add multilib dir if necessary.
11251 lt_tmp_lt_search_path_spec
=
11252 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11253 for lt_sys_path
in $lt_search_path_spec; do
11254 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11255 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11257 test -d "$lt_sys_path" && \
11258 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11261 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11262 BEGIN {RS=" "; FS="/|\n";} {
11265 for (lt_i = NF; lt_i > 0; lt_i--) {
11266 if ($lt_i != "" && $lt_i != ".") {
11267 if ($lt_i == "..") {
11270 if (lt_count == 0) {
11271 lt_foo="/" $lt_i lt_foo;
11278 if (lt_foo != "") { lt_freq[lt_foo]++; }
11279 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11281 # AWK program above erroneously prepends '/' to C:/dos/paths
11284 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11285 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11287 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11289 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11291 library_names_spec
=
11292 libname_spec
='lib$name'
11296 postuninstall_cmds
=
11300 shlibpath_overrides_runpath
=unknown
11302 dynamic_linker
="$host_os ld.so"
11303 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11304 need_lib_prefix
=unknown
11305 hardcode_into_libs
=no
11307 # when you set need_version to no, make sure it does not cause -set_version
11308 # flags to be left without arguments
11309 need_version
=unknown
11314 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11315 shlibpath_var
=LIBPATH
11317 # AIX 3 has no versioning support, so we append a major version to the name.
11318 soname_spec
='${libname}${release}${shared_ext}$major'
11325 hardcode_into_libs
=yes
11326 if test "$host_cpu" = ia64
; then
11327 # AIX 5 supports IA64
11328 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11329 shlibpath_var
=LD_LIBRARY_PATH
11331 # With GCC up to 2.95.x, collect2 would create an import file
11332 # for dependence libraries. The import file would start with
11333 # the line `#! .'. This would cause the generated library to
11334 # depend on `.', always an invalid library. This was fixed in
11335 # development snapshots of GCC prior to 3.0.
11337 aix4 | aix4.
[01] | aix4.
[01].
*)
11338 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11340 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11343 can_build_shared
=no
11347 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11348 # soname into executable. Probably we can add versioning support to
11349 # collect2, so additional links can be useful in future.
11350 if test "$aix_use_runtimelinking" = yes; then
11351 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11352 # instead of lib<name>.a to let people know that these are not
11353 # typical AIX shared libraries.
11354 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11356 # We preserve .a as extension for shared libraries through AIX4.2
11357 # and later when we are not doing run time linking.
11358 library_names_spec
='${libname}${release}.a $libname.a'
11359 soname_spec
='${libname}${release}${shared_ext}$major'
11361 shlibpath_var
=LIBPATH
11368 # Since July 2007 AmigaOS4 officially supports .so libraries.
11369 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11370 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11373 library_names_spec
='$libname.ixlibrary $libname.a'
11374 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11375 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'
11381 library_names_spec
='${libname}${shared_ext}'
11382 dynamic_linker
="$host_os ld.so"
11383 shlibpath_var
=LIBRARY_PATH
11389 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11390 soname_spec
='${libname}${release}${shared_ext}$major'
11391 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11392 shlibpath_var
=LD_LIBRARY_PATH
11393 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11394 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11395 # the default ld.so.conf also contains /usr/contrib/lib and
11396 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11397 # libtool to hard-code these into programs
11400 cygwin
* | mingw
* | pw32
* | cegcc
*)
11401 version_type
=windows
11406 case $GCC,$host_os in
11407 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11408 library_names_spec
='$libname.dll.a'
11409 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11410 postinstall_cmds
='base_file=`basename \${file}`~
11411 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11412 dldir=$destdir/`dirname \$dlpath`~
11413 test -d \$dldir || mkdir -p \$dldir~
11414 $install_prog $dir/$dlname \$dldir/$dlname~
11415 chmod a+x \$dldir/$dlname~
11416 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11417 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11419 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11420 dlpath=$dir/\$dldll~
11422 shlibpath_overrides_runpath
=yes
11426 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11427 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11429 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11432 # MinGW DLLs use traditional 'lib' prefix
11433 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11436 # pw32 DLLs use 'pw' prefix rather than 'lib'
11437 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11443 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11446 dynamic_linker
='Win32 ld.exe'
11447 # FIXME: first we should search . and the directory the executable is in
11451 darwin
* | rhapsody
*)
11452 dynamic_linker
="$host_os dyld"
11453 version_type
=darwin
11456 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11457 soname_spec
='${libname}${release}${major}$shared_ext'
11458 shlibpath_overrides_runpath
=yes
11459 shlibpath_var
=DYLD_LIBRARY_PATH
11460 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11462 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11463 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11470 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11471 soname_spec
='${libname}${release}${shared_ext}$major'
11472 shlibpath_var
=LD_LIBRARY_PATH
11475 freebsd
* | dragonfly
*)
11476 # DragonFly does not have aout. When/if they implement a new
11477 # versioning mechanism, adjust this.
11478 if test -x /usr
/bin
/objformat
; then
11479 objformat
=`/usr/bin/objformat`
11482 freebsd
[23].
*) objformat
=aout
;;
11483 *) objformat
=elf
;;
11486 version_type
=freebsd-
$objformat
11487 case $version_type in
11489 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11494 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11498 shlibpath_var
=LD_LIBRARY_PATH
11501 shlibpath_overrides_runpath
=yes
11503 freebsd3.
[01]* | freebsdelf3.
[01]*)
11504 shlibpath_overrides_runpath
=yes
11505 hardcode_into_libs
=yes
11507 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11508 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11509 shlibpath_overrides_runpath
=no
11510 hardcode_into_libs
=yes
11512 *) # from 4.6 on, and DragonFly
11513 shlibpath_overrides_runpath
=yes
11514 hardcode_into_libs
=yes
11523 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11524 soname_spec
='${libname}${release}${shared_ext}$major'
11525 shlibpath_var
=LD_LIBRARY_PATH
11526 hardcode_into_libs
=yes
11533 dynamic_linker
="$host_os runtime_loader"
11534 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11535 soname_spec
='${libname}${release}${shared_ext}$major'
11536 shlibpath_var
=LIBRARY_PATH
11537 shlibpath_overrides_runpath
=yes
11538 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11539 hardcode_into_libs
=yes
11542 hpux9
* | hpux10
* | hpux11
*)
11543 # Give a soname corresponding to the major version so that dld.sl refuses to
11544 # link against other versions.
11551 hardcode_into_libs
=yes
11552 dynamic_linker
="$host_os dld.so"
11553 shlibpath_var
=LD_LIBRARY_PATH
11554 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11555 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11556 soname_spec
='${libname}${release}${shared_ext}$major'
11557 if test "X$HPUX_IA64_MODE" = X32
; then
11558 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11560 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11562 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11566 hardcode_into_libs
=yes
11567 dynamic_linker
="$host_os dld.sl"
11568 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_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 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11573 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11577 dynamic_linker
="$host_os dld.sl"
11578 shlibpath_var
=SHLIB_PATH
11579 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11580 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11581 soname_spec
='${libname}${release}${shared_ext}$major'
11584 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11585 postinstall_cmds
='chmod 555 $lib'
11586 # or fails outright, so override atomically:
11587 install_override_mode
=555
11594 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11595 soname_spec
='${libname}${release}${shared_ext}$major'
11596 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11597 shlibpath_var
=LD_LIBRARY_PATH
11598 shlibpath_overrides_runpath
=no
11599 hardcode_into_libs
=yes
11602 irix5
* | irix6
* | nonstopux
*)
11604 nonstopux
*) version_type
=nonstopux
;;
11606 if test "$lt_cv_prog_gnu_ld" = yes; then
11614 soname_spec
='${libname}${release}${shared_ext}$major'
11615 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11617 irix5
* | nonstopux
*)
11618 libsuff
= shlibsuff
=
11621 case $LD in # libtool.m4 will add one of these switches to LD
11622 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11623 libsuff
= shlibsuff
= libmagic
=32-bit;;
11624 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11625 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11626 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11627 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11628 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11632 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11633 shlibpath_overrides_runpath
=no
11634 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11635 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11636 hardcode_into_libs
=yes
11639 # No shared lib support for Linux oldld, aout, or coff.
11640 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11644 # This must be Linux ELF.
11645 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11649 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11650 soname_spec
='${libname}${release}${shared_ext}$major'
11651 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11652 shlibpath_var
=LD_LIBRARY_PATH
11653 shlibpath_overrides_runpath
=no
11655 # Some binutils ld are patched to set DT_RUNPATH
11656 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11657 $as_echo_n "(cached) " >&6
11659 lt_cv_shlibpath_overrides_runpath
=no
11660 save_LDFLAGS
=$LDFLAGS
11661 save_libdir
=$libdir
11662 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11663 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11664 if test x
$gcc_no_link = xyes
; then
11665 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11668 /* end confdefs.h. */
11678 if ac_fn_c_try_link
"$LINENO"; then :
11679 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11680 lt_cv_shlibpath_overrides_runpath
=yes
11683 rm -f core conftest.err conftest.
$ac_objext \
11684 conftest
$ac_exeext conftest.
$ac_ext
11685 LDFLAGS
=$save_LDFLAGS
11686 libdir
=$save_libdir
11690 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11692 # This implies no fast_install, which is unacceptable.
11693 # Some rework will be needed to allow for fast_install
11694 # before this can be enabled.
11695 hardcode_into_libs
=yes
11697 # Append ld.so.conf contents to the search path
11698 if test -f /etc
/ld.so.conf
; then
11699 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' ' '`
11700 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11703 # We used to test for /lib/ld.so.1 and disable shared libraries on
11704 # powerpc, because MkLinux only supported shared libraries with the
11705 # GNU dynamic linker. Since this was broken with cross compilers,
11706 # most powerpc-linux boxes support dynamic linking these days and
11707 # people can always --disable-shared, the test was removed, and we
11708 # assume the GNU/Linux dynamic linker is in use.
11709 dynamic_linker
='GNU/Linux ld.so'
11716 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11717 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11718 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11719 dynamic_linker
='NetBSD (a.out) ld.so'
11721 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11722 soname_spec
='${libname}${release}${shared_ext}$major'
11723 dynamic_linker
='NetBSD ld.elf_so'
11725 shlibpath_var
=LD_LIBRARY_PATH
11726 shlibpath_overrides_runpath
=yes
11727 hardcode_into_libs
=yes
11732 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11733 shlibpath_var
=LD_LIBRARY_PATH
11734 shlibpath_overrides_runpath
=yes
11741 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11742 soname_spec
='${libname}${release}${shared_ext}$major'
11743 shlibpath_var
=LD_LIBRARY_PATH
11744 shlibpath_overrides_runpath
=no
11745 hardcode_into_libs
=yes
11746 dynamic_linker
='ldqnx.so'
11751 sys_lib_dlsearch_path_spec
="/usr/lib"
11753 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11755 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11756 *) need_version
=no
;;
11758 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11759 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11760 shlibpath_var
=LD_LIBRARY_PATH
11761 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11763 openbsd2.
[89] | openbsd2.
[89].
*)
11764 shlibpath_overrides_runpath
=no
11767 shlibpath_overrides_runpath
=yes
11771 shlibpath_overrides_runpath
=yes
11776 libname_spec
='$name'
11779 library_names_spec
='$libname${shared_ext} $libname.a'
11780 dynamic_linker
='OS/2 ld.exe'
11781 shlibpath_var
=LIBPATH
11784 osf3
* | osf4
* | osf5
*)
11788 soname_spec
='${libname}${release}${shared_ext}$major'
11789 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11790 shlibpath_var
=LD_LIBRARY_PATH
11791 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11792 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11803 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11804 soname_spec
='${libname}${release}${shared_ext}$major'
11805 shlibpath_var
=LD_LIBRARY_PATH
11806 shlibpath_overrides_runpath
=yes
11807 hardcode_into_libs
=yes
11808 # ldd complains unless libraries are executable
11809 postinstall_cmds
='chmod +x $lib'
11814 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11815 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11816 shlibpath_var
=LD_LIBRARY_PATH
11817 shlibpath_overrides_runpath
=yes
11818 if test "$with_gnu_ld" = yes; then
11826 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11827 soname_spec
='${libname}${release}${shared_ext}$major'
11828 shlibpath_var
=LD_LIBRARY_PATH
11829 case $host_vendor in
11831 shlibpath_overrides_runpath
=no
11833 runpath_var
=LD_RUN_PATH
11841 shlibpath_overrides_runpath
=no
11842 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11848 if test -d /usr
/nec
;then
11850 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11851 soname_spec
='$libname${shared_ext}.$major'
11852 shlibpath_var
=LD_LIBRARY_PATH
11856 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11857 version_type
=freebsd-elf
11860 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11861 soname_spec
='${libname}${release}${shared_ext}$major'
11862 shlibpath_var
=LD_LIBRARY_PATH
11863 shlibpath_overrides_runpath
=yes
11864 hardcode_into_libs
=yes
11865 if test "$with_gnu_ld" = yes; then
11866 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11868 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11871 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11875 sys_lib_dlsearch_path_spec
='/usr/lib'
11879 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11883 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11884 shlibpath_var
=LD_LIBRARY_PATH
11885 shlibpath_overrides_runpath
=no
11886 hardcode_into_libs
=yes
11891 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11892 soname_spec
='${libname}${release}${shared_ext}$major'
11893 shlibpath_var
=LD_LIBRARY_PATH
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11901 $as_echo "$dynamic_linker" >&6; }
11902 test "$dynamic_linker" = no
&& can_build_shared
=no
11904 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11905 if test "$GCC" = yes; then
11906 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11909 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11910 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11912 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11913 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12008 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12010 if test -n "$hardcode_libdir_flag_spec" ||
12011 test -n "$runpath_var" ||
12012 test "X$hardcode_automatic" = "Xyes" ; then
12014 # We can hardcode non-existent directories.
12015 if test "$hardcode_direct" != no
&&
12016 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12017 # have to relink, otherwise we might link with an installed library
12018 # when we should be linking with a yet-to-be-installed one
12019 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12020 test "$hardcode_minus_L" != no
; then
12021 # Linking always hardcodes the temporary library directory.
12022 hardcode_action
=relink
12024 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12025 hardcode_action
=immediate
12028 # We cannot hardcode anything, or else we can only hardcode existing
12030 hardcode_action
=unsupported
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12033 $as_echo "$hardcode_action" >&6; }
12035 if test "$hardcode_action" = relink ||
12036 test "$inherit_rpath" = yes; then
12037 # Fast installation is not supported
12038 enable_fast_install
=no
12039 elif test "$shlibpath_overrides_runpath" = yes ||
12040 test "$enable_shared" = no
; then
12041 # Fast installation is not necessary
12042 enable_fast_install
=needless
12050 if test "x$enable_dlopen" != xyes
; then
12051 enable_dlopen
=unknown
12052 enable_dlopen_self
=unknown
12053 enable_dlopen_self_static
=unknown
12060 lt_cv_dlopen
="load_add_on"
12062 lt_cv_dlopen_self
=yes
12065 mingw
* | pw32
* | cegcc
*)
12066 lt_cv_dlopen
="LoadLibrary"
12071 lt_cv_dlopen
="dlopen"
12076 # if libdl is installed we need to link against it
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12078 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12079 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12080 $as_echo_n "(cached) " >&6
12082 ac_check_lib_save_LIBS
=$LIBS
12084 if test x
$gcc_no_link = xyes
; then
12085 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12088 /* end confdefs.h. */
12090 /* Override any GCC internal prototype to avoid an error.
12091 Use char because int might match the return type of a GCC
12092 builtin and then its argument prototype would still apply. */
12105 if ac_fn_c_try_link
"$LINENO"; then :
12106 ac_cv_lib_dl_dlopen
=yes
12108 ac_cv_lib_dl_dlopen
=no
12110 rm -f core conftest.err conftest.
$ac_objext \
12111 conftest
$ac_exeext conftest.
$ac_ext
12112 LIBS
=$ac_check_lib_save_LIBS
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12115 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12116 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12117 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12120 lt_cv_dlopen
="dyld"
12122 lt_cv_dlopen_self
=yes
12129 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12130 if test "x$ac_cv_func_shl_load" = x
""yes; then :
12131 lt_cv_dlopen
="shl_load"
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12134 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12135 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12136 $as_echo_n "(cached) " >&6
12138 ac_check_lib_save_LIBS
=$LIBS
12140 if test x
$gcc_no_link = xyes
; then
12141 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12144 /* end confdefs.h. */
12146 /* Override any GCC internal prototype to avoid an error.
12147 Use char because int might match the return type of a GCC
12148 builtin and then its argument prototype would still apply. */
12156 return shl_load ();
12161 if ac_fn_c_try_link
"$LINENO"; then :
12162 ac_cv_lib_dld_shl_load
=yes
12164 ac_cv_lib_dld_shl_load
=no
12166 rm -f core conftest.err conftest.
$ac_objext \
12167 conftest
$ac_exeext conftest.
$ac_ext
12168 LIBS
=$ac_check_lib_save_LIBS
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12171 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12172 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
12173 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12175 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12176 if test "x$ac_cv_func_dlopen" = x
""yes; then :
12177 lt_cv_dlopen
="dlopen"
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12180 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12181 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12182 $as_echo_n "(cached) " >&6
12184 ac_check_lib_save_LIBS
=$LIBS
12186 if test x
$gcc_no_link = xyes
; then
12187 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12190 /* end confdefs.h. */
12192 /* Override any GCC internal prototype to avoid an error.
12193 Use char because int might match the return type of a GCC
12194 builtin and then its argument prototype would still apply. */
12207 if ac_fn_c_try_link
"$LINENO"; then :
12208 ac_cv_lib_dl_dlopen
=yes
12210 ac_cv_lib_dl_dlopen
=no
12212 rm -f core conftest.err conftest.
$ac_objext \
12213 conftest
$ac_exeext conftest.
$ac_ext
12214 LIBS
=$ac_check_lib_save_LIBS
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12217 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12218 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12219 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12222 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12223 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12224 $as_echo_n "(cached) " >&6
12226 ac_check_lib_save_LIBS
=$LIBS
12227 LIBS
="-lsvld $LIBS"
12228 if test x
$gcc_no_link = xyes
; then
12229 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12232 /* end confdefs.h. */
12234 /* Override any GCC internal prototype to avoid an error.
12235 Use char because int might match the return type of a GCC
12236 builtin and then its argument prototype would still apply. */
12249 if ac_fn_c_try_link
"$LINENO"; then :
12250 ac_cv_lib_svld_dlopen
=yes
12252 ac_cv_lib_svld_dlopen
=no
12254 rm -f core conftest.err conftest.
$ac_objext \
12255 conftest
$ac_exeext conftest.
$ac_ext
12256 LIBS
=$ac_check_lib_save_LIBS
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12259 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12260 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
12261 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12264 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12265 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12266 $as_echo_n "(cached) " >&6
12268 ac_check_lib_save_LIBS
=$LIBS
12270 if test x
$gcc_no_link = xyes
; then
12271 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12274 /* end confdefs.h. */
12276 /* Override any GCC internal prototype to avoid an error.
12277 Use char because int might match the return type of a GCC
12278 builtin and then its argument prototype would still apply. */
12286 return dld_link ();
12291 if ac_fn_c_try_link
"$LINENO"; then :
12292 ac_cv_lib_dld_dld_link
=yes
12294 ac_cv_lib_dld_dld_link
=no
12296 rm -f core conftest.err conftest.
$ac_objext \
12297 conftest
$ac_exeext conftest.
$ac_ext
12298 LIBS
=$ac_check_lib_save_LIBS
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12301 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12302 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
12303 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12324 if test "x$lt_cv_dlopen" != xno
; then
12330 case $lt_cv_dlopen in
12332 save_CPPFLAGS
="$CPPFLAGS"
12333 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12335 save_LDFLAGS
="$LDFLAGS"
12336 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12339 LIBS
="$lt_cv_dlopen_libs $LIBS"
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12342 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12343 if test "${lt_cv_dlopen_self+set}" = set; then :
12344 $as_echo_n "(cached) " >&6
12346 if test "$cross_compiling" = yes; then :
12347 lt_cv_dlopen_self
=cross
12349 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12350 lt_status
=$lt_dlunknown
12351 cat > conftest.
$ac_ext <<_LT_EOF
12352 #line 12352 "configure"
12353 #include "confdefs.h"
12362 # define LT_DLGLOBAL RTLD_GLOBAL
12365 # define LT_DLGLOBAL DL_GLOBAL
12367 # define LT_DLGLOBAL 0
12371 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12372 find out it does not work in some platform. */
12373 #ifndef LT_DLLAZY_OR_NOW
12375 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12378 # define LT_DLLAZY_OR_NOW DL_LAZY
12381 # define LT_DLLAZY_OR_NOW RTLD_NOW
12384 # define LT_DLLAZY_OR_NOW DL_NOW
12386 # define LT_DLLAZY_OR_NOW 0
12393 /* When -fvisbility=hidden is used, assume the code has been annotated
12394 correspondingly for the symbols needed. */
12395 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12396 void fnord () __attribute__((visibility("default")));
12399 void fnord () { int i=42; }
12402 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12403 int status = $lt_dlunknown;
12407 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12410 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12411 else puts (dlerror ());
12413 /* dlclose (self); */
12421 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12422 (eval $ac_link) 2>&5
12424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12425 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12426 (.
/conftest
; exit; ) >&5 2>/dev
/null
12428 case x
$lt_status in
12429 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12430 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12431 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12434 # compilation failed
12435 lt_cv_dlopen_self
=no
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12443 $as_echo "$lt_cv_dlopen_self" >&6; }
12445 if test "x$lt_cv_dlopen_self" = xyes
; then
12446 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12448 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12449 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12450 $as_echo_n "(cached) " >&6
12452 if test "$cross_compiling" = yes; then :
12453 lt_cv_dlopen_self_static
=cross
12455 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12456 lt_status
=$lt_dlunknown
12457 cat > conftest.
$ac_ext <<_LT_EOF
12458 #line 12458 "configure"
12459 #include "confdefs.h"
12468 # define LT_DLGLOBAL RTLD_GLOBAL
12471 # define LT_DLGLOBAL DL_GLOBAL
12473 # define LT_DLGLOBAL 0
12477 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12478 find out it does not work in some platform. */
12479 #ifndef LT_DLLAZY_OR_NOW
12481 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12484 # define LT_DLLAZY_OR_NOW DL_LAZY
12487 # define LT_DLLAZY_OR_NOW RTLD_NOW
12490 # define LT_DLLAZY_OR_NOW DL_NOW
12492 # define LT_DLLAZY_OR_NOW 0
12499 /* When -fvisbility=hidden is used, assume the code has been annotated
12500 correspondingly for the symbols needed. */
12501 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12502 void fnord () __attribute__((visibility("default")));
12505 void fnord () { int i=42; }
12508 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12509 int status = $lt_dlunknown;
12513 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12516 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12517 else puts (dlerror ());
12519 /* dlclose (self); */
12527 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12528 (eval $ac_link) 2>&5
12530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12531 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12532 (.
/conftest
; exit; ) >&5 2>/dev
/null
12534 case x
$lt_status in
12535 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12536 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12537 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12540 # compilation failed
12541 lt_cv_dlopen_self_static
=no
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12549 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12552 CPPFLAGS
="$save_CPPFLAGS"
12553 LDFLAGS
="$save_LDFLAGS"
12558 case $lt_cv_dlopen_self in
12559 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12560 *) enable_dlopen_self
=unknown
;;
12563 case $lt_cv_dlopen_self_static in
12564 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12565 *) enable_dlopen_self_static
=unknown
;;
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12588 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12589 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12590 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12591 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12593 $as_echo "yes" >&6; }
12595 # FIXME - insert some real tests, host_os isn't really good enough
12598 if test -n "$STRIP" ; then
12599 striplib
="$STRIP -x"
12600 old_striplib
="$STRIP -S"
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12602 $as_echo "yes" >&6; }
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12605 $as_echo "no" >&6; }
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12610 $as_echo "no" >&6; }
12626 # Report which library types will actually be built
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12628 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12630 $as_echo "$can_build_shared" >&6; }
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12633 $as_echo_n "checking whether to build shared libraries... " >&6; }
12634 test "$can_build_shared" = "no" && enable_shared
=no
12636 # On AIX, shared libraries and static libraries use the same namespace, and
12637 # are all built from PIC.
12640 test "$enable_shared" = yes && enable_static
=no
12641 if test -n "$RANLIB"; then
12642 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12643 postinstall_cmds
='$RANLIB $lib'
12648 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12649 test "$enable_shared" = yes && enable_static
=no
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12654 $as_echo "$enable_shared" >&6; }
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12657 $as_echo_n "checking whether to build static libraries... " >&6; }
12658 # Make sure either enable_shared or enable_static is yes.
12659 test "$enable_shared" = yes || enable_static
=yes
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12661 $as_echo "$enable_static" >&6; }
12668 ac_cpp
='$CPP $CPPFLAGS'
12669 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12670 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12671 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12687 ac_config_commands
="$ac_config_commands libtool"
12692 # Only expand once:
12699 *-cygwin* |
*-mingw*)
12700 # 'host' will be top-level target in the case of a target lib,
12701 # we must compare to with_cross_host to decide if this is a native
12702 # or cross-compiler and select where to install dlls appropriately.
12703 if test -n "$with_cross_host" &&
12704 test x
"$with_cross_host" != x
"no"; then
12705 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
12707 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
12719 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12721 # We need gfortran to compile parts of the library
12722 #AC_PROG_FC(gfortran)
12724 ac_ext
=${ac_fc_srcext-f}
12725 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12726 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12727 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
12728 if test -n "$ac_tool_prefix"; then
12729 for ac_prog
in gfortran
12731 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12732 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12734 $as_echo_n "checking for $ac_word... " >&6; }
12735 if test "${ac_cv_prog_FC+set}" = set; then :
12736 $as_echo_n "(cached) " >&6
12738 if test -n "$FC"; then
12739 ac_cv_prog_FC
="$FC" # Let the user override the test.
12741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12742 for as_dir
in $PATH
12745 test -z "$as_dir" && as_dir
=.
12746 for ac_exec_ext
in '' $ac_executable_extensions; do
12747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12748 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
12749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12759 if test -n "$FC"; then
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12761 $as_echo "$FC" >&6; }
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12764 $as_echo "no" >&6; }
12768 test -n "$FC" && break
12771 if test -z "$FC"; then
12773 for ac_prog
in gfortran
12775 # Extract the first word of "$ac_prog", so it can be a program name with args.
12776 set dummy
$ac_prog; ac_word
=$2
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12778 $as_echo_n "checking for $ac_word... " >&6; }
12779 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12780 $as_echo_n "(cached) " >&6
12782 if test -n "$ac_ct_FC"; then
12783 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
12785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12786 for as_dir
in $PATH
12789 test -z "$as_dir" && as_dir
=.
12790 for ac_exec_ext
in '' $ac_executable_extensions; do
12791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12792 ac_cv_prog_ac_ct_FC
="$ac_prog"
12793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12802 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
12803 if test -n "$ac_ct_FC"; then
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12805 $as_echo "$ac_ct_FC" >&6; }
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12808 $as_echo "no" >&6; }
12812 test -n "$ac_ct_FC" && break
12815 if test "x$ac_ct_FC" = x
; then
12818 case $cross_compiling:$ac_tool_warned in
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12822 ac_tool_warned
=yes ;;
12829 # Provide some information about the compiler.
12830 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12833 for ac_option
in --version -v -V -qversion; do
12834 { { ac_try
="$ac_compiler $ac_option >&5"
12835 case "(($ac_try" in
12836 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12837 *) ac_try_echo=$ac_try;;
12839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12840 $as_echo "$ac_try_echo"; } >&5
12841 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12843 if test -s conftest.err; then
12845 ... rest of stderr output deleted ...
12846 10q' conftest.err >conftest.er1
12847 cat conftest.er1 >&5
12848 rm -f conftest.er1 conftest.err
12850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12851 test $ac_status = 0; }
12855 # If we don't use `.F
' as extension, the preprocessor is not run on the
12856 # input file. (Note that this only needs to work for GNU compilers.)
12857 ac_save_ext=$ac_ext
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
12860 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
12861 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
12862 $as_echo_n "(cached) " >&6
12864 cat > conftest.$ac_ext <<_ACEOF
12872 if ac_fn_fc_try_compile "$LINENO"; then :
12873 ac_compiler_gnu=yes
12877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12878 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
12882 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
12883 ac_ext=$ac_save_ext
12884 ac_test_FCFLAGS=${FCFLAGS+set}
12885 ac_save_FCFLAGS=$FCFLAGS
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
12888 $as_echo_n "checking whether $FC accepts -g... " >&6; }
12889 if test "${ac_cv_prog_fc_g+set}" = set; then :
12890 $as_echo_n "(cached) " >&6
12893 cat > conftest.$ac_ext <<_ACEOF
12898 if ac_fn_fc_try_compile "$LINENO"; then :
12899 ac_cv_prog_fc_g=yes
12903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
12907 $as_echo "$ac_cv_prog_fc_g" >&6; }
12908 if test "$ac_test_FCFLAGS" = set; then
12909 FCFLAGS=$ac_save_FCFLAGS
12910 elif test $ac_cv_prog_fc_g = yes; then
12911 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12917 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12925 ac_cpp='$CPP $CPPFLAGS'
12926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
12927 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
12928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12930 ac_ext=${ac_fc_srcext-f}
12931 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
12932 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
12933 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12936 if test -z "$FC" || test "X$FC" = "Xno"; then
12940 archive_cmds_need_lc_FC=no
12941 allow_undefined_flag_FC=
12942 always_export_symbols_FC=no
12943 archive_expsym_cmds_FC=
12944 export_dynamic_flag_spec_FC=
12945 hardcode_direct_FC=no
12946 hardcode_direct_absolute_FC=no
12947 hardcode_libdir_flag_spec_FC=
12948 hardcode_libdir_flag_spec_ld_FC=
12949 hardcode_libdir_separator_FC=
12950 hardcode_minus_L_FC=no
12951 hardcode_automatic_FC=no
12952 inherit_rpath_FC=no
12954 module_expsym_cmds_FC=
12955 link_all_deplibs_FC=unknown
12956 old_archive_cmds_FC=$old_archive_cmds
12957 reload_flag_FC=$reload_flag
12958 reload_cmds_FC=$reload_cmds
12959 no_undefined_flag_FC=
12960 whole_archive_flag_spec_FC=
12961 enable_shared_with_static_runtimes_FC=no
12963 # Source file extension for fc test sources.
12964 ac_ext=${ac_fc_srcext-f}
12966 # Object file extension for compiled fc test sources.
12970 # No sense in running all these tests if we already determined that
12971 # the FC compiler isn't working. Some variables
(like enable_shared
)
12972 # are currently assumed to apply to all compilers on this platform,
12973 # and will be corrupted by setting them based on a non-working compiler.
12974 if test "$_lt_disable_FC" != yes; then
12975 # Code to be used in simple compile tests
12976 lt_simple_compile_test_code
="\
12982 # Code to be used in simple link tests
12983 lt_simple_link_test_code
="\
12988 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12995 # If no C compiler was specified, use CC.
12998 # If no C compiler flags were specified, use CFLAGS.
12999 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13001 # Allow CC to be a program name with arguments.
13005 # save warnings/boilerplate of simple test code
13006 ac_outfile
=conftest.
$ac_objext
13007 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13008 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13009 _lt_compiler_boilerplate
=`cat conftest.err`
13012 ac_outfile
=conftest.
$ac_objext
13013 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13014 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13015 _lt_linker_boilerplate
=`cat conftest.err`
13019 # Allow CC to be a program name with arguments.
13024 GCC
=$ac_cv_fc_compiler_gnu
13027 for cc_temp
in $compiler""; do
13029 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13030 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13035 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13038 if test -n "$compiler"; then
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13040 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13042 $as_echo "$can_build_shared" >&6; }
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13045 $as_echo_n "checking whether to build shared libraries... " >&6; }
13046 test "$can_build_shared" = "no" && enable_shared
=no
13048 # On AIX, shared libraries and static libraries use the same namespace, and
13049 # are all built from PIC.
13052 test "$enable_shared" = yes && enable_static
=no
13053 if test -n "$RANLIB"; then
13054 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13055 postinstall_cmds
='$RANLIB $lib'
13059 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13060 test "$enable_shared" = yes && enable_static
=no
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13065 $as_echo "$enable_shared" >&6; }
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13068 $as_echo_n "checking whether to build static libraries... " >&6; }
13069 # Make sure either enable_shared or enable_static is yes.
13070 test "$enable_shared" = yes || enable_static
=yes
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13072 $as_echo "$enable_static" >&6; }
13074 GCC_FC
="$ac_cv_fc_compiler_gnu"
13078 ## There is no encapsulation within the following macros, do not change
13079 ## the running order or otherwise move them around unless you know exactly
13080 ## what you are doing...
13081 # Dependencies to place before and after the object being linked:
13083 postdep_objects_FC
=
13086 compiler_lib_search_path_FC
=
13088 cat > conftest.
$ac_ext <<_LT_EOF
13097 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13098 (eval $ac_compile) 2>&5
13100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13101 test $ac_status = 0; }; then
13102 # Parse the compiler output and extract the necessary
13103 # objects, libraries and library flags.
13105 # Sentinel used to keep track of whether or not we are before
13106 # the conftest object file.
13107 pre_test_object_deps_done
=no
13109 for p
in `eval "$output_verbose_link_cmd"`; do
13113 # Some compilers place space between "-{L,R}" and the path.
13114 # Remove the space.
13115 if test $p = "-L" ||
13116 test $p = "-R"; then
13123 if test "$pre_test_object_deps_done" = no
; then
13126 # Internal compiler library paths should come after those
13127 # provided the user. The postdeps already come after the
13128 # user supplied libs so there is no need to process them.
13129 if test -z "$compiler_lib_search_path_FC"; then
13130 compiler_lib_search_path_FC
="${prev}${p}"
13132 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
13135 # The "-l" case would never come before the object being
13136 # linked, so don't bother handling this case.
13139 if test -z "$postdeps_FC"; then
13140 postdeps_FC
="${prev}${p}"
13142 postdeps_FC
="${postdeps_FC} ${prev}${p}"
13148 # This assumes that the test object file only shows up
13149 # once in the compiler output.
13150 if test "$p" = "conftest.$objext"; then
13151 pre_test_object_deps_done
=yes
13155 if test "$pre_test_object_deps_done" = no
; then
13156 if test -z "$predep_objects_FC"; then
13157 predep_objects_FC
="$p"
13159 predep_objects_FC
="$predep_objects_FC $p"
13162 if test -z "$postdep_objects_FC"; then
13163 postdep_objects_FC
="$p"
13165 postdep_objects_FC
="$postdep_objects_FC $p"
13170 *) ;; # Ignore the rest.
13178 echo "libtool.m4: error: problem compiling FC test program"
13181 $RM -f confest.
$objext
13183 # PORTME: override above test on systems where it is broken
13186 case " $postdeps_FC " in
13187 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
13189 compiler_lib_search_dirs_FC
=
13190 if test -n "${compiler_lib_search_path_FC}"; then
13191 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13224 lt_prog_compiler_wl_FC
=
13225 lt_prog_compiler_pic_FC
=
13226 lt_prog_compiler_static_FC
=
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13229 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13231 if test "$GCC" = yes; then
13232 lt_prog_compiler_wl_FC
='-Wl,'
13233 lt_prog_compiler_static_FC
='-static'
13237 # All AIX code is PIC.
13238 if test "$host_cpu" = ia64
; then
13239 # AIX 5 now supports IA64 processor
13240 lt_prog_compiler_static_FC
='-Bstatic'
13242 lt_prog_compiler_pic_FC
='-fPIC'
13248 # see comment about AmigaOS4 .so support
13249 lt_prog_compiler_pic_FC
='-fPIC'
13252 # FIXME: we need at least 68020 code to build shared libraries, but
13253 # adding the `-m68020' flag to GCC prevents building anything better,
13255 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
13260 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13261 # PIC is the default for these OSes.
13264 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13265 # This hack is so that the source file can tell whether it is being
13266 # built for inclusion in a dll (and should export symbols for example).
13267 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13268 # (--disable-auto-import) libraries
13269 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13272 darwin
* | rhapsody
*)
13273 # PIC is the default on this platform
13274 # Common symbols not allowed in MH_DYLIB files
13275 lt_prog_compiler_pic_FC
='-fno-common'
13279 # PIC is the default for Haiku.
13280 # The "-static" flag exists, but is broken.
13281 lt_prog_compiler_static_FC
=
13285 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13286 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13287 # sets the default TLS model and affects inlining.
13293 lt_prog_compiler_pic_FC
='-fPIC'
13299 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13300 # Instead, we relocate shared libraries at runtime.
13304 # Just because we use GCC doesn't mean we suddenly get shared libraries
13305 # on systems that don't support them.
13306 lt_prog_compiler_can_build_shared_FC
=no
13311 # QNX uses GNU C++, but need to define -shared option too, otherwise
13312 # it will coredump.
13313 lt_prog_compiler_pic_FC
='-fPIC -shared'
13317 if test -d /usr
/nec
; then
13318 lt_prog_compiler_pic_FC
=-Kconform_pic
13323 lt_prog_compiler_pic_FC
='-fPIC'
13327 case $cc_basename in
13328 nvcc
*) # Cuda Compiler Driver 2.2
13329 lt_prog_compiler_wl_FC
='-Xlinker '
13330 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
13334 # PORTME Check for flag to pass linker flags through the system compiler.
13337 lt_prog_compiler_wl_FC
='-Wl,'
13338 if test "$host_cpu" = ia64
; then
13339 # AIX 5 now supports IA64 processor
13340 lt_prog_compiler_static_FC
='-Bstatic'
13342 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
13346 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13347 # This hack is so that the source file can tell whether it is being
13348 # built for inclusion in a dll (and should export symbols for example).
13349 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13352 hpux9
* | hpux10
* | hpux11
*)
13353 lt_prog_compiler_wl_FC
='-Wl,'
13354 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13355 # not for PA HP-UX.
13361 lt_prog_compiler_pic_FC
='+Z'
13364 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13365 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
13368 irix5
* | irix6
* | nonstopux
*)
13369 lt_prog_compiler_wl_FC
='-Wl,'
13370 # PIC (with -KPIC) is the default.
13371 lt_prog_compiler_static_FC
='-non_shared'
13374 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13375 case $cc_basename in
13376 # old Intel for x86_64 which still supported -KPIC.
13378 lt_prog_compiler_wl_FC
='-Wl,'
13379 lt_prog_compiler_pic_FC
='-KPIC'
13380 lt_prog_compiler_static_FC
='-static'
13382 # icc used to be incompatible with GCC.
13383 # ICC 10 doesn't accept -KPIC any more.
13385 lt_prog_compiler_wl_FC
='-Wl,'
13386 lt_prog_compiler_pic_FC
='-fPIC'
13387 lt_prog_compiler_static_FC
='-static'
13389 # Lahey Fortran 8.1.
13391 lt_prog_compiler_wl_FC
='-Wl,'
13392 lt_prog_compiler_pic_FC
='--shared'
13393 lt_prog_compiler_static_FC
='--static'
13395 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13396 # Portland Group compilers (*not* the Pentium gcc compiler,
13397 # which looks to be a dead project)
13398 lt_prog_compiler_wl_FC
='-Wl,'
13399 lt_prog_compiler_pic_FC
='-fpic'
13400 lt_prog_compiler_static_FC
='-Bstatic'
13403 lt_prog_compiler_wl_FC
='-Wl,'
13404 # All Alpha code is PIC.
13405 lt_prog_compiler_static_FC
='-non_shared'
13407 xl
* | bgxl
* | bgf
* | mpixl
*)
13408 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13409 lt_prog_compiler_wl_FC
='-Wl,'
13410 lt_prog_compiler_pic_FC
='-qpic'
13411 lt_prog_compiler_static_FC
='-qstaticlink'
13414 case `$CC -V 2>&1 | sed 5q` in
13415 *Sun\ F
* |
*Sun
*Fortran
*)
13416 # Sun Fortran 8.3 passes all unrecognized flags to the linker
13417 lt_prog_compiler_pic_FC
='-KPIC'
13418 lt_prog_compiler_static_FC
='-Bstatic'
13419 lt_prog_compiler_wl_FC
=''
13423 lt_prog_compiler_pic_FC
='-KPIC'
13424 lt_prog_compiler_static_FC
='-Bstatic'
13425 lt_prog_compiler_wl_FC
='-Wl,'
13433 lt_prog_compiler_pic_FC
='-KPIC'
13434 lt_prog_compiler_static_FC
='-Bstatic'
13438 # QNX uses GNU C++, but need to define -shared option too, otherwise
13439 # it will coredump.
13440 lt_prog_compiler_pic_FC
='-fPIC -shared'
13443 osf3
* | osf4
* | osf5
*)
13444 lt_prog_compiler_wl_FC
='-Wl,'
13445 # All OSF/1 code is PIC.
13446 lt_prog_compiler_static_FC
='-non_shared'
13450 lt_prog_compiler_static_FC
='-non_shared'
13454 lt_prog_compiler_pic_FC
='-KPIC'
13455 lt_prog_compiler_static_FC
='-Bstatic'
13456 case $cc_basename in
13457 f77
* | f90
* | f95
*)
13458 lt_prog_compiler_wl_FC
='-Qoption ld ';;
13460 lt_prog_compiler_wl_FC
='-Wl,';;
13465 lt_prog_compiler_wl_FC
='-Qoption ld '
13466 lt_prog_compiler_pic_FC
='-PIC'
13467 lt_prog_compiler_static_FC
='-Bstatic'
13470 sysv4 | sysv4.2uw2
* | sysv4.3
*)
13471 lt_prog_compiler_wl_FC
='-Wl,'
13472 lt_prog_compiler_pic_FC
='-KPIC'
13473 lt_prog_compiler_static_FC
='-Bstatic'
13477 if test -d /usr
/nec
;then
13478 lt_prog_compiler_pic_FC
='-Kconform_pic'
13479 lt_prog_compiler_static_FC
='-Bstatic'
13483 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
13484 lt_prog_compiler_wl_FC
='-Wl,'
13485 lt_prog_compiler_pic_FC
='-KPIC'
13486 lt_prog_compiler_static_FC
='-Bstatic'
13490 lt_prog_compiler_wl_FC
='-Wl,'
13491 lt_prog_compiler_can_build_shared_FC
=no
13495 lt_prog_compiler_pic_FC
='-pic'
13496 lt_prog_compiler_static_FC
='-Bstatic'
13500 lt_prog_compiler_can_build_shared_FC
=no
13506 # For platforms which do not support PIC, -DPIC is meaningless:
13508 lt_prog_compiler_pic_FC
=
13511 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13515 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13520 # Check to make sure the PIC flag actually works.
13522 if test -n "$lt_prog_compiler_pic_FC"; then
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13524 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13525 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13526 $as_echo_n "(cached) " >&6
13528 lt_cv_prog_compiler_pic_works_FC
=no
13529 ac_outfile
=conftest.
$ac_objext
13530 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13531 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
13532 # Insert the option either (1) after the last *FLAGS variable, or
13533 # (2) before a word containing "conftest.", or (3) at the end.
13534 # Note that $ac_compile itself does not contain backslashes and begins
13535 # with a dollar sign (not a hyphen), so the echo should work correctly.
13536 # The option is referenced via a variable to avoid confusing sed.
13537 lt_compile
=`echo "$ac_compile" | $SED \
13538 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13539 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13540 -e 's:$: $lt_compiler_flag:'`
13541 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13542 (eval "$lt_compile" 2>conftest.err
)
13544 cat conftest.err
>&5
13545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13546 if (exit $ac_status) && test -s "$ac_outfile"; then
13547 # The compiler can only warn and ignore the option if not recognized
13548 # So say no if there are warnings other than the usual output.
13549 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
13550 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13551 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
13552 lt_cv_prog_compiler_pic_works_FC
=yes
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13559 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13561 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
13562 case $lt_prog_compiler_pic_FC in
13564 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
13567 lt_prog_compiler_pic_FC
=
13568 lt_prog_compiler_can_build_shared_FC
=no
13576 # Check to make sure the static flag actually works.
13578 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13580 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13581 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13582 $as_echo_n "(cached) " >&6
13584 lt_cv_prog_compiler_static_works_FC
=no
13585 save_LDFLAGS
="$LDFLAGS"
13586 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
13587 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
13588 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
13589 # The linker can only warn and ignore the option if not recognized
13590 # So say no if there are warnings
13591 if test -s conftest.err
; then
13592 # Append any errors to the config.log.
13593 cat conftest.err
1>&5
13594 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
13595 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
13596 if diff conftest.exp conftest.er2
>/dev
/null
; then
13597 lt_cv_prog_compiler_static_works_FC
=yes
13600 lt_cv_prog_compiler_static_works_FC
=yes
13604 LDFLAGS
="$save_LDFLAGS"
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13608 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13610 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
13613 lt_prog_compiler_static_FC
=
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13620 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13621 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13622 $as_echo_n "(cached) " >&6
13624 lt_cv_prog_compiler_c_o_FC
=no
13625 $RM -r conftest
2>/dev
/null
13629 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13631 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13632 # Insert the option either (1) after the last *FLAGS variable, or
13633 # (2) before a word containing "conftest.", or (3) at the end.
13634 # Note that $ac_compile itself does not contain backslashes and begins
13635 # with a dollar sign (not a hyphen), so the echo should work correctly.
13636 lt_compile
=`echo "$ac_compile" | $SED \
13637 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13638 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13639 -e 's:$: $lt_compiler_flag:'`
13640 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13641 (eval "$lt_compile" 2>out
/conftest.err
)
13643 cat out
/conftest.err
>&5
13644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13645 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13647 # The compiler can only warn and ignore the option if not recognized
13648 # So say no if there are warnings
13649 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13650 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13651 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13652 lt_cv_prog_compiler_c_o_FC
=yes
13657 # SGI C++ compiler will create directory out/ii_files/ for
13658 # template instantiation
13659 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13660 $RM out
/* && rmdir out
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13667 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13672 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13673 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13674 $as_echo_n "(cached) " >&6
13676 lt_cv_prog_compiler_c_o_FC
=no
13677 $RM -r conftest
2>/dev
/null
13681 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13683 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13684 # Insert the option either (1) after the last *FLAGS variable, or
13685 # (2) before a word containing "conftest.", or (3) at the end.
13686 # Note that $ac_compile itself does not contain backslashes and begins
13687 # with a dollar sign (not a hyphen), so the echo should work correctly.
13688 lt_compile
=`echo "$ac_compile" | $SED \
13689 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13690 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13691 -e 's:$: $lt_compiler_flag:'`
13692 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13693 (eval "$lt_compile" 2>out
/conftest.err
)
13695 cat out
/conftest.err
>&5
13696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13697 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13699 # The compiler can only warn and ignore the option if not recognized
13700 # So say no if there are warnings
13701 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
13702 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13703 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13704 lt_cv_prog_compiler_c_o_FC
=yes
13709 # SGI C++ compiler will create directory out/ii_files/ for
13710 # template instantiation
13711 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
13712 $RM out
/* && rmdir out
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13719 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13724 hard_links
="nottested"
13725 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
13726 # do not overwrite the value of need_locks provided by the user
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13728 $as_echo_n "checking if we can lock with hard links... " >&6; }
13731 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13733 ln conftest.a conftest.b
2>&5 || hard_links
=no
13734 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13736 $as_echo "$hard_links" >&6; }
13737 if test "$hard_links" = no
; then
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13739 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13749 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13752 allow_undefined_flag_FC
=
13753 always_export_symbols_FC
=no
13755 archive_expsym_cmds_FC
=
13756 compiler_needs_object_FC
=no
13757 enable_shared_with_static_runtimes_FC
=no
13758 export_dynamic_flag_spec_FC
=
13759 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13760 hardcode_automatic_FC
=no
13761 hardcode_direct_FC
=no
13762 hardcode_direct_absolute_FC
=no
13763 hardcode_libdir_flag_spec_FC
=
13764 hardcode_libdir_flag_spec_ld_FC
=
13765 hardcode_libdir_separator_FC
=
13766 hardcode_minus_L_FC
=no
13767 hardcode_shlibpath_var_FC
=unsupported
13768 inherit_rpath_FC
=no
13769 link_all_deplibs_FC
=unknown
13771 module_expsym_cmds_FC
=
13772 old_archive_from_new_cmds_FC
=
13773 old_archive_from_expsyms_cmds_FC
=
13774 thread_safe_flag_spec_FC
=
13775 whole_archive_flag_spec_FC
=
13776 # include_expsyms should be a list of space-separated symbols to be *always*
13777 # included in the symbol list
13778 include_expsyms_FC
=
13779 # exclude_expsyms can be an extended regexp of symbols to exclude
13780 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13781 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13782 # as well as any symbol that contains `d'.
13783 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13784 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13785 # platforms (ab)use it in PIC code, but their linkers get confused if
13786 # the symbol is explicitly referenced. Since portable code cannot
13787 # rely on this symbol name, it's probably fine to never include it in
13788 # preloaded symbol tables.
13789 # Exclude shared library initialization/finalization symbols.
13790 extract_expsyms_cmds
=
13793 cygwin
* | mingw
* | pw32
* | cegcc
*)
13794 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13795 # When not using gcc, we currently assume that we are using
13796 # Microsoft Visual C++.
13797 if test "$GCC" != yes; then
13802 # we just hope/assume this is gcc and not c89 (= MSVC++)
13812 # On some targets, GNU ld is compatible enough with the native linker
13813 # that we're better off using the native interface for both.
13814 lt_use_gnu_ld_interface
=no
13815 if test "$with_gnu_ld" = yes; then
13818 # The AIX port of GNU ld has always aspired to compatibility
13819 # with the native linker. However, as the warning in the GNU ld
13820 # block says, versions before 2.19.5* couldn't really create working
13821 # shared libraries, regardless of the interface used.
13822 case `$LD -v 2>&1` in
13823 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
13824 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
13825 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
13827 lt_use_gnu_ld_interface
=yes
13832 lt_use_gnu_ld_interface
=yes
13837 if test "$lt_use_gnu_ld_interface" = yes; then
13838 # If archive_cmds runs LD, not CC, wlarc should be empty
13841 # Set some defaults for GNU ld with shared library support. These
13842 # are reset later if shared libraries are not supported. Putting them
13843 # here allows them to be overridden if necessary.
13844 runpath_var
=LD_RUN_PATH
13845 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13846 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
13847 # ancient GNU ld didn't support --whole-archive et. al.
13848 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
13849 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13851 whole_archive_flag_spec_FC
=
13853 supports_anon_versioning
=no
13854 case `$LD -v 2>&1` in
13855 *GNU\ gold
*) supports_anon_versioning
=yes ;;
13856 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
13857 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
13858 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
13859 *\
2.11.
*) ;; # other 2.11 versions
13860 *) supports_anon_versioning
=yes ;;
13863 # See if GNU ld supports shared libraries.
13866 # On AIX/PPC, the GNU linker is very broken
13867 if test "$host_cpu" != ia64
; then
13871 *** Warning: the GNU linker, at least up to release 2.19, is reported
13872 *** to be unable to reliably create shared libraries on AIX.
13873 *** Therefore, libtool is disabling shared libraries support. If you
13874 *** really care for shared libraries, you may want to install binutils
13875 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13876 *** You will then need to restart the configuration process.
13885 # see comment about AmigaOS4 .so support
13886 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13887 archive_expsym_cmds_FC
=''
13890 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)'
13891 hardcode_libdir_flag_spec_FC
='-L$libdir'
13892 hardcode_minus_L_FC
=yes
13898 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13899 allow_undefined_flag_FC
=unsupported
13900 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13901 # support --undefined. This deserves some investigation. FIXME
13902 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13908 cygwin
* | mingw
* | pw32
* | cegcc
*)
13909 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
13910 # as there is no search path for DLLs.
13911 hardcode_libdir_flag_spec_FC
='-L$libdir'
13912 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
13913 allow_undefined_flag_FC
=unsupported
13914 always_export_symbols_FC
=no
13915 enable_shared_with_static_runtimes_FC
=yes
13916 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13918 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13919 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13920 # If the export-symbols file already is a .def file (1st line
13921 # is EXPORTS), use it as is; otherwise, prepend...
13922 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13923 cp $export_symbols $output_objdir/$soname.def;
13925 echo EXPORTS > $output_objdir/$soname.def;
13926 cat $export_symbols >> $output_objdir/$soname.def;
13928 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13935 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13936 link_all_deplibs_FC
=yes
13940 hardcode_direct_FC
=no
13941 hardcode_shlibpath_var_FC
=no
13942 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13943 export_dynamic_flag_spec_FC
='${wl}-E'
13944 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13945 # Instead, shared libraries are loaded at an image base (0x10000000 by
13946 # default) and relocated if they conflict, which is a slow very memory
13947 # consuming and fragmenting process. To avoid this, we pick a random,
13948 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13949 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13950 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'
13951 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'
13954 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13956 if test "$host_os" = linux-dietlibc
; then
13957 case $cc_basename in
13958 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
13961 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
13962 && test "$tmp_diet" = no
13965 tmp_sharedflag
='-shared'
13966 case $cc_basename,$host_cpu in
13967 pgcc
*) # Portland Group C compiler
13968 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'
13969 tmp_addflag
=' $pic_flag'
13971 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13972 # Portland Group f77 and f90 compilers
13973 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'
13974 tmp_addflag
=' $pic_flag -Mnomain' ;;
13975 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
13976 tmp_addflag
=' -i_dynamic' ;;
13977 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
13978 tmp_addflag
=' -i_dynamic -nofor_main' ;;
13979 ifc
* | ifort
*) # Intel Fortran compiler
13980 tmp_addflag
=' -nofor_main' ;;
13981 lf95
*) # Lahey Fortran 8.1
13982 whole_archive_flag_spec_FC
=
13983 tmp_sharedflag
='--shared' ;;
13984 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13985 tmp_sharedflag
='-qmkshrobj'
13987 nvcc
*) # Cuda Compiler Driver 2.2
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 compiler_needs_object_FC
=yes
13992 case `$CC -V 2>&1 | sed 5q` in
13993 *Sun\ C
*) # Sun C 5.9
13994 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'
13995 compiler_needs_object_FC
=yes
13996 tmp_sharedflag
='-G' ;;
13997 *Sun\ F
*) # Sun Fortran 8.3
13998 tmp_sharedflag
='-G' ;;
14000 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14002 if test "x$supports_anon_versioning" = xyes
; then
14003 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14004 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14005 echo "local: *; };" >> $output_objdir/$libname.ver~
14006 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14009 case $cc_basename in
14010 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
14011 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14012 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
14013 hardcode_libdir_flag_spec_FC
=
14014 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
14015 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14016 if test "x$supports_anon_versioning" = xyes
; then
14017 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14018 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14019 echo "local: *; };" >> $output_objdir/$libname.ver~
14020 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14030 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14031 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14034 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14035 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14040 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
14044 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14045 *** create shared libraries on Solaris systems. Therefore, libtool
14046 *** is disabling shared libraries support. We urge you to upgrade GNU
14047 *** binutils to release 2.9.1 or newer. Another option is to modify
14048 *** your PATH or compiler configuration so that the native linker is
14049 *** used, and then restart.
14052 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14053 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14054 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14060 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14061 case `$LD -v 2>&1` in
14062 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14066 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14067 *** reliably create shared libraries on SCO systems. Therefore, libtool
14068 *** is disabling shared libraries support. We urge you to upgrade GNU
14069 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14070 *** your PATH or compiler configuration so that the native linker is
14071 *** used, and then restart.
14076 # For security reasons, it is highly recommended that you always
14077 # use absolute paths for naming shared libraries, and exclude the
14078 # DT_RUNPATH tag from executables and libraries. But doing so
14079 # requires that you compile everything twice, which is a pain.
14080 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14081 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14082 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14083 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14092 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14094 hardcode_direct_FC
=yes
14095 hardcode_shlibpath_var_FC
=no
14099 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14100 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14101 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14108 if test "$ld_shlibs_FC" = no
; then
14110 hardcode_libdir_flag_spec_FC
=
14111 export_dynamic_flag_spec_FC
=
14112 whole_archive_flag_spec_FC
=
14115 # PORTME fill in a description of your system's linker (not GNU ld)
14118 allow_undefined_flag_FC
=unsupported
14119 always_export_symbols_FC
=yes
14120 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'
14121 # Note: this linker hardcodes the directories in LIBPATH if there
14122 # are no directories specified by -L.
14123 hardcode_minus_L_FC
=yes
14124 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14125 # Neither direct hardcoding nor static linking is supported with a
14127 hardcode_direct_FC
=unsupported
14132 if test "$host_cpu" = ia64
; then
14133 # On IA64, the linker does run time linking by default, so we don't
14134 # have to do anything special.
14135 aix_use_runtimelinking
=no
14136 exp_sym_flag
='-Bexport'
14139 # If we're using GNU nm, then we don't want the "-C" option.
14140 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14141 # Also, AIX nm treats weak defined symbols like other global
14142 # defined symbols, whereas GNU nm marks them as "W".
14143 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14144 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'
14146 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'
14148 aix_use_runtimelinking
=no
14150 # Test if we are trying to use run time linking or normal
14151 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14152 # need to do runtime linking.
14153 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14154 for ld_flag
in $LDFLAGS; do
14155 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14156 aix_use_runtimelinking
=yes
14163 exp_sym_flag
='-bexport'
14164 no_entry_flag
='-bnoentry'
14167 # When large executables or shared objects are built, AIX ld can
14168 # have problems creating the table of contents. If linking a library
14169 # or program results in "error TOC overflow" add -mminimal-toc to
14170 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14171 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14174 hardcode_direct_FC
=yes
14175 hardcode_direct_absolute_FC
=yes
14176 hardcode_libdir_separator_FC
=':'
14177 link_all_deplibs_FC
=yes
14178 file_list_spec_FC
='${wl}-f,'
14180 if test "$GCC" = yes; then
14181 case $host_os in aix4.
[012]|aix4.
[012].
*)
14182 # We only want to do this on AIX 4.2 and lower, the check
14183 # below for broken collect2 doesn't work under 4.3+
14184 collect2name
=`${CC} -print-prog-name=collect2`
14185 if test -f "$collect2name" &&
14186 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14188 # We have reworked collect2
14191 # We have old collect2
14192 hardcode_direct_FC
=unsupported
14193 # It fails to find uninstalled libraries when the uninstalled
14194 # path is not listed in the libpath. Setting hardcode_minus_L
14195 # to unsupported forces relinking
14196 hardcode_minus_L_FC
=yes
14197 hardcode_libdir_flag_spec_FC
='-L$libdir'
14198 hardcode_libdir_separator_FC
=
14202 shared_flag
='-shared'
14203 if test "$aix_use_runtimelinking" = yes; then
14204 shared_flag
="$shared_flag "'${wl}-G'
14208 if test "$host_cpu" = ia64
; then
14209 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14210 # chokes on -Wl,-G. The following line is correct:
14213 if test "$aix_use_runtimelinking" = yes; then
14214 shared_flag
='${wl}-G'
14216 shared_flag
='${wl}-bM:SRE'
14221 export_dynamic_flag_spec_FC
='${wl}-bexpall'
14222 # It seems that -bexpall does not export symbols beginning with
14223 # underscore (_), so it is better to generate a list of symbols to export.
14224 always_export_symbols_FC
=yes
14225 if test "$aix_use_runtimelinking" = yes; then
14226 # Warning - without using the other runtime loading flags (-brtl),
14227 # -berok will link without error, but may produce a broken library.
14228 allow_undefined_flag_FC
='-berok'
14229 # Determine the default libpath from the value encoded in an
14230 # empty executable.
14231 if test x
$gcc_no_link = xyes
; then
14232 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14234 cat > conftest.
$ac_ext <<_ACEOF
14239 if ac_fn_fc_try_link
"$LINENO"; then :
14241 lt_aix_libpath_sed
='
14242 /Import File Strings/,/^$/ {
14248 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14249 # Check for a 64-bit object if we didn't find anything.
14250 if test -z "$aix_libpath"; then
14251 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14254 rm -f core conftest.err conftest.
$ac_objext \
14255 conftest
$ac_exeext conftest.
$ac_ext
14256 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14258 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14259 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"
14261 if test "$host_cpu" = ia64
; then
14262 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
14263 allow_undefined_flag_FC
="-z nodefs"
14264 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"
14266 # Determine the default libpath from the value encoded in an
14267 # empty executable.
14268 if test x
$gcc_no_link = xyes
; then
14269 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14271 cat > conftest.
$ac_ext <<_ACEOF
14276 if ac_fn_fc_try_link
"$LINENO"; then :
14278 lt_aix_libpath_sed
='
14279 /Import File Strings/,/^$/ {
14285 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14286 # Check for a 64-bit object if we didn't find anything.
14287 if test -z "$aix_libpath"; then
14288 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14291 rm -f core conftest.err conftest.
$ac_objext \
14292 conftest
$ac_exeext conftest.
$ac_ext
14293 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14295 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14296 # Warning - without using the other run time loading flags,
14297 # -berok will link without error, but may produce a broken library.
14298 no_undefined_flag_FC
=' ${wl}-bernotok'
14299 allow_undefined_flag_FC
=' ${wl}-berok'
14300 if test "$with_gnu_ld" = yes; then
14301 # We only use this code for GNU lds that support --whole-archive.
14302 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14304 # Exported symbols can be pulled into shared objects from archives
14305 whole_archive_flag_spec_FC
='$convenience'
14307 archive_cmds_need_lc_FC
=yes
14308 # This is similar to how AIX traditionally builds its shared libraries.
14309 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'
14317 # see comment about AmigaOS4 .so support
14318 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14319 archive_expsym_cmds_FC
=''
14322 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)'
14323 hardcode_libdir_flag_spec_FC
='-L$libdir'
14324 hardcode_minus_L_FC
=yes
14330 export_dynamic_flag_spec_FC
=-rdynamic
14333 cygwin
* | mingw
* | pw32
* | cegcc
*)
14334 # When not using gcc, we currently assume that we are using
14335 # Microsoft Visual C++.
14336 # hardcode_libdir_flag_spec is actually meaningless, as there is
14337 # no search path for DLLs.
14338 hardcode_libdir_flag_spec_FC
=' '
14339 allow_undefined_flag_FC
=unsupported
14340 # Tell ltmain to make .lib files, not .a files.
14342 # Tell ltmain to make .dll files, not .so files.
14344 # FIXME: Setting linknames here is a bad hack.
14345 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14346 # The linker will automatically build a .lib file if we build a DLL.
14347 old_archive_from_new_cmds_FC
='true'
14348 # FIXME: Should let the user specify the lib program.
14349 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14350 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
14351 enable_shared_with_static_runtimes_FC
=yes
14354 darwin
* | rhapsody
*)
14357 archive_cmds_need_lc_FC
=no
14358 hardcode_direct_FC
=no
14359 hardcode_automatic_FC
=yes
14360 hardcode_shlibpath_var_FC
=unsupported
14361 if test "$lt_cv_ld_force_load" = "yes"; then
14362 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\"`'
14364 whole_archive_flag_spec_FC
=''
14366 link_all_deplibs_FC
=yes
14367 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
14368 case $cc_basename in
14369 ifort
*) _lt_dar_can_shared
=yes ;;
14370 *) _lt_dar_can_shared
=$GCC ;;
14372 if test "$_lt_dar_can_shared" = "yes"; then
14373 output_verbose_link_cmd
=func_echo_all
14374 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}"
14375 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14376 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}"
14377 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}"
14386 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14387 hardcode_libdir_flag_spec_FC
='-L$libdir'
14388 hardcode_shlibpath_var_FC
=no
14391 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14392 # support. Future versions do this automatically, but an explicit c++rt0.o
14393 # does not break anything, and helps significantly (at the cost of a little
14396 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14397 hardcode_libdir_flag_spec_FC
='-R$libdir'
14398 hardcode_direct_FC
=yes
14399 hardcode_shlibpath_var_FC
=no
14402 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14404 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14405 hardcode_direct_FC
=yes
14406 hardcode_minus_L_FC
=yes
14407 hardcode_shlibpath_var_FC
=no
14410 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14411 freebsd
* | dragonfly
*)
14412 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14413 hardcode_libdir_flag_spec_FC
='-R$libdir'
14414 hardcode_direct_FC
=yes
14415 hardcode_shlibpath_var_FC
=no
14419 if test "$GCC" = yes; then
14420 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'
14422 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'
14424 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14425 hardcode_libdir_separator_FC
=:
14426 hardcode_direct_FC
=yes
14428 # hardcode_minus_L: Not really in the search PATH,
14429 # but as the default location of the library.
14430 hardcode_minus_L_FC
=yes
14431 export_dynamic_flag_spec_FC
='${wl}-E'
14435 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14436 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14438 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14440 if test "$with_gnu_ld" = no
; then
14441 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14442 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
14443 hardcode_libdir_separator_FC
=:
14444 hardcode_direct_FC
=yes
14445 hardcode_direct_absolute_FC
=yes
14446 export_dynamic_flag_spec_FC
='${wl}-E'
14447 # hardcode_minus_L: Not really in the search PATH,
14448 # but as the default location of the library.
14449 hardcode_minus_L_FC
=yes
14454 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
14457 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14460 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14463 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14469 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14472 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14475 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14479 if test "$with_gnu_ld" = no
; then
14480 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
14481 hardcode_libdir_separator_FC
=:
14485 hardcode_direct_FC
=no
14486 hardcode_shlibpath_var_FC
=no
14489 hardcode_direct_FC
=yes
14490 hardcode_direct_absolute_FC
=yes
14491 export_dynamic_flag_spec_FC
='${wl}-E'
14493 # hardcode_minus_L: Not really in the search PATH,
14494 # but as the default location of the library.
14495 hardcode_minus_L_FC
=yes
14501 irix5
* | irix6
* | nonstopux
*)
14502 if test "$GCC" = yes; then
14503 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'
14504 # Try to use the -exported_symbol ld option, if it does not
14505 # work, assume that -exports_file does not work either and
14506 # implicitly export all symbols.
14507 save_LDFLAGS
="$LDFLAGS"
14508 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14509 if test x
$gcc_no_link = xyes
; then
14510 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14512 cat > conftest.
$ac_ext <<_ACEOF
14515 if ac_fn_fc_try_link
"$LINENO"; then :
14516 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'
14519 rm -f core conftest.err conftest.
$ac_objext \
14520 conftest
$ac_exeext conftest.
$ac_ext
14521 LDFLAGS
="$save_LDFLAGS"
14523 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'
14524 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'
14526 archive_cmds_need_lc_FC
='no'
14527 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14528 hardcode_libdir_separator_FC
=:
14529 inherit_rpath_FC
=yes
14530 link_all_deplibs_FC
=yes
14534 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14535 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
14537 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
14539 hardcode_libdir_flag_spec_FC
='-R$libdir'
14540 hardcode_direct_FC
=yes
14541 hardcode_shlibpath_var_FC
=no
14545 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14546 hardcode_direct_FC
=yes
14547 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14548 hardcode_libdir_separator_FC
=:
14549 hardcode_shlibpath_var_FC
=no
14556 if test -f /usr
/libexec
/ld.so
; then
14557 hardcode_direct_FC
=yes
14558 hardcode_shlibpath_var_FC
=no
14559 hardcode_direct_absolute_FC
=yes
14560 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14561 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14562 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14563 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14564 export_dynamic_flag_spec_FC
='${wl}-E'
14567 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
14568 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14569 hardcode_libdir_flag_spec_FC
='-R$libdir'
14572 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14573 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14583 hardcode_libdir_flag_spec_FC
='-L$libdir'
14584 hardcode_minus_L_FC
=yes
14585 allow_undefined_flag_FC
=unsupported
14586 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'
14587 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14591 if test "$GCC" = yes; then
14592 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14593 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'
14595 allow_undefined_flag_FC
=' -expect_unresolved \*'
14596 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'
14598 archive_cmds_need_lc_FC
='no'
14599 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14600 hardcode_libdir_separator_FC
=:
14603 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
14604 if test "$GCC" = yes; then
14605 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
14606 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'
14607 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14609 allow_undefined_flag_FC
=' -expect_unresolved \*'
14610 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'
14611 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~
14612 $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'
14614 # Both c and cxx compiler support -rpath directly
14615 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
14617 archive_cmds_need_lc_FC
='no'
14618 hardcode_libdir_separator_FC
=:
14622 no_undefined_flag_FC
=' -z defs'
14623 if test "$GCC" = yes; then
14625 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14626 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14627 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14629 case `$CC -V 2>&1` in
14632 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14633 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14634 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14638 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14639 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14640 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14644 hardcode_libdir_flag_spec_FC
='-R$libdir'
14645 hardcode_shlibpath_var_FC
=no
14647 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14649 # The compiler driver will combine and reorder linker options,
14650 # but understands `-z linker_flag'. GCC discards it without `$wl',
14651 # but is careful enough not to reorder.
14652 # Supported since Solaris 2.6 (maybe 2.5.1?)
14653 if test "$GCC" = yes; then
14654 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14656 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
14660 link_all_deplibs_FC
=yes
14664 if test "x$host_vendor" = xsequent
; then
14665 # Use $CC to link under sequent, because it throws in some extra .o
14666 # files that make .init and .fini sections work.
14667 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14669 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14671 hardcode_libdir_flag_spec_FC
='-L$libdir'
14672 hardcode_direct_FC
=yes
14673 hardcode_minus_L_FC
=yes
14674 hardcode_shlibpath_var_FC
=no
14678 case $host_vendor in
14680 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14681 hardcode_direct_FC
=yes # is this really true???
14684 ## LD is ld it makes a PLAMLIB
14685 ## CC just makes a GrossModule.
14686 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14687 reload_cmds_FC
='$CC -r -o $output$reload_objs'
14688 hardcode_direct_FC
=no
14691 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14692 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
14695 runpath_var
='LD_RUN_PATH'
14696 hardcode_shlibpath_var_FC
=no
14700 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14701 hardcode_shlibpath_var_FC
=no
14702 export_dynamic_flag_spec_FC
='-Bexport'
14706 if test -d /usr
/nec
; then
14707 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14708 hardcode_shlibpath_var_FC
=no
14709 runpath_var
=LD_RUN_PATH
14710 hardcode_runpath_var
=yes
14715 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14716 no_undefined_flag_FC
='${wl}-z,text'
14717 archive_cmds_need_lc_FC
=no
14718 hardcode_shlibpath_var_FC
=no
14719 runpath_var
='LD_RUN_PATH'
14721 if test "$GCC" = yes; then
14722 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14723 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14725 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14726 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14730 sysv5
* | sco3.2v5
* | sco5v6
*)
14731 # Note: We can NOT use -z defs as we might desire, because we do not
14732 # link with -lc, and that would cause any symbols used from libc to
14733 # always be unresolved, which means just about no library would
14734 # ever link correctly. If we're not using GNU ld we use -z text
14735 # though, which does catch some bad symbols but isn't as heavy-handed
14737 no_undefined_flag_FC
='${wl}-z,text'
14738 allow_undefined_flag_FC
='${wl}-z,nodefs'
14739 archive_cmds_need_lc_FC
=no
14740 hardcode_shlibpath_var_FC
=no
14741 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
14742 hardcode_libdir_separator_FC
=':'
14743 link_all_deplibs_FC
=yes
14744 export_dynamic_flag_spec_FC
='${wl}-Bexport'
14745 runpath_var
='LD_RUN_PATH'
14747 if test "$GCC" = yes; then
14748 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14749 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14751 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14752 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14757 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14758 hardcode_libdir_flag_spec_FC
='-L$libdir'
14759 hardcode_shlibpath_var_FC
=no
14767 if test x
$host_vendor = xsni
; then
14769 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
14770 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14777 $as_echo "$ld_shlibs_FC" >&6; }
14778 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
14780 with_gnu_ld_FC
=$with_gnu_ld
14788 # Do we need to explicitly link libc?
14790 case "x$archive_cmds_need_lc_FC" in
14792 # Assume -lc should be added
14793 archive_cmds_need_lc_FC
=yes
14795 if test "$enable_shared" = yes && test "$GCC" = yes; then
14796 case $archive_cmds_FC in
14798 # FIXME: we may have to deal with multi-command sequences.
14801 # Test whether the compiler implicitly links with -lc since on some
14802 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14803 # to ld, don't add -lc before -lgcc.
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14805 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14806 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14807 $as_echo_n "(cached) " >&6
14810 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14812 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14813 (eval $ac_compile) 2>&5
14815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14816 test $ac_status = 0; } 2>conftest.err
; then
14819 libobjs
=conftest.
$ac_objext
14821 wl
=$lt_prog_compiler_wl_FC
14822 pic_flag
=$lt_prog_compiler_pic_FC
14828 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
14829 allow_undefined_flag_FC
=
14830 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14831 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14834 test $ac_status = 0; }
14836 lt_cv_archive_cmds_need_lc_FC
=no
14838 lt_cv_archive_cmds_need_lc_FC
=yes
14840 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
14842 cat conftest.err
1>&5
14847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14848 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14849 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14920 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14922 library_names_spec
=
14923 libname_spec
='lib$name'
14927 postuninstall_cmds
=
14931 shlibpath_overrides_runpath
=unknown
14933 dynamic_linker
="$host_os ld.so"
14934 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14935 need_lib_prefix
=unknown
14936 hardcode_into_libs
=no
14938 # when you set need_version to no, make sure it does not cause -set_version
14939 # flags to be left without arguments
14940 need_version
=unknown
14945 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14946 shlibpath_var
=LIBPATH
14948 # AIX 3 has no versioning support, so we append a major version to the name.
14949 soname_spec
='${libname}${release}${shared_ext}$major'
14956 hardcode_into_libs
=yes
14957 if test "$host_cpu" = ia64
; then
14958 # AIX 5 supports IA64
14959 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14960 shlibpath_var
=LD_LIBRARY_PATH
14962 # With GCC up to 2.95.x, collect2 would create an import file
14963 # for dependence libraries. The import file would start with
14964 # the line `#! .'. This would cause the generated library to
14965 # depend on `.', always an invalid library. This was fixed in
14966 # development snapshots of GCC prior to 3.0.
14968 aix4 | aix4.
[01] | aix4.
[01].
*)
14969 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14971 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
14974 can_build_shared
=no
14978 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14979 # soname into executable. Probably we can add versioning support to
14980 # collect2, so additional links can be useful in future.
14981 if test "$aix_use_runtimelinking" = yes; then
14982 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14983 # instead of lib<name>.a to let people know that these are not
14984 # typical AIX shared libraries.
14985 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14987 # We preserve .a as extension for shared libraries through AIX4.2
14988 # and later when we are not doing run time linking.
14989 library_names_spec
='${libname}${release}.a $libname.a'
14990 soname_spec
='${libname}${release}${shared_ext}$major'
14992 shlibpath_var
=LIBPATH
14999 # Since July 2007 AmigaOS4 officially supports .so libraries.
15000 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15001 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15004 library_names_spec
='$libname.ixlibrary $libname.a'
15005 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15006 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'
15012 library_names_spec
='${libname}${shared_ext}'
15013 dynamic_linker
="$host_os ld.so"
15014 shlibpath_var
=LIBRARY_PATH
15020 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15021 soname_spec
='${libname}${release}${shared_ext}$major'
15022 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15023 shlibpath_var
=LD_LIBRARY_PATH
15024 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15025 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15026 # the default ld.so.conf also contains /usr/contrib/lib and
15027 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15028 # libtool to hard-code these into programs
15031 cygwin
* | mingw
* | pw32
* | cegcc
*)
15032 version_type
=windows
15037 case $GCC,$host_os in
15038 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15039 library_names_spec
='$libname.dll.a'
15040 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15041 postinstall_cmds
='base_file=`basename \${file}`~
15042 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15043 dldir=$destdir/`dirname \$dlpath`~
15044 test -d \$dldir || mkdir -p \$dldir~
15045 $install_prog $dir/$dlname \$dldir/$dlname~
15046 chmod a+x \$dldir/$dlname~
15047 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15048 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15050 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15051 dlpath=$dir/\$dldll~
15053 shlibpath_overrides_runpath
=yes
15057 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15058 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15062 # MinGW DLLs use traditional 'lib' prefix
15063 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15066 # pw32 DLLs use 'pw' prefix rather than 'lib'
15067 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15073 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15076 dynamic_linker
='Win32 ld.exe'
15077 # FIXME: first we should search . and the directory the executable is in
15081 darwin
* | rhapsody
*)
15082 dynamic_linker
="$host_os dyld"
15083 version_type
=darwin
15086 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15087 soname_spec
='${libname}${release}${major}$shared_ext'
15088 shlibpath_overrides_runpath
=yes
15089 shlibpath_var
=DYLD_LIBRARY_PATH
15090 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15092 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15099 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15100 soname_spec
='${libname}${release}${shared_ext}$major'
15101 shlibpath_var
=LD_LIBRARY_PATH
15104 freebsd
* | dragonfly
*)
15105 # DragonFly does not have aout. When/if they implement a new
15106 # versioning mechanism, adjust this.
15107 if test -x /usr
/bin
/objformat
; then
15108 objformat
=`/usr/bin/objformat`
15111 freebsd
[23].
*) objformat
=aout
;;
15112 *) objformat
=elf
;;
15115 version_type
=freebsd-
$objformat
15116 case $version_type in
15118 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15123 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15127 shlibpath_var
=LD_LIBRARY_PATH
15130 shlibpath_overrides_runpath
=yes
15132 freebsd3.
[01]* | freebsdelf3.
[01]*)
15133 shlibpath_overrides_runpath
=yes
15134 hardcode_into_libs
=yes
15136 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15137 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15138 shlibpath_overrides_runpath
=no
15139 hardcode_into_libs
=yes
15141 *) # from 4.6 on, and DragonFly
15142 shlibpath_overrides_runpath
=yes
15143 hardcode_into_libs
=yes
15152 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15153 soname_spec
='${libname}${release}${shared_ext}$major'
15154 shlibpath_var
=LD_LIBRARY_PATH
15155 hardcode_into_libs
=yes
15162 dynamic_linker
="$host_os runtime_loader"
15163 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15164 soname_spec
='${libname}${release}${shared_ext}$major'
15165 shlibpath_var
=LIBRARY_PATH
15166 shlibpath_overrides_runpath
=yes
15167 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15168 hardcode_into_libs
=yes
15171 hpux9
* | hpux10
* | hpux11
*)
15172 # Give a soname corresponding to the major version so that dld.sl refuses to
15173 # link against other versions.
15180 hardcode_into_libs
=yes
15181 dynamic_linker
="$host_os dld.so"
15182 shlibpath_var
=LD_LIBRARY_PATH
15183 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15184 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15185 soname_spec
='${libname}${release}${shared_ext}$major'
15186 if test "X$HPUX_IA64_MODE" = X32
; then
15187 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15189 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15191 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15195 hardcode_into_libs
=yes
15196 dynamic_linker
="$host_os dld.sl"
15197 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_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 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15202 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15206 dynamic_linker
="$host_os dld.sl"
15207 shlibpath_var
=SHLIB_PATH
15208 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15209 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15210 soname_spec
='${libname}${release}${shared_ext}$major'
15213 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15214 postinstall_cmds
='chmod 555 $lib'
15215 # or fails outright, so override atomically:
15216 install_override_mode
=555
15223 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15224 soname_spec
='${libname}${release}${shared_ext}$major'
15225 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15226 shlibpath_var
=LD_LIBRARY_PATH
15227 shlibpath_overrides_runpath
=no
15228 hardcode_into_libs
=yes
15231 irix5
* | irix6
* | nonstopux
*)
15233 nonstopux
*) version_type
=nonstopux
;;
15235 if test "$lt_cv_prog_gnu_ld" = yes; then
15243 soname_spec
='${libname}${release}${shared_ext}$major'
15244 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15246 irix5
* | nonstopux
*)
15247 libsuff
= shlibsuff
=
15250 case $LD in # libtool.m4 will add one of these switches to LD
15251 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15252 libsuff
= shlibsuff
= libmagic
=32-bit;;
15253 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15254 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15255 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15256 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15257 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15261 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15262 shlibpath_overrides_runpath
=no
15263 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15264 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15265 hardcode_into_libs
=yes
15268 # No shared lib support for Linux oldld, aout, or coff.
15269 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15273 # This must be Linux ELF.
15274 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
15278 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15279 soname_spec
='${libname}${release}${shared_ext}$major'
15280 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15281 shlibpath_var
=LD_LIBRARY_PATH
15282 shlibpath_overrides_runpath
=no
15284 # Some binutils ld are patched to set DT_RUNPATH
15285 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15286 $as_echo_n "(cached) " >&6
15288 lt_cv_shlibpath_overrides_runpath
=no
15289 save_LDFLAGS
=$LDFLAGS
15290 save_libdir
=$libdir
15291 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15292 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15293 if test x
$gcc_no_link = xyes
; then
15294 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15296 cat > conftest.
$ac_ext <<_ACEOF
15301 if ac_fn_fc_try_link
"$LINENO"; then :
15302 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15303 lt_cv_shlibpath_overrides_runpath
=yes
15306 rm -f core conftest.err conftest.
$ac_objext \
15307 conftest
$ac_exeext conftest.
$ac_ext
15308 LDFLAGS
=$save_LDFLAGS
15309 libdir
=$save_libdir
15313 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15315 # This implies no fast_install, which is unacceptable.
15316 # Some rework will be needed to allow for fast_install
15317 # before this can be enabled.
15318 hardcode_into_libs
=yes
15320 # Append ld.so.conf contents to the search path
15321 if test -f /etc
/ld.so.conf
; then
15322 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' ' '`
15323 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15326 # We used to test for /lib/ld.so.1 and disable shared libraries on
15327 # powerpc, because MkLinux only supported shared libraries with the
15328 # GNU dynamic linker. Since this was broken with cross compilers,
15329 # most powerpc-linux boxes support dynamic linking these days and
15330 # people can always --disable-shared, the test was removed, and we
15331 # assume the GNU/Linux dynamic linker is in use.
15332 dynamic_linker
='GNU/Linux ld.so'
15339 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15340 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15341 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15342 dynamic_linker
='NetBSD (a.out) ld.so'
15344 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15345 soname_spec
='${libname}${release}${shared_ext}$major'
15346 dynamic_linker
='NetBSD ld.elf_so'
15348 shlibpath_var
=LD_LIBRARY_PATH
15349 shlibpath_overrides_runpath
=yes
15350 hardcode_into_libs
=yes
15355 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15356 shlibpath_var
=LD_LIBRARY_PATH
15357 shlibpath_overrides_runpath
=yes
15364 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15365 soname_spec
='${libname}${release}${shared_ext}$major'
15366 shlibpath_var
=LD_LIBRARY_PATH
15367 shlibpath_overrides_runpath
=no
15368 hardcode_into_libs
=yes
15369 dynamic_linker
='ldqnx.so'
15374 sys_lib_dlsearch_path_spec
="/usr/lib"
15376 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15378 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15379 *) need_version
=no
;;
15381 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15382 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15383 shlibpath_var
=LD_LIBRARY_PATH
15384 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15386 openbsd2.
[89] | openbsd2.
[89].
*)
15387 shlibpath_overrides_runpath
=no
15390 shlibpath_overrides_runpath
=yes
15394 shlibpath_overrides_runpath
=yes
15399 libname_spec
='$name'
15402 library_names_spec
='$libname${shared_ext} $libname.a'
15403 dynamic_linker
='OS/2 ld.exe'
15404 shlibpath_var
=LIBPATH
15407 osf3
* | osf4
* | osf5
*)
15411 soname_spec
='${libname}${release}${shared_ext}$major'
15412 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15413 shlibpath_var
=LD_LIBRARY_PATH
15414 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15415 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15426 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15427 soname_spec
='${libname}${release}${shared_ext}$major'
15428 shlibpath_var
=LD_LIBRARY_PATH
15429 shlibpath_overrides_runpath
=yes
15430 hardcode_into_libs
=yes
15431 # ldd complains unless libraries are executable
15432 postinstall_cmds
='chmod +x $lib'
15437 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15438 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15439 shlibpath_var
=LD_LIBRARY_PATH
15440 shlibpath_overrides_runpath
=yes
15441 if test "$with_gnu_ld" = yes; then
15449 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15450 soname_spec
='${libname}${release}${shared_ext}$major'
15451 shlibpath_var
=LD_LIBRARY_PATH
15452 case $host_vendor in
15454 shlibpath_overrides_runpath
=no
15456 runpath_var
=LD_RUN_PATH
15464 shlibpath_overrides_runpath
=no
15465 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15471 if test -d /usr
/nec
;then
15473 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15474 soname_spec
='$libname${shared_ext}.$major'
15475 shlibpath_var
=LD_LIBRARY_PATH
15479 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15480 version_type
=freebsd-elf
15483 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15484 soname_spec
='${libname}${release}${shared_ext}$major'
15485 shlibpath_var
=LD_LIBRARY_PATH
15486 shlibpath_overrides_runpath
=yes
15487 hardcode_into_libs
=yes
15488 if test "$with_gnu_ld" = yes; then
15489 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15491 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15494 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15498 sys_lib_dlsearch_path_spec
='/usr/lib'
15502 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15506 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15507 shlibpath_var
=LD_LIBRARY_PATH
15508 shlibpath_overrides_runpath
=no
15509 hardcode_into_libs
=yes
15514 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15515 soname_spec
='${libname}${release}${shared_ext}$major'
15516 shlibpath_var
=LD_LIBRARY_PATH
15523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15524 $as_echo "$dynamic_linker" >&6; }
15525 test "$dynamic_linker" = no
&& can_build_shared
=no
15527 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15528 if test "$GCC" = yes; then
15529 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15532 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15533 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15535 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15536 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15577 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15578 hardcode_action_FC
=
15579 if test -n "$hardcode_libdir_flag_spec_FC" ||
15580 test -n "$runpath_var_FC" ||
15581 test "X$hardcode_automatic_FC" = "Xyes" ; then
15583 # We can hardcode non-existent directories.
15584 if test "$hardcode_direct_FC" != no
&&
15585 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15586 # have to relink, otherwise we might link with an installed library
15587 # when we should be linking with a yet-to-be-installed one
15588 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15589 test "$hardcode_minus_L_FC" != no
; then
15590 # Linking always hardcodes the temporary library directory.
15591 hardcode_action_FC
=relink
15593 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15594 hardcode_action_FC
=immediate
15597 # We cannot hardcode anything, or else we can only hardcode existing
15599 hardcode_action_FC
=unsupported
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15602 $as_echo "$hardcode_action_FC" >&6; }
15604 if test "$hardcode_action_FC" = relink ||
15605 test "$inherit_rpath_FC" = yes; then
15606 # Fast installation is not supported
15607 enable_fast_install
=no
15608 elif test "$shlibpath_overrides_runpath" = yes ||
15609 test "$enable_shared" = no
; then
15610 # Fast installation is not necessary
15611 enable_fast_install
=needless
15620 fi # test -n "$compiler"
15624 fi # test "$_lt_disable_FC" != yes
15627 ac_cpp
='$CPP $CPPFLAGS'
15628 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15629 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15630 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15634 # extra LD Flags which are required for targets
15637 # Darwin needs -single_module when linking libgfortran
15638 extra_ldflags_libgfortran
=-Wl,-single_module
15643 # We need a working compiler at that point, otherwise give a clear
15644 # error message and bail out.
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15647 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15648 ac_ext
=${ac_fc_srcext-f}
15649 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15650 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15651 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
15653 cat > conftest.
$ac_ext <<_ACEOF
15656 real, parameter :: bar = sin (12.34 / 2.5)
15659 if ac_fn_fc_try_compile
"$LINENO"; then :
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15661 $as_echo "yes" >&6; }
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15664 $as_echo "no" >&6; }
15665 as_fn_error
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15670 ac_cpp
='$CPP $CPPFLAGS'
15671 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15672 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15673 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15677 # Check whether --enable-largefile was given.
15678 if test "${enable_largefile+set}" = set; then :
15679 enableval
=$enable_largefile;
15682 if test "$enable_largefile" != no
; then
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15685 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15686 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15687 $as_echo_n "(cached) " >&6
15689 ac_cv_sys_largefile_CC
=no
15690 if test "$GCC" != yes; then
15693 # IRIX 6.2 and later do not support large files by default,
15694 # so use the C compiler's -n32 option if that helps.
15695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15696 /* end confdefs.h. */
15697 #include <sys/types.h>
15698 /* Check that off_t can represent 2**63 - 1 correctly.
15699 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15700 since some C++ compilers masquerading as C compilers
15701 incorrectly reject 9223372036854775807. */
15702 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15703 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15704 && LARGE_OFF_T % 2147483647 == 1)
15714 if ac_fn_c_try_compile
"$LINENO"; then :
15717 rm -f core conftest.err conftest.
$ac_objext
15719 if ac_fn_c_try_compile
"$LINENO"; then :
15720 ac_cv_sys_largefile_CC
=' -n32'; break
15722 rm -f core conftest.err conftest.
$ac_objext
15726 rm -f conftest.
$ac_ext
15729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15730 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15731 if test "$ac_cv_sys_largefile_CC" != no
; then
15732 CC
=$CC$ac_cv_sys_largefile_CC
15735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15736 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15737 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15738 $as_echo_n "(cached) " >&6
15741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15742 /* end confdefs.h. */
15743 #include <sys/types.h>
15744 /* Check that off_t can represent 2**63 - 1 correctly.
15745 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15746 since some C++ compilers masquerading as C compilers
15747 incorrectly reject 9223372036854775807. */
15748 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15749 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15750 && LARGE_OFF_T % 2147483647 == 1)
15760 if ac_fn_c_try_compile
"$LINENO"; then :
15761 ac_cv_sys_file_offset_bits
=no
; break
15763 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15765 /* end confdefs.h. */
15766 #define _FILE_OFFSET_BITS 64
15767 #include <sys/types.h>
15768 /* Check that off_t can represent 2**63 - 1 correctly.
15769 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15770 since some C++ compilers masquerading as C compilers
15771 incorrectly reject 9223372036854775807. */
15772 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15773 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15774 && LARGE_OFF_T % 2147483647 == 1)
15784 if ac_fn_c_try_compile
"$LINENO"; then :
15785 ac_cv_sys_file_offset_bits
=64; break
15787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15788 ac_cv_sys_file_offset_bits
=unknown
15792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15793 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15794 case $ac_cv_sys_file_offset_bits in #(
15797 cat >>confdefs.h
<<_ACEOF
15798 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15803 if test $ac_cv_sys_file_offset_bits = unknown
; then
15804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15805 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15806 if test "${ac_cv_sys_large_files+set}" = set; then :
15807 $as_echo_n "(cached) " >&6
15810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15811 /* end confdefs.h. */
15812 #include <sys/types.h>
15813 /* Check that off_t can represent 2**63 - 1 correctly.
15814 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15815 since some C++ compilers masquerading as C compilers
15816 incorrectly reject 9223372036854775807. */
15817 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15818 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15819 && LARGE_OFF_T % 2147483647 == 1)
15829 if ac_fn_c_try_compile
"$LINENO"; then :
15830 ac_cv_sys_large_files
=no
; break
15832 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15834 /* end confdefs.h. */
15835 #define _LARGE_FILES 1
15836 #include <sys/types.h>
15837 /* Check that off_t can represent 2**63 - 1 correctly.
15838 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15839 since some C++ compilers masquerading as C compilers
15840 incorrectly reject 9223372036854775807. */
15841 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15842 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15843 && LARGE_OFF_T % 2147483647 == 1)
15853 if ac_fn_c_try_compile
"$LINENO"; then :
15854 ac_cv_sys_large_files
=1; break
15856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15857 ac_cv_sys_large_files
=unknown
15861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15862 $as_echo "$ac_cv_sys_large_files" >&6; }
15863 case $ac_cv_sys_large_files in #(
15866 cat >>confdefs.h
<<_ACEOF
15867 #define _LARGE_FILES $ac_cv_sys_large_files
15877 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15878 if test "x$ac_cv_type_off_t" = x
""yes; then :
15882 cat >>confdefs.h
<<_ACEOF
15883 #define off_t long int
15889 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15890 if test "x$ac_cv_type_intptr_t" = x
""yes; then :
15892 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
15895 for ac_type
in 'int' 'long int' 'long long int'; do
15896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15897 /* end confdefs.h. */
15898 $ac_includes_default
15902 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15909 if ac_fn_c_try_compile
"$LINENO"; then :
15911 cat >>confdefs.h
<<_ACEOF
15912 #define intptr_t $ac_type
15917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15918 test -z "$ac_type" && break
15924 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15925 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
15927 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
15930 for ac_type
in 'unsigned int' 'unsigned long int' \
15931 'unsigned long long int'; do
15932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15933 /* end confdefs.h. */
15934 $ac_includes_default
15938 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15945 if ac_fn_c_try_compile
"$LINENO"; then :
15947 cat >>confdefs.h
<<_ACEOF
15948 #define uintptr_t $ac_type
15953 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15954 test -z "$ac_type" && break
15959 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
15960 if test "x$ac_cv_type_ptrdiff_t" = x
""yes; then :
15962 cat >>confdefs.h
<<_ACEOF
15963 #define HAVE_PTRDIFF_T 1
15970 # check header files (we assume C89 is available, so don't check for that)
15974 for ac_header
in $ac_header_list
15976 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15977 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
15979 eval as_val
=\$
$as_ac_Header
15980 if test "x$as_val" = x
""yes; then :
15981 cat >>confdefs.h
<<_ACEOF
15982 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16021 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16023 acx_cv_header_stdint
=stddef.h
16024 acx_cv_header_stdint_kind
="(already complete)"
16025 for i
in stdint.h
$inttype_headers; do
16026 unset ac_cv_type_uintptr_t
16027 unset ac_cv_type_uintmax_t
16028 unset ac_cv_type_int_least32_t
16029 unset ac_cv_type_int_fast32_t
16030 unset ac_cv_type_uint64_t
16031 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16032 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16035 if test "x$ac_cv_type_uintmax_t" = x
""yes; then :
16036 acx_cv_header_stdint
=$i
16041 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16044 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16047 acx_cv_header_stdint_kind
="(mostly complete)"
16050 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16053 if test "x$ac_cv_type_int_least32_t" = x
""yes; then :
16056 acx_cv_header_stdint_kind
="(mostly complete)"
16059 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16062 if test "x$ac_cv_type_int_fast32_t" = x
""yes; then :
16065 acx_cv_header_stdint_kind
="(mostly complete)"
16068 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16071 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16074 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16079 if test "$acx_cv_header_stdint" = stddef.h
; then
16080 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16081 for i
in stdint.h
$inttype_headers; do
16082 unset ac_cv_type_uintptr_t
16083 unset ac_cv_type_uint32_t
16084 unset ac_cv_type_uint64_t
16085 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16086 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16089 if test "x$ac_cv_type_uint32_t" = x
""yes; then :
16090 acx_cv_header_stdint
=$i
16095 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16098 if test "x$ac_cv_type_uint64_t" = x
""yes; then :
16102 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16105 if test "x$ac_cv_type_uintptr_t" = x
""yes; then :
16112 if test "$acx_cv_header_stdint" = stddef.h
; then
16113 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16114 for i
in sys
/types.h
$inttype_headers; do
16115 unset ac_cv_type_u_int32_t
16116 unset ac_cv_type_u_int64_t
16117 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16118 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16121 if test "x$ac_cv_type_u_int32_t" = x
""yes; then :
16122 acx_cv_header_stdint
=$i
16127 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16130 if test "x$ac_cv_type_u_int64_t" = x
""yes; then :
16137 if test "$acx_cv_header_stdint" = stddef.h
; then
16138 acx_cv_header_stdint_kind
="(using manual detection)"
16141 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16142 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16143 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16144 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16145 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16147 # ----------------- Summarize what we found so far
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16150 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16152 case `$as_basename -- gstdint.h ||
16153 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16154 Xgstdint.h : 'X\(//\)$' \| \
16155 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16156 $as_echo X/gstdint.h |
16157 sed '/^.*\/\([^/][^/]*\)\/*$/{
16170 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16171 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16172 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16173 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16178 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16180 # ----------------- done included file, check C basic types --------
16182 # Lacking an uintptr_t? Test size of void *
16183 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16184 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16185 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16186 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16187 # This bug is HP SR number 8606223364.
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16189 $as_echo_n "checking size of void *... " >&6; }
16190 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16191 $as_echo_n "(cached) " >&6
16193 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16196 if test "$ac_cv_type_void_p" = yes; then
16197 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16199 { as_fn_set_status
77
16200 as_fn_error
"cannot compute sizeof (void *)
16201 See \`config.log' for more details." "$LINENO" 5; }; }
16203 ac_cv_sizeof_void_p
=0
16208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16209 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16213 cat >>confdefs.h
<<_ACEOF
16214 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16220 # Lacking an uint64_t? Test size of long
16221 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16222 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16223 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16224 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16225 # This bug is HP SR number 8606223364.
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16227 $as_echo_n "checking size of long... " >&6; }
16228 if test "${ac_cv_sizeof_long+set}" = set; then :
16229 $as_echo_n "(cached) " >&6
16231 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16234 if test "$ac_cv_type_long" = yes; then
16235 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16236 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16237 { as_fn_set_status
77
16238 as_fn_error
"cannot compute sizeof (long)
16239 See \`config.log' for more details." "$LINENO" 5; }; }
16241 ac_cv_sizeof_long
=0
16246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16247 $as_echo "$ac_cv_sizeof_long" >&6; }
16251 cat >>confdefs.h
<<_ACEOF
16252 #define SIZEOF_LONG $ac_cv_sizeof_long
16258 if test $acx_cv_header_stdint = stddef.h
; then
16259 # Lacking a good header? Test size of everything and deduce all types.
16260 # The cast to long int works around a bug in the HP C Compiler
16261 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16262 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16263 # This bug is HP SR number 8606223364.
16264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16265 $as_echo_n "checking size of int... " >&6; }
16266 if test "${ac_cv_sizeof_int+set}" = set; then :
16267 $as_echo_n "(cached) " >&6
16269 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16272 if test "$ac_cv_type_int" = yes; then
16273 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16274 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16275 { as_fn_set_status
77
16276 as_fn_error
"cannot compute sizeof (int)
16277 See \`config.log' for more details." "$LINENO" 5; }; }
16284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16285 $as_echo "$ac_cv_sizeof_int" >&6; }
16289 cat >>confdefs.h
<<_ACEOF
16290 #define SIZEOF_INT $ac_cv_sizeof_int
16294 # The cast to long int works around a bug in the HP C Compiler
16295 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16296 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16297 # This bug is HP SR number 8606223364.
16298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16299 $as_echo_n "checking size of short... " >&6; }
16300 if test "${ac_cv_sizeof_short+set}" = set; then :
16301 $as_echo_n "(cached) " >&6
16303 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16306 if test "$ac_cv_type_short" = yes; then
16307 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16308 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16309 { as_fn_set_status
77
16310 as_fn_error
"cannot compute sizeof (short)
16311 See \`config.log' for more details." "$LINENO" 5; }; }
16313 ac_cv_sizeof_short
=0
16318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16319 $as_echo "$ac_cv_sizeof_short" >&6; }
16323 cat >>confdefs.h
<<_ACEOF
16324 #define SIZEOF_SHORT $ac_cv_sizeof_short
16328 # The cast to long int works around a bug in the HP C Compiler
16329 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16330 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16331 # This bug is HP SR number 8606223364.
16332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16333 $as_echo_n "checking size of char... " >&6; }
16334 if test "${ac_cv_sizeof_char+set}" = set; then :
16335 $as_echo_n "(cached) " >&6
16337 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16340 if test "$ac_cv_type_char" = yes; then
16341 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16343 { as_fn_set_status
77
16344 as_fn_error
"cannot compute sizeof (char)
16345 See \`config.log' for more details." "$LINENO" 5; }; }
16347 ac_cv_sizeof_char
=0
16352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16353 $as_echo "$ac_cv_sizeof_char" >&6; }
16357 cat >>confdefs.h
<<_ACEOF
16358 #define SIZEOF_CHAR $ac_cv_sizeof_char
16363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16364 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16365 case "$ac_cv_sizeof_char" in
16366 1) acx_cv_type_int8_t
=char
;;
16367 *) as_fn_error
"no 8-bit type, please report a bug" "$LINENO" 5
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16370 $as_echo "$acx_cv_type_int8_t" >&6; }
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16373 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16374 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16375 2:*) acx_cv_type_int16_t
=int
;;
16376 *:2) acx_cv_type_int16_t
=short
;;
16377 *) as_fn_error
"no 16-bit type, please report a bug" "$LINENO" 5
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16380 $as_echo "$acx_cv_type_int16_t" >&6; }
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16383 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16384 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16385 4:*) acx_cv_type_int32_t
=int
;;
16386 *:4) acx_cv_type_int32_t
=long
;;
16387 *) as_fn_error
"no 32-bit type, please report a bug" "$LINENO" 5
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16390 $as_echo "$acx_cv_type_int32_t" >&6; }
16393 # These tests are here to make the output prettier
16395 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16396 case "$ac_cv_sizeof_long" in
16397 8) acx_cv_type_int64_t
=long
;;
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16400 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16402 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16405 # Now we can use the above types
16407 if test "$ac_cv_type_uintptr_t" != yes; then
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16409 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16410 case $ac_cv_sizeof_void_p in
16411 2) acx_cv_type_intptr_t
=int16_t
;;
16412 4) acx_cv_type_intptr_t
=int32_t
;;
16413 8) acx_cv_type_intptr_t
=int64_t
;;
16414 *) as_fn_error
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16417 $as_echo "$acx_cv_type_intptr_t" >&6; }
16420 # ----------------- done all checks, emit header -------------
16421 ac_config_commands
="$ac_config_commands gstdint.h"
16426 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16427 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
16429 cat >>confdefs.h
<<_ACEOF
16430 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16435 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16436 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
16438 cat >>confdefs.h
<<_ACEOF
16439 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16444 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16445 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
16447 cat >>confdefs.h
<<_ACEOF
16448 #define HAVE_STRUCT_STAT_ST_RDEV 1
16455 # Check for library functions.
16456 if test "x${with_newlib}" = "xyes"; then
16457 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
16458 # may not work correctly, because the compiler may not be able to
16459 # link executables.
16461 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
16464 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
16467 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
16470 $as_echo "#define HAVE_STRCASESTR 1" >>confdefs.h
16473 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
16476 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
16479 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
16482 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
16485 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
16488 # At some point, we should differentiate between architectures
16489 # like x86, which have long double versions, and alpha/powerpc/etc.,
16490 # which don't. For the time being, punt.
16491 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
16493 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
16500 for ac_func
in $ac_func_list
16502 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16503 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
16504 eval as_val
=\$
$as_ac_var
16505 if test "x$as_val" = x
""yes; then :
16506 cat >>confdefs.h
<<_ACEOF
16507 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16626 # Check strerror_r, cannot be above as versions with two and three arguments exist
16628 ac_save_CFLAGS
="$CFLAGS"
16629 CFLAGS
="-Wimplicit-function-declaration -Werror"
16630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16631 /* end confdefs.h. */
16632 #define _GNU_SOURCE 1
16633 #include <string.h>
16634 #include <locale.h>
16638 char s[128]; strerror_r(5, s, 128);
16643 if ac_fn_c_try_compile
"$LINENO"; then :
16645 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16648 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16649 CFLAGS
="$ac_save_CFLAGS"
16651 ac_save_CFLAGS
="$CFLAGS"
16652 CFLAGS
="-Wimplicit-function-declaration -Werror"
16653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16654 /* end confdefs.h. */
16655 #define _GNU_SOURCE 1
16656 #include <string.h>
16657 #include <locale.h>
16661 char s[128]; strerror_r(5, s);
16666 if ac_fn_c_try_compile
"$LINENO"; then :
16668 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
16671 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16672 CFLAGS
="$ac_save_CFLAGS"
16675 # Check for C99 (and other IEEE) math functions
16676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16677 $as_echo_n "checking for sin in -lm... " >&6; }
16678 if test "${ac_cv_lib_m_sin+set}" = set; then :
16679 $as_echo_n "(cached) " >&6
16681 ac_check_lib_save_LIBS
=$LIBS
16683 if test x
$gcc_no_link = xyes
; then
16684 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16687 /* end confdefs.h. */
16689 /* Override any GCC internal prototype to avoid an error.
16690 Use char because int might match the return type of a GCC
16691 builtin and then its argument prototype would still apply. */
16704 if ac_fn_c_try_link
"$LINENO"; then :
16705 ac_cv_lib_m_sin
=yes
16709 rm -f core conftest.err conftest.
$ac_objext \
16710 conftest
$ac_exeext conftest.
$ac_ext
16711 LIBS
=$ac_check_lib_save_LIBS
16713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16714 $as_echo "$ac_cv_lib_m_sin" >&6; }
16715 if test "x$ac_cv_lib_m_sin" = x
""yes; then :
16716 cat >>confdefs.h
<<_ACEOF
16717 #define HAVE_LIBM 1
16730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
16731 $as_echo_n "checking for acosf... " >&6; }
16732 if test "${gcc_cv_math_func_acosf+set}" = set; then :
16733 $as_echo_n "(cached) " >&6
16735 if test x
$gcc_no_link = xyes
; then
16736 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16739 /* end confdefs.h. */
16741 #ifdef HAVE_COMPLEX_H
16742 #include <complex.h>
16748 int (*ptr)() = (int (*)())acosf;
16757 if ac_fn_c_try_link
"$LINENO"; then :
16758 gcc_cv_math_func_acosf
=yes
16760 gcc_cv_math_func_acosf
=no
16762 rm -f core conftest.err conftest.
$ac_objext \
16763 conftest
$ac_exeext conftest.
$ac_ext
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
16766 $as_echo "$gcc_cv_math_func_acosf" >&6; }
16767 if test $gcc_cv_math_func_acosf = yes; then
16769 cat >>confdefs.h
<<_ACEOF
16770 #define HAVE_ACOSF 1
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
16779 $as_echo_n "checking for acos... " >&6; }
16780 if test "${gcc_cv_math_func_acos+set}" = set; then :
16781 $as_echo_n "(cached) " >&6
16783 if test x
$gcc_no_link = xyes
; then
16784 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16787 /* end confdefs.h. */
16789 #ifdef HAVE_COMPLEX_H
16790 #include <complex.h>
16796 int (*ptr)() = (int (*)())acos;
16805 if ac_fn_c_try_link
"$LINENO"; then :
16806 gcc_cv_math_func_acos
=yes
16808 gcc_cv_math_func_acos
=no
16810 rm -f core conftest.err conftest.
$ac_objext \
16811 conftest
$ac_exeext conftest.
$ac_ext
16813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
16814 $as_echo "$gcc_cv_math_func_acos" >&6; }
16815 if test $gcc_cv_math_func_acos = yes; then
16817 cat >>confdefs.h
<<_ACEOF
16818 #define HAVE_ACOS 1
16826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
16827 $as_echo_n "checking for acosl... " >&6; }
16828 if test "${gcc_cv_math_func_acosl+set}" = set; then :
16829 $as_echo_n "(cached) " >&6
16831 if test x
$gcc_no_link = xyes
; then
16832 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16835 /* end confdefs.h. */
16837 #ifdef HAVE_COMPLEX_H
16838 #include <complex.h>
16844 int (*ptr)() = (int (*)())acosl;
16853 if ac_fn_c_try_link
"$LINENO"; then :
16854 gcc_cv_math_func_acosl
=yes
16856 gcc_cv_math_func_acosl
=no
16858 rm -f core conftest.err conftest.
$ac_objext \
16859 conftest
$ac_exeext conftest.
$ac_ext
16861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
16862 $as_echo "$gcc_cv_math_func_acosl" >&6; }
16863 if test $gcc_cv_math_func_acosl = yes; then
16865 cat >>confdefs.h
<<_ACEOF
16866 #define HAVE_ACOSL 1
16874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
16875 $as_echo_n "checking for acoshf... " >&6; }
16876 if test "${gcc_cv_math_func_acoshf+set}" = set; then :
16877 $as_echo_n "(cached) " >&6
16879 if test x
$gcc_no_link = xyes
; then
16880 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16883 /* end confdefs.h. */
16885 #ifdef HAVE_COMPLEX_H
16886 #include <complex.h>
16892 int (*ptr)() = (int (*)())acoshf;
16901 if ac_fn_c_try_link
"$LINENO"; then :
16902 gcc_cv_math_func_acoshf
=yes
16904 gcc_cv_math_func_acoshf
=no
16906 rm -f core conftest.err conftest.
$ac_objext \
16907 conftest
$ac_exeext conftest.
$ac_ext
16909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
16910 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
16911 if test $gcc_cv_math_func_acoshf = yes; then
16913 cat >>confdefs.h
<<_ACEOF
16914 #define HAVE_ACOSHF 1
16922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
16923 $as_echo_n "checking for acosh... " >&6; }
16924 if test "${gcc_cv_math_func_acosh+set}" = set; then :
16925 $as_echo_n "(cached) " >&6
16927 if test x
$gcc_no_link = xyes
; then
16928 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16931 /* end confdefs.h. */
16933 #ifdef HAVE_COMPLEX_H
16934 #include <complex.h>
16940 int (*ptr)() = (int (*)())acosh;
16949 if ac_fn_c_try_link
"$LINENO"; then :
16950 gcc_cv_math_func_acosh
=yes
16952 gcc_cv_math_func_acosh
=no
16954 rm -f core conftest.err conftest.
$ac_objext \
16955 conftest
$ac_exeext conftest.
$ac_ext
16957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
16958 $as_echo "$gcc_cv_math_func_acosh" >&6; }
16959 if test $gcc_cv_math_func_acosh = yes; then
16961 cat >>confdefs.h
<<_ACEOF
16962 #define HAVE_ACOSH 1
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
16971 $as_echo_n "checking for acoshl... " >&6; }
16972 if test "${gcc_cv_math_func_acoshl+set}" = set; then :
16973 $as_echo_n "(cached) " >&6
16975 if test x
$gcc_no_link = xyes
; then
16976 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16979 /* end confdefs.h. */
16981 #ifdef HAVE_COMPLEX_H
16982 #include <complex.h>
16988 int (*ptr)() = (int (*)())acoshl;
16997 if ac_fn_c_try_link
"$LINENO"; then :
16998 gcc_cv_math_func_acoshl
=yes
17000 gcc_cv_math_func_acoshl
=no
17002 rm -f core conftest.err conftest.
$ac_objext \
17003 conftest
$ac_exeext conftest.
$ac_ext
17005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17006 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17007 if test $gcc_cv_math_func_acoshl = yes; then
17009 cat >>confdefs.h
<<_ACEOF
17010 #define HAVE_ACOSHL 1
17018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17019 $as_echo_n "checking for asinf... " >&6; }
17020 if test "${gcc_cv_math_func_asinf+set}" = set; then :
17021 $as_echo_n "(cached) " >&6
17023 if test x
$gcc_no_link = xyes
; then
17024 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17027 /* end confdefs.h. */
17029 #ifdef HAVE_COMPLEX_H
17030 #include <complex.h>
17036 int (*ptr)() = (int (*)())asinf;
17045 if ac_fn_c_try_link
"$LINENO"; then :
17046 gcc_cv_math_func_asinf
=yes
17048 gcc_cv_math_func_asinf
=no
17050 rm -f core conftest.err conftest.
$ac_objext \
17051 conftest
$ac_exeext conftest.
$ac_ext
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17054 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17055 if test $gcc_cv_math_func_asinf = yes; then
17057 cat >>confdefs.h
<<_ACEOF
17058 #define HAVE_ASINF 1
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17067 $as_echo_n "checking for asin... " >&6; }
17068 if test "${gcc_cv_math_func_asin+set}" = set; then :
17069 $as_echo_n "(cached) " >&6
17071 if test x
$gcc_no_link = xyes
; then
17072 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17075 /* end confdefs.h. */
17077 #ifdef HAVE_COMPLEX_H
17078 #include <complex.h>
17084 int (*ptr)() = (int (*)())asin;
17093 if ac_fn_c_try_link
"$LINENO"; then :
17094 gcc_cv_math_func_asin
=yes
17096 gcc_cv_math_func_asin
=no
17098 rm -f core conftest.err conftest.
$ac_objext \
17099 conftest
$ac_exeext conftest.
$ac_ext
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17102 $as_echo "$gcc_cv_math_func_asin" >&6; }
17103 if test $gcc_cv_math_func_asin = yes; then
17105 cat >>confdefs.h
<<_ACEOF
17106 #define HAVE_ASIN 1
17114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17115 $as_echo_n "checking for asinl... " >&6; }
17116 if test "${gcc_cv_math_func_asinl+set}" = set; then :
17117 $as_echo_n "(cached) " >&6
17119 if test x
$gcc_no_link = xyes
; then
17120 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17123 /* end confdefs.h. */
17125 #ifdef HAVE_COMPLEX_H
17126 #include <complex.h>
17132 int (*ptr)() = (int (*)())asinl;
17141 if ac_fn_c_try_link
"$LINENO"; then :
17142 gcc_cv_math_func_asinl
=yes
17144 gcc_cv_math_func_asinl
=no
17146 rm -f core conftest.err conftest.
$ac_objext \
17147 conftest
$ac_exeext conftest.
$ac_ext
17149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17150 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17151 if test $gcc_cv_math_func_asinl = yes; then
17153 cat >>confdefs.h
<<_ACEOF
17154 #define HAVE_ASINL 1
17162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17163 $as_echo_n "checking for asinhf... " >&6; }
17164 if test "${gcc_cv_math_func_asinhf+set}" = set; then :
17165 $as_echo_n "(cached) " >&6
17167 if test x
$gcc_no_link = xyes
; then
17168 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17171 /* end confdefs.h. */
17173 #ifdef HAVE_COMPLEX_H
17174 #include <complex.h>
17180 int (*ptr)() = (int (*)())asinhf;
17189 if ac_fn_c_try_link
"$LINENO"; then :
17190 gcc_cv_math_func_asinhf
=yes
17192 gcc_cv_math_func_asinhf
=no
17194 rm -f core conftest.err conftest.
$ac_objext \
17195 conftest
$ac_exeext conftest.
$ac_ext
17197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17198 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17199 if test $gcc_cv_math_func_asinhf = yes; then
17201 cat >>confdefs.h
<<_ACEOF
17202 #define HAVE_ASINHF 1
17210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17211 $as_echo_n "checking for asinh... " >&6; }
17212 if test "${gcc_cv_math_func_asinh+set}" = set; then :
17213 $as_echo_n "(cached) " >&6
17215 if test x
$gcc_no_link = xyes
; then
17216 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17219 /* end confdefs.h. */
17221 #ifdef HAVE_COMPLEX_H
17222 #include <complex.h>
17228 int (*ptr)() = (int (*)())asinh;
17237 if ac_fn_c_try_link
"$LINENO"; then :
17238 gcc_cv_math_func_asinh
=yes
17240 gcc_cv_math_func_asinh
=no
17242 rm -f core conftest.err conftest.
$ac_objext \
17243 conftest
$ac_exeext conftest.
$ac_ext
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17246 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17247 if test $gcc_cv_math_func_asinh = yes; then
17249 cat >>confdefs.h
<<_ACEOF
17250 #define HAVE_ASINH 1
17258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17259 $as_echo_n "checking for asinhl... " >&6; }
17260 if test "${gcc_cv_math_func_asinhl+set}" = set; then :
17261 $as_echo_n "(cached) " >&6
17263 if test x
$gcc_no_link = xyes
; then
17264 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17267 /* end confdefs.h. */
17269 #ifdef HAVE_COMPLEX_H
17270 #include <complex.h>
17276 int (*ptr)() = (int (*)())asinhl;
17285 if ac_fn_c_try_link
"$LINENO"; then :
17286 gcc_cv_math_func_asinhl
=yes
17288 gcc_cv_math_func_asinhl
=no
17290 rm -f core conftest.err conftest.
$ac_objext \
17291 conftest
$ac_exeext conftest.
$ac_ext
17293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17294 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17295 if test $gcc_cv_math_func_asinhl = yes; then
17297 cat >>confdefs.h
<<_ACEOF
17298 #define HAVE_ASINHL 1
17306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17307 $as_echo_n "checking for atan2f... " >&6; }
17308 if test "${gcc_cv_math_func_atan2f+set}" = set; then :
17309 $as_echo_n "(cached) " >&6
17311 if test x
$gcc_no_link = xyes
; then
17312 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17315 /* end confdefs.h. */
17317 #ifdef HAVE_COMPLEX_H
17318 #include <complex.h>
17324 int (*ptr)() = (int (*)())atan2f;
17333 if ac_fn_c_try_link
"$LINENO"; then :
17334 gcc_cv_math_func_atan2f
=yes
17336 gcc_cv_math_func_atan2f
=no
17338 rm -f core conftest.err conftest.
$ac_objext \
17339 conftest
$ac_exeext conftest.
$ac_ext
17341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17342 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17343 if test $gcc_cv_math_func_atan2f = yes; then
17345 cat >>confdefs.h
<<_ACEOF
17346 #define HAVE_ATAN2F 1
17354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17355 $as_echo_n "checking for atan2... " >&6; }
17356 if test "${gcc_cv_math_func_atan2+set}" = set; then :
17357 $as_echo_n "(cached) " >&6
17359 if test x
$gcc_no_link = xyes
; then
17360 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17363 /* end confdefs.h. */
17365 #ifdef HAVE_COMPLEX_H
17366 #include <complex.h>
17372 int (*ptr)() = (int (*)())atan2;
17381 if ac_fn_c_try_link
"$LINENO"; then :
17382 gcc_cv_math_func_atan2
=yes
17384 gcc_cv_math_func_atan2
=no
17386 rm -f core conftest.err conftest.
$ac_objext \
17387 conftest
$ac_exeext conftest.
$ac_ext
17389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17390 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17391 if test $gcc_cv_math_func_atan2 = yes; then
17393 cat >>confdefs.h
<<_ACEOF
17394 #define HAVE_ATAN2 1
17402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17403 $as_echo_n "checking for atan2l... " >&6; }
17404 if test "${gcc_cv_math_func_atan2l+set}" = set; then :
17405 $as_echo_n "(cached) " >&6
17407 if test x
$gcc_no_link = xyes
; then
17408 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17411 /* end confdefs.h. */
17413 #ifdef HAVE_COMPLEX_H
17414 #include <complex.h>
17420 int (*ptr)() = (int (*)())atan2l;
17429 if ac_fn_c_try_link
"$LINENO"; then :
17430 gcc_cv_math_func_atan2l
=yes
17432 gcc_cv_math_func_atan2l
=no
17434 rm -f core conftest.err conftest.
$ac_objext \
17435 conftest
$ac_exeext conftest.
$ac_ext
17437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17438 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17439 if test $gcc_cv_math_func_atan2l = yes; then
17441 cat >>confdefs.h
<<_ACEOF
17442 #define HAVE_ATAN2L 1
17450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17451 $as_echo_n "checking for atanf... " >&6; }
17452 if test "${gcc_cv_math_func_atanf+set}" = set; then :
17453 $as_echo_n "(cached) " >&6
17455 if test x
$gcc_no_link = xyes
; then
17456 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17459 /* end confdefs.h. */
17461 #ifdef HAVE_COMPLEX_H
17462 #include <complex.h>
17468 int (*ptr)() = (int (*)())atanf;
17477 if ac_fn_c_try_link
"$LINENO"; then :
17478 gcc_cv_math_func_atanf
=yes
17480 gcc_cv_math_func_atanf
=no
17482 rm -f core conftest.err conftest.
$ac_objext \
17483 conftest
$ac_exeext conftest.
$ac_ext
17485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17486 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17487 if test $gcc_cv_math_func_atanf = yes; then
17489 cat >>confdefs.h
<<_ACEOF
17490 #define HAVE_ATANF 1
17498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17499 $as_echo_n "checking for atan... " >&6; }
17500 if test "${gcc_cv_math_func_atan+set}" = set; then :
17501 $as_echo_n "(cached) " >&6
17503 if test x
$gcc_no_link = xyes
; then
17504 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17507 /* end confdefs.h. */
17509 #ifdef HAVE_COMPLEX_H
17510 #include <complex.h>
17516 int (*ptr)() = (int (*)())atan;
17525 if ac_fn_c_try_link
"$LINENO"; then :
17526 gcc_cv_math_func_atan
=yes
17528 gcc_cv_math_func_atan
=no
17530 rm -f core conftest.err conftest.
$ac_objext \
17531 conftest
$ac_exeext conftest.
$ac_ext
17533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17534 $as_echo "$gcc_cv_math_func_atan" >&6; }
17535 if test $gcc_cv_math_func_atan = yes; then
17537 cat >>confdefs.h
<<_ACEOF
17538 #define HAVE_ATAN 1
17546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17547 $as_echo_n "checking for atanl... " >&6; }
17548 if test "${gcc_cv_math_func_atanl+set}" = set; then :
17549 $as_echo_n "(cached) " >&6
17551 if test x
$gcc_no_link = xyes
; then
17552 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17555 /* end confdefs.h. */
17557 #ifdef HAVE_COMPLEX_H
17558 #include <complex.h>
17564 int (*ptr)() = (int (*)())atanl;
17573 if ac_fn_c_try_link
"$LINENO"; then :
17574 gcc_cv_math_func_atanl
=yes
17576 gcc_cv_math_func_atanl
=no
17578 rm -f core conftest.err conftest.
$ac_objext \
17579 conftest
$ac_exeext conftest.
$ac_ext
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17582 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17583 if test $gcc_cv_math_func_atanl = yes; then
17585 cat >>confdefs.h
<<_ACEOF
17586 #define HAVE_ATANL 1
17594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17595 $as_echo_n "checking for atanhf... " >&6; }
17596 if test "${gcc_cv_math_func_atanhf+set}" = set; then :
17597 $as_echo_n "(cached) " >&6
17599 if test x
$gcc_no_link = xyes
; then
17600 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17603 /* end confdefs.h. */
17605 #ifdef HAVE_COMPLEX_H
17606 #include <complex.h>
17612 int (*ptr)() = (int (*)())atanhf;
17621 if ac_fn_c_try_link
"$LINENO"; then :
17622 gcc_cv_math_func_atanhf
=yes
17624 gcc_cv_math_func_atanhf
=no
17626 rm -f core conftest.err conftest.
$ac_objext \
17627 conftest
$ac_exeext conftest.
$ac_ext
17629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17630 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
17631 if test $gcc_cv_math_func_atanhf = yes; then
17633 cat >>confdefs.h
<<_ACEOF
17634 #define HAVE_ATANHF 1
17642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
17643 $as_echo_n "checking for atanh... " >&6; }
17644 if test "${gcc_cv_math_func_atanh+set}" = set; then :
17645 $as_echo_n "(cached) " >&6
17647 if test x
$gcc_no_link = xyes
; then
17648 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17651 /* end confdefs.h. */
17653 #ifdef HAVE_COMPLEX_H
17654 #include <complex.h>
17660 int (*ptr)() = (int (*)())atanh;
17669 if ac_fn_c_try_link
"$LINENO"; then :
17670 gcc_cv_math_func_atanh
=yes
17672 gcc_cv_math_func_atanh
=no
17674 rm -f core conftest.err conftest.
$ac_objext \
17675 conftest
$ac_exeext conftest.
$ac_ext
17677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
17678 $as_echo "$gcc_cv_math_func_atanh" >&6; }
17679 if test $gcc_cv_math_func_atanh = yes; then
17681 cat >>confdefs.h
<<_ACEOF
17682 #define HAVE_ATANH 1
17690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
17691 $as_echo_n "checking for atanhl... " >&6; }
17692 if test "${gcc_cv_math_func_atanhl+set}" = set; then :
17693 $as_echo_n "(cached) " >&6
17695 if test x
$gcc_no_link = xyes
; then
17696 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17699 /* end confdefs.h. */
17701 #ifdef HAVE_COMPLEX_H
17702 #include <complex.h>
17708 int (*ptr)() = (int (*)())atanhl;
17717 if ac_fn_c_try_link
"$LINENO"; then :
17718 gcc_cv_math_func_atanhl
=yes
17720 gcc_cv_math_func_atanhl
=no
17722 rm -f core conftest.err conftest.
$ac_objext \
17723 conftest
$ac_exeext conftest.
$ac_ext
17725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
17726 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
17727 if test $gcc_cv_math_func_atanhl = yes; then
17729 cat >>confdefs.h
<<_ACEOF
17730 #define HAVE_ATANHL 1
17738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
17739 $as_echo_n "checking for cargf... " >&6; }
17740 if test "${gcc_cv_math_func_cargf+set}" = set; then :
17741 $as_echo_n "(cached) " >&6
17743 if test x
$gcc_no_link = xyes
; then
17744 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17747 /* end confdefs.h. */
17749 #ifdef HAVE_COMPLEX_H
17750 #include <complex.h>
17756 int (*ptr)() = (int (*)())cargf;
17765 if ac_fn_c_try_link
"$LINENO"; then :
17766 gcc_cv_math_func_cargf
=yes
17768 gcc_cv_math_func_cargf
=no
17770 rm -f core conftest.err conftest.
$ac_objext \
17771 conftest
$ac_exeext conftest.
$ac_ext
17773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
17774 $as_echo "$gcc_cv_math_func_cargf" >&6; }
17775 if test $gcc_cv_math_func_cargf = yes; then
17777 cat >>confdefs.h
<<_ACEOF
17778 #define HAVE_CARGF 1
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
17787 $as_echo_n "checking for carg... " >&6; }
17788 if test "${gcc_cv_math_func_carg+set}" = set; then :
17789 $as_echo_n "(cached) " >&6
17791 if test x
$gcc_no_link = xyes
; then
17792 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17795 /* end confdefs.h. */
17797 #ifdef HAVE_COMPLEX_H
17798 #include <complex.h>
17804 int (*ptr)() = (int (*)())carg;
17813 if ac_fn_c_try_link
"$LINENO"; then :
17814 gcc_cv_math_func_carg
=yes
17816 gcc_cv_math_func_carg
=no
17818 rm -f core conftest.err conftest.
$ac_objext \
17819 conftest
$ac_exeext conftest.
$ac_ext
17821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
17822 $as_echo "$gcc_cv_math_func_carg" >&6; }
17823 if test $gcc_cv_math_func_carg = yes; then
17825 cat >>confdefs.h
<<_ACEOF
17826 #define HAVE_CARG 1
17834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
17835 $as_echo_n "checking for cargl... " >&6; }
17836 if test "${gcc_cv_math_func_cargl+set}" = set; then :
17837 $as_echo_n "(cached) " >&6
17839 if test x
$gcc_no_link = xyes
; then
17840 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17843 /* end confdefs.h. */
17845 #ifdef HAVE_COMPLEX_H
17846 #include <complex.h>
17852 int (*ptr)() = (int (*)())cargl;
17861 if ac_fn_c_try_link
"$LINENO"; then :
17862 gcc_cv_math_func_cargl
=yes
17864 gcc_cv_math_func_cargl
=no
17866 rm -f core conftest.err conftest.
$ac_objext \
17867 conftest
$ac_exeext conftest.
$ac_ext
17869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
17870 $as_echo "$gcc_cv_math_func_cargl" >&6; }
17871 if test $gcc_cv_math_func_cargl = yes; then
17873 cat >>confdefs.h
<<_ACEOF
17874 #define HAVE_CARGL 1
17882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
17883 $as_echo_n "checking for ceilf... " >&6; }
17884 if test "${gcc_cv_math_func_ceilf+set}" = set; then :
17885 $as_echo_n "(cached) " >&6
17887 if test x
$gcc_no_link = xyes
; then
17888 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17891 /* end confdefs.h. */
17893 #ifdef HAVE_COMPLEX_H
17894 #include <complex.h>
17900 int (*ptr)() = (int (*)())ceilf;
17909 if ac_fn_c_try_link
"$LINENO"; then :
17910 gcc_cv_math_func_ceilf
=yes
17912 gcc_cv_math_func_ceilf
=no
17914 rm -f core conftest.err conftest.
$ac_objext \
17915 conftest
$ac_exeext conftest.
$ac_ext
17917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
17918 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
17919 if test $gcc_cv_math_func_ceilf = yes; then
17921 cat >>confdefs.h
<<_ACEOF
17922 #define HAVE_CEILF 1
17930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
17931 $as_echo_n "checking for ceil... " >&6; }
17932 if test "${gcc_cv_math_func_ceil+set}" = set; then :
17933 $as_echo_n "(cached) " >&6
17935 if test x
$gcc_no_link = xyes
; then
17936 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17939 /* end confdefs.h. */
17941 #ifdef HAVE_COMPLEX_H
17942 #include <complex.h>
17948 int (*ptr)() = (int (*)())ceil;
17957 if ac_fn_c_try_link
"$LINENO"; then :
17958 gcc_cv_math_func_ceil
=yes
17960 gcc_cv_math_func_ceil
=no
17962 rm -f core conftest.err conftest.
$ac_objext \
17963 conftest
$ac_exeext conftest.
$ac_ext
17965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
17966 $as_echo "$gcc_cv_math_func_ceil" >&6; }
17967 if test $gcc_cv_math_func_ceil = yes; then
17969 cat >>confdefs.h
<<_ACEOF
17970 #define HAVE_CEIL 1
17978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
17979 $as_echo_n "checking for ceill... " >&6; }
17980 if test "${gcc_cv_math_func_ceill+set}" = set; then :
17981 $as_echo_n "(cached) " >&6
17983 if test x
$gcc_no_link = xyes
; then
17984 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17987 /* end confdefs.h. */
17989 #ifdef HAVE_COMPLEX_H
17990 #include <complex.h>
17996 int (*ptr)() = (int (*)())ceill;
18005 if ac_fn_c_try_link
"$LINENO"; then :
18006 gcc_cv_math_func_ceill
=yes
18008 gcc_cv_math_func_ceill
=no
18010 rm -f core conftest.err conftest.
$ac_objext \
18011 conftest
$ac_exeext conftest.
$ac_ext
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18014 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18015 if test $gcc_cv_math_func_ceill = yes; then
18017 cat >>confdefs.h
<<_ACEOF
18018 #define HAVE_CEILL 1
18026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18027 $as_echo_n "checking for copysignf... " >&6; }
18028 if test "${gcc_cv_math_func_copysignf+set}" = set; then :
18029 $as_echo_n "(cached) " >&6
18031 if test x
$gcc_no_link = xyes
; then
18032 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18035 /* end confdefs.h. */
18037 #ifdef HAVE_COMPLEX_H
18038 #include <complex.h>
18044 int (*ptr)() = (int (*)())copysignf;
18053 if ac_fn_c_try_link
"$LINENO"; then :
18054 gcc_cv_math_func_copysignf
=yes
18056 gcc_cv_math_func_copysignf
=no
18058 rm -f core conftest.err conftest.
$ac_objext \
18059 conftest
$ac_exeext conftest.
$ac_ext
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18062 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18063 if test $gcc_cv_math_func_copysignf = yes; then
18065 cat >>confdefs.h
<<_ACEOF
18066 #define HAVE_COPYSIGNF 1
18074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18075 $as_echo_n "checking for copysign... " >&6; }
18076 if test "${gcc_cv_math_func_copysign+set}" = set; then :
18077 $as_echo_n "(cached) " >&6
18079 if test x
$gcc_no_link = xyes
; then
18080 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18083 /* end confdefs.h. */
18085 #ifdef HAVE_COMPLEX_H
18086 #include <complex.h>
18092 int (*ptr)() = (int (*)())copysign;
18101 if ac_fn_c_try_link
"$LINENO"; then :
18102 gcc_cv_math_func_copysign
=yes
18104 gcc_cv_math_func_copysign
=no
18106 rm -f core conftest.err conftest.
$ac_objext \
18107 conftest
$ac_exeext conftest.
$ac_ext
18109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18110 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18111 if test $gcc_cv_math_func_copysign = yes; then
18113 cat >>confdefs.h
<<_ACEOF
18114 #define HAVE_COPYSIGN 1
18122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18123 $as_echo_n "checking for copysignl... " >&6; }
18124 if test "${gcc_cv_math_func_copysignl+set}" = set; then :
18125 $as_echo_n "(cached) " >&6
18127 if test x
$gcc_no_link = xyes
; then
18128 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18131 /* end confdefs.h. */
18133 #ifdef HAVE_COMPLEX_H
18134 #include <complex.h>
18140 int (*ptr)() = (int (*)())copysignl;
18149 if ac_fn_c_try_link
"$LINENO"; then :
18150 gcc_cv_math_func_copysignl
=yes
18152 gcc_cv_math_func_copysignl
=no
18154 rm -f core conftest.err conftest.
$ac_objext \
18155 conftest
$ac_exeext conftest.
$ac_ext
18157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18158 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18159 if test $gcc_cv_math_func_copysignl = yes; then
18161 cat >>confdefs.h
<<_ACEOF
18162 #define HAVE_COPYSIGNL 1
18170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18171 $as_echo_n "checking for cosf... " >&6; }
18172 if test "${gcc_cv_math_func_cosf+set}" = set; then :
18173 $as_echo_n "(cached) " >&6
18175 if test x
$gcc_no_link = xyes
; then
18176 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18179 /* end confdefs.h. */
18181 #ifdef HAVE_COMPLEX_H
18182 #include <complex.h>
18188 int (*ptr)() = (int (*)())cosf;
18197 if ac_fn_c_try_link
"$LINENO"; then :
18198 gcc_cv_math_func_cosf
=yes
18200 gcc_cv_math_func_cosf
=no
18202 rm -f core conftest.err conftest.
$ac_objext \
18203 conftest
$ac_exeext conftest.
$ac_ext
18205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18206 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18207 if test $gcc_cv_math_func_cosf = yes; then
18209 cat >>confdefs.h
<<_ACEOF
18210 #define HAVE_COSF 1
18218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18219 $as_echo_n "checking for cos... " >&6; }
18220 if test "${gcc_cv_math_func_cos+set}" = set; then :
18221 $as_echo_n "(cached) " >&6
18223 if test x
$gcc_no_link = xyes
; then
18224 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18227 /* end confdefs.h. */
18229 #ifdef HAVE_COMPLEX_H
18230 #include <complex.h>
18236 int (*ptr)() = (int (*)())cos;
18245 if ac_fn_c_try_link
"$LINENO"; then :
18246 gcc_cv_math_func_cos
=yes
18248 gcc_cv_math_func_cos
=no
18250 rm -f core conftest.err conftest.
$ac_objext \
18251 conftest
$ac_exeext conftest.
$ac_ext
18253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18254 $as_echo "$gcc_cv_math_func_cos" >&6; }
18255 if test $gcc_cv_math_func_cos = yes; then
18257 cat >>confdefs.h
<<_ACEOF
18266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18267 $as_echo_n "checking for cosl... " >&6; }
18268 if test "${gcc_cv_math_func_cosl+set}" = set; then :
18269 $as_echo_n "(cached) " >&6
18271 if test x
$gcc_no_link = xyes
; then
18272 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18275 /* end confdefs.h. */
18277 #ifdef HAVE_COMPLEX_H
18278 #include <complex.h>
18284 int (*ptr)() = (int (*)())cosl;
18293 if ac_fn_c_try_link
"$LINENO"; then :
18294 gcc_cv_math_func_cosl
=yes
18296 gcc_cv_math_func_cosl
=no
18298 rm -f core conftest.err conftest.
$ac_objext \
18299 conftest
$ac_exeext conftest.
$ac_ext
18301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18302 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18303 if test $gcc_cv_math_func_cosl = yes; then
18305 cat >>confdefs.h
<<_ACEOF
18306 #define HAVE_COSL 1
18314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18315 $as_echo_n "checking for ccosf... " >&6; }
18316 if test "${gcc_cv_math_func_ccosf+set}" = set; then :
18317 $as_echo_n "(cached) " >&6
18319 if test x
$gcc_no_link = xyes
; then
18320 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18323 /* end confdefs.h. */
18325 #ifdef HAVE_COMPLEX_H
18326 #include <complex.h>
18332 int (*ptr)() = (int (*)())ccosf;
18341 if ac_fn_c_try_link
"$LINENO"; then :
18342 gcc_cv_math_func_ccosf
=yes
18344 gcc_cv_math_func_ccosf
=no
18346 rm -f core conftest.err conftest.
$ac_objext \
18347 conftest
$ac_exeext conftest.
$ac_ext
18349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18350 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18351 if test $gcc_cv_math_func_ccosf = yes; then
18353 cat >>confdefs.h
<<_ACEOF
18354 #define HAVE_CCOSF 1
18362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18363 $as_echo_n "checking for ccos... " >&6; }
18364 if test "${gcc_cv_math_func_ccos+set}" = set; then :
18365 $as_echo_n "(cached) " >&6
18367 if test x
$gcc_no_link = xyes
; then
18368 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18371 /* end confdefs.h. */
18373 #ifdef HAVE_COMPLEX_H
18374 #include <complex.h>
18380 int (*ptr)() = (int (*)())ccos;
18389 if ac_fn_c_try_link
"$LINENO"; then :
18390 gcc_cv_math_func_ccos
=yes
18392 gcc_cv_math_func_ccos
=no
18394 rm -f core conftest.err conftest.
$ac_objext \
18395 conftest
$ac_exeext conftest.
$ac_ext
18397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18398 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18399 if test $gcc_cv_math_func_ccos = yes; then
18401 cat >>confdefs.h
<<_ACEOF
18402 #define HAVE_CCOS 1
18410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18411 $as_echo_n "checking for ccosl... " >&6; }
18412 if test "${gcc_cv_math_func_ccosl+set}" = set; then :
18413 $as_echo_n "(cached) " >&6
18415 if test x
$gcc_no_link = xyes
; then
18416 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18419 /* end confdefs.h. */
18421 #ifdef HAVE_COMPLEX_H
18422 #include <complex.h>
18428 int (*ptr)() = (int (*)())ccosl;
18437 if ac_fn_c_try_link
"$LINENO"; then :
18438 gcc_cv_math_func_ccosl
=yes
18440 gcc_cv_math_func_ccosl
=no
18442 rm -f core conftest.err conftest.
$ac_objext \
18443 conftest
$ac_exeext conftest.
$ac_ext
18445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18446 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18447 if test $gcc_cv_math_func_ccosl = yes; then
18449 cat >>confdefs.h
<<_ACEOF
18450 #define HAVE_CCOSL 1
18458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18459 $as_echo_n "checking for coshf... " >&6; }
18460 if test "${gcc_cv_math_func_coshf+set}" = set; then :
18461 $as_echo_n "(cached) " >&6
18463 if test x
$gcc_no_link = xyes
; then
18464 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18467 /* end confdefs.h. */
18469 #ifdef HAVE_COMPLEX_H
18470 #include <complex.h>
18476 int (*ptr)() = (int (*)())coshf;
18485 if ac_fn_c_try_link
"$LINENO"; then :
18486 gcc_cv_math_func_coshf
=yes
18488 gcc_cv_math_func_coshf
=no
18490 rm -f core conftest.err conftest.
$ac_objext \
18491 conftest
$ac_exeext conftest.
$ac_ext
18493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18494 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18495 if test $gcc_cv_math_func_coshf = yes; then
18497 cat >>confdefs.h
<<_ACEOF
18498 #define HAVE_COSHF 1
18506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18507 $as_echo_n "checking for cosh... " >&6; }
18508 if test "${gcc_cv_math_func_cosh+set}" = set; then :
18509 $as_echo_n "(cached) " >&6
18511 if test x
$gcc_no_link = xyes
; then
18512 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18515 /* end confdefs.h. */
18517 #ifdef HAVE_COMPLEX_H
18518 #include <complex.h>
18524 int (*ptr)() = (int (*)())cosh;
18533 if ac_fn_c_try_link
"$LINENO"; then :
18534 gcc_cv_math_func_cosh
=yes
18536 gcc_cv_math_func_cosh
=no
18538 rm -f core conftest.err conftest.
$ac_objext \
18539 conftest
$ac_exeext conftest.
$ac_ext
18541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18542 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18543 if test $gcc_cv_math_func_cosh = yes; then
18545 cat >>confdefs.h
<<_ACEOF
18546 #define HAVE_COSH 1
18554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18555 $as_echo_n "checking for coshl... " >&6; }
18556 if test "${gcc_cv_math_func_coshl+set}" = set; then :
18557 $as_echo_n "(cached) " >&6
18559 if test x
$gcc_no_link = xyes
; then
18560 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18563 /* end confdefs.h. */
18565 #ifdef HAVE_COMPLEX_H
18566 #include <complex.h>
18572 int (*ptr)() = (int (*)())coshl;
18581 if ac_fn_c_try_link
"$LINENO"; then :
18582 gcc_cv_math_func_coshl
=yes
18584 gcc_cv_math_func_coshl
=no
18586 rm -f core conftest.err conftest.
$ac_objext \
18587 conftest
$ac_exeext conftest.
$ac_ext
18589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18590 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18591 if test $gcc_cv_math_func_coshl = yes; then
18593 cat >>confdefs.h
<<_ACEOF
18594 #define HAVE_COSHL 1
18602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18603 $as_echo_n "checking for ccoshf... " >&6; }
18604 if test "${gcc_cv_math_func_ccoshf+set}" = set; then :
18605 $as_echo_n "(cached) " >&6
18607 if test x
$gcc_no_link = xyes
; then
18608 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18611 /* end confdefs.h. */
18613 #ifdef HAVE_COMPLEX_H
18614 #include <complex.h>
18620 int (*ptr)() = (int (*)())ccoshf;
18629 if ac_fn_c_try_link
"$LINENO"; then :
18630 gcc_cv_math_func_ccoshf
=yes
18632 gcc_cv_math_func_ccoshf
=no
18634 rm -f core conftest.err conftest.
$ac_objext \
18635 conftest
$ac_exeext conftest.
$ac_ext
18637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18638 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
18639 if test $gcc_cv_math_func_ccoshf = yes; then
18641 cat >>confdefs.h
<<_ACEOF
18642 #define HAVE_CCOSHF 1
18650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
18651 $as_echo_n "checking for ccosh... " >&6; }
18652 if test "${gcc_cv_math_func_ccosh+set}" = set; then :
18653 $as_echo_n "(cached) " >&6
18655 if test x
$gcc_no_link = xyes
; then
18656 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18659 /* end confdefs.h. */
18661 #ifdef HAVE_COMPLEX_H
18662 #include <complex.h>
18668 int (*ptr)() = (int (*)())ccosh;
18677 if ac_fn_c_try_link
"$LINENO"; then :
18678 gcc_cv_math_func_ccosh
=yes
18680 gcc_cv_math_func_ccosh
=no
18682 rm -f core conftest.err conftest.
$ac_objext \
18683 conftest
$ac_exeext conftest.
$ac_ext
18685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
18686 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
18687 if test $gcc_cv_math_func_ccosh = yes; then
18689 cat >>confdefs.h
<<_ACEOF
18690 #define HAVE_CCOSH 1
18698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
18699 $as_echo_n "checking for ccoshl... " >&6; }
18700 if test "${gcc_cv_math_func_ccoshl+set}" = set; then :
18701 $as_echo_n "(cached) " >&6
18703 if test x
$gcc_no_link = xyes
; then
18704 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18707 /* end confdefs.h. */
18709 #ifdef HAVE_COMPLEX_H
18710 #include <complex.h>
18716 int (*ptr)() = (int (*)())ccoshl;
18725 if ac_fn_c_try_link
"$LINENO"; then :
18726 gcc_cv_math_func_ccoshl
=yes
18728 gcc_cv_math_func_ccoshl
=no
18730 rm -f core conftest.err conftest.
$ac_objext \
18731 conftest
$ac_exeext conftest.
$ac_ext
18733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
18734 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
18735 if test $gcc_cv_math_func_ccoshl = yes; then
18737 cat >>confdefs.h
<<_ACEOF
18738 #define HAVE_CCOSHL 1
18746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
18747 $as_echo_n "checking for expf... " >&6; }
18748 if test "${gcc_cv_math_func_expf+set}" = set; then :
18749 $as_echo_n "(cached) " >&6
18751 if test x
$gcc_no_link = xyes
; then
18752 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18755 /* end confdefs.h. */
18757 #ifdef HAVE_COMPLEX_H
18758 #include <complex.h>
18764 int (*ptr)() = (int (*)())expf;
18773 if ac_fn_c_try_link
"$LINENO"; then :
18774 gcc_cv_math_func_expf
=yes
18776 gcc_cv_math_func_expf
=no
18778 rm -f core conftest.err conftest.
$ac_objext \
18779 conftest
$ac_exeext conftest.
$ac_ext
18781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
18782 $as_echo "$gcc_cv_math_func_expf" >&6; }
18783 if test $gcc_cv_math_func_expf = yes; then
18785 cat >>confdefs.h
<<_ACEOF
18786 #define HAVE_EXPF 1
18794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
18795 $as_echo_n "checking for exp... " >&6; }
18796 if test "${gcc_cv_math_func_exp+set}" = set; then :
18797 $as_echo_n "(cached) " >&6
18799 if test x
$gcc_no_link = xyes
; then
18800 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18802 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18803 /* end confdefs.h. */
18805 #ifdef HAVE_COMPLEX_H
18806 #include <complex.h>
18812 int (*ptr)() = (int (*)())exp;
18821 if ac_fn_c_try_link
"$LINENO"; then :
18822 gcc_cv_math_func_exp
=yes
18824 gcc_cv_math_func_exp
=no
18826 rm -f core conftest.err conftest.
$ac_objext \
18827 conftest
$ac_exeext conftest.
$ac_ext
18829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
18830 $as_echo "$gcc_cv_math_func_exp" >&6; }
18831 if test $gcc_cv_math_func_exp = yes; then
18833 cat >>confdefs.h
<<_ACEOF
18842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
18843 $as_echo_n "checking for expl... " >&6; }
18844 if test "${gcc_cv_math_func_expl+set}" = set; then :
18845 $as_echo_n "(cached) " >&6
18847 if test x
$gcc_no_link = xyes
; then
18848 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18851 /* end confdefs.h. */
18853 #ifdef HAVE_COMPLEX_H
18854 #include <complex.h>
18860 int (*ptr)() = (int (*)())expl;
18869 if ac_fn_c_try_link
"$LINENO"; then :
18870 gcc_cv_math_func_expl
=yes
18872 gcc_cv_math_func_expl
=no
18874 rm -f core conftest.err conftest.
$ac_objext \
18875 conftest
$ac_exeext conftest.
$ac_ext
18877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
18878 $as_echo "$gcc_cv_math_func_expl" >&6; }
18879 if test $gcc_cv_math_func_expl = yes; then
18881 cat >>confdefs.h
<<_ACEOF
18882 #define HAVE_EXPL 1
18890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
18891 $as_echo_n "checking for cexpf... " >&6; }
18892 if test "${gcc_cv_math_func_cexpf+set}" = set; then :
18893 $as_echo_n "(cached) " >&6
18895 if test x
$gcc_no_link = xyes
; then
18896 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18899 /* end confdefs.h. */
18901 #ifdef HAVE_COMPLEX_H
18902 #include <complex.h>
18908 int (*ptr)() = (int (*)())cexpf;
18917 if ac_fn_c_try_link
"$LINENO"; then :
18918 gcc_cv_math_func_cexpf
=yes
18920 gcc_cv_math_func_cexpf
=no
18922 rm -f core conftest.err conftest.
$ac_objext \
18923 conftest
$ac_exeext conftest.
$ac_ext
18925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
18926 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
18927 if test $gcc_cv_math_func_cexpf = yes; then
18929 cat >>confdefs.h
<<_ACEOF
18930 #define HAVE_CEXPF 1
18938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
18939 $as_echo_n "checking for cexp... " >&6; }
18940 if test "${gcc_cv_math_func_cexp+set}" = set; then :
18941 $as_echo_n "(cached) " >&6
18943 if test x
$gcc_no_link = xyes
; then
18944 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18947 /* end confdefs.h. */
18949 #ifdef HAVE_COMPLEX_H
18950 #include <complex.h>
18956 int (*ptr)() = (int (*)())cexp;
18965 if ac_fn_c_try_link
"$LINENO"; then :
18966 gcc_cv_math_func_cexp
=yes
18968 gcc_cv_math_func_cexp
=no
18970 rm -f core conftest.err conftest.
$ac_objext \
18971 conftest
$ac_exeext conftest.
$ac_ext
18973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
18974 $as_echo "$gcc_cv_math_func_cexp" >&6; }
18975 if test $gcc_cv_math_func_cexp = yes; then
18977 cat >>confdefs.h
<<_ACEOF
18978 #define HAVE_CEXP 1
18986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
18987 $as_echo_n "checking for cexpl... " >&6; }
18988 if test "${gcc_cv_math_func_cexpl+set}" = set; then :
18989 $as_echo_n "(cached) " >&6
18991 if test x
$gcc_no_link = xyes
; then
18992 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18995 /* end confdefs.h. */
18997 #ifdef HAVE_COMPLEX_H
18998 #include <complex.h>
19004 int (*ptr)() = (int (*)())cexpl;
19013 if ac_fn_c_try_link
"$LINENO"; then :
19014 gcc_cv_math_func_cexpl
=yes
19016 gcc_cv_math_func_cexpl
=no
19018 rm -f core conftest.err conftest.
$ac_objext \
19019 conftest
$ac_exeext conftest.
$ac_ext
19021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19022 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19023 if test $gcc_cv_math_func_cexpl = yes; then
19025 cat >>confdefs.h
<<_ACEOF
19026 #define HAVE_CEXPL 1
19034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19035 $as_echo_n "checking for fabsf... " >&6; }
19036 if test "${gcc_cv_math_func_fabsf+set}" = set; then :
19037 $as_echo_n "(cached) " >&6
19039 if test x
$gcc_no_link = xyes
; then
19040 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19043 /* end confdefs.h. */
19045 #ifdef HAVE_COMPLEX_H
19046 #include <complex.h>
19052 int (*ptr)() = (int (*)())fabsf;
19061 if ac_fn_c_try_link
"$LINENO"; then :
19062 gcc_cv_math_func_fabsf
=yes
19064 gcc_cv_math_func_fabsf
=no
19066 rm -f core conftest.err conftest.
$ac_objext \
19067 conftest
$ac_exeext conftest.
$ac_ext
19069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19070 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19071 if test $gcc_cv_math_func_fabsf = yes; then
19073 cat >>confdefs.h
<<_ACEOF
19074 #define HAVE_FABSF 1
19082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19083 $as_echo_n "checking for fabs... " >&6; }
19084 if test "${gcc_cv_math_func_fabs+set}" = set; then :
19085 $as_echo_n "(cached) " >&6
19087 if test x
$gcc_no_link = xyes
; then
19088 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19091 /* end confdefs.h. */
19093 #ifdef HAVE_COMPLEX_H
19094 #include <complex.h>
19100 int (*ptr)() = (int (*)())fabs;
19109 if ac_fn_c_try_link
"$LINENO"; then :
19110 gcc_cv_math_func_fabs
=yes
19112 gcc_cv_math_func_fabs
=no
19114 rm -f core conftest.err conftest.
$ac_objext \
19115 conftest
$ac_exeext conftest.
$ac_ext
19117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19118 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19119 if test $gcc_cv_math_func_fabs = yes; then
19121 cat >>confdefs.h
<<_ACEOF
19122 #define HAVE_FABS 1
19130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19131 $as_echo_n "checking for fabsl... " >&6; }
19132 if test "${gcc_cv_math_func_fabsl+set}" = set; then :
19133 $as_echo_n "(cached) " >&6
19135 if test x
$gcc_no_link = xyes
; then
19136 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19139 /* end confdefs.h. */
19141 #ifdef HAVE_COMPLEX_H
19142 #include <complex.h>
19148 int (*ptr)() = (int (*)())fabsl;
19157 if ac_fn_c_try_link
"$LINENO"; then :
19158 gcc_cv_math_func_fabsl
=yes
19160 gcc_cv_math_func_fabsl
=no
19162 rm -f core conftest.err conftest.
$ac_objext \
19163 conftest
$ac_exeext conftest.
$ac_ext
19165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19166 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19167 if test $gcc_cv_math_func_fabsl = yes; then
19169 cat >>confdefs.h
<<_ACEOF
19170 #define HAVE_FABSL 1
19178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19179 $as_echo_n "checking for cabsf... " >&6; }
19180 if test "${gcc_cv_math_func_cabsf+set}" = set; then :
19181 $as_echo_n "(cached) " >&6
19183 if test x
$gcc_no_link = xyes
; then
19184 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19187 /* end confdefs.h. */
19189 #ifdef HAVE_COMPLEX_H
19190 #include <complex.h>
19196 int (*ptr)() = (int (*)())cabsf;
19205 if ac_fn_c_try_link
"$LINENO"; then :
19206 gcc_cv_math_func_cabsf
=yes
19208 gcc_cv_math_func_cabsf
=no
19210 rm -f core conftest.err conftest.
$ac_objext \
19211 conftest
$ac_exeext conftest.
$ac_ext
19213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19214 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19215 if test $gcc_cv_math_func_cabsf = yes; then
19217 cat >>confdefs.h
<<_ACEOF
19218 #define HAVE_CABSF 1
19226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19227 $as_echo_n "checking for cabs... " >&6; }
19228 if test "${gcc_cv_math_func_cabs+set}" = set; then :
19229 $as_echo_n "(cached) " >&6
19231 if test x
$gcc_no_link = xyes
; then
19232 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19235 /* end confdefs.h. */
19237 #ifdef HAVE_COMPLEX_H
19238 #include <complex.h>
19244 int (*ptr)() = (int (*)())cabs;
19253 if ac_fn_c_try_link
"$LINENO"; then :
19254 gcc_cv_math_func_cabs
=yes
19256 gcc_cv_math_func_cabs
=no
19258 rm -f core conftest.err conftest.
$ac_objext \
19259 conftest
$ac_exeext conftest.
$ac_ext
19261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19262 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19263 if test $gcc_cv_math_func_cabs = yes; then
19265 cat >>confdefs.h
<<_ACEOF
19266 #define HAVE_CABS 1
19274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19275 $as_echo_n "checking for cabsl... " >&6; }
19276 if test "${gcc_cv_math_func_cabsl+set}" = set; then :
19277 $as_echo_n "(cached) " >&6
19279 if test x
$gcc_no_link = xyes
; then
19280 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19283 /* end confdefs.h. */
19285 #ifdef HAVE_COMPLEX_H
19286 #include <complex.h>
19292 int (*ptr)() = (int (*)())cabsl;
19301 if ac_fn_c_try_link
"$LINENO"; then :
19302 gcc_cv_math_func_cabsl
=yes
19304 gcc_cv_math_func_cabsl
=no
19306 rm -f core conftest.err conftest.
$ac_objext \
19307 conftest
$ac_exeext conftest.
$ac_ext
19309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19310 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19311 if test $gcc_cv_math_func_cabsl = yes; then
19313 cat >>confdefs.h
<<_ACEOF
19314 #define HAVE_CABSL 1
19322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19323 $as_echo_n "checking for floorf... " >&6; }
19324 if test "${gcc_cv_math_func_floorf+set}" = set; then :
19325 $as_echo_n "(cached) " >&6
19327 if test x
$gcc_no_link = xyes
; then
19328 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19331 /* end confdefs.h. */
19333 #ifdef HAVE_COMPLEX_H
19334 #include <complex.h>
19340 int (*ptr)() = (int (*)())floorf;
19349 if ac_fn_c_try_link
"$LINENO"; then :
19350 gcc_cv_math_func_floorf
=yes
19352 gcc_cv_math_func_floorf
=no
19354 rm -f core conftest.err conftest.
$ac_objext \
19355 conftest
$ac_exeext conftest.
$ac_ext
19357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19358 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19359 if test $gcc_cv_math_func_floorf = yes; then
19361 cat >>confdefs.h
<<_ACEOF
19362 #define HAVE_FLOORF 1
19370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19371 $as_echo_n "checking for floor... " >&6; }
19372 if test "${gcc_cv_math_func_floor+set}" = set; then :
19373 $as_echo_n "(cached) " >&6
19375 if test x
$gcc_no_link = xyes
; then
19376 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19379 /* end confdefs.h. */
19381 #ifdef HAVE_COMPLEX_H
19382 #include <complex.h>
19388 int (*ptr)() = (int (*)())floor;
19397 if ac_fn_c_try_link
"$LINENO"; then :
19398 gcc_cv_math_func_floor
=yes
19400 gcc_cv_math_func_floor
=no
19402 rm -f core conftest.err conftest.
$ac_objext \
19403 conftest
$ac_exeext conftest.
$ac_ext
19405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19406 $as_echo "$gcc_cv_math_func_floor" >&6; }
19407 if test $gcc_cv_math_func_floor = yes; then
19409 cat >>confdefs.h
<<_ACEOF
19410 #define HAVE_FLOOR 1
19418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19419 $as_echo_n "checking for floorl... " >&6; }
19420 if test "${gcc_cv_math_func_floorl+set}" = set; then :
19421 $as_echo_n "(cached) " >&6
19423 if test x
$gcc_no_link = xyes
; then
19424 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19427 /* end confdefs.h. */
19429 #ifdef HAVE_COMPLEX_H
19430 #include <complex.h>
19436 int (*ptr)() = (int (*)())floorl;
19445 if ac_fn_c_try_link
"$LINENO"; then :
19446 gcc_cv_math_func_floorl
=yes
19448 gcc_cv_math_func_floorl
=no
19450 rm -f core conftest.err conftest.
$ac_objext \
19451 conftest
$ac_exeext conftest.
$ac_ext
19453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19454 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19455 if test $gcc_cv_math_func_floorl = yes; then
19457 cat >>confdefs.h
<<_ACEOF
19458 #define HAVE_FLOORL 1
19466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19467 $as_echo_n "checking for fmodf... " >&6; }
19468 if test "${gcc_cv_math_func_fmodf+set}" = set; then :
19469 $as_echo_n "(cached) " >&6
19471 if test x
$gcc_no_link = xyes
; then
19472 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19475 /* end confdefs.h. */
19477 #ifdef HAVE_COMPLEX_H
19478 #include <complex.h>
19484 int (*ptr)() = (int (*)())fmodf;
19493 if ac_fn_c_try_link
"$LINENO"; then :
19494 gcc_cv_math_func_fmodf
=yes
19496 gcc_cv_math_func_fmodf
=no
19498 rm -f core conftest.err conftest.
$ac_objext \
19499 conftest
$ac_exeext conftest.
$ac_ext
19501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19502 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
19503 if test $gcc_cv_math_func_fmodf = yes; then
19505 cat >>confdefs.h
<<_ACEOF
19506 #define HAVE_FMODF 1
19514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19515 $as_echo_n "checking for fmod... " >&6; }
19516 if test "${gcc_cv_math_func_fmod+set}" = set; then :
19517 $as_echo_n "(cached) " >&6
19519 if test x
$gcc_no_link = xyes
; then
19520 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19523 /* end confdefs.h. */
19525 #ifdef HAVE_COMPLEX_H
19526 #include <complex.h>
19532 int (*ptr)() = (int (*)())fmod;
19541 if ac_fn_c_try_link
"$LINENO"; then :
19542 gcc_cv_math_func_fmod
=yes
19544 gcc_cv_math_func_fmod
=no
19546 rm -f core conftest.err conftest.
$ac_objext \
19547 conftest
$ac_exeext conftest.
$ac_ext
19549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19550 $as_echo "$gcc_cv_math_func_fmod" >&6; }
19551 if test $gcc_cv_math_func_fmod = yes; then
19553 cat >>confdefs.h
<<_ACEOF
19554 #define HAVE_FMOD 1
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19563 $as_echo_n "checking for fmodl... " >&6; }
19564 if test "${gcc_cv_math_func_fmodl+set}" = set; then :
19565 $as_echo_n "(cached) " >&6
19567 if test x
$gcc_no_link = xyes
; then
19568 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19571 /* end confdefs.h. */
19573 #ifdef HAVE_COMPLEX_H
19574 #include <complex.h>
19580 int (*ptr)() = (int (*)())fmodl;
19589 if ac_fn_c_try_link
"$LINENO"; then :
19590 gcc_cv_math_func_fmodl
=yes
19592 gcc_cv_math_func_fmodl
=no
19594 rm -f core conftest.err conftest.
$ac_objext \
19595 conftest
$ac_exeext conftest.
$ac_ext
19597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19598 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
19599 if test $gcc_cv_math_func_fmodl = yes; then
19601 cat >>confdefs.h
<<_ACEOF
19602 #define HAVE_FMODL 1
19610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19611 $as_echo_n "checking for frexpf... " >&6; }
19612 if test "${gcc_cv_math_func_frexpf+set}" = set; then :
19613 $as_echo_n "(cached) " >&6
19615 if test x
$gcc_no_link = xyes
; then
19616 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19619 /* end confdefs.h. */
19621 #ifdef HAVE_COMPLEX_H
19622 #include <complex.h>
19628 int (*ptr)() = (int (*)())frexpf;
19637 if ac_fn_c_try_link
"$LINENO"; then :
19638 gcc_cv_math_func_frexpf
=yes
19640 gcc_cv_math_func_frexpf
=no
19642 rm -f core conftest.err conftest.
$ac_objext \
19643 conftest
$ac_exeext conftest.
$ac_ext
19645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
19646 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
19647 if test $gcc_cv_math_func_frexpf = yes; then
19649 cat >>confdefs.h
<<_ACEOF
19650 #define HAVE_FREXPF 1
19658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
19659 $as_echo_n "checking for frexp... " >&6; }
19660 if test "${gcc_cv_math_func_frexp+set}" = set; then :
19661 $as_echo_n "(cached) " >&6
19663 if test x
$gcc_no_link = xyes
; then
19664 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19667 /* end confdefs.h. */
19669 #ifdef HAVE_COMPLEX_H
19670 #include <complex.h>
19676 int (*ptr)() = (int (*)())frexp;
19685 if ac_fn_c_try_link
"$LINENO"; then :
19686 gcc_cv_math_func_frexp
=yes
19688 gcc_cv_math_func_frexp
=no
19690 rm -f core conftest.err conftest.
$ac_objext \
19691 conftest
$ac_exeext conftest.
$ac_ext
19693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
19694 $as_echo "$gcc_cv_math_func_frexp" >&6; }
19695 if test $gcc_cv_math_func_frexp = yes; then
19697 cat >>confdefs.h
<<_ACEOF
19698 #define HAVE_FREXP 1
19706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
19707 $as_echo_n "checking for frexpl... " >&6; }
19708 if test "${gcc_cv_math_func_frexpl+set}" = set; then :
19709 $as_echo_n "(cached) " >&6
19711 if test x
$gcc_no_link = xyes
; then
19712 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19715 /* end confdefs.h. */
19717 #ifdef HAVE_COMPLEX_H
19718 #include <complex.h>
19724 int (*ptr)() = (int (*)())frexpl;
19733 if ac_fn_c_try_link
"$LINENO"; then :
19734 gcc_cv_math_func_frexpl
=yes
19736 gcc_cv_math_func_frexpl
=no
19738 rm -f core conftest.err conftest.
$ac_objext \
19739 conftest
$ac_exeext conftest.
$ac_ext
19741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
19742 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
19743 if test $gcc_cv_math_func_frexpl = yes; then
19745 cat >>confdefs.h
<<_ACEOF
19746 #define HAVE_FREXPL 1
19754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
19755 $as_echo_n "checking for hypotf... " >&6; }
19756 if test "${gcc_cv_math_func_hypotf+set}" = set; then :
19757 $as_echo_n "(cached) " >&6
19759 if test x
$gcc_no_link = xyes
; then
19760 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19763 /* end confdefs.h. */
19765 #ifdef HAVE_COMPLEX_H
19766 #include <complex.h>
19772 int (*ptr)() = (int (*)())hypotf;
19781 if ac_fn_c_try_link
"$LINENO"; then :
19782 gcc_cv_math_func_hypotf
=yes
19784 gcc_cv_math_func_hypotf
=no
19786 rm -f core conftest.err conftest.
$ac_objext \
19787 conftest
$ac_exeext conftest.
$ac_ext
19789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
19790 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
19791 if test $gcc_cv_math_func_hypotf = yes; then
19793 cat >>confdefs.h
<<_ACEOF
19794 #define HAVE_HYPOTF 1
19802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
19803 $as_echo_n "checking for hypot... " >&6; }
19804 if test "${gcc_cv_math_func_hypot+set}" = set; then :
19805 $as_echo_n "(cached) " >&6
19807 if test x
$gcc_no_link = xyes
; then
19808 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19811 /* end confdefs.h. */
19813 #ifdef HAVE_COMPLEX_H
19814 #include <complex.h>
19820 int (*ptr)() = (int (*)())hypot;
19829 if ac_fn_c_try_link
"$LINENO"; then :
19830 gcc_cv_math_func_hypot
=yes
19832 gcc_cv_math_func_hypot
=no
19834 rm -f core conftest.err conftest.
$ac_objext \
19835 conftest
$ac_exeext conftest.
$ac_ext
19837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
19838 $as_echo "$gcc_cv_math_func_hypot" >&6; }
19839 if test $gcc_cv_math_func_hypot = yes; then
19841 cat >>confdefs.h
<<_ACEOF
19842 #define HAVE_HYPOT 1
19850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
19851 $as_echo_n "checking for hypotl... " >&6; }
19852 if test "${gcc_cv_math_func_hypotl+set}" = set; then :
19853 $as_echo_n "(cached) " >&6
19855 if test x
$gcc_no_link = xyes
; then
19856 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19859 /* end confdefs.h. */
19861 #ifdef HAVE_COMPLEX_H
19862 #include <complex.h>
19868 int (*ptr)() = (int (*)())hypotl;
19877 if ac_fn_c_try_link
"$LINENO"; then :
19878 gcc_cv_math_func_hypotl
=yes
19880 gcc_cv_math_func_hypotl
=no
19882 rm -f core conftest.err conftest.
$ac_objext \
19883 conftest
$ac_exeext conftest.
$ac_ext
19885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
19886 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
19887 if test $gcc_cv_math_func_hypotl = yes; then
19889 cat >>confdefs.h
<<_ACEOF
19890 #define HAVE_HYPOTL 1
19898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
19899 $as_echo_n "checking for ldexpf... " >&6; }
19900 if test "${gcc_cv_math_func_ldexpf+set}" = set; then :
19901 $as_echo_n "(cached) " >&6
19903 if test x
$gcc_no_link = xyes
; then
19904 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19907 /* end confdefs.h. */
19909 #ifdef HAVE_COMPLEX_H
19910 #include <complex.h>
19916 int (*ptr)() = (int (*)())ldexpf;
19925 if ac_fn_c_try_link
"$LINENO"; then :
19926 gcc_cv_math_func_ldexpf
=yes
19928 gcc_cv_math_func_ldexpf
=no
19930 rm -f core conftest.err conftest.
$ac_objext \
19931 conftest
$ac_exeext conftest.
$ac_ext
19933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
19934 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
19935 if test $gcc_cv_math_func_ldexpf = yes; then
19937 cat >>confdefs.h
<<_ACEOF
19938 #define HAVE_LDEXPF 1
19946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
19947 $as_echo_n "checking for ldexp... " >&6; }
19948 if test "${gcc_cv_math_func_ldexp+set}" = set; then :
19949 $as_echo_n "(cached) " >&6
19951 if test x
$gcc_no_link = xyes
; then
19952 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19955 /* end confdefs.h. */
19957 #ifdef HAVE_COMPLEX_H
19958 #include <complex.h>
19964 int (*ptr)() = (int (*)())ldexp;
19973 if ac_fn_c_try_link
"$LINENO"; then :
19974 gcc_cv_math_func_ldexp
=yes
19976 gcc_cv_math_func_ldexp
=no
19978 rm -f core conftest.err conftest.
$ac_objext \
19979 conftest
$ac_exeext conftest.
$ac_ext
19981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
19982 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
19983 if test $gcc_cv_math_func_ldexp = yes; then
19985 cat >>confdefs.h
<<_ACEOF
19986 #define HAVE_LDEXP 1
19994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
19995 $as_echo_n "checking for ldexpl... " >&6; }
19996 if test "${gcc_cv_math_func_ldexpl+set}" = set; then :
19997 $as_echo_n "(cached) " >&6
19999 if test x
$gcc_no_link = xyes
; then
20000 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20003 /* end confdefs.h. */
20005 #ifdef HAVE_COMPLEX_H
20006 #include <complex.h>
20012 int (*ptr)() = (int (*)())ldexpl;
20021 if ac_fn_c_try_link
"$LINENO"; then :
20022 gcc_cv_math_func_ldexpl
=yes
20024 gcc_cv_math_func_ldexpl
=no
20026 rm -f core conftest.err conftest.
$ac_objext \
20027 conftest
$ac_exeext conftest.
$ac_ext
20029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20030 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20031 if test $gcc_cv_math_func_ldexpl = yes; then
20033 cat >>confdefs.h
<<_ACEOF
20034 #define HAVE_LDEXPL 1
20042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20043 $as_echo_n "checking for logf... " >&6; }
20044 if test "${gcc_cv_math_func_logf+set}" = set; then :
20045 $as_echo_n "(cached) " >&6
20047 if test x
$gcc_no_link = xyes
; then
20048 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20051 /* end confdefs.h. */
20053 #ifdef HAVE_COMPLEX_H
20054 #include <complex.h>
20060 int (*ptr)() = (int (*)())logf;
20069 if ac_fn_c_try_link
"$LINENO"; then :
20070 gcc_cv_math_func_logf
=yes
20072 gcc_cv_math_func_logf
=no
20074 rm -f core conftest.err conftest.
$ac_objext \
20075 conftest
$ac_exeext conftest.
$ac_ext
20077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20078 $as_echo "$gcc_cv_math_func_logf" >&6; }
20079 if test $gcc_cv_math_func_logf = yes; then
20081 cat >>confdefs.h
<<_ACEOF
20082 #define HAVE_LOGF 1
20090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20091 $as_echo_n "checking for log... " >&6; }
20092 if test "${gcc_cv_math_func_log+set}" = set; then :
20093 $as_echo_n "(cached) " >&6
20095 if test x
$gcc_no_link = xyes
; then
20096 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20099 /* end confdefs.h. */
20101 #ifdef HAVE_COMPLEX_H
20102 #include <complex.h>
20108 int (*ptr)() = (int (*)())log;
20117 if ac_fn_c_try_link
"$LINENO"; then :
20118 gcc_cv_math_func_log
=yes
20120 gcc_cv_math_func_log
=no
20122 rm -f core conftest.err conftest.
$ac_objext \
20123 conftest
$ac_exeext conftest.
$ac_ext
20125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20126 $as_echo "$gcc_cv_math_func_log" >&6; }
20127 if test $gcc_cv_math_func_log = yes; then
20129 cat >>confdefs.h
<<_ACEOF
20138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20139 $as_echo_n "checking for logl... " >&6; }
20140 if test "${gcc_cv_math_func_logl+set}" = set; then :
20141 $as_echo_n "(cached) " >&6
20143 if test x
$gcc_no_link = xyes
; then
20144 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20147 /* end confdefs.h. */
20149 #ifdef HAVE_COMPLEX_H
20150 #include <complex.h>
20156 int (*ptr)() = (int (*)())logl;
20165 if ac_fn_c_try_link
"$LINENO"; then :
20166 gcc_cv_math_func_logl
=yes
20168 gcc_cv_math_func_logl
=no
20170 rm -f core conftest.err conftest.
$ac_objext \
20171 conftest
$ac_exeext conftest.
$ac_ext
20173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20174 $as_echo "$gcc_cv_math_func_logl" >&6; }
20175 if test $gcc_cv_math_func_logl = yes; then
20177 cat >>confdefs.h
<<_ACEOF
20178 #define HAVE_LOGL 1
20186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20187 $as_echo_n "checking for clogf... " >&6; }
20188 if test "${gcc_cv_math_func_clogf+set}" = set; then :
20189 $as_echo_n "(cached) " >&6
20191 if test x
$gcc_no_link = xyes
; then
20192 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20195 /* end confdefs.h. */
20197 #ifdef HAVE_COMPLEX_H
20198 #include <complex.h>
20204 int (*ptr)() = (int (*)())clogf;
20213 if ac_fn_c_try_link
"$LINENO"; then :
20214 gcc_cv_math_func_clogf
=yes
20216 gcc_cv_math_func_clogf
=no
20218 rm -f core conftest.err conftest.
$ac_objext \
20219 conftest
$ac_exeext conftest.
$ac_ext
20221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20222 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20223 if test $gcc_cv_math_func_clogf = yes; then
20225 cat >>confdefs.h
<<_ACEOF
20226 #define HAVE_CLOGF 1
20234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20235 $as_echo_n "checking for clog... " >&6; }
20236 if test "${gcc_cv_math_func_clog+set}" = set; then :
20237 $as_echo_n "(cached) " >&6
20239 if test x
$gcc_no_link = xyes
; then
20240 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20243 /* end confdefs.h. */
20245 #ifdef HAVE_COMPLEX_H
20246 #include <complex.h>
20252 int (*ptr)() = (int (*)())clog;
20261 if ac_fn_c_try_link
"$LINENO"; then :
20262 gcc_cv_math_func_clog
=yes
20264 gcc_cv_math_func_clog
=no
20266 rm -f core conftest.err conftest.
$ac_objext \
20267 conftest
$ac_exeext conftest.
$ac_ext
20269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20270 $as_echo "$gcc_cv_math_func_clog" >&6; }
20271 if test $gcc_cv_math_func_clog = yes; then
20273 cat >>confdefs.h
<<_ACEOF
20274 #define HAVE_CLOG 1
20282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20283 $as_echo_n "checking for clogl... " >&6; }
20284 if test "${gcc_cv_math_func_clogl+set}" = set; then :
20285 $as_echo_n "(cached) " >&6
20287 if test x
$gcc_no_link = xyes
; then
20288 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20291 /* end confdefs.h. */
20293 #ifdef HAVE_COMPLEX_H
20294 #include <complex.h>
20300 int (*ptr)() = (int (*)())clogl;
20309 if ac_fn_c_try_link
"$LINENO"; then :
20310 gcc_cv_math_func_clogl
=yes
20312 gcc_cv_math_func_clogl
=no
20314 rm -f core conftest.err conftest.
$ac_objext \
20315 conftest
$ac_exeext conftest.
$ac_ext
20317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20318 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20319 if test $gcc_cv_math_func_clogl = yes; then
20321 cat >>confdefs.h
<<_ACEOF
20322 #define HAVE_CLOGL 1
20330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20331 $as_echo_n "checking for log10f... " >&6; }
20332 if test "${gcc_cv_math_func_log10f+set}" = set; then :
20333 $as_echo_n "(cached) " >&6
20335 if test x
$gcc_no_link = xyes
; then
20336 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20339 /* end confdefs.h. */
20341 #ifdef HAVE_COMPLEX_H
20342 #include <complex.h>
20348 int (*ptr)() = (int (*)())log10f;
20357 if ac_fn_c_try_link
"$LINENO"; then :
20358 gcc_cv_math_func_log10f
=yes
20360 gcc_cv_math_func_log10f
=no
20362 rm -f core conftest.err conftest.
$ac_objext \
20363 conftest
$ac_exeext conftest.
$ac_ext
20365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20366 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20367 if test $gcc_cv_math_func_log10f = yes; then
20369 cat >>confdefs.h
<<_ACEOF
20370 #define HAVE_LOG10F 1
20378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20379 $as_echo_n "checking for log10... " >&6; }
20380 if test "${gcc_cv_math_func_log10+set}" = set; then :
20381 $as_echo_n "(cached) " >&6
20383 if test x
$gcc_no_link = xyes
; then
20384 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20387 /* end confdefs.h. */
20389 #ifdef HAVE_COMPLEX_H
20390 #include <complex.h>
20396 int (*ptr)() = (int (*)())log10;
20405 if ac_fn_c_try_link
"$LINENO"; then :
20406 gcc_cv_math_func_log10
=yes
20408 gcc_cv_math_func_log10
=no
20410 rm -f core conftest.err conftest.
$ac_objext \
20411 conftest
$ac_exeext conftest.
$ac_ext
20413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20414 $as_echo "$gcc_cv_math_func_log10" >&6; }
20415 if test $gcc_cv_math_func_log10 = yes; then
20417 cat >>confdefs.h
<<_ACEOF
20418 #define HAVE_LOG10 1
20426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20427 $as_echo_n "checking for log10l... " >&6; }
20428 if test "${gcc_cv_math_func_log10l+set}" = set; then :
20429 $as_echo_n "(cached) " >&6
20431 if test x
$gcc_no_link = xyes
; then
20432 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20435 /* end confdefs.h. */
20437 #ifdef HAVE_COMPLEX_H
20438 #include <complex.h>
20444 int (*ptr)() = (int (*)())log10l;
20453 if ac_fn_c_try_link
"$LINENO"; then :
20454 gcc_cv_math_func_log10l
=yes
20456 gcc_cv_math_func_log10l
=no
20458 rm -f core conftest.err conftest.
$ac_objext \
20459 conftest
$ac_exeext conftest.
$ac_ext
20461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20462 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20463 if test $gcc_cv_math_func_log10l = yes; then
20465 cat >>confdefs.h
<<_ACEOF
20466 #define HAVE_LOG10L 1
20474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20475 $as_echo_n "checking for clog10f... " >&6; }
20476 if test "${gcc_cv_math_func_clog10f+set}" = set; then :
20477 $as_echo_n "(cached) " >&6
20479 if test x
$gcc_no_link = xyes
; then
20480 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20483 /* end confdefs.h. */
20485 #ifdef HAVE_COMPLEX_H
20486 #include <complex.h>
20492 int (*ptr)() = (int (*)())clog10f;
20501 if ac_fn_c_try_link
"$LINENO"; then :
20502 gcc_cv_math_func_clog10f
=yes
20504 gcc_cv_math_func_clog10f
=no
20506 rm -f core conftest.err conftest.
$ac_objext \
20507 conftest
$ac_exeext conftest.
$ac_ext
20509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20510 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
20511 if test $gcc_cv_math_func_clog10f = yes; then
20513 cat >>confdefs.h
<<_ACEOF
20514 #define HAVE_CLOG10F 1
20522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20523 $as_echo_n "checking for clog10... " >&6; }
20524 if test "${gcc_cv_math_func_clog10+set}" = set; then :
20525 $as_echo_n "(cached) " >&6
20527 if test x
$gcc_no_link = xyes
; then
20528 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20531 /* end confdefs.h. */
20533 #ifdef HAVE_COMPLEX_H
20534 #include <complex.h>
20540 int (*ptr)() = (int (*)())clog10;
20549 if ac_fn_c_try_link
"$LINENO"; then :
20550 gcc_cv_math_func_clog10
=yes
20552 gcc_cv_math_func_clog10
=no
20554 rm -f core conftest.err conftest.
$ac_objext \
20555 conftest
$ac_exeext conftest.
$ac_ext
20557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20558 $as_echo "$gcc_cv_math_func_clog10" >&6; }
20559 if test $gcc_cv_math_func_clog10 = yes; then
20561 cat >>confdefs.h
<<_ACEOF
20562 #define HAVE_CLOG10 1
20570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20571 $as_echo_n "checking for clog10l... " >&6; }
20572 if test "${gcc_cv_math_func_clog10l+set}" = set; then :
20573 $as_echo_n "(cached) " >&6
20575 if test x
$gcc_no_link = xyes
; then
20576 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20579 /* end confdefs.h. */
20581 #ifdef HAVE_COMPLEX_H
20582 #include <complex.h>
20588 int (*ptr)() = (int (*)())clog10l;
20597 if ac_fn_c_try_link
"$LINENO"; then :
20598 gcc_cv_math_func_clog10l
=yes
20600 gcc_cv_math_func_clog10l
=no
20602 rm -f core conftest.err conftest.
$ac_objext \
20603 conftest
$ac_exeext conftest.
$ac_ext
20605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20606 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
20607 if test $gcc_cv_math_func_clog10l = yes; then
20609 cat >>confdefs.h
<<_ACEOF
20610 #define HAVE_CLOG10L 1
20618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20619 $as_echo_n "checking for nextafterf... " >&6; }
20620 if test "${gcc_cv_math_func_nextafterf+set}" = set; then :
20621 $as_echo_n "(cached) " >&6
20623 if test x
$gcc_no_link = xyes
; then
20624 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20627 /* end confdefs.h. */
20629 #ifdef HAVE_COMPLEX_H
20630 #include <complex.h>
20636 int (*ptr)() = (int (*)())nextafterf;
20645 if ac_fn_c_try_link
"$LINENO"; then :
20646 gcc_cv_math_func_nextafterf
=yes
20648 gcc_cv_math_func_nextafterf
=no
20650 rm -f core conftest.err conftest.
$ac_objext \
20651 conftest
$ac_exeext conftest.
$ac_ext
20653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
20654 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
20655 if test $gcc_cv_math_func_nextafterf = yes; then
20657 cat >>confdefs.h
<<_ACEOF
20658 #define HAVE_NEXTAFTERF 1
20666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
20667 $as_echo_n "checking for nextafter... " >&6; }
20668 if test "${gcc_cv_math_func_nextafter+set}" = set; then :
20669 $as_echo_n "(cached) " >&6
20671 if test x
$gcc_no_link = xyes
; then
20672 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20675 /* end confdefs.h. */
20677 #ifdef HAVE_COMPLEX_H
20678 #include <complex.h>
20684 int (*ptr)() = (int (*)())nextafter;
20693 if ac_fn_c_try_link
"$LINENO"; then :
20694 gcc_cv_math_func_nextafter
=yes
20696 gcc_cv_math_func_nextafter
=no
20698 rm -f core conftest.err conftest.
$ac_objext \
20699 conftest
$ac_exeext conftest.
$ac_ext
20701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
20702 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
20703 if test $gcc_cv_math_func_nextafter = yes; then
20705 cat >>confdefs.h
<<_ACEOF
20706 #define HAVE_NEXTAFTER 1
20714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
20715 $as_echo_n "checking for nextafterl... " >&6; }
20716 if test "${gcc_cv_math_func_nextafterl+set}" = set; then :
20717 $as_echo_n "(cached) " >&6
20719 if test x
$gcc_no_link = xyes
; then
20720 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20723 /* end confdefs.h. */
20725 #ifdef HAVE_COMPLEX_H
20726 #include <complex.h>
20732 int (*ptr)() = (int (*)())nextafterl;
20741 if ac_fn_c_try_link
"$LINENO"; then :
20742 gcc_cv_math_func_nextafterl
=yes
20744 gcc_cv_math_func_nextafterl
=no
20746 rm -f core conftest.err conftest.
$ac_objext \
20747 conftest
$ac_exeext conftest.
$ac_ext
20749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
20750 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
20751 if test $gcc_cv_math_func_nextafterl = yes; then
20753 cat >>confdefs.h
<<_ACEOF
20754 #define HAVE_NEXTAFTERL 1
20762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
20763 $as_echo_n "checking for powf... " >&6; }
20764 if test "${gcc_cv_math_func_powf+set}" = set; then :
20765 $as_echo_n "(cached) " >&6
20767 if test x
$gcc_no_link = xyes
; then
20768 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20771 /* end confdefs.h. */
20773 #ifdef HAVE_COMPLEX_H
20774 #include <complex.h>
20780 int (*ptr)() = (int (*)())powf;
20789 if ac_fn_c_try_link
"$LINENO"; then :
20790 gcc_cv_math_func_powf
=yes
20792 gcc_cv_math_func_powf
=no
20794 rm -f core conftest.err conftest.
$ac_objext \
20795 conftest
$ac_exeext conftest.
$ac_ext
20797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
20798 $as_echo "$gcc_cv_math_func_powf" >&6; }
20799 if test $gcc_cv_math_func_powf = yes; then
20801 cat >>confdefs.h
<<_ACEOF
20802 #define HAVE_POWF 1
20810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
20811 $as_echo_n "checking for pow... " >&6; }
20812 if test "${gcc_cv_math_func_pow+set}" = set; then :
20813 $as_echo_n "(cached) " >&6
20815 if test x
$gcc_no_link = xyes
; then
20816 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20819 /* end confdefs.h. */
20821 #ifdef HAVE_COMPLEX_H
20822 #include <complex.h>
20828 int (*ptr)() = (int (*)())pow;
20837 if ac_fn_c_try_link
"$LINENO"; then :
20838 gcc_cv_math_func_pow
=yes
20840 gcc_cv_math_func_pow
=no
20842 rm -f core conftest.err conftest.
$ac_objext \
20843 conftest
$ac_exeext conftest.
$ac_ext
20845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
20846 $as_echo "$gcc_cv_math_func_pow" >&6; }
20847 if test $gcc_cv_math_func_pow = yes; then
20849 cat >>confdefs.h
<<_ACEOF
20858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl" >&5
20859 $as_echo_n "checking for powl... " >&6; }
20860 if test "${gcc_cv_math_func_powl+set}" = set; then :
20861 $as_echo_n "(cached) " >&6
20863 if test x
$gcc_no_link = xyes
; then
20864 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20867 /* end confdefs.h. */
20869 #ifdef HAVE_COMPLEX_H
20870 #include <complex.h>
20876 int (*ptr)() = (int (*)())powl;
20885 if ac_fn_c_try_link
"$LINENO"; then :
20886 gcc_cv_math_func_powl
=yes
20888 gcc_cv_math_func_powl
=no
20890 rm -f core conftest.err conftest.
$ac_objext \
20891 conftest
$ac_exeext conftest.
$ac_ext
20893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powl" >&5
20894 $as_echo "$gcc_cv_math_func_powl" >&6; }
20895 if test $gcc_cv_math_func_powl = yes; then
20897 cat >>confdefs.h
<<_ACEOF
20898 #define HAVE_POWL 1
20906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
20907 $as_echo_n "checking for cpowf... " >&6; }
20908 if test "${gcc_cv_math_func_cpowf+set}" = set; then :
20909 $as_echo_n "(cached) " >&6
20911 if test x
$gcc_no_link = xyes
; then
20912 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20915 /* end confdefs.h. */
20917 #ifdef HAVE_COMPLEX_H
20918 #include <complex.h>
20924 int (*ptr)() = (int (*)())cpowf;
20933 if ac_fn_c_try_link
"$LINENO"; then :
20934 gcc_cv_math_func_cpowf
=yes
20936 gcc_cv_math_func_cpowf
=no
20938 rm -f core conftest.err conftest.
$ac_objext \
20939 conftest
$ac_exeext conftest.
$ac_ext
20941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
20942 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
20943 if test $gcc_cv_math_func_cpowf = yes; then
20945 cat >>confdefs.h
<<_ACEOF
20946 #define HAVE_CPOWF 1
20954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
20955 $as_echo_n "checking for cpow... " >&6; }
20956 if test "${gcc_cv_math_func_cpow+set}" = set; then :
20957 $as_echo_n "(cached) " >&6
20959 if test x
$gcc_no_link = xyes
; then
20960 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20963 /* end confdefs.h. */
20965 #ifdef HAVE_COMPLEX_H
20966 #include <complex.h>
20972 int (*ptr)() = (int (*)())cpow;
20981 if ac_fn_c_try_link
"$LINENO"; then :
20982 gcc_cv_math_func_cpow
=yes
20984 gcc_cv_math_func_cpow
=no
20986 rm -f core conftest.err conftest.
$ac_objext \
20987 conftest
$ac_exeext conftest.
$ac_ext
20989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
20990 $as_echo "$gcc_cv_math_func_cpow" >&6; }
20991 if test $gcc_cv_math_func_cpow = yes; then
20993 cat >>confdefs.h
<<_ACEOF
20994 #define HAVE_CPOW 1
21002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21003 $as_echo_n "checking for cpowl... " >&6; }
21004 if test "${gcc_cv_math_func_cpowl+set}" = set; then :
21005 $as_echo_n "(cached) " >&6
21007 if test x
$gcc_no_link = xyes
; then
21008 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21011 /* end confdefs.h. */
21013 #ifdef HAVE_COMPLEX_H
21014 #include <complex.h>
21020 int (*ptr)() = (int (*)())cpowl;
21029 if ac_fn_c_try_link
"$LINENO"; then :
21030 gcc_cv_math_func_cpowl
=yes
21032 gcc_cv_math_func_cpowl
=no
21034 rm -f core conftest.err conftest.
$ac_objext \
21035 conftest
$ac_exeext conftest.
$ac_ext
21037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21038 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21039 if test $gcc_cv_math_func_cpowl = yes; then
21041 cat >>confdefs.h
<<_ACEOF
21042 #define HAVE_CPOWL 1
21050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21051 $as_echo_n "checking for roundf... " >&6; }
21052 if test "${gcc_cv_math_func_roundf+set}" = set; then :
21053 $as_echo_n "(cached) " >&6
21055 if test x
$gcc_no_link = xyes
; then
21056 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21059 /* end confdefs.h. */
21061 #ifdef HAVE_COMPLEX_H
21062 #include <complex.h>
21068 int (*ptr)() = (int (*)())roundf;
21077 if ac_fn_c_try_link
"$LINENO"; then :
21078 gcc_cv_math_func_roundf
=yes
21080 gcc_cv_math_func_roundf
=no
21082 rm -f core conftest.err conftest.
$ac_objext \
21083 conftest
$ac_exeext conftest.
$ac_ext
21085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21086 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21087 if test $gcc_cv_math_func_roundf = yes; then
21089 cat >>confdefs.h
<<_ACEOF
21090 #define HAVE_ROUNDF 1
21098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21099 $as_echo_n "checking for round... " >&6; }
21100 if test "${gcc_cv_math_func_round+set}" = set; then :
21101 $as_echo_n "(cached) " >&6
21103 if test x
$gcc_no_link = xyes
; then
21104 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21107 /* end confdefs.h. */
21109 #ifdef HAVE_COMPLEX_H
21110 #include <complex.h>
21116 int (*ptr)() = (int (*)())round;
21125 if ac_fn_c_try_link
"$LINENO"; then :
21126 gcc_cv_math_func_round
=yes
21128 gcc_cv_math_func_round
=no
21130 rm -f core conftest.err conftest.
$ac_objext \
21131 conftest
$ac_exeext conftest.
$ac_ext
21133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21134 $as_echo "$gcc_cv_math_func_round" >&6; }
21135 if test $gcc_cv_math_func_round = yes; then
21137 cat >>confdefs.h
<<_ACEOF
21138 #define HAVE_ROUND 1
21146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21147 $as_echo_n "checking for roundl... " >&6; }
21148 if test "${gcc_cv_math_func_roundl+set}" = set; then :
21149 $as_echo_n "(cached) " >&6
21151 if test x
$gcc_no_link = xyes
; then
21152 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21155 /* end confdefs.h. */
21157 #ifdef HAVE_COMPLEX_H
21158 #include <complex.h>
21164 int (*ptr)() = (int (*)())roundl;
21173 if ac_fn_c_try_link
"$LINENO"; then :
21174 gcc_cv_math_func_roundl
=yes
21176 gcc_cv_math_func_roundl
=no
21178 rm -f core conftest.err conftest.
$ac_objext \
21179 conftest
$ac_exeext conftest.
$ac_ext
21181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21182 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21183 if test $gcc_cv_math_func_roundl = yes; then
21185 cat >>confdefs.h
<<_ACEOF
21186 #define HAVE_ROUNDL 1
21194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21195 $as_echo_n "checking for lroundf... " >&6; }
21196 if test "${gcc_cv_math_func_lroundf+set}" = set; then :
21197 $as_echo_n "(cached) " >&6
21199 if test x
$gcc_no_link = xyes
; then
21200 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21203 /* end confdefs.h. */
21205 #ifdef HAVE_COMPLEX_H
21206 #include <complex.h>
21212 int (*ptr)() = (int (*)())lroundf;
21221 if ac_fn_c_try_link
"$LINENO"; then :
21222 gcc_cv_math_func_lroundf
=yes
21224 gcc_cv_math_func_lroundf
=no
21226 rm -f core conftest.err conftest.
$ac_objext \
21227 conftest
$ac_exeext conftest.
$ac_ext
21229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21230 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21231 if test $gcc_cv_math_func_lroundf = yes; then
21233 cat >>confdefs.h
<<_ACEOF
21234 #define HAVE_LROUNDF 1
21242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21243 $as_echo_n "checking for lround... " >&6; }
21244 if test "${gcc_cv_math_func_lround+set}" = set; then :
21245 $as_echo_n "(cached) " >&6
21247 if test x
$gcc_no_link = xyes
; then
21248 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21251 /* end confdefs.h. */
21253 #ifdef HAVE_COMPLEX_H
21254 #include <complex.h>
21260 int (*ptr)() = (int (*)())lround;
21269 if ac_fn_c_try_link
"$LINENO"; then :
21270 gcc_cv_math_func_lround
=yes
21272 gcc_cv_math_func_lround
=no
21274 rm -f core conftest.err conftest.
$ac_objext \
21275 conftest
$ac_exeext conftest.
$ac_ext
21277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21278 $as_echo "$gcc_cv_math_func_lround" >&6; }
21279 if test $gcc_cv_math_func_lround = yes; then
21281 cat >>confdefs.h
<<_ACEOF
21282 #define HAVE_LROUND 1
21290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21291 $as_echo_n "checking for lroundl... " >&6; }
21292 if test "${gcc_cv_math_func_lroundl+set}" = set; then :
21293 $as_echo_n "(cached) " >&6
21295 if test x
$gcc_no_link = xyes
; then
21296 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21299 /* end confdefs.h. */
21301 #ifdef HAVE_COMPLEX_H
21302 #include <complex.h>
21308 int (*ptr)() = (int (*)())lroundl;
21317 if ac_fn_c_try_link
"$LINENO"; then :
21318 gcc_cv_math_func_lroundl
=yes
21320 gcc_cv_math_func_lroundl
=no
21322 rm -f core conftest.err conftest.
$ac_objext \
21323 conftest
$ac_exeext conftest.
$ac_ext
21325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21326 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21327 if test $gcc_cv_math_func_lroundl = yes; then
21329 cat >>confdefs.h
<<_ACEOF
21330 #define HAVE_LROUNDL 1
21338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21339 $as_echo_n "checking for llroundf... " >&6; }
21340 if test "${gcc_cv_math_func_llroundf+set}" = set; then :
21341 $as_echo_n "(cached) " >&6
21343 if test x
$gcc_no_link = xyes
; then
21344 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21347 /* end confdefs.h. */
21349 #ifdef HAVE_COMPLEX_H
21350 #include <complex.h>
21356 int (*ptr)() = (int (*)())llroundf;
21365 if ac_fn_c_try_link
"$LINENO"; then :
21366 gcc_cv_math_func_llroundf
=yes
21368 gcc_cv_math_func_llroundf
=no
21370 rm -f core conftest.err conftest.
$ac_objext \
21371 conftest
$ac_exeext conftest.
$ac_ext
21373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21374 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21375 if test $gcc_cv_math_func_llroundf = yes; then
21377 cat >>confdefs.h
<<_ACEOF
21378 #define HAVE_LLROUNDF 1
21386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21387 $as_echo_n "checking for llround... " >&6; }
21388 if test "${gcc_cv_math_func_llround+set}" = set; then :
21389 $as_echo_n "(cached) " >&6
21391 if test x
$gcc_no_link = xyes
; then
21392 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21395 /* end confdefs.h. */
21397 #ifdef HAVE_COMPLEX_H
21398 #include <complex.h>
21404 int (*ptr)() = (int (*)())llround;
21413 if ac_fn_c_try_link
"$LINENO"; then :
21414 gcc_cv_math_func_llround
=yes
21416 gcc_cv_math_func_llround
=no
21418 rm -f core conftest.err conftest.
$ac_objext \
21419 conftest
$ac_exeext conftest.
$ac_ext
21421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21422 $as_echo "$gcc_cv_math_func_llround" >&6; }
21423 if test $gcc_cv_math_func_llround = yes; then
21425 cat >>confdefs.h
<<_ACEOF
21426 #define HAVE_LLROUND 1
21434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21435 $as_echo_n "checking for llroundl... " >&6; }
21436 if test "${gcc_cv_math_func_llroundl+set}" = set; then :
21437 $as_echo_n "(cached) " >&6
21439 if test x
$gcc_no_link = xyes
; then
21440 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21443 /* end confdefs.h. */
21445 #ifdef HAVE_COMPLEX_H
21446 #include <complex.h>
21452 int (*ptr)() = (int (*)())llroundl;
21461 if ac_fn_c_try_link
"$LINENO"; then :
21462 gcc_cv_math_func_llroundl
=yes
21464 gcc_cv_math_func_llroundl
=no
21466 rm -f core conftest.err conftest.
$ac_objext \
21467 conftest
$ac_exeext conftest.
$ac_ext
21469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21470 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21471 if test $gcc_cv_math_func_llroundl = yes; then
21473 cat >>confdefs.h
<<_ACEOF
21474 #define HAVE_LLROUNDL 1
21482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21483 $as_echo_n "checking for scalbnf... " >&6; }
21484 if test "${gcc_cv_math_func_scalbnf+set}" = set; then :
21485 $as_echo_n "(cached) " >&6
21487 if test x
$gcc_no_link = xyes
; then
21488 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21491 /* end confdefs.h. */
21493 #ifdef HAVE_COMPLEX_H
21494 #include <complex.h>
21500 int (*ptr)() = (int (*)())scalbnf;
21509 if ac_fn_c_try_link
"$LINENO"; then :
21510 gcc_cv_math_func_scalbnf
=yes
21512 gcc_cv_math_func_scalbnf
=no
21514 rm -f core conftest.err conftest.
$ac_objext \
21515 conftest
$ac_exeext conftest.
$ac_ext
21517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21518 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21519 if test $gcc_cv_math_func_scalbnf = yes; then
21521 cat >>confdefs.h
<<_ACEOF
21522 #define HAVE_SCALBNF 1
21530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21531 $as_echo_n "checking for scalbn... " >&6; }
21532 if test "${gcc_cv_math_func_scalbn+set}" = set; then :
21533 $as_echo_n "(cached) " >&6
21535 if test x
$gcc_no_link = xyes
; then
21536 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21539 /* end confdefs.h. */
21541 #ifdef HAVE_COMPLEX_H
21542 #include <complex.h>
21548 int (*ptr)() = (int (*)())scalbn;
21557 if ac_fn_c_try_link
"$LINENO"; then :
21558 gcc_cv_math_func_scalbn
=yes
21560 gcc_cv_math_func_scalbn
=no
21562 rm -f core conftest.err conftest.
$ac_objext \
21563 conftest
$ac_exeext conftest.
$ac_ext
21565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21566 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
21567 if test $gcc_cv_math_func_scalbn = yes; then
21569 cat >>confdefs.h
<<_ACEOF
21570 #define HAVE_SCALBN 1
21578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21579 $as_echo_n "checking for scalbnl... " >&6; }
21580 if test "${gcc_cv_math_func_scalbnl+set}" = set; then :
21581 $as_echo_n "(cached) " >&6
21583 if test x
$gcc_no_link = xyes
; then
21584 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21587 /* end confdefs.h. */
21589 #ifdef HAVE_COMPLEX_H
21590 #include <complex.h>
21596 int (*ptr)() = (int (*)())scalbnl;
21605 if ac_fn_c_try_link
"$LINENO"; then :
21606 gcc_cv_math_func_scalbnl
=yes
21608 gcc_cv_math_func_scalbnl
=no
21610 rm -f core conftest.err conftest.
$ac_objext \
21611 conftest
$ac_exeext conftest.
$ac_ext
21613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21614 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21615 if test $gcc_cv_math_func_scalbnl = yes; then
21617 cat >>confdefs.h
<<_ACEOF
21618 #define HAVE_SCALBNL 1
21626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21627 $as_echo_n "checking for sinf... " >&6; }
21628 if test "${gcc_cv_math_func_sinf+set}" = set; then :
21629 $as_echo_n "(cached) " >&6
21631 if test x
$gcc_no_link = xyes
; then
21632 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21635 /* end confdefs.h. */
21637 #ifdef HAVE_COMPLEX_H
21638 #include <complex.h>
21644 int (*ptr)() = (int (*)())sinf;
21653 if ac_fn_c_try_link
"$LINENO"; then :
21654 gcc_cv_math_func_sinf
=yes
21656 gcc_cv_math_func_sinf
=no
21658 rm -f core conftest.err conftest.
$ac_objext \
21659 conftest
$ac_exeext conftest.
$ac_ext
21661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21662 $as_echo "$gcc_cv_math_func_sinf" >&6; }
21663 if test $gcc_cv_math_func_sinf = yes; then
21665 cat >>confdefs.h
<<_ACEOF
21666 #define HAVE_SINF 1
21674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21675 $as_echo_n "checking for sin... " >&6; }
21676 if test "${gcc_cv_math_func_sin+set}" = set; then :
21677 $as_echo_n "(cached) " >&6
21679 if test x
$gcc_no_link = xyes
; then
21680 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21683 /* end confdefs.h. */
21685 #ifdef HAVE_COMPLEX_H
21686 #include <complex.h>
21692 int (*ptr)() = (int (*)())sin;
21701 if ac_fn_c_try_link
"$LINENO"; then :
21702 gcc_cv_math_func_sin
=yes
21704 gcc_cv_math_func_sin
=no
21706 rm -f core conftest.err conftest.
$ac_objext \
21707 conftest
$ac_exeext conftest.
$ac_ext
21709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
21710 $as_echo "$gcc_cv_math_func_sin" >&6; }
21711 if test $gcc_cv_math_func_sin = yes; then
21713 cat >>confdefs.h
<<_ACEOF
21722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
21723 $as_echo_n "checking for sinl... " >&6; }
21724 if test "${gcc_cv_math_func_sinl+set}" = set; then :
21725 $as_echo_n "(cached) " >&6
21727 if test x
$gcc_no_link = xyes
; then
21728 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21731 /* end confdefs.h. */
21733 #ifdef HAVE_COMPLEX_H
21734 #include <complex.h>
21740 int (*ptr)() = (int (*)())sinl;
21749 if ac_fn_c_try_link
"$LINENO"; then :
21750 gcc_cv_math_func_sinl
=yes
21752 gcc_cv_math_func_sinl
=no
21754 rm -f core conftest.err conftest.
$ac_objext \
21755 conftest
$ac_exeext conftest.
$ac_ext
21757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
21758 $as_echo "$gcc_cv_math_func_sinl" >&6; }
21759 if test $gcc_cv_math_func_sinl = yes; then
21761 cat >>confdefs.h
<<_ACEOF
21762 #define HAVE_SINL 1
21770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
21771 $as_echo_n "checking for csinf... " >&6; }
21772 if test "${gcc_cv_math_func_csinf+set}" = set; then :
21773 $as_echo_n "(cached) " >&6
21775 if test x
$gcc_no_link = xyes
; then
21776 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21779 /* end confdefs.h. */
21781 #ifdef HAVE_COMPLEX_H
21782 #include <complex.h>
21788 int (*ptr)() = (int (*)())csinf;
21797 if ac_fn_c_try_link
"$LINENO"; then :
21798 gcc_cv_math_func_csinf
=yes
21800 gcc_cv_math_func_csinf
=no
21802 rm -f core conftest.err conftest.
$ac_objext \
21803 conftest
$ac_exeext conftest.
$ac_ext
21805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
21806 $as_echo "$gcc_cv_math_func_csinf" >&6; }
21807 if test $gcc_cv_math_func_csinf = yes; then
21809 cat >>confdefs.h
<<_ACEOF
21810 #define HAVE_CSINF 1
21818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
21819 $as_echo_n "checking for csin... " >&6; }
21820 if test "${gcc_cv_math_func_csin+set}" = set; then :
21821 $as_echo_n "(cached) " >&6
21823 if test x
$gcc_no_link = xyes
; then
21824 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21827 /* end confdefs.h. */
21829 #ifdef HAVE_COMPLEX_H
21830 #include <complex.h>
21836 int (*ptr)() = (int (*)())csin;
21845 if ac_fn_c_try_link
"$LINENO"; then :
21846 gcc_cv_math_func_csin
=yes
21848 gcc_cv_math_func_csin
=no
21850 rm -f core conftest.err conftest.
$ac_objext \
21851 conftest
$ac_exeext conftest.
$ac_ext
21853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
21854 $as_echo "$gcc_cv_math_func_csin" >&6; }
21855 if test $gcc_cv_math_func_csin = yes; then
21857 cat >>confdefs.h
<<_ACEOF
21858 #define HAVE_CSIN 1
21866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
21867 $as_echo_n "checking for csinl... " >&6; }
21868 if test "${gcc_cv_math_func_csinl+set}" = set; then :
21869 $as_echo_n "(cached) " >&6
21871 if test x
$gcc_no_link = xyes
; then
21872 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21875 /* end confdefs.h. */
21877 #ifdef HAVE_COMPLEX_H
21878 #include <complex.h>
21884 int (*ptr)() = (int (*)())csinl;
21893 if ac_fn_c_try_link
"$LINENO"; then :
21894 gcc_cv_math_func_csinl
=yes
21896 gcc_cv_math_func_csinl
=no
21898 rm -f core conftest.err conftest.
$ac_objext \
21899 conftest
$ac_exeext conftest.
$ac_ext
21901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
21902 $as_echo "$gcc_cv_math_func_csinl" >&6; }
21903 if test $gcc_cv_math_func_csinl = yes; then
21905 cat >>confdefs.h
<<_ACEOF
21906 #define HAVE_CSINL 1
21914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
21915 $as_echo_n "checking for sinhf... " >&6; }
21916 if test "${gcc_cv_math_func_sinhf+set}" = set; then :
21917 $as_echo_n "(cached) " >&6
21919 if test x
$gcc_no_link = xyes
; then
21920 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21923 /* end confdefs.h. */
21925 #ifdef HAVE_COMPLEX_H
21926 #include <complex.h>
21932 int (*ptr)() = (int (*)())sinhf;
21941 if ac_fn_c_try_link
"$LINENO"; then :
21942 gcc_cv_math_func_sinhf
=yes
21944 gcc_cv_math_func_sinhf
=no
21946 rm -f core conftest.err conftest.
$ac_objext \
21947 conftest
$ac_exeext conftest.
$ac_ext
21949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
21950 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
21951 if test $gcc_cv_math_func_sinhf = yes; then
21953 cat >>confdefs.h
<<_ACEOF
21954 #define HAVE_SINHF 1
21962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
21963 $as_echo_n "checking for sinh... " >&6; }
21964 if test "${gcc_cv_math_func_sinh+set}" = set; then :
21965 $as_echo_n "(cached) " >&6
21967 if test x
$gcc_no_link = xyes
; then
21968 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21971 /* end confdefs.h. */
21973 #ifdef HAVE_COMPLEX_H
21974 #include <complex.h>
21980 int (*ptr)() = (int (*)())sinh;
21989 if ac_fn_c_try_link
"$LINENO"; then :
21990 gcc_cv_math_func_sinh
=yes
21992 gcc_cv_math_func_sinh
=no
21994 rm -f core conftest.err conftest.
$ac_objext \
21995 conftest
$ac_exeext conftest.
$ac_ext
21997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
21998 $as_echo "$gcc_cv_math_func_sinh" >&6; }
21999 if test $gcc_cv_math_func_sinh = yes; then
22001 cat >>confdefs.h
<<_ACEOF
22002 #define HAVE_SINH 1
22010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22011 $as_echo_n "checking for sinhl... " >&6; }
22012 if test "${gcc_cv_math_func_sinhl+set}" = set; then :
22013 $as_echo_n "(cached) " >&6
22015 if test x
$gcc_no_link = xyes
; then
22016 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22019 /* end confdefs.h. */
22021 #ifdef HAVE_COMPLEX_H
22022 #include <complex.h>
22028 int (*ptr)() = (int (*)())sinhl;
22037 if ac_fn_c_try_link
"$LINENO"; then :
22038 gcc_cv_math_func_sinhl
=yes
22040 gcc_cv_math_func_sinhl
=no
22042 rm -f core conftest.err conftest.
$ac_objext \
22043 conftest
$ac_exeext conftest.
$ac_ext
22045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22046 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22047 if test $gcc_cv_math_func_sinhl = yes; then
22049 cat >>confdefs.h
<<_ACEOF
22050 #define HAVE_SINHL 1
22058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22059 $as_echo_n "checking for csinhf... " >&6; }
22060 if test "${gcc_cv_math_func_csinhf+set}" = set; then :
22061 $as_echo_n "(cached) " >&6
22063 if test x
$gcc_no_link = xyes
; then
22064 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22067 /* end confdefs.h. */
22069 #ifdef HAVE_COMPLEX_H
22070 #include <complex.h>
22076 int (*ptr)() = (int (*)())csinhf;
22085 if ac_fn_c_try_link
"$LINENO"; then :
22086 gcc_cv_math_func_csinhf
=yes
22088 gcc_cv_math_func_csinhf
=no
22090 rm -f core conftest.err conftest.
$ac_objext \
22091 conftest
$ac_exeext conftest.
$ac_ext
22093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22094 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22095 if test $gcc_cv_math_func_csinhf = yes; then
22097 cat >>confdefs.h
<<_ACEOF
22098 #define HAVE_CSINHF 1
22106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22107 $as_echo_n "checking for csinh... " >&6; }
22108 if test "${gcc_cv_math_func_csinh+set}" = set; then :
22109 $as_echo_n "(cached) " >&6
22111 if test x
$gcc_no_link = xyes
; then
22112 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22115 /* end confdefs.h. */
22117 #ifdef HAVE_COMPLEX_H
22118 #include <complex.h>
22124 int (*ptr)() = (int (*)())csinh;
22133 if ac_fn_c_try_link
"$LINENO"; then :
22134 gcc_cv_math_func_csinh
=yes
22136 gcc_cv_math_func_csinh
=no
22138 rm -f core conftest.err conftest.
$ac_objext \
22139 conftest
$ac_exeext conftest.
$ac_ext
22141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22142 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22143 if test $gcc_cv_math_func_csinh = yes; then
22145 cat >>confdefs.h
<<_ACEOF
22146 #define HAVE_CSINH 1
22154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22155 $as_echo_n "checking for csinhl... " >&6; }
22156 if test "${gcc_cv_math_func_csinhl+set}" = set; then :
22157 $as_echo_n "(cached) " >&6
22159 if test x
$gcc_no_link = xyes
; then
22160 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22163 /* end confdefs.h. */
22165 #ifdef HAVE_COMPLEX_H
22166 #include <complex.h>
22172 int (*ptr)() = (int (*)())csinhl;
22181 if ac_fn_c_try_link
"$LINENO"; then :
22182 gcc_cv_math_func_csinhl
=yes
22184 gcc_cv_math_func_csinhl
=no
22186 rm -f core conftest.err conftest.
$ac_objext \
22187 conftest
$ac_exeext conftest.
$ac_ext
22189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22190 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22191 if test $gcc_cv_math_func_csinhl = yes; then
22193 cat >>confdefs.h
<<_ACEOF
22194 #define HAVE_CSINHL 1
22202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22203 $as_echo_n "checking for sqrtf... " >&6; }
22204 if test "${gcc_cv_math_func_sqrtf+set}" = set; then :
22205 $as_echo_n "(cached) " >&6
22207 if test x
$gcc_no_link = xyes
; then
22208 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22210 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22211 /* end confdefs.h. */
22213 #ifdef HAVE_COMPLEX_H
22214 #include <complex.h>
22220 int (*ptr)() = (int (*)())sqrtf;
22229 if ac_fn_c_try_link
"$LINENO"; then :
22230 gcc_cv_math_func_sqrtf
=yes
22232 gcc_cv_math_func_sqrtf
=no
22234 rm -f core conftest.err conftest.
$ac_objext \
22235 conftest
$ac_exeext conftest.
$ac_ext
22237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22238 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22239 if test $gcc_cv_math_func_sqrtf = yes; then
22241 cat >>confdefs.h
<<_ACEOF
22242 #define HAVE_SQRTF 1
22250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22251 $as_echo_n "checking for sqrt... " >&6; }
22252 if test "${gcc_cv_math_func_sqrt+set}" = set; then :
22253 $as_echo_n "(cached) " >&6
22255 if test x
$gcc_no_link = xyes
; then
22256 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22259 /* end confdefs.h. */
22261 #ifdef HAVE_COMPLEX_H
22262 #include <complex.h>
22268 int (*ptr)() = (int (*)())sqrt;
22277 if ac_fn_c_try_link
"$LINENO"; then :
22278 gcc_cv_math_func_sqrt
=yes
22280 gcc_cv_math_func_sqrt
=no
22282 rm -f core conftest.err conftest.
$ac_objext \
22283 conftest
$ac_exeext conftest.
$ac_ext
22285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22286 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22287 if test $gcc_cv_math_func_sqrt = yes; then
22289 cat >>confdefs.h
<<_ACEOF
22290 #define HAVE_SQRT 1
22298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22299 $as_echo_n "checking for sqrtl... " >&6; }
22300 if test "${gcc_cv_math_func_sqrtl+set}" = set; then :
22301 $as_echo_n "(cached) " >&6
22303 if test x
$gcc_no_link = xyes
; then
22304 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22307 /* end confdefs.h. */
22309 #ifdef HAVE_COMPLEX_H
22310 #include <complex.h>
22316 int (*ptr)() = (int (*)())sqrtl;
22325 if ac_fn_c_try_link
"$LINENO"; then :
22326 gcc_cv_math_func_sqrtl
=yes
22328 gcc_cv_math_func_sqrtl
=no
22330 rm -f core conftest.err conftest.
$ac_objext \
22331 conftest
$ac_exeext conftest.
$ac_ext
22333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22334 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22335 if test $gcc_cv_math_func_sqrtl = yes; then
22337 cat >>confdefs.h
<<_ACEOF
22338 #define HAVE_SQRTL 1
22346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22347 $as_echo_n "checking for csqrtf... " >&6; }
22348 if test "${gcc_cv_math_func_csqrtf+set}" = set; then :
22349 $as_echo_n "(cached) " >&6
22351 if test x
$gcc_no_link = xyes
; then
22352 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22355 /* end confdefs.h. */
22357 #ifdef HAVE_COMPLEX_H
22358 #include <complex.h>
22364 int (*ptr)() = (int (*)())csqrtf;
22373 if ac_fn_c_try_link
"$LINENO"; then :
22374 gcc_cv_math_func_csqrtf
=yes
22376 gcc_cv_math_func_csqrtf
=no
22378 rm -f core conftest.err conftest.
$ac_objext \
22379 conftest
$ac_exeext conftest.
$ac_ext
22381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22382 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22383 if test $gcc_cv_math_func_csqrtf = yes; then
22385 cat >>confdefs.h
<<_ACEOF
22386 #define HAVE_CSQRTF 1
22394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22395 $as_echo_n "checking for csqrt... " >&6; }
22396 if test "${gcc_cv_math_func_csqrt+set}" = set; then :
22397 $as_echo_n "(cached) " >&6
22399 if test x
$gcc_no_link = xyes
; then
22400 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22403 /* end confdefs.h. */
22405 #ifdef HAVE_COMPLEX_H
22406 #include <complex.h>
22412 int (*ptr)() = (int (*)())csqrt;
22421 if ac_fn_c_try_link
"$LINENO"; then :
22422 gcc_cv_math_func_csqrt
=yes
22424 gcc_cv_math_func_csqrt
=no
22426 rm -f core conftest.err conftest.
$ac_objext \
22427 conftest
$ac_exeext conftest.
$ac_ext
22429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22430 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22431 if test $gcc_cv_math_func_csqrt = yes; then
22433 cat >>confdefs.h
<<_ACEOF
22434 #define HAVE_CSQRT 1
22442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22443 $as_echo_n "checking for csqrtl... " >&6; }
22444 if test "${gcc_cv_math_func_csqrtl+set}" = set; then :
22445 $as_echo_n "(cached) " >&6
22447 if test x
$gcc_no_link = xyes
; then
22448 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22451 /* end confdefs.h. */
22453 #ifdef HAVE_COMPLEX_H
22454 #include <complex.h>
22460 int (*ptr)() = (int (*)())csqrtl;
22469 if ac_fn_c_try_link
"$LINENO"; then :
22470 gcc_cv_math_func_csqrtl
=yes
22472 gcc_cv_math_func_csqrtl
=no
22474 rm -f core conftest.err conftest.
$ac_objext \
22475 conftest
$ac_exeext conftest.
$ac_ext
22477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22478 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22479 if test $gcc_cv_math_func_csqrtl = yes; then
22481 cat >>confdefs.h
<<_ACEOF
22482 #define HAVE_CSQRTL 1
22490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22491 $as_echo_n "checking for tanf... " >&6; }
22492 if test "${gcc_cv_math_func_tanf+set}" = set; then :
22493 $as_echo_n "(cached) " >&6
22495 if test x
$gcc_no_link = xyes
; then
22496 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22499 /* end confdefs.h. */
22501 #ifdef HAVE_COMPLEX_H
22502 #include <complex.h>
22508 int (*ptr)() = (int (*)())tanf;
22517 if ac_fn_c_try_link
"$LINENO"; then :
22518 gcc_cv_math_func_tanf
=yes
22520 gcc_cv_math_func_tanf
=no
22522 rm -f core conftest.err conftest.
$ac_objext \
22523 conftest
$ac_exeext conftest.
$ac_ext
22525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22526 $as_echo "$gcc_cv_math_func_tanf" >&6; }
22527 if test $gcc_cv_math_func_tanf = yes; then
22529 cat >>confdefs.h
<<_ACEOF
22530 #define HAVE_TANF 1
22538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22539 $as_echo_n "checking for tan... " >&6; }
22540 if test "${gcc_cv_math_func_tan+set}" = set; then :
22541 $as_echo_n "(cached) " >&6
22543 if test x
$gcc_no_link = xyes
; then
22544 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22547 /* end confdefs.h. */
22549 #ifdef HAVE_COMPLEX_H
22550 #include <complex.h>
22556 int (*ptr)() = (int (*)())tan;
22565 if ac_fn_c_try_link
"$LINENO"; then :
22566 gcc_cv_math_func_tan
=yes
22568 gcc_cv_math_func_tan
=no
22570 rm -f core conftest.err conftest.
$ac_objext \
22571 conftest
$ac_exeext conftest.
$ac_ext
22573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22574 $as_echo "$gcc_cv_math_func_tan" >&6; }
22575 if test $gcc_cv_math_func_tan = yes; then
22577 cat >>confdefs.h
<<_ACEOF
22586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22587 $as_echo_n "checking for tanl... " >&6; }
22588 if test "${gcc_cv_math_func_tanl+set}" = set; then :
22589 $as_echo_n "(cached) " >&6
22591 if test x
$gcc_no_link = xyes
; then
22592 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22595 /* end confdefs.h. */
22597 #ifdef HAVE_COMPLEX_H
22598 #include <complex.h>
22604 int (*ptr)() = (int (*)())tanl;
22613 if ac_fn_c_try_link
"$LINENO"; then :
22614 gcc_cv_math_func_tanl
=yes
22616 gcc_cv_math_func_tanl
=no
22618 rm -f core conftest.err conftest.
$ac_objext \
22619 conftest
$ac_exeext conftest.
$ac_ext
22621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22622 $as_echo "$gcc_cv_math_func_tanl" >&6; }
22623 if test $gcc_cv_math_func_tanl = yes; then
22625 cat >>confdefs.h
<<_ACEOF
22626 #define HAVE_TANL 1
22634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22635 $as_echo_n "checking for ctanf... " >&6; }
22636 if test "${gcc_cv_math_func_ctanf+set}" = set; then :
22637 $as_echo_n "(cached) " >&6
22639 if test x
$gcc_no_link = xyes
; then
22640 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22643 /* end confdefs.h. */
22645 #ifdef HAVE_COMPLEX_H
22646 #include <complex.h>
22652 int (*ptr)() = (int (*)())ctanf;
22661 if ac_fn_c_try_link
"$LINENO"; then :
22662 gcc_cv_math_func_ctanf
=yes
22664 gcc_cv_math_func_ctanf
=no
22666 rm -f core conftest.err conftest.
$ac_objext \
22667 conftest
$ac_exeext conftest.
$ac_ext
22669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22670 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
22671 if test $gcc_cv_math_func_ctanf = yes; then
22673 cat >>confdefs.h
<<_ACEOF
22674 #define HAVE_CTANF 1
22682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22683 $as_echo_n "checking for ctan... " >&6; }
22684 if test "${gcc_cv_math_func_ctan+set}" = set; then :
22685 $as_echo_n "(cached) " >&6
22687 if test x
$gcc_no_link = xyes
; then
22688 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22691 /* end confdefs.h. */
22693 #ifdef HAVE_COMPLEX_H
22694 #include <complex.h>
22700 int (*ptr)() = (int (*)())ctan;
22709 if ac_fn_c_try_link
"$LINENO"; then :
22710 gcc_cv_math_func_ctan
=yes
22712 gcc_cv_math_func_ctan
=no
22714 rm -f core conftest.err conftest.
$ac_objext \
22715 conftest
$ac_exeext conftest.
$ac_ext
22717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
22718 $as_echo "$gcc_cv_math_func_ctan" >&6; }
22719 if test $gcc_cv_math_func_ctan = yes; then
22721 cat >>confdefs.h
<<_ACEOF
22722 #define HAVE_CTAN 1
22730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
22731 $as_echo_n "checking for ctanl... " >&6; }
22732 if test "${gcc_cv_math_func_ctanl+set}" = set; then :
22733 $as_echo_n "(cached) " >&6
22735 if test x
$gcc_no_link = xyes
; then
22736 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22739 /* end confdefs.h. */
22741 #ifdef HAVE_COMPLEX_H
22742 #include <complex.h>
22748 int (*ptr)() = (int (*)())ctanl;
22757 if ac_fn_c_try_link
"$LINENO"; then :
22758 gcc_cv_math_func_ctanl
=yes
22760 gcc_cv_math_func_ctanl
=no
22762 rm -f core conftest.err conftest.
$ac_objext \
22763 conftest
$ac_exeext conftest.
$ac_ext
22765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
22766 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
22767 if test $gcc_cv_math_func_ctanl = yes; then
22769 cat >>confdefs.h
<<_ACEOF
22770 #define HAVE_CTANL 1
22778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
22779 $as_echo_n "checking for tanhf... " >&6; }
22780 if test "${gcc_cv_math_func_tanhf+set}" = set; then :
22781 $as_echo_n "(cached) " >&6
22783 if test x
$gcc_no_link = xyes
; then
22784 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22787 /* end confdefs.h. */
22789 #ifdef HAVE_COMPLEX_H
22790 #include <complex.h>
22796 int (*ptr)() = (int (*)())tanhf;
22805 if ac_fn_c_try_link
"$LINENO"; then :
22806 gcc_cv_math_func_tanhf
=yes
22808 gcc_cv_math_func_tanhf
=no
22810 rm -f core conftest.err conftest.
$ac_objext \
22811 conftest
$ac_exeext conftest.
$ac_ext
22813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
22814 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
22815 if test $gcc_cv_math_func_tanhf = yes; then
22817 cat >>confdefs.h
<<_ACEOF
22818 #define HAVE_TANHF 1
22826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
22827 $as_echo_n "checking for tanh... " >&6; }
22828 if test "${gcc_cv_math_func_tanh+set}" = set; then :
22829 $as_echo_n "(cached) " >&6
22831 if test x
$gcc_no_link = xyes
; then
22832 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22835 /* end confdefs.h. */
22837 #ifdef HAVE_COMPLEX_H
22838 #include <complex.h>
22844 int (*ptr)() = (int (*)())tanh;
22853 if ac_fn_c_try_link
"$LINENO"; then :
22854 gcc_cv_math_func_tanh
=yes
22856 gcc_cv_math_func_tanh
=no
22858 rm -f core conftest.err conftest.
$ac_objext \
22859 conftest
$ac_exeext conftest.
$ac_ext
22861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
22862 $as_echo "$gcc_cv_math_func_tanh" >&6; }
22863 if test $gcc_cv_math_func_tanh = yes; then
22865 cat >>confdefs.h
<<_ACEOF
22866 #define HAVE_TANH 1
22874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
22875 $as_echo_n "checking for tanhl... " >&6; }
22876 if test "${gcc_cv_math_func_tanhl+set}" = set; then :
22877 $as_echo_n "(cached) " >&6
22879 if test x
$gcc_no_link = xyes
; then
22880 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22883 /* end confdefs.h. */
22885 #ifdef HAVE_COMPLEX_H
22886 #include <complex.h>
22892 int (*ptr)() = (int (*)())tanhl;
22901 if ac_fn_c_try_link
"$LINENO"; then :
22902 gcc_cv_math_func_tanhl
=yes
22904 gcc_cv_math_func_tanhl
=no
22906 rm -f core conftest.err conftest.
$ac_objext \
22907 conftest
$ac_exeext conftest.
$ac_ext
22909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
22910 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
22911 if test $gcc_cv_math_func_tanhl = yes; then
22913 cat >>confdefs.h
<<_ACEOF
22914 #define HAVE_TANHL 1
22922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
22923 $as_echo_n "checking for ctanhf... " >&6; }
22924 if test "${gcc_cv_math_func_ctanhf+set}" = set; then :
22925 $as_echo_n "(cached) " >&6
22927 if test x
$gcc_no_link = xyes
; then
22928 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22931 /* end confdefs.h. */
22933 #ifdef HAVE_COMPLEX_H
22934 #include <complex.h>
22940 int (*ptr)() = (int (*)())ctanhf;
22949 if ac_fn_c_try_link
"$LINENO"; then :
22950 gcc_cv_math_func_ctanhf
=yes
22952 gcc_cv_math_func_ctanhf
=no
22954 rm -f core conftest.err conftest.
$ac_objext \
22955 conftest
$ac_exeext conftest.
$ac_ext
22957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
22958 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
22959 if test $gcc_cv_math_func_ctanhf = yes; then
22961 cat >>confdefs.h
<<_ACEOF
22962 #define HAVE_CTANHF 1
22970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
22971 $as_echo_n "checking for ctanh... " >&6; }
22972 if test "${gcc_cv_math_func_ctanh+set}" = set; then :
22973 $as_echo_n "(cached) " >&6
22975 if test x
$gcc_no_link = xyes
; then
22976 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22979 /* end confdefs.h. */
22981 #ifdef HAVE_COMPLEX_H
22982 #include <complex.h>
22988 int (*ptr)() = (int (*)())ctanh;
22997 if ac_fn_c_try_link
"$LINENO"; then :
22998 gcc_cv_math_func_ctanh
=yes
23000 gcc_cv_math_func_ctanh
=no
23002 rm -f core conftest.err conftest.
$ac_objext \
23003 conftest
$ac_exeext conftest.
$ac_ext
23005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23006 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23007 if test $gcc_cv_math_func_ctanh = yes; then
23009 cat >>confdefs.h
<<_ACEOF
23010 #define HAVE_CTANH 1
23018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23019 $as_echo_n "checking for ctanhl... " >&6; }
23020 if test "${gcc_cv_math_func_ctanhl+set}" = set; then :
23021 $as_echo_n "(cached) " >&6
23023 if test x
$gcc_no_link = xyes
; then
23024 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23027 /* end confdefs.h. */
23029 #ifdef HAVE_COMPLEX_H
23030 #include <complex.h>
23036 int (*ptr)() = (int (*)())ctanhl;
23045 if ac_fn_c_try_link
"$LINENO"; then :
23046 gcc_cv_math_func_ctanhl
=yes
23048 gcc_cv_math_func_ctanhl
=no
23050 rm -f core conftest.err conftest.
$ac_objext \
23051 conftest
$ac_exeext conftest.
$ac_ext
23053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23054 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23055 if test $gcc_cv_math_func_ctanhl = yes; then
23057 cat >>confdefs.h
<<_ACEOF
23058 #define HAVE_CTANHL 1
23066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23067 $as_echo_n "checking for truncf... " >&6; }
23068 if test "${gcc_cv_math_func_truncf+set}" = set; then :
23069 $as_echo_n "(cached) " >&6
23071 if test x
$gcc_no_link = xyes
; then
23072 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23075 /* end confdefs.h. */
23077 #ifdef HAVE_COMPLEX_H
23078 #include <complex.h>
23084 int (*ptr)() = (int (*)())truncf;
23093 if ac_fn_c_try_link
"$LINENO"; then :
23094 gcc_cv_math_func_truncf
=yes
23096 gcc_cv_math_func_truncf
=no
23098 rm -f core conftest.err conftest.
$ac_objext \
23099 conftest
$ac_exeext conftest.
$ac_ext
23101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23102 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23103 if test $gcc_cv_math_func_truncf = yes; then
23105 cat >>confdefs.h
<<_ACEOF
23106 #define HAVE_TRUNCF 1
23114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23115 $as_echo_n "checking for trunc... " >&6; }
23116 if test "${gcc_cv_math_func_trunc+set}" = set; then :
23117 $as_echo_n "(cached) " >&6
23119 if test x
$gcc_no_link = xyes
; then
23120 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23123 /* end confdefs.h. */
23125 #ifdef HAVE_COMPLEX_H
23126 #include <complex.h>
23132 int (*ptr)() = (int (*)())trunc;
23141 if ac_fn_c_try_link
"$LINENO"; then :
23142 gcc_cv_math_func_trunc
=yes
23144 gcc_cv_math_func_trunc
=no
23146 rm -f core conftest.err conftest.
$ac_objext \
23147 conftest
$ac_exeext conftest.
$ac_ext
23149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23150 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23151 if test $gcc_cv_math_func_trunc = yes; then
23153 cat >>confdefs.h
<<_ACEOF
23154 #define HAVE_TRUNC 1
23162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23163 $as_echo_n "checking for truncl... " >&6; }
23164 if test "${gcc_cv_math_func_truncl+set}" = set; then :
23165 $as_echo_n "(cached) " >&6
23167 if test x
$gcc_no_link = xyes
; then
23168 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23171 /* end confdefs.h. */
23173 #ifdef HAVE_COMPLEX_H
23174 #include <complex.h>
23180 int (*ptr)() = (int (*)())truncl;
23189 if ac_fn_c_try_link
"$LINENO"; then :
23190 gcc_cv_math_func_truncl
=yes
23192 gcc_cv_math_func_truncl
=no
23194 rm -f core conftest.err conftest.
$ac_objext \
23195 conftest
$ac_exeext conftest.
$ac_ext
23197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23198 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23199 if test $gcc_cv_math_func_truncl = yes; then
23201 cat >>confdefs.h
<<_ACEOF
23202 #define HAVE_TRUNCL 1
23210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23211 $as_echo_n "checking for erff... " >&6; }
23212 if test "${gcc_cv_math_func_erff+set}" = set; then :
23213 $as_echo_n "(cached) " >&6
23215 if test x
$gcc_no_link = xyes
; then
23216 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23219 /* end confdefs.h. */
23221 #ifdef HAVE_COMPLEX_H
23222 #include <complex.h>
23228 int (*ptr)() = (int (*)())erff;
23237 if ac_fn_c_try_link
"$LINENO"; then :
23238 gcc_cv_math_func_erff
=yes
23240 gcc_cv_math_func_erff
=no
23242 rm -f core conftest.err conftest.
$ac_objext \
23243 conftest
$ac_exeext conftest.
$ac_ext
23245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23246 $as_echo "$gcc_cv_math_func_erff" >&6; }
23247 if test $gcc_cv_math_func_erff = yes; then
23249 cat >>confdefs.h
<<_ACEOF
23250 #define HAVE_ERFF 1
23258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23259 $as_echo_n "checking for erf... " >&6; }
23260 if test "${gcc_cv_math_func_erf+set}" = set; then :
23261 $as_echo_n "(cached) " >&6
23263 if test x
$gcc_no_link = xyes
; then
23264 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23267 /* end confdefs.h. */
23269 #ifdef HAVE_COMPLEX_H
23270 #include <complex.h>
23276 int (*ptr)() = (int (*)())erf;
23285 if ac_fn_c_try_link
"$LINENO"; then :
23286 gcc_cv_math_func_erf
=yes
23288 gcc_cv_math_func_erf
=no
23290 rm -f core conftest.err conftest.
$ac_objext \
23291 conftest
$ac_exeext conftest.
$ac_ext
23293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23294 $as_echo "$gcc_cv_math_func_erf" >&6; }
23295 if test $gcc_cv_math_func_erf = yes; then
23297 cat >>confdefs.h
<<_ACEOF
23306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl" >&5
23307 $as_echo_n "checking for erfl... " >&6; }
23308 if test "${gcc_cv_math_func_erfl+set}" = set; then :
23309 $as_echo_n "(cached) " >&6
23311 if test x
$gcc_no_link = xyes
; then
23312 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23315 /* end confdefs.h. */
23317 #ifdef HAVE_COMPLEX_H
23318 #include <complex.h>
23324 int (*ptr)() = (int (*)())erfl;
23333 if ac_fn_c_try_link
"$LINENO"; then :
23334 gcc_cv_math_func_erfl
=yes
23336 gcc_cv_math_func_erfl
=no
23338 rm -f core conftest.err conftest.
$ac_objext \
23339 conftest
$ac_exeext conftest.
$ac_ext
23341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfl" >&5
23342 $as_echo "$gcc_cv_math_func_erfl" >&6; }
23343 if test $gcc_cv_math_func_erfl = yes; then
23345 cat >>confdefs.h
<<_ACEOF
23346 #define HAVE_ERFL 1
23354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23355 $as_echo_n "checking for erfcf... " >&6; }
23356 if test "${gcc_cv_math_func_erfcf+set}" = set; then :
23357 $as_echo_n "(cached) " >&6
23359 if test x
$gcc_no_link = xyes
; then
23360 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23363 /* end confdefs.h. */
23365 #ifdef HAVE_COMPLEX_H
23366 #include <complex.h>
23372 int (*ptr)() = (int (*)())erfcf;
23381 if ac_fn_c_try_link
"$LINENO"; then :
23382 gcc_cv_math_func_erfcf
=yes
23384 gcc_cv_math_func_erfcf
=no
23386 rm -f core conftest.err conftest.
$ac_objext \
23387 conftest
$ac_exeext conftest.
$ac_ext
23389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23390 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23391 if test $gcc_cv_math_func_erfcf = yes; then
23393 cat >>confdefs.h
<<_ACEOF
23394 #define HAVE_ERFCF 1
23402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23403 $as_echo_n "checking for erfc... " >&6; }
23404 if test "${gcc_cv_math_func_erfc+set}" = set; then :
23405 $as_echo_n "(cached) " >&6
23407 if test x
$gcc_no_link = xyes
; then
23408 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23411 /* end confdefs.h. */
23413 #ifdef HAVE_COMPLEX_H
23414 #include <complex.h>
23420 int (*ptr)() = (int (*)())erfc;
23429 if ac_fn_c_try_link
"$LINENO"; then :
23430 gcc_cv_math_func_erfc
=yes
23432 gcc_cv_math_func_erfc
=no
23434 rm -f core conftest.err conftest.
$ac_objext \
23435 conftest
$ac_exeext conftest.
$ac_ext
23437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23438 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23439 if test $gcc_cv_math_func_erfc = yes; then
23441 cat >>confdefs.h
<<_ACEOF
23442 #define HAVE_ERFC 1
23450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23451 $as_echo_n "checking for erfcl... " >&6; }
23452 if test "${gcc_cv_math_func_erfcl+set}" = set; then :
23453 $as_echo_n "(cached) " >&6
23455 if test x
$gcc_no_link = xyes
; then
23456 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23459 /* end confdefs.h. */
23461 #ifdef HAVE_COMPLEX_H
23462 #include <complex.h>
23468 int (*ptr)() = (int (*)())erfcl;
23477 if ac_fn_c_try_link
"$LINENO"; then :
23478 gcc_cv_math_func_erfcl
=yes
23480 gcc_cv_math_func_erfcl
=no
23482 rm -f core conftest.err conftest.
$ac_objext \
23483 conftest
$ac_exeext conftest.
$ac_ext
23485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23486 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23487 if test $gcc_cv_math_func_erfcl = yes; then
23489 cat >>confdefs.h
<<_ACEOF
23490 #define HAVE_ERFCL 1
23498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23499 $as_echo_n "checking for j0f... " >&6; }
23500 if test "${gcc_cv_math_func_j0f+set}" = set; then :
23501 $as_echo_n "(cached) " >&6
23503 if test x
$gcc_no_link = xyes
; then
23504 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23507 /* end confdefs.h. */
23509 #ifdef HAVE_COMPLEX_H
23510 #include <complex.h>
23516 int (*ptr)() = (int (*)())j0f;
23525 if ac_fn_c_try_link
"$LINENO"; then :
23526 gcc_cv_math_func_j0f
=yes
23528 gcc_cv_math_func_j0f
=no
23530 rm -f core conftest.err conftest.
$ac_objext \
23531 conftest
$ac_exeext conftest.
$ac_ext
23533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23534 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23535 if test $gcc_cv_math_func_j0f = yes; then
23537 cat >>confdefs.h
<<_ACEOF
23546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23547 $as_echo_n "checking for j0... " >&6; }
23548 if test "${gcc_cv_math_func_j0+set}" = set; then :
23549 $as_echo_n "(cached) " >&6
23551 if test x
$gcc_no_link = xyes
; then
23552 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23555 /* end confdefs.h. */
23557 #ifdef HAVE_COMPLEX_H
23558 #include <complex.h>
23564 int (*ptr)() = (int (*)())j0;
23573 if ac_fn_c_try_link
"$LINENO"; then :
23574 gcc_cv_math_func_j0
=yes
23576 gcc_cv_math_func_j0
=no
23578 rm -f core conftest.err conftest.
$ac_objext \
23579 conftest
$ac_exeext conftest.
$ac_ext
23581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23582 $as_echo "$gcc_cv_math_func_j0" >&6; }
23583 if test $gcc_cv_math_func_j0 = yes; then
23585 cat >>confdefs.h
<<_ACEOF
23594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l" >&5
23595 $as_echo_n "checking for j0l... " >&6; }
23596 if test "${gcc_cv_math_func_j0l+set}" = set; then :
23597 $as_echo_n "(cached) " >&6
23599 if test x
$gcc_no_link = xyes
; then
23600 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23603 /* end confdefs.h. */
23605 #ifdef HAVE_COMPLEX_H
23606 #include <complex.h>
23612 int (*ptr)() = (int (*)())j0l;
23621 if ac_fn_c_try_link
"$LINENO"; then :
23622 gcc_cv_math_func_j0l
=yes
23624 gcc_cv_math_func_j0l
=no
23626 rm -f core conftest.err conftest.
$ac_objext \
23627 conftest
$ac_exeext conftest.
$ac_ext
23629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0l" >&5
23630 $as_echo "$gcc_cv_math_func_j0l" >&6; }
23631 if test $gcc_cv_math_func_j0l = yes; then
23633 cat >>confdefs.h
<<_ACEOF
23642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23643 $as_echo_n "checking for j1f... " >&6; }
23644 if test "${gcc_cv_math_func_j1f+set}" = set; then :
23645 $as_echo_n "(cached) " >&6
23647 if test x
$gcc_no_link = xyes
; then
23648 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23651 /* end confdefs.h. */
23653 #ifdef HAVE_COMPLEX_H
23654 #include <complex.h>
23660 int (*ptr)() = (int (*)())j1f;
23669 if ac_fn_c_try_link
"$LINENO"; then :
23670 gcc_cv_math_func_j1f
=yes
23672 gcc_cv_math_func_j1f
=no
23674 rm -f core conftest.err conftest.
$ac_objext \
23675 conftest
$ac_exeext conftest.
$ac_ext
23677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23678 $as_echo "$gcc_cv_math_func_j1f" >&6; }
23679 if test $gcc_cv_math_func_j1f = yes; then
23681 cat >>confdefs.h
<<_ACEOF
23690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23691 $as_echo_n "checking for j1... " >&6; }
23692 if test "${gcc_cv_math_func_j1+set}" = set; then :
23693 $as_echo_n "(cached) " >&6
23695 if test x
$gcc_no_link = xyes
; then
23696 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23699 /* end confdefs.h. */
23701 #ifdef HAVE_COMPLEX_H
23702 #include <complex.h>
23708 int (*ptr)() = (int (*)())j1;
23717 if ac_fn_c_try_link
"$LINENO"; then :
23718 gcc_cv_math_func_j1
=yes
23720 gcc_cv_math_func_j1
=no
23722 rm -f core conftest.err conftest.
$ac_objext \
23723 conftest
$ac_exeext conftest.
$ac_ext
23725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23726 $as_echo "$gcc_cv_math_func_j1" >&6; }
23727 if test $gcc_cv_math_func_j1 = yes; then
23729 cat >>confdefs.h
<<_ACEOF
23738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l" >&5
23739 $as_echo_n "checking for j1l... " >&6; }
23740 if test "${gcc_cv_math_func_j1l+set}" = set; then :
23741 $as_echo_n "(cached) " >&6
23743 if test x
$gcc_no_link = xyes
; then
23744 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23747 /* end confdefs.h. */
23749 #ifdef HAVE_COMPLEX_H
23750 #include <complex.h>
23756 int (*ptr)() = (int (*)())j1l;
23765 if ac_fn_c_try_link
"$LINENO"; then :
23766 gcc_cv_math_func_j1l
=yes
23768 gcc_cv_math_func_j1l
=no
23770 rm -f core conftest.err conftest.
$ac_objext \
23771 conftest
$ac_exeext conftest.
$ac_ext
23773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1l" >&5
23774 $as_echo "$gcc_cv_math_func_j1l" >&6; }
23775 if test $gcc_cv_math_func_j1l = yes; then
23777 cat >>confdefs.h
<<_ACEOF
23786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23787 $as_echo_n "checking for jnf... " >&6; }
23788 if test "${gcc_cv_math_func_jnf+set}" = set; then :
23789 $as_echo_n "(cached) " >&6
23791 if test x
$gcc_no_link = xyes
; then
23792 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23795 /* end confdefs.h. */
23797 #ifdef HAVE_COMPLEX_H
23798 #include <complex.h>
23804 int (*ptr)() = (int (*)())jnf;
23813 if ac_fn_c_try_link
"$LINENO"; then :
23814 gcc_cv_math_func_jnf
=yes
23816 gcc_cv_math_func_jnf
=no
23818 rm -f core conftest.err conftest.
$ac_objext \
23819 conftest
$ac_exeext conftest.
$ac_ext
23821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23822 $as_echo "$gcc_cv_math_func_jnf" >&6; }
23823 if test $gcc_cv_math_func_jnf = yes; then
23825 cat >>confdefs.h
<<_ACEOF
23834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
23835 $as_echo_n "checking for jn... " >&6; }
23836 if test "${gcc_cv_math_func_jn+set}" = set; then :
23837 $as_echo_n "(cached) " >&6
23839 if test x
$gcc_no_link = xyes
; then
23840 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23843 /* end confdefs.h. */
23845 #ifdef HAVE_COMPLEX_H
23846 #include <complex.h>
23852 int (*ptr)() = (int (*)())jn;
23861 if ac_fn_c_try_link
"$LINENO"; then :
23862 gcc_cv_math_func_jn
=yes
23864 gcc_cv_math_func_jn
=no
23866 rm -f core conftest.err conftest.
$ac_objext \
23867 conftest
$ac_exeext conftest.
$ac_ext
23869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
23870 $as_echo "$gcc_cv_math_func_jn" >&6; }
23871 if test $gcc_cv_math_func_jn = yes; then
23873 cat >>confdefs.h
<<_ACEOF
23882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
23883 $as_echo_n "checking for jnl... " >&6; }
23884 if test "${gcc_cv_math_func_jnl+set}" = set; then :
23885 $as_echo_n "(cached) " >&6
23887 if test x
$gcc_no_link = xyes
; then
23888 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23891 /* end confdefs.h. */
23893 #ifdef HAVE_COMPLEX_H
23894 #include <complex.h>
23900 int (*ptr)() = (int (*)())jnl;
23909 if ac_fn_c_try_link
"$LINENO"; then :
23910 gcc_cv_math_func_jnl
=yes
23912 gcc_cv_math_func_jnl
=no
23914 rm -f core conftest.err conftest.
$ac_objext \
23915 conftest
$ac_exeext conftest.
$ac_ext
23917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
23918 $as_echo "$gcc_cv_math_func_jnl" >&6; }
23919 if test $gcc_cv_math_func_jnl = yes; then
23921 cat >>confdefs.h
<<_ACEOF
23930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
23931 $as_echo_n "checking for y0f... " >&6; }
23932 if test "${gcc_cv_math_func_y0f+set}" = set; then :
23933 $as_echo_n "(cached) " >&6
23935 if test x
$gcc_no_link = xyes
; then
23936 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23939 /* end confdefs.h. */
23941 #ifdef HAVE_COMPLEX_H
23942 #include <complex.h>
23948 int (*ptr)() = (int (*)())y0f;
23957 if ac_fn_c_try_link
"$LINENO"; then :
23958 gcc_cv_math_func_y0f
=yes
23960 gcc_cv_math_func_y0f
=no
23962 rm -f core conftest.err conftest.
$ac_objext \
23963 conftest
$ac_exeext conftest.
$ac_ext
23965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
23966 $as_echo "$gcc_cv_math_func_y0f" >&6; }
23967 if test $gcc_cv_math_func_y0f = yes; then
23969 cat >>confdefs.h
<<_ACEOF
23978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
23979 $as_echo_n "checking for y0... " >&6; }
23980 if test "${gcc_cv_math_func_y0+set}" = set; then :
23981 $as_echo_n "(cached) " >&6
23983 if test x
$gcc_no_link = xyes
; then
23984 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23987 /* end confdefs.h. */
23989 #ifdef HAVE_COMPLEX_H
23990 #include <complex.h>
23996 int (*ptr)() = (int (*)())y0;
24005 if ac_fn_c_try_link
"$LINENO"; then :
24006 gcc_cv_math_func_y0
=yes
24008 gcc_cv_math_func_y0
=no
24010 rm -f core conftest.err conftest.
$ac_objext \
24011 conftest
$ac_exeext conftest.
$ac_ext
24013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24014 $as_echo "$gcc_cv_math_func_y0" >&6; }
24015 if test $gcc_cv_math_func_y0 = yes; then
24017 cat >>confdefs.h
<<_ACEOF
24026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l" >&5
24027 $as_echo_n "checking for y0l... " >&6; }
24028 if test "${gcc_cv_math_func_y0l+set}" = set; then :
24029 $as_echo_n "(cached) " >&6
24031 if test x
$gcc_no_link = xyes
; then
24032 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24035 /* end confdefs.h. */
24037 #ifdef HAVE_COMPLEX_H
24038 #include <complex.h>
24044 int (*ptr)() = (int (*)())y0l;
24053 if ac_fn_c_try_link
"$LINENO"; then :
24054 gcc_cv_math_func_y0l
=yes
24056 gcc_cv_math_func_y0l
=no
24058 rm -f core conftest.err conftest.
$ac_objext \
24059 conftest
$ac_exeext conftest.
$ac_ext
24061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0l" >&5
24062 $as_echo "$gcc_cv_math_func_y0l" >&6; }
24063 if test $gcc_cv_math_func_y0l = yes; then
24065 cat >>confdefs.h
<<_ACEOF
24074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24075 $as_echo_n "checking for y1f... " >&6; }
24076 if test "${gcc_cv_math_func_y1f+set}" = set; then :
24077 $as_echo_n "(cached) " >&6
24079 if test x
$gcc_no_link = xyes
; then
24080 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24083 /* end confdefs.h. */
24085 #ifdef HAVE_COMPLEX_H
24086 #include <complex.h>
24092 int (*ptr)() = (int (*)())y1f;
24101 if ac_fn_c_try_link
"$LINENO"; then :
24102 gcc_cv_math_func_y1f
=yes
24104 gcc_cv_math_func_y1f
=no
24106 rm -f core conftest.err conftest.
$ac_objext \
24107 conftest
$ac_exeext conftest.
$ac_ext
24109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24110 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24111 if test $gcc_cv_math_func_y1f = yes; then
24113 cat >>confdefs.h
<<_ACEOF
24122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24123 $as_echo_n "checking for y1... " >&6; }
24124 if test "${gcc_cv_math_func_y1+set}" = set; then :
24125 $as_echo_n "(cached) " >&6
24127 if test x
$gcc_no_link = xyes
; then
24128 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24131 /* end confdefs.h. */
24133 #ifdef HAVE_COMPLEX_H
24134 #include <complex.h>
24140 int (*ptr)() = (int (*)())y1;
24149 if ac_fn_c_try_link
"$LINENO"; then :
24150 gcc_cv_math_func_y1
=yes
24152 gcc_cv_math_func_y1
=no
24154 rm -f core conftest.err conftest.
$ac_objext \
24155 conftest
$ac_exeext conftest.
$ac_ext
24157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24158 $as_echo "$gcc_cv_math_func_y1" >&6; }
24159 if test $gcc_cv_math_func_y1 = yes; then
24161 cat >>confdefs.h
<<_ACEOF
24170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l" >&5
24171 $as_echo_n "checking for y1l... " >&6; }
24172 if test "${gcc_cv_math_func_y1l+set}" = set; then :
24173 $as_echo_n "(cached) " >&6
24175 if test x
$gcc_no_link = xyes
; then
24176 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24179 /* end confdefs.h. */
24181 #ifdef HAVE_COMPLEX_H
24182 #include <complex.h>
24188 int (*ptr)() = (int (*)())y1l;
24197 if ac_fn_c_try_link
"$LINENO"; then :
24198 gcc_cv_math_func_y1l
=yes
24200 gcc_cv_math_func_y1l
=no
24202 rm -f core conftest.err conftest.
$ac_objext \
24203 conftest
$ac_exeext conftest.
$ac_ext
24205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1l" >&5
24206 $as_echo "$gcc_cv_math_func_y1l" >&6; }
24207 if test $gcc_cv_math_func_y1l = yes; then
24209 cat >>confdefs.h
<<_ACEOF
24218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24219 $as_echo_n "checking for ynf... " >&6; }
24220 if test "${gcc_cv_math_func_ynf+set}" = set; then :
24221 $as_echo_n "(cached) " >&6
24223 if test x
$gcc_no_link = xyes
; then
24224 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24227 /* end confdefs.h. */
24229 #ifdef HAVE_COMPLEX_H
24230 #include <complex.h>
24236 int (*ptr)() = (int (*)())ynf;
24245 if ac_fn_c_try_link
"$LINENO"; then :
24246 gcc_cv_math_func_ynf
=yes
24248 gcc_cv_math_func_ynf
=no
24250 rm -f core conftest.err conftest.
$ac_objext \
24251 conftest
$ac_exeext conftest.
$ac_ext
24253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24254 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24255 if test $gcc_cv_math_func_ynf = yes; then
24257 cat >>confdefs.h
<<_ACEOF
24266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24267 $as_echo_n "checking for yn... " >&6; }
24268 if test "${gcc_cv_math_func_yn+set}" = set; then :
24269 $as_echo_n "(cached) " >&6
24271 if test x
$gcc_no_link = xyes
; then
24272 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24275 /* end confdefs.h. */
24277 #ifdef HAVE_COMPLEX_H
24278 #include <complex.h>
24284 int (*ptr)() = (int (*)())yn;
24293 if ac_fn_c_try_link
"$LINENO"; then :
24294 gcc_cv_math_func_yn
=yes
24296 gcc_cv_math_func_yn
=no
24298 rm -f core conftest.err conftest.
$ac_objext \
24299 conftest
$ac_exeext conftest.
$ac_ext
24301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24302 $as_echo "$gcc_cv_math_func_yn" >&6; }
24303 if test $gcc_cv_math_func_yn = yes; then
24305 cat >>confdefs.h
<<_ACEOF
24314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24315 $as_echo_n "checking for ynl... " >&6; }
24316 if test "${gcc_cv_math_func_ynl+set}" = set; then :
24317 $as_echo_n "(cached) " >&6
24319 if test x
$gcc_no_link = xyes
; then
24320 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24323 /* end confdefs.h. */
24325 #ifdef HAVE_COMPLEX_H
24326 #include <complex.h>
24332 int (*ptr)() = (int (*)())ynl;
24341 if ac_fn_c_try_link
"$LINENO"; then :
24342 gcc_cv_math_func_ynl
=yes
24344 gcc_cv_math_func_ynl
=no
24346 rm -f core conftest.err conftest.
$ac_objext \
24347 conftest
$ac_exeext conftest.
$ac_ext
24349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24350 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24351 if test $gcc_cv_math_func_ynl = yes; then
24353 cat >>confdefs.h
<<_ACEOF
24362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24363 $as_echo_n "checking for tgamma... " >&6; }
24364 if test "${gcc_cv_math_func_tgamma+set}" = set; then :
24365 $as_echo_n "(cached) " >&6
24367 if test x
$gcc_no_link = xyes
; then
24368 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24371 /* end confdefs.h. */
24373 #ifdef HAVE_COMPLEX_H
24374 #include <complex.h>
24380 int (*ptr)() = (int (*)())tgamma;
24389 if ac_fn_c_try_link
"$LINENO"; then :
24390 gcc_cv_math_func_tgamma
=yes
24392 gcc_cv_math_func_tgamma
=no
24394 rm -f core conftest.err conftest.
$ac_objext \
24395 conftest
$ac_exeext conftest.
$ac_ext
24397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24398 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24399 if test $gcc_cv_math_func_tgamma = yes; then
24401 cat >>confdefs.h
<<_ACEOF
24402 #define HAVE_TGAMMA 1
24410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24411 $as_echo_n "checking for tgammaf... " >&6; }
24412 if test "${gcc_cv_math_func_tgammaf+set}" = set; then :
24413 $as_echo_n "(cached) " >&6
24415 if test x
$gcc_no_link = xyes
; then
24416 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24419 /* end confdefs.h. */
24421 #ifdef HAVE_COMPLEX_H
24422 #include <complex.h>
24428 int (*ptr)() = (int (*)())tgammaf;
24437 if ac_fn_c_try_link
"$LINENO"; then :
24438 gcc_cv_math_func_tgammaf
=yes
24440 gcc_cv_math_func_tgammaf
=no
24442 rm -f core conftest.err conftest.
$ac_objext \
24443 conftest
$ac_exeext conftest.
$ac_ext
24445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24446 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24447 if test $gcc_cv_math_func_tgammaf = yes; then
24449 cat >>confdefs.h
<<_ACEOF
24450 #define HAVE_TGAMMAF 1
24458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal" >&5
24459 $as_echo_n "checking for tgammal... " >&6; }
24460 if test "${gcc_cv_math_func_tgammal+set}" = set; then :
24461 $as_echo_n "(cached) " >&6
24463 if test x
$gcc_no_link = xyes
; then
24464 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24467 /* end confdefs.h. */
24469 #ifdef HAVE_COMPLEX_H
24470 #include <complex.h>
24476 int (*ptr)() = (int (*)())tgammal;
24485 if ac_fn_c_try_link
"$LINENO"; then :
24486 gcc_cv_math_func_tgammal
=yes
24488 gcc_cv_math_func_tgammal
=no
24490 rm -f core conftest.err conftest.
$ac_objext \
24491 conftest
$ac_exeext conftest.
$ac_ext
24493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammal" >&5
24494 $as_echo "$gcc_cv_math_func_tgammal" >&6; }
24495 if test $gcc_cv_math_func_tgammal = yes; then
24497 cat >>confdefs.h
<<_ACEOF
24498 #define HAVE_TGAMMAL 1
24506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24507 $as_echo_n "checking for lgamma... " >&6; }
24508 if test "${gcc_cv_math_func_lgamma+set}" = set; then :
24509 $as_echo_n "(cached) " >&6
24511 if test x
$gcc_no_link = xyes
; then
24512 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24515 /* end confdefs.h. */
24517 #ifdef HAVE_COMPLEX_H
24518 #include <complex.h>
24524 int (*ptr)() = (int (*)())lgamma;
24533 if ac_fn_c_try_link
"$LINENO"; then :
24534 gcc_cv_math_func_lgamma
=yes
24536 gcc_cv_math_func_lgamma
=no
24538 rm -f core conftest.err conftest.
$ac_objext \
24539 conftest
$ac_exeext conftest.
$ac_ext
24541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24542 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24543 if test $gcc_cv_math_func_lgamma = yes; then
24545 cat >>confdefs.h
<<_ACEOF
24546 #define HAVE_LGAMMA 1
24554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24555 $as_echo_n "checking for lgammaf... " >&6; }
24556 if test "${gcc_cv_math_func_lgammaf+set}" = set; then :
24557 $as_echo_n "(cached) " >&6
24559 if test x
$gcc_no_link = xyes
; then
24560 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24563 /* end confdefs.h. */
24565 #ifdef HAVE_COMPLEX_H
24566 #include <complex.h>
24572 int (*ptr)() = (int (*)())lgammaf;
24581 if ac_fn_c_try_link
"$LINENO"; then :
24582 gcc_cv_math_func_lgammaf
=yes
24584 gcc_cv_math_func_lgammaf
=no
24586 rm -f core conftest.err conftest.
$ac_objext \
24587 conftest
$ac_exeext conftest.
$ac_ext
24589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24590 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24591 if test $gcc_cv_math_func_lgammaf = yes; then
24593 cat >>confdefs.h
<<_ACEOF
24594 #define HAVE_LGAMMAF 1
24602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal" >&5
24603 $as_echo_n "checking for lgammal... " >&6; }
24604 if test "${gcc_cv_math_func_lgammal+set}" = set; then :
24605 $as_echo_n "(cached) " >&6
24607 if test x
$gcc_no_link = xyes
; then
24608 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24611 /* end confdefs.h. */
24613 #ifdef HAVE_COMPLEX_H
24614 #include <complex.h>
24620 int (*ptr)() = (int (*)())lgammal;
24629 if ac_fn_c_try_link
"$LINENO"; then :
24630 gcc_cv_math_func_lgammal
=yes
24632 gcc_cv_math_func_lgammal
=no
24634 rm -f core conftest.err conftest.
$ac_objext \
24635 conftest
$ac_exeext conftest.
$ac_ext
24637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammal" >&5
24638 $as_echo "$gcc_cv_math_func_lgammal" >&6; }
24639 if test $gcc_cv_math_func_lgammal = yes; then
24641 cat >>confdefs.h
<<_ACEOF
24642 #define HAVE_LGAMMAL 1
24648 # Check for GFORTRAN_C99_1.1 funcs
24652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24653 $as_echo_n "checking for cacos... " >&6; }
24654 if test "${gcc_cv_math_func_cacos+set}" = set; then :
24655 $as_echo_n "(cached) " >&6
24657 if test x
$gcc_no_link = xyes
; then
24658 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24661 /* end confdefs.h. */
24663 #ifdef HAVE_COMPLEX_H
24664 #include <complex.h>
24670 int (*ptr)() = (int (*)())cacos;
24679 if ac_fn_c_try_link
"$LINENO"; then :
24680 gcc_cv_math_func_cacos
=yes
24682 gcc_cv_math_func_cacos
=no
24684 rm -f core conftest.err conftest.
$ac_objext \
24685 conftest
$ac_exeext conftest.
$ac_ext
24687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24688 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24689 if test $gcc_cv_math_func_cacos = yes; then
24691 cat >>confdefs.h
<<_ACEOF
24692 #define HAVE_CACOS 1
24700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24701 $as_echo_n "checking for cacosf... " >&6; }
24702 if test "${gcc_cv_math_func_cacosf+set}" = set; then :
24703 $as_echo_n "(cached) " >&6
24705 if test x
$gcc_no_link = xyes
; then
24706 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24709 /* end confdefs.h. */
24711 #ifdef HAVE_COMPLEX_H
24712 #include <complex.h>
24718 int (*ptr)() = (int (*)())cacosf;
24727 if ac_fn_c_try_link
"$LINENO"; then :
24728 gcc_cv_math_func_cacosf
=yes
24730 gcc_cv_math_func_cacosf
=no
24732 rm -f core conftest.err conftest.
$ac_objext \
24733 conftest
$ac_exeext conftest.
$ac_ext
24735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24736 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24737 if test $gcc_cv_math_func_cacosf = yes; then
24739 cat >>confdefs.h
<<_ACEOF
24740 #define HAVE_CACOSF 1
24748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24749 $as_echo_n "checking for cacosh... " >&6; }
24750 if test "${gcc_cv_math_func_cacosh+set}" = set; then :
24751 $as_echo_n "(cached) " >&6
24753 if test x
$gcc_no_link = xyes
; then
24754 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24757 /* end confdefs.h. */
24759 #ifdef HAVE_COMPLEX_H
24760 #include <complex.h>
24766 int (*ptr)() = (int (*)())cacosh;
24775 if ac_fn_c_try_link
"$LINENO"; then :
24776 gcc_cv_math_func_cacosh
=yes
24778 gcc_cv_math_func_cacosh
=no
24780 rm -f core conftest.err conftest.
$ac_objext \
24781 conftest
$ac_exeext conftest.
$ac_ext
24783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24784 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24785 if test $gcc_cv_math_func_cacosh = yes; then
24787 cat >>confdefs.h
<<_ACEOF
24788 #define HAVE_CACOSH 1
24796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24797 $as_echo_n "checking for cacoshf... " >&6; }
24798 if test "${gcc_cv_math_func_cacoshf+set}" = set; then :
24799 $as_echo_n "(cached) " >&6
24801 if test x
$gcc_no_link = xyes
; then
24802 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24805 /* end confdefs.h. */
24807 #ifdef HAVE_COMPLEX_H
24808 #include <complex.h>
24814 int (*ptr)() = (int (*)())cacoshf;
24823 if ac_fn_c_try_link
"$LINENO"; then :
24824 gcc_cv_math_func_cacoshf
=yes
24826 gcc_cv_math_func_cacoshf
=no
24828 rm -f core conftest.err conftest.
$ac_objext \
24829 conftest
$ac_exeext conftest.
$ac_ext
24831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24832 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24833 if test $gcc_cv_math_func_cacoshf = yes; then
24835 cat >>confdefs.h
<<_ACEOF
24836 #define HAVE_CACOSHF 1
24844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24845 $as_echo_n "checking for cacoshl... " >&6; }
24846 if test "${gcc_cv_math_func_cacoshl+set}" = set; then :
24847 $as_echo_n "(cached) " >&6
24849 if test x
$gcc_no_link = xyes
; then
24850 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24853 /* end confdefs.h. */
24855 #ifdef HAVE_COMPLEX_H
24856 #include <complex.h>
24862 int (*ptr)() = (int (*)())cacoshl;
24871 if ac_fn_c_try_link
"$LINENO"; then :
24872 gcc_cv_math_func_cacoshl
=yes
24874 gcc_cv_math_func_cacoshl
=no
24876 rm -f core conftest.err conftest.
$ac_objext \
24877 conftest
$ac_exeext conftest.
$ac_ext
24879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
24880 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24881 if test $gcc_cv_math_func_cacoshl = yes; then
24883 cat >>confdefs.h
<<_ACEOF
24884 #define HAVE_CACOSHL 1
24892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24893 $as_echo_n "checking for cacosl... " >&6; }
24894 if test "${gcc_cv_math_func_cacosl+set}" = set; then :
24895 $as_echo_n "(cached) " >&6
24897 if test x
$gcc_no_link = xyes
; then
24898 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24901 /* end confdefs.h. */
24903 #ifdef HAVE_COMPLEX_H
24904 #include <complex.h>
24910 int (*ptr)() = (int (*)())cacosl;
24919 if ac_fn_c_try_link
"$LINENO"; then :
24920 gcc_cv_math_func_cacosl
=yes
24922 gcc_cv_math_func_cacosl
=no
24924 rm -f core conftest.err conftest.
$ac_objext \
24925 conftest
$ac_exeext conftest.
$ac_ext
24927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
24928 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
24929 if test $gcc_cv_math_func_cacosl = yes; then
24931 cat >>confdefs.h
<<_ACEOF
24932 #define HAVE_CACOSL 1
24940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24941 $as_echo_n "checking for casin... " >&6; }
24942 if test "${gcc_cv_math_func_casin+set}" = set; then :
24943 $as_echo_n "(cached) " >&6
24945 if test x
$gcc_no_link = xyes
; then
24946 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24949 /* end confdefs.h. */
24951 #ifdef HAVE_COMPLEX_H
24952 #include <complex.h>
24958 int (*ptr)() = (int (*)())casin;
24967 if ac_fn_c_try_link
"$LINENO"; then :
24968 gcc_cv_math_func_casin
=yes
24970 gcc_cv_math_func_casin
=no
24972 rm -f core conftest.err conftest.
$ac_objext \
24973 conftest
$ac_exeext conftest.
$ac_ext
24975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
24976 $as_echo "$gcc_cv_math_func_casin" >&6; }
24977 if test $gcc_cv_math_func_casin = yes; then
24979 cat >>confdefs.h
<<_ACEOF
24980 #define HAVE_CASIN 1
24988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
24989 $as_echo_n "checking for casinf... " >&6; }
24990 if test "${gcc_cv_math_func_casinf+set}" = set; then :
24991 $as_echo_n "(cached) " >&6
24993 if test x
$gcc_no_link = xyes
; then
24994 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24997 /* end confdefs.h. */
24999 #ifdef HAVE_COMPLEX_H
25000 #include <complex.h>
25006 int (*ptr)() = (int (*)())casinf;
25015 if ac_fn_c_try_link
"$LINENO"; then :
25016 gcc_cv_math_func_casinf
=yes
25018 gcc_cv_math_func_casinf
=no
25020 rm -f core conftest.err conftest.
$ac_objext \
25021 conftest
$ac_exeext conftest.
$ac_ext
25023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25024 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25025 if test $gcc_cv_math_func_casinf = yes; then
25027 cat >>confdefs.h
<<_ACEOF
25028 #define HAVE_CASINF 1
25036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25037 $as_echo_n "checking for casinh... " >&6; }
25038 if test "${gcc_cv_math_func_casinh+set}" = set; then :
25039 $as_echo_n "(cached) " >&6
25041 if test x
$gcc_no_link = xyes
; then
25042 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25045 /* end confdefs.h. */
25047 #ifdef HAVE_COMPLEX_H
25048 #include <complex.h>
25054 int (*ptr)() = (int (*)())casinh;
25063 if ac_fn_c_try_link
"$LINENO"; then :
25064 gcc_cv_math_func_casinh
=yes
25066 gcc_cv_math_func_casinh
=no
25068 rm -f core conftest.err conftest.
$ac_objext \
25069 conftest
$ac_exeext conftest.
$ac_ext
25071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25072 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25073 if test $gcc_cv_math_func_casinh = yes; then
25075 cat >>confdefs.h
<<_ACEOF
25076 #define HAVE_CASINH 1
25084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25085 $as_echo_n "checking for casinhf... " >&6; }
25086 if test "${gcc_cv_math_func_casinhf+set}" = set; then :
25087 $as_echo_n "(cached) " >&6
25089 if test x
$gcc_no_link = xyes
; then
25090 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25093 /* end confdefs.h. */
25095 #ifdef HAVE_COMPLEX_H
25096 #include <complex.h>
25102 int (*ptr)() = (int (*)())casinhf;
25111 if ac_fn_c_try_link
"$LINENO"; then :
25112 gcc_cv_math_func_casinhf
=yes
25114 gcc_cv_math_func_casinhf
=no
25116 rm -f core conftest.err conftest.
$ac_objext \
25117 conftest
$ac_exeext conftest.
$ac_ext
25119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25120 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25121 if test $gcc_cv_math_func_casinhf = yes; then
25123 cat >>confdefs.h
<<_ACEOF
25124 #define HAVE_CASINHF 1
25132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25133 $as_echo_n "checking for casinhl... " >&6; }
25134 if test "${gcc_cv_math_func_casinhl+set}" = set; then :
25135 $as_echo_n "(cached) " >&6
25137 if test x
$gcc_no_link = xyes
; then
25138 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25141 /* end confdefs.h. */
25143 #ifdef HAVE_COMPLEX_H
25144 #include <complex.h>
25150 int (*ptr)() = (int (*)())casinhl;
25159 if ac_fn_c_try_link
"$LINENO"; then :
25160 gcc_cv_math_func_casinhl
=yes
25162 gcc_cv_math_func_casinhl
=no
25164 rm -f core conftest.err conftest.
$ac_objext \
25165 conftest
$ac_exeext conftest.
$ac_ext
25167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25168 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25169 if test $gcc_cv_math_func_casinhl = yes; then
25171 cat >>confdefs.h
<<_ACEOF
25172 #define HAVE_CASINHL 1
25180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25181 $as_echo_n "checking for casinl... " >&6; }
25182 if test "${gcc_cv_math_func_casinl+set}" = set; then :
25183 $as_echo_n "(cached) " >&6
25185 if test x
$gcc_no_link = xyes
; then
25186 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25189 /* end confdefs.h. */
25191 #ifdef HAVE_COMPLEX_H
25192 #include <complex.h>
25198 int (*ptr)() = (int (*)())casinl;
25207 if ac_fn_c_try_link
"$LINENO"; then :
25208 gcc_cv_math_func_casinl
=yes
25210 gcc_cv_math_func_casinl
=no
25212 rm -f core conftest.err conftest.
$ac_objext \
25213 conftest
$ac_exeext conftest.
$ac_ext
25215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25216 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25217 if test $gcc_cv_math_func_casinl = yes; then
25219 cat >>confdefs.h
<<_ACEOF
25220 #define HAVE_CASINL 1
25228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25229 $as_echo_n "checking for catan... " >&6; }
25230 if test "${gcc_cv_math_func_catan+set}" = set; then :
25231 $as_echo_n "(cached) " >&6
25233 if test x
$gcc_no_link = xyes
; then
25234 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25236 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25237 /* end confdefs.h. */
25239 #ifdef HAVE_COMPLEX_H
25240 #include <complex.h>
25246 int (*ptr)() = (int (*)())catan;
25255 if ac_fn_c_try_link
"$LINENO"; then :
25256 gcc_cv_math_func_catan
=yes
25258 gcc_cv_math_func_catan
=no
25260 rm -f core conftest.err conftest.
$ac_objext \
25261 conftest
$ac_exeext conftest.
$ac_ext
25263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25264 $as_echo "$gcc_cv_math_func_catan" >&6; }
25265 if test $gcc_cv_math_func_catan = yes; then
25267 cat >>confdefs.h
<<_ACEOF
25268 #define HAVE_CATAN 1
25276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25277 $as_echo_n "checking for catanf... " >&6; }
25278 if test "${gcc_cv_math_func_catanf+set}" = set; then :
25279 $as_echo_n "(cached) " >&6
25281 if test x
$gcc_no_link = xyes
; then
25282 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25285 /* end confdefs.h. */
25287 #ifdef HAVE_COMPLEX_H
25288 #include <complex.h>
25294 int (*ptr)() = (int (*)())catanf;
25303 if ac_fn_c_try_link
"$LINENO"; then :
25304 gcc_cv_math_func_catanf
=yes
25306 gcc_cv_math_func_catanf
=no
25308 rm -f core conftest.err conftest.
$ac_objext \
25309 conftest
$ac_exeext conftest.
$ac_ext
25311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25312 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25313 if test $gcc_cv_math_func_catanf = yes; then
25315 cat >>confdefs.h
<<_ACEOF
25316 #define HAVE_CATANF 1
25324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25325 $as_echo_n "checking for catanh... " >&6; }
25326 if test "${gcc_cv_math_func_catanh+set}" = set; then :
25327 $as_echo_n "(cached) " >&6
25329 if test x
$gcc_no_link = xyes
; then
25330 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25333 /* end confdefs.h. */
25335 #ifdef HAVE_COMPLEX_H
25336 #include <complex.h>
25342 int (*ptr)() = (int (*)())catanh;
25351 if ac_fn_c_try_link
"$LINENO"; then :
25352 gcc_cv_math_func_catanh
=yes
25354 gcc_cv_math_func_catanh
=no
25356 rm -f core conftest.err conftest.
$ac_objext \
25357 conftest
$ac_exeext conftest.
$ac_ext
25359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25360 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25361 if test $gcc_cv_math_func_catanh = yes; then
25363 cat >>confdefs.h
<<_ACEOF
25364 #define HAVE_CATANH 1
25372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25373 $as_echo_n "checking for catanhf... " >&6; }
25374 if test "${gcc_cv_math_func_catanhf+set}" = set; then :
25375 $as_echo_n "(cached) " >&6
25377 if test x
$gcc_no_link = xyes
; then
25378 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25381 /* end confdefs.h. */
25383 #ifdef HAVE_COMPLEX_H
25384 #include <complex.h>
25390 int (*ptr)() = (int (*)())catanhf;
25399 if ac_fn_c_try_link
"$LINENO"; then :
25400 gcc_cv_math_func_catanhf
=yes
25402 gcc_cv_math_func_catanhf
=no
25404 rm -f core conftest.err conftest.
$ac_objext \
25405 conftest
$ac_exeext conftest.
$ac_ext
25407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25408 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25409 if test $gcc_cv_math_func_catanhf = yes; then
25411 cat >>confdefs.h
<<_ACEOF
25412 #define HAVE_CATANHF 1
25420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25421 $as_echo_n "checking for catanhl... " >&6; }
25422 if test "${gcc_cv_math_func_catanhl+set}" = set; then :
25423 $as_echo_n "(cached) " >&6
25425 if test x
$gcc_no_link = xyes
; then
25426 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25429 /* end confdefs.h. */
25431 #ifdef HAVE_COMPLEX_H
25432 #include <complex.h>
25438 int (*ptr)() = (int (*)())catanhl;
25447 if ac_fn_c_try_link
"$LINENO"; then :
25448 gcc_cv_math_func_catanhl
=yes
25450 gcc_cv_math_func_catanhl
=no
25452 rm -f core conftest.err conftest.
$ac_objext \
25453 conftest
$ac_exeext conftest.
$ac_ext
25455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25456 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25457 if test $gcc_cv_math_func_catanhl = yes; then
25459 cat >>confdefs.h
<<_ACEOF
25460 #define HAVE_CATANHL 1
25468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25469 $as_echo_n "checking for catanl... " >&6; }
25470 if test "${gcc_cv_math_func_catanl+set}" = set; then :
25471 $as_echo_n "(cached) " >&6
25473 if test x
$gcc_no_link = xyes
; then
25474 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25477 /* end confdefs.h. */
25479 #ifdef HAVE_COMPLEX_H
25480 #include <complex.h>
25486 int (*ptr)() = (int (*)())catanl;
25495 if ac_fn_c_try_link
"$LINENO"; then :
25496 gcc_cv_math_func_catanl
=yes
25498 gcc_cv_math_func_catanl
=no
25500 rm -f core conftest.err conftest.
$ac_objext \
25501 conftest
$ac_exeext conftest.
$ac_ext
25503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25504 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25505 if test $gcc_cv_math_func_catanl = yes; then
25507 cat >>confdefs.h
<<_ACEOF
25508 #define HAVE_CATANL 1
25514 # On AIX, clog is present in libm as __clog
25515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25516 $as_echo_n "checking for __clog in -lm... " >&6; }
25517 if test "${ac_cv_lib_m___clog+set}" = set; then :
25518 $as_echo_n "(cached) " >&6
25520 ac_check_lib_save_LIBS
=$LIBS
25522 if test x
$gcc_no_link = xyes
; then
25523 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25526 /* end confdefs.h. */
25528 /* Override any GCC internal prototype to avoid an error.
25529 Use char because int might match the return type of a GCC
25530 builtin and then its argument prototype would still apply. */
25543 if ac_fn_c_try_link
"$LINENO"; then :
25544 ac_cv_lib_m___clog
=yes
25546 ac_cv_lib_m___clog
=no
25548 rm -f core conftest.err conftest.
$ac_objext \
25549 conftest
$ac_exeext conftest.
$ac_ext
25550 LIBS
=$ac_check_lib_save_LIBS
25552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25553 $as_echo "$ac_cv_lib_m___clog" >&6; }
25554 if test "x$ac_cv_lib_m___clog" = x
""yes; then :
25556 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25561 # Check whether the system has a working stat()
25563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25564 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25565 if test "${libgfor_cv_have_working_stat+set}" = set; then :
25566 $as_echo_n "(cached) " >&6
25569 if test "$cross_compiling" = yes; then :
25571 case "${target}" in
25572 *mingw
*) libgfor_cv_have_working_stat
=no
;;
25573 *) libgfor_cv_have_working_stat
=yes;;
25576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25577 /* end confdefs.h. */
25580 #include <sys/types.h>
25581 #include <sys/stat.h>
25582 #include <unistd.h>
25587 struct stat st1, st2;
25589 f = fopen ("foo", "w");
25590 g = fopen ("bar", "w");
25591 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25593 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25600 if ac_fn_c_try_run
"$LINENO"; then :
25601 libgfor_cv_have_working_stat
=yes
25603 libgfor_cv_have_working_stat
=no
25605 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
25606 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
25610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25611 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25612 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
25614 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25618 # Check whether __mingw_snprintf() is present
25620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25621 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25622 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
25623 $as_echo_n "(cached) " >&6
25626 if test x
$gcc_no_link = xyes
; then
25627 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25630 /* end confdefs.h. */
25633 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25639 __mingw_snprintf (NULL, 0, "%d\n", 1);
25645 if ac_fn_c_try_link
"$LINENO"; then :
25646 eval "libgfor_cv_have_mingw_snprintf=yes"
25648 eval "libgfor_cv_have_mingw_snprintf=no"
25650 rm -f core conftest.err conftest.
$ac_objext \
25651 conftest
$ac_exeext conftest.
$ac_ext
25654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25655 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25656 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
25658 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25663 # Check whether libquadmath should be used
25664 # Check whether --enable-libquadmath-support was given.
25665 if test "${enable_libquadmath_support+set}" = set; then :
25666 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
25668 ENABLE_LIBQUADMATH_SUPPORT
=yes
25671 enable_libquadmath_support
=
25672 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25673 enable_libquadmath_support
=no
25676 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25680 if test "x$enable_libquadmath_support" != xno
; then
25682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25683 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25684 if test "${libgfor_cv_have_float128+set}" = set; then :
25685 $as_echo_n "(cached) " >&6
25688 if test x
$gcc_no_link = xyes
; then
25689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25690 /* end confdefs.h. */
25692 typedef _Complex float __attribute__((mode(TC))) __complex128;
25694 __float128 foo (__float128 x)
25697 __complex128 z1, z2;
25703 return (__float128) z2;
25706 __float128 bar (__float128 x)
25708 return x * __builtin_huge_valq ();
25722 if ac_fn_c_try_compile
"$LINENO"; then :
25724 libgfor_cv_have_float128
=yes
25728 libgfor_cv_have_float128
=no
25731 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25733 if test x
$gcc_no_link = xyes
; then
25734 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25737 /* end confdefs.h. */
25739 typedef _Complex float __attribute__((mode(TC))) __complex128;
25741 __float128 foo (__float128 x)
25744 __complex128 z1, z2;
25750 return (__float128) z2;
25753 __float128 bar (__float128 x)
25755 return x * __builtin_huge_valq ();
25769 if ac_fn_c_try_link
"$LINENO"; then :
25771 libgfor_cv_have_float128
=yes
25775 libgfor_cv_have_float128
=no
25778 rm -f core conftest.err conftest.
$ac_objext \
25779 conftest
$ac_exeext conftest.
$ac_ext
25782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25783 $as_echo "$libgfor_cv_have_float128" >&6; }
25785 if test "x$libgfor_cv_have_float128" = xyes
; then
25787 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25790 ac_xsave_c_werror_flag
=$ac_c_werror_flag
25791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
25792 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
25793 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25794 $as_echo_n "(cached) " >&6
25797 # Test for native Solaris options first.
25798 # No whitespace after -z to pass it through -Wl.
25799 libgfor_cv_as_needed_option
="-zignore"
25800 libgfor_cv_no_as_needed_option
="-zrecord"
25801 save_LDFLAGS
="$LDFLAGS"
25802 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25803 libgfor_cv_have_as_needed
=no
25805 ac_c_werror_flag
=yes
25806 if test x
$gcc_no_link = xyes
; then
25807 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25810 /* end confdefs.h. */
25820 if ac_fn_c_try_link
"$LINENO"; then :
25821 libgfor_cv_have_as_needed
=yes
25823 libgfor_cv_have_as_needed
=no
25825 rm -f core conftest.err conftest.
$ac_objext \
25826 conftest
$ac_exeext conftest.
$ac_ext
25827 LDFLAGS
="$save_LDFLAGS"
25828 if test "x$libgfor_cv_have_as_needed" = xno
; then
25829 libgfor_cv_as_needed_option
="--as-needed"
25830 libgfor_cv_no_as_needed_option
="--no-as-needed"
25831 save_LDFLAGS
="$LDFLAGS"
25832 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25833 libgfor_cv_have_as_needed
=no
25835 ac_c_werror_flag
=yes
25836 if test x
$gcc_no_link = xyes
; then
25837 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25840 /* end confdefs.h. */
25850 if ac_fn_c_try_link
"$LINENO"; then :
25851 libgfor_cv_have_as_needed
=yes
25853 libgfor_cv_have_as_needed
=no
25855 rm -f core conftest.err conftest.
$ac_objext \
25856 conftest
$ac_exeext conftest.
$ac_ext
25857 LDFLAGS
="$save_LDFLAGS"
25859 ac_c_werror_flag
=$ac_xsave_c_werror_flag
25862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25863 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25865 if test "x$libgfor_cv_have_as_needed" = xyes
; then
25866 LIBQUADSPEC
="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
25868 LIBQUADSPEC
="-lquadmath"
25870 if test -f ..
/libquadmath
/libquadmath.la
; then
25871 LIBQUADLIB
=..
/libquadmath
/libquadmath.la
25872 LIBQUADLIB_DEP
=..
/libquadmath
/libquadmath.la
25873 LIBQUADINCLUDE
='-I$(srcdir)/../libquadmath'
25875 LIBQUADLIB
="-lquadmath"
25881 # for --disable-quadmath
25892 if test "x$libgfor_cv_have_float128" = xyes
; then
25893 LIBGFOR_BUILD_QUAD_TRUE
=
25894 LIBGFOR_BUILD_QUAD_FALSE
='#'
25896 LIBGFOR_BUILD_QUAD_TRUE
='#'
25897 LIBGFOR_BUILD_QUAD_FALSE
=
25902 # Check for GNU libc feenableexcept
25903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25904 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25905 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25906 $as_echo_n "(cached) " >&6
25908 ac_check_lib_save_LIBS
=$LIBS
25910 if test x
$gcc_no_link = xyes
; then
25911 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25914 /* end confdefs.h. */
25916 /* Override any GCC internal prototype to avoid an error.
25917 Use char because int might match the return type of a GCC
25918 builtin and then its argument prototype would still apply. */
25922 char feenableexcept ();
25926 return feenableexcept ();
25931 if ac_fn_c_try_link
"$LINENO"; then :
25932 ac_cv_lib_m_feenableexcept
=yes
25934 ac_cv_lib_m_feenableexcept
=no
25936 rm -f core conftest.err conftest.
$ac_objext \
25937 conftest
$ac_exeext conftest.
$ac_ext
25938 LIBS
=$ac_check_lib_save_LIBS
25940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25941 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25942 if test "x$ac_cv_lib_m_feenableexcept" = x
""yes; then :
25943 have_feenableexcept
=yes
25944 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25949 # At least for glibc, clock_gettime is in librt. But don't
25950 # pull that in if it still doesn't give us the function we want. This
25951 # test is copied from libgomp, and modified to not link in -lrt as
25952 # libgfortran calls clock_gettime via a weak reference if it's found
25954 if test "$ac_cv_func_clock_gettime" = no
; then
25955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25956 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25957 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25958 $as_echo_n "(cached) " >&6
25960 ac_check_lib_save_LIBS
=$LIBS
25962 if test x
$gcc_no_link = xyes
; then
25963 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25966 /* end confdefs.h. */
25968 /* Override any GCC internal prototype to avoid an error.
25969 Use char because int might match the return type of a GCC
25970 builtin and then its argument prototype would still apply. */
25974 char clock_gettime ();
25978 return clock_gettime ();
25983 if ac_fn_c_try_link
"$LINENO"; then :
25984 ac_cv_lib_rt_clock_gettime
=yes
25986 ac_cv_lib_rt_clock_gettime
=no
25988 rm -f core conftest.err conftest.
$ac_objext \
25989 conftest
$ac_exeext conftest.
$ac_ext
25990 LIBS
=$ac_check_lib_save_LIBS
25992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25993 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25994 if test "x$ac_cv_lib_rt_clock_gettime" = x
""yes; then :
25996 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
26002 # Check for SysV fpsetmask
26004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
26005 $as_echo_n "checking whether fpsetmask is present... " >&6; }
26006 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
26007 $as_echo_n "(cached) " >&6
26010 if test x
$gcc_no_link = xyes
; then
26011 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26014 /* end confdefs.h. */
26016 #if HAVE_FLOATINGPOINT_H
26017 # include <floatingpoint.h>
26018 #endif /* HAVE_FLOATINGPOINT_H */
26020 # include <ieeefp.h>
26021 #endif /* HAVE_IEEEFP_H */
26030 if ac_fn_c_try_link
"$LINENO"; then :
26031 eval "libgfor_cv_have_fpsetmask=yes"
26033 eval "libgfor_cv_have_fpsetmask=no"
26035 rm -f core conftest.err conftest.
$ac_objext \
26036 conftest
$ac_exeext conftest.
$ac_ext
26039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
26040 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
26041 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
26044 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
26048 ac_fn_c_check_type
"$LINENO" "fp_except" "ac_cv_type_fp_except" "
26049 #include <ieeefp.h>
26053 if test "x$ac_cv_type_fp_except" = x
""yes; then :
26055 cat >>confdefs.h
<<_ACEOF
26056 #define HAVE_FP_EXCEPT 1
26061 ac_fn_c_check_type
"$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
26062 #include <ieeefp.h>
26066 if test "x$ac_cv_type_fp_except_t" = x
""yes; then :
26068 cat >>confdefs.h
<<_ACEOF
26069 #define HAVE_FP_EXCEPT_T 1
26075 ac_fn_c_check_type
"$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
26076 #include <ieeefp.h>
26080 if test "x$ac_cv_type_fp_rnd" = x
""yes; then :
26082 cat >>confdefs.h
<<_ACEOF
26083 #define HAVE_FP_RND 1
26088 ac_fn_c_check_type
"$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
26089 #include <ieeefp.h>
26093 if test "x$ac_cv_type_fp_rnd_t" = x
""yes; then :
26095 cat >>confdefs.h
<<_ACEOF
26096 #define HAVE_FP_RND_T 1
26103 # Check whether we have fpsetsticky or fpresetsticky
26104 ac_fn_c_check_func
"$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
26105 if test "x$ac_cv_func_fpsetsticky" = x
""yes; then :
26106 have_fpsetsticky
=yes
26107 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
26111 ac_fn_c_check_func
"$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
26112 if test "x$ac_cv_func_fpresetsticky" = x
""yes; then :
26113 have_fpresetsticky
=yes
26114 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
26119 # Check for AIX fp_trap and fp_enable
26120 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
26121 if test "x$ac_cv_func_fp_trap" = x
""yes; then :
26123 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
26127 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
26128 if test "x$ac_cv_func_fp_enable" = x
""yes; then :
26130 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
26135 # Runs configure.host to set up necessary host-dependent shell variables.
26136 # We then display a message about it, and propagate them through the
26138 .
${srcdir}/configure.
host
26139 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
26140 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
26141 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
26142 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
26143 FPU_HOST_HEADER
=config
/${fpu_host}.h
26146 # Whether we will build the IEEE modules
26147 if test x
${ieee_support} = xyes
; then
26149 IEEE_SUPPORT_FALSE
='#'
26151 IEEE_SUPPORT_TRUE
='#'
26152 IEEE_SUPPORT_FALSE
=
26157 # Some targets require additional compiler options for IEEE compatibility.
26158 IEEE_FLAGS
="${ieee_flags}"
26162 # Check for POSIX getpwuid_r
26164 # There are two versions of getpwuid_r, the POSIX one with 5
26165 # arguments, and another one with 4 arguments used by at least HP-UX
26167 if test "$ac_cv_func_getpwuid_r" = "yes"; then
26168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
26169 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
26170 if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
26171 $as_echo_n "(cached) " >&6
26174 if test x
$gcc_no_link = xyes
; then
26175 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26178 /* end confdefs.h. */
26181 #include <sys/types.h>
26187 getpwuid_r(0, NULL, NULL, 0, NULL);
26193 if ac_fn_c_try_link
"$LINENO"; then :
26194 libgfor_cv_posix_getpwuid_r
="yes"
26196 libgfor_cv_posix_getpwuid_r
="no"
26198 rm -f core conftest.err conftest.
$ac_objext \
26199 conftest
$ac_exeext conftest.
$ac_ext
26201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
26202 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
26204 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
26206 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
26211 # Check out attribute support.
26213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
26214 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
26215 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
26216 $as_echo_n "(cached) " >&6
26219 save_CFLAGS
="$CFLAGS"
26220 CFLAGS
="$CFLAGS -Werror"
26221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26222 /* end confdefs.h. */
26223 void __attribute__((visibility("hidden"))) foo(void) { }
26232 if ac_fn_c_try_compile
"$LINENO"; then :
26233 libgfor_cv_have_attribute_visibility
=yes
26235 libgfor_cv_have_attribute_visibility
=no
26237 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26238 CFLAGS
="$save_CFLAGS"
26240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26241 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26242 if test $libgfor_cv_have_attribute_visibility = yes; then
26244 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
26249 $as_echo_n "checking whether the target supports dllexport... " >&6; }
26250 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
26251 $as_echo_n "(cached) " >&6
26254 save_CFLAGS
="$CFLAGS"
26255 CFLAGS
="$CFLAGS -Werror"
26256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26257 /* end confdefs.h. */
26258 void __attribute__((dllexport)) foo(void) { }
26267 if ac_fn_c_try_compile
"$LINENO"; then :
26268 libgfor_cv_have_attribute_dllexport
=yes
26270 libgfor_cv_have_attribute_dllexport
=no
26272 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26273 CFLAGS
="$save_CFLAGS"
26275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
26276 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
26277 if test $libgfor_cv_have_attribute_dllexport = yes; then
26279 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
26283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26284 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26285 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
26286 $as_echo_n "(cached) " >&6
26289 if test x
$gcc_no_link = xyes
; then
26290 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26293 /* end confdefs.h. */
26296 extern void bar(void) __attribute__((alias("foo")));
26305 if ac_fn_c_try_link
"$LINENO"; then :
26306 libgfor_cv_have_attribute_alias
=yes
26308 libgfor_cv_have_attribute_alias
=no
26310 rm -f core conftest.err conftest.
$ac_objext \
26311 conftest
$ac_exeext conftest.
$ac_ext
26313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26314 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26315 if test $libgfor_cv_have_attribute_alias = yes; then
26317 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26321 # Check out sync builtins support.
26323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
26324 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
26325 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
26326 $as_echo_n "(cached) " >&6
26329 if test x
$gcc_no_link = xyes
; then
26330 as_fn_error
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26333 /* end confdefs.h. */
26339 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
26340 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
26345 if ac_fn_c_try_link
"$LINENO"; then :
26346 libgfor_cv_have_sync_fetch_and_add
=yes
26348 libgfor_cv_have_sync_fetch_and_add
=no
26350 rm -f core conftest.err conftest.
$ac_objext \
26351 conftest
$ac_exeext conftest.
$ac_ext
26353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
26354 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
26355 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
26357 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
26361 # Check out #pragma weak.
26363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26364 $as_echo_n "checking whether pragma weak works... " >&6; }
26365 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
26366 $as_echo_n "(cached) " >&6
26369 gfor_save_CFLAGS
="$CFLAGS"
26370 CFLAGS
="$CFLAGS -Wunknown-pragmas"
26371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26372 /* end confdefs.h. */
26385 if ac_fn_c_try_compile
"$LINENO"; then :
26386 libgfor_cv_have_pragma_weak
=yes
26388 libgfor_cv_have_pragma_weak
=no
26390 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26393 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26394 if test $libgfor_cv_have_pragma_weak = yes; then
26396 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26400 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* )
26402 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26407 # Various other checks on target
26409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26410 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26411 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
26412 $as_echo_n "(cached) " >&6
26415 if test "$cross_compiling" = yes; then :
26417 case "${target}" in
26418 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
26419 *) libgfor_cv_have_unlink_open_file
=yes;;
26422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26423 /* end confdefs.h. */
26427 #include <unistd.h>
26428 #include <sys/stat.h>
26434 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26437 if (unlink ("testfile") == -1)
26439 write (fd, "This is a test\n", 15);
26442 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26448 if ac_fn_c_try_run
"$LINENO"; then :
26449 libgfor_cv_have_unlink_open_file
=yes
26451 libgfor_cv_have_unlink_open_file
=no
26453 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26454 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26459 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26460 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
26462 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26466 # Check whether line terminator is LF or CRLF
26468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26469 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26470 if test "${libgfor_cv_have_crlf+set}" = set; then :
26471 $as_echo_n "(cached) " >&6
26474 if test "$cross_compiling" = yes; then :
26476 case "${target}" in
26477 *mingw
*) libgfor_cv_have_crlf
=yes ;;
26478 *) libgfor_cv_have_crlf
=no
;;
26481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26482 /* end confdefs.h. */
26484 /* This test program should exit with status 0 if system uses a CRLF as
26485 line terminator, and status 1 otherwise.
26486 Since it is used to check for mingw systems, and should return 0 in any
26487 other case, in case of a failure we will not use CRLF. */
26488 #include <sys/stat.h>
26489 #include <stdlib.h>
26501 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26504 if (write (fd, "\n", 1) < 0)
26509 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26511 bytes = read (fd, buff, 5);
26512 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26519 if ac_fn_c_try_run
"$LINENO"; then :
26520 libgfor_cv_have_crlf
=yes
26522 libgfor_cv_have_crlf
=no
26524 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26525 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26530 $as_echo "$libgfor_cv_have_crlf" >&6; }
26531 if test x
"$libgfor_cv_have_crlf" = xyes
; then
26533 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26537 # Check whether we have _Unwind_GetIPInfo for backtrace
26540 # Check whether --with-system-libunwind was given.
26541 if test "${with_system_libunwind+set}" = set; then :
26542 withval
=$with_system_libunwind;
26545 # If system-libunwind was not specifically set, pick a default setting.
26546 if test x
$with_system_libunwind = x
; then
26548 ia64-
*-hpux*) with_system_libunwind
=yes ;;
26549 *) with_system_libunwind
=no
;;
26552 # Based on system-libunwind and target, do we have ipinfo?
26553 if test x
$with_system_libunwind = xyes
; then
26555 ia64-
*-*) have_unwind_getipinfo
=no
;;
26556 *) have_unwind_getipinfo
=yes ;;
26559 # Darwin before version 9 does not have _Unwind_GetIPInfo.
26562 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
26563 *) have_unwind_getipinfo
=yes ;;
26568 if test x
$have_unwind_getipinfo = xyes
; then
26570 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
26575 cat >confcache
<<\_ACEOF
26576 # This file is a shell script that caches the results of configure
26577 # tests run on this system so they can be shared between configure
26578 # scripts and configure runs, see configure's option --config-cache.
26579 # It is not useful on other systems. If it contains results you don't
26580 # want to keep, you may remove or edit it.
26582 # config.status only pays attention to the cache file if you give it
26583 # the --recheck option to rerun configure.
26585 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26586 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26587 # following values.
26591 # The following way of writing the cache mishandles newlines in values,
26592 # but we know of no workaround that is simple, portable, and efficient.
26593 # So, we kill variables containing newlines.
26594 # Ultrix sh set writes to stderr and can't be redirected directly,
26595 # and sets the high bit in the cache file unless we assign to the vars.
26597 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26598 eval ac_val
=\$
$ac_var
26602 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26603 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26606 _ | IFS | as_nl
) ;; #(
26607 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26608 *) { eval $ac_var=; unset $ac_var;} ;;
26614 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26615 *${as_nl}ac_space
=\
*)
26616 # `set' does not quote correctly, so add quotes: double-quote
26617 # substitution turns \\\\ into \\, and sed turns \\ into \.
26620 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26623 # `set' quotes correctly as required by POSIX, so do not add quotes.
26624 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26633 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26635 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26637 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26638 if test -w "$cache_file"; then
26639 test "x$cache_file" != "x/dev/null" &&
26640 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26641 $as_echo "$as_me: updating cache $cache_file" >&6;}
26642 cat confcache
>$cache_file
26644 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26645 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26650 if test ${multilib} = yes; then
26651 multilib_arg
="--enable-multilib"
26656 # Write our Makefile and spec file.
26657 ac_config_files
="$ac_config_files Makefile libgfortran.spec"
26659 cat >confcache
<<\_ACEOF
26660 # This file is a shell script that caches the results of configure
26661 # tests run on this system so they can be shared between configure
26662 # scripts and configure runs, see configure's option --config-cache.
26663 # It is not useful on other systems. If it contains results you don't
26664 # want to keep, you may remove or edit it.
26666 # config.status only pays attention to the cache file if you give it
26667 # the --recheck option to rerun configure.
26669 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26670 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26671 # following values.
26675 # The following way of writing the cache mishandles newlines in values,
26676 # but we know of no workaround that is simple, portable, and efficient.
26677 # So, we kill variables containing newlines.
26678 # Ultrix sh set writes to stderr and can't be redirected directly,
26679 # and sets the high bit in the cache file unless we assign to the vars.
26681 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26682 eval ac_val
=\$
$ac_var
26686 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26687 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26690 _ | IFS | as_nl
) ;; #(
26691 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26692 *) { eval $ac_var=; unset $ac_var;} ;;
26698 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26699 *${as_nl}ac_space
=\
*)
26700 # `set' does not quote correctly, so add quotes: double-quote
26701 # substitution turns \\\\ into \\, and sed turns \\ into \.
26704 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26707 # `set' quotes correctly as required by POSIX, so do not add quotes.
26708 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26717 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26719 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26721 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26722 if test -w "$cache_file"; then
26723 test "x$cache_file" != "x/dev/null" &&
26724 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26725 $as_echo "$as_me: updating cache $cache_file" >&6;}
26726 cat confcache
>$cache_file
26728 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26729 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26734 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
26735 # Let make expand exec_prefix.
26736 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
26738 DEFS
=-DHAVE_CONFIG_H
26742 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
26743 # 1. Remove the extension, and $U if already installed.
26744 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
26745 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
26746 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26747 # will be set to the directory where LIBOBJS objects are built.
26748 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26749 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
26751 LIBOBJS
=$ac_libobjs
26753 LTLIBOBJS
=$ac_ltlibobjs
26756 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26757 as_fn_error
"conditional \"onestep\" was never defined.
26758 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26760 if test -n "$EXEEXT"; then
26762 am__EXEEXT_FALSE
='#'
26764 am__EXEEXT_TRUE
='#'
26768 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26769 as_fn_error
"conditional \"MAINTAINER_MODE\" was never defined.
26770 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26772 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26773 as_fn_error
"conditional \"AMDEP\" was never defined.
26774 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26776 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26777 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26778 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26780 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26781 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
26782 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26784 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
26785 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
26786 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26788 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
26789 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
26790 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26792 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
26793 as_fn_error
"conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
26794 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26796 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
26797 as_fn_error
"conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
26798 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26800 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
26801 as_fn_error
"conditional \"IEEE_SUPPORT\" was never defined.
26802 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26805 : ${CONFIG_STATUS=./config.status}
26807 ac_clean_files_save
=$ac_clean_files
26808 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
26809 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26810 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26812 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26814 # Generated by $as_me.
26815 # Run this file to recreate the current configuration.
26816 # Compiler output produced by configure, useful for debugging
26817 # configure, is in config.log if it exists.
26820 ac_cs_recheck=false
26823 SHELL=\${CONFIG_SHELL-$SHELL}
26826 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
26827 ## -------------------- ##
26828 ## M4sh Initialization. ##
26829 ## -------------------- ##
26831 # Be more Bourne compatible
26832 DUALCASE
=1; export DUALCASE
# for MKS sh
26833 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
26836 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26837 # is contrary to our usage. Disable this feature.
26838 alias -g '${1+"$@"}'='"$@"'
26839 setopt NO_GLOB_SUBST
26841 case `(set -o) 2>/dev/null` in #(
26853 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26854 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26855 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26856 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26857 # Prefer a ksh shell builtin over an external printf program on Solaris,
26858 # but without wasting forks for bash or zsh.
26859 if test -z "$BASH_VERSION$ZSH_VERSION" \
26860 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26861 as_echo='print
-r --'
26862 as_echo_n='print
-rn --'
26863 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26864 as_echo='printf %s
\n'
26865 as_echo_n='printf %s
'
26867 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26868 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
26869 as_echo_n='/usr
/ucb
/echo -n'
26871 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26872 as_echo_n_body='eval
26876 expr "X$arg" : "X\\(.*\\)$as_nl";
26877 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26879 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
26881 export as_echo_n_body
26882 as_echo_n='sh
-c $as_echo_n_body as_echo
'
26884 export as_echo_body
26885 as_echo='sh
-c $as_echo_body as_echo
'
26888 # The user is always right.
26889 if test "${PATH_SEPARATOR+set}" != set; then
26891 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26892 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26899 # We need space, tab and new line, in precisely that order. Quoting is
26900 # there to prevent editors from complaining about space-tab.
26901 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26902 # splitting by setting IFS to empty value.)
26905 # Find who we are. Look in the path if we contain no directory separator.
26907 *[\\/]* ) as_myself=$0 ;;
26908 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26909 for as_dir in $PATH
26912 test -z "$as_dir" && as_dir=.
26913 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26919 # We did not find ourselves, most probably we were run as `sh COMMAND'
26920 # in which case we are not to be found in the path.
26921 if test "x$as_myself" = x
; then
26924 if test ! -f "$as_myself"; then
26925 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26929 # Unset variables that we do not need and which cause bugs (e.g. in
26930 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26931 # suppresses any "Segmentation fault" message there. '((' could
26932 # trigger a bug in pdksh 5.2.14.
26933 for as_var
in BASH_ENV ENV MAIL MAILPATH
26934 do eval test x\
${$as_var+set} = xset \
26935 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
26948 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
26951 # as_fn_error ERROR [LINENO LOG_FD]
26952 # ---------------------------------
26953 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26954 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26955 # script with status $?, using 1 if that was 0.
26958 as_status
=$?
; test $as_status -eq 0 && as_status
=1
26960 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
26961 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26963 $as_echo "$as_me: error: $1" >&2
26964 as_fn_exit
$as_status
26968 # as_fn_set_status STATUS
26969 # -----------------------
26970 # Set $? to STATUS, without forking.
26971 as_fn_set_status
()
26974 } # as_fn_set_status
26976 # as_fn_exit STATUS
26977 # -----------------
26978 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26982 as_fn_set_status
$1
26988 # Portably unset VAR.
26991 { eval $1=; unset $1;}
26993 as_unset
=as_fn_unset
26994 # as_fn_append VAR VALUE
26995 # ----------------------
26996 # Append the text in VALUE to the end of the definition contained in VAR. Take
26997 # advantage of any shell optimizations that allow amortized linear growth over
26998 # repeated appends, instead of the typical quadratic growth present in naive
27000 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
27001 eval 'as_fn_append ()
27012 # as_fn_arith ARG...
27013 # ------------------
27014 # Perform arithmetic evaluation on the ARGs, and store the result in the
27015 # global $as_val. Take advantage of shells that can avoid forks. The arguments
27016 # must be portable across $(()) and expr.
27017 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
27018 eval 'as_fn_arith ()
27025 as_val
=`expr "$@" || test $? -eq 1`
27030 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
27031 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
27037 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
27038 as_basename
=basename
27043 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
27049 as_me
=`$as_basename -- "$0" ||
27050 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27051 X"$0" : 'X\(//\)$' \| \
27052 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27054 sed '/^.*\/\([^/][^/]*\)\/*$/{
27068 # Avoid depending upon Character Ranges.
27069 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
27070 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27071 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
27072 as_cr_digits
='0123456789'
27073 as_cr_alnum
=$as_cr_Letters$as_cr_digits
27075 ECHO_C
= ECHO_N
= ECHO_T
=
27076 case `echo -n x` in #(((((
27078 case `echo 'xy\c'` in
27079 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
27081 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
27088 rm -f conf$$ conf$$.exe conf$$.
file
27089 if test -d conf$$.dir
; then
27090 rm -f conf$$.dir
/conf$$.
file
27093 mkdir conf$$.dir
2>/dev
/null
27095 if (echo >conf$$.
file) 2>/dev
/null
; then
27096 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
27098 # ... but there are two gotchas:
27099 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27100 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27101 # In both cases, we have to default to `cp -p'.
27102 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
27104 elif ln conf$$.
file conf$$
2>/dev
/null
; then
27112 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
27113 rmdir conf$$.dir
2>/dev
/null
27118 # Create "$as_dir" as a directory, including parents if necessary.
27123 -*) as_dir
=.
/$as_dir;;
27125 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
27129 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27130 *) as_qdir
=$as_dir;;
27132 as_dirs
="'$as_qdir' $as_dirs"
27133 as_dir
=`$as_dirname -- "$as_dir" ||
27134 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27135 X"$as_dir" : 'X\(//\)[^/]' \| \
27136 X"$as_dir" : 'X\(//\)$' \| \
27137 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27138 $as_echo X"$as_dir" |
27139 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27143 /^X\(\/\/\)[^/].*/{
27156 test -d "$as_dir" && break
27158 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
27159 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
27163 if mkdir
-p .
2>/dev
/null
; then
27164 as_mkdir_p
='mkdir -p "$as_dir"'
27166 test -d .
/-p && rmdir .
/-p
27170 if test -x / >/dev
/null
2>&1; then
27171 as_test_x
='test -x'
27173 if ls -dL / >/dev
/null
2>&1; then
27180 if test -d "$1"; then
27186 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
27187 ???[sx]*):;;*)false;;esac;fi
27191 as_executable_p
=$as_test_x
27193 # Sed expression to map a string onto a valid CPP name.
27194 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27196 # Sed expression to map a string onto a valid variable name.
27197 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27201 ## ----------------------------------- ##
27202 ## Main body of $CONFIG_STATUS script. ##
27203 ## ----------------------------------- ##
27205 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
27207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27208 # Save the log message, to keep $0 and so on meaningful, and to
27209 # report actual input values of CONFIG_FILES etc. instead of their
27210 # values after options handling.
27212 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27213 generated by GNU Autoconf 2.64. Invocation command line was
27215 CONFIG_FILES = $CONFIG_FILES
27216 CONFIG_HEADERS = $CONFIG_HEADERS
27217 CONFIG_LINKS = $CONFIG_LINKS
27218 CONFIG_COMMANDS = $CONFIG_COMMANDS
27221 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27226 case $ac_config_files in *"
27227 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
27230 case $ac_config_headers in *"
27231 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
27235 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27236 # Files that config.status was made for.
27237 config_files="$ac_config_files"
27238 config_headers="$ac_config_headers"
27239 config_commands="$ac_config_commands"
27243 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27245 \`$as_me' instantiates files and other configuration actions
27246 from templates according to the current configuration. Unless the files
27247 and actions are specified as TAGs, all are instantiated by default.
27249 Usage: $0 [OPTION]... [TAG]...
27251 -h, --help print this help, then exit
27252 -V, --version print version number and configuration settings, then exit
27253 -q, --quiet, --silent
27254 do not print progress messages
27255 -d, --debug don't remove temporary files
27256 --recheck update $as_me by reconfiguring in the same conditions
27257 --file=FILE[:TEMPLATE]
27258 instantiate the configuration file FILE
27259 --header=FILE[:TEMPLATE]
27260 instantiate the configuration header FILE
27262 Configuration files:
27265 Configuration headers:
27268 Configuration commands:
27271 Report bugs to the package provider.
27272 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27273 General help using GNU software: <http://www.gnu.org/gethelp/>."
27276 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27278 GNU Fortran Runtime Library config.status 0.3
27279 configured by $0, generated by GNU Autoconf 2.64,
27280 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
27282 Copyright (C) 2009 Free Software Foundation, Inc.
27283 This config.status script is free software; the Free Software Foundation
27284 gives unlimited permission to copy, distribute and modify it."
27291 test -n "\$AWK" || AWK=awk
27294 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27295 # The default lists apply if the user does not specify any file.
27301 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
27302 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
27313 # Handling of the options.
27314 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
27316 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
27317 $as_echo "$ac_cs_version"; exit ;;
27318 --debug |
--debu |
--deb |
--de |
--d |
-d )
27320 --file |
--fil |
--fi |
--f )
27323 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27325 as_fn_append CONFIG_FILES
" '$ac_optarg'"
27326 ac_need_defaults
=false
;;
27327 --header |
--heade |
--head |
--hea )
27330 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27332 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
27333 ac_need_defaults
=false
;;
27335 # Conflict between --help and --header
27336 as_fn_error
"ambiguous option: \`$1'
27337 Try \`$0 --help' for more information.";;
27338 --help |
--hel |
-h )
27339 $as_echo "$ac_cs_usage"; exit ;;
27340 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
27341 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
27344 # This is an error.
27345 -*) as_fn_error
"unrecognized option: \`$1'
27346 Try \`$0 --help' for more information." ;;
27348 *) as_fn_append ac_config_targets
" $1"
27349 ac_need_defaults
=false
;;
27355 ac_configure_extra_args
=
27357 if $ac_cs_silent; then
27359 ac_configure_extra_args
="$ac_configure_extra_args --silent"
27363 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27364 if \$ac_cs_recheck; then
27365 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27367 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27368 CONFIG_SHELL='$SHELL'
27369 export CONFIG_SHELL
27374 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27378 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27379 ## Running $as_me. ##
27385 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27393 with_multisubdir="$with_multisubdir"
27394 with_multisrctop="$with_multisrctop"
27395 with_target_subdir="$with_target_subdir"
27396 ac_configure_args="${multilib_arg} ${ac_configure_args}"
27397 multi_basedir="$multi_basedir"
27398 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27401 GFORTRAN="$GFORTRAN"
27403 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27406 # The HP-UX ksh and POSIX shell print the target directory to stdout
27407 # if CDPATH is set.
27408 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27410 sed_quote_subst='$sed_quote_subst'
27411 double_quote_subst='$double_quote_subst'
27412 delay_variable_subst='$delay_variable_subst'
27413 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27414 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27415 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27416 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27417 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27418 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27419 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27420 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27421 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27422 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27423 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27424 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27425 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27426 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27427 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27428 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27429 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27430 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27431 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27432 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27433 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27434 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27435 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27436 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27437 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27438 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27439 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27440 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27441 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27442 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27443 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27444 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27445 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27446 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27447 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27448 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27449 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27450 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27451 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27452 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27453 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27454 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27455 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27456 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27457 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27458 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27459 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27460 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27461 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"`'
27462 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27463 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27464 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27465 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27466 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27467 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27468 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27469 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27470 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27471 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27472 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27473 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27474 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27475 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27476 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27477 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27478 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27479 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27480 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27481 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27482 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27483 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27484 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27485 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27486 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27487 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27488 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27489 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27490 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27491 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27492 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27493 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27494 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27495 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27496 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27497 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27498 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27499 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27500 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27501 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27502 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27503 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27504 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27505 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27506 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27507 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27508 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27509 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27510 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27511 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27512 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27513 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27514 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27515 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27516 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27517 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27518 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27519 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27520 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27521 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27522 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27523 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27524 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27525 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27526 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27527 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27528 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27529 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27530 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27531 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27532 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27533 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27534 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27535 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27536 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27537 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27538 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27539 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27540 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27541 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27542 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27543 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27544 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27545 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27546 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27547 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27548 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27549 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27550 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27551 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27552 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27553 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27554 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27555 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27556 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27557 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27558 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27559 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27560 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27561 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27562 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27563 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27564 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27565 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27566 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27567 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27568 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27569 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27570 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27571 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27572 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27573 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27574 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27575 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27576 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27577 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27578 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27579 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27580 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27581 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27582 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27583 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27584 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27585 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27586 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27587 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27590 LTCFLAGS='$LTCFLAGS'
27591 compiler='$compiler_DEFAULT'
27593 # A function that is used when there is no print builtin or printf.
27594 func_fallback_echo ()
27596 eval 'cat <<_LTECHO_EOF
27601 # Quote evaled strings.
27615 deplibs_check_method \
27624 lt_cv_sys_global_symbol_pipe \
27625 lt_cv_sys_global_symbol_to_cdecl \
27626 lt_cv_sys_global_symbol_to_c_name_address \
27627 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27628 lt_prog_compiler_no_builtin_flag \
27629 lt_prog_compiler_wl \
27630 lt_prog_compiler_pic \
27631 lt_prog_compiler_static \
27632 lt_cv_prog_compiler_c_o \
27640 export_dynamic_flag_spec \
27641 whole_archive_flag_spec \
27642 compiler_needs_object \
27644 allow_undefined_flag \
27645 no_undefined_flag \
27646 hardcode_libdir_flag_spec \
27647 hardcode_libdir_flag_spec_ld \
27648 hardcode_libdir_separator \
27653 variables_saved_for_relink \
27655 library_names_spec \
27657 install_override_mode \
27661 compiler_lib_search_dirs \
27666 compiler_lib_search_path \
27670 lt_prog_compiler_no_builtin_flag_FC \
27671 lt_prog_compiler_wl_FC \
27672 lt_prog_compiler_pic_FC \
27673 lt_prog_compiler_static_FC \
27674 lt_cv_prog_compiler_c_o_FC \
27675 export_dynamic_flag_spec_FC \
27676 whole_archive_flag_spec_FC \
27677 compiler_needs_object_FC \
27679 allow_undefined_flag_FC \
27680 no_undefined_flag_FC \
27681 hardcode_libdir_flag_spec_FC \
27682 hardcode_libdir_flag_spec_ld_FC \
27683 hardcode_libdir_separator_FC \
27684 fix_srcfile_path_FC \
27685 exclude_expsyms_FC \
27686 include_expsyms_FC \
27687 file_list_spec_FC \
27688 compiler_lib_search_dirs_FC \
27689 predep_objects_FC \
27690 postdep_objects_FC \
27693 compiler_lib_search_path_FC; do
27694 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27695 *[\\\\\\\`\\"\\\$]*)
27696 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27699 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27704 # Double-quote double-evaled strings.
27705 for var in reload_cmds \
27706 old_postinstall_cmds \
27707 old_postuninstall_cmds \
27709 extract_expsyms_cmds \
27710 old_archive_from_new_cmds \
27711 old_archive_from_expsyms_cmds \
27713 archive_expsym_cmds \
27715 module_expsym_cmds \
27716 export_symbols_cmds \
27719 postuninstall_cmds \
27721 sys_lib_search_path_spec \
27722 sys_lib_dlsearch_path_spec \
27724 old_archive_cmds_FC \
27725 old_archive_from_new_cmds_FC \
27726 old_archive_from_expsyms_cmds_FC \
27728 archive_expsym_cmds_FC \
27730 module_expsym_cmds_FC \
27731 export_symbols_cmds_FC \
27732 prelink_cmds_FC; do
27733 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27734 *[\\\\\\\`\\"\\\$]*)
27735 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27738 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27743 ac_aux_dir='$ac_aux_dir'
27744 xsi_shell='$xsi_shell'
27745 lt_shell_append='$lt_shell_append'
27747 # See if we are running on zsh, and set the options which allow our
27748 # commands through without removal of \ escapes INIT.
27749 if test -n "\${ZSH_VERSION+set}" ; then
27750 setopt NO_GLOB_SUBST
27756 TIMESTAMP='$TIMESTAMP'
27767 acx_cv_header_stdint="$acx_cv_header_stdint"
27768 acx_cv_type_int8_t="$acx_cv_type_int8_t"
27769 acx_cv_type_int16_t="$acx_cv_type_int16_t"
27770 acx_cv_type_int32_t="$acx_cv_type_int32_t"
27771 acx_cv_type_int64_t="$acx_cv_type_int64_t"
27772 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
27773 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
27774 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
27775 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27776 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27777 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
27778 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27779 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27780 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
27785 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27787 # Handling of arguments.
27788 for ac_config_target
in $ac_config_targets
27790 case $ac_config_target in
27791 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
27792 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
27793 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
27794 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
27795 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
27796 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
27797 "libgfortran.spec") CONFIG_FILES
="$CONFIG_FILES libgfortran.spec" ;;
27799 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27804 # If the user did not use the arguments to specify the items to instantiate,
27805 # then the envvar interface is used. Set only those that are not.
27806 # We use the long form for the default assignment because of an extremely
27807 # bizarre bug on SunOS 4.1.3.
27808 if $ac_need_defaults; then
27809 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
27810 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
27811 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
27814 # Have a temporary directory for convenience. Make it in the build tree
27815 # simply because there is no reason against having it here, and in addition,
27816 # creating and moving files from /tmp can sometimes cause problems.
27817 # Hook for its removal unless debugging.
27818 # Note that there is a small window in which the directory will not be cleaned:
27819 # after its creation but before its name has been assigned to `$tmp'.
27823 trap 'exit_status=$?
27824 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27826 trap 'as_fn_exit 1' 1 2 13 15
27828 # Create a (secure) tmp directory for tmp files.
27831 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27832 test -n "$tmp" && test -d "$tmp"
27835 tmp
=.
/conf$$
-$RANDOM
27836 (umask 077 && mkdir
"$tmp")
27837 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
27839 # Set up the scripts for CONFIG_FILES section.
27840 # No need to generate them if there are no CONFIG_FILES.
27841 # This happens for instance with `./config.status config.h'.
27842 if test -n "$CONFIG_FILES"; then
27845 ac_cr
=`echo X | tr X '\015'`
27846 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27847 # But we know of no other shell where ac_cr would be empty at this
27848 # point, so we can use a bashism as a fallback.
27849 if test "x$ac_cr" = x
; then
27850 eval ac_cr
=\$
\'\\r
\'
27852 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27853 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27856 ac_cs_awk_cr
=$ac_cr
27859 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27864 echo "cat >conf$$subs.awk <<_ACEOF" &&
27865 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27867 } >conf$$subs.sh ||
27868 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27869 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27871 for ac_last_try in false false false false false :; do
27872 . ./conf$$subs.sh ||
27873 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27875 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
27876 if test $ac_delim_n = $ac_delim_num; then
27878 elif $ac_last_try; then
27879 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
27881 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
27884 rm -f conf$$subs.sh
27886 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27887 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
27891 s/^/S["/; s
/!.
*/"]=/
27901 s/\(.\{148\}\).*/\1/
27903 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
27908 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27915 s/\(.\{148\}\).*/\1/
27917 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
27921 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
27926 ' <conf$$subs.awk | sed '
27931 ' >>$CONFIG_STATUS || ac_write_fail=1
27932 rm -f conf$$subs.awk
27933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27935 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
27936 for (key in S) S_is_set[key] = 1
27942 nfields = split(line, field, "@
")
27944 len = length(field[1])
27945 for (i = 2; i < nfields; i++) {
27947 keylen = length(key)
27948 if (S_is_set[key]) {
27950 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27951 len += length(value) + length(field[++i])
27962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27963 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27964 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
27967 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
27968 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
27971 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27972 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
27973 # trailing colons and then remove the whole line if VPATH becomes empty
27974 # (actually we leave an empty line to preserve line numbers).
27975 if test "x
$srcdir" = x.; then
27976 ac_vpsub='/^[ ]*VPATH[ ]*=/{
27977 s/:*\$(srcdir):*/:/
27978 s/:*\${srcdir}:*/:/
27980 s/^\([^=]*=[ ]*\):*/\1/
27986 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27987 fi # test -n "$CONFIG_FILES"
27989 # Set up the scripts for CONFIG_HEADERS section.
27990 # No need to generate them if there are no CONFIG_HEADERS.
27991 # This happens for instance with `./config.status Makefile'.
27992 if test -n "$CONFIG_HEADERS"; then
27993 cat >"$tmp/defines.
awk" <<\_ACAWK ||
27997 # Transform confdefs.h into an awk script `defines.awk', embedded as
27998 # here-document in config.status, that substitutes the proper values into
27999 # config.h.in to produce config.h.
28001 # Create a delimiter string that does not exist in confdefs.h, to ease
28002 # handling of long lines.
28004 for ac_last_try in false false :; do
28005 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
28006 if test -z "$ac_t"; then
28008 elif $ac_last_try; then
28009 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
28011 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
28015 # For the awk script, D is an array of macro values keyed by name,
28016 # likewise P contains macro parameters if any. Preserve backslash
28017 # newline sequences.
28019 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
28021 s/.\{148\}/&'"$ac_delim"'/g
28024 s/^[ ]*#[ ]*define[ ][ ]*/ /
28031 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
28033 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
28037 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
28038 D["\
1"]=" \
3\\\\\\n
"\\/p
28040 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
28045 s/.\{148\}/&'"$ac_delim"'/g
28050 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
28053 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
28055 ' <confdefs.h | sed '
28056 s/'"$ac_delim"'/"\\\
28057 "/g' >>$CONFIG_STATUS || ac_write_fail=1
28059 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28060 for (key in D) D_is_set[key] = 1
28063 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
28065 split(line, arg, " ")
28066 if (arg[1] == "#") {
28070 defundef
= substr
(arg
[1], 2)
28073 split(mac1
, mac2
, "(") #)
28075 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
28076 if (D_is_set
[macro
]) {
28077 # Preserve the white space surrounding the "#".
28078 print prefix
"define", macro P
[macro
] D
[macro
]
28081 # Replace #undef with comments. This is necessary, for example,
28082 # in the case of _POSIX_SOURCE, which is predefined and required
28083 # on some systems where configure will not decide to define it.
28084 if (defundef
== "undef") {
28085 print
"/*", prefix defundef
, macro
, "*/"
28093 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28094 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
28095 fi # test -n "$CONFIG_HEADERS"
28098 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
28103 :[FHLC
]) ac_mode
=$ac_tag; continue;;
28105 case $ac_mode$ac_tag in
28107 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
28108 :[FH
]-) ac_tag
=-:-;;
28109 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
28126 -) ac_f
="$tmp/stdin";;
28127 *) # Look for the file first in the build tree, then in the source tree
28128 # (if the path is not absolute). The absolute path cannot be DOS-style,
28129 # because $ac_f cannot contain `:'.
28133 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
28135 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
28137 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28138 as_fn_append ac_file_inputs
" '$ac_f'"
28141 # Let's still pretend it is `configure' which instantiates (i.e., don't
28142 # use $as_me), people would be surprised to read:
28143 # /* config.h. Generated by config.status. */
28144 configure_input
='Generated from '`
28145 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28147 if test x
"$ac_file" != x-
; then
28148 configure_input
="$ac_file. $configure_input"
28149 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
28150 $as_echo "$as_me: creating $ac_file" >&6;}
28152 # Neutralize special characters interpreted by sed in replacement strings.
28153 case $configure_input in #(
28154 *\
&* |
*\|
* |
*\\* )
28155 ac_sed_conf_input
=`$as_echo "$configure_input" |
28156 sed 's/[\\\\&|]/\\\\&/g'`;; #(
28157 *) ac_sed_conf_input
=$configure_input;;
28161 *:-:* |
*:-) cat >"$tmp/stdin" \
28162 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
28167 ac_dir
=`$as_dirname -- "$ac_file" ||
28168 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28169 X"$ac_file" : 'X\(//\)[^/]' \| \
28170 X"$ac_file" : 'X\(//\)$' \| \
28171 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28172 $as_echo X"$ac_file" |
28173 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28177 /^X\(\/\/\)[^/].*/{
28190 as_dir
="$ac_dir"; as_fn_mkdir_p
28194 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28196 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28197 # A ".." for each directory in $ac_dir_suffix.
28198 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28199 case $ac_top_builddir_sub in
28200 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28201 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
28204 ac_abs_top_builddir
=$ac_pwd
28205 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
28206 # for backward compatibility:
28207 ac_top_builddir
=$ac_top_build_prefix
28210 .
) # We are building in place.
28212 ac_top_srcdir
=$ac_top_builddir_sub
28213 ac_abs_top_srcdir
=$ac_pwd ;;
28214 [\\/]* | ?
:[\\/]* ) # Absolute name.
28215 ac_srcdir
=$srcdir$ac_dir_suffix;
28216 ac_top_srcdir
=$srcdir
28217 ac_abs_top_srcdir
=$srcdir ;;
28218 *) # Relative name.
28219 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
28220 ac_top_srcdir
=$ac_top_build_prefix$srcdir
28221 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
28223 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
28233 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
28234 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
28236 ac_MKDIR_P
=$MKDIR_P
28238 [\\/$
]* | ?
:[\\/]* ) ;;
28239 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
28243 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28244 # If the template does not know about datarootdir, expand it.
28245 # FIXME: This hack should be removed a few years after 2.60.
28246 ac_datarootdir_hack
=; ac_datarootdir_seen
=
28257 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28258 *datarootdir
*) ac_datarootdir_seen
=yes;;
28259 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
28260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28261 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28263 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28264 ac_datarootdir_hack='
28265 s&@datadir@&$datadir&g
28266 s&@docdir@&$docdir&g
28267 s&@infodir@&$infodir&g
28268 s&@localedir@&$localedir&g
28269 s&@mandir@&$mandir&g
28270 s&\\\${datarootdir}&$datarootdir&g' ;;
28274 # Neutralize VPATH when `$srcdir' = `.'.
28275 # Shell code in configure.ac might set extrasub.
28276 # FIXME: do we really want to maintain this feature?
28277 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28278 ac_sed_extra="$ac_vpsub
28281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28283 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
28284 s|@configure_input@|
$ac_sed_conf_input|
;t t
28285 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
28286 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
28287 s
&@srcdir@
&$ac_srcdir&;t t
28288 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
28289 s
&@top_srcdir@
&$ac_top_srcdir&;t t
28290 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
28291 s
&@builddir@
&$ac_builddir&;t t
28292 s
&@abs_builddir@
&$ac_abs_builddir&;t t
28293 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
28294 s
&@INSTALL@
&$ac_INSTALL&;t t
28295 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
28296 $ac_datarootdir_hack
28298 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
28299 || as_fn_error "could not create
$ac_file" "$LINENO" 5
28301 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28302 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
28303 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
28304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
28305 which seems to be undefined. Please make sure it is defined." >&5
28306 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
28307 which seems to be undefined. Please make sure it is defined." >&2;}
28311 -) cat "$tmp/out" && rm -f "$tmp/out";;
28312 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
28314 || as_fn_error "could not create $ac_file" "$LINENO" 5
28320 if test x"$ac_file" != x-; then
28322 $as_echo "/* $configure_input */" \
28323 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
28324 } >"$tmp/config.h" \
28325 || as_fn_error "could not create $ac_file" "$LINENO" 5
28326 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
28327 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28328 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28331 mv "$tmp/config.h" "$ac_file" \
28332 || as_fn_error "could not create $ac_file" "$LINENO" 5
28335 $as_echo "/* $configure_input */" \
28336 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
28337 || as_fn_error "could not create -" "$LINENO" 5
28339 # Compute "$ac_file"'s index
in $config_headers.
28342 for _am_header
in $config_headers :; do
28343 case $_am_header in
28344 $_am_arg |
$_am_arg:* )
28347 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
28350 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28351 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28352 X"$_am_arg" : 'X\(//\)[^/]' \| \
28353 X"$_am_arg" : 'X\(//\)$' \| \
28354 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28355 $as_echo X"$_am_arg" |
28356 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28360 /^X\(\/\/\)[^/].*/{
28372 s/.*/./; q'`/stamp-h
$_am_stamp_count
28375 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28376 $as_echo "$as_me: executing $ac_file commands" >&6;}
28381 case $ac_file$ac_mode in
28383 # Only add multilib support code if we just rebuilt the top-level
28385 case " $CONFIG_FILES " in
28387 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
28390 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
28391 # Autoconf 2.62 quotes --file arguments for eval, but not when files
28392 # are listed without --file. Let's play safe and only enable the eval
28393 # if we detect the quoting.
28394 case $CONFIG_FILES in
28395 *\'*) eval set x
"$CONFIG_FILES" ;;
28396 *) set x
$CONFIG_FILES ;;
28401 # Strip MF so we end up with the name of the file.
28402 mf
=`echo "$mf" | sed -e 's/:.*$//'`
28403 # Check whether this is an Automake generated Makefile or not.
28404 # We used to match only the files named `Makefile.in', but
28405 # some people rename them; so instead we look at the file content.
28406 # Grep'ing the first line is not enough: some people post-process
28407 # each Makefile.in and add a new line on top of each file to say so.
28408 # Grep'ing the whole file is not good either: AIX grep has a line
28409 # limit of 2048, but all sed's we know have understand at least 4000.
28410 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
28411 dirpart
=`$as_dirname -- "$mf" ||
28412 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28413 X"$mf" : 'X\(//\)[^/]' \| \
28414 X"$mf" : 'X\(//\)$' \| \
28415 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28421 /^X\(\/\/\)[^/].*/{
28437 # Extract the definition of DEPDIR, am__include, and am__quote
28438 # from the Makefile without running `make'.
28439 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
28440 test -z "$DEPDIR" && continue
28441 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
28442 test -z "am__include" && continue
28443 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
28444 # When using ansi2knr, U may be empty or an underscore; expand it
28445 U
=`sed -n 's/^U = //p' < "$mf"`
28446 # Find all dependency output files, they are included files with
28447 # $(DEPDIR) in their names. We invoke sed twice because it is the
28448 # simplest approach to changing $(DEPDIR) to its actual value in the
28450 for file in `sed -n "
28451 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28452 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28453 # Make sure the directory exists.
28454 test -f "$dirpart/$file" && continue
28455 fdir
=`$as_dirname -- "$file" ||
28456 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28457 X"$file" : 'X\(//\)[^/]' \| \
28458 X"$file" : 'X\(//\)$' \| \
28459 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28460 $as_echo X"$file" |
28461 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28465 /^X\(\/\/\)[^/].*/{
28478 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
28479 # echo "creating $dirpart/$file"
28480 echo '# dummy' > "$dirpart/$file"
28487 # See if we are running on zsh, and set the options which allow our
28488 # commands through without removal of \ escapes.
28489 if test -n "${ZSH_VERSION+set}" ; then
28490 setopt NO_GLOB_SUBST
28493 cfgfile
="${ofile}T"
28494 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28497 cat <<_LT_EOF >> "$cfgfile"
28500 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28501 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28502 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28503 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28505 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28506 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28507 # Written by Gordon Matzigkeit, 1996
28509 # This file is part of GNU Libtool.
28511 # GNU Libtool is free software; you can redistribute it and/or
28512 # modify it under the terms of the GNU General Public License as
28513 # published by the Free Software Foundation; either version 2 of
28514 # the License, or (at your option) any later version.
28516 # As a special exception to the GNU General Public License,
28517 # if you distribute this file as part of a program or library that
28518 # is built using GNU Libtool, you may include this file under the
28519 # same distribution terms that you use for the rest of that program.
28521 # GNU Libtool is distributed in the hope that it will be useful,
28522 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28523 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28524 # GNU General Public License for more details.
28526 # You should have received a copy of the GNU General Public License
28527 # along with GNU Libtool; see the file COPYING. If not, a copy
28528 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28529 # obtained by writing to the Free Software Foundation, Inc.,
28530 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28533 # The names of the tagged configurations supported by this script.
28534 available_tags="FC "
28536 # ### BEGIN LIBTOOL CONFIG
28538 # Which release of libtool.m4 was used?
28539 macro_version=$macro_version
28540 macro_revision=$macro_revision
28542 # Whether or not to build shared libraries.
28543 build_libtool_libs=$enable_shared
28545 # Whether or not to build static libraries.
28546 build_old_libs=$enable_static
28548 # What type of objects to build.
28551 # Whether or not to optimize for fast installation.
28552 fast_install=$enable_fast_install
28554 # Shell to use when invoking shell scripts.
28557 # An echo program that protects backslashes.
28561 host_alias=$host_alias
28565 # The build system.
28566 build_alias=$build_alias
28570 # A sed program that does not truncate output.
28573 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28574 Xsed="\$SED -e 1s/^X//"
28576 # A grep program that handles long lines.
28582 # A literal string matcher.
28585 # A BSD- or MS-compatible name lister.
28588 # Whether we need soft or hard links.
28591 # What is the maximum length of a command?
28592 max_cmd_len=$max_cmd_len
28594 # Object file suffix (normally "o").
28597 # Executable file suffix (normally "").
28600 # whether the shell understands "unset".
28603 # turn spaces into newlines.
28606 # turn newlines into spaces.
28609 # An object symbol dumper.
28610 OBJDUMP=$lt_OBJDUMP
28612 # Method to check whether dependent libraries are shared objects.
28613 deplibs_check_method=$lt_deplibs_check_method
28615 # Command to use when deplibs_check_method == "file_magic".
28616 file_magic_cmd=$lt_file_magic_cmd
28620 AR_FLAGS=$lt_AR_FLAGS
28622 # A symbol stripping program.
28625 # Commands used to install an old-style archive.
28627 old_postinstall_cmds=$lt_old_postinstall_cmds
28628 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28630 # Whether to use a lock for old archive extraction.
28631 lock_old_archive_extraction=$lock_old_archive_extraction
28636 # LTCC compiler flags.
28637 LTCFLAGS=$lt_CFLAGS
28639 # Take the output of nm and produce a listing of raw symbols and C names.
28640 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28642 # Transform the output of nm in a proper C declaration.
28643 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28645 # Transform the output of nm in a C name address pair.
28646 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28648 # Transform the output of nm in a C name address pair when lib prefix is needed.
28649 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28651 # The name of the directory that contains temporary libtool files.
28654 # Used to examine libraries when file_magic_cmd begins with "file".
28655 MAGIC_CMD=$MAGIC_CMD
28657 # Must we lock files when doing compilation?
28658 need_locks=$lt_need_locks
28660 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28661 DSYMUTIL=$lt_DSYMUTIL
28663 # Tool to change global to local symbols on Mac OS X.
28666 # Tool to manipulate fat objects and archives on Mac OS X.
28669 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28672 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28673 OTOOL64=$lt_OTOOL64
28675 # Old archive suffix (normally "a").
28678 # Shared library suffix (normally ".so").
28679 shrext_cmds=$lt_shrext_cmds
28681 # The commands to extract the exported symbol list from a shared archive.
28682 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28684 # Variables whose values should be saved in libtool wrapper scripts and
28685 # restored at link time.
28686 variables_saved_for_relink=$lt_variables_saved_for_relink
28688 # Do we need the "lib" prefix for modules?
28689 need_lib_prefix=$need_lib_prefix
28691 # Do we need a version for libraries?
28692 need_version=$need_version
28694 # Library versioning type.
28695 version_type=$version_type
28697 # Shared library runtime path variable.
28698 runpath_var=$runpath_var
28700 # Shared library path variable.
28701 shlibpath_var=$shlibpath_var
28703 # Is shlibpath searched before the hard-coded library search path?
28704 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28706 # Format of library name prefix.
28707 libname_spec=$lt_libname_spec
28709 # List of archive names. First name is the real one, the rest are links.
28710 # The last name is the one that the linker finds with -lNAME
28711 library_names_spec=$lt_library_names_spec
28713 # The coded name of the library, if different from the real name.
28714 soname_spec=$lt_soname_spec
28716 # Permission mode override for installation of shared libraries.
28717 install_override_mode=$lt_install_override_mode
28719 # Command to use after installation of a shared archive.
28720 postinstall_cmds=$lt_postinstall_cmds
28722 # Command to use after uninstallation of a shared archive.
28723 postuninstall_cmds=$lt_postuninstall_cmds
28725 # Commands used to finish a libtool library installation in a directory.
28726 finish_cmds=$lt_finish_cmds
28728 # As "finish_cmds", except a single script fragment to be evaled but
28730 finish_eval=$lt_finish_eval
28732 # Whether we should hardcode library paths into libraries.
28733 hardcode_into_libs=$hardcode_into_libs
28735 # Compile-time system search path for libraries.
28736 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28738 # Run-time system search path for libraries.
28739 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28741 # Whether dlopen is supported.
28742 dlopen_support=$enable_dlopen
28744 # Whether dlopen of programs is supported.
28745 dlopen_self=$enable_dlopen_self
28747 # Whether dlopen of statically linked programs is supported.
28748 dlopen_self_static=$enable_dlopen_self_static
28750 # Commands to strip libraries.
28751 old_striplib=$lt_old_striplib
28752 striplib=$lt_striplib
28755 # The linker used to build libraries.
28758 # How to create reloadable object files.
28759 reload_flag=$lt_reload_flag
28760 reload_cmds=$lt_reload_cmds
28762 # Commands used to build an old-style archive.
28763 old_archive_cmds=$lt_old_archive_cmds
28765 # A language specific compiler.
28768 # Is the compiler the GNU compiler?
28771 # Compiler flag to turn off builtin functions.
28772 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28774 # How to pass a linker flag through the compiler.
28775 wl=$lt_lt_prog_compiler_wl
28777 # Additional compiler flags for building library objects.
28778 pic_flag=$lt_lt_prog_compiler_pic
28780 # Compiler flag to prevent dynamic linking.
28781 link_static_flag=$lt_lt_prog_compiler_static
28783 # Does compiler simultaneously support -c and -o options?
28784 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28786 # Whether or not to add -lc for building shared libraries.
28787 build_libtool_need_lc=$archive_cmds_need_lc
28789 # Whether or not to disallow shared libs when runtime libs are static.
28790 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28792 # Compiler flag to allow reflexive dlopens.
28793 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28795 # Compiler flag to generate shared objects directly from archives.
28796 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28798 # Whether the compiler copes with passing no objects directly.
28799 compiler_needs_object=$lt_compiler_needs_object
28801 # Create an old-style archive from a shared archive.
28802 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28804 # Create a temporary old-style archive to link instead of a shared archive.
28805 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28807 # Commands used to build a shared archive.
28808 archive_cmds=$lt_archive_cmds
28809 archive_expsym_cmds=$lt_archive_expsym_cmds
28811 # Commands used to build a loadable module if different from building
28812 # a shared archive.
28813 module_cmds=$lt_module_cmds
28814 module_expsym_cmds=$lt_module_expsym_cmds
28816 # Whether we are building with GNU ld or not.
28817 with_gnu_ld=$lt_with_gnu_ld
28819 # Flag that allows shared libraries with undefined symbols to be built.
28820 allow_undefined_flag=$lt_allow_undefined_flag
28822 # Flag that enforces no undefined symbols.
28823 no_undefined_flag=$lt_no_undefined_flag
28825 # Flag to hardcode \$libdir into a binary during linking.
28826 # This must work even if \$libdir does not exist
28827 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28829 # If ld is used when linking, flag to hardcode \$libdir into a binary
28830 # during linking. This must work even if \$libdir does not exist.
28831 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28833 # Whether we need a single "-rpath" flag with a separated argument.
28834 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28836 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28837 # DIR into the resulting binary.
28838 hardcode_direct=$hardcode_direct
28840 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28841 # DIR into the resulting binary and the resulting library dependency is
28842 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28843 # library is relocated.
28844 hardcode_direct_absolute=$hardcode_direct_absolute
28846 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28847 # into the resulting binary.
28848 hardcode_minus_L=$hardcode_minus_L
28850 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28851 # into the resulting binary.
28852 hardcode_shlibpath_var=$hardcode_shlibpath_var
28854 # Set to "yes" if building a shared library automatically hardcodes DIR
28855 # into the library and all subsequent libraries and executables linked
28857 hardcode_automatic=$hardcode_automatic
28859 # Set to yes if linker adds runtime paths of dependent libraries
28860 # to runtime path list.
28861 inherit_rpath=$inherit_rpath
28863 # Whether libtool must link a program against all its dependency libraries.
28864 link_all_deplibs=$link_all_deplibs
28866 # Fix the shell variable \$srcfile for the compiler.
28867 fix_srcfile_path=$lt_fix_srcfile_path
28869 # Set to "yes" if exported symbols are required.
28870 always_export_symbols=$always_export_symbols
28872 # The commands to list exported symbols.
28873 export_symbols_cmds=$lt_export_symbols_cmds
28875 # Symbols that should not be listed in the preloaded symbols.
28876 exclude_expsyms=$lt_exclude_expsyms
28878 # Symbols that must always be exported.
28879 include_expsyms=$lt_include_expsyms
28881 # Commands necessary for linking programs (against libraries) with templates.
28882 prelink_cmds=$lt_prelink_cmds
28884 # Specify filename containing input files.
28885 file_list_spec=$lt_file_list_spec
28887 # How to hardcode a shared library path into an executable.
28888 hardcode_action=$hardcode_action
28890 # The directories searched by this compiler when creating a shared library.
28891 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28893 # Dependencies to place before and after the objects being linked to
28894 # create a shared library.
28895 predep_objects=$lt_predep_objects
28896 postdep_objects=$lt_postdep_objects
28897 predeps=$lt_predeps
28898 postdeps=$lt_postdeps
28900 # The library search path used internally by the compiler when linking
28901 # a shared library.
28902 compiler_lib_search_path=$lt_compiler_lib_search_path
28904 # ### END LIBTOOL CONFIG
28910 cat <<\_LT_EOF
>> "$cfgfile"
28911 # AIX sometimes has problems with the GCC collect2 program. For some
28912 # reason, if we set the COLLECT_NAMES environment variable, the problems
28913 # vanish in a puff of smoke.
28914 if test "X${COLLECT_NAMES+set}" != Xset
; then
28916 export COLLECT_NAMES
28923 ltmain
="$ac_aux_dir/ltmain.sh"
28926 # We use sed instead of cat because bash on DJGPP gets confused if
28927 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28928 # text mode, it properly converts lines to CR/LF. This bash problem
28929 # is reportedly fixed, but why not run on old versions too?
28930 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28931 ||
(rm -f "$cfgfile"; exit 1)
28935 cat << \_LT_EOF
>> "$cfgfile"
28937 # func_dirname file append nondir_replacement
28938 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
28939 # otherwise set result to NONDIR_REPLACEMENT.
28943 */*) func_dirname_result
="${1%/*}${2}" ;;
28944 * ) func_dirname_result
="${3}" ;;
28948 # func_basename file
28951 func_basename_result
="${1##*/}"
28954 # func_dirname_and_basename file append nondir_replacement
28955 # perform func_basename and func_dirname in a single function
28957 # dirname: Compute the dirname of FILE. If nonempty,
28958 # add APPEND to the result, otherwise set result
28959 # to NONDIR_REPLACEMENT.
28960 # value returned in "$func_dirname_result"
28961 # basename: Compute filename of FILE.
28962 # value retuned in "$func_basename_result"
28963 # Implementation must be kept synchronized with func_dirname
28964 # and func_basename. For efficiency, we do not delegate to
28965 # those functions but instead duplicate the functionality here.
28966 func_dirname_and_basename
()
28969 */*) func_dirname_result
="${1%/*}${2}" ;;
28970 * ) func_dirname_result
="${3}" ;;
28972 func_basename_result
="${1##*/}"
28975 # func_stripname prefix suffix name
28976 # strip PREFIX and SUFFIX off of NAME.
28977 # PREFIX and SUFFIX must not contain globbing or regex special
28978 # characters, hashes, percent signs, but SUFFIX may contain a leading
28979 # dot (in which case that matches only a dot).
28982 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28983 # positional parameters, so assign one to ordinary parameter first.
28984 func_stripname_result
=${3}
28985 func_stripname_result
=${func_stripname_result#"${1}"}
28986 func_stripname_result
=${func_stripname_result%"${2}"}
28992 func_opt_split_opt
=${1%%=*}
28993 func_opt_split_arg
=${1#*=}
29000 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
29001 *) func_lo2o_result
=${1} ;;
29005 # func_xform libobj-or-source
29008 func_xform_result
=${1%.*}.lo
29011 # func_arith arithmetic-term...
29014 func_arith_result
=$
(( $
* ))
29018 # STRING may not start with a hyphen.
29021 func_len_result
=${#1}
29026 *) # Bourne compatible functions.
29027 cat << \_LT_EOF
>> "$cfgfile"
29029 # func_dirname file append nondir_replacement
29030 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
29031 # otherwise set result to NONDIR_REPLACEMENT.
29034 # Extract subdirectory from the argument.
29035 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
29036 if test "X$func_dirname_result" = "X${1}"; then
29037 func_dirname_result
="${3}"
29039 func_dirname_result
="$func_dirname_result${2}"
29043 # func_basename file
29046 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
29050 # func_stripname prefix suffix name
29051 # strip PREFIX and SUFFIX off of NAME.
29052 # PREFIX and SUFFIX must not contain globbing or regex special
29053 # characters, hashes, percent signs, but SUFFIX may contain a leading
29054 # dot (in which case that matches only a dot).
29055 # func_strip_suffix prefix name
29059 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
29060 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
29065 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
29066 my_sed_long_arg
='1s/^-[^=]*=//'
29071 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
29072 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
29078 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
29081 # func_xform libobj-or-source
29084 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
29087 # func_arith arithmetic-term...
29090 func_arith_result
=`expr "$@"`
29094 # STRING may not start with a hyphen.
29097 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
29103 case $lt_shell_append in
29105 cat << \_LT_EOF
>> "$cfgfile"
29107 # func_append var value
29108 # Append VALUE to the end of shell variable VAR.
29116 cat << \_LT_EOF
>> "$cfgfile"
29118 # func_append var value
29119 # Append VALUE to the end of shell variable VAR.
29130 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
29131 ||
(rm -f "$cfgfile"; exit 1)
29133 mv -f "$cfgfile" "$ofile" ||
29134 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29138 cat <<_LT_EOF >> "$ofile"
29140 # ### BEGIN LIBTOOL TAG CONFIG: FC
29142 # The linker used to build libraries.
29145 # How to create reloadable object files.
29146 reload_flag=$lt_reload_flag_FC
29147 reload_cmds=$lt_reload_cmds_FC
29149 # Commands used to build an old-style archive.
29150 old_archive_cmds=$lt_old_archive_cmds_FC
29152 # A language specific compiler.
29155 # Is the compiler the GNU compiler?
29158 # Compiler flag to turn off builtin functions.
29159 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
29161 # How to pass a linker flag through the compiler.
29162 wl=$lt_lt_prog_compiler_wl_FC
29164 # Additional compiler flags for building library objects.
29165 pic_flag=$lt_lt_prog_compiler_pic_FC
29167 # Compiler flag to prevent dynamic linking.
29168 link_static_flag=$lt_lt_prog_compiler_static_FC
29170 # Does compiler simultaneously support -c and -o options?
29171 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
29173 # Whether or not to add -lc for building shared libraries.
29174 build_libtool_need_lc=$archive_cmds_need_lc_FC
29176 # Whether or not to disallow shared libs when runtime libs are static.
29177 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
29179 # Compiler flag to allow reflexive dlopens.
29180 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
29182 # Compiler flag to generate shared objects directly from archives.
29183 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29185 # Whether the compiler copes with passing no objects directly.
29186 compiler_needs_object=$lt_compiler_needs_object_FC
29188 # Create an old-style archive from a shared archive.
29189 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29191 # Create a temporary old-style archive to link instead of a shared archive.
29192 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29194 # Commands used to build a shared archive.
29195 archive_cmds=$lt_archive_cmds_FC
29196 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29198 # Commands used to build a loadable module if different from building
29199 # a shared archive.
29200 module_cmds=$lt_module_cmds_FC
29201 module_expsym_cmds=$lt_module_expsym_cmds_FC
29203 # Whether we are building with GNU ld or not.
29204 with_gnu_ld=$lt_with_gnu_ld_FC
29206 # Flag that allows shared libraries with undefined symbols to be built.
29207 allow_undefined_flag=$lt_allow_undefined_flag_FC
29209 # Flag that enforces no undefined symbols.
29210 no_undefined_flag=$lt_no_undefined_flag_FC
29212 # Flag to hardcode \$libdir into a binary during linking.
29213 # This must work even if \$libdir does not exist
29214 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29216 # If ld is used when linking, flag to hardcode \$libdir into a binary
29217 # during linking. This must work even if \$libdir does not exist.
29218 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29220 # Whether we need a single "-rpath" flag with a separated argument.
29221 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29223 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29224 # DIR into the resulting binary.
29225 hardcode_direct=$hardcode_direct_FC
29227 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29228 # DIR into the resulting binary and the resulting library dependency is
29229 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29230 # library is relocated.
29231 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29233 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29234 # into the resulting binary.
29235 hardcode_minus_L=$hardcode_minus_L_FC
29237 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29238 # into the resulting binary.
29239 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29241 # Set to "yes" if building a shared library automatically hardcodes DIR
29242 # into the library and all subsequent libraries and executables linked
29244 hardcode_automatic=$hardcode_automatic_FC
29246 # Set to yes if linker adds runtime paths of dependent libraries
29247 # to runtime path list.
29248 inherit_rpath=$inherit_rpath_FC
29250 # Whether libtool must link a program against all its dependency libraries.
29251 link_all_deplibs=$link_all_deplibs_FC
29253 # Fix the shell variable \$srcfile for the compiler.
29254 fix_srcfile_path=$lt_fix_srcfile_path_FC
29256 # Set to "yes" if exported symbols are required.
29257 always_export_symbols=$always_export_symbols_FC
29259 # The commands to list exported symbols.
29260 export_symbols_cmds=$lt_export_symbols_cmds_FC
29262 # Symbols that should not be listed in the preloaded symbols.
29263 exclude_expsyms=$lt_exclude_expsyms_FC
29265 # Symbols that must always be exported.
29266 include_expsyms=$lt_include_expsyms_FC
29268 # Commands necessary for linking programs (against libraries) with templates.
29269 prelink_cmds=$lt_prelink_cmds_FC
29271 # Specify filename containing input files.
29272 file_list_spec=$lt_file_list_spec_FC
29274 # How to hardcode a shared library path into an executable.
29275 hardcode_action=$hardcode_action_FC
29277 # The directories searched by this compiler when creating a shared library.
29278 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29280 # Dependencies to place before and after the objects being linked to
29281 # create a shared library.
29282 predep_objects=$lt_predep_objects_FC
29283 postdep_objects=$lt_postdep_objects_FC
29284 predeps=$lt_predeps_FC
29285 postdeps=$lt_postdeps_FC
29287 # The library search path used internally by the compiler when linking
29288 # a shared library.
29289 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29291 # ### END LIBTOOL TAG CONFIG: FC
29296 if test "$GCC" = yes; then
29297 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29299 echo "/* generated for $CC */" > tmp-stdint.h
29302 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29304 #ifndef GCC_GENERATED_STDINT_H
29305 #define GCC_GENERATED_STDINT_H 1
29307 #include <sys/types.h>
29310 if test "$acx_cv_header_stdint" != stdint.h
; then
29311 echo "#include <stddef.h>" >> tmp-stdint.h
29313 if test "$acx_cv_header_stdint" != stddef.h
; then
29314 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29317 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29318 /* glibc uses these symbols as guards to prevent redefinitions. */
29319 #ifdef __int8_t_defined
29324 #ifdef __uint32_t_defined
29330 # ----------------- done header, emit basic int types -------------
29331 if test "$acx_cv_header_stdint" = stddef.h
; then
29332 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29336 #ifndef __uint8_t_defined
29337 #define __uint8_t_defined
29339 typedef unsigned $acx_cv_type_int8_t uint8_t;
29346 #ifndef __uint16_t_defined
29347 #define __uint16_t_defined
29349 typedef unsigned $acx_cv_type_int16_t uint16_t;
29356 #ifndef __uint32_t_defined
29357 #define __uint32_t_defined
29359 typedef unsigned $acx_cv_type_int32_t uint32_t;
29366 #ifndef __int8_t_defined
29367 #define __int8_t_defined
29369 typedef $acx_cv_type_int8_t int8_t;
29376 #ifndef __int16_t_defined
29377 #define __int16_t_defined
29379 typedef $acx_cv_type_int16_t int16_t;
29386 #ifndef __int32_t_defined
29387 #define __int32_t_defined
29389 typedef $acx_cv_type_int32_t int32_t;
29394 elif test "$ac_cv_type_u_int32_t" = yes; then
29395 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29397 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29410 #ifndef __uint8_t_defined
29411 #define __uint8_t_defined
29413 typedef u_int8_t uint8_t;
29420 #ifndef __uint16_t_defined
29421 #define __uint16_t_defined
29423 typedef u_int16_t uint16_t;
29430 #ifndef __uint32_t_defined
29431 #define __uint32_t_defined
29433 typedef u_int32_t uint32_t;
29439 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29441 /* Some systems have guard macros to prevent redefinitions, define them. */
29463 # ------------- done basic int types, emit int64_t types ------------
29464 if test "$ac_cv_type_uint64_t" = yes; then
29465 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29467 /* system headers have good uint64_t and int64_t */
29475 elif test "$ac_cv_type_u_int64_t" = yes; then
29476 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29478 /* system headers have an u_int64_t (and int64_t) */
29484 #ifndef __uint64_t_defined
29485 #define __uint64_t_defined
29487 typedef u_int64_t uint64_t;
29492 elif test -n "$acx_cv_type_int64_t"; then
29493 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29495 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29499 typedef $acx_cv_type_int64_t int64_t;
29504 #ifndef __uint64_t_defined
29505 #define __uint64_t_defined
29507 typedef unsigned $acx_cv_type_int64_t uint64_t;
29513 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29515 /* some common heuristics for int64_t, using compiler-specific tests */
29516 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29519 #ifndef __int64_t_defined
29521 typedef long long int64_t;
29528 typedef unsigned long long uint64_t;
29532 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29533 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29534 does not implement __extension__. But that compiler doesn't define
29536 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29537 # define __extension__
29543 __extension__ typedef long long int64_t;
29549 __extension__ typedef unsigned long long uint64_t;
29553 #elif !defined __STRICT_ANSI__
29554 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29559 typedef __int64 int64_t;
29565 typedef unsigned __int64 uint64_t;
29568 # endif /* compiler */
29570 #endif /* ANSI version */
29574 # ------------- done int64_t types, emit intptr types ------------
29575 if test "$ac_cv_type_uintptr_t" != yes; then
29576 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29578 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29579 #ifndef __uintptr_t_defined
29581 typedef u$acx_cv_type_intptr_t uintptr_t;
29584 #ifndef __intptr_t_defined
29586 typedef $acx_cv_type_intptr_t intptr_t;
29592 # ------------- done intptr types, emit int_least types ------------
29593 if test "$ac_cv_type_int_least32_t" != yes; then
29594 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29596 /* Define int_least types */
29597 typedef int8_t int_least8_t;
29598 typedef int16_t int_least16_t;
29599 typedef int32_t int_least32_t;
29601 typedef int64_t int_least64_t;
29604 typedef uint8_t uint_least8_t;
29605 typedef uint16_t uint_least16_t;
29606 typedef uint32_t uint_least32_t;
29608 typedef uint64_t uint_least64_t;
29613 # ------------- done intptr types, emit int_fast types ------------
29614 if test "$ac_cv_type_int_fast32_t" != yes; then
29615 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29617 /* Define int_fast types. short is often slow */
29618 typedef int8_t int_fast8_t;
29619 typedef int int_fast16_t;
29620 typedef int32_t int_fast32_t;
29622 typedef int64_t int_fast64_t;
29625 typedef uint8_t uint_fast8_t;
29626 typedef unsigned int uint_fast16_t;
29627 typedef uint32_t uint_fast32_t;
29629 typedef uint64_t uint_fast64_t;
29634 if test "$ac_cv_type_uintmax_t" != yes; then
29635 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29637 /* Define intmax based on what we found */
29640 typedef int64_t intmax_t;
29642 typedef long intmax_t;
29647 typedef uint64_t uintmax_t;
29649 typedef unsigned long uintmax_t;
29655 sed 's/^ *//' >> tmp-stdint.h
<<EOF
29657 #endif /* GCC_GENERATED_STDINT_H */
29660 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
29663 mv -f tmp-stdint.h gstdint.h
29674 ac_clean_files
=$ac_clean_files_save
29676 test $ac_write_fail = 0 ||
29677 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
29680 # configure is writing to config.log, and then calls config.status.
29681 # config.status does its own redirection, appending to config.log.
29682 # Unfortunately, on DOS this fails, as config.log is still kept open
29683 # by configure, so config.status won't be able to write to it; its
29684 # output is simply discarded. So we exec the FD to /dev/null,
29685 # effectively closing config.log, so it can be properly (re)opened and
29686 # appended to by config.status. When coming back to configure, we
29687 # need to make the FD available again.
29688 if test "$no_create" != yes; then
29690 ac_config_status_args
=
29691 test "$silent" = yes &&
29692 ac_config_status_args
="$ac_config_status_args --quiet"
29694 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
29696 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29697 # would make configure fail if this is the last instruction.
29698 $ac_cs_success || as_fn_exit $?
29700 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
29701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29702 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}